mshtml: Added IHTMLInputTextElement2 stub implementation.
[wine.git] / configure
blob10a420488908e2bb4f164e75fb2b35f249ea7a04
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.10.
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.10'
584 PACKAGE_STRING='Wine 2.10'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 WINELOADER_LDFLAGS
727 LDEXECFLAGS
728 LDRPATH_LOCAL
729 LDRPATH_INSTALL
730 DLLFLAGS
731 dlldir
733 OPENGL_LIBS
734 ICOTOOL
735 CONVERT
736 RSVG
737 FONTFORGE
738 PKG_CONFIG
739 MSGFMT
740 LDCONFIG
741 EGREP
742 GREP
743 LN_S
744 RANLIB
745 ARFLAGS
746 STRIP
747 ac_ct_AR
749 BISON
750 FLEX
751 TOOLSDIR
752 TARGETFLAGS
754 CPPBIN
755 ac_ct_CXX
756 CXXFLAGS
758 OBJEXT
759 EXEEXT
760 ac_ct_CC
761 CPPFLAGS
762 LDFLAGS
763 CFLAGS
765 SET_MAKE
766 host_os
767 host_vendor
768 host_cpu
769 host
770 build_os
771 build_vendor
772 build_cpu
773 build
774 target_alias
775 host_alias
776 build_alias
777 LIBS
778 ECHO_T
779 ECHO_N
780 ECHO_C
781 DEFS
782 mandir
783 localedir
784 libdir
785 psdir
786 pdfdir
787 dvidir
788 htmldir
789 infodir
790 docdir
791 oldincludedir
792 includedir
793 runstatedir
794 localstatedir
795 sharedstatedir
796 sysconfdir
797 datadir
798 datarootdir
799 libexecdir
800 sbindir
801 bindir
802 program_transform_name
803 prefix
804 exec_prefix
805 PACKAGE_URL
806 PACKAGE_BUGREPORT
807 PACKAGE_STRING
808 PACKAGE_VERSION
809 PACKAGE_TARNAME
810 PACKAGE_NAME
811 PATH_SEPARATOR
812 SHELL'
813 ac_subst_files=''
814 ac_user_opts='
815 enable_option_checking
816 enable_win16
817 enable_win64
818 enable_tests
819 enable_maintainer_mode
820 with_alsa
821 with_capi
822 with_cms
823 with_coreaudio
824 with_cups
825 with_curses
826 with_dbus
827 with_fontconfig
828 with_freetype
829 with_gettext
830 with_gettextpo
831 with_gphoto
832 with_glu
833 with_gnutls
834 with_gsm
835 with_gstreamer
836 with_hal
837 with_jpeg
838 with_ldap
839 with_mpg123
840 with_netapi
841 with_openal
842 with_opencl
843 with_opengl
844 with_osmesa
845 with_oss
846 with_pcap
847 with_png
848 with_pthread
849 with_pulse
850 with_sane
851 with_tiff
852 with_udev
853 with_v4l
854 with_xcomposite
855 with_xcursor
856 with_xfixes
857 with_xinerama
858 with_xinput
859 with_xinput2
860 with_xml
861 with_xrandr
862 with_xrender
863 with_xshape
864 with_xshm
865 with_xslt
866 with_xxf86vm
867 with_zlib
868 with_wine_tools
869 with_wine64
870 enable_largefile
871 with_x
872 enable_acledit
873 enable_aclui
874 enable_activeds
875 enable_actxprxy
876 enable_adsldpc
877 enable_advapi32
878 enable_advpack
879 enable_amstream
880 enable_api_ms_win_appmodel_identity_l1_1_0
881 enable_api_ms_win_appmodel_runtime_l1_1_1
882 enable_api_ms_win_core_apiquery_l1_1_0
883 enable_api_ms_win_core_appcompat_l1_1_1
884 enable_api_ms_win_core_appinit_l1_1_0
885 enable_api_ms_win_core_atoms_l1_1_0
886 enable_api_ms_win_core_bem_l1_1_0
887 enable_api_ms_win_core_com_l1_1_0
888 enable_api_ms_win_core_com_l1_1_1
889 enable_api_ms_win_core_com_private_l1_1_0
890 enable_api_ms_win_core_console_l1_1_0
891 enable_api_ms_win_core_console_l2_1_0
892 enable_api_ms_win_core_datetime_l1_1_0
893 enable_api_ms_win_core_datetime_l1_1_1
894 enable_api_ms_win_core_debug_l1_1_0
895 enable_api_ms_win_core_debug_l1_1_1
896 enable_api_ms_win_core_delayload_l1_1_0
897 enable_api_ms_win_core_delayload_l1_1_1
898 enable_api_ms_win_core_errorhandling_l1_1_0
899 enable_api_ms_win_core_errorhandling_l1_1_1
900 enable_api_ms_win_core_errorhandling_l1_1_2
901 enable_api_ms_win_core_fibers_l1_1_0
902 enable_api_ms_win_core_fibers_l1_1_1
903 enable_api_ms_win_core_file_l1_1_0
904 enable_api_ms_win_core_file_l1_2_0
905 enable_api_ms_win_core_file_l1_2_1
906 enable_api_ms_win_core_file_l2_1_0
907 enable_api_ms_win_core_file_l2_1_1
908 enable_api_ms_win_core_handle_l1_1_0
909 enable_api_ms_win_core_heap_l1_1_0
910 enable_api_ms_win_core_heap_l1_2_0
911 enable_api_ms_win_core_heap_obsolete_l1_1_0
912 enable_api_ms_win_core_interlocked_l1_1_0
913 enable_api_ms_win_core_interlocked_l1_2_0
914 enable_api_ms_win_core_io_l1_1_0
915 enable_api_ms_win_core_io_l1_1_1
916 enable_api_ms_win_core_job_l1_1_0
917 enable_api_ms_win_core_job_l2_1_0
918 enable_api_ms_win_core_kernel32_legacy_l1_1_0
919 enable_api_ms_win_core_kernel32_legacy_l1_1_1
920 enable_api_ms_win_core_kernel32_private_l1_1_1
921 enable_api_ms_win_core_libraryloader_l1_1_0
922 enable_api_ms_win_core_libraryloader_l1_1_1
923 enable_api_ms_win_core_libraryloader_l1_2_0
924 enable_api_ms_win_core_libraryloader_l1_2_2
925 enable_api_ms_win_core_localization_l1_1_0
926 enable_api_ms_win_core_localization_l1_2_0
927 enable_api_ms_win_core_localization_l1_2_1
928 enable_api_ms_win_core_localization_l2_1_0
929 enable_api_ms_win_core_localization_obsolete_l1_1_0
930 enable_api_ms_win_core_localization_obsolete_l1_2_0
931 enable_api_ms_win_core_localization_private_l1_1_0
932 enable_api_ms_win_core_localregistry_l1_1_0
933 enable_api_ms_win_core_memory_l1_1_0
934 enable_api_ms_win_core_memory_l1_1_1
935 enable_api_ms_win_core_memory_l1_1_2
936 enable_api_ms_win_core_misc_l1_1_0
937 enable_api_ms_win_core_namedpipe_l1_1_0
938 enable_api_ms_win_core_namedpipe_l1_2_0
939 enable_api_ms_win_core_namespace_l1_1_0
940 enable_api_ms_win_core_normalization_l1_1_0
941 enable_api_ms_win_core_path_l1_1_0
942 enable_api_ms_win_core_privateprofile_l1_1_1
943 enable_api_ms_win_core_processenvironment_l1_1_0
944 enable_api_ms_win_core_processenvironment_l1_2_0
945 enable_api_ms_win_core_processthreads_l1_1_0
946 enable_api_ms_win_core_processthreads_l1_1_1
947 enable_api_ms_win_core_processthreads_l1_1_2
948 enable_api_ms_win_core_profile_l1_1_0
949 enable_api_ms_win_core_psapi_l1_1_0
950 enable_api_ms_win_core_psapi_obsolete_l1_1_0
951 enable_api_ms_win_core_quirks_l1_1_0
952 enable_api_ms_win_core_realtime_l1_1_0
953 enable_api_ms_win_core_registry_l1_1_0
954 enable_api_ms_win_core_registry_l2_1_0
955 enable_api_ms_win_core_registryuserspecific_l1_1_0
956 enable_api_ms_win_core_rtlsupport_l1_1_0
957 enable_api_ms_win_core_rtlsupport_l1_2_0
958 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
959 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
960 enable_api_ms_win_core_sidebyside_l1_1_0
961 enable_api_ms_win_core_string_l1_1_0
962 enable_api_ms_win_core_string_l2_1_0
963 enable_api_ms_win_core_string_obsolete_l1_1_0
964 enable_api_ms_win_core_stringansi_l1_1_0
965 enable_api_ms_win_core_synch_l1_1_0
966 enable_api_ms_win_core_synch_l1_2_0
967 enable_api_ms_win_core_sysinfo_l1_1_0
968 enable_api_ms_win_core_sysinfo_l1_2_0
969 enable_api_ms_win_core_sysinfo_l1_2_1
970 enable_api_ms_win_core_threadpool_l1_1_0
971 enable_api_ms_win_core_threadpool_l1_2_0
972 enable_api_ms_win_core_threadpool_legacy_l1_1_0
973 enable_api_ms_win_core_threadpool_private_l1_1_0
974 enable_api_ms_win_core_timezone_l1_1_0
975 enable_api_ms_win_core_toolhelp_l1_1_0
976 enable_api_ms_win_core_url_l1_1_0
977 enable_api_ms_win_core_util_l1_1_0
978 enable_api_ms_win_core_version_l1_1_0
979 enable_api_ms_win_core_version_private_l1_1_0
980 enable_api_ms_win_core_versionansi_l1_1_0
981 enable_api_ms_win_core_windowserrorreporting_l1_1_0
982 enable_api_ms_win_core_winrt_error_l1_1_0
983 enable_api_ms_win_core_winrt_error_l1_1_1
984 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
985 enable_api_ms_win_core_winrt_l1_1_0
986 enable_api_ms_win_core_winrt_registration_l1_1_0
987 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
988 enable_api_ms_win_core_winrt_string_l1_1_0
989 enable_api_ms_win_core_wow64_l1_1_0
990 enable_api_ms_win_core_xstate_l1_1_0
991 enable_api_ms_win_core_xstate_l2_1_0
992 enable_api_ms_win_crt_conio_l1_1_0
993 enable_api_ms_win_crt_convert_l1_1_0
994 enable_api_ms_win_crt_environment_l1_1_0
995 enable_api_ms_win_crt_filesystem_l1_1_0
996 enable_api_ms_win_crt_heap_l1_1_0
997 enable_api_ms_win_crt_locale_l1_1_0
998 enable_api_ms_win_crt_math_l1_1_0
999 enable_api_ms_win_crt_multibyte_l1_1_0
1000 enable_api_ms_win_crt_private_l1_1_0
1001 enable_api_ms_win_crt_process_l1_1_0
1002 enable_api_ms_win_crt_runtime_l1_1_0
1003 enable_api_ms_win_crt_stdio_l1_1_0
1004 enable_api_ms_win_crt_string_l1_1_0
1005 enable_api_ms_win_crt_time_l1_1_0
1006 enable_api_ms_win_crt_utility_l1_1_0
1007 enable_api_ms_win_devices_config_l1_1_1
1008 enable_api_ms_win_devices_query_l1_1_1
1009 enable_api_ms_win_downlevel_advapi32_l1_1_0
1010 enable_api_ms_win_downlevel_advapi32_l2_1_0
1011 enable_api_ms_win_downlevel_normaliz_l1_1_0
1012 enable_api_ms_win_downlevel_ole32_l1_1_0
1013 enable_api_ms_win_downlevel_shell32_l1_1_0
1014 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1015 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1016 enable_api_ms_win_downlevel_user32_l1_1_0
1017 enable_api_ms_win_downlevel_version_l1_1_0
1018 enable_api_ms_win_dx_d3dkmt_l1_1_0
1019 enable_api_ms_win_eventing_classicprovider_l1_1_0
1020 enable_api_ms_win_eventing_consumer_l1_1_0
1021 enable_api_ms_win_eventing_controller_l1_1_0
1022 enable_api_ms_win_eventing_provider_l1_1_0
1023 enable_api_ms_win_eventlog_legacy_l1_1_0
1024 enable_api_ms_win_mm_misc_l1_1_1
1025 enable_api_ms_win_mm_mme_l1_1_0
1026 enable_api_ms_win_ntuser_dc_access_l1_1_0
1027 enable_api_ms_win_power_base_l1_1_0
1028 enable_api_ms_win_power_setting_l1_1_0
1029 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1030 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1031 enable_api_ms_win_security_audit_l1_1_1
1032 enable_api_ms_win_security_base_l1_1_0
1033 enable_api_ms_win_security_base_l1_2_0
1034 enable_api_ms_win_security_base_private_l1_1_1
1035 enable_api_ms_win_security_grouppolicy_l1_1_0
1036 enable_api_ms_win_security_lsalookup_l1_1_0
1037 enable_api_ms_win_security_lsalookup_l1_1_1
1038 enable_api_ms_win_security_lsalookup_l2_1_1
1039 enable_api_ms_win_security_lsapolicy_l1_1_0
1040 enable_api_ms_win_security_sddl_l1_1_0
1041 enable_api_ms_win_security_systemfunctions_l1_1_0
1042 enable_api_ms_win_service_core_l1_1_0
1043 enable_api_ms_win_service_core_l1_1_1
1044 enable_api_ms_win_service_management_l1_1_0
1045 enable_api_ms_win_service_management_l2_1_0
1046 enable_api_ms_win_service_private_l1_1_1
1047 enable_api_ms_win_service_winsvc_l1_1_0
1048 enable_api_ms_win_service_winsvc_l1_2_0
1049 enable_api_ms_win_shell_shellcom_l1_1_0
1050 enable_api_ms_win_shell_shellfolders_l1_1_0
1051 enable_apphelp
1052 enable_appwiz_cpl
1053 enable_atl
1054 enable_atl100
1055 enable_atl110
1056 enable_atl80
1057 enable_atl90
1058 enable_authz
1059 enable_avicap32
1060 enable_avifil32
1061 enable_avrt
1062 enable_bcrypt
1063 enable_bluetoothapis
1064 enable_browseui
1065 enable_bthprops_cpl
1066 enable_cabinet
1067 enable_capi2032
1068 enable_cards
1069 enable_cfgmgr32
1070 enable_clusapi
1071 enable_combase
1072 enable_comcat
1073 enable_comctl32
1074 enable_comdlg32
1075 enable_compstui
1076 enable_comsvcs
1077 enable_concrt140
1078 enable_connect
1079 enable_credui
1080 enable_crtdll
1081 enable_crypt32
1082 enable_cryptdlg
1083 enable_cryptdll
1084 enable_cryptext
1085 enable_cryptnet
1086 enable_cryptui
1087 enable_ctapi32
1088 enable_ctl3d32
1089 enable_d2d1
1090 enable_d3d10
1091 enable_d3d10_1
1092 enable_d3d10core
1093 enable_d3d11
1094 enable_d3d8
1095 enable_d3d9
1096 enable_d3dcompiler_33
1097 enable_d3dcompiler_34
1098 enable_d3dcompiler_35
1099 enable_d3dcompiler_36
1100 enable_d3dcompiler_37
1101 enable_d3dcompiler_38
1102 enable_d3dcompiler_39
1103 enable_d3dcompiler_40
1104 enable_d3dcompiler_41
1105 enable_d3dcompiler_42
1106 enable_d3dcompiler_43
1107 enable_d3dcompiler_46
1108 enable_d3dcompiler_47
1109 enable_d3dim
1110 enable_d3drm
1111 enable_d3dx10_33
1112 enable_d3dx10_34
1113 enable_d3dx10_35
1114 enable_d3dx10_36
1115 enable_d3dx10_37
1116 enable_d3dx10_38
1117 enable_d3dx10_39
1118 enable_d3dx10_40
1119 enable_d3dx10_41
1120 enable_d3dx10_42
1121 enable_d3dx10_43
1122 enable_d3dx11_42
1123 enable_d3dx11_43
1124 enable_d3dx9_24
1125 enable_d3dx9_25
1126 enable_d3dx9_26
1127 enable_d3dx9_27
1128 enable_d3dx9_28
1129 enable_d3dx9_29
1130 enable_d3dx9_30
1131 enable_d3dx9_31
1132 enable_d3dx9_32
1133 enable_d3dx9_33
1134 enable_d3dx9_34
1135 enable_d3dx9_35
1136 enable_d3dx9_36
1137 enable_d3dx9_37
1138 enable_d3dx9_38
1139 enable_d3dx9_39
1140 enable_d3dx9_40
1141 enable_d3dx9_41
1142 enable_d3dx9_42
1143 enable_d3dx9_43
1144 enable_d3dxof
1145 enable_davclnt
1146 enable_dbgeng
1147 enable_dbghelp
1148 enable_dciman32
1149 enable_ddraw
1150 enable_ddrawex
1151 enable_devenum
1152 enable_dhcpcsvc
1153 enable_difxapi
1154 enable_dinput
1155 enable_dinput8
1156 enable_dispex
1157 enable_dmband
1158 enable_dmcompos
1159 enable_dmime
1160 enable_dmloader
1161 enable_dmscript
1162 enable_dmstyle
1163 enable_dmsynth
1164 enable_dmusic
1165 enable_dmusic32
1166 enable_dnsapi
1167 enable_dplay
1168 enable_dplayx
1169 enable_dpnaddr
1170 enable_dpnet
1171 enable_dpnhpast
1172 enable_dpnlobby
1173 enable_dpvoice
1174 enable_dpwsockx
1175 enable_drmclien
1176 enable_dsound
1177 enable_dssenh
1178 enable_dswave
1179 enable_dwmapi
1180 enable_dwrite
1181 enable_dxdiagn
1182 enable_dxgi
1183 enable_dxva2
1184 enable_esent
1185 enable_evr
1186 enable_explorerframe
1187 enable_ext_ms_win_authz_context_l1_1_0
1188 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1189 enable_ext_ms_win_gdi_dc_create_l1_1_1
1190 enable_ext_ms_win_gdi_dc_l1_2_0
1191 enable_ext_ms_win_gdi_devcaps_l1_1_0
1192 enable_ext_ms_win_gdi_draw_l1_1_1
1193 enable_ext_ms_win_gdi_render_l1_1_0
1194 enable_ext_ms_win_kernel32_package_current_l1_1_0
1195 enable_ext_ms_win_ntuser_message_l1_1_1
1196 enable_ext_ms_win_ntuser_private_l1_1_1
1197 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1198 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1199 enable_ext_ms_win_ntuser_window_l1_1_1
1200 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1201 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1202 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1203 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1204 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1205 enable_faultrep
1206 enable_fltlib
1207 enable_fltmgr_sys
1208 enable_fntcache
1209 enable_fontsub
1210 enable_fusion
1211 enable_fwpuclnt
1212 enable_gameux
1213 enable_gdi32
1214 enable_gdiplus
1215 enable_glu32
1216 enable_gphoto2_ds
1217 enable_gpkcsp
1218 enable_hal
1219 enable_hhctrl_ocx
1220 enable_hid
1221 enable_hidclass_sys
1222 enable_hlink
1223 enable_hnetcfg
1224 enable_httpapi
1225 enable_iccvid
1226 enable_icmp
1227 enable_ieframe
1228 enable_imaadp32_acm
1229 enable_imagehlp
1230 enable_imm32
1231 enable_inetcomm
1232 enable_inetcpl_cpl
1233 enable_inetmib1
1234 enable_infosoft
1235 enable_initpki
1236 enable_inkobj
1237 enable_inseng
1238 enable_iphlpapi
1239 enable_iprop
1240 enable_irprops_cpl
1241 enable_itircl
1242 enable_itss
1243 enable_joy_cpl
1244 enable_jscript
1245 enable_jsproxy
1246 enable_kernel32
1247 enable_kernelbase
1248 enable_ksuser
1249 enable_ktmw32
1250 enable_loadperf
1251 enable_localspl
1252 enable_localui
1253 enable_lz32
1254 enable_mapi32
1255 enable_mapistub
1256 enable_mciavi32
1257 enable_mcicda
1258 enable_mciqtz32
1259 enable_mciseq
1260 enable_mciwave
1261 enable_mf
1262 enable_mf3216
1263 enable_mfplat
1264 enable_mfreadwrite
1265 enable_mgmtapi
1266 enable_midimap
1267 enable_mlang
1268 enable_mmcndmgr
1269 enable_mmdevapi
1270 enable_mountmgr_sys
1271 enable_mpr
1272 enable_mprapi
1273 enable_msacm32_drv
1274 enable_msacm32
1275 enable_msadp32_acm
1276 enable_msasn1
1277 enable_mscat32
1278 enable_mscms
1279 enable_mscoree
1280 enable_msctf
1281 enable_msctfp
1282 enable_msdaps
1283 enable_msdelta
1284 enable_msdmo
1285 enable_msdrm
1286 enable_msftedit
1287 enable_msg711_acm
1288 enable_msgsm32_acm
1289 enable_mshtml_tlb
1290 enable_mshtml
1291 enable_msi
1292 enable_msident
1293 enable_msimg32
1294 enable_msimsg
1295 enable_msimtf
1296 enable_msisip
1297 enable_msisys_ocx
1298 enable_msls31
1299 enable_msnet32
1300 enable_mspatcha
1301 enable_msports
1302 enable_msrle32
1303 enable_msscript_ocx
1304 enable_mssign32
1305 enable_mssip32
1306 enable_mstask
1307 enable_msvcirt
1308 enable_msvcm80
1309 enable_msvcm90
1310 enable_msvcp100
1311 enable_msvcp110
1312 enable_msvcp120
1313 enable_msvcp120_app
1314 enable_msvcp140
1315 enable_msvcp60
1316 enable_msvcp70
1317 enable_msvcp71
1318 enable_msvcp80
1319 enable_msvcp90
1320 enable_msvcr100
1321 enable_msvcr110
1322 enable_msvcr120
1323 enable_msvcr120_app
1324 enable_msvcr70
1325 enable_msvcr71
1326 enable_msvcr80
1327 enable_msvcr90
1328 enable_msvcrt
1329 enable_msvcrt20
1330 enable_msvcrt40
1331 enable_msvcrtd
1332 enable_msvfw32
1333 enable_msvidc32
1334 enable_mswsock
1335 enable_msxml
1336 enable_msxml2
1337 enable_msxml3
1338 enable_msxml4
1339 enable_msxml6
1340 enable_mtxdm
1341 enable_ncrypt
1342 enable_nddeapi
1343 enable_ndis_sys
1344 enable_netapi32
1345 enable_netcfgx
1346 enable_netprofm
1347 enable_newdev
1348 enable_normaliz
1349 enable_npmshtml
1350 enable_npptools
1351 enable_ntdll
1352 enable_ntdsapi
1353 enable_ntoskrnl_exe
1354 enable_ntprint
1355 enable_objsel
1356 enable_odbc32
1357 enable_odbccp32
1358 enable_odbccu32
1359 enable_ole32
1360 enable_oleacc
1361 enable_oleaut32
1362 enable_olecli32
1363 enable_oledb32
1364 enable_oledlg
1365 enable_olepro32
1366 enable_olesvr32
1367 enable_olethk32
1368 enable_openal32
1369 enable_opencl
1370 enable_opengl32
1371 enable_packager
1372 enable_pdh
1373 enable_photometadatahandler
1374 enable_pidgen
1375 enable_powrprof
1376 enable_printui
1377 enable_prntvpt
1378 enable_propsys
1379 enable_psapi
1380 enable_pstorec
1381 enable_qcap
1382 enable_qedit
1383 enable_qmgr
1384 enable_qmgrprxy
1385 enable_quartz
1386 enable_query
1387 enable_rasapi32
1388 enable_rasdlg
1389 enable_regapi
1390 enable_resutils
1391 enable_riched20
1392 enable_riched32
1393 enable_rpcrt4
1394 enable_rsabase
1395 enable_rsaenh
1396 enable_rstrtmgr
1397 enable_rtutils
1398 enable_samlib
1399 enable_sane_ds
1400 enable_scarddlg
1401 enable_sccbase
1402 enable_schannel
1403 enable_schedsvc
1404 enable_scrobj
1405 enable_scrrun
1406 enable_scsiport_sys
1407 enable_secur32
1408 enable_security
1409 enable_sensapi
1410 enable_serialui
1411 enable_setupapi
1412 enable_sfc
1413 enable_sfc_os
1414 enable_shdoclc
1415 enable_shdocvw
1416 enable_shell32
1417 enable_shfolder
1418 enable_shlwapi
1419 enable_slbcsp
1420 enable_slc
1421 enable_snmpapi
1422 enable_softpub
1423 enable_spoolss
1424 enable_sspicli
1425 enable_stdole2_tlb
1426 enable_stdole32_tlb
1427 enable_sti
1428 enable_svrapi
1429 enable_sxs
1430 enable_t2embed
1431 enable_tapi32
1432 enable_taskschd
1433 enable_tdh
1434 enable_tdi_sys
1435 enable_traffic
1436 enable_twain_32
1437 enable_ucrtbase
1438 enable_uiautomationcore
1439 enable_unicows
1440 enable_updspapi
1441 enable_url
1442 enable_urlmon
1443 enable_usbd_sys
1444 enable_user32
1445 enable_userenv
1446 enable_usp10
1447 enable_uxtheme
1448 enable_vbscript
1449 enable_vcomp
1450 enable_vcomp100
1451 enable_vcomp110
1452 enable_vcomp120
1453 enable_vcomp140
1454 enable_vcomp90
1455 enable_vcruntime140
1456 enable_vdmdbg
1457 enable_version
1458 enable_virtdisk
1459 enable_vssapi
1460 enable_wbemdisp
1461 enable_wbemprox
1462 enable_webservices
1463 enable_wer
1464 enable_wevtapi
1465 enable_wiaservc
1466 enable_wimgapi
1467 enable_windowscodecs
1468 enable_windowscodecsext
1469 enable_winealsa_drv
1470 enable_wineandroid_drv
1471 enable_winebus_sys
1472 enable_winecoreaudio_drv
1473 enable_wined3d
1474 enable_winegstreamer
1475 enable_winehid_sys
1476 enable_winejoystick_drv
1477 enable_winemac_drv
1478 enable_winemapi
1479 enable_winemp3_acm
1480 enable_wineoss_drv
1481 enable_wineps_drv
1482 enable_winepulse_drv
1483 enable_wineqtdecoder
1484 enable_winex11_drv
1485 enable_wing32
1486 enable_winhttp
1487 enable_wininet
1488 enable_winmm
1489 enable_winnls32
1490 enable_winscard
1491 enable_winspool_drv
1492 enable_winsta
1493 enable_wintab32
1494 enable_wintrust
1495 enable_winusb
1496 enable_wlanapi
1497 enable_wldap32
1498 enable_wmasf
1499 enable_wmi
1500 enable_wmiutils
1501 enable_wmp
1502 enable_wmvcore
1503 enable_wnaspi32
1504 enable_wpc
1505 enable_wpcap
1506 enable_ws2_32
1507 enable_wsdapi
1508 enable_wshom_ocx
1509 enable_wsnmp32
1510 enable_wsock32
1511 enable_wtsapi32
1512 enable_wuapi
1513 enable_wuaueng
1514 enable_x3daudio1_0
1515 enable_x3daudio1_1
1516 enable_x3daudio1_2
1517 enable_x3daudio1_3
1518 enable_x3daudio1_4
1519 enable_x3daudio1_5
1520 enable_x3daudio1_6
1521 enable_x3daudio1_7
1522 enable_xapofx1_1
1523 enable_xapofx1_2
1524 enable_xapofx1_3
1525 enable_xapofx1_4
1526 enable_xapofx1_5
1527 enable_xaudio2_0
1528 enable_xaudio2_1
1529 enable_xaudio2_2
1530 enable_xaudio2_3
1531 enable_xaudio2_4
1532 enable_xaudio2_5
1533 enable_xaudio2_6
1534 enable_xaudio2_7
1535 enable_xaudio2_8
1536 enable_xaudio2_9
1537 enable_xinput1_1
1538 enable_xinput1_2
1539 enable_xinput1_3
1540 enable_xinput1_4
1541 enable_xinput9_1_0
1542 enable_xmllite
1543 enable_xolehlp
1544 enable_xpsprint
1545 enable_xpssvcs
1546 enable_fonts
1547 enable_include
1548 enable_libs_port
1549 enable_libs_wine
1550 enable_libs_wpp
1551 enable_loader
1552 enable_po
1553 enable_arp
1554 enable_aspnet_regiis
1555 enable_attrib
1556 enable_cabarc
1557 enable_cacls
1558 enable_clock
1559 enable_cmd
1560 enable_conhost
1561 enable_control
1562 enable_cscript
1563 enable_dpnsvr
1564 enable_dxdiag
1565 enable_eject
1566 enable_expand
1567 enable_explorer
1568 enable_extrac32
1569 enable_findstr
1570 enable_fsutil
1571 enable_hh
1572 enable_hostname
1573 enable_icacls
1574 enable_icinfo
1575 enable_iexplore
1576 enable_ipconfig
1577 enable_lodctr
1578 enable_mofcomp
1579 enable_mshta
1580 enable_msiexec
1581 enable_msinfo32
1582 enable_net
1583 enable_netsh
1584 enable_netstat
1585 enable_ngen
1586 enable_notepad
1587 enable_oleview
1588 enable_ping
1589 enable_plugplay
1590 enable_presentationfontcache
1591 enable_progman
1592 enable_reg
1593 enable_regasm
1594 enable_regedit
1595 enable_regsvcs
1596 enable_regsvr32
1597 enable_rpcss
1598 enable_rundll32
1599 enable_sc
1600 enable_schtasks
1601 enable_sdbinst
1602 enable_secedit
1603 enable_servicemodelreg
1604 enable_services
1605 enable_shutdown
1606 enable_spoolsv
1607 enable_start
1608 enable_subst
1609 enable_svchost
1610 enable_systeminfo
1611 enable_taskkill
1612 enable_tasklist
1613 enable_taskmgr
1614 enable_termsv
1615 enable_uninstaller
1616 enable_unlodctr
1617 enable_view
1618 enable_wevtutil
1619 enable_wineboot
1620 enable_winebrowser
1621 enable_winecfg
1622 enable_wineconsole
1623 enable_winedbg
1624 enable_winedevice
1625 enable_winefile
1626 enable_winemenubuilder
1627 enable_winemine
1628 enable_winemsibuilder
1629 enable_winepath
1630 enable_winetest
1631 enable_winhlp32
1632 enable_winver
1633 enable_wmic
1634 enable_wmplayer
1635 enable_wordpad
1636 enable_write
1637 enable_wscript
1638 enable_wusa
1639 enable_xcopy
1640 enable_server
1641 enable_tools
1643 ac_precious_vars='build_alias
1644 host_alias
1645 target_alias
1647 CFLAGS
1648 LDFLAGS
1649 LIBS
1650 CPPFLAGS
1652 CXXFLAGS
1655 XMKMF
1656 XML2_CFLAGS
1657 XML2_LIBS
1658 XSLT_CFLAGS
1659 XSLT_LIBS
1660 DBUS_CFLAGS
1661 DBUS_LIBS
1662 HAL_CFLAGS
1663 HAL_LIBS
1664 GNUTLS_CFLAGS
1665 GNUTLS_LIBS
1666 SANE_CFLAGS
1667 SANE_LIBS
1668 GPHOTO2_CFLAGS
1669 GPHOTO2_LIBS
1670 GPHOTO2_PORT_CFLAGS
1671 GPHOTO2_PORT_LIBS
1672 LCMS2_CFLAGS
1673 LCMS2_LIBS
1674 FREETYPE_CFLAGS
1675 FREETYPE_LIBS
1676 PULSE_CFLAGS
1677 PULSE_LIBS
1678 GSTREAMER_CFLAGS
1679 GSTREAMER_LIBS
1680 UDEV_CFLAGS
1681 UDEV_LIBS
1682 CAPI20_CFLAGS
1683 CAPI20_LIBS
1684 FONTCONFIG_CFLAGS
1685 FONTCONFIG_LIBS
1686 JPEG_CFLAGS
1687 JPEG_LIBS
1688 PNG_CFLAGS
1689 PNG_LIBS
1690 TIFF_CFLAGS
1691 TIFF_LIBS
1692 MPG123_CFLAGS
1693 MPG123_LIBS
1694 NETAPI_CFLAGS
1695 NETAPI_LIBS'
1698 # Initialize some variables set by options.
1699 ac_init_help=
1700 ac_init_version=false
1701 ac_unrecognized_opts=
1702 ac_unrecognized_sep=
1703 # The variables have the same names as the options, with
1704 # dashes changed to underlines.
1705 cache_file=/dev/null
1706 exec_prefix=NONE
1707 no_create=
1708 no_recursion=
1709 prefix=NONE
1710 program_prefix=NONE
1711 program_suffix=NONE
1712 program_transform_name=s,x,x,
1713 silent=
1714 site=
1715 srcdir=
1716 verbose=
1717 x_includes=NONE
1718 x_libraries=NONE
1720 # Installation directory options.
1721 # These are left unexpanded so users can "make install exec_prefix=/foo"
1722 # and all the variables that are supposed to be based on exec_prefix
1723 # by default will actually change.
1724 # Use braces instead of parens because sh, perl, etc. also accept them.
1725 # (The list follows the same order as the GNU Coding Standards.)
1726 bindir='${exec_prefix}/bin'
1727 sbindir='${exec_prefix}/sbin'
1728 libexecdir='${exec_prefix}/libexec'
1729 datarootdir='${prefix}/share'
1730 datadir='${datarootdir}'
1731 sysconfdir='${prefix}/etc'
1732 sharedstatedir='${prefix}/com'
1733 localstatedir='${prefix}/var'
1734 runstatedir='${localstatedir}/run'
1735 includedir='${prefix}/include'
1736 oldincludedir='/usr/include'
1737 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1738 infodir='${datarootdir}/info'
1739 htmldir='${docdir}'
1740 dvidir='${docdir}'
1741 pdfdir='${docdir}'
1742 psdir='${docdir}'
1743 libdir='${exec_prefix}/lib'
1744 localedir='${datarootdir}/locale'
1745 mandir='${datarootdir}/man'
1747 ac_prev=
1748 ac_dashdash=
1749 for ac_option
1751 # If the previous option needs an argument, assign it.
1752 if test -n "$ac_prev"; then
1753 eval $ac_prev=\$ac_option
1754 ac_prev=
1755 continue
1758 case $ac_option in
1759 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1760 *=) ac_optarg= ;;
1761 *) ac_optarg=yes ;;
1762 esac
1764 # Accept the important Cygnus configure options, so we can diagnose typos.
1766 case $ac_dashdash$ac_option in
1768 ac_dashdash=yes ;;
1770 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1771 ac_prev=bindir ;;
1772 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1773 bindir=$ac_optarg ;;
1775 -build | --build | --buil | --bui | --bu)
1776 ac_prev=build_alias ;;
1777 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1778 build_alias=$ac_optarg ;;
1780 -cache-file | --cache-file | --cache-fil | --cache-fi \
1781 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1782 ac_prev=cache_file ;;
1783 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1784 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1785 cache_file=$ac_optarg ;;
1787 --config-cache | -C)
1788 cache_file=config.cache ;;
1790 -datadir | --datadir | --datadi | --datad)
1791 ac_prev=datadir ;;
1792 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1793 datadir=$ac_optarg ;;
1795 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1796 | --dataroo | --dataro | --datar)
1797 ac_prev=datarootdir ;;
1798 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1799 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1800 datarootdir=$ac_optarg ;;
1802 -disable-* | --disable-*)
1803 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1804 # Reject names that are not valid shell variable names.
1805 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1806 as_fn_error $? "invalid feature name: $ac_useropt"
1807 ac_useropt_orig=$ac_useropt
1808 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1809 case $ac_user_opts in
1811 "enable_$ac_useropt"
1812 "*) ;;
1813 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1814 ac_unrecognized_sep=', ';;
1815 esac
1816 eval enable_$ac_useropt=no ;;
1818 -docdir | --docdir | --docdi | --doc | --do)
1819 ac_prev=docdir ;;
1820 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1821 docdir=$ac_optarg ;;
1823 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1824 ac_prev=dvidir ;;
1825 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1826 dvidir=$ac_optarg ;;
1828 -enable-* | --enable-*)
1829 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1830 # Reject names that are not valid shell variable names.
1831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1832 as_fn_error $? "invalid feature name: $ac_useropt"
1833 ac_useropt_orig=$ac_useropt
1834 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1835 case $ac_user_opts in
1837 "enable_$ac_useropt"
1838 "*) ;;
1839 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1840 ac_unrecognized_sep=', ';;
1841 esac
1842 eval enable_$ac_useropt=\$ac_optarg ;;
1844 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1845 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1846 | --exec | --exe | --ex)
1847 ac_prev=exec_prefix ;;
1848 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1849 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1850 | --exec=* | --exe=* | --ex=*)
1851 exec_prefix=$ac_optarg ;;
1853 -gas | --gas | --ga | --g)
1854 # Obsolete; use --with-gas.
1855 with_gas=yes ;;
1857 -help | --help | --hel | --he | -h)
1858 ac_init_help=long ;;
1859 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1860 ac_init_help=recursive ;;
1861 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1862 ac_init_help=short ;;
1864 -host | --host | --hos | --ho)
1865 ac_prev=host_alias ;;
1866 -host=* | --host=* | --hos=* | --ho=*)
1867 host_alias=$ac_optarg ;;
1869 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1870 ac_prev=htmldir ;;
1871 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1872 | --ht=*)
1873 htmldir=$ac_optarg ;;
1875 -includedir | --includedir | --includedi | --included | --include \
1876 | --includ | --inclu | --incl | --inc)
1877 ac_prev=includedir ;;
1878 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1879 | --includ=* | --inclu=* | --incl=* | --inc=*)
1880 includedir=$ac_optarg ;;
1882 -infodir | --infodir | --infodi | --infod | --info | --inf)
1883 ac_prev=infodir ;;
1884 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1885 infodir=$ac_optarg ;;
1887 -libdir | --libdir | --libdi | --libd)
1888 ac_prev=libdir ;;
1889 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1890 libdir=$ac_optarg ;;
1892 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1893 | --libexe | --libex | --libe)
1894 ac_prev=libexecdir ;;
1895 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1896 | --libexe=* | --libex=* | --libe=*)
1897 libexecdir=$ac_optarg ;;
1899 -localedir | --localedir | --localedi | --localed | --locale)
1900 ac_prev=localedir ;;
1901 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1902 localedir=$ac_optarg ;;
1904 -localstatedir | --localstatedir | --localstatedi | --localstated \
1905 | --localstate | --localstat | --localsta | --localst | --locals)
1906 ac_prev=localstatedir ;;
1907 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1908 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1909 localstatedir=$ac_optarg ;;
1911 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1912 ac_prev=mandir ;;
1913 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1914 mandir=$ac_optarg ;;
1916 -nfp | --nfp | --nf)
1917 # Obsolete; use --without-fp.
1918 with_fp=no ;;
1920 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1921 | --no-cr | --no-c | -n)
1922 no_create=yes ;;
1924 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1925 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1926 no_recursion=yes ;;
1928 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1929 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1930 | --oldin | --oldi | --old | --ol | --o)
1931 ac_prev=oldincludedir ;;
1932 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1933 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1934 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1935 oldincludedir=$ac_optarg ;;
1937 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1938 ac_prev=prefix ;;
1939 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1940 prefix=$ac_optarg ;;
1942 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1943 | --program-pre | --program-pr | --program-p)
1944 ac_prev=program_prefix ;;
1945 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1946 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1947 program_prefix=$ac_optarg ;;
1949 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1950 | --program-suf | --program-su | --program-s)
1951 ac_prev=program_suffix ;;
1952 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1953 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1954 program_suffix=$ac_optarg ;;
1956 -program-transform-name | --program-transform-name \
1957 | --program-transform-nam | --program-transform-na \
1958 | --program-transform-n | --program-transform- \
1959 | --program-transform | --program-transfor \
1960 | --program-transfo | --program-transf \
1961 | --program-trans | --program-tran \
1962 | --progr-tra | --program-tr | --program-t)
1963 ac_prev=program_transform_name ;;
1964 -program-transform-name=* | --program-transform-name=* \
1965 | --program-transform-nam=* | --program-transform-na=* \
1966 | --program-transform-n=* | --program-transform-=* \
1967 | --program-transform=* | --program-transfor=* \
1968 | --program-transfo=* | --program-transf=* \
1969 | --program-trans=* | --program-tran=* \
1970 | --progr-tra=* | --program-tr=* | --program-t=*)
1971 program_transform_name=$ac_optarg ;;
1973 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1974 ac_prev=pdfdir ;;
1975 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1976 pdfdir=$ac_optarg ;;
1978 -psdir | --psdir | --psdi | --psd | --ps)
1979 ac_prev=psdir ;;
1980 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1981 psdir=$ac_optarg ;;
1983 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1984 | -silent | --silent | --silen | --sile | --sil)
1985 silent=yes ;;
1987 -runstatedir | --runstatedir | --runstatedi | --runstated \
1988 | --runstate | --runstat | --runsta | --runst | --runs \
1989 | --run | --ru | --r)
1990 ac_prev=runstatedir ;;
1991 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1992 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1993 | --run=* | --ru=* | --r=*)
1994 runstatedir=$ac_optarg ;;
1996 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1997 ac_prev=sbindir ;;
1998 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1999 | --sbi=* | --sb=*)
2000 sbindir=$ac_optarg ;;
2002 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2003 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2004 | --sharedst | --shareds | --shared | --share | --shar \
2005 | --sha | --sh)
2006 ac_prev=sharedstatedir ;;
2007 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2008 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2009 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2010 | --sha=* | --sh=*)
2011 sharedstatedir=$ac_optarg ;;
2013 -site | --site | --sit)
2014 ac_prev=site ;;
2015 -site=* | --site=* | --sit=*)
2016 site=$ac_optarg ;;
2018 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2019 ac_prev=srcdir ;;
2020 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2021 srcdir=$ac_optarg ;;
2023 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2024 | --syscon | --sysco | --sysc | --sys | --sy)
2025 ac_prev=sysconfdir ;;
2026 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2027 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2028 sysconfdir=$ac_optarg ;;
2030 -target | --target | --targe | --targ | --tar | --ta | --t)
2031 ac_prev=target_alias ;;
2032 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2033 target_alias=$ac_optarg ;;
2035 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2036 verbose=yes ;;
2038 -version | --version | --versio | --versi | --vers | -V)
2039 ac_init_version=: ;;
2041 -with-* | --with-*)
2042 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2043 # Reject names that are not valid shell variable names.
2044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2045 as_fn_error $? "invalid package name: $ac_useropt"
2046 ac_useropt_orig=$ac_useropt
2047 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2048 case $ac_user_opts in
2050 "with_$ac_useropt"
2051 "*) ;;
2052 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2053 ac_unrecognized_sep=', ';;
2054 esac
2055 eval with_$ac_useropt=\$ac_optarg ;;
2057 -without-* | --without-*)
2058 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
2069 ac_unrecognized_sep=', ';;
2070 esac
2071 eval with_$ac_useropt=no ;;
2073 --x)
2074 # Obsolete; use --with-x.
2075 with_x=yes ;;
2077 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2078 | --x-incl | --x-inc | --x-in | --x-i)
2079 ac_prev=x_includes ;;
2080 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2081 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2082 x_includes=$ac_optarg ;;
2084 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2085 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2086 ac_prev=x_libraries ;;
2087 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2088 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2089 x_libraries=$ac_optarg ;;
2091 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2092 Try \`$0 --help' for more information"
2095 *=*)
2096 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2097 # Reject names that are not valid shell variable names.
2098 case $ac_envvar in #(
2099 '' | [0-9]* | *[!_$as_cr_alnum]* )
2100 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2101 esac
2102 eval $ac_envvar=\$ac_optarg
2103 export $ac_envvar ;;
2106 # FIXME: should be removed in autoconf 3.0.
2107 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2108 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2109 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2110 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2113 esac
2114 done
2116 if test -n "$ac_prev"; then
2117 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2118 as_fn_error $? "missing argument to $ac_option"
2121 if test -n "$ac_unrecognized_opts"; then
2122 case $enable_option_checking in
2123 no) ;;
2124 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2125 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2126 esac
2129 # Check all directory arguments for consistency.
2130 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2131 datadir sysconfdir sharedstatedir localstatedir includedir \
2132 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2133 libdir localedir mandir runstatedir
2135 eval ac_val=\$$ac_var
2136 # Remove trailing slashes.
2137 case $ac_val in
2138 */ )
2139 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2140 eval $ac_var=\$ac_val;;
2141 esac
2142 # Be sure to have absolute directory names.
2143 case $ac_val in
2144 [\\/$]* | ?:[\\/]* ) continue;;
2145 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2146 esac
2147 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2148 done
2150 # There might be people who depend on the old broken behavior: `$host'
2151 # used to hold the argument of --host etc.
2152 # FIXME: To remove some day.
2153 build=$build_alias
2154 host=$host_alias
2155 target=$target_alias
2157 # FIXME: To remove some day.
2158 if test "x$host_alias" != x; then
2159 if test "x$build_alias" = x; then
2160 cross_compiling=maybe
2161 elif test "x$build_alias" != "x$host_alias"; then
2162 cross_compiling=yes
2166 ac_tool_prefix=
2167 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2169 test "$silent" = yes && exec 6>/dev/null
2172 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2173 ac_ls_di=`ls -di .` &&
2174 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2175 as_fn_error $? "working directory cannot be determined"
2176 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2177 as_fn_error $? "pwd does not report name of working directory"
2180 # Find the source files, if location was not specified.
2181 if test -z "$srcdir"; then
2182 ac_srcdir_defaulted=yes
2183 # Try the directory containing this script, then the parent directory.
2184 ac_confdir=`$as_dirname -- "$as_myself" ||
2185 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2186 X"$as_myself" : 'X\(//\)[^/]' \| \
2187 X"$as_myself" : 'X\(//\)$' \| \
2188 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2189 $as_echo X"$as_myself" |
2190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2191 s//\1/
2194 /^X\(\/\/\)[^/].*/{
2195 s//\1/
2198 /^X\(\/\/\)$/{
2199 s//\1/
2202 /^X\(\/\).*/{
2203 s//\1/
2206 s/.*/./; q'`
2207 srcdir=$ac_confdir
2208 if test ! -r "$srcdir/$ac_unique_file"; then
2209 srcdir=..
2211 else
2212 ac_srcdir_defaulted=no
2214 if test ! -r "$srcdir/$ac_unique_file"; then
2215 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2216 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2218 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2219 ac_abs_confdir=`(
2220 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2221 pwd)`
2222 # When building in place, set srcdir=.
2223 if test "$ac_abs_confdir" = "$ac_pwd"; then
2224 srcdir=.
2226 # Remove unnecessary trailing slashes from srcdir.
2227 # Double slashes in file names in object file debugging info
2228 # mess up M-x gdb in Emacs.
2229 case $srcdir in
2230 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2231 esac
2232 for ac_var in $ac_precious_vars; do
2233 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2234 eval ac_env_${ac_var}_value=\$${ac_var}
2235 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2236 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2237 done
2240 # Report the --help message.
2242 if test "$ac_init_help" = "long"; then
2243 # Omit some internal or obsolete options to make the list less imposing.
2244 # This message is too long to be a string in the A/UX 3.1 sh.
2245 cat <<_ACEOF
2246 \`configure' configures Wine 2.10 to adapt to many kinds of systems.
2248 Usage: $0 [OPTION]... [VAR=VALUE]...
2250 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2251 VAR=VALUE. See below for descriptions of some of the useful variables.
2253 Defaults for the options are specified in brackets.
2255 Configuration:
2256 -h, --help display this help and exit
2257 --help=short display options specific to this package
2258 --help=recursive display the short help of all the included packages
2259 -V, --version display version information and exit
2260 -q, --quiet, --silent do not print \`checking ...' messages
2261 --cache-file=FILE cache test results in FILE [disabled]
2262 -C, --config-cache alias for \`--cache-file=config.cache'
2263 -n, --no-create do not create output files
2264 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2266 Installation directories:
2267 --prefix=PREFIX install architecture-independent files in PREFIX
2268 [$ac_default_prefix]
2269 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2270 [PREFIX]
2272 By default, \`make install' will install all the files in
2273 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2274 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2275 for instance \`--prefix=\$HOME'.
2277 For better control, use the options below.
2279 Fine tuning of the installation directories:
2280 --bindir=DIR user executables [EPREFIX/bin]
2281 --sbindir=DIR system admin executables [EPREFIX/sbin]
2282 --libexecdir=DIR program executables [EPREFIX/libexec]
2283 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2284 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2285 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2286 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2287 --libdir=DIR object code libraries [EPREFIX/lib]
2288 --includedir=DIR C header files [PREFIX/include]
2289 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2290 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2291 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2292 --infodir=DIR info documentation [DATAROOTDIR/info]
2293 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2294 --mandir=DIR man documentation [DATAROOTDIR/man]
2295 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2296 --htmldir=DIR html documentation [DOCDIR]
2297 --dvidir=DIR dvi documentation [DOCDIR]
2298 --pdfdir=DIR pdf documentation [DOCDIR]
2299 --psdir=DIR ps documentation [DOCDIR]
2300 _ACEOF
2302 cat <<\_ACEOF
2304 X features:
2305 --x-includes=DIR X include files are in DIR
2306 --x-libraries=DIR X library files are in DIR
2308 System types:
2309 --build=BUILD configure for building on BUILD [guessed]
2310 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2311 _ACEOF
2314 if test -n "$ac_init_help"; then
2315 case $ac_init_help in
2316 short | recursive ) echo "Configuration of Wine 2.10:";;
2317 esac
2318 cat <<\_ACEOF
2320 Optional Features:
2321 --disable-option-checking ignore unrecognized --enable/--with options
2322 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2323 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2324 --disable-win16 do not include Win16 support
2325 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2326 binaries)
2327 --disable-tests do not build the regression tests
2328 --enable-maintainer-mode
2329 enable maintainer-specific build rules
2330 --disable-largefile omit support for large files
2332 Optional Packages:
2333 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2334 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2335 --without-alsa do not use the Alsa sound support
2336 --without-capi do not use CAPI (ISDN support)
2337 --without-cms do not use CMS (color management support)
2338 --without-coreaudio do not use the CoreAudio sound support
2339 --without-cups do not use CUPS
2340 --without-curses do not use (n)curses
2341 --without-dbus do not use DBus (dynamic device support)
2342 --without-fontconfig do not use fontconfig
2343 --without-freetype do not use the FreeType library
2344 --without-gettext do not use gettext
2345 --with-gettextpo use the GetTextPO library to rebuild po files
2346 --without-gphoto do not use gphoto (Digital Camera support)
2347 --without-glu do not use the GLU library
2348 --without-gnutls do not use GnuTLS (schannel support)
2349 --without-gsm do not use libgsm (GSM 06.10 codec support)
2350 --without-gstreamer do not use GStreamer (codecs support)
2351 --without-hal do not use HAL (dynamic device support)
2352 --without-jpeg do not use JPEG
2353 --without-ldap do not use LDAP
2354 --without-mpg123 do not use the mpg123 library
2355 --without-netapi do not use the Samba NetAPI library
2356 --without-openal do not use OpenAL
2357 --without-opencl do not use OpenCL
2358 --without-opengl do not use OpenGL
2359 --without-osmesa do not use the OSMesa library
2360 --without-oss do not use the OSS sound support
2361 --without-pcap do not use the Packet Capture library
2362 --without-png do not use PNG
2363 --without-pthread do not use the pthread library
2364 --without-pulse do not use PulseAudio sound support
2365 --without-sane do not use SANE (scanner support)
2366 --without-tiff do not use TIFF
2367 --without-udev do not use udev (plug and play support)
2368 --without-v4l do not use v4l1 (v4l support)
2369 --without-xcomposite do not use the Xcomposite extension
2370 --without-xcursor do not use the Xcursor extension
2371 --without-xfixes do not use Xfixes for clipboard change notifications
2372 --without-xinerama do not use Xinerama (multi-monitor support)
2373 --without-xinput do not use the Xinput extension
2374 --without-xinput2 do not use the Xinput 2 extension
2375 --without-xml do not use XML
2376 --without-xrandr do not use Xrandr (resolution changes)
2377 --without-xrender do not use the Xrender extension
2378 --without-xshape do not use the Xshape extension
2379 --without-xshm do not use XShm (shared memory extension)
2380 --without-xslt do not use XSLT
2381 --without-xxf86vm do not use XFree video mode extension
2382 --without-zlib do not use Zlib (data compression)
2383 --with-wine-tools=DIR use Wine tools from directory DIR
2384 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2385 --with-x use the X Window System
2387 Some influential environment variables:
2388 CC C compiler command
2389 CFLAGS C compiler flags
2390 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2391 nonstandard directory <lib dir>
2392 LIBS libraries to pass to the linker, e.g. -l<library>
2393 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2394 you have headers in a nonstandard directory <include dir>
2395 CXX C++ compiler command
2396 CXXFLAGS C++ compiler flags
2397 CPP C preprocessor
2398 XMKMF Path to xmkmf, Makefile generator for X Window System
2399 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2400 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2401 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2402 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2403 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2404 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2405 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2406 HAL_LIBS Linker flags for hal, overriding pkg-config
2407 GNUTLS_CFLAGS
2408 C compiler flags for gnutls, overriding pkg-config
2409 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2410 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2411 SANE_LIBS Linker flags for libsane, overriding pkg-config
2412 GPHOTO2_CFLAGS
2413 C compiler flags for libgphoto2, overriding pkg-config
2414 GPHOTO2_LIBS
2415 Linker flags for libgphoto2, overriding pkg-config
2416 GPHOTO2_PORT_CFLAGS
2417 C compiler flags for libgphoto2_port, overriding pkg-config
2418 GPHOTO2_PORT_LIBS
2419 Linker flags for libgphoto2_port, overriding pkg-config
2420 LCMS2_CFLAGS
2421 C compiler flags for lcms2, overriding pkg-config
2422 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2423 FREETYPE_CFLAGS
2424 C compiler flags for freetype2, overriding pkg-config
2425 FREETYPE_LIBS
2426 Linker flags for freetype2, overriding pkg-config
2427 PULSE_CFLAGS
2428 C compiler flags for libpulse, overriding pkg-config
2429 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2430 GSTREAMER_CFLAGS
2431 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2432 gstreamer-audio-1.0, overriding pkg-config
2433 GSTREAMER_LIBS
2434 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2435 gstreamer-audio-1.0, overriding pkg-config
2436 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2437 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2438 CAPI20_CFLAGS
2439 C compiler flags for capi20, overriding pkg-config
2440 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2441 FONTCONFIG_CFLAGS
2442 C compiler flags for fontconfig, overriding pkg-config
2443 FONTCONFIG_LIBS
2444 Linker flags for fontconfig, overriding pkg-config
2445 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2446 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2447 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2448 PNG_LIBS Linker flags for libpng, overriding pkg-config
2449 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2450 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2451 MPG123_CFLAGS
2452 C compiler flags for libmpg123, overriding pkg-config
2453 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2454 NETAPI_CFLAGS
2455 C compiler flags for netapi, overriding pkg-config
2456 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2458 Use these variables to override the choices made by `configure' or to help
2459 it to find libraries and programs with nonstandard names/locations.
2461 Report bugs to <wine-devel@winehq.org>.
2462 Wine home page: <http://www.winehq.org>.
2463 _ACEOF
2464 ac_status=$?
2467 if test "$ac_init_help" = "recursive"; then
2468 # If there are subdirs, report their specific --help.
2469 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2470 test -d "$ac_dir" ||
2471 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2472 continue
2473 ac_builddir=.
2475 case "$ac_dir" in
2476 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2478 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2479 # A ".." for each directory in $ac_dir_suffix.
2480 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2481 case $ac_top_builddir_sub in
2482 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2483 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2484 esac ;;
2485 esac
2486 ac_abs_top_builddir=$ac_pwd
2487 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2488 # for backward compatibility:
2489 ac_top_builddir=$ac_top_build_prefix
2491 case $srcdir in
2492 .) # We are building in place.
2493 ac_srcdir=.
2494 ac_top_srcdir=$ac_top_builddir_sub
2495 ac_abs_top_srcdir=$ac_pwd ;;
2496 [\\/]* | ?:[\\/]* ) # Absolute name.
2497 ac_srcdir=$srcdir$ac_dir_suffix;
2498 ac_top_srcdir=$srcdir
2499 ac_abs_top_srcdir=$srcdir ;;
2500 *) # Relative name.
2501 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2502 ac_top_srcdir=$ac_top_build_prefix$srcdir
2503 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2504 esac
2505 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2507 cd "$ac_dir" || { ac_status=$?; continue; }
2508 # Check for guested configure.
2509 if test -f "$ac_srcdir/configure.gnu"; then
2510 echo &&
2511 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2512 elif test -f "$ac_srcdir/configure"; then
2513 echo &&
2514 $SHELL "$ac_srcdir/configure" --help=recursive
2515 else
2516 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2517 fi || ac_status=$?
2518 cd "$ac_pwd" || { ac_status=$?; break; }
2519 done
2522 test -n "$ac_init_help" && exit $ac_status
2523 if $ac_init_version; then
2524 cat <<\_ACEOF
2525 Wine configure 2.10
2526 generated by GNU Autoconf 2.69
2528 Copyright (C) 2012 Free Software Foundation, Inc.
2529 This configure script is free software; the Free Software Foundation
2530 gives unlimited permission to copy, distribute and modify it.
2531 _ACEOF
2532 exit
2535 ## ------------------------ ##
2536 ## Autoconf initialization. ##
2537 ## ------------------------ ##
2539 # ac_fn_c_try_compile LINENO
2540 # --------------------------
2541 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2542 ac_fn_c_try_compile ()
2544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2545 rm -f conftest.$ac_objext
2546 if { { ac_try="$ac_compile"
2547 case "(($ac_try" in
2548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2549 *) ac_try_echo=$ac_try;;
2550 esac
2551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2552 $as_echo "$ac_try_echo"; } >&5
2553 (eval "$ac_compile") 2>conftest.err
2554 ac_status=$?
2555 if test -s conftest.err; then
2556 grep -v '^ *+' conftest.err >conftest.er1
2557 cat conftest.er1 >&5
2558 mv -f conftest.er1 conftest.err
2560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2561 test $ac_status = 0; } && {
2562 test -z "$ac_c_werror_flag" ||
2563 test ! -s conftest.err
2564 } && test -s conftest.$ac_objext; then :
2565 ac_retval=0
2566 else
2567 $as_echo "$as_me: failed program was:" >&5
2568 sed 's/^/| /' conftest.$ac_ext >&5
2570 ac_retval=1
2572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2573 as_fn_set_status $ac_retval
2575 } # ac_fn_c_try_compile
2577 # ac_fn_cxx_try_compile LINENO
2578 # ----------------------------
2579 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2580 ac_fn_cxx_try_compile ()
2582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2583 rm -f conftest.$ac_objext
2584 if { { ac_try="$ac_compile"
2585 case "(($ac_try" in
2586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2587 *) ac_try_echo=$ac_try;;
2588 esac
2589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2590 $as_echo "$ac_try_echo"; } >&5
2591 (eval "$ac_compile") 2>conftest.err
2592 ac_status=$?
2593 if test -s conftest.err; then
2594 grep -v '^ *+' conftest.err >conftest.er1
2595 cat conftest.er1 >&5
2596 mv -f conftest.er1 conftest.err
2598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2599 test $ac_status = 0; } && {
2600 test -z "$ac_cxx_werror_flag" ||
2601 test ! -s conftest.err
2602 } && test -s conftest.$ac_objext; then :
2603 ac_retval=0
2604 else
2605 $as_echo "$as_me: failed program was:" >&5
2606 sed 's/^/| /' conftest.$ac_ext >&5
2608 ac_retval=1
2610 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2611 as_fn_set_status $ac_retval
2613 } # ac_fn_cxx_try_compile
2615 # ac_fn_c_try_link LINENO
2616 # -----------------------
2617 # Try to link conftest.$ac_ext, and return whether this succeeded.
2618 ac_fn_c_try_link ()
2620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2621 rm -f conftest.$ac_objext conftest$ac_exeext
2622 if { { ac_try="$ac_link"
2623 case "(($ac_try" in
2624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2625 *) ac_try_echo=$ac_try;;
2626 esac
2627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2628 $as_echo "$ac_try_echo"; } >&5
2629 (eval "$ac_link") 2>conftest.err
2630 ac_status=$?
2631 if test -s conftest.err; then
2632 grep -v '^ *+' conftest.err >conftest.er1
2633 cat conftest.er1 >&5
2634 mv -f conftest.er1 conftest.err
2636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2637 test $ac_status = 0; } && {
2638 test -z "$ac_c_werror_flag" ||
2639 test ! -s conftest.err
2640 } && test -s conftest$ac_exeext && {
2641 test "$cross_compiling" = yes ||
2642 test -x conftest$ac_exeext
2643 }; then :
2644 ac_retval=0
2645 else
2646 $as_echo "$as_me: failed program was:" >&5
2647 sed 's/^/| /' conftest.$ac_ext >&5
2649 ac_retval=1
2651 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2652 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2653 # interfere with the next link command; also delete a directory that is
2654 # left behind by Apple's compiler. We do this before executing the actions.
2655 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2656 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2657 as_fn_set_status $ac_retval
2659 } # ac_fn_c_try_link
2661 # ac_fn_c_try_cpp LINENO
2662 # ----------------------
2663 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2664 ac_fn_c_try_cpp ()
2666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2667 if { { ac_try="$ac_cpp conftest.$ac_ext"
2668 case "(($ac_try" in
2669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670 *) ac_try_echo=$ac_try;;
2671 esac
2672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2673 $as_echo "$ac_try_echo"; } >&5
2674 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2675 ac_status=$?
2676 if test -s conftest.err; then
2677 grep -v '^ *+' conftest.err >conftest.er1
2678 cat conftest.er1 >&5
2679 mv -f conftest.er1 conftest.err
2681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2682 test $ac_status = 0; } > conftest.i && {
2683 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2684 test ! -s conftest.err
2685 }; then :
2686 ac_retval=0
2687 else
2688 $as_echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.$ac_ext >&5
2691 ac_retval=1
2693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2694 as_fn_set_status $ac_retval
2696 } # ac_fn_c_try_cpp
2698 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2699 # -------------------------------------------------------
2700 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2701 # the include files in INCLUDES and setting the cache variable VAR
2702 # accordingly.
2703 ac_fn_c_check_header_mongrel ()
2705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2706 if eval \${$3+:} false; then :
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2708 $as_echo_n "checking for $2... " >&6; }
2709 if eval \${$3+:} false; then :
2710 $as_echo_n "(cached) " >&6
2712 eval ac_res=\$$3
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2714 $as_echo "$ac_res" >&6; }
2715 else
2716 # Is the header compilable?
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2718 $as_echo_n "checking $2 usability... " >&6; }
2719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2720 /* end confdefs.h. */
2722 #include <$2>
2723 _ACEOF
2724 if ac_fn_c_try_compile "$LINENO"; then :
2725 ac_header_compiler=yes
2726 else
2727 ac_header_compiler=no
2729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2731 $as_echo "$ac_header_compiler" >&6; }
2733 # Is the header present?
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2735 $as_echo_n "checking $2 presence... " >&6; }
2736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2737 /* end confdefs.h. */
2738 #include <$2>
2739 _ACEOF
2740 if ac_fn_c_try_cpp "$LINENO"; then :
2741 ac_header_preproc=yes
2742 else
2743 ac_header_preproc=no
2745 rm -f conftest.err conftest.i conftest.$ac_ext
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2747 $as_echo "$ac_header_preproc" >&6; }
2749 # So? What about this header?
2750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2751 yes:no: )
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2753 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2755 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2757 no:yes:* )
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2759 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2761 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2763 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2765 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2767 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2768 ( $as_echo "## ------------------------------------ ##
2769 ## Report this to wine-devel@winehq.org ##
2770 ## ------------------------------------ ##"
2771 ) | sed "s/^/$as_me: WARNING: /" >&2
2773 esac
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2775 $as_echo_n "checking for $2... " >&6; }
2776 if eval \${$3+:} false; then :
2777 $as_echo_n "(cached) " >&6
2778 else
2779 eval "$3=\$ac_header_compiler"
2781 eval ac_res=\$$3
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2783 $as_echo "$ac_res" >&6; }
2785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2787 } # ac_fn_c_check_header_mongrel
2789 # ac_fn_c_try_run LINENO
2790 # ----------------------
2791 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2792 # that executables *can* be run.
2793 ac_fn_c_try_run ()
2795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2796 if { { ac_try="$ac_link"
2797 case "(($ac_try" in
2798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2799 *) ac_try_echo=$ac_try;;
2800 esac
2801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2802 $as_echo "$ac_try_echo"; } >&5
2803 (eval "$ac_link") 2>&5
2804 ac_status=$?
2805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2806 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2807 { { case "(($ac_try" in
2808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2809 *) ac_try_echo=$ac_try;;
2810 esac
2811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2812 $as_echo "$ac_try_echo"; } >&5
2813 (eval "$ac_try") 2>&5
2814 ac_status=$?
2815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2816 test $ac_status = 0; }; }; then :
2817 ac_retval=0
2818 else
2819 $as_echo "$as_me: program exited with status $ac_status" >&5
2820 $as_echo "$as_me: failed program was:" >&5
2821 sed 's/^/| /' conftest.$ac_ext >&5
2823 ac_retval=$ac_status
2825 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2827 as_fn_set_status $ac_retval
2829 } # ac_fn_c_try_run
2831 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2832 # -------------------------------------------------------
2833 # Tests whether HEADER exists and can be compiled using the include files in
2834 # INCLUDES, setting the cache variable VAR accordingly.
2835 ac_fn_c_check_header_compile ()
2837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2839 $as_echo_n "checking for $2... " >&6; }
2840 if eval \${$3+:} false; then :
2841 $as_echo_n "(cached) " >&6
2842 else
2843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2844 /* end confdefs.h. */
2846 #include <$2>
2847 _ACEOF
2848 if ac_fn_c_try_compile "$LINENO"; then :
2849 eval "$3=yes"
2850 else
2851 eval "$3=no"
2853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2855 eval ac_res=\$$3
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2857 $as_echo "$ac_res" >&6; }
2858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2860 } # ac_fn_c_check_header_compile
2862 # ac_fn_c_check_func LINENO FUNC VAR
2863 # ----------------------------------
2864 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2865 ac_fn_c_check_func ()
2867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2869 $as_echo_n "checking for $2... " >&6; }
2870 if eval \${$3+:} false; then :
2871 $as_echo_n "(cached) " >&6
2872 else
2873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2874 /* end confdefs.h. */
2875 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2877 #define $2 innocuous_$2
2879 /* System header to define __stub macros and hopefully few prototypes,
2880 which can conflict with char $2 (); below.
2881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2882 <limits.h> exists even on freestanding compilers. */
2884 #ifdef __STDC__
2885 # include <limits.h>
2886 #else
2887 # include <assert.h>
2888 #endif
2890 #undef $2
2892 /* Override any GCC internal prototype to avoid an error.
2893 Use char because int might match the return type of a GCC
2894 builtin and then its argument prototype would still apply. */
2895 #ifdef __cplusplus
2896 extern "C"
2897 #endif
2898 char $2 ();
2899 /* The GNU C library defines this for functions which it implements
2900 to always fail with ENOSYS. Some functions are actually named
2901 something starting with __ and the normal name is an alias. */
2902 #if defined __stub_$2 || defined __stub___$2
2903 choke me
2904 #endif
2907 main ()
2909 return $2 ();
2911 return 0;
2913 _ACEOF
2914 if ac_fn_c_try_link "$LINENO"; then :
2915 eval "$3=yes"
2916 else
2917 eval "$3=no"
2919 rm -f core conftest.err conftest.$ac_objext \
2920 conftest$ac_exeext conftest.$ac_ext
2922 eval ac_res=\$$3
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2924 $as_echo "$ac_res" >&6; }
2925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2927 } # ac_fn_c_check_func
2929 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2930 # ----------------------------------------------------
2931 # Tries to find if the field MEMBER exists in type AGGR, after including
2932 # INCLUDES, setting cache variable VAR accordingly.
2933 ac_fn_c_check_member ()
2935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2937 $as_echo_n "checking for $2.$3... " >&6; }
2938 if eval \${$4+:} false; then :
2939 $as_echo_n "(cached) " >&6
2940 else
2941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2942 /* end confdefs.h. */
2945 main ()
2947 static $2 ac_aggr;
2948 if (ac_aggr.$3)
2949 return 0;
2951 return 0;
2953 _ACEOF
2954 if ac_fn_c_try_compile "$LINENO"; then :
2955 eval "$4=yes"
2956 else
2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2961 main ()
2963 static $2 ac_aggr;
2964 if (sizeof ac_aggr.$3)
2965 return 0;
2967 return 0;
2969 _ACEOF
2970 if ac_fn_c_try_compile "$LINENO"; then :
2971 eval "$4=yes"
2972 else
2973 eval "$4=no"
2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2979 eval ac_res=\$$4
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2981 $as_echo "$ac_res" >&6; }
2982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2984 } # ac_fn_c_check_member
2986 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2987 # -------------------------------------------
2988 # Tests whether TYPE exists after having included INCLUDES, setting cache
2989 # variable VAR accordingly.
2990 ac_fn_c_check_type ()
2992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2994 $as_echo_n "checking for $2... " >&6; }
2995 if eval \${$3+:} false; then :
2996 $as_echo_n "(cached) " >&6
2997 else
2998 eval "$3=no"
2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3000 /* end confdefs.h. */
3003 main ()
3005 if (sizeof ($2))
3006 return 0;
3008 return 0;
3010 _ACEOF
3011 if ac_fn_c_try_compile "$LINENO"; then :
3012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3013 /* end confdefs.h. */
3016 main ()
3018 if (sizeof (($2)))
3019 return 0;
3021 return 0;
3023 _ACEOF
3024 if ac_fn_c_try_compile "$LINENO"; then :
3026 else
3027 eval "$3=yes"
3029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3033 eval ac_res=\$$3
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3035 $as_echo "$ac_res" >&6; }
3036 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3038 } # ac_fn_c_check_type
3039 cat >config.log <<_ACEOF
3040 This file contains any messages produced by compilers while
3041 running configure, to aid debugging if configure makes a mistake.
3043 It was created by Wine $as_me 2.10, which was
3044 generated by GNU Autoconf 2.69. Invocation command line was
3046 $ $0 $@
3048 _ACEOF
3049 exec 5>>config.log
3051 cat <<_ASUNAME
3052 ## --------- ##
3053 ## Platform. ##
3054 ## --------- ##
3056 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3057 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3058 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3059 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3060 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3062 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3063 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3065 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3066 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3067 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3068 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3069 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3070 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3071 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3073 _ASUNAME
3075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3076 for as_dir in $PATH
3078 IFS=$as_save_IFS
3079 test -z "$as_dir" && as_dir=.
3080 $as_echo "PATH: $as_dir"
3081 done
3082 IFS=$as_save_IFS
3084 } >&5
3086 cat >&5 <<_ACEOF
3089 ## ----------- ##
3090 ## Core tests. ##
3091 ## ----------- ##
3093 _ACEOF
3096 # Keep a trace of the command line.
3097 # Strip out --no-create and --no-recursion so they do not pile up.
3098 # Strip out --silent because we don't want to record it for future runs.
3099 # Also quote any args containing shell meta-characters.
3100 # Make two passes to allow for proper duplicate-argument suppression.
3101 ac_configure_args=
3102 ac_configure_args0=
3103 ac_configure_args1=
3104 ac_must_keep_next=false
3105 for ac_pass in 1 2
3107 for ac_arg
3109 case $ac_arg in
3110 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3111 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3112 | -silent | --silent | --silen | --sile | --sil)
3113 continue ;;
3114 *\'*)
3115 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3116 esac
3117 case $ac_pass in
3118 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3120 as_fn_append ac_configure_args1 " '$ac_arg'"
3121 if test $ac_must_keep_next = true; then
3122 ac_must_keep_next=false # Got value, back to normal.
3123 else
3124 case $ac_arg in
3125 *=* | --config-cache | -C | -disable-* | --disable-* \
3126 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3127 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3128 | -with-* | --with-* | -without-* | --without-* | --x)
3129 case "$ac_configure_args0 " in
3130 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3131 esac
3133 -* ) ac_must_keep_next=true ;;
3134 esac
3136 as_fn_append ac_configure_args " '$ac_arg'"
3138 esac
3139 done
3140 done
3141 { ac_configure_args0=; unset ac_configure_args0;}
3142 { ac_configure_args1=; unset ac_configure_args1;}
3144 # When interrupted or exit'd, cleanup temporary files, and complete
3145 # config.log. We remove comments because anyway the quotes in there
3146 # would cause problems or look ugly.
3147 # WARNING: Use '\'' to represent an apostrophe within the trap.
3148 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3149 trap 'exit_status=$?
3150 # Save into config.log some information that might help in debugging.
3152 echo
3154 $as_echo "## ---------------- ##
3155 ## Cache variables. ##
3156 ## ---------------- ##"
3157 echo
3158 # The following way of writing the cache mishandles newlines in values,
3160 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3161 eval ac_val=\$$ac_var
3162 case $ac_val in #(
3163 *${as_nl}*)
3164 case $ac_var in #(
3165 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3166 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3167 esac
3168 case $ac_var in #(
3169 _ | IFS | as_nl) ;; #(
3170 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3171 *) { eval $ac_var=; unset $ac_var;} ;;
3172 esac ;;
3173 esac
3174 done
3175 (set) 2>&1 |
3176 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3177 *${as_nl}ac_space=\ *)
3178 sed -n \
3179 "s/'\''/'\''\\\\'\'''\''/g;
3180 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3181 ;; #(
3183 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3185 esac |
3186 sort
3188 echo
3190 $as_echo "## ----------------- ##
3191 ## Output variables. ##
3192 ## ----------------- ##"
3193 echo
3194 for ac_var in $ac_subst_vars
3196 eval ac_val=\$$ac_var
3197 case $ac_val in
3198 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3199 esac
3200 $as_echo "$ac_var='\''$ac_val'\''"
3201 done | sort
3202 echo
3204 if test -n "$ac_subst_files"; then
3205 $as_echo "## ------------------- ##
3206 ## File substitutions. ##
3207 ## ------------------- ##"
3208 echo
3209 for ac_var in $ac_subst_files
3211 eval ac_val=\$$ac_var
3212 case $ac_val in
3213 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3214 esac
3215 $as_echo "$ac_var='\''$ac_val'\''"
3216 done | sort
3217 echo
3220 if test -s confdefs.h; then
3221 $as_echo "## ----------- ##
3222 ## confdefs.h. ##
3223 ## ----------- ##"
3224 echo
3225 cat confdefs.h
3226 echo
3228 test "$ac_signal" != 0 &&
3229 $as_echo "$as_me: caught signal $ac_signal"
3230 $as_echo "$as_me: exit $exit_status"
3231 } >&5
3232 rm -f core *.core core.conftest.* &&
3233 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3234 exit $exit_status
3236 for ac_signal in 1 2 13 15; do
3237 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3238 done
3239 ac_signal=0
3241 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3242 rm -f -r conftest* confdefs.h
3244 $as_echo "/* confdefs.h */" > confdefs.h
3246 # Predefined preprocessor variables.
3248 cat >>confdefs.h <<_ACEOF
3249 #define PACKAGE_NAME "$PACKAGE_NAME"
3250 _ACEOF
3252 cat >>confdefs.h <<_ACEOF
3253 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3254 _ACEOF
3256 cat >>confdefs.h <<_ACEOF
3257 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3258 _ACEOF
3260 cat >>confdefs.h <<_ACEOF
3261 #define PACKAGE_STRING "$PACKAGE_STRING"
3262 _ACEOF
3264 cat >>confdefs.h <<_ACEOF
3265 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3266 _ACEOF
3268 cat >>confdefs.h <<_ACEOF
3269 #define PACKAGE_URL "$PACKAGE_URL"
3270 _ACEOF
3273 # Let the site file select an alternate cache file if it wants to.
3274 # Prefer an explicitly selected file to automatically selected ones.
3275 ac_site_file1=NONE
3276 ac_site_file2=NONE
3277 if test -n "$CONFIG_SITE"; then
3278 # We do not want a PATH search for config.site.
3279 case $CONFIG_SITE in #((
3280 -*) ac_site_file1=./$CONFIG_SITE;;
3281 */*) ac_site_file1=$CONFIG_SITE;;
3282 *) ac_site_file1=./$CONFIG_SITE;;
3283 esac
3284 elif test "x$prefix" != xNONE; then
3285 ac_site_file1=$prefix/share/config.site
3286 ac_site_file2=$prefix/etc/config.site
3287 else
3288 ac_site_file1=$ac_default_prefix/share/config.site
3289 ac_site_file2=$ac_default_prefix/etc/config.site
3291 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3293 test "x$ac_site_file" = xNONE && continue
3294 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3296 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3297 sed 's/^/| /' "$ac_site_file" >&5
3298 . "$ac_site_file" \
3299 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3301 as_fn_error $? "failed to load site script $ac_site_file
3302 See \`config.log' for more details" "$LINENO" 5; }
3304 done
3306 if test -r "$cache_file"; then
3307 # Some versions of bash will fail to source /dev/null (special files
3308 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3309 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3311 $as_echo "$as_me: loading cache $cache_file" >&6;}
3312 case $cache_file in
3313 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3314 *) . "./$cache_file";;
3315 esac
3317 else
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3319 $as_echo "$as_me: creating cache $cache_file" >&6;}
3320 >$cache_file
3323 # Check that the precious variables saved in the cache have kept the same
3324 # value.
3325 ac_cache_corrupted=false
3326 for ac_var in $ac_precious_vars; do
3327 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3328 eval ac_new_set=\$ac_env_${ac_var}_set
3329 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3330 eval ac_new_val=\$ac_env_${ac_var}_value
3331 case $ac_old_set,$ac_new_set in
3332 set,)
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3334 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3335 ac_cache_corrupted=: ;;
3336 ,set)
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3338 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3339 ac_cache_corrupted=: ;;
3340 ,);;
3342 if test "x$ac_old_val" != "x$ac_new_val"; then
3343 # differences in whitespace do not lead to failure.
3344 ac_old_val_w=`echo x $ac_old_val`
3345 ac_new_val_w=`echo x $ac_new_val`
3346 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3348 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3349 ac_cache_corrupted=:
3350 else
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3352 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3353 eval $ac_var=\$ac_old_val
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3356 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3358 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3359 fi;;
3360 esac
3361 # Pass precious variables to config.status.
3362 if test "$ac_new_set" = set; then
3363 case $ac_new_val in
3364 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3365 *) ac_arg=$ac_var=$ac_new_val ;;
3366 esac
3367 case " $ac_configure_args " in
3368 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3369 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3370 esac
3372 done
3373 if $ac_cache_corrupted; then
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3377 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3378 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3380 ## -------------------- ##
3381 ## Main body of script. ##
3382 ## -------------------- ##
3384 ac_ext=c
3385 ac_cpp='$CPP $CPPFLAGS'
3386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3392 ac_config_headers="$ac_config_headers include/config.h"
3394 ac_aux_dir=
3395 for ac_dir in tools "$srcdir"/tools; do
3396 if test -f "$ac_dir/install-sh"; then
3397 ac_aux_dir=$ac_dir
3398 ac_install_sh="$ac_aux_dir/install-sh -c"
3399 break
3400 elif test -f "$ac_dir/install.sh"; then
3401 ac_aux_dir=$ac_dir
3402 ac_install_sh="$ac_aux_dir/install.sh -c"
3403 break
3404 elif test -f "$ac_dir/shtool"; then
3405 ac_aux_dir=$ac_dir
3406 ac_install_sh="$ac_aux_dir/shtool install -c"
3407 break
3409 done
3410 if test -z "$ac_aux_dir"; then
3411 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3414 # These three variables are undocumented and unsupported,
3415 # and are intended to be withdrawn in a future Autoconf release.
3416 # They can cause serious problems if a builder's source tree is in a directory
3417 # whose full name contains unusual characters.
3418 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3419 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3420 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3424 libwine_version="1.0"
3428 # Check whether --enable-win16 was given.
3429 if test "${enable_win16+set}" = set; then :
3430 enableval=$enable_win16;
3433 # Check whether --enable-win64 was given.
3434 if test "${enable_win64+set}" = set; then :
3435 enableval=$enable_win64;
3438 # Check whether --enable-tests was given.
3439 if test "${enable_tests+set}" = set; then :
3440 enableval=$enable_tests;
3443 # Check whether --enable-maintainer-mode was given.
3444 if test "${enable_maintainer_mode+set}" = set; then :
3445 enableval=$enable_maintainer_mode;
3450 # Check whether --with-alsa was given.
3451 if test "${with_alsa+set}" = set; then :
3452 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3456 # Check whether --with-capi was given.
3457 if test "${with_capi+set}" = set; then :
3458 withval=$with_capi;
3462 # Check whether --with-cms was given.
3463 if test "${with_cms+set}" = set; then :
3464 withval=$with_cms;
3468 # Check whether --with-coreaudio was given.
3469 if test "${with_coreaudio+set}" = set; then :
3470 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3474 # Check whether --with-cups was given.
3475 if test "${with_cups+set}" = set; then :
3476 withval=$with_cups;
3480 # Check whether --with-curses was given.
3481 if test "${with_curses+set}" = set; then :
3482 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3486 # Check whether --with-dbus was given.
3487 if test "${with_dbus+set}" = set; then :
3488 withval=$with_dbus;
3492 # Check whether --with-fontconfig was given.
3493 if test "${with_fontconfig+set}" = set; then :
3494 withval=$with_fontconfig;
3498 # Check whether --with-freetype was given.
3499 if test "${with_freetype+set}" = set; then :
3500 withval=$with_freetype;
3504 # Check whether --with-gettext was given.
3505 if test "${with_gettext+set}" = set; then :
3506 withval=$with_gettext;
3510 # Check whether --with-gettextpo was given.
3511 if test "${with_gettextpo+set}" = set; then :
3512 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3516 # Check whether --with-gphoto was given.
3517 if test "${with_gphoto+set}" = set; then :
3518 withval=$with_gphoto;
3522 # Check whether --with-glu was given.
3523 if test "${with_glu+set}" = set; then :
3524 withval=$with_glu;
3528 # Check whether --with-gnutls was given.
3529 if test "${with_gnutls+set}" = set; then :
3530 withval=$with_gnutls;
3534 # Check whether --with-gsm was given.
3535 if test "${with_gsm+set}" = set; then :
3536 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3540 # Check whether --with-gstreamer was given.
3541 if test "${with_gstreamer+set}" = set; then :
3542 withval=$with_gstreamer;
3546 # Check whether --with-hal was given.
3547 if test "${with_hal+set}" = set; then :
3548 withval=$with_hal;
3552 # Check whether --with-jpeg was given.
3553 if test "${with_jpeg+set}" = set; then :
3554 withval=$with_jpeg;
3558 # Check whether --with-ldap was given.
3559 if test "${with_ldap+set}" = set; then :
3560 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3564 # Check whether --with-mpg123 was given.
3565 if test "${with_mpg123+set}" = set; then :
3566 withval=$with_mpg123;
3570 # Check whether --with-netapi was given.
3571 if test "${with_netapi+set}" = set; then :
3572 withval=$with_netapi;
3576 # Check whether --with-openal was given.
3577 if test "${with_openal+set}" = set; then :
3578 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3582 # Check whether --with-opencl was given.
3583 if test "${with_opencl+set}" = set; then :
3584 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3588 # Check whether --with-opengl was given.
3589 if test "${with_opengl+set}" = set; then :
3590 withval=$with_opengl;
3594 # Check whether --with-osmesa was given.
3595 if test "${with_osmesa+set}" = set; then :
3596 withval=$with_osmesa;
3600 # Check whether --with-oss was given.
3601 if test "${with_oss+set}" = set; then :
3602 withval=$with_oss;
3606 # Check whether --with-pcap was given.
3607 if test "${with_pcap+set}" = set; then :
3608 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3612 # Check whether --with-png was given.
3613 if test "${with_png+set}" = set; then :
3614 withval=$with_png;
3618 # Check whether --with-pthread was given.
3619 if test "${with_pthread+set}" = set; then :
3620 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3624 # Check whether --with-pulse was given.
3625 if test "${with_pulse+set}" = set; then :
3626 withval=$with_pulse;
3630 # Check whether --with-sane was given.
3631 if test "${with_sane+set}" = set; then :
3632 withval=$with_sane;
3636 # Check whether --with-tiff was given.
3637 if test "${with_tiff+set}" = set; then :
3638 withval=$with_tiff;
3642 # Check whether --with-udev was given.
3643 if test "${with_udev+set}" = set; then :
3644 withval=$with_udev;
3648 # Check whether --with-v4l was given.
3649 if test "${with_v4l+set}" = set; then :
3650 withval=$with_v4l;
3654 # Check whether --with-xcomposite was given.
3655 if test "${with_xcomposite+set}" = set; then :
3656 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3660 # Check whether --with-xcursor was given.
3661 if test "${with_xcursor+set}" = set; then :
3662 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3666 # Check whether --with-xfixes was given.
3667 if test "${with_xfixes+set}" = set; then :
3668 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3672 # Check whether --with-xinerama was given.
3673 if test "${with_xinerama+set}" = set; then :
3674 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3678 # Check whether --with-xinput was given.
3679 if test "${with_xinput+set}" = set; then :
3680 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3684 # Check whether --with-xinput2 was given.
3685 if test "${with_xinput2+set}" = set; then :
3686 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3690 # Check whether --with-xml was given.
3691 if test "${with_xml+set}" = set; then :
3692 withval=$with_xml;
3696 # Check whether --with-xrandr was given.
3697 if test "${with_xrandr+set}" = set; then :
3698 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3702 # Check whether --with-xrender was given.
3703 if test "${with_xrender+set}" = set; then :
3704 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3708 # Check whether --with-xshape was given.
3709 if test "${with_xshape+set}" = set; then :
3710 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3714 # Check whether --with-xshm was given.
3715 if test "${with_xshm+set}" = set; then :
3716 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3720 # Check whether --with-xslt was given.
3721 if test "${with_xslt+set}" = set; then :
3722 withval=$with_xslt;
3726 # Check whether --with-xxf86vm was given.
3727 if test "${with_xxf86vm+set}" = set; then :
3728 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
3732 # Check whether --with-zlib was given.
3733 if test "${with_zlib+set}" = set; then :
3734 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3739 # Check whether --with-wine-tools was given.
3740 if test "${with_wine_tools+set}" = set; then :
3741 withval=$with_wine_tools;
3745 # Check whether --with-wine64 was given.
3746 if test "${with_wine64+set}" = set; then :
3747 withval=$with_wine64;
3751 # Make sure we can run config.sub.
3752 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3753 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3756 $as_echo_n "checking build system type... " >&6; }
3757 if ${ac_cv_build+:} false; then :
3758 $as_echo_n "(cached) " >&6
3759 else
3760 ac_build_alias=$build_alias
3761 test "x$ac_build_alias" = x &&
3762 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3763 test "x$ac_build_alias" = x &&
3764 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3765 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3766 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3770 $as_echo "$ac_cv_build" >&6; }
3771 case $ac_cv_build in
3772 *-*-*) ;;
3773 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3774 esac
3775 build=$ac_cv_build
3776 ac_save_IFS=$IFS; IFS='-'
3777 set x $ac_cv_build
3778 shift
3779 build_cpu=$1
3780 build_vendor=$2
3781 shift; shift
3782 # Remember, the first character of IFS is used to create $*,
3783 # except with old shells:
3784 build_os=$*
3785 IFS=$ac_save_IFS
3786 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3790 $as_echo_n "checking host system type... " >&6; }
3791 if ${ac_cv_host+:} false; then :
3792 $as_echo_n "(cached) " >&6
3793 else
3794 if test "x$host_alias" = x; then
3795 ac_cv_host=$ac_cv_build
3796 else
3797 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3798 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3803 $as_echo "$ac_cv_host" >&6; }
3804 case $ac_cv_host in
3805 *-*-*) ;;
3806 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3807 esac
3808 host=$ac_cv_host
3809 ac_save_IFS=$IFS; IFS='-'
3810 set x $ac_cv_host
3811 shift
3812 host_cpu=$1
3813 host_vendor=$2
3814 shift; shift
3815 # Remember, the first character of IFS is used to create $*,
3816 # except with old shells:
3817 host_os=$*
3818 IFS=$ac_save_IFS
3819 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3823 case "$srcdir" in
3824 .) ;;
3825 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3826 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3827 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3828 fi ;;
3829 esac
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3833 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3834 set x ${MAKE-make}
3835 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3836 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3837 $as_echo_n "(cached) " >&6
3838 else
3839 cat >conftest.make <<\_ACEOF
3840 SHELL = /bin/sh
3841 all:
3842 @echo '@@@%%%=$(MAKE)=@@@%%%'
3843 _ACEOF
3844 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3845 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3846 *@@@%%%=?*=@@@%%%*)
3847 eval ac_cv_prog_make_${ac_make}_set=yes;;
3849 eval ac_cv_prog_make_${ac_make}_set=no;;
3850 esac
3851 rm -f conftest.make
3853 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3855 $as_echo "yes" >&6; }
3856 SET_MAKE=
3857 else
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3859 $as_echo "no" >&6; }
3860 SET_MAKE="MAKE=${MAKE-make}"
3863 ac_ext=c
3864 ac_cpp='$CPP $CPPFLAGS'
3865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3868 if test -n "$ac_tool_prefix"; then
3869 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3870 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3872 $as_echo_n "checking for $ac_word... " >&6; }
3873 if ${ac_cv_prog_CC+:} false; then :
3874 $as_echo_n "(cached) " >&6
3875 else
3876 if test -n "$CC"; then
3877 ac_cv_prog_CC="$CC" # Let the user override the test.
3878 else
3879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3880 for as_dir in $PATH
3882 IFS=$as_save_IFS
3883 test -z "$as_dir" && as_dir=.
3884 for ac_exec_ext in '' $ac_executable_extensions; do
3885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3886 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3888 break 2
3890 done
3891 done
3892 IFS=$as_save_IFS
3896 CC=$ac_cv_prog_CC
3897 if test -n "$CC"; then
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3899 $as_echo "$CC" >&6; }
3900 else
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3902 $as_echo "no" >&6; }
3907 if test -z "$ac_cv_prog_CC"; then
3908 ac_ct_CC=$CC
3909 # Extract the first word of "gcc", so it can be a program name with args.
3910 set dummy gcc; ac_word=$2
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3912 $as_echo_n "checking for $ac_word... " >&6; }
3913 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3914 $as_echo_n "(cached) " >&6
3915 else
3916 if test -n "$ac_ct_CC"; then
3917 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3918 else
3919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3920 for as_dir in $PATH
3922 IFS=$as_save_IFS
3923 test -z "$as_dir" && as_dir=.
3924 for ac_exec_ext in '' $ac_executable_extensions; do
3925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3926 ac_cv_prog_ac_ct_CC="gcc"
3927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3928 break 2
3930 done
3931 done
3932 IFS=$as_save_IFS
3936 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3937 if test -n "$ac_ct_CC"; then
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3939 $as_echo "$ac_ct_CC" >&6; }
3940 else
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3942 $as_echo "no" >&6; }
3945 if test "x$ac_ct_CC" = x; then
3946 CC=""
3947 else
3948 case $cross_compiling:$ac_tool_warned in
3949 yes:)
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3951 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3952 ac_tool_warned=yes ;;
3953 esac
3954 CC=$ac_ct_CC
3956 else
3957 CC="$ac_cv_prog_CC"
3960 if test -z "$CC"; then
3961 if test -n "$ac_tool_prefix"; then
3962 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3963 set dummy ${ac_tool_prefix}cc; ac_word=$2
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965 $as_echo_n "checking for $ac_word... " >&6; }
3966 if ${ac_cv_prog_CC+:} false; then :
3967 $as_echo_n "(cached) " >&6
3968 else
3969 if test -n "$CC"; then
3970 ac_cv_prog_CC="$CC" # Let the user override the test.
3971 else
3972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973 for as_dir in $PATH
3975 IFS=$as_save_IFS
3976 test -z "$as_dir" && as_dir=.
3977 for ac_exec_ext in '' $ac_executable_extensions; do
3978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3979 ac_cv_prog_CC="${ac_tool_prefix}cc"
3980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3981 break 2
3983 done
3984 done
3985 IFS=$as_save_IFS
3989 CC=$ac_cv_prog_CC
3990 if test -n "$CC"; then
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3992 $as_echo "$CC" >&6; }
3993 else
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3995 $as_echo "no" >&6; }
4001 if test -z "$CC"; then
4002 # Extract the first word of "cc", so it can be a program name with args.
4003 set dummy cc; ac_word=$2
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005 $as_echo_n "checking for $ac_word... " >&6; }
4006 if ${ac_cv_prog_CC+:} false; then :
4007 $as_echo_n "(cached) " >&6
4008 else
4009 if test -n "$CC"; then
4010 ac_cv_prog_CC="$CC" # Let the user override the test.
4011 else
4012 ac_prog_rejected=no
4013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4014 for as_dir in $PATH
4016 IFS=$as_save_IFS
4017 test -z "$as_dir" && as_dir=.
4018 for ac_exec_ext in '' $ac_executable_extensions; do
4019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4020 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4021 ac_prog_rejected=yes
4022 continue
4024 ac_cv_prog_CC="cc"
4025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4026 break 2
4028 done
4029 done
4030 IFS=$as_save_IFS
4032 if test $ac_prog_rejected = yes; then
4033 # We found a bogon in the path, so make sure we never use it.
4034 set dummy $ac_cv_prog_CC
4035 shift
4036 if test $# != 0; then
4037 # We chose a different compiler from the bogus one.
4038 # However, it has the same basename, so the bogon will be chosen
4039 # first if we set CC to just the basename; use the full file name.
4040 shift
4041 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4046 CC=$ac_cv_prog_CC
4047 if test -n "$CC"; then
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4049 $as_echo "$CC" >&6; }
4050 else
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4052 $as_echo "no" >&6; }
4057 if test -z "$CC"; then
4058 if test -n "$ac_tool_prefix"; then
4059 for ac_prog in cl.exe
4061 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4062 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4064 $as_echo_n "checking for $ac_word... " >&6; }
4065 if ${ac_cv_prog_CC+:} false; then :
4066 $as_echo_n "(cached) " >&6
4067 else
4068 if test -n "$CC"; then
4069 ac_cv_prog_CC="$CC" # Let the user override the test.
4070 else
4071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072 for as_dir in $PATH
4074 IFS=$as_save_IFS
4075 test -z "$as_dir" && as_dir=.
4076 for ac_exec_ext in '' $ac_executable_extensions; do
4077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4078 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4080 break 2
4082 done
4083 done
4084 IFS=$as_save_IFS
4088 CC=$ac_cv_prog_CC
4089 if test -n "$CC"; then
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4091 $as_echo "$CC" >&6; }
4092 else
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4094 $as_echo "no" >&6; }
4098 test -n "$CC" && break
4099 done
4101 if test -z "$CC"; then
4102 ac_ct_CC=$CC
4103 for ac_prog in cl.exe
4105 # Extract the first word of "$ac_prog", so it can be a program name with args.
4106 set dummy $ac_prog; ac_word=$2
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4108 $as_echo_n "checking for $ac_word... " >&6; }
4109 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4110 $as_echo_n "(cached) " >&6
4111 else
4112 if test -n "$ac_ct_CC"; then
4113 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4114 else
4115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4116 for as_dir in $PATH
4118 IFS=$as_save_IFS
4119 test -z "$as_dir" && as_dir=.
4120 for ac_exec_ext in '' $ac_executable_extensions; do
4121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4122 ac_cv_prog_ac_ct_CC="$ac_prog"
4123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4124 break 2
4126 done
4127 done
4128 IFS=$as_save_IFS
4132 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4133 if test -n "$ac_ct_CC"; then
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4135 $as_echo "$ac_ct_CC" >&6; }
4136 else
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4138 $as_echo "no" >&6; }
4142 test -n "$ac_ct_CC" && break
4143 done
4145 if test "x$ac_ct_CC" = x; then
4146 CC=""
4147 else
4148 case $cross_compiling:$ac_tool_warned in
4149 yes:)
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4152 ac_tool_warned=yes ;;
4153 esac
4154 CC=$ac_ct_CC
4161 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4163 as_fn_error $? "no acceptable C compiler found in \$PATH
4164 See \`config.log' for more details" "$LINENO" 5; }
4166 # Provide some information about the compiler.
4167 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4168 set X $ac_compile
4169 ac_compiler=$2
4170 for ac_option in --version -v -V -qversion; do
4171 { { ac_try="$ac_compiler $ac_option >&5"
4172 case "(($ac_try" in
4173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4174 *) ac_try_echo=$ac_try;;
4175 esac
4176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4177 $as_echo "$ac_try_echo"; } >&5
4178 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4179 ac_status=$?
4180 if test -s conftest.err; then
4181 sed '10a\
4182 ... rest of stderr output deleted ...
4183 10q' conftest.err >conftest.er1
4184 cat conftest.er1 >&5
4186 rm -f conftest.er1 conftest.err
4187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4188 test $ac_status = 0; }
4189 done
4191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h. */
4195 main ()
4199 return 0;
4201 _ACEOF
4202 ac_clean_files_save=$ac_clean_files
4203 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4204 # Try to create an executable without -o first, disregard a.out.
4205 # It will help us diagnose broken compilers, and finding out an intuition
4206 # of exeext.
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4208 $as_echo_n "checking whether the C compiler works... " >&6; }
4209 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4211 # The possible output files:
4212 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4214 ac_rmfiles=
4215 for ac_file in $ac_files
4217 case $ac_file in
4218 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4219 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4220 esac
4221 done
4222 rm -f $ac_rmfiles
4224 if { { ac_try="$ac_link_default"
4225 case "(($ac_try" in
4226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4227 *) ac_try_echo=$ac_try;;
4228 esac
4229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4230 $as_echo "$ac_try_echo"; } >&5
4231 (eval "$ac_link_default") 2>&5
4232 ac_status=$?
4233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4234 test $ac_status = 0; }; then :
4235 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4236 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4237 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4238 # so that the user can short-circuit this test for compilers unknown to
4239 # Autoconf.
4240 for ac_file in $ac_files ''
4242 test -f "$ac_file" || continue
4243 case $ac_file in
4244 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4246 [ab].out )
4247 # We found the default executable, but exeext='' is most
4248 # certainly right.
4249 break;;
4250 *.* )
4251 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4252 then :; else
4253 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4255 # We set ac_cv_exeext here because the later test for it is not
4256 # safe: cross compilers may not add the suffix if given an `-o'
4257 # argument, so we may need to know it at that point already.
4258 # Even if this section looks crufty: it has the advantage of
4259 # actually working.
4260 break;;
4262 break;;
4263 esac
4264 done
4265 test "$ac_cv_exeext" = no && ac_cv_exeext=
4267 else
4268 ac_file=''
4270 if test -z "$ac_file"; then :
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4272 $as_echo "no" >&6; }
4273 $as_echo "$as_me: failed program was:" >&5
4274 sed 's/^/| /' conftest.$ac_ext >&5
4276 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4278 as_fn_error 77 "C compiler cannot create executables
4279 See \`config.log' for more details" "$LINENO" 5; }
4280 else
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4282 $as_echo "yes" >&6; }
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4285 $as_echo_n "checking for C compiler default output file name... " >&6; }
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4287 $as_echo "$ac_file" >&6; }
4288 ac_exeext=$ac_cv_exeext
4290 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4291 ac_clean_files=$ac_clean_files_save
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4293 $as_echo_n "checking for suffix of executables... " >&6; }
4294 if { { ac_try="$ac_link"
4295 case "(($ac_try" in
4296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4297 *) ac_try_echo=$ac_try;;
4298 esac
4299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4300 $as_echo "$ac_try_echo"; } >&5
4301 (eval "$ac_link") 2>&5
4302 ac_status=$?
4303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4304 test $ac_status = 0; }; then :
4305 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4306 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4307 # work properly (i.e., refer to `conftest.exe'), while it won't with
4308 # `rm'.
4309 for ac_file in conftest.exe conftest conftest.*; do
4310 test -f "$ac_file" || continue
4311 case $ac_file in
4312 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4313 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4314 break;;
4315 * ) break;;
4316 esac
4317 done
4318 else
4319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4321 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4322 See \`config.log' for more details" "$LINENO" 5; }
4324 rm -f conftest conftest$ac_cv_exeext
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4326 $as_echo "$ac_cv_exeext" >&6; }
4328 rm -f conftest.$ac_ext
4329 EXEEXT=$ac_cv_exeext
4330 ac_exeext=$EXEEXT
4331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4332 /* end confdefs.h. */
4333 #include <stdio.h>
4335 main ()
4337 FILE *f = fopen ("conftest.out", "w");
4338 return ferror (f) || fclose (f) != 0;
4341 return 0;
4343 _ACEOF
4344 ac_clean_files="$ac_clean_files conftest.out"
4345 # Check that the compiler produces executables we can run. If not, either
4346 # the compiler is broken, or we cross compile.
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4348 $as_echo_n "checking whether we are cross compiling... " >&6; }
4349 if test "$cross_compiling" != yes; then
4350 { { ac_try="$ac_link"
4351 case "(($ac_try" in
4352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4353 *) ac_try_echo=$ac_try;;
4354 esac
4355 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4356 $as_echo "$ac_try_echo"; } >&5
4357 (eval "$ac_link") 2>&5
4358 ac_status=$?
4359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4360 test $ac_status = 0; }
4361 if { ac_try='./conftest$ac_cv_exeext'
4362 { { case "(($ac_try" in
4363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4364 *) ac_try_echo=$ac_try;;
4365 esac
4366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4367 $as_echo "$ac_try_echo"; } >&5
4368 (eval "$ac_try") 2>&5
4369 ac_status=$?
4370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4371 test $ac_status = 0; }; }; then
4372 cross_compiling=no
4373 else
4374 if test "$cross_compiling" = maybe; then
4375 cross_compiling=yes
4376 else
4377 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4379 as_fn_error $? "cannot run C compiled programs.
4380 If you meant to cross compile, use \`--host'.
4381 See \`config.log' for more details" "$LINENO" 5; }
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4386 $as_echo "$cross_compiling" >&6; }
4388 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4389 ac_clean_files=$ac_clean_files_save
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4391 $as_echo_n "checking for suffix of object files... " >&6; }
4392 if ${ac_cv_objext+:} false; then :
4393 $as_echo_n "(cached) " >&6
4394 else
4395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4396 /* end confdefs.h. */
4399 main ()
4403 return 0;
4405 _ACEOF
4406 rm -f conftest.o conftest.obj
4407 if { { ac_try="$ac_compile"
4408 case "(($ac_try" in
4409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4410 *) ac_try_echo=$ac_try;;
4411 esac
4412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4413 $as_echo "$ac_try_echo"; } >&5
4414 (eval "$ac_compile") 2>&5
4415 ac_status=$?
4416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4417 test $ac_status = 0; }; then :
4418 for ac_file in conftest.o conftest.obj conftest.*; do
4419 test -f "$ac_file" || continue;
4420 case $ac_file in
4421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4422 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4423 break;;
4424 esac
4425 done
4426 else
4427 $as_echo "$as_me: failed program was:" >&5
4428 sed 's/^/| /' conftest.$ac_ext >&5
4430 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4432 as_fn_error $? "cannot compute suffix of object files: cannot compile
4433 See \`config.log' for more details" "$LINENO" 5; }
4435 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4438 $as_echo "$ac_cv_objext" >&6; }
4439 OBJEXT=$ac_cv_objext
4440 ac_objext=$OBJEXT
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4442 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4443 if ${ac_cv_c_compiler_gnu+:} false; then :
4444 $as_echo_n "(cached) " >&6
4445 else
4446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4447 /* end confdefs.h. */
4450 main ()
4452 #ifndef __GNUC__
4453 choke me
4454 #endif
4457 return 0;
4459 _ACEOF
4460 if ac_fn_c_try_compile "$LINENO"; then :
4461 ac_compiler_gnu=yes
4462 else
4463 ac_compiler_gnu=no
4465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4466 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4470 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4471 if test $ac_compiler_gnu = yes; then
4472 GCC=yes
4473 else
4474 GCC=
4476 ac_test_CFLAGS=${CFLAGS+set}
4477 ac_save_CFLAGS=$CFLAGS
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4479 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4480 if ${ac_cv_prog_cc_g+:} false; then :
4481 $as_echo_n "(cached) " >&6
4482 else
4483 ac_save_c_werror_flag=$ac_c_werror_flag
4484 ac_c_werror_flag=yes
4485 ac_cv_prog_cc_g=no
4486 CFLAGS="-g"
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4491 main ()
4495 return 0;
4497 _ACEOF
4498 if ac_fn_c_try_compile "$LINENO"; then :
4499 ac_cv_prog_cc_g=yes
4500 else
4501 CFLAGS=""
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4506 main ()
4510 return 0;
4512 _ACEOF
4513 if ac_fn_c_try_compile "$LINENO"; then :
4515 else
4516 ac_c_werror_flag=$ac_save_c_werror_flag
4517 CFLAGS="-g"
4518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h. */
4522 main ()
4526 return 0;
4528 _ACEOF
4529 if ac_fn_c_try_compile "$LINENO"; then :
4530 ac_cv_prog_cc_g=yes
4532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4537 ac_c_werror_flag=$ac_save_c_werror_flag
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4540 $as_echo "$ac_cv_prog_cc_g" >&6; }
4541 if test "$ac_test_CFLAGS" = set; then
4542 CFLAGS=$ac_save_CFLAGS
4543 elif test $ac_cv_prog_cc_g = yes; then
4544 if test "$GCC" = yes; then
4545 CFLAGS="-g -O2"
4546 else
4547 CFLAGS="-g"
4549 else
4550 if test "$GCC" = yes; then
4551 CFLAGS="-O2"
4552 else
4553 CFLAGS=
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4557 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4558 if ${ac_cv_prog_cc_c89+:} false; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 ac_cv_prog_cc_c89=no
4562 ac_save_CC=$CC
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4565 #include <stdarg.h>
4566 #include <stdio.h>
4567 struct stat;
4568 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4569 struct buf { int x; };
4570 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4571 static char *e (p, i)
4572 char **p;
4573 int i;
4575 return p[i];
4577 static char *f (char * (*g) (char **, int), char **p, ...)
4579 char *s;
4580 va_list v;
4581 va_start (v,p);
4582 s = g (p, va_arg (v,int));
4583 va_end (v);
4584 return s;
4587 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4588 function prototypes and stuff, but not '\xHH' hex character constants.
4589 These don't provoke an error unfortunately, instead are silently treated
4590 as 'x'. The following induces an error, until -std is added to get
4591 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4592 array size at least. It's necessary to write '\x00'==0 to get something
4593 that's true only with -std. */
4594 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4596 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4597 inside strings and character constants. */
4598 #define FOO(x) 'x'
4599 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4601 int test (int i, double x);
4602 struct s1 {int (*f) (int a);};
4603 struct s2 {int (*f) (double a);};
4604 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4605 int argc;
4606 char **argv;
4608 main ()
4610 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4612 return 0;
4614 _ACEOF
4615 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4616 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4618 CC="$ac_save_CC $ac_arg"
4619 if ac_fn_c_try_compile "$LINENO"; then :
4620 ac_cv_prog_cc_c89=$ac_arg
4622 rm -f core conftest.err conftest.$ac_objext
4623 test "x$ac_cv_prog_cc_c89" != "xno" && break
4624 done
4625 rm -f conftest.$ac_ext
4626 CC=$ac_save_CC
4629 # AC_CACHE_VAL
4630 case "x$ac_cv_prog_cc_c89" in
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4633 $as_echo "none needed" >&6; } ;;
4634 xno)
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4636 $as_echo "unsupported" >&6; } ;;
4638 CC="$CC $ac_cv_prog_cc_c89"
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4640 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4641 esac
4642 if test "x$ac_cv_prog_cc_c89" != xno; then :
4646 ac_ext=c
4647 ac_cpp='$CPP $CPPFLAGS'
4648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4652 ac_ext=cpp
4653 ac_cpp='$CXXCPP $CPPFLAGS'
4654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4657 if test -z "$CXX"; then
4658 if test -n "$CCC"; then
4659 CXX=$CCC
4660 else
4661 if test -n "$ac_tool_prefix"; then
4662 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4664 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4665 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4667 $as_echo_n "checking for $ac_word... " >&6; }
4668 if ${ac_cv_prog_CXX+:} false; then :
4669 $as_echo_n "(cached) " >&6
4670 else
4671 if test -n "$CXX"; then
4672 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4673 else
4674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4675 for as_dir in $PATH
4677 IFS=$as_save_IFS
4678 test -z "$as_dir" && as_dir=.
4679 for ac_exec_ext in '' $ac_executable_extensions; do
4680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4681 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 break 2
4685 done
4686 done
4687 IFS=$as_save_IFS
4691 CXX=$ac_cv_prog_CXX
4692 if test -n "$CXX"; then
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4694 $as_echo "$CXX" >&6; }
4695 else
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4697 $as_echo "no" >&6; }
4701 test -n "$CXX" && break
4702 done
4704 if test -z "$CXX"; then
4705 ac_ct_CXX=$CXX
4706 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4708 # Extract the first word of "$ac_prog", so it can be a program name with args.
4709 set dummy $ac_prog; ac_word=$2
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4711 $as_echo_n "checking for $ac_word... " >&6; }
4712 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4713 $as_echo_n "(cached) " >&6
4714 else
4715 if test -n "$ac_ct_CXX"; then
4716 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4717 else
4718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4719 for as_dir in $PATH
4721 IFS=$as_save_IFS
4722 test -z "$as_dir" && as_dir=.
4723 for ac_exec_ext in '' $ac_executable_extensions; do
4724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4725 ac_cv_prog_ac_ct_CXX="$ac_prog"
4726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4727 break 2
4729 done
4730 done
4731 IFS=$as_save_IFS
4735 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4736 if test -n "$ac_ct_CXX"; then
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4738 $as_echo "$ac_ct_CXX" >&6; }
4739 else
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4741 $as_echo "no" >&6; }
4745 test -n "$ac_ct_CXX" && break
4746 done
4748 if test "x$ac_ct_CXX" = x; then
4749 CXX="g++"
4750 else
4751 case $cross_compiling:$ac_tool_warned in
4752 yes:)
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4754 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4755 ac_tool_warned=yes ;;
4756 esac
4757 CXX=$ac_ct_CXX
4763 # Provide some information about the compiler.
4764 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4765 set X $ac_compile
4766 ac_compiler=$2
4767 for ac_option in --version -v -V -qversion; do
4768 { { ac_try="$ac_compiler $ac_option >&5"
4769 case "(($ac_try" in
4770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4771 *) ac_try_echo=$ac_try;;
4772 esac
4773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4774 $as_echo "$ac_try_echo"; } >&5
4775 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4776 ac_status=$?
4777 if test -s conftest.err; then
4778 sed '10a\
4779 ... rest of stderr output deleted ...
4780 10q' conftest.err >conftest.er1
4781 cat conftest.er1 >&5
4783 rm -f conftest.er1 conftest.err
4784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4785 test $ac_status = 0; }
4786 done
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4789 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4790 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4791 $as_echo_n "(cached) " >&6
4792 else
4793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4794 /* end confdefs.h. */
4797 main ()
4799 #ifndef __GNUC__
4800 choke me
4801 #endif
4804 return 0;
4806 _ACEOF
4807 if ac_fn_cxx_try_compile "$LINENO"; then :
4808 ac_compiler_gnu=yes
4809 else
4810 ac_compiler_gnu=no
4812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4813 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4817 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4818 if test $ac_compiler_gnu = yes; then
4819 GXX=yes
4820 else
4821 GXX=
4823 ac_test_CXXFLAGS=${CXXFLAGS+set}
4824 ac_save_CXXFLAGS=$CXXFLAGS
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4826 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4827 if ${ac_cv_prog_cxx_g+:} false; then :
4828 $as_echo_n "(cached) " >&6
4829 else
4830 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4831 ac_cxx_werror_flag=yes
4832 ac_cv_prog_cxx_g=no
4833 CXXFLAGS="-g"
4834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4835 /* end confdefs.h. */
4838 main ()
4842 return 0;
4844 _ACEOF
4845 if ac_fn_cxx_try_compile "$LINENO"; then :
4846 ac_cv_prog_cxx_g=yes
4847 else
4848 CXXFLAGS=""
4849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4850 /* end confdefs.h. */
4853 main ()
4857 return 0;
4859 _ACEOF
4860 if ac_fn_cxx_try_compile "$LINENO"; then :
4862 else
4863 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4864 CXXFLAGS="-g"
4865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4866 /* end confdefs.h. */
4869 main ()
4873 return 0;
4875 _ACEOF
4876 if ac_fn_cxx_try_compile "$LINENO"; then :
4877 ac_cv_prog_cxx_g=yes
4879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4884 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4887 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4888 if test "$ac_test_CXXFLAGS" = set; then
4889 CXXFLAGS=$ac_save_CXXFLAGS
4890 elif test $ac_cv_prog_cxx_g = yes; then
4891 if test "$GXX" = yes; then
4892 CXXFLAGS="-g -O2"
4893 else
4894 CXXFLAGS="-g"
4896 else
4897 if test "$GXX" = yes; then
4898 CXXFLAGS="-O2"
4899 else
4900 CXXFLAGS=
4903 ac_ext=c
4904 ac_cpp='$CPP $CPPFLAGS'
4905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4909 if test -n "$ac_tool_prefix"; then
4910 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4911 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if ${ac_cv_prog_CPPBIN+:} false; then :
4915 $as_echo_n "(cached) " >&6
4916 else
4917 if test -n "$CPPBIN"; then
4918 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4919 else
4920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4921 for as_dir in $PATH
4923 IFS=$as_save_IFS
4924 test -z "$as_dir" && as_dir=.
4925 for ac_exec_ext in '' $ac_executable_extensions; do
4926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4927 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4929 break 2
4931 done
4932 done
4933 IFS=$as_save_IFS
4937 CPPBIN=$ac_cv_prog_CPPBIN
4938 if test -n "$CPPBIN"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4940 $as_echo "$CPPBIN" >&6; }
4941 else
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4948 if test -z "$ac_cv_prog_CPPBIN"; then
4949 ac_ct_CPPBIN=$CPPBIN
4950 # Extract the first word of "cpp", so it can be a program name with args.
4951 set dummy cpp; ac_word=$2
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4953 $as_echo_n "checking for $ac_word... " >&6; }
4954 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4955 $as_echo_n "(cached) " >&6
4956 else
4957 if test -n "$ac_ct_CPPBIN"; then
4958 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4959 else
4960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4961 for as_dir in $PATH
4963 IFS=$as_save_IFS
4964 test -z "$as_dir" && as_dir=.
4965 for ac_exec_ext in '' $ac_executable_extensions; do
4966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4967 ac_cv_prog_ac_ct_CPPBIN="cpp"
4968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4969 break 2
4971 done
4972 done
4973 IFS=$as_save_IFS
4977 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4978 if test -n "$ac_ct_CPPBIN"; then
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4980 $as_echo "$ac_ct_CPPBIN" >&6; }
4981 else
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 $as_echo "no" >&6; }
4986 if test "x$ac_ct_CPPBIN" = x; then
4987 CPPBIN="cpp"
4988 else
4989 case $cross_compiling:$ac_tool_warned in
4990 yes:)
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4993 ac_tool_warned=yes ;;
4994 esac
4995 CPPBIN=$ac_ct_CPPBIN
4997 else
4998 CPPBIN="$ac_cv_prog_CPPBIN"
5002 cat >>confdefs.h <<_ACEOF
5003 #define EXEEXT "$ac_exeext"
5004 _ACEOF
5006 if test -n "$ac_tool_prefix"; then
5007 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5008 set dummy ${ac_tool_prefix}ld; ac_word=$2
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5010 $as_echo_n "checking for $ac_word... " >&6; }
5011 if ${ac_cv_prog_LD+:} false; then :
5012 $as_echo_n "(cached) " >&6
5013 else
5014 if test -n "$LD"; then
5015 ac_cv_prog_LD="$LD" # Let the user override the test.
5016 else
5017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5018 for as_dir in $PATH
5020 IFS=$as_save_IFS
5021 test -z "$as_dir" && as_dir=.
5022 for ac_exec_ext in '' $ac_executable_extensions; do
5023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5024 ac_cv_prog_LD="${ac_tool_prefix}ld"
5025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5026 break 2
5028 done
5029 done
5030 IFS=$as_save_IFS
5034 LD=$ac_cv_prog_LD
5035 if test -n "$LD"; then
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5037 $as_echo "$LD" >&6; }
5038 else
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5040 $as_echo "no" >&6; }
5045 if test -z "$ac_cv_prog_LD"; then
5046 ac_ct_LD=$LD
5047 # Extract the first word of "ld", so it can be a program name with args.
5048 set dummy ld; ac_word=$2
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5050 $as_echo_n "checking for $ac_word... " >&6; }
5051 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5052 $as_echo_n "(cached) " >&6
5053 else
5054 if test -n "$ac_ct_LD"; then
5055 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5056 else
5057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5058 for as_dir in $PATH
5060 IFS=$as_save_IFS
5061 test -z "$as_dir" && as_dir=.
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5064 ac_cv_prog_ac_ct_LD="ld"
5065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 break 2
5068 done
5069 done
5070 IFS=$as_save_IFS
5074 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5075 if test -n "$ac_ct_LD"; then
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5077 $as_echo "$ac_ct_LD" >&6; }
5078 else
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5080 $as_echo "no" >&6; }
5083 if test "x$ac_ct_LD" = x; then
5084 LD=""
5085 else
5086 case $cross_compiling:$ac_tool_warned in
5087 yes:)
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5090 ac_tool_warned=yes ;;
5091 esac
5092 LD=$ac_ct_LD
5094 else
5095 LD="$ac_cv_prog_LD"
5099 case $host in
5100 *-darwin*)
5101 with_fontconfig=${with_fontconfig:-no}
5103 *-mingw32*|*-cygwin*)
5104 enable_win16=${enable_win16:-no}
5105 CFLAGS="$CFLAGS -D_WIN32"
5107 esac
5109 case $host in
5110 x86_64*|amd64*)
5111 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5112 then
5113 CC="$CC -m32"
5114 CXX="$CXX -m32"
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5116 $as_echo_n "checking whether $CC works... " >&6; }
5118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5119 /* end confdefs.h. */
5122 main ()
5126 return 0;
5128 _ACEOF
5129 if ac_fn_c_try_link "$LINENO"; then :
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5131 $as_echo "yes" >&6; }
5132 else
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5134 $as_echo "no" >&6; }
5135 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5137 rm -f core conftest.err conftest.$ac_objext \
5138 conftest$ac_exeext conftest.$ac_ext
5139 host_cpu="i386"
5140 notice_platform="32-bit "
5141 TARGETFLAGS="-m32"
5143 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5144 export PKG_CONFIG_PATH
5145 enable_win16=${enable_win16:-yes}
5146 else
5147 if test "x${GCC}" = "xyes"
5148 then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5150 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5152 /* end confdefs.h. */
5153 #include <stdarg.h>
5155 main ()
5157 void func(__builtin_ms_va_list *args);
5159 return 0;
5161 _ACEOF
5162 if ac_fn_c_try_compile "$LINENO"; then :
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5164 $as_echo "yes" >&6; }
5165 else
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5167 $as_echo "no" >&6; }
5168 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5172 CC="$CC -m64"
5173 CXX="$CXX -m64"
5174 host_cpu="x86_64"
5175 notice_platform="64-bit "
5176 TARGETFLAGS="-m64"
5180 arm*)
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5182 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5184 /* end confdefs.h. */
5185 int ac_test(int i) { return i; }
5187 main ()
5189 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5191 return 0;
5193 _ACEOF
5194 if ac_fn_c_try_link "$LINENO"; then :
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5196 $as_echo "yes" >&6; }
5197 else
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5199 $as_echo "no" >&6; }
5200 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5202 rm -f core conftest.err conftest.$ac_objext \
5203 conftest$ac_exeext conftest.$ac_ext
5204 CFLAGS="$CFLAGS -marm"
5205 TARGETFLAGS="-marm"
5208 i[3456789]86*)
5209 enable_win16=${enable_win16:-yes}
5211 esac
5213 enable_win16=${enable_win16:-no}
5214 enable_win64=${enable_win64:-no}
5216 enable_winetest=${enable_winetest:-$enable_tests}
5218 if test -n "$with_wine64"
5219 then
5220 if test "x$enable_win64" = "xyes"
5221 then
5222 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5223 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5225 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5226 You should create a separate build directory and run configure from there." "$LINENO" 5
5227 enable_fonts=${enable_fonts:-no}
5228 enable_server=${enable_server:-no}
5229 elif test "x$enable_win64" = "xyes"
5230 then
5231 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5235 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5236 if ${wine_cv_toolsdir+:} false; then :
5237 $as_echo_n "(cached) " >&6
5238 else
5239 wine_cv_toolsdir="$with_wine_tools"
5240 if test -z "$with_wine_tools"; then
5241 if test "$cross_compiling" = "yes"; then
5242 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5243 elif test -n "$with_wine64"; then
5244 wine_cv_toolsdir="$with_wine64"
5247 if test -z "$wine_cv_toolsdir"; then
5248 wine_makedep=tools/makedep
5249 wine_cv_toolsdir="\$(top_builddir)"
5250 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5251 wine_makedep=$wine_cv_toolsdir/tools/makedep
5252 case "$wine_cv_toolsdir" in
5253 /*) ;;
5254 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5255 esac
5256 enable_tools=${enable_tools:-no}
5257 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5258 else
5259 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5263 $as_echo "$wine_cv_toolsdir" >&6; }
5264 TOOLSDIR=$wine_cv_toolsdir
5266 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5267 then
5268 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5272 for ac_prog in flex
5274 # Extract the first word of "$ac_prog", so it can be a program name with args.
5275 set dummy $ac_prog; ac_word=$2
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5277 $as_echo_n "checking for $ac_word... " >&6; }
5278 if ${ac_cv_prog_FLEX+:} false; then :
5279 $as_echo_n "(cached) " >&6
5280 else
5281 if test -n "$FLEX"; then
5282 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5283 else
5284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5285 for as_dir in $PATH
5287 IFS=$as_save_IFS
5288 test -z "$as_dir" && as_dir=.
5289 for ac_exec_ext in '' $ac_executable_extensions; do
5290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5291 ac_cv_prog_FLEX="$ac_prog"
5292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5293 break 2
5295 done
5296 done
5297 IFS=$as_save_IFS
5301 FLEX=$ac_cv_prog_FLEX
5302 if test -n "$FLEX"; then
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5304 $as_echo "$FLEX" >&6; }
5305 else
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5307 $as_echo "no" >&6; }
5311 test -n "$FLEX" && break
5312 done
5313 test -n "$FLEX" || FLEX="none"
5315 if test "$FLEX" = "none"
5316 then
5317 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5320 $as_echo_n "checking whether flex is recent enough... " >&6; }
5321 cat >conftest.l <<EOF
5322 %top{
5323 #include "prediluvian.h"
5327 if $FLEX -t conftest.l >/dev/null 2>&5
5328 then
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5330 $as_echo "yes" >&6; }
5331 else
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5333 $as_echo "no" >&6; }
5334 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5337 for ac_prog in bison
5339 # Extract the first word of "$ac_prog", so it can be a program name with args.
5340 set dummy $ac_prog; ac_word=$2
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5342 $as_echo_n "checking for $ac_word... " >&6; }
5343 if ${ac_cv_prog_BISON+:} false; then :
5344 $as_echo_n "(cached) " >&6
5345 else
5346 if test -n "$BISON"; then
5347 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5348 else
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350 for as_dir in $PATH
5352 IFS=$as_save_IFS
5353 test -z "$as_dir" && as_dir=.
5354 for ac_exec_ext in '' $ac_executable_extensions; do
5355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5356 ac_cv_prog_BISON="$ac_prog"
5357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5358 break 2
5360 done
5361 done
5362 IFS=$as_save_IFS
5366 BISON=$ac_cv_prog_BISON
5367 if test -n "$BISON"; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5369 $as_echo "$BISON" >&6; }
5370 else
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }
5376 test -n "$BISON" && break
5377 done
5378 test -n "$BISON" || BISON="none"
5380 if test "$BISON" = "none"
5381 then
5382 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5385 if test -n "$ac_tool_prefix"; then
5386 for ac_prog in ar gar
5388 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5389 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5391 $as_echo_n "checking for $ac_word... " >&6; }
5392 if ${ac_cv_prog_AR+:} false; then :
5393 $as_echo_n "(cached) " >&6
5394 else
5395 if test -n "$AR"; then
5396 ac_cv_prog_AR="$AR" # Let the user override the test.
5397 else
5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5399 for as_dir in $PATH
5401 IFS=$as_save_IFS
5402 test -z "$as_dir" && as_dir=.
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5405 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5407 break 2
5409 done
5410 done
5411 IFS=$as_save_IFS
5415 AR=$ac_cv_prog_AR
5416 if test -n "$AR"; then
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5418 $as_echo "$AR" >&6; }
5419 else
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }
5425 test -n "$AR" && break
5426 done
5428 if test -z "$AR"; then
5429 ac_ct_AR=$AR
5430 for ac_prog in ar gar
5432 # Extract the first word of "$ac_prog", so it can be a program name with args.
5433 set dummy $ac_prog; ac_word=$2
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5435 $as_echo_n "checking for $ac_word... " >&6; }
5436 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5437 $as_echo_n "(cached) " >&6
5438 else
5439 if test -n "$ac_ct_AR"; then
5440 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5441 else
5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5443 for as_dir in $PATH
5445 IFS=$as_save_IFS
5446 test -z "$as_dir" && as_dir=.
5447 for ac_exec_ext in '' $ac_executable_extensions; do
5448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5449 ac_cv_prog_ac_ct_AR="$ac_prog"
5450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5451 break 2
5453 done
5454 done
5455 IFS=$as_save_IFS
5459 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5460 if test -n "$ac_ct_AR"; then
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5462 $as_echo "$ac_ct_AR" >&6; }
5463 else
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5465 $as_echo "no" >&6; }
5469 test -n "$ac_ct_AR" && break
5470 done
5472 if test "x$ac_ct_AR" = x; then
5473 AR="ar"
5474 else
5475 case $cross_compiling:$ac_tool_warned in
5476 yes:)
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5479 ac_tool_warned=yes ;;
5480 esac
5481 AR=$ac_ct_AR
5485 if test -n "$ac_tool_prefix"; then
5486 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5487 set dummy ${ac_tool_prefix}strip; ac_word=$2
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5489 $as_echo_n "checking for $ac_word... " >&6; }
5490 if ${ac_cv_prog_STRIP+:} false; then :
5491 $as_echo_n "(cached) " >&6
5492 else
5493 if test -n "$STRIP"; then
5494 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5495 else
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 for as_dir in $PATH
5499 IFS=$as_save_IFS
5500 test -z "$as_dir" && as_dir=.
5501 for ac_exec_ext in '' $ac_executable_extensions; do
5502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5503 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5505 break 2
5507 done
5508 done
5509 IFS=$as_save_IFS
5513 STRIP=$ac_cv_prog_STRIP
5514 if test -n "$STRIP"; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5516 $as_echo "$STRIP" >&6; }
5517 else
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5519 $as_echo "no" >&6; }
5524 if test -z "$ac_cv_prog_STRIP"; then
5525 ac_ct_STRIP=$STRIP
5526 # Extract the first word of "strip", so it can be a program name with args.
5527 set dummy strip; ac_word=$2
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5529 $as_echo_n "checking for $ac_word... " >&6; }
5530 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5531 $as_echo_n "(cached) " >&6
5532 else
5533 if test -n "$ac_ct_STRIP"; then
5534 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5535 else
5536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5537 for as_dir in $PATH
5539 IFS=$as_save_IFS
5540 test -z "$as_dir" && as_dir=.
5541 for ac_exec_ext in '' $ac_executable_extensions; do
5542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5543 ac_cv_prog_ac_ct_STRIP="strip"
5544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5545 break 2
5547 done
5548 done
5549 IFS=$as_save_IFS
5553 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5554 if test -n "$ac_ct_STRIP"; then
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5556 $as_echo "$ac_ct_STRIP" >&6; }
5557 else
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5559 $as_echo "no" >&6; }
5562 if test "x$ac_ct_STRIP" = x; then
5563 STRIP="strip"
5564 else
5565 case $cross_compiling:$ac_tool_warned in
5566 yes:)
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5569 ac_tool_warned=yes ;;
5570 esac
5571 STRIP=$ac_ct_STRIP
5573 else
5574 STRIP="$ac_cv_prog_STRIP"
5577 ARFLAGS=rc
5579 if test -n "$ac_tool_prefix"; then
5580 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5581 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583 $as_echo_n "checking for $ac_word... " >&6; }
5584 if ${ac_cv_prog_RANLIB+:} false; then :
5585 $as_echo_n "(cached) " >&6
5586 else
5587 if test -n "$RANLIB"; then
5588 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5589 else
5590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5591 for as_dir in $PATH
5593 IFS=$as_save_IFS
5594 test -z "$as_dir" && as_dir=.
5595 for ac_exec_ext in '' $ac_executable_extensions; do
5596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5597 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599 break 2
5601 done
5602 done
5603 IFS=$as_save_IFS
5607 RANLIB=$ac_cv_prog_RANLIB
5608 if test -n "$RANLIB"; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5610 $as_echo "$RANLIB" >&6; }
5611 else
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613 $as_echo "no" >&6; }
5618 if test -z "$ac_cv_prog_RANLIB"; then
5619 ac_ct_RANLIB=$RANLIB
5620 # Extract the first word of "ranlib", so it can be a program name with args.
5621 set dummy ranlib; ac_word=$2
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5623 $as_echo_n "checking for $ac_word... " >&6; }
5624 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5625 $as_echo_n "(cached) " >&6
5626 else
5627 if test -n "$ac_ct_RANLIB"; then
5628 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5629 else
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 for as_dir in $PATH
5633 IFS=$as_save_IFS
5634 test -z "$as_dir" && as_dir=.
5635 for ac_exec_ext in '' $ac_executable_extensions; do
5636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5637 ac_cv_prog_ac_ct_RANLIB="ranlib"
5638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5639 break 2
5641 done
5642 done
5643 IFS=$as_save_IFS
5647 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5648 if test -n "$ac_ct_RANLIB"; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5650 $as_echo "$ac_ct_RANLIB" >&6; }
5651 else
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5653 $as_echo "no" >&6; }
5656 if test "x$ac_ct_RANLIB" = x; then
5657 RANLIB=":"
5658 else
5659 case $cross_compiling:$ac_tool_warned in
5660 yes:)
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5663 ac_tool_warned=yes ;;
5664 esac
5665 RANLIB=$ac_ct_RANLIB
5667 else
5668 RANLIB="$ac_cv_prog_RANLIB"
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5672 $as_echo_n "checking whether ln -s works... " >&6; }
5673 LN_S=$as_ln_s
5674 if test "$LN_S" = "ln -s"; then
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5676 $as_echo "yes" >&6; }
5677 else
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5679 $as_echo "no, using $LN_S" >&6; }
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5683 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5684 if ${ac_cv_path_GREP+:} false; then :
5685 $as_echo_n "(cached) " >&6
5686 else
5687 if test -z "$GREP"; then
5688 ac_path_GREP_found=false
5689 # Loop through the user's path and test for each of PROGNAME-LIST
5690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5693 IFS=$as_save_IFS
5694 test -z "$as_dir" && as_dir=.
5695 for ac_prog in grep ggrep; do
5696 for ac_exec_ext in '' $ac_executable_extensions; do
5697 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5698 as_fn_executable_p "$ac_path_GREP" || continue
5699 # Check for GNU ac_path_GREP and select it if it is found.
5700 # Check for GNU $ac_path_GREP
5701 case `"$ac_path_GREP" --version 2>&1` in
5702 *GNU*)
5703 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5705 ac_count=0
5706 $as_echo_n 0123456789 >"conftest.in"
5707 while :
5709 cat "conftest.in" "conftest.in" >"conftest.tmp"
5710 mv "conftest.tmp" "conftest.in"
5711 cp "conftest.in" "conftest.nl"
5712 $as_echo 'GREP' >> "conftest.nl"
5713 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5714 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5715 as_fn_arith $ac_count + 1 && ac_count=$as_val
5716 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5717 # Best one so far, save it but keep looking for a better one
5718 ac_cv_path_GREP="$ac_path_GREP"
5719 ac_path_GREP_max=$ac_count
5721 # 10*(2^10) chars as input seems more than enough
5722 test $ac_count -gt 10 && break
5723 done
5724 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5725 esac
5727 $ac_path_GREP_found && break 3
5728 done
5729 done
5730 done
5731 IFS=$as_save_IFS
5732 if test -z "$ac_cv_path_GREP"; then
5733 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5735 else
5736 ac_cv_path_GREP=$GREP
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5741 $as_echo "$ac_cv_path_GREP" >&6; }
5742 GREP="$ac_cv_path_GREP"
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5746 $as_echo_n "checking for egrep... " >&6; }
5747 if ${ac_cv_path_EGREP+:} false; then :
5748 $as_echo_n "(cached) " >&6
5749 else
5750 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5751 then ac_cv_path_EGREP="$GREP -E"
5752 else
5753 if test -z "$EGREP"; then
5754 ac_path_EGREP_found=false
5755 # Loop through the user's path and test for each of PROGNAME-LIST
5756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5759 IFS=$as_save_IFS
5760 test -z "$as_dir" && as_dir=.
5761 for ac_prog in egrep; do
5762 for ac_exec_ext in '' $ac_executable_extensions; do
5763 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5764 as_fn_executable_p "$ac_path_EGREP" || continue
5765 # Check for GNU ac_path_EGREP and select it if it is found.
5766 # Check for GNU $ac_path_EGREP
5767 case `"$ac_path_EGREP" --version 2>&1` in
5768 *GNU*)
5769 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5771 ac_count=0
5772 $as_echo_n 0123456789 >"conftest.in"
5773 while :
5775 cat "conftest.in" "conftest.in" >"conftest.tmp"
5776 mv "conftest.tmp" "conftest.in"
5777 cp "conftest.in" "conftest.nl"
5778 $as_echo 'EGREP' >> "conftest.nl"
5779 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5780 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5781 as_fn_arith $ac_count + 1 && ac_count=$as_val
5782 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5783 # Best one so far, save it but keep looking for a better one
5784 ac_cv_path_EGREP="$ac_path_EGREP"
5785 ac_path_EGREP_max=$ac_count
5787 # 10*(2^10) chars as input seems more than enough
5788 test $ac_count -gt 10 && break
5789 done
5790 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5791 esac
5793 $ac_path_EGREP_found && break 3
5794 done
5795 done
5796 done
5797 IFS=$as_save_IFS
5798 if test -z "$ac_cv_path_EGREP"; then
5799 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5801 else
5802 ac_cv_path_EGREP=$EGREP
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5808 $as_echo "$ac_cv_path_EGREP" >&6; }
5809 EGREP="$ac_cv_path_EGREP"
5812 # Extract the first word of "ldconfig", so it can be a program name with args.
5813 set dummy ldconfig; ac_word=$2
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5815 $as_echo_n "checking for $ac_word... " >&6; }
5816 if ${ac_cv_path_LDCONFIG+:} false; then :
5817 $as_echo_n "(cached) " >&6
5818 else
5819 case $LDCONFIG in
5820 [\\/]* | ?:[\\/]*)
5821 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 for as_dir in /sbin /usr/sbin $PATH
5827 IFS=$as_save_IFS
5828 test -z "$as_dir" && as_dir=.
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5831 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5833 break 2
5835 done
5836 done
5837 IFS=$as_save_IFS
5839 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5841 esac
5843 LDCONFIG=$ac_cv_path_LDCONFIG
5844 if test -n "$LDCONFIG"; then
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5846 $as_echo "$LDCONFIG" >&6; }
5847 else
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5849 $as_echo "no" >&6; }
5853 for ac_prog in msgfmt
5855 # Extract the first word of "$ac_prog", so it can be a program name with args.
5856 set dummy $ac_prog; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_MSGFMT+:} false; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 if test -n "$MSGFMT"; then
5863 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5864 else
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 for as_dir in $PATH
5868 IFS=$as_save_IFS
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872 ac_cv_prog_MSGFMT="$ac_prog"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 break 2
5876 done
5877 done
5878 IFS=$as_save_IFS
5882 MSGFMT=$ac_cv_prog_MSGFMT
5883 if test -n "$MSGFMT"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5885 $as_echo "$MSGFMT" >&6; }
5886 else
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5892 test -n "$MSGFMT" && break
5893 done
5894 test -n "$MSGFMT" || MSGFMT="false"
5896 if ${ac_tool_prefix+:} false; then :
5897 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5898 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5900 $as_echo_n "checking for $ac_word... " >&6; }
5901 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5902 $as_echo_n "(cached) " >&6
5903 else
5904 if test -n "$PKG_CONFIG"; then
5905 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5906 else
5907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908 for as_dir in $PATH
5910 IFS=$as_save_IFS
5911 test -z "$as_dir" && as_dir=.
5912 for ac_exec_ext in '' $ac_executable_extensions; do
5913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5914 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 break 2
5918 done
5919 done
5920 IFS=$as_save_IFS
5924 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5925 if test -n "$PKG_CONFIG"; then
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5927 $as_echo "$PKG_CONFIG" >&6; }
5928 else
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5930 $as_echo "no" >&6; }
5935 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5936 if test "x$cross_compiling" = xyes; then :
5938 else
5939 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5940 # Extract the first word of "pkg-config", so it can be a program name with args.
5941 set dummy pkg-config; ac_word=$2
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5943 $as_echo_n "checking for $ac_word... " >&6; }
5944 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5945 $as_echo_n "(cached) " >&6
5946 else
5947 if test -n "$PKG_CONFIG"; then
5948 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5949 else
5950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5951 for as_dir in $PATH
5953 IFS=$as_save_IFS
5954 test -z "$as_dir" && as_dir=.
5955 for ac_exec_ext in '' $ac_executable_extensions; do
5956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5957 ac_cv_prog_PKG_CONFIG="pkg-config"
5958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5959 break 2
5961 done
5962 done
5963 IFS=$as_save_IFS
5967 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5968 if test -n "$PKG_CONFIG"; then
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5970 $as_echo "$PKG_CONFIG" >&6; }
5971 else
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5973 $as_echo "no" >&6; }
5978 else
5979 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5982 if test "x$enable_maintainer_mode" != "xyes"
5983 then
5984 FONTFORGE=""
5985 RSVG=""
5986 CONVERT=""
5987 ICOTOOL=""
5988 else
5989 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5990 for ac_prog in fontforge
5992 # Extract the first word of "$ac_prog", so it can be a program name with args.
5993 set dummy $ac_prog; ac_word=$2
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5995 $as_echo_n "checking for $ac_word... " >&6; }
5996 if ${ac_cv_prog_FONTFORGE+:} false; then :
5997 $as_echo_n "(cached) " >&6
5998 else
5999 if test -n "$FONTFORGE"; then
6000 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6001 else
6002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003 for as_dir in $PATH
6005 IFS=$as_save_IFS
6006 test -z "$as_dir" && as_dir=.
6007 for ac_exec_ext in '' $ac_executable_extensions; do
6008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6009 ac_cv_prog_FONTFORGE="$ac_prog"
6010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6011 break 2
6013 done
6014 done
6015 IFS=$as_save_IFS
6019 FONTFORGE=$ac_cv_prog_FONTFORGE
6020 if test -n "$FONTFORGE"; then
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6022 $as_echo "$FONTFORGE" >&6; }
6023 else
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6025 $as_echo "no" >&6; }
6029 test -n "$FONTFORGE" && break
6030 done
6031 test -n "$FONTFORGE" || FONTFORGE="false"
6033 for ac_prog in rsvg-convert rsvg
6035 # Extract the first word of "$ac_prog", so it can be a program name with args.
6036 set dummy $ac_prog; ac_word=$2
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6038 $as_echo_n "checking for $ac_word... " >&6; }
6039 if ${ac_cv_prog_RSVG+:} false; then :
6040 $as_echo_n "(cached) " >&6
6041 else
6042 if test -n "$RSVG"; then
6043 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6044 else
6045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6046 for as_dir in $PATH
6048 IFS=$as_save_IFS
6049 test -z "$as_dir" && as_dir=.
6050 for ac_exec_ext in '' $ac_executable_extensions; do
6051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6052 ac_cv_prog_RSVG="$ac_prog"
6053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6054 break 2
6056 done
6057 done
6058 IFS=$as_save_IFS
6062 RSVG=$ac_cv_prog_RSVG
6063 if test -n "$RSVG"; then
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6065 $as_echo "$RSVG" >&6; }
6066 else
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6068 $as_echo "no" >&6; }
6072 test -n "$RSVG" && break
6073 done
6074 test -n "$RSVG" || RSVG="false"
6076 for ac_prog in convert
6078 # Extract the first word of "$ac_prog", so it can be a program name with args.
6079 set dummy $ac_prog; ac_word=$2
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6081 $as_echo_n "checking for $ac_word... " >&6; }
6082 if ${ac_cv_prog_CONVERT+:} false; then :
6083 $as_echo_n "(cached) " >&6
6084 else
6085 if test -n "$CONVERT"; then
6086 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6087 else
6088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6089 for as_dir in $PATH
6091 IFS=$as_save_IFS
6092 test -z "$as_dir" && as_dir=.
6093 for ac_exec_ext in '' $ac_executable_extensions; do
6094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6095 ac_cv_prog_CONVERT="$ac_prog"
6096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6097 break 2
6099 done
6100 done
6101 IFS=$as_save_IFS
6105 CONVERT=$ac_cv_prog_CONVERT
6106 if test -n "$CONVERT"; then
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6108 $as_echo "$CONVERT" >&6; }
6109 else
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6111 $as_echo "no" >&6; }
6115 test -n "$CONVERT" && break
6116 done
6117 test -n "$CONVERT" || CONVERT="false"
6119 for ac_prog in icotool
6121 # Extract the first word of "$ac_prog", so it can be a program name with args.
6122 set dummy $ac_prog; ac_word=$2
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6124 $as_echo_n "checking for $ac_word... " >&6; }
6125 if ${ac_cv_prog_ICOTOOL+:} false; then :
6126 $as_echo_n "(cached) " >&6
6127 else
6128 if test -n "$ICOTOOL"; then
6129 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6130 else
6131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6132 for as_dir in $PATH
6134 IFS=$as_save_IFS
6135 test -z "$as_dir" && as_dir=.
6136 for ac_exec_ext in '' $ac_executable_extensions; do
6137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6138 ac_cv_prog_ICOTOOL="$ac_prog"
6139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6140 break 2
6142 done
6143 done
6144 IFS=$as_save_IFS
6148 ICOTOOL=$ac_cv_prog_ICOTOOL
6149 if test -n "$ICOTOOL"; then
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6151 $as_echo "$ICOTOOL" >&6; }
6152 else
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6154 $as_echo "no" >&6; }
6158 test -n "$ICOTOOL" && break
6159 done
6160 test -n "$ICOTOOL" || ICOTOOL="false"
6162 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6163 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6165 if test "$CONVERT" = false
6166 then
6167 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6168 else
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6170 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6171 convert_version=`convert --version | head -n1`
6172 if test "x$convert_version" != "x"
6173 then
6174 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6175 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6176 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6177 then
6178 CONVERT=false
6181 if test "$CONVERT" = false
6182 then
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6184 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6185 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6186 else
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6188 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6192 if test "$ICOTOOL" = false
6193 then
6194 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6195 else
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6197 $as_echo_n "checking for recent enough icotool... " >&6; }
6198 icotool_version=`icotool --version | head -n1`
6199 if test "x$icotool_version" != "x"
6200 then
6201 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6202 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6203 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6204 then
6205 ICOTOOL=false
6206 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6209 if test "$ICOTOOL" = false
6210 then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6212 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6213 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6214 else
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6216 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6220 with_gettext=yes
6221 with_gettextpo=yes
6222 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6225 test "x$with_gettext" != xno || MSGFMT=false
6226 if test "$MSGFMT" != "false"
6227 then
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6229 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6230 cat >conftest.po <<EOF
6231 # comment
6232 msgctxt "ctxt"
6233 msgid "id"
6234 msgstr "str"
6236 if $MSGFMT -o /dev/null conftest.po 2>&5
6237 then
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6239 $as_echo "yes" >&6; }
6240 else
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6242 $as_echo "no" >&6; }
6243 MSGFMT=false
6246 if test "$MSGFMT" = false; then :
6247 case "x$with_gettext" in
6248 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6249 xno) ;;
6250 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6251 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6252 esac
6253 enable_po=${enable_po:-no}
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6258 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6259 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6260 $as_echo_n "(cached) " >&6
6261 else
6262 ac_check_lib_save_LIBS=$LIBS
6263 LIBS="-li386 $LIBS"
6264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6265 /* end confdefs.h. */
6267 /* Override any GCC internal prototype to avoid an error.
6268 Use char because int might match the return type of a GCC
6269 builtin and then its argument prototype would still apply. */
6270 #ifdef __cplusplus
6271 extern "C"
6272 #endif
6273 char i386_set_ldt ();
6275 main ()
6277 return i386_set_ldt ();
6279 return 0;
6281 _ACEOF
6282 if ac_fn_c_try_link "$LINENO"; then :
6283 ac_cv_lib_i386_i386_set_ldt=yes
6284 else
6285 ac_cv_lib_i386_i386_set_ldt=no
6287 rm -f core conftest.err conftest.$ac_objext \
6288 conftest$ac_exeext conftest.$ac_ext
6289 LIBS=$ac_check_lib_save_LIBS
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6292 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6293 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6294 cat >>confdefs.h <<_ACEOF
6295 #define HAVE_LIBI386 1
6296 _ACEOF
6298 LIBS="-li386 $LIBS"
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6303 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6304 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6305 $as_echo_n "(cached) " >&6
6306 else
6307 ac_check_lib_save_LIBS=$LIBS
6308 LIBS="-lossaudio $LIBS"
6309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6310 /* end confdefs.h. */
6312 /* Override any GCC internal prototype to avoid an error.
6313 Use char because int might match the return type of a GCC
6314 builtin and then its argument prototype would still apply. */
6315 #ifdef __cplusplus
6316 extern "C"
6317 #endif
6318 char _oss_ioctl ();
6320 main ()
6322 return _oss_ioctl ();
6324 return 0;
6326 _ACEOF
6327 if ac_fn_c_try_link "$LINENO"; then :
6328 ac_cv_lib_ossaudio__oss_ioctl=yes
6329 else
6330 ac_cv_lib_ossaudio__oss_ioctl=no
6332 rm -f core conftest.err conftest.$ac_objext \
6333 conftest$ac_exeext conftest.$ac_ext
6334 LIBS=$ac_check_lib_save_LIBS
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6337 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6338 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6339 cat >>confdefs.h <<_ACEOF
6340 #define HAVE_LIBOSSAUDIO 1
6341 _ACEOF
6343 LIBS="-lossaudio $LIBS"
6348 OPENGL_LIBS=""
6352 # Check whether --enable-largefile was given.
6353 if test "${enable_largefile+set}" = set; then :
6354 enableval=$enable_largefile;
6357 if test "$enable_largefile" != no; then
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6360 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6361 if ${ac_cv_sys_largefile_CC+:} false; then :
6362 $as_echo_n "(cached) " >&6
6363 else
6364 ac_cv_sys_largefile_CC=no
6365 if test "$GCC" != yes; then
6366 ac_save_CC=$CC
6367 while :; do
6368 # IRIX 6.2 and later do not support large files by default,
6369 # so use the C compiler's -n32 option if that helps.
6370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6371 /* end confdefs.h. */
6372 #include <sys/types.h>
6373 /* Check that off_t can represent 2**63 - 1 correctly.
6374 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6375 since some C++ compilers masquerading as C compilers
6376 incorrectly reject 9223372036854775807. */
6377 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6378 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6379 && LARGE_OFF_T % 2147483647 == 1)
6380 ? 1 : -1];
6382 main ()
6386 return 0;
6388 _ACEOF
6389 if ac_fn_c_try_compile "$LINENO"; then :
6390 break
6392 rm -f core conftest.err conftest.$ac_objext
6393 CC="$CC -n32"
6394 if ac_fn_c_try_compile "$LINENO"; then :
6395 ac_cv_sys_largefile_CC=' -n32'; break
6397 rm -f core conftest.err conftest.$ac_objext
6398 break
6399 done
6400 CC=$ac_save_CC
6401 rm -f conftest.$ac_ext
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6405 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6406 if test "$ac_cv_sys_largefile_CC" != no; then
6407 CC=$CC$ac_cv_sys_largefile_CC
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6411 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6412 if ${ac_cv_sys_file_offset_bits+:} false; then :
6413 $as_echo_n "(cached) " >&6
6414 else
6415 while :; do
6416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6417 /* end confdefs.h. */
6418 #include <sys/types.h>
6419 /* Check that off_t can represent 2**63 - 1 correctly.
6420 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6421 since some C++ compilers masquerading as C compilers
6422 incorrectly reject 9223372036854775807. */
6423 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6424 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6425 && LARGE_OFF_T % 2147483647 == 1)
6426 ? 1 : -1];
6428 main ()
6432 return 0;
6434 _ACEOF
6435 if ac_fn_c_try_compile "$LINENO"; then :
6436 ac_cv_sys_file_offset_bits=no; break
6438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6440 /* end confdefs.h. */
6441 #define _FILE_OFFSET_BITS 64
6442 #include <sys/types.h>
6443 /* Check that off_t can represent 2**63 - 1 correctly.
6444 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6445 since some C++ compilers masquerading as C compilers
6446 incorrectly reject 9223372036854775807. */
6447 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6448 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6449 && LARGE_OFF_T % 2147483647 == 1)
6450 ? 1 : -1];
6452 main ()
6456 return 0;
6458 _ACEOF
6459 if ac_fn_c_try_compile "$LINENO"; then :
6460 ac_cv_sys_file_offset_bits=64; break
6462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6463 ac_cv_sys_file_offset_bits=unknown
6464 break
6465 done
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6468 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6469 case $ac_cv_sys_file_offset_bits in #(
6470 no | unknown) ;;
6472 cat >>confdefs.h <<_ACEOF
6473 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6474 _ACEOF
6476 esac
6477 rm -rf conftest*
6478 if test $ac_cv_sys_file_offset_bits = unknown; then
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6480 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6481 if ${ac_cv_sys_large_files+:} false; then :
6482 $as_echo_n "(cached) " >&6
6483 else
6484 while :; do
6485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6486 /* end confdefs.h. */
6487 #include <sys/types.h>
6488 /* Check that off_t can represent 2**63 - 1 correctly.
6489 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6490 since some C++ compilers masquerading as C compilers
6491 incorrectly reject 9223372036854775807. */
6492 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6493 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6494 && LARGE_OFF_T % 2147483647 == 1)
6495 ? 1 : -1];
6497 main ()
6501 return 0;
6503 _ACEOF
6504 if ac_fn_c_try_compile "$LINENO"; then :
6505 ac_cv_sys_large_files=no; break
6507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6509 /* end confdefs.h. */
6510 #define _LARGE_FILES 1
6511 #include <sys/types.h>
6512 /* Check that off_t can represent 2**63 - 1 correctly.
6513 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6514 since some C++ compilers masquerading as C compilers
6515 incorrectly reject 9223372036854775807. */
6516 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6517 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6518 && LARGE_OFF_T % 2147483647 == 1)
6519 ? 1 : -1];
6521 main ()
6525 return 0;
6527 _ACEOF
6528 if ac_fn_c_try_compile "$LINENO"; then :
6529 ac_cv_sys_large_files=1; break
6531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6532 ac_cv_sys_large_files=unknown
6533 break
6534 done
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6537 $as_echo "$ac_cv_sys_large_files" >&6; }
6538 case $ac_cv_sys_large_files in #(
6539 no | unknown) ;;
6541 cat >>confdefs.h <<_ACEOF
6542 #define _LARGE_FILES $ac_cv_sys_large_files
6543 _ACEOF
6545 esac
6546 rm -rf conftest*
6553 ac_ext=c
6554 ac_cpp='$CPP $CPPFLAGS'
6555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6559 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6560 # On Suns, sometimes $CPP names a directory.
6561 if test -n "$CPP" && test -d "$CPP"; then
6562 CPP=
6564 if test -z "$CPP"; then
6565 if ${ac_cv_prog_CPP+:} false; then :
6566 $as_echo_n "(cached) " >&6
6567 else
6568 # Double quotes because CPP needs to be expanded
6569 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6571 ac_preproc_ok=false
6572 for ac_c_preproc_warn_flag in '' yes
6574 # Use a header file that comes with gcc, so configuring glibc
6575 # with a fresh cross-compiler works.
6576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6577 # <limits.h> exists even on freestanding compilers.
6578 # On the NeXT, cc -E runs the code through the compiler's parser,
6579 # not just through cpp. "Syntax error" is here to catch this case.
6580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6581 /* end confdefs.h. */
6582 #ifdef __STDC__
6583 # include <limits.h>
6584 #else
6585 # include <assert.h>
6586 #endif
6587 Syntax error
6588 _ACEOF
6589 if ac_fn_c_try_cpp "$LINENO"; then :
6591 else
6592 # Broken: fails on valid input.
6593 continue
6595 rm -f conftest.err conftest.i conftest.$ac_ext
6597 # OK, works on sane cases. Now check whether nonexistent headers
6598 # can be detected and how.
6599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6600 /* end confdefs.h. */
6601 #include <ac_nonexistent.h>
6602 _ACEOF
6603 if ac_fn_c_try_cpp "$LINENO"; then :
6604 # Broken: success on invalid input.
6605 continue
6606 else
6607 # Passes both tests.
6608 ac_preproc_ok=:
6609 break
6611 rm -f conftest.err conftest.i conftest.$ac_ext
6613 done
6614 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6615 rm -f conftest.i conftest.err conftest.$ac_ext
6616 if $ac_preproc_ok; then :
6617 break
6620 done
6621 ac_cv_prog_CPP=$CPP
6624 CPP=$ac_cv_prog_CPP
6625 else
6626 ac_cv_prog_CPP=$CPP
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6629 $as_echo "$CPP" >&6; }
6630 ac_preproc_ok=false
6631 for ac_c_preproc_warn_flag in '' yes
6633 # Use a header file that comes with gcc, so configuring glibc
6634 # with a fresh cross-compiler works.
6635 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6636 # <limits.h> exists even on freestanding compilers.
6637 # On the NeXT, cc -E runs the code through the compiler's parser,
6638 # not just through cpp. "Syntax error" is here to catch this case.
6639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6640 /* end confdefs.h. */
6641 #ifdef __STDC__
6642 # include <limits.h>
6643 #else
6644 # include <assert.h>
6645 #endif
6646 Syntax error
6647 _ACEOF
6648 if ac_fn_c_try_cpp "$LINENO"; then :
6650 else
6651 # Broken: fails on valid input.
6652 continue
6654 rm -f conftest.err conftest.i conftest.$ac_ext
6656 # OK, works on sane cases. Now check whether nonexistent headers
6657 # can be detected and how.
6658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6659 /* end confdefs.h. */
6660 #include <ac_nonexistent.h>
6661 _ACEOF
6662 if ac_fn_c_try_cpp "$LINENO"; then :
6663 # Broken: success on invalid input.
6664 continue
6665 else
6666 # Passes both tests.
6667 ac_preproc_ok=:
6668 break
6670 rm -f conftest.err conftest.i conftest.$ac_ext
6672 done
6673 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6674 rm -f conftest.i conftest.err conftest.$ac_ext
6675 if $ac_preproc_ok; then :
6677 else
6678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6680 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6681 See \`config.log' for more details" "$LINENO" 5; }
6684 ac_ext=c
6685 ac_cpp='$CPP $CPPFLAGS'
6686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6692 $as_echo_n "checking for ANSI C header files... " >&6; }
6693 if ${ac_cv_header_stdc+:} false; then :
6694 $as_echo_n "(cached) " >&6
6695 else
6696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6697 /* end confdefs.h. */
6698 #include <stdlib.h>
6699 #include <stdarg.h>
6700 #include <string.h>
6701 #include <float.h>
6704 main ()
6708 return 0;
6710 _ACEOF
6711 if ac_fn_c_try_compile "$LINENO"; then :
6712 ac_cv_header_stdc=yes
6713 else
6714 ac_cv_header_stdc=no
6716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6718 if test $ac_cv_header_stdc = yes; then
6719 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6721 /* end confdefs.h. */
6722 #include <string.h>
6724 _ACEOF
6725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6726 $EGREP "memchr" >/dev/null 2>&1; then :
6728 else
6729 ac_cv_header_stdc=no
6731 rm -f conftest*
6735 if test $ac_cv_header_stdc = yes; then
6736 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6738 /* end confdefs.h. */
6739 #include <stdlib.h>
6741 _ACEOF
6742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6743 $EGREP "free" >/dev/null 2>&1; then :
6745 else
6746 ac_cv_header_stdc=no
6748 rm -f conftest*
6752 if test $ac_cv_header_stdc = yes; then
6753 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6754 if test "$cross_compiling" = yes; then :
6756 else
6757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6758 /* end confdefs.h. */
6759 #include <ctype.h>
6760 #include <stdlib.h>
6761 #if ((' ' & 0x0FF) == 0x020)
6762 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6763 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6764 #else
6765 # define ISLOWER(c) \
6766 (('a' <= (c) && (c) <= 'i') \
6767 || ('j' <= (c) && (c) <= 'r') \
6768 || ('s' <= (c) && (c) <= 'z'))
6769 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6770 #endif
6772 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6774 main ()
6776 int i;
6777 for (i = 0; i < 256; i++)
6778 if (XOR (islower (i), ISLOWER (i))
6779 || toupper (i) != TOUPPER (i))
6780 return 2;
6781 return 0;
6783 _ACEOF
6784 if ac_fn_c_try_run "$LINENO"; then :
6786 else
6787 ac_cv_header_stdc=no
6789 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6790 conftest.$ac_objext conftest.beam conftest.$ac_ext
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6796 $as_echo "$ac_cv_header_stdc" >&6; }
6797 if test $ac_cv_header_stdc = yes; then
6799 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6803 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6804 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6805 inttypes.h stdint.h unistd.h
6806 do :
6807 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6808 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6810 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6811 cat >>confdefs.h <<_ACEOF
6812 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6813 _ACEOF
6817 done
6820 for ac_header in \
6821 AL/al.h \
6822 ApplicationServices/ApplicationServices.h \
6823 AudioToolbox/AudioConverter.h \
6824 AudioUnit/AudioUnit.h \
6825 AudioUnit/AudioComponent.h \
6826 CL/cl.h \
6827 Carbon/Carbon.h \
6828 CommonCrypto/CommonDigest.h \
6829 CoreAudio/CoreAudio.h \
6830 CoreServices/CoreServices.h \
6831 DiskArbitration/DiskArbitration.h \
6832 IOKit/IOKitLib.h \
6833 IOKit/hid/IOHIDLib.h \
6834 OpenAL/al.h \
6835 OpenCL/opencl.h \
6836 QuickTime/ImageCompression.h \
6837 Security/Security.h \
6838 alias.h \
6839 alsa/asoundlib.h \
6840 arpa/inet.h \
6841 arpa/nameser.h \
6842 asm/types.h \
6843 asm/user.h \
6844 curses.h \
6845 direct.h \
6846 dirent.h \
6847 dlfcn.h \
6848 elf.h \
6849 float.h \
6850 fnmatch.h \
6851 getopt.h \
6852 gettext-po.h \
6853 grp.h \
6854 gsm.h \
6855 gsm/gsm.h \
6856 ieeefp.h \
6857 inet/mib2.h \
6858 io.h \
6859 kstat.h \
6860 lber.h \
6861 ldap.h \
6862 libproc.h \
6863 link.h \
6864 linux/cdrom.h \
6865 linux/compiler.h \
6866 linux/filter.h \
6867 linux/hdreg.h \
6868 linux/hidraw.h \
6869 linux/input.h \
6870 linux/ioctl.h \
6871 linux/joystick.h \
6872 linux/major.h \
6873 linux/param.h \
6874 linux/serial.h \
6875 linux/types.h \
6876 linux/ucdrom.h \
6877 lwp.h \
6878 mach-o/nlist.h \
6879 mach-o/loader.h \
6880 mach/mach.h \
6881 mach/machine.h \
6882 machine/cpu.h \
6883 machine/limits.h \
6884 machine/sysarch.h \
6885 mntent.h \
6886 ncurses.h \
6887 netdb.h \
6888 netinet/in.h \
6889 netinet/in_systm.h \
6890 netinet/tcp.h \
6891 netinet/tcp_fsm.h \
6892 pcap/pcap.h \
6893 poll.h \
6894 port.h \
6895 process.h \
6896 pthread.h \
6897 pwd.h \
6898 sched.h \
6899 scsi/scsi.h \
6900 scsi/scsi_ioctl.h \
6901 scsi/sg.h \
6902 stdbool.h \
6903 stdint.h \
6904 stropts.h \
6905 sys/asoundlib.h \
6906 sys/attr.h \
6907 sys/auxv.h \
6908 sys/cdio.h \
6909 sys/elf32.h \
6910 sys/epoll.h \
6911 sys/event.h \
6912 sys/exec_elf.h \
6913 sys/filio.h \
6914 sys/inotify.h \
6915 sys/ioctl.h \
6916 sys/ipc.h \
6917 sys/limits.h \
6918 sys/link.h \
6919 sys/mman.h \
6920 sys/modem.h \
6921 sys/msg.h \
6922 sys/mtio.h \
6923 sys/param.h \
6924 sys/poll.h \
6925 sys/prctl.h \
6926 sys/protosw.h \
6927 sys/ptrace.h \
6928 sys/queue.h \
6929 sys/resource.h \
6930 sys/scsiio.h \
6931 sys/shm.h \
6932 sys/signal.h \
6933 sys/socket.h \
6934 sys/socketvar.h \
6935 sys/sockio.h \
6936 sys/statvfs.h \
6937 sys/strtio.h \
6938 sys/syscall.h \
6939 sys/sysinfo.h \
6940 sys/tihdr.h \
6941 sys/time.h \
6942 sys/timeout.h \
6943 sys/times.h \
6944 sys/uio.h \
6945 sys/user.h \
6946 sys/utsname.h \
6947 sys/vm86.h \
6948 sys/vnode.h \
6949 sys/wait.h \
6950 syscall.h \
6951 termios.h \
6952 unistd.h \
6953 utime.h \
6954 valgrind/memcheck.h \
6955 valgrind/valgrind.h \
6956 zlib.h
6958 do :
6959 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6960 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6961 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6962 cat >>confdefs.h <<_ACEOF
6963 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6964 _ACEOF
6968 done
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6971 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6972 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6973 $as_echo_n "(cached) " >&6
6974 else
6975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6976 /* end confdefs.h. */
6977 #include <sys/types.h>
6979 main ()
6981 return makedev(0, 0);
6983 return 0;
6985 _ACEOF
6986 if ac_fn_c_try_link "$LINENO"; then :
6987 ac_cv_header_sys_types_h_makedev=yes
6988 else
6989 ac_cv_header_sys_types_h_makedev=no
6991 rm -f core conftest.err conftest.$ac_objext \
6992 conftest$ac_exeext conftest.$ac_ext
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6996 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6998 if test $ac_cv_header_sys_types_h_makedev = no; then
6999 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7000 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7002 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7008 if test $ac_cv_header_sys_mkdev_h = no; then
7009 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7010 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7012 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7021 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7022 if ${ac_cv_header_stat_broken+:} false; then :
7023 $as_echo_n "(cached) " >&6
7024 else
7025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7026 /* end confdefs.h. */
7027 #include <sys/types.h>
7028 #include <sys/stat.h>
7030 #if defined S_ISBLK && defined S_IFDIR
7031 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7032 #endif
7034 #if defined S_ISBLK && defined S_IFCHR
7035 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7036 #endif
7038 #if defined S_ISLNK && defined S_IFREG
7039 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7040 #endif
7042 #if defined S_ISSOCK && defined S_IFREG
7043 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7044 #endif
7046 _ACEOF
7047 if ac_fn_c_try_compile "$LINENO"; then :
7048 ac_cv_header_stat_broken=no
7049 else
7050 ac_cv_header_stat_broken=yes
7052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7055 $as_echo "$ac_cv_header_stat_broken" >&6; }
7056 if test $ac_cv_header_stat_broken = yes; then
7058 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7064 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7065 do :
7066 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7067 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7068 #ifdef HAVE_SYS_PARAM_H
7069 # include <sys/param.h>
7070 #endif
7072 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7073 cat >>confdefs.h <<_ACEOF
7074 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7075 _ACEOF
7079 done
7082 for ac_header in \
7083 netinet/ip.h \
7084 net/if.h \
7085 net/if_arp.h \
7086 net/if_dl.h \
7087 net/if_types.h \
7088 net/route.h \
7089 netinet/if_ether.h \
7090 netinet/if_inarp.h \
7091 netinet/in_pcb.h \
7092 netinet/ip_icmp.h \
7093 netinet/ip_var.h \
7094 netinet/udp.h \
7095 netipx/ipx.h \
7096 sys/un.h \
7098 do :
7099 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7100 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7101 #ifdef HAVE_SYS_SOCKET_H
7102 # include <sys/socket.h>
7103 #endif
7104 #ifdef HAVE_SYS_SOCKETVAR_H
7105 # include <sys/socketvar.h>
7106 #endif
7107 #ifdef HAVE_NET_ROUTE_H
7108 # include <net/route.h>
7109 #endif
7110 #ifdef HAVE_NETINET_IN_H
7111 # include <netinet/in.h>
7112 #endif
7113 #ifdef HAVE_NETINET_IN_SYSTM_H
7114 # include <netinet/in_systm.h>
7115 #endif
7116 #ifdef HAVE_NET_IF_H
7117 # include <net/if.h>
7118 #endif
7119 #ifdef HAVE_NETINET_IP_H
7120 # include <netinet/ip.h>
7121 #endif
7123 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7124 cat >>confdefs.h <<_ACEOF
7125 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7126 _ACEOF
7130 done
7133 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7134 do :
7135 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7136 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7137 #ifdef HAVE_ALIAS_H
7138 # include <alias.h>
7139 #endif
7140 #ifdef HAVE_SYS_SOCKET_H
7141 # include <sys/socket.h>
7142 #endif
7143 #ifdef HAVE_SYS_SOCKETVAR_H
7144 # include <sys/socketvar.h>
7145 #endif
7146 #ifdef HAVE_SYS_TIMEOUT_H
7147 # include <sys/timeout.h>
7148 #endif
7149 #ifdef HAVE_NETINET_IN_H
7150 # include <netinet/in.h>
7151 #endif
7152 #ifdef HAVE_NETINET_IN_SYSTM_H
7153 # include <netinet/in_systm.h>
7154 #endif
7155 #ifdef HAVE_NETINET_IP_H
7156 # include <netinet/ip.h>
7157 #endif
7158 #ifdef HAVE_NETINET_IP_VAR_H
7159 # include <netinet/ip_var.h>
7160 #endif
7161 #ifdef HAVE_NETINET_IP_ICMP_H
7162 # include <netinet/ip_icmp.h>
7163 #endif
7164 #ifdef HAVE_NETINET_UDP_H
7165 # include <netinet/udp.h>
7166 #endif
7167 #ifdef HAVE_NETINET_TCP_H
7168 # include <netinet/tcp.h>
7169 #endif
7170 #ifdef HAVE_NETINET_TCP_TIMER_H
7171 #include <netinet/tcp_timer.h>
7172 #endif
7174 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7175 cat >>confdefs.h <<_ACEOF
7176 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7177 _ACEOF
7181 done
7184 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7185 do :
7186 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7187 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7188 #ifdef HAVE_ASM_TYPES_H
7189 # include <asm/types.h>
7190 #endif
7191 #ifdef HAVE_SYS_SOCKET_H
7192 # include <sys/socket.h>
7193 #endif
7194 #ifdef HAVE_LINUX_TYPES_H
7195 # include <linux/types.h>
7196 #endif
7198 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7199 cat >>confdefs.h <<_ACEOF
7200 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7201 _ACEOF
7205 done
7208 for ac_header in mach-o/dyld_images.h
7209 do :
7210 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7211 # include <stdbool.h>
7212 #endif
7213 #ifdef HAVE_STDINT_H
7214 # include <stdint.h>
7215 #endif
7217 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7218 cat >>confdefs.h <<_ACEOF
7219 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7220 _ACEOF
7224 done
7227 for ac_header in resolv.h
7228 do :
7229 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7230 #ifdef HAVE_SYS_SOCKET_H
7231 # include <sys/socket.h>
7232 #endif
7233 #ifdef HAVE_NETINET_IN_H
7234 # include <netinet/in.h>
7235 #endif
7236 #ifdef HAVE_ARPA_NAMESER_H
7237 # include <arpa/nameser.h>
7238 #endif
7240 if test "x$ac_cv_header_resolv_h" = xyes; then :
7241 cat >>confdefs.h <<_ACEOF
7242 #define HAVE_RESOLV_H 1
7243 _ACEOF
7247 done
7250 for ac_header in ifaddrs.h
7251 do :
7252 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7254 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7255 cat >>confdefs.h <<_ACEOF
7256 #define HAVE_IFADDRS_H 1
7257 _ACEOF
7261 done
7264 for ac_header in sys/ucontext.h
7265 do :
7266 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7268 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7269 cat >>confdefs.h <<_ACEOF
7270 #define HAVE_SYS_UCONTEXT_H 1
7271 _ACEOF
7275 done
7278 for ac_header in sys/thr.h
7279 do :
7280 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7281 #ifdef HAVE_SYS_UCONTEXT_H
7282 #include <sys/ucontext.h>
7283 #endif
7285 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7286 cat >>confdefs.h <<_ACEOF
7287 #define HAVE_SYS_THR_H 1
7288 _ACEOF
7292 done
7295 for ac_header in pthread_np.h
7296 do :
7297 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7298 #include <pthread.h>
7299 #endif
7301 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7302 cat >>confdefs.h <<_ACEOF
7303 #define HAVE_PTHREAD_NP_H 1
7304 _ACEOF
7308 done
7311 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7312 do :
7313 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7314 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7315 #include <sys/time.h>
7316 #endif
7317 #include <sys/types.h>
7318 #ifdef HAVE_ASM_TYPES_H
7319 #include <asm/types.h>
7320 #endif
7322 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7323 cat >>confdefs.h <<_ACEOF
7324 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7325 _ACEOF
7329 done
7332 for ac_header in libprocstat.h
7333 do :
7334 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7335 #include <sys/param.h>
7336 #endif
7337 #ifdef HAVE_SYS_QUEUE_H
7338 #include <sys/queue.h>
7339 #endif
7340 #ifdef HAVE_SYS_SOCKET_H
7341 #include <sys/socket.h>
7342 #endif
7344 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7345 cat >>confdefs.h <<_ACEOF
7346 #define HAVE_LIBPROCSTAT_H 1
7347 _ACEOF
7351 done
7355 dlldir="\${libdir}/wine"
7357 DLLFLAGS="-D_REENTRANT"
7359 LDRPATH_INSTALL=""
7361 LDRPATH_LOCAL=""
7363 LDEXECFLAGS=""
7365 WINELOADER_LDFLAGS=""
7367 LIBEXT="so"
7368 DLLEXT=".so"
7369 IMPLIBEXT="def"
7370 # Extract the first word of "ldd", so it can be a program name with args.
7371 set dummy ldd; ac_word=$2
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7373 $as_echo_n "checking for $ac_word... " >&6; }
7374 if ${ac_cv_path_LDD+:} false; then :
7375 $as_echo_n "(cached) " >&6
7376 else
7377 case $LDD in
7378 [\\/]* | ?:[\\/]*)
7379 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7383 as_dummy="/sbin:/usr/sbin:$PATH"
7384 for as_dir in $as_dummy
7386 IFS=$as_save_IFS
7387 test -z "$as_dir" && as_dir=.
7388 for ac_exec_ext in '' $ac_executable_extensions; do
7389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7390 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7392 break 2
7394 done
7395 done
7396 IFS=$as_save_IFS
7398 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7400 esac
7402 LDD=$ac_cv_path_LDD
7403 if test -n "$LDD"; then
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7405 $as_echo "$LDD" >&6; }
7406 else
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7408 $as_echo "no" >&6; }
7412 if test -n "$ac_tool_prefix"; then
7413 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7414 set dummy ${ac_tool_prefix}otool; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 $as_echo_n "checking for $ac_word... " >&6; }
7417 if ${ac_cv_prog_OTOOL+:} false; then :
7418 $as_echo_n "(cached) " >&6
7419 else
7420 if test -n "$OTOOL"; then
7421 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7422 else
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424 for as_dir in $PATH
7426 IFS=$as_save_IFS
7427 test -z "$as_dir" && as_dir=.
7428 for ac_exec_ext in '' $ac_executable_extensions; do
7429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7430 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7432 break 2
7434 done
7435 done
7436 IFS=$as_save_IFS
7440 OTOOL=$ac_cv_prog_OTOOL
7441 if test -n "$OTOOL"; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7443 $as_echo "$OTOOL" >&6; }
7444 else
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7451 if test -z "$ac_cv_prog_OTOOL"; then
7452 ac_ct_OTOOL=$OTOOL
7453 # Extract the first word of "otool", so it can be a program name with args.
7454 set dummy otool; ac_word=$2
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7456 $as_echo_n "checking for $ac_word... " >&6; }
7457 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7458 $as_echo_n "(cached) " >&6
7459 else
7460 if test -n "$ac_ct_OTOOL"; then
7461 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7462 else
7463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7464 for as_dir in $PATH
7466 IFS=$as_save_IFS
7467 test -z "$as_dir" && as_dir=.
7468 for ac_exec_ext in '' $ac_executable_extensions; do
7469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7470 ac_cv_prog_ac_ct_OTOOL="otool"
7471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7472 break 2
7474 done
7475 done
7476 IFS=$as_save_IFS
7480 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7481 if test -n "$ac_ct_OTOOL"; then
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7483 $as_echo "$ac_ct_OTOOL" >&6; }
7484 else
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 $as_echo "no" >&6; }
7489 if test "x$ac_ct_OTOOL" = x; then
7490 OTOOL="otool"
7491 else
7492 case $cross_compiling:$ac_tool_warned in
7493 yes:)
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7496 ac_tool_warned=yes ;;
7497 esac
7498 OTOOL=$ac_ct_OTOOL
7500 else
7501 OTOOL="$ac_cv_prog_OTOOL"
7504 if test -n "$ac_tool_prefix"; then
7505 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7506 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if ${ac_cv_prog_READELF+:} false; then :
7510 $as_echo_n "(cached) " >&6
7511 else
7512 if test -n "$READELF"; then
7513 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7514 else
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7516 for as_dir in $PATH
7518 IFS=$as_save_IFS
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7522 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7524 break 2
7526 done
7527 done
7528 IFS=$as_save_IFS
7532 READELF=$ac_cv_prog_READELF
7533 if test -n "$READELF"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7535 $as_echo "$READELF" >&6; }
7536 else
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7543 if test -z "$ac_cv_prog_READELF"; then
7544 ac_ct_READELF=$READELF
7545 # Extract the first word of "readelf", so it can be a program name with args.
7546 set dummy readelf; ac_word=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 $as_echo_n "checking for $ac_word... " >&6; }
7549 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7550 $as_echo_n "(cached) " >&6
7551 else
7552 if test -n "$ac_ct_READELF"; then
7553 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7554 else
7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7556 for as_dir in $PATH
7558 IFS=$as_save_IFS
7559 test -z "$as_dir" && as_dir=.
7560 for ac_exec_ext in '' $ac_executable_extensions; do
7561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7562 ac_cv_prog_ac_ct_READELF="readelf"
7563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7564 break 2
7566 done
7567 done
7568 IFS=$as_save_IFS
7572 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7573 if test -n "$ac_ct_READELF"; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7575 $as_echo "$ac_ct_READELF" >&6; }
7576 else
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7581 if test "x$ac_ct_READELF" = x; then
7582 READELF="true"
7583 else
7584 case $cross_compiling:$ac_tool_warned in
7585 yes:)
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7588 ac_tool_warned=yes ;;
7589 esac
7590 READELF=$ac_ct_READELF
7592 else
7593 READELF="$ac_cv_prog_READELF"
7596 wine_rules_file=conf$$rules.make
7597 rm -f $wine_rules_file
7598 SUBDIRS=""
7600 DISABLED_SUBDIRS=""
7602 CONFIGURE_TARGETS=""
7604 ALL_TEST_RESOURCES=""
7607 wine_fn_append_file ()
7609 as_fn_append $1 " \\$as_nl $2"
7612 wine_fn_append_rule ()
7614 $as_echo "$1" >>$wine_rules_file
7617 wine_fn_has_flag ()
7619 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7622 wine_fn_all_rules ()
7624 wine_fn_append_file SUBDIRS $ac_dir
7625 wine_fn_append_rule \
7626 "all: $ac_dir
7627 .PHONY: $ac_dir
7628 $ac_dir: dummy
7629 @cd $ac_dir && \$(MAKE)"
7632 wine_fn_install_rules ()
7634 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7636 wine_fn_append_rule \
7637 ".PHONY: $ac_dir/install $ac_dir/uninstall
7638 $ac_dir/install:: $ac_dir
7639 @cd $ac_dir && \$(MAKE) install
7640 $ac_dir/uninstall::
7641 @cd $ac_dir && \$(MAKE) uninstall
7642 install:: $ac_dir/install
7643 __uninstall__: $ac_dir/uninstall"
7645 if wine_fn_has_flag install-lib
7646 then
7647 wine_fn_append_rule \
7648 ".PHONY: $ac_dir/install-lib
7649 $ac_dir/install-lib:: $ac_dir
7650 @cd $ac_dir && \$(MAKE) install-lib
7651 install-lib:: $ac_dir/install-lib"
7654 if wine_fn_has_flag install-dev
7655 then
7656 wine_fn_append_rule \
7657 ".PHONY: $ac_dir/install-dev
7658 $ac_dir/install-dev:: $ac_dir
7659 @cd $ac_dir && \$(MAKE) install-dev
7660 install-dev:: $ac_dir/install-dev"
7664 wine_fn_clean_rules ()
7666 ac_clean=$@
7668 if wine_fn_has_flag clean
7669 then
7670 wine_fn_append_rule \
7671 "$ac_dir/clean: dummy
7672 @cd $ac_dir && \$(MAKE) clean"
7673 else
7674 wine_fn_append_rule \
7675 "$ac_dir/clean: dummy
7676 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7678 wine_fn_append_rule \
7679 "__clean__: $ac_dir/clean
7680 .PHONY: $ac_dir/clean"
7683 wine_fn_disabled_rules ()
7685 ac_clean=$@
7687 wine_fn_append_file SUBDIRS $ac_dir
7688 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7689 wine_fn_append_rule \
7690 "__clean__: $ac_dir/clean
7691 .PHONY: $ac_dir/clean
7692 $ac_dir/clean: dummy
7693 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7696 wine_fn_config_makefile ()
7698 ac_dir=$1
7699 ac_enable=$2
7700 ac_flags=$3
7702 case $ac_dir in
7703 fonts|server) test -z "$with_wine64" || return ;;
7704 esac
7705 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7706 wine_fn_disabled_rules; return
7708 wine_fn_all_rules
7709 wine_fn_install_rules
7710 wine_fn_clean_rules
7713 wine_fn_config_lib ()
7715 ac_name=$1
7716 ac_flags=$2
7717 ac_dir=dlls/$ac_name
7718 ac_deps="include"
7720 if test "x$enable_tools" = xno; then :
7722 else
7723 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7725 wine_fn_all_rules
7726 wine_fn_clean_rules
7728 wine_fn_append_rule \
7729 ".PHONY: $ac_dir/install $ac_dir/uninstall
7730 $ac_dir/install:: $ac_dir
7731 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7732 $ac_dir/uninstall::
7733 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7734 install install-dev:: $ac_dir/install
7735 __uninstall__: $ac_dir/uninstall
7736 __builddeps__: $ac_dir
7737 $ac_dir: $ac_deps"
7740 wine_fn_config_dll ()
7742 ac_name=$1
7743 ac_dir=dlls/$ac_name
7744 ac_enable=$2
7745 ac_flags=$3
7746 ac_implib=${4:-$ac_name}
7747 ac_file=$ac_dir/lib$ac_implib
7748 ac_dll=$ac_name
7749 ac_deps="include"
7750 ac_implibflags=""
7752 if test "x$enable_tools" = xno; then :
7754 else
7755 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7757 case $ac_name in
7758 *.*16) ac_implibflags=" -m16" ;;
7759 *.*) ;;
7760 *) ac_dll=$ac_dll.dll ;;
7761 esac
7763 ac_clean=
7764 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7765 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7767 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7768 if test "$ac_enable" != enable_win16
7769 then
7770 wine_fn_clean_rules $ac_clean
7771 wine_fn_append_file SUBDIRS $ac_dir
7772 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7773 else
7774 wine_fn_disabled_rules $ac_clean
7775 return
7777 else
7778 wine_fn_all_rules
7779 wine_fn_clean_rules $ac_clean
7780 wine_fn_append_rule \
7781 "$ac_dir: __builddeps__
7782 manpages htmlpages sgmlpages xmlpages::
7783 @cd $ac_dir && \$(MAKE) \$@
7784 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7785 install install-lib:: $ac_dir/install-lib
7786 __uninstall__: $ac_dir/uninstall"
7787 if test -n "$DLLEXT"
7788 then
7789 wine_fn_append_rule \
7790 "$ac_dir/install-lib:: $ac_dir
7791 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7792 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7793 $ac_dir/uninstall::
7794 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7795 else
7796 wine_fn_append_rule \
7797 "$ac_dir/install-lib:: $ac_dir
7798 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7799 $ac_dir/uninstall::
7800 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7804 if wine_fn_has_flag staticimplib
7805 then
7806 wine_fn_append_rule \
7807 "__builddeps__: $ac_file.a
7808 $ac_file.a $ac_file.cross.a: $ac_deps
7809 $ac_file.a: dummy
7810 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7811 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7812 $ac_dir/install-dev:: $ac_file.a
7813 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7814 $ac_dir/uninstall::
7815 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7816 install install-dev:: $ac_dir/install-dev
7817 __uninstall__: $ac_dir/uninstall"
7819 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7820 then
7821 wine_fn_append_rule \
7822 "__builddeps__: $ac_file.cross.a
7823 $ac_file.cross.a: dummy
7824 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7827 elif wine_fn_has_flag implib
7828 then
7829 wine_fn_append_rule \
7830 "__builddeps__: $ac_file.$IMPLIBEXT
7831 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7832 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7833 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7834 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7835 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7836 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7837 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7838 $ac_dir/uninstall::
7839 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7840 install install-dev:: $ac_dir/install-dev
7841 __uninstall__: $ac_dir/uninstall"
7842 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7843 then
7844 wine_fn_append_rule \
7845 "__builddeps__: $ac_file.cross.a
7846 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7847 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7852 wine_fn_config_program ()
7854 ac_name=$1
7855 ac_dir=programs/$ac_name
7856 ac_enable=$2
7857 ac_flags=$3
7858 ac_program=$ac_name
7860 case $ac_name in
7861 *.*) ;;
7862 *) ac_program=$ac_program.exe ;;
7863 esac
7865 ac_clean=
7866 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7867 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7869 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7870 wine_fn_disabled_rules $ac_clean; return
7873 wine_fn_all_rules
7874 wine_fn_clean_rules $ac_clean
7875 wine_fn_append_rule "$ac_dir: __builddeps__"
7877 wine_fn_has_flag install || return
7878 wine_fn_append_rule \
7879 ".PHONY: $ac_dir/install $ac_dir/uninstall
7880 install install-lib:: $ac_dir/install
7881 __uninstall__: $ac_dir/uninstall"
7883 if test -n "$DLLEXT"
7884 then
7885 wine_fn_append_rule \
7886 "$ac_dir/install:: $ac_dir
7887 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7888 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7889 $ac_dir/uninstall::
7890 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7892 if test -z "$with_wine64" && wine_fn_has_flag installbin
7893 then
7894 wine_fn_append_rule \
7895 "$ac_dir/install:: __tooldeps__
7896 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7897 $ac_dir/uninstall::
7898 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7900 else
7901 wine_fn_append_rule \
7902 "$ac_dir/install:: $ac_dir
7903 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7904 $ac_dir/uninstall::
7905 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7908 if test -z "$with_wine64" && wine_fn_has_flag manpage
7909 then
7910 wine_fn_append_rule \
7911 "$ac_dir/install:: $ac_dir
7912 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7913 $ac_dir/uninstall::
7914 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7918 wine_fn_config_test ()
7920 ac_dir=$1
7921 ac_name=$2
7922 ac_flags=$3
7924 ac_clean=
7925 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7926 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7928 if test "x$enable_tests" = xno; then :
7929 wine_fn_disabled_rules $ac_clean; return
7932 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7933 wine_fn_all_rules
7934 wine_fn_clean_rules $ac_clean
7936 wine_fn_append_rule \
7937 "$ac_dir: __builddeps__
7938 programs/winetest: $ac_dir
7939 check test: $ac_dir/test
7940 .PHONY: $ac_dir/test
7941 $ac_dir/test: dummy
7942 @cd $ac_dir && \$(MAKE) test
7943 testclean::
7944 \$(RM) $ac_dir/*.ok"
7946 if test -n "$CROSSTARGET"
7947 then
7948 wine_fn_append_rule \
7949 "crosstest: $ac_dir/crosstest
7950 .PHONY: $ac_dir/crosstest
7951 $ac_dir/crosstest: __builddeps__ dummy
7952 @cd $ac_dir && \$(MAKE) crosstest"
7956 wine_fn_config_tool ()
7958 ac_dir=$1
7959 ac_flags=$2
7960 if test "x$enable_tools" = xno; then :
7961 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7964 wine_fn_all_rules
7965 wine_fn_install_rules
7966 wine_fn_clean_rules
7968 wine_fn_append_rule "__tooldeps__: $ac_dir"
7969 wine_fn_append_rule "$ac_dir: libs/port"
7970 case $ac_dir in
7971 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7972 esac
7975 wine_fn_config_symlink ()
7977 ac_linkdir=
7978 if test "x$1" = "x-d"
7979 then
7980 ac_linkdir=$2
7981 shift; shift
7983 ac_links=$@
7984 wine_fn_append_rule \
7985 "$ac_links:
7986 @./config.status \$@"
7987 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7988 test -n "$ac_linkdir" || return
7989 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7992 wine_binary="wine"
7993 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7994 WINELOADER_PROGRAMS="$wine_binary"
7996 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7998 case $host_os in
7999 cygwin*|mingw32*)
8000 if test -n "$ac_tool_prefix"; then
8001 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8002 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8004 $as_echo_n "checking for $ac_word... " >&6; }
8005 if ${ac_cv_prog_DLLTOOL+:} false; then :
8006 $as_echo_n "(cached) " >&6
8007 else
8008 if test -n "$DLLTOOL"; then
8009 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8010 else
8011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8012 for as_dir in $PATH
8014 IFS=$as_save_IFS
8015 test -z "$as_dir" && as_dir=.
8016 for ac_exec_ext in '' $ac_executable_extensions; do
8017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8018 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8020 break 2
8022 done
8023 done
8024 IFS=$as_save_IFS
8028 DLLTOOL=$ac_cv_prog_DLLTOOL
8029 if test -n "$DLLTOOL"; then
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8031 $as_echo "$DLLTOOL" >&6; }
8032 else
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8034 $as_echo "no" >&6; }
8039 if test -z "$ac_cv_prog_DLLTOOL"; then
8040 ac_ct_DLLTOOL=$DLLTOOL
8041 # Extract the first word of "dlltool", so it can be a program name with args.
8042 set dummy dlltool; ac_word=$2
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8044 $as_echo_n "checking for $ac_word... " >&6; }
8045 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8046 $as_echo_n "(cached) " >&6
8047 else
8048 if test -n "$ac_ct_DLLTOOL"; then
8049 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8050 else
8051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8052 for as_dir in $PATH
8054 IFS=$as_save_IFS
8055 test -z "$as_dir" && as_dir=.
8056 for ac_exec_ext in '' $ac_executable_extensions; do
8057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8058 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8060 break 2
8062 done
8063 done
8064 IFS=$as_save_IFS
8068 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8069 if test -n "$ac_ct_DLLTOOL"; then
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8071 $as_echo "$ac_ct_DLLTOOL" >&6; }
8072 else
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8074 $as_echo "no" >&6; }
8077 if test "x$ac_ct_DLLTOOL" = x; then
8078 DLLTOOL="false"
8079 else
8080 case $cross_compiling:$ac_tool_warned in
8081 yes:)
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8084 ac_tool_warned=yes ;;
8085 esac
8086 DLLTOOL=$ac_ct_DLLTOOL
8088 else
8089 DLLTOOL="$ac_cv_prog_DLLTOOL"
8092 LIBEXT="dll"
8093 DLLEXT=""
8094 IMPLIBEXT="a"
8095 enable_iphlpapi=${enable_iphlpapi:-no}
8096 enable_kernel32=${enable_kernel32:-no}
8097 enable_msvcrt=${enable_msvcrt:-no}
8098 enable_ntdll=${enable_ntdll:-no}
8099 enable_ws2_32=${enable_ws2_32:-no}
8100 enable_loader=${enable_loader:-no}
8101 enable_server=${enable_server:-no}
8102 with_x=${with_x:-no}
8103 with_pthread=${with_pthread:-no}
8105 crtlibs=""
8106 case $host_os in
8107 mingw32*)
8108 crtlibs="-lmsvcrt"
8109 SOCKET_LIBS="-lws2_32"
8111 esac
8113 LIBWINE_SHAREDLIB="libwine.dll"
8115 LIBWINE_IMPORTLIB="libwine.a"
8117 LIBWINE_INSTALL_LIB="libwine.dll"
8119 LIBWINE_INSTALL_DEV="libwine.a"
8121 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8123 LIBWINE_DEPENDS="wine.def"
8127 darwin*|macosx*)
8128 for ac_header in libunwind.h
8129 do :
8130 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8131 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8132 cat >>confdefs.h <<_ACEOF
8133 #define HAVE_LIBUNWIND_H 1
8134 _ACEOF
8138 done
8140 LIBEXT="dylib"
8141 DLLFLAGS="$DLLFLAGS -fPIC"
8142 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8143 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8144 COREFOUNDATION_LIBS="-framework CoreFoundation"
8146 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8148 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8150 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8152 CORESERVICES_LIBS="-framework CoreServices"
8154 APPKIT_LIBS="-framework AppKit"
8156 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8158 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8159 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8160 $as_echo_n "(cached) " >&6
8161 else
8162 ac_wine_try_cflags_saved=$CFLAGS
8163 CFLAGS="$CFLAGS -Wl,-no_pie"
8164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8165 /* end confdefs.h. */
8166 int main(int argc, char **argv) { return 0; }
8167 _ACEOF
8168 if ac_fn_c_try_link "$LINENO"; then :
8169 ac_cv_cflags__Wl__no_pie=yes
8170 else
8171 ac_cv_cflags__Wl__no_pie=no
8173 rm -f core conftest.err conftest.$ac_objext \
8174 conftest$ac_exeext conftest.$ac_ext
8175 CFLAGS=$ac_wine_try_cflags_saved
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8178 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8179 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8180 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8182 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8183 then
8184 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8187 if test "$ac_cv_header_Security_Security_h" = "yes"
8188 then
8189 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8191 ac_save_LIBS="$LIBS"
8192 LIBS="$LIBS $SECURITY_LIBS"
8193 for ac_func in SSLCopyPeerCertificates
8194 do :
8195 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8196 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8197 cat >>confdefs.h <<_ACEOF
8198 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8199 _ACEOF
8202 done
8204 LIBS="$ac_save_LIBS"
8205 with_gnutls=${with_gnutls:-no}
8207 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8208 then
8209 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8210 then
8211 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8213 else
8214 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8217 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8218 ac_save_LIBS="$LIBS"
8219 LIBS="$LIBS $COREAUDIO_LIBS"
8220 for ac_func in AUGraphAddNode
8221 do :
8222 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8223 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8224 cat >>confdefs.h <<_ACEOF
8225 #define HAVE_AUGRAPHADDNODE 1
8226 _ACEOF
8229 done
8231 LIBS="$ac_save_LIBS"
8233 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8234 then
8235 OPENAL_LIBS="-framework OpenAL"
8238 cat >>confdefs.h <<_ACEOF
8239 #define HAVE_OPENAL 1
8240 _ACEOF
8242 ac_cv_lib_openal=yes
8244 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8245 then
8246 OPENCL_LIBS="-framework OpenCL"
8248 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8250 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8251 then
8252 ac_save_LIBS="$LIBS"
8253 LIBS="$LIBS $IOKIT_LIBS"
8254 for ac_func in IOHIDManagerCreate
8255 do :
8256 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8257 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8258 cat >>confdefs.h <<_ACEOF
8259 #define HAVE_IOHIDMANAGERCREATE 1
8260 _ACEOF
8263 done
8265 LIBS="$ac_save_LIBS"
8267 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8268 then
8269 ac_save_LIBS="$LIBS"
8270 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8272 $as_echo_n "checking for the QuickTime framework... " >&6; }
8273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8274 /* end confdefs.h. */
8275 #include <QuickTime/ImageCompression.h>
8277 main ()
8279 CodecManagerVersion(NULL);
8281 return 0;
8283 _ACEOF
8284 if ac_fn_c_try_link "$LINENO"; then :
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8286 $as_echo "yes" >&6; }
8287 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8289 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8290 else
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8292 $as_echo "no" >&6; }
8293 ac_cv_header_QuickTime_ImageCompression_h=no
8295 rm -f core conftest.err conftest.$ac_objext \
8296 conftest$ac_exeext conftest.$ac_ext
8297 LIBS="$ac_save_LIBS"
8299 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8300 then
8301 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8303 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8304 then
8305 CARBON_LIBS="-framework Carbon"
8309 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8310 then
8311 ac_save_LIBS="$LIBS"
8312 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8313 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8314 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8315 enable_winemac_drv=${enable_winemac_drv:-yes}
8318 LIBS="$ac_save_LIBS"
8321 if test "x$enable_win16" = "xyes"
8322 then
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8324 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8325 if test "$cross_compiling" = yes; then :
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8327 $as_echo "cross-compiling, assuming yes" >&6; }
8328 else
8329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8330 /* end confdefs.h. */
8331 asm(".text\n"
8332 "bad:\tnop;nop\n"
8333 "good:\tnop;nop\n\t"
8334 ".globl _testfunc\n"
8335 "_testfunc:\tcallw good");
8336 extern void testfunc();
8338 main ()
8340 unsigned short *p = (unsigned short *)testfunc;
8341 return p[0] != 0xe866 || p[1] != 0xfffa
8343 return 0;
8345 _ACEOF
8346 if ac_fn_c_try_run "$LINENO"; then :
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8348 $as_echo "yes" >&6; }
8349 else
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8351 $as_echo "no" >&6; }
8352 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
8354 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8355 conftest.$ac_objext conftest.beam conftest.$ac_ext
8360 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8362 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8364 LIBWINE_INSTALL_DEV="libwine.dylib"
8366 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8368 WINELOADER_DEPENDS="wine_info.plist"
8372 linux-android*)
8373 DLLFLAGS="$DLLFLAGS -fPIC"
8374 LDEXECFLAGS="-Wl,-pie"
8375 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8377 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8378 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8379 $as_echo_n "(cached) " >&6
8380 else
8381 ac_wine_try_cflags_saved=$CFLAGS
8382 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8384 /* end confdefs.h. */
8385 int main(int argc, char **argv) { return 0; }
8386 _ACEOF
8387 if ac_fn_c_try_link "$LINENO"; then :
8388 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8389 else
8390 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8392 rm -f core conftest.err conftest.$ac_objext \
8393 conftest$ac_exeext conftest.$ac_ext
8394 CFLAGS=$ac_wine_try_cflags_saved
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8397 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8398 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8399 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8401 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8403 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8404 if eval \${$as_ac_var+:} false; then :
8405 $as_echo_n "(cached) " >&6
8406 else
8407 ac_wine_try_cflags_saved=$CFLAGS
8408 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8410 /* end confdefs.h. */
8411 int main(int argc, char **argv) { return 0; }
8412 _ACEOF
8413 if ac_fn_c_try_link "$LINENO"; then :
8414 eval "$as_ac_var=yes"
8415 else
8416 eval "$as_ac_var=no"
8418 rm -f core conftest.err conftest.$ac_objext \
8419 conftest$ac_exeext conftest.$ac_ext
8420 CFLAGS=$ac_wine_try_cflags_saved
8422 eval ac_res=\$$as_ac_var
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8424 $as_echo "$ac_res" >&6; }
8425 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8426 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8427 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8428 else
8429 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8431 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8432 if eval \${$as_ac_var+:} false; then :
8433 $as_echo_n "(cached) " >&6
8434 else
8435 ac_wine_try_cflags_saved=$CFLAGS
8436 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8438 /* end confdefs.h. */
8439 int main(int argc, char **argv) { return 0; }
8440 _ACEOF
8441 if ac_fn_c_try_link "$LINENO"; then :
8442 eval "$as_ac_var=yes"
8443 else
8444 eval "$as_ac_var=no"
8446 rm -f core conftest.err conftest.$ac_objext \
8447 conftest$ac_exeext conftest.$ac_ext
8448 CFLAGS=$ac_wine_try_cflags_saved
8450 eval ac_res=\$$as_ac_var
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8452 $as_echo "$ac_res" >&6; }
8453 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8454 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8455 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8459 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8460 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8461 $as_echo_n "(cached) " >&6
8462 else
8463 ac_wine_try_cflags_saved=$CFLAGS
8464 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8466 /* end confdefs.h. */
8467 int main(int argc, char **argv) { return 0; }
8468 _ACEOF
8469 if ac_fn_c_try_link "$LINENO"; then :
8470 ac_cv_cflags__Wl___enable_new_dtags=yes
8471 else
8472 ac_cv_cflags__Wl___enable_new_dtags=no
8474 rm -f core conftest.err conftest.$ac_objext \
8475 conftest$ac_exeext conftest.$ac_ext
8476 CFLAGS=$ac_wine_try_cflags_saved
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8479 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8480 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8481 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8484 LIBWINE_SHAREDLIB="libwine.so"
8486 LIBWINE_INSTALL_LIB="libwine.so"
8488 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8491 if test "x$exec_prefix" = xNONE
8492 then
8493 case $host_cpu in
8494 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8495 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8496 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8497 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8498 esac
8503 DLLFLAGS="$DLLFLAGS -fPIC"
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8505 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8506 if ${ac_cv_c_dll_gnuelf+:} false; then :
8507 $as_echo_n "(cached) " >&6
8508 else
8509 ac_wine_try_cflags_saved=$CFLAGS
8510 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8513 void myfunc() {}
8514 _ACEOF
8515 if ac_fn_c_try_link "$LINENO"; then :
8516 ac_cv_c_dll_gnuelf="yes"
8517 else
8518 ac_cv_c_dll_gnuelf="no"
8520 rm -f core conftest.err conftest.$ac_objext \
8521 conftest$ac_exeext conftest.$ac_ext
8522 CFLAGS=$ac_wine_try_cflags_saved
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8525 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8526 if test "$ac_cv_c_dll_gnuelf" = "yes"
8527 then
8528 LIBWINE_LDFLAGS="-shared"
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8530 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8531 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8532 $as_echo_n "(cached) " >&6
8533 else
8534 ac_wine_try_cflags_saved=$CFLAGS
8535 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8538 int main(int argc, char **argv) { return 0; }
8539 _ACEOF
8540 if ac_fn_c_try_link "$LINENO"; then :
8541 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8542 else
8543 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8545 rm -f core conftest.err conftest.$ac_objext \
8546 conftest$ac_exeext conftest.$ac_ext
8547 CFLAGS=$ac_wine_try_cflags_saved
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8550 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8551 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8552 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8553 else
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8555 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8556 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8557 $as_echo_n "(cached) " >&6
8558 else
8559 ac_wine_try_cflags_saved=$CFLAGS
8560 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8563 int main(int argc, char **argv) { return 0; }
8564 _ACEOF
8565 if ac_fn_c_try_link "$LINENO"; then :
8566 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8567 else
8568 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8570 rm -f core conftest.err conftest.$ac_objext \
8571 conftest$ac_exeext conftest.$ac_ext
8572 CFLAGS=$ac_wine_try_cflags_saved
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8575 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8576 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8577 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8581 echo '{ global: *; };' >conftest.map
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8583 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8584 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8585 $as_echo_n "(cached) " >&6
8586 else
8587 ac_wine_try_cflags_saved=$CFLAGS
8588 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8590 /* end confdefs.h. */
8591 int main(int argc, char **argv) { return 0; }
8592 _ACEOF
8593 if ac_fn_c_try_link "$LINENO"; then :
8594 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8595 else
8596 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8598 rm -f core conftest.err conftest.$ac_objext \
8599 conftest$ac_exeext conftest.$ac_ext
8600 CFLAGS=$ac_wine_try_cflags_saved
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8603 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8604 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8605 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8607 rm -f conftest.map
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8610 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8611 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8612 $as_echo_n "(cached) " >&6
8613 else
8614 ac_wine_try_cflags_saved=$CFLAGS
8615 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8617 /* end confdefs.h. */
8618 int main(int argc, char **argv) { return 0; }
8619 _ACEOF
8620 if ac_fn_c_try_link "$LINENO"; then :
8621 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8622 else
8623 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8625 rm -f core conftest.err conftest.$ac_objext \
8626 conftest$ac_exeext conftest.$ac_ext
8627 CFLAGS=$ac_wine_try_cflags_saved
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8630 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8631 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8632 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8635 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8637 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8638 if eval \${$as_ac_var+:} false; then :
8639 $as_echo_n "(cached) " >&6
8640 else
8641 ac_wine_try_cflags_saved=$CFLAGS
8642 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8644 /* end confdefs.h. */
8645 int main(int argc, char **argv) { return 0; }
8646 _ACEOF
8647 if ac_fn_c_try_link "$LINENO"; then :
8648 eval "$as_ac_var=yes"
8649 else
8650 eval "$as_ac_var=no"
8652 rm -f core conftest.err conftest.$ac_objext \
8653 conftest$ac_exeext conftest.$ac_ext
8654 CFLAGS=$ac_wine_try_cflags_saved
8656 eval ac_res=\$$as_ac_var
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8658 $as_echo "$ac_res" >&6; }
8659 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8660 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8661 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8662 else
8663 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8665 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8666 if eval \${$as_ac_var+:} false; then :
8667 $as_echo_n "(cached) " >&6
8668 else
8669 ac_wine_try_cflags_saved=$CFLAGS
8670 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8672 /* end confdefs.h. */
8673 int main(int argc, char **argv) { return 0; }
8674 _ACEOF
8675 if ac_fn_c_try_link "$LINENO"; then :
8676 eval "$as_ac_var=yes"
8677 else
8678 eval "$as_ac_var=no"
8680 rm -f core conftest.err conftest.$ac_objext \
8681 conftest$ac_exeext conftest.$ac_ext
8682 CFLAGS=$ac_wine_try_cflags_saved
8684 eval ac_res=\$$as_ac_var
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8686 $as_echo "$ac_res" >&6; }
8687 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8688 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8689 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8694 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8695 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8696 $as_echo_n "(cached) " >&6
8697 else
8698 ac_wine_try_cflags_saved=$CFLAGS
8699 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8701 /* end confdefs.h. */
8702 int main(int argc, char **argv) { return 0; }
8703 _ACEOF
8704 if ac_fn_c_try_link "$LINENO"; then :
8705 ac_cv_cflags__Wl___enable_new_dtags=yes
8706 else
8707 ac_cv_cflags__Wl___enable_new_dtags=no
8709 rm -f core conftest.err conftest.$ac_objext \
8710 conftest$ac_exeext conftest.$ac_ext
8711 CFLAGS=$ac_wine_try_cflags_saved
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8714 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8715 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8716 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8719 case $host_cpu in
8720 *i[3456789]86* | x86_64)
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8722 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8723 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8724 $as_echo_n "(cached) " >&6
8725 else
8726 ac_wine_try_cflags_saved=$CFLAGS
8727 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8729 /* end confdefs.h. */
8730 int main(int argc, char **argv) { return 0; }
8731 _ACEOF
8732 if ac_fn_c_try_link "$LINENO"; then :
8733 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8734 else
8735 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8737 rm -f core conftest.err conftest.$ac_objext \
8738 conftest$ac_exeext conftest.$ac_ext
8739 CFLAGS=$ac_wine_try_cflags_saved
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8742 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8743 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8744 case $host_os in
8745 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8746 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8747 esac
8748 else
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8750 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8751 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8752 $as_echo_n "(cached) " >&6
8753 else
8754 ac_wine_try_cflags_saved=$CFLAGS
8755 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8757 /* end confdefs.h. */
8758 int main(int argc, char **argv) { return 0; }
8759 _ACEOF
8760 if ac_fn_c_try_link "$LINENO"; then :
8761 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8762 else
8763 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8765 rm -f core conftest.err conftest.$ac_objext \
8766 conftest$ac_exeext conftest.$ac_ext
8767 CFLAGS=$ac_wine_try_cflags_saved
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8770 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8771 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8772 case $host_os in
8773 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8774 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8775 esac
8777 # Extract the first word of "prelink", so it can be a program name with args.
8778 set dummy prelink; ac_word=$2
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8780 $as_echo_n "checking for $ac_word... " >&6; }
8781 if ${ac_cv_path_PRELINK+:} false; then :
8782 $as_echo_n "(cached) " >&6
8783 else
8784 case $PRELINK in
8785 [\\/]* | ?:[\\/]*)
8786 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8790 for as_dir in /sbin /usr/sbin $PATH
8792 IFS=$as_save_IFS
8793 test -z "$as_dir" && as_dir=.
8794 for ac_exec_ext in '' $ac_executable_extensions; do
8795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8796 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8798 break 2
8800 done
8801 done
8802 IFS=$as_save_IFS
8804 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8806 esac
8808 PRELINK=$ac_cv_path_PRELINK
8809 if test -n "$PRELINK"; then
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8811 $as_echo "$PRELINK" >&6; }
8812 else
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8814 $as_echo "no" >&6; }
8818 if test "x$PRELINK" = xfalse
8819 then
8820 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8824 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8825 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8826 $as_echo_n "(cached) " >&6
8827 else
8828 ac_wine_try_cflags_saved=$CFLAGS
8829 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8831 /* end confdefs.h. */
8832 int main(int argc, char **argv) { return 0; }
8833 _ACEOF
8834 if ac_fn_c_try_link "$LINENO"; then :
8835 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8836 else
8837 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8839 rm -f core conftest.err conftest.$ac_objext \
8840 conftest$ac_exeext conftest.$ac_ext
8841 CFLAGS=$ac_wine_try_cflags_saved
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8844 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8845 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8846 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8849 esac
8851 else
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8853 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8854 if ${ac_cv_c_dll_unixware+:} false; then :
8855 $as_echo_n "(cached) " >&6
8856 else
8857 ac_wine_try_cflags_saved=$CFLAGS
8858 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8860 /* end confdefs.h. */
8861 void myfunc() {}
8862 _ACEOF
8863 if ac_fn_c_try_link "$LINENO"; then :
8864 ac_cv_c_dll_unixware="yes"
8865 else
8866 ac_cv_c_dll_unixware="no"
8868 rm -f core conftest.err conftest.$ac_objext \
8869 conftest$ac_exeext conftest.$ac_ext
8870 CFLAGS=$ac_wine_try_cflags_saved
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8873 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8874 if test "$ac_cv_c_dll_unixware" = "yes"
8875 then
8876 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8879 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8881 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8883 LIBWINE_INSTALL_DEV="libwine.so"
8885 LIBWINE_DEPENDS="wine.map"
8888 esac
8890 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8891 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8892 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8893 enable_winemac_drv=${enable_winemac_drv:-no}
8894 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8896 CROSSTARGET=""
8898 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8899 then
8900 case "$host_cpu" in
8901 arm*)
8902 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8903 i[3456789]86*)
8904 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
8905 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8906 mingw32-gcc" ;;
8907 x86_64)
8908 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
8909 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8911 ac_prefix_list="" ;;
8912 esac
8913 for ac_prog in $ac_prefix_list
8915 # Extract the first word of "$ac_prog", so it can be a program name with args.
8916 set dummy $ac_prog; ac_word=$2
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8918 $as_echo_n "checking for $ac_word... " >&6; }
8919 if ${ac_cv_prog_CROSSCC+:} false; then :
8920 $as_echo_n "(cached) " >&6
8921 else
8922 if test -n "$CROSSCC"; then
8923 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8924 else
8925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8926 for as_dir in $PATH
8928 IFS=$as_save_IFS
8929 test -z "$as_dir" && as_dir=.
8930 for ac_exec_ext in '' $ac_executable_extensions; do
8931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8932 ac_cv_prog_CROSSCC="$ac_prog"
8933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8934 break 2
8936 done
8937 done
8938 IFS=$as_save_IFS
8942 CROSSCC=$ac_cv_prog_CROSSCC
8943 if test -n "$CROSSCC"; then
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8945 $as_echo "$CROSSCC" >&6; }
8946 else
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8948 $as_echo "no" >&6; }
8952 test -n "$CROSSCC" && break
8953 done
8954 test -n "$CROSSCC" || CROSSCC="false"
8956 if test "$CROSSCC" != "false"
8957 then
8958 ac_save_CC="$CC"
8959 CC="$CROSSCC"
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8961 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8963 /* end confdefs.h. */
8966 main ()
8970 return 0;
8972 _ACEOF
8973 if ac_fn_c_try_compile "$LINENO"; then :
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8975 $as_echo "yes" >&6; }
8976 set x $CROSSCC
8977 shift
8978 while test $# -ge 1
8980 case "$1" in
8981 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8982 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8983 esac
8984 shift
8985 done
8986 else
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8988 $as_echo "no" >&6; }
8990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8991 CC="$ac_save_CC"
8996 if test "$ac_cv_header_pthread_h" = "yes"
8997 then
8998 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8999 if test "x$ac_cv_func_pthread_create" = xyes; then :
9001 else
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9003 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9004 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9005 $as_echo_n "(cached) " >&6
9006 else
9007 ac_check_lib_save_LIBS=$LIBS
9008 LIBS="-lpthread $LIBS"
9009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9010 /* end confdefs.h. */
9012 /* Override any GCC internal prototype to avoid an error.
9013 Use char because int might match the return type of a GCC
9014 builtin and then its argument prototype would still apply. */
9015 #ifdef __cplusplus
9016 extern "C"
9017 #endif
9018 char pthread_create ();
9020 main ()
9022 return pthread_create ();
9024 return 0;
9026 _ACEOF
9027 if ac_fn_c_try_link "$LINENO"; then :
9028 ac_cv_lib_pthread_pthread_create=yes
9029 else
9030 ac_cv_lib_pthread_pthread_create=no
9032 rm -f core conftest.err conftest.$ac_objext \
9033 conftest$ac_exeext conftest.$ac_ext
9034 LIBS=$ac_check_lib_save_LIBS
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9037 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9038 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9039 PTHREAD_LIBS="-lpthread"
9046 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9047 case "x$with_pthread" in
9048 xno) ;;
9049 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9050 Wine cannot support threads without libpthread.
9051 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9052 esac
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9058 $as_echo_n "checking for X... " >&6; }
9061 # Check whether --with-x was given.
9062 if test "${with_x+set}" = set; then :
9063 withval=$with_x;
9066 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9067 if test "x$with_x" = xno; then
9068 # The user explicitly disabled X.
9069 have_x=disabled
9070 else
9071 case $x_includes,$x_libraries in #(
9072 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9073 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9074 $as_echo_n "(cached) " >&6
9075 else
9076 # One or both of the vars are not set, and there is no cached value.
9077 ac_x_includes=no ac_x_libraries=no
9078 rm -f -r conftest.dir
9079 if mkdir conftest.dir; then
9080 cd conftest.dir
9081 cat >Imakefile <<'_ACEOF'
9082 incroot:
9083 @echo incroot='${INCROOT}'
9084 usrlibdir:
9085 @echo usrlibdir='${USRLIBDIR}'
9086 libdir:
9087 @echo libdir='${LIBDIR}'
9088 _ACEOF
9089 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9090 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9091 for ac_var in incroot usrlibdir libdir; do
9092 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9093 done
9094 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9095 for ac_extension in a so sl dylib la dll; do
9096 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9097 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9098 ac_im_usrlibdir=$ac_im_libdir; break
9100 done
9101 # Screen out bogus values from the imake configuration. They are
9102 # bogus both because they are the default anyway, and because
9103 # using them would break gcc on systems where it needs fixed includes.
9104 case $ac_im_incroot in
9105 /usr/include) ac_x_includes= ;;
9106 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9107 esac
9108 case $ac_im_usrlibdir in
9109 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9110 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9111 esac
9113 cd ..
9114 rm -f -r conftest.dir
9117 # Standard set of common directories for X headers.
9118 # Check X11 before X11Rn because it is often a symlink to the current release.
9119 ac_x_header_dirs='
9120 /usr/X11/include
9121 /usr/X11R7/include
9122 /usr/X11R6/include
9123 /usr/X11R5/include
9124 /usr/X11R4/include
9126 /usr/include/X11
9127 /usr/include/X11R7
9128 /usr/include/X11R6
9129 /usr/include/X11R5
9130 /usr/include/X11R4
9132 /usr/local/X11/include
9133 /usr/local/X11R7/include
9134 /usr/local/X11R6/include
9135 /usr/local/X11R5/include
9136 /usr/local/X11R4/include
9138 /usr/local/include/X11
9139 /usr/local/include/X11R7
9140 /usr/local/include/X11R6
9141 /usr/local/include/X11R5
9142 /usr/local/include/X11R4
9144 /usr/X386/include
9145 /usr/x386/include
9146 /usr/XFree86/include/X11
9148 /usr/include
9149 /usr/local/include
9150 /usr/unsupported/include
9151 /usr/athena/include
9152 /usr/local/x11r5/include
9153 /usr/lpp/Xamples/include
9155 /usr/openwin/include
9156 /usr/openwin/share/include'
9158 if test "$ac_x_includes" = no; then
9159 # Guess where to find include files, by looking for Xlib.h.
9160 # First, try using that file with no special directory specified.
9161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9162 /* end confdefs.h. */
9163 #include <X11/Xlib.h>
9164 _ACEOF
9165 if ac_fn_c_try_cpp "$LINENO"; then :
9166 # We can compile using X headers with no special include directory.
9167 ac_x_includes=
9168 else
9169 for ac_dir in $ac_x_header_dirs; do
9170 if test -r "$ac_dir/X11/Xlib.h"; then
9171 ac_x_includes=$ac_dir
9172 break
9174 done
9176 rm -f conftest.err conftest.i conftest.$ac_ext
9177 fi # $ac_x_includes = no
9179 if test "$ac_x_libraries" = no; then
9180 # Check for the libraries.
9181 # See if we find them without any special options.
9182 # Don't add to $LIBS permanently.
9183 ac_save_LIBS=$LIBS
9184 LIBS="-lX11 $LIBS"
9185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9187 #include <X11/Xlib.h>
9189 main ()
9191 XrmInitialize ()
9193 return 0;
9195 _ACEOF
9196 if ac_fn_c_try_link "$LINENO"; then :
9197 LIBS=$ac_save_LIBS
9198 # We can link X programs with no special library path.
9199 ac_x_libraries=
9200 else
9201 LIBS=$ac_save_LIBS
9202 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9204 # Don't even attempt the hair of trying to link an X program!
9205 for ac_extension in a so sl dylib la dll; do
9206 if test -r "$ac_dir/libX11.$ac_extension"; then
9207 ac_x_libraries=$ac_dir
9208 break 2
9210 done
9211 done
9213 rm -f core conftest.err conftest.$ac_objext \
9214 conftest$ac_exeext conftest.$ac_ext
9215 fi # $ac_x_libraries = no
9217 case $ac_x_includes,$ac_x_libraries in #(
9218 no,* | *,no | *\'*)
9219 # Didn't find X, or a directory has "'" in its name.
9220 ac_cv_have_x="have_x=no";; #(
9222 # Record where we found X for the cache.
9223 ac_cv_have_x="have_x=yes\
9224 ac_x_includes='$ac_x_includes'\
9225 ac_x_libraries='$ac_x_libraries'"
9226 esac
9228 ;; #(
9229 *) have_x=yes;;
9230 esac
9231 eval "$ac_cv_have_x"
9232 fi # $with_x != no
9234 if test "$have_x" != yes; then
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9236 $as_echo "$have_x" >&6; }
9237 no_x=yes
9238 else
9239 # If each of the values was on the command line, it overrides each guess.
9240 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9241 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9242 # Update the cache value to reflect the command line values.
9243 ac_cv_have_x="have_x=yes\
9244 ac_x_includes='$x_includes'\
9245 ac_x_libraries='$x_libraries'"
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9247 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9250 if test "$no_x" = yes; then
9251 # Not all programs may use this symbol, but it does not hurt to define it.
9253 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9255 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9256 else
9257 if test -n "$x_includes"; then
9258 X_CFLAGS="$X_CFLAGS -I$x_includes"
9261 # It would also be nice to do this for all -L options, not just this one.
9262 if test -n "$x_libraries"; then
9263 X_LIBS="$X_LIBS -L$x_libraries"
9264 # For Solaris; some versions of Sun CC require a space after -R and
9265 # others require no space. Words are not sufficient . . . .
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9267 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9268 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9269 ac_xsave_c_werror_flag=$ac_c_werror_flag
9270 ac_c_werror_flag=yes
9271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9272 /* end confdefs.h. */
9275 main ()
9279 return 0;
9281 _ACEOF
9282 if ac_fn_c_try_link "$LINENO"; then :
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9284 $as_echo "no" >&6; }
9285 X_LIBS="$X_LIBS -R$x_libraries"
9286 else
9287 LIBS="$ac_xsave_LIBS -R $x_libraries"
9288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9289 /* end confdefs.h. */
9292 main ()
9296 return 0;
9298 _ACEOF
9299 if ac_fn_c_try_link "$LINENO"; then :
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9301 $as_echo "yes" >&6; }
9302 X_LIBS="$X_LIBS -R $x_libraries"
9303 else
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9305 $as_echo "neither works" >&6; }
9307 rm -f core conftest.err conftest.$ac_objext \
9308 conftest$ac_exeext conftest.$ac_ext
9310 rm -f core conftest.err conftest.$ac_objext \
9311 conftest$ac_exeext conftest.$ac_ext
9312 ac_c_werror_flag=$ac_xsave_c_werror_flag
9313 LIBS=$ac_xsave_LIBS
9316 # Check for system-dependent libraries X programs must link with.
9317 # Do this before checking for the system-independent R6 libraries
9318 # (-lICE), since we may need -lsocket or whatever for X linking.
9320 if test "$ISC" = yes; then
9321 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9322 else
9323 # Martyn Johnson says this is needed for Ultrix, if the X
9324 # libraries were built with DECnet support. And Karl Berry says
9325 # the Alpha needs dnet_stub (dnet does not exist).
9326 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9328 /* end confdefs.h. */
9330 /* Override any GCC internal prototype to avoid an error.
9331 Use char because int might match the return type of a GCC
9332 builtin and then its argument prototype would still apply. */
9333 #ifdef __cplusplus
9334 extern "C"
9335 #endif
9336 char XOpenDisplay ();
9338 main ()
9340 return XOpenDisplay ();
9342 return 0;
9344 _ACEOF
9345 if ac_fn_c_try_link "$LINENO"; then :
9347 else
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9349 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9350 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9351 $as_echo_n "(cached) " >&6
9352 else
9353 ac_check_lib_save_LIBS=$LIBS
9354 LIBS="-ldnet $LIBS"
9355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9356 /* end confdefs.h. */
9358 /* Override any GCC internal prototype to avoid an error.
9359 Use char because int might match the return type of a GCC
9360 builtin and then its argument prototype would still apply. */
9361 #ifdef __cplusplus
9362 extern "C"
9363 #endif
9364 char dnet_ntoa ();
9366 main ()
9368 return dnet_ntoa ();
9370 return 0;
9372 _ACEOF
9373 if ac_fn_c_try_link "$LINENO"; then :
9374 ac_cv_lib_dnet_dnet_ntoa=yes
9375 else
9376 ac_cv_lib_dnet_dnet_ntoa=no
9378 rm -f core conftest.err conftest.$ac_objext \
9379 conftest$ac_exeext conftest.$ac_ext
9380 LIBS=$ac_check_lib_save_LIBS
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9383 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9384 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9385 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9388 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9390 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9391 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9392 $as_echo_n "(cached) " >&6
9393 else
9394 ac_check_lib_save_LIBS=$LIBS
9395 LIBS="-ldnet_stub $LIBS"
9396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9397 /* end confdefs.h. */
9399 /* Override any GCC internal prototype to avoid an error.
9400 Use char because int might match the return type of a GCC
9401 builtin and then its argument prototype would still apply. */
9402 #ifdef __cplusplus
9403 extern "C"
9404 #endif
9405 char dnet_ntoa ();
9407 main ()
9409 return dnet_ntoa ();
9411 return 0;
9413 _ACEOF
9414 if ac_fn_c_try_link "$LINENO"; then :
9415 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9416 else
9417 ac_cv_lib_dnet_stub_dnet_ntoa=no
9419 rm -f core conftest.err conftest.$ac_objext \
9420 conftest$ac_exeext conftest.$ac_ext
9421 LIBS=$ac_check_lib_save_LIBS
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9424 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9425 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9426 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9431 rm -f core conftest.err conftest.$ac_objext \
9432 conftest$ac_exeext conftest.$ac_ext
9433 LIBS="$ac_xsave_LIBS"
9435 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9436 # to get the SysV transport functions.
9437 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9438 # needs -lnsl.
9439 # The nsl library prevents programs from opening the X display
9440 # on Irix 5.2, according to T.E. Dickey.
9441 # The functions gethostbyname, getservbyname, and inet_addr are
9442 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9443 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9444 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9448 if test $ac_cv_func_gethostbyname = no; then
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9450 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9451 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9452 $as_echo_n "(cached) " >&6
9453 else
9454 ac_check_lib_save_LIBS=$LIBS
9455 LIBS="-lnsl $LIBS"
9456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9457 /* end confdefs.h. */
9459 /* Override any GCC internal prototype to avoid an error.
9460 Use char because int might match the return type of a GCC
9461 builtin and then its argument prototype would still apply. */
9462 #ifdef __cplusplus
9463 extern "C"
9464 #endif
9465 char gethostbyname ();
9467 main ()
9469 return gethostbyname ();
9471 return 0;
9473 _ACEOF
9474 if ac_fn_c_try_link "$LINENO"; then :
9475 ac_cv_lib_nsl_gethostbyname=yes
9476 else
9477 ac_cv_lib_nsl_gethostbyname=no
9479 rm -f core conftest.err conftest.$ac_objext \
9480 conftest$ac_exeext conftest.$ac_ext
9481 LIBS=$ac_check_lib_save_LIBS
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9484 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9485 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9486 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9489 if test $ac_cv_lib_nsl_gethostbyname = no; then
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9491 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9492 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9493 $as_echo_n "(cached) " >&6
9494 else
9495 ac_check_lib_save_LIBS=$LIBS
9496 LIBS="-lbsd $LIBS"
9497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9498 /* end confdefs.h. */
9500 /* Override any GCC internal prototype to avoid an error.
9501 Use char because int might match the return type of a GCC
9502 builtin and then its argument prototype would still apply. */
9503 #ifdef __cplusplus
9504 extern "C"
9505 #endif
9506 char gethostbyname ();
9508 main ()
9510 return gethostbyname ();
9512 return 0;
9514 _ACEOF
9515 if ac_fn_c_try_link "$LINENO"; then :
9516 ac_cv_lib_bsd_gethostbyname=yes
9517 else
9518 ac_cv_lib_bsd_gethostbyname=no
9520 rm -f core conftest.err conftest.$ac_objext \
9521 conftest$ac_exeext conftest.$ac_ext
9522 LIBS=$ac_check_lib_save_LIBS
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9525 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9526 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9527 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9533 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9534 # socket/setsockopt and other routines are undefined under SCO ODT
9535 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9536 # on later versions), says Simon Leinen: it contains gethostby*
9537 # variants that don't use the name server (or something). -lsocket
9538 # must be given before -lnsl if both are needed. We assume that
9539 # if connect needs -lnsl, so does gethostbyname.
9540 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9541 if test "x$ac_cv_func_connect" = xyes; then :
9545 if test $ac_cv_func_connect = no; then
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9547 $as_echo_n "checking for connect in -lsocket... " >&6; }
9548 if ${ac_cv_lib_socket_connect+:} false; then :
9549 $as_echo_n "(cached) " >&6
9550 else
9551 ac_check_lib_save_LIBS=$LIBS
9552 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9554 /* end confdefs.h. */
9556 /* Override any GCC internal prototype to avoid an error.
9557 Use char because int might match the return type of a GCC
9558 builtin and then its argument prototype would still apply. */
9559 #ifdef __cplusplus
9560 extern "C"
9561 #endif
9562 char connect ();
9564 main ()
9566 return connect ();
9568 return 0;
9570 _ACEOF
9571 if ac_fn_c_try_link "$LINENO"; then :
9572 ac_cv_lib_socket_connect=yes
9573 else
9574 ac_cv_lib_socket_connect=no
9576 rm -f core conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9578 LIBS=$ac_check_lib_save_LIBS
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9581 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9582 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9583 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9588 # Guillermo Gomez says -lposix is necessary on A/UX.
9589 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9590 if test "x$ac_cv_func_remove" = xyes; then :
9594 if test $ac_cv_func_remove = no; then
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9596 $as_echo_n "checking for remove in -lposix... " >&6; }
9597 if ${ac_cv_lib_posix_remove+:} false; then :
9598 $as_echo_n "(cached) " >&6
9599 else
9600 ac_check_lib_save_LIBS=$LIBS
9601 LIBS="-lposix $LIBS"
9602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9603 /* end confdefs.h. */
9605 /* Override any GCC internal prototype to avoid an error.
9606 Use char because int might match the return type of a GCC
9607 builtin and then its argument prototype would still apply. */
9608 #ifdef __cplusplus
9609 extern "C"
9610 #endif
9611 char remove ();
9613 main ()
9615 return remove ();
9617 return 0;
9619 _ACEOF
9620 if ac_fn_c_try_link "$LINENO"; then :
9621 ac_cv_lib_posix_remove=yes
9622 else
9623 ac_cv_lib_posix_remove=no
9625 rm -f core conftest.err conftest.$ac_objext \
9626 conftest$ac_exeext conftest.$ac_ext
9627 LIBS=$ac_check_lib_save_LIBS
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9630 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9631 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9632 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9637 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9638 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9639 if test "x$ac_cv_func_shmat" = xyes; then :
9643 if test $ac_cv_func_shmat = no; then
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9645 $as_echo_n "checking for shmat in -lipc... " >&6; }
9646 if ${ac_cv_lib_ipc_shmat+:} false; then :
9647 $as_echo_n "(cached) " >&6
9648 else
9649 ac_check_lib_save_LIBS=$LIBS
9650 LIBS="-lipc $LIBS"
9651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9652 /* end confdefs.h. */
9654 /* Override any GCC internal prototype to avoid an error.
9655 Use char because int might match the return type of a GCC
9656 builtin and then its argument prototype would still apply. */
9657 #ifdef __cplusplus
9658 extern "C"
9659 #endif
9660 char shmat ();
9662 main ()
9664 return shmat ();
9666 return 0;
9668 _ACEOF
9669 if ac_fn_c_try_link "$LINENO"; then :
9670 ac_cv_lib_ipc_shmat=yes
9671 else
9672 ac_cv_lib_ipc_shmat=no
9674 rm -f core conftest.err conftest.$ac_objext \
9675 conftest$ac_exeext conftest.$ac_ext
9676 LIBS=$ac_check_lib_save_LIBS
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9679 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9680 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9681 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9687 # Check for libraries that X11R6 Xt/Xaw programs need.
9688 ac_save_LDFLAGS=$LDFLAGS
9689 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9690 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9691 # check for ICE first), but we must link in the order -lSM -lICE or
9692 # we get undefined symbols. So assume we have SM if we have ICE.
9693 # These have to be linked with before -lX11, unlike the other
9694 # libraries we check for below, so use a different variable.
9695 # John Interrante, Karl Berry
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9697 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9698 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9699 $as_echo_n "(cached) " >&6
9700 else
9701 ac_check_lib_save_LIBS=$LIBS
9702 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9704 /* end confdefs.h. */
9706 /* Override any GCC internal prototype to avoid an error.
9707 Use char because int might match the return type of a GCC
9708 builtin and then its argument prototype would still apply. */
9709 #ifdef __cplusplus
9710 extern "C"
9711 #endif
9712 char IceConnectionNumber ();
9714 main ()
9716 return IceConnectionNumber ();
9718 return 0;
9720 _ACEOF
9721 if ac_fn_c_try_link "$LINENO"; then :
9722 ac_cv_lib_ICE_IceConnectionNumber=yes
9723 else
9724 ac_cv_lib_ICE_IceConnectionNumber=no
9726 rm -f core conftest.err conftest.$ac_objext \
9727 conftest$ac_exeext conftest.$ac_ext
9728 LIBS=$ac_check_lib_save_LIBS
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9731 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9732 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9733 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9736 LDFLAGS=$ac_save_LDFLAGS
9741 if test "$have_x" = "yes"
9742 then
9743 ac_save_CPPFLAGS="$CPPFLAGS"
9744 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9747 $as_echo_n "checking for -lX11... " >&6; }
9748 if ${ac_cv_lib_soname_X11+:} false; then :
9749 $as_echo_n "(cached) " >&6
9750 else
9751 ac_check_soname_save_LIBS=$LIBS
9752 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9754 /* end confdefs.h. */
9756 /* Override any GCC internal prototype to avoid an error.
9757 Use char because int might match the return type of a GCC
9758 builtin and then its argument prototype would still apply. */
9759 #ifdef __cplusplus
9760 extern "C"
9761 #endif
9762 char XCreateWindow ();
9764 main ()
9766 return XCreateWindow ();
9768 return 0;
9770 _ACEOF
9771 if ac_fn_c_try_link "$LINENO"; then :
9772 case "$LIBEXT" in
9773 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9774 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'` ;;
9775 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9776 if ${ac_cv_lib_soname_X11:+false} :; then :
9777 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9778 fi ;;
9779 esac
9781 rm -f core conftest.err conftest.$ac_objext \
9782 conftest$ac_exeext conftest.$ac_ext
9783 LIBS=$ac_check_soname_save_LIBS
9785 if ${ac_cv_lib_soname_X11:+false} :; then :
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9787 $as_echo "not found" >&6; }
9789 else
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9791 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9793 cat >>confdefs.h <<_ACEOF
9794 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9795 _ACEOF
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9800 $as_echo_n "checking for -lXext... " >&6; }
9801 if ${ac_cv_lib_soname_Xext+:} false; then :
9802 $as_echo_n "(cached) " >&6
9803 else
9804 ac_check_soname_save_LIBS=$LIBS
9805 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9807 /* end confdefs.h. */
9809 /* Override any GCC internal prototype to avoid an error.
9810 Use char because int might match the return type of a GCC
9811 builtin and then its argument prototype would still apply. */
9812 #ifdef __cplusplus
9813 extern "C"
9814 #endif
9815 char XextCreateExtension ();
9817 main ()
9819 return XextCreateExtension ();
9821 return 0;
9823 _ACEOF
9824 if ac_fn_c_try_link "$LINENO"; then :
9825 case "$LIBEXT" in
9826 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9827 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'` ;;
9828 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9829 if ${ac_cv_lib_soname_Xext:+false} :; then :
9830 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9831 fi ;;
9832 esac
9834 rm -f core conftest.err conftest.$ac_objext \
9835 conftest$ac_exeext conftest.$ac_ext
9836 LIBS=$ac_check_soname_save_LIBS
9838 if ${ac_cv_lib_soname_Xext:+false} :; then :
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9840 $as_echo "not found" >&6; }
9842 else
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9844 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9846 cat >>confdefs.h <<_ACEOF
9847 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9848 _ACEOF
9850 X_LIBS="$X_LIBS -lXext"
9852 X_LIBS="$X_LIBS -lX11"
9854 for ac_header in X11/Xlib.h \
9855 X11/XKBlib.h \
9856 X11/Xutil.h \
9857 X11/Xcursor/Xcursor.h \
9858 X11/extensions/shape.h \
9859 X11/extensions/XInput.h \
9860 X11/extensions/XInput2.h \
9861 X11/extensions/XShm.h \
9862 X11/extensions/Xcomposite.h \
9863 X11/extensions/Xfixes.h \
9864 X11/extensions/Xinerama.h \
9865 X11/extensions/Xrandr.h \
9866 X11/extensions/Xrender.h \
9867 X11/extensions/xf86vmode.h \
9868 X11/extensions/xf86vmproto.h
9869 do :
9870 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9871 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9872 # include <X11/Xlib.h>
9873 #endif
9874 #ifdef HAVE_X11_XUTIL_H
9875 # include <X11/Xutil.h>
9876 #endif
9878 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9879 cat >>confdefs.h <<_ACEOF
9880 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9881 _ACEOF
9885 done
9888 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9889 then
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9891 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9892 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9893 $as_echo_n "(cached) " >&6
9894 else
9895 ac_check_lib_save_LIBS=$LIBS
9896 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9898 /* end confdefs.h. */
9900 /* Override any GCC internal prototype to avoid an error.
9901 Use char because int might match the return type of a GCC
9902 builtin and then its argument prototype would still apply. */
9903 #ifdef __cplusplus
9904 extern "C"
9905 #endif
9906 char XkbQueryExtension ();
9908 main ()
9910 return XkbQueryExtension ();
9912 return 0;
9914 _ACEOF
9915 if ac_fn_c_try_link "$LINENO"; then :
9916 ac_cv_lib_X11_XkbQueryExtension=yes
9917 else
9918 ac_cv_lib_X11_XkbQueryExtension=no
9920 rm -f core conftest.err conftest.$ac_objext \
9921 conftest$ac_exeext conftest.$ac_ext
9922 LIBS=$ac_check_lib_save_LIBS
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9925 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9926 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9928 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9934 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9935 then
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9937 $as_echo_n "checking for -lXcursor... " >&6; }
9938 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9939 $as_echo_n "(cached) " >&6
9940 else
9941 ac_check_soname_save_LIBS=$LIBS
9942 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9946 /* Override any GCC internal prototype to avoid an error.
9947 Use char because int might match the return type of a GCC
9948 builtin and then its argument prototype would still apply. */
9949 #ifdef __cplusplus
9950 extern "C"
9951 #endif
9952 char XcursorImageLoadCursor ();
9954 main ()
9956 return XcursorImageLoadCursor ();
9958 return 0;
9960 _ACEOF
9961 if ac_fn_c_try_link "$LINENO"; then :
9962 case "$LIBEXT" in
9963 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9964 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'` ;;
9965 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9966 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9967 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9968 fi ;;
9969 esac
9971 rm -f core conftest.err conftest.$ac_objext \
9972 conftest$ac_exeext conftest.$ac_ext
9973 LIBS=$ac_check_soname_save_LIBS
9975 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9977 $as_echo "not found" >&6; }
9979 else
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9981 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9983 cat >>confdefs.h <<_ACEOF
9984 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9985 _ACEOF
9990 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9991 case "x$with_xcursor" in
9992 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9993 xno) ;;
9994 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9995 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9996 esac
10000 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10001 then
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10003 $as_echo_n "checking for -lXi... " >&6; }
10004 if ${ac_cv_lib_soname_Xi+:} false; then :
10005 $as_echo_n "(cached) " >&6
10006 else
10007 ac_check_soname_save_LIBS=$LIBS
10008 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10010 /* end confdefs.h. */
10012 /* Override any GCC internal prototype to avoid an error.
10013 Use char because int might match the return type of a GCC
10014 builtin and then its argument prototype would still apply. */
10015 #ifdef __cplusplus
10016 extern "C"
10017 #endif
10018 char XOpenDevice ();
10020 main ()
10022 return XOpenDevice ();
10024 return 0;
10026 _ACEOF
10027 if ac_fn_c_try_link "$LINENO"; then :
10028 case "$LIBEXT" in
10029 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10030 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'` ;;
10031 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10032 if ${ac_cv_lib_soname_Xi:+false} :; then :
10033 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10034 fi ;;
10035 esac
10037 rm -f core conftest.err conftest.$ac_objext \
10038 conftest$ac_exeext conftest.$ac_ext
10039 LIBS=$ac_check_soname_save_LIBS
10041 if ${ac_cv_lib_soname_Xi:+false} :; then :
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10043 $as_echo "not found" >&6; }
10045 else
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10047 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10049 cat >>confdefs.h <<_ACEOF
10050 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10051 _ACEOF
10056 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10057 case "x$with_xinput" in
10058 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10059 xno) ;;
10060 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10061 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10062 esac
10066 if test "x$ac_cv_lib_soname_Xi" != x
10067 then
10068 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10069 case "x$with_xinput2" in
10070 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10071 xno) ;;
10072 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10073 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10074 esac
10079 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10080 then
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10082 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10083 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10084 $as_echo_n "(cached) " >&6
10085 else
10086 ac_check_lib_save_LIBS=$LIBS
10087 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10091 /* Override any GCC internal prototype to avoid an error.
10092 Use char because int might match the return type of a GCC
10093 builtin and then its argument prototype would still apply. */
10094 #ifdef __cplusplus
10095 extern "C"
10096 #endif
10097 char XShmQueryExtension ();
10099 main ()
10101 return XShmQueryExtension ();
10103 return 0;
10105 _ACEOF
10106 if ac_fn_c_try_link "$LINENO"; then :
10107 ac_cv_lib_Xext_XShmQueryExtension=yes
10108 else
10109 ac_cv_lib_Xext_XShmQueryExtension=no
10111 rm -f core conftest.err conftest.$ac_objext \
10112 conftest$ac_exeext conftest.$ac_ext
10113 LIBS=$ac_check_lib_save_LIBS
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10116 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10117 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10119 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10124 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10125 case "x$with_xshm" in
10126 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10127 xno) ;;
10128 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10129 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10130 esac
10134 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10135 then
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10137 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10138 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10139 $as_echo_n "(cached) " >&6
10140 else
10141 ac_check_lib_save_LIBS=$LIBS
10142 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10144 /* end confdefs.h. */
10146 /* Override any GCC internal prototype to avoid an error.
10147 Use char because int might match the return type of a GCC
10148 builtin and then its argument prototype would still apply. */
10149 #ifdef __cplusplus
10150 extern "C"
10151 #endif
10152 char XShapeQueryExtension ();
10154 main ()
10156 return XShapeQueryExtension ();
10158 return 0;
10160 _ACEOF
10161 if ac_fn_c_try_link "$LINENO"; then :
10162 ac_cv_lib_Xext_XShapeQueryExtension=yes
10163 else
10164 ac_cv_lib_Xext_XShapeQueryExtension=no
10166 rm -f core conftest.err conftest.$ac_objext \
10167 conftest$ac_exeext conftest.$ac_ext
10168 LIBS=$ac_check_lib_save_LIBS
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10171 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10172 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10174 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10179 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10180 case "x$with_xshape" in
10181 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10182 xno) ;;
10183 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10184 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10185 esac
10189 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10190 then
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10192 $as_echo_n "checking for -lXxf86vm... " >&6; }
10193 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10194 $as_echo_n "(cached) " >&6
10195 else
10196 ac_check_soname_save_LIBS=$LIBS
10197 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10199 /* end confdefs.h. */
10201 /* Override any GCC internal prototype to avoid an error.
10202 Use char because int might match the return type of a GCC
10203 builtin and then its argument prototype would still apply. */
10204 #ifdef __cplusplus
10205 extern "C"
10206 #endif
10207 char XF86VidModeQueryExtension ();
10209 main ()
10211 return XF86VidModeQueryExtension ();
10213 return 0;
10215 _ACEOF
10216 if ac_fn_c_try_link "$LINENO"; then :
10217 case "$LIBEXT" in
10218 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10219 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'` ;;
10220 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10221 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10222 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10223 fi ;;
10224 esac
10226 rm -f core conftest.err conftest.$ac_objext \
10227 conftest$ac_exeext conftest.$ac_ext
10228 LIBS=$ac_check_soname_save_LIBS
10230 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10232 $as_echo "not found" >&6; }
10234 else
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10236 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10238 cat >>confdefs.h <<_ACEOF
10239 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10240 _ACEOF
10245 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10246 case "x$with_xxf86vm" in
10247 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10248 xno) ;;
10249 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10250 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10251 esac
10255 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10256 then
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10258 $as_echo_n "checking for -lXrender... " >&6; }
10259 if ${ac_cv_lib_soname_Xrender+:} false; then :
10260 $as_echo_n "(cached) " >&6
10261 else
10262 ac_check_soname_save_LIBS=$LIBS
10263 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10265 /* end confdefs.h. */
10267 /* Override any GCC internal prototype to avoid an error.
10268 Use char because int might match the return type of a GCC
10269 builtin and then its argument prototype would still apply. */
10270 #ifdef __cplusplus
10271 extern "C"
10272 #endif
10273 char XRenderQueryExtension ();
10275 main ()
10277 return XRenderQueryExtension ();
10279 return 0;
10281 _ACEOF
10282 if ac_fn_c_try_link "$LINENO"; then :
10283 case "$LIBEXT" in
10284 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10285 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'` ;;
10286 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10287 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10288 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10289 fi ;;
10290 esac
10292 rm -f core conftest.err conftest.$ac_objext \
10293 conftest$ac_exeext conftest.$ac_ext
10294 LIBS=$ac_check_soname_save_LIBS
10296 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10298 $as_echo "not found" >&6; }
10300 else
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10302 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10304 cat >>confdefs.h <<_ACEOF
10305 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10306 _ACEOF
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10309 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10310 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10311 $as_echo_n "(cached) " >&6
10312 else
10313 ac_check_lib_save_LIBS=$LIBS
10314 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10318 /* Override any GCC internal prototype to avoid an error.
10319 Use char because int might match the return type of a GCC
10320 builtin and then its argument prototype would still apply. */
10321 #ifdef __cplusplus
10322 extern "C"
10323 #endif
10324 char XRenderSetPictureTransform ();
10326 main ()
10328 return XRenderSetPictureTransform ();
10330 return 0;
10332 _ACEOF
10333 if ac_fn_c_try_link "$LINENO"; then :
10334 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10335 else
10336 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10338 rm -f core conftest.err conftest.$ac_objext \
10339 conftest$ac_exeext conftest.$ac_ext
10340 LIBS=$ac_check_lib_save_LIBS
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10343 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10344 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10346 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10351 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10352 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10353 $as_echo_n "(cached) " >&6
10354 else
10355 ac_check_lib_save_LIBS=$LIBS
10356 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10360 /* Override any GCC internal prototype to avoid an error.
10361 Use char because int might match the return type of a GCC
10362 builtin and then its argument prototype would still apply. */
10363 #ifdef __cplusplus
10364 extern "C"
10365 #endif
10366 char XRenderCreateLinearGradient ();
10368 main ()
10370 return XRenderCreateLinearGradient ();
10372 return 0;
10374 _ACEOF
10375 if ac_fn_c_try_link "$LINENO"; then :
10376 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10377 else
10378 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10380 rm -f core conftest.err conftest.$ac_objext \
10381 conftest$ac_exeext conftest.$ac_ext
10382 LIBS=$ac_check_lib_save_LIBS
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10385 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10386 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10388 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10395 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10396 case "x$with_xrender" in
10397 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10398 xno) ;;
10399 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10400 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10401 esac
10405 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10406 then
10407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10408 /* end confdefs.h. */
10409 #include <X11/Xlib.h>
10410 #include <X11/extensions/Xrandr.h>
10412 main ()
10414 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10416 return 0;
10418 _ACEOF
10419 if ac_fn_c_try_compile "$LINENO"; then :
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10421 $as_echo_n "checking for -lXrandr... " >&6; }
10422 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10423 $as_echo_n "(cached) " >&6
10424 else
10425 ac_check_soname_save_LIBS=$LIBS
10426 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10428 /* end confdefs.h. */
10430 /* Override any GCC internal prototype to avoid an error.
10431 Use char because int might match the return type of a GCC
10432 builtin and then its argument prototype would still apply. */
10433 #ifdef __cplusplus
10434 extern "C"
10435 #endif
10436 char XRRQueryExtension ();
10438 main ()
10440 return XRRQueryExtension ();
10442 return 0;
10444 _ACEOF
10445 if ac_fn_c_try_link "$LINENO"; then :
10446 case "$LIBEXT" in
10447 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10448 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'` ;;
10449 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10450 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10451 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10452 fi ;;
10453 esac
10455 rm -f core conftest.err conftest.$ac_objext \
10456 conftest$ac_exeext conftest.$ac_ext
10457 LIBS=$ac_check_soname_save_LIBS
10459 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10461 $as_echo "not found" >&6; }
10463 else
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10465 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10467 cat >>confdefs.h <<_ACEOF
10468 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10469 _ACEOF
10471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10472 /* end confdefs.h. */
10473 #include <X11/Xlib.h>
10474 #include <X11/extensions/Xrandr.h>
10476 main ()
10478 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10480 return 0;
10482 _ACEOF
10483 if ac_fn_c_try_compile "$LINENO"; then :
10485 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10493 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10494 case "x$with_xrandr" in
10495 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10496 xno) ;;
10497 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10498 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10499 esac
10503 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10504 then
10505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10506 /* end confdefs.h. */
10507 #include <X11/Xlib.h>
10508 #include <X11/extensions/Xfixes.h>
10510 main ()
10512 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10514 return 0;
10516 _ACEOF
10517 if ac_fn_c_try_compile "$LINENO"; then :
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10519 $as_echo_n "checking for -lXfixes... " >&6; }
10520 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10521 $as_echo_n "(cached) " >&6
10522 else
10523 ac_check_soname_save_LIBS=$LIBS
10524 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10526 /* end confdefs.h. */
10528 /* Override any GCC internal prototype to avoid an error.
10529 Use char because int might match the return type of a GCC
10530 builtin and then its argument prototype would still apply. */
10531 #ifdef __cplusplus
10532 extern "C"
10533 #endif
10534 char XFixesQueryVersion ();
10536 main ()
10538 return XFixesQueryVersion ();
10540 return 0;
10542 _ACEOF
10543 if ac_fn_c_try_link "$LINENO"; then :
10544 case "$LIBEXT" in
10545 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10546 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'` ;;
10547 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10548 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10549 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10550 fi ;;
10551 esac
10553 rm -f core conftest.err conftest.$ac_objext \
10554 conftest$ac_exeext conftest.$ac_ext
10555 LIBS=$ac_check_soname_save_LIBS
10557 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10559 $as_echo "not found" >&6; }
10561 else
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10563 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10565 cat >>confdefs.h <<_ACEOF
10566 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10567 _ACEOF
10572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10574 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10575 case "x$with_xfixes" in
10576 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10577 xno) ;;
10578 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10579 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10580 esac
10584 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10585 then
10586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10587 /* end confdefs.h. */
10588 #include <X11/Xlib.h>
10589 #include <X11/extensions/Xinerama.h>
10591 main ()
10593 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10595 return 0;
10597 _ACEOF
10598 if ac_fn_c_try_compile "$LINENO"; then :
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10600 $as_echo_n "checking for -lXinerama... " >&6; }
10601 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10602 $as_echo_n "(cached) " >&6
10603 else
10604 ac_check_soname_save_LIBS=$LIBS
10605 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10607 /* end confdefs.h. */
10609 /* Override any GCC internal prototype to avoid an error.
10610 Use char because int might match the return type of a GCC
10611 builtin and then its argument prototype would still apply. */
10612 #ifdef __cplusplus
10613 extern "C"
10614 #endif
10615 char XineramaQueryScreens ();
10617 main ()
10619 return XineramaQueryScreens ();
10621 return 0;
10623 _ACEOF
10624 if ac_fn_c_try_link "$LINENO"; then :
10625 case "$LIBEXT" in
10626 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10627 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'` ;;
10628 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10629 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10630 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10631 fi ;;
10632 esac
10634 rm -f core conftest.err conftest.$ac_objext \
10635 conftest$ac_exeext conftest.$ac_ext
10636 LIBS=$ac_check_soname_save_LIBS
10638 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10640 $as_echo "not found" >&6; }
10642 else
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10644 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10646 cat >>confdefs.h <<_ACEOF
10647 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10648 _ACEOF
10653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10655 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10656 case "x$with_xinerama" in
10657 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10658 xno) ;;
10659 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10660 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10661 esac
10665 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10666 then
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10668 $as_echo_n "checking for -lXcomposite... " >&6; }
10669 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10670 $as_echo_n "(cached) " >&6
10671 else
10672 ac_check_soname_save_LIBS=$LIBS
10673 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10675 /* end confdefs.h. */
10677 /* Override any GCC internal prototype to avoid an error.
10678 Use char because int might match the return type of a GCC
10679 builtin and then its argument prototype would still apply. */
10680 #ifdef __cplusplus
10681 extern "C"
10682 #endif
10683 char XCompositeRedirectWindow ();
10685 main ()
10687 return XCompositeRedirectWindow ();
10689 return 0;
10691 _ACEOF
10692 if ac_fn_c_try_link "$LINENO"; then :
10693 case "$LIBEXT" in
10694 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10695 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'` ;;
10696 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10697 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10698 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10699 fi ;;
10700 esac
10702 rm -f core conftest.err conftest.$ac_objext \
10703 conftest$ac_exeext conftest.$ac_ext
10704 LIBS=$ac_check_soname_save_LIBS
10706 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10708 $as_echo "not found" >&6; }
10710 else
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10712 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10714 cat >>confdefs.h <<_ACEOF
10715 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10716 _ACEOF
10721 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10722 case "x$with_xcomposite" in
10723 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10724 xno) ;;
10725 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10726 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10727 esac
10731 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10732 #include <X11/Xlib.h>
10733 #endif
10735 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10737 cat >>confdefs.h <<_ACEOF
10738 #define HAVE_XICCALLBACK_CALLBACK 1
10739 _ACEOF
10743 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10744 #include <X11/Xlib.h>
10745 #endif
10747 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10749 cat >>confdefs.h <<_ACEOF
10750 #define HAVE_XEVENT_XCOOKIE 1
10751 _ACEOF
10758 opengl_msg=""
10759 if test "x$with_opengl" != "xno"
10760 then
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10762 $as_echo_n "checking for -lGL... " >&6; }
10763 if ${ac_cv_lib_soname_GL+:} false; then :
10764 $as_echo_n "(cached) " >&6
10765 else
10766 ac_check_soname_save_LIBS=$LIBS
10767 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10769 /* end confdefs.h. */
10771 /* Override any GCC internal prototype to avoid an error.
10772 Use char because int might match the return type of a GCC
10773 builtin and then its argument prototype would still apply. */
10774 #ifdef __cplusplus
10775 extern "C"
10776 #endif
10777 char glXCreateContext ();
10779 main ()
10781 return glXCreateContext ();
10783 return 0;
10785 _ACEOF
10786 if ac_fn_c_try_link "$LINENO"; then :
10787 case "$LIBEXT" in
10788 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10789 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'` ;;
10790 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10791 if ${ac_cv_lib_soname_GL:+false} :; then :
10792 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10793 fi ;;
10794 esac
10796 rm -f core conftest.err conftest.$ac_objext \
10797 conftest$ac_exeext conftest.$ac_ext
10798 LIBS=$ac_check_soname_save_LIBS
10800 if ${ac_cv_lib_soname_GL:+false} :; then :
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10802 $as_echo "not found" >&6; }
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10804 $as_echo_n "checking for -lGL... " >&6; }
10805 if ${ac_cv_lib_soname_GL+:} false; then :
10806 $as_echo_n "(cached) " >&6
10807 else
10808 ac_check_soname_save_LIBS=$LIBS
10809 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"
10810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811 /* end confdefs.h. */
10813 /* Override any GCC internal prototype to avoid an error.
10814 Use char because int might match the return type of a GCC
10815 builtin and then its argument prototype would still apply. */
10816 #ifdef __cplusplus
10817 extern "C"
10818 #endif
10819 char glXCreateContext ();
10821 main ()
10823 return glXCreateContext ();
10825 return 0;
10827 _ACEOF
10828 if ac_fn_c_try_link "$LINENO"; then :
10829 case "$LIBEXT" in
10830 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10831 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'` ;;
10832 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10833 if ${ac_cv_lib_soname_GL:+false} :; then :
10834 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10835 fi ;;
10836 esac
10838 rm -f core conftest.err conftest.$ac_objext \
10839 conftest$ac_exeext conftest.$ac_ext
10840 LIBS=$ac_check_soname_save_LIBS
10842 if ${ac_cv_lib_soname_GL:+false} :; then :
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10844 $as_echo "not found" >&6; }
10845 if test -f /usr/X11R6/lib/libGL.a
10846 then
10847 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10848 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10849 else
10850 opengl_msg="No OpenGL library found on this system."
10852 else
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10854 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10856 cat >>confdefs.h <<_ACEOF
10857 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10858 _ACEOF
10860 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"
10862 else
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10864 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10866 cat >>confdefs.h <<_ACEOF
10867 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10868 _ACEOF
10870 OPENGL_LIBS="-lGL"
10872 if test "x$with_glu" != "xno"
10873 then
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10875 $as_echo_n "checking for -lGLU... " >&6; }
10876 if ${ac_cv_lib_soname_GLU+:} false; then :
10877 $as_echo_n "(cached) " >&6
10878 else
10879 ac_check_soname_save_LIBS=$LIBS
10880 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10882 /* end confdefs.h. */
10884 /* Override any GCC internal prototype to avoid an error.
10885 Use char because int might match the return type of a GCC
10886 builtin and then its argument prototype would still apply. */
10887 #ifdef __cplusplus
10888 extern "C"
10889 #endif
10890 char gluLookAt ();
10892 main ()
10894 return gluLookAt ();
10896 return 0;
10898 _ACEOF
10899 if ac_fn_c_try_link "$LINENO"; then :
10900 case "$LIBEXT" in
10901 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10902 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'` ;;
10903 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10904 if ${ac_cv_lib_soname_GLU:+false} :; then :
10905 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10906 fi ;;
10907 esac
10909 rm -f core conftest.err conftest.$ac_objext \
10910 conftest$ac_exeext conftest.$ac_ext
10911 LIBS=$ac_check_soname_save_LIBS
10913 if ${ac_cv_lib_soname_GLU:+false} :; then :
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10915 $as_echo "not found" >&6; }
10917 else
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10919 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10921 cat >>confdefs.h <<_ACEOF
10922 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10923 _ACEOF
10927 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10928 case "x$with_glu" in
10929 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10930 xno) ;;
10931 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10932 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10933 esac
10938 if test "x$with_osmesa" != "xno"
10939 then
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10941 $as_echo_n "checking for -lOSMesa... " >&6; }
10942 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10943 $as_echo_n "(cached) " >&6
10944 else
10945 ac_check_soname_save_LIBS=$LIBS
10946 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10948 /* end confdefs.h. */
10950 /* Override any GCC internal prototype to avoid an error.
10951 Use char because int might match the return type of a GCC
10952 builtin and then its argument prototype would still apply. */
10953 #ifdef __cplusplus
10954 extern "C"
10955 #endif
10956 char OSMesaGetProcAddress ();
10958 main ()
10960 return OSMesaGetProcAddress ();
10962 return 0;
10964 _ACEOF
10965 if ac_fn_c_try_link "$LINENO"; then :
10966 case "$LIBEXT" in
10967 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10968 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'` ;;
10969 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10970 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10971 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10972 fi ;;
10973 esac
10975 rm -f core conftest.err conftest.$ac_objext \
10976 conftest$ac_exeext conftest.$ac_ext
10977 LIBS=$ac_check_soname_save_LIBS
10979 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10981 $as_echo "not found" >&6; }
10983 else
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10985 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10987 cat >>confdefs.h <<_ACEOF
10988 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10989 _ACEOF
10993 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10994 case "x$with_osmesa" in
10995 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10996 xno) ;;
10997 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10998 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10999 esac
11004 if test -n "$opengl_msg"; then :
11005 case "x$with_opengl" in
11006 x) as_fn_append wine_warnings "|$opengl_msg
11007 OpenGL and Direct3D won't be supported." ;;
11008 xno) ;;
11009 *) as_fn_error $? "$opengl_msg
11010 OpenGL and Direct3D won't be supported.
11011 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11012 esac
11016 CPPFLAGS="$ac_save_CPPFLAGS"
11017 else
11018 X_CFLAGS=""
11019 X_LIBS=""
11022 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11023 then
11024 if test "x$X_LIBS" = "x"; then :
11025 case "x$with_x" in
11026 xno) ;;
11027 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11028 without X support, which probably isn't what you want. You will need
11029 to install ${notice_platform}development packages of Xlib at the very least.
11030 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11031 esac
11032 enable_winex11_drv=${enable_winex11_drv:-no}
11034 else
11035 if test "x$X_LIBS" = "x"; then :
11036 case "x$with_x" in
11037 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11038 xno) ;;
11039 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11040 This is an error since --with-x was requested." "$LINENO" 5 ;;
11041 esac
11042 enable_winex11_drv=${enable_winex11_drv:-no}
11046 if test "$ac_cv_header_CL_cl_h" = "yes"
11047 then
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11049 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11050 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11051 $as_echo_n "(cached) " >&6
11052 else
11053 ac_check_lib_save_LIBS=$LIBS
11054 LIBS="-lOpenCL $LIBS"
11055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056 /* end confdefs.h. */
11058 /* Override any GCC internal prototype to avoid an error.
11059 Use char because int might match the return type of a GCC
11060 builtin and then its argument prototype would still apply. */
11061 #ifdef __cplusplus
11062 extern "C"
11063 #endif
11064 char clGetPlatformInfo ();
11066 main ()
11068 return clGetPlatformInfo ();
11070 return 0;
11072 _ACEOF
11073 if ac_fn_c_try_link "$LINENO"; then :
11074 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11075 else
11076 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11078 rm -f core conftest.err conftest.$ac_objext \
11079 conftest$ac_exeext conftest.$ac_ext
11080 LIBS=$ac_check_lib_save_LIBS
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11083 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11084 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11085 OPENCL_LIBS="-lOpenCL"
11090 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11091 case "x$with_opencl" in
11092 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11093 xno) ;;
11094 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11095 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11096 esac
11097 enable_opencl=${enable_opencl:-no}
11100 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11101 then
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11103 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11104 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11105 $as_echo_n "(cached) " >&6
11106 else
11107 ac_check_lib_save_LIBS=$LIBS
11108 LIBS="-lpcap $LIBS"
11109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11110 /* end confdefs.h. */
11112 /* Override any GCC internal prototype to avoid an error.
11113 Use char because int might match the return type of a GCC
11114 builtin and then its argument prototype would still apply. */
11115 #ifdef __cplusplus
11116 extern "C"
11117 #endif
11118 char pcap_create ();
11120 main ()
11122 return pcap_create ();
11124 return 0;
11126 _ACEOF
11127 if ac_fn_c_try_link "$LINENO"; then :
11128 ac_cv_lib_pcap_pcap_create=yes
11129 else
11130 ac_cv_lib_pcap_pcap_create=no
11132 rm -f core conftest.err conftest.$ac_objext \
11133 conftest$ac_exeext conftest.$ac_ext
11134 LIBS=$ac_check_lib_save_LIBS
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11137 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11138 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11139 PCAP_LIBS="-lpcap"
11144 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11145 case "x$with_pcap" in
11146 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11147 xno) ;;
11148 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11149 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11150 esac
11151 enable_wpcap=${enable_wpcap:-no}
11155 if test "x$with_xml" != "xno"
11156 then
11157 if ${XML2_CFLAGS:+false} :; then :
11158 if ${PKG_CONFIG+:} false; then :
11159 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11162 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11163 if ${XML2_LIBS:+false} :; then :
11164 if ${PKG_CONFIG+:} false; then :
11165 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11168 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11169 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11170 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11171 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11172 ac_save_CPPFLAGS=$CPPFLAGS
11173 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11174 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11175 do :
11176 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11177 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11178 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11179 cat >>confdefs.h <<_ACEOF
11180 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11181 _ACEOF
11185 done
11187 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"
11188 then
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11190 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11191 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11192 $as_echo_n "(cached) " >&6
11193 else
11194 ac_check_lib_save_LIBS=$LIBS
11195 LIBS="-lxml2 $XML2_LIBS $LIBS"
11196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11197 /* end confdefs.h. */
11199 /* Override any GCC internal prototype to avoid an error.
11200 Use char because int might match the return type of a GCC
11201 builtin and then its argument prototype would still apply. */
11202 #ifdef __cplusplus
11203 extern "C"
11204 #endif
11205 char xmlParseMemory ();
11207 main ()
11209 return xmlParseMemory ();
11211 return 0;
11213 _ACEOF
11214 if ac_fn_c_try_link "$LINENO"; then :
11215 ac_cv_lib_xml2_xmlParseMemory=yes
11216 else
11217 ac_cv_lib_xml2_xmlParseMemory=no
11219 rm -f core conftest.err conftest.$ac_objext \
11220 conftest$ac_exeext conftest.$ac_ext
11221 LIBS=$ac_check_lib_save_LIBS
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11224 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11225 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11227 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11229 else
11230 XML2_LIBS=""
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11234 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11235 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11236 $as_echo_n "(cached) " >&6
11237 else
11238 ac_check_lib_save_LIBS=$LIBS
11239 LIBS="-lxml2 $XML2_LIBS $LIBS"
11240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11246 #ifdef __cplusplus
11247 extern "C"
11248 #endif
11249 char xmlReadMemory ();
11251 main ()
11253 return xmlReadMemory ();
11255 return 0;
11257 _ACEOF
11258 if ac_fn_c_try_link "$LINENO"; then :
11259 ac_cv_lib_xml2_xmlReadMemory=yes
11260 else
11261 ac_cv_lib_xml2_xmlReadMemory=no
11263 rm -f core conftest.err conftest.$ac_objext \
11264 conftest$ac_exeext conftest.$ac_ext
11265 LIBS=$ac_check_lib_save_LIBS
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11268 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11269 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11271 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11276 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11277 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11278 $as_echo_n "(cached) " >&6
11279 else
11280 ac_check_lib_save_LIBS=$LIBS
11281 LIBS="-lxml2 $XML2_LIBS $LIBS"
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11285 /* Override any GCC internal prototype to avoid an error.
11286 Use char because int might match the return type of a GCC
11287 builtin and then its argument prototype would still apply. */
11288 #ifdef __cplusplus
11289 extern "C"
11290 #endif
11291 char xmlNewDocPI ();
11293 main ()
11295 return xmlNewDocPI ();
11297 return 0;
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"; then :
11301 ac_cv_lib_xml2_xmlNewDocPI=yes
11302 else
11303 ac_cv_lib_xml2_xmlNewDocPI=no
11305 rm -f core conftest.err conftest.$ac_objext \
11306 conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_lib_save_LIBS
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11310 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11311 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11313 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11318 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11319 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11320 $as_echo_n "(cached) " >&6
11321 else
11322 ac_check_lib_save_LIBS=$LIBS
11323 LIBS="-lxml2 $XML2_LIBS $LIBS"
11324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11325 /* end confdefs.h. */
11327 /* Override any GCC internal prototype to avoid an error.
11328 Use char because int might match the return type of a GCC
11329 builtin and then its argument prototype would still apply. */
11330 #ifdef __cplusplus
11331 extern "C"
11332 #endif
11333 char xmlSchemaSetParserStructuredErrors ();
11335 main ()
11337 return xmlSchemaSetParserStructuredErrors ();
11339 return 0;
11341 _ACEOF
11342 if ac_fn_c_try_link "$LINENO"; then :
11343 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11344 else
11345 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11347 rm -f core conftest.err conftest.$ac_objext \
11348 conftest$ac_exeext conftest.$ac_ext
11349 LIBS=$ac_check_lib_save_LIBS
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11352 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11353 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11355 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11360 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11361 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} 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 xmlSchemaSetValidStructuredErrors ();
11377 main ()
11379 return xmlSchemaSetValidStructuredErrors ();
11381 return 0;
11383 _ACEOF
11384 if ac_fn_c_try_link "$LINENO"; then :
11385 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11386 else
11387 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=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_xmlSchemaSetValidStructuredErrors" >&5
11394 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11395 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11397 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11402 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11403 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} 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 xmlFirstElementChild ();
11419 main ()
11421 return xmlFirstElementChild ();
11423 return 0;
11425 _ACEOF
11426 if ac_fn_c_try_link "$LINENO"; then :
11427 ac_cv_lib_xml2_xmlFirstElementChild=yes
11428 else
11429 ac_cv_lib_xml2_xmlFirstElementChild=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_xmlFirstElementChild" >&5
11436 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11437 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11439 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11443 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11445 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11447 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11451 else
11452 XML2_CFLAGS=""
11453 XML2_LIBS=""
11455 CPPFLAGS=$ac_save_CPPFLAGS
11456 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11457 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11460 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11461 case "x$with_xml" in
11462 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11463 xno) ;;
11464 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11465 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11466 esac
11470 if test "x$with_xslt" != "xno"
11471 then
11472 if ${XSLT_CFLAGS:+false} :; then :
11473 if ${PKG_CONFIG+:} false; then :
11474 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11477 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11478 if ${XSLT_LIBS:+false} :; then :
11479 if ${PKG_CONFIG+:} false; then :
11480 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11483 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11484 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11485 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11486 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11487 ac_save_CPPFLAGS=$CPPFLAGS
11488 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11489 for ac_header in libxslt/pattern.h libxslt/transform.h
11490 do :
11491 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11492 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11493 # include <libxslt/pattern.h>
11494 #endif
11496 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11497 cat >>confdefs.h <<_ACEOF
11498 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11499 _ACEOF
11503 done
11505 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11506 then
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11508 $as_echo_n "checking for -lxslt... " >&6; }
11509 if ${ac_cv_lib_soname_xslt+:} false; then :
11510 $as_echo_n "(cached) " >&6
11511 else
11512 ac_check_soname_save_LIBS=$LIBS
11513 LIBS="-lxslt $XSLT_LIBS $LIBS"
11514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11515 /* end confdefs.h. */
11517 /* Override any GCC internal prototype to avoid an error.
11518 Use char because int might match the return type of a GCC
11519 builtin and then its argument prototype would still apply. */
11520 #ifdef __cplusplus
11521 extern "C"
11522 #endif
11523 char xsltCompilePattern ();
11525 main ()
11527 return xsltCompilePattern ();
11529 return 0;
11531 _ACEOF
11532 if ac_fn_c_try_link "$LINENO"; then :
11533 case "$LIBEXT" in
11534 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11535 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'` ;;
11536 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11537 if ${ac_cv_lib_soname_xslt:+false} :; then :
11538 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11539 fi ;;
11540 esac
11542 rm -f core conftest.err conftest.$ac_objext \
11543 conftest$ac_exeext conftest.$ac_ext
11544 LIBS=$ac_check_soname_save_LIBS
11546 if ${ac_cv_lib_soname_xslt:+false} :; then :
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11548 $as_echo "not found" >&6; }
11550 else
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11552 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11554 cat >>confdefs.h <<_ACEOF
11555 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11556 _ACEOF
11560 else
11561 XSLT_CFLAGS=""
11563 CPPFLAGS=$ac_save_CPPFLAGS
11564 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11565 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11568 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11569 case "x$with_xslt" in
11570 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11571 xno) ;;
11572 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11573 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11574 esac
11578 if test "x$with_dbus" != "xno"
11579 then
11580 if ${DBUS_CFLAGS:+false} :; then :
11581 if ${PKG_CONFIG+:} false; then :
11582 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11586 if ${DBUS_LIBS:+false} :; then :
11587 if ${PKG_CONFIG+:} false; then :
11588 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11593 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11594 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11595 ac_save_CPPFLAGS=$CPPFLAGS
11596 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11597 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11598 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11600 $as_echo_n "checking for -ldbus-1... " >&6; }
11601 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11602 $as_echo_n "(cached) " >&6
11603 else
11604 ac_check_soname_save_LIBS=$LIBS
11605 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11607 /* end confdefs.h. */
11609 /* Override any GCC internal prototype to avoid an error.
11610 Use char because int might match the return type of a GCC
11611 builtin and then its argument prototype would still apply. */
11612 #ifdef __cplusplus
11613 extern "C"
11614 #endif
11615 char dbus_connection_close ();
11617 main ()
11619 return dbus_connection_close ();
11621 return 0;
11623 _ACEOF
11624 if ac_fn_c_try_link "$LINENO"; then :
11625 case "$LIBEXT" in
11626 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11627 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'` ;;
11628 *) 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'`
11629 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11630 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11631 fi ;;
11632 esac
11634 rm -f core conftest.err conftest.$ac_objext \
11635 conftest$ac_exeext conftest.$ac_ext
11636 LIBS=$ac_check_soname_save_LIBS
11638 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11640 $as_echo "not found" >&6; }
11641 DBUS_CFLAGS=""
11642 else
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11644 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11646 cat >>confdefs.h <<_ACEOF
11647 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11648 _ACEOF
11652 else
11653 DBUS_CFLAGS=""
11657 CPPFLAGS=$ac_save_CPPFLAGS
11658 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11659 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11662 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11663 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11664 case "x$with_dbus" in
11665 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11666 xno) ;;
11667 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11668 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11669 esac
11673 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11674 then
11675 if ${HAL_CFLAGS:+false} :; then :
11676 if ${PKG_CONFIG+:} false; then :
11677 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11681 if ${HAL_LIBS:+false} :; then :
11682 if ${PKG_CONFIG+:} false; then :
11683 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11687 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11688 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11689 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11690 ac_save_CPPFLAGS=$CPPFLAGS
11691 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11692 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11693 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11695 $as_echo_n "checking for -lhal... " >&6; }
11696 if ${ac_cv_lib_soname_hal+:} false; then :
11697 $as_echo_n "(cached) " >&6
11698 else
11699 ac_check_soname_save_LIBS=$LIBS
11700 LIBS="-lhal $HAL_LIBS $LIBS"
11701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11702 /* end confdefs.h. */
11704 /* Override any GCC internal prototype to avoid an error.
11705 Use char because int might match the return type of a GCC
11706 builtin and then its argument prototype would still apply. */
11707 #ifdef __cplusplus
11708 extern "C"
11709 #endif
11710 char libhal_ctx_new ();
11712 main ()
11714 return libhal_ctx_new ();
11716 return 0;
11718 _ACEOF
11719 if ac_fn_c_try_link "$LINENO"; then :
11720 case "$LIBEXT" in
11721 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11722 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'` ;;
11723 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11724 if ${ac_cv_lib_soname_hal:+false} :; then :
11725 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11726 fi ;;
11727 esac
11729 rm -f core conftest.err conftest.$ac_objext \
11730 conftest$ac_exeext conftest.$ac_ext
11731 LIBS=$ac_check_soname_save_LIBS
11733 if ${ac_cv_lib_soname_hal:+false} :; then :
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11735 $as_echo "not found" >&6; }
11736 HAL_CFLAGS=""
11737 else
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11739 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11741 cat >>confdefs.h <<_ACEOF
11742 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11743 _ACEOF
11747 else
11748 HAL_CFLAGS=""
11752 CPPFLAGS=$ac_save_CPPFLAGS
11753 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11754 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11756 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11757 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11758 case "x$with_hal" in
11759 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11760 xno) ;;
11761 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11762 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11763 esac
11768 if test "x$with_gnutls" != "xno"
11769 then
11770 if ${GNUTLS_CFLAGS:+false} :; then :
11771 if ${PKG_CONFIG+:} false; then :
11772 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11776 if ${GNUTLS_LIBS:+false} :; then :
11777 if ${PKG_CONFIG+:} false; then :
11778 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11783 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11784 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11785 ac_save_CPPFLAGS=$CPPFLAGS
11786 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11787 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11788 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11790 /* end confdefs.h. */
11791 #include <gnutls/gnutls.h>
11792 #include <gnutls/crypto.h>
11794 main ()
11796 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11798 return 0;
11800 _ACEOF
11801 if ac_fn_c_try_compile "$LINENO"; then :
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11803 $as_echo_n "checking for -lgnutls... " >&6; }
11804 if ${ac_cv_lib_soname_gnutls+:} false; then :
11805 $as_echo_n "(cached) " >&6
11806 else
11807 ac_check_soname_save_LIBS=$LIBS
11808 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11810 /* end confdefs.h. */
11812 /* Override any GCC internal prototype to avoid an error.
11813 Use char because int might match the return type of a GCC
11814 builtin and then its argument prototype would still apply. */
11815 #ifdef __cplusplus
11816 extern "C"
11817 #endif
11818 char gnutls_global_init ();
11820 main ()
11822 return gnutls_global_init ();
11824 return 0;
11826 _ACEOF
11827 if ac_fn_c_try_link "$LINENO"; then :
11828 case "$LIBEXT" in
11829 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11830 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'` ;;
11831 *) 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'`
11832 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11833 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'`
11834 fi ;;
11835 esac
11837 rm -f core conftest.err conftest.$ac_objext \
11838 conftest$ac_exeext conftest.$ac_ext
11839 LIBS=$ac_check_soname_save_LIBS
11841 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11843 $as_echo "not found" >&6; }
11844 GNUTLS_CFLAGS=""
11845 else
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11847 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11849 cat >>confdefs.h <<_ACEOF
11850 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11851 _ACEOF
11855 ac_wine_check_funcs_save_LIBS="$LIBS"
11856 LIBS="$LIBS $GNUTLS_LIBS"
11857 for ac_func in gnutls_hash
11858 do :
11859 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11860 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11861 cat >>confdefs.h <<_ACEOF
11862 #define HAVE_GNUTLS_HASH 1
11863 _ACEOF
11865 else
11866 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt hashes won't be supported."
11868 done
11870 LIBS="$ac_wine_check_funcs_save_LIBS"
11872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11873 else
11874 GNUTLS_CFLAGS=""
11878 CPPFLAGS=$ac_save_CPPFLAGS
11879 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11880 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11883 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11884 case "x$with_gnutls" in
11885 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11886 xno) ;;
11887 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11888 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11889 esac
11893 CURSES_LIBS=""
11894 if test "$ac_cv_header_ncurses_h" = "yes"
11895 then
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11897 $as_echo_n "checking for -lncurses... " >&6; }
11898 if ${ac_cv_lib_soname_ncurses+:} false; then :
11899 $as_echo_n "(cached) " >&6
11900 else
11901 ac_check_soname_save_LIBS=$LIBS
11902 LIBS="-lncurses $LIBS"
11903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11904 /* end confdefs.h. */
11906 /* Override any GCC internal prototype to avoid an error.
11907 Use char because int might match the return type of a GCC
11908 builtin and then its argument prototype would still apply. */
11909 #ifdef __cplusplus
11910 extern "C"
11911 #endif
11912 char waddch ();
11914 main ()
11916 return waddch ();
11918 return 0;
11920 _ACEOF
11921 if ac_fn_c_try_link "$LINENO"; then :
11922 case "$LIBEXT" in
11923 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11924 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'` ;;
11925 *) 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'`
11926 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11927 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11928 fi ;;
11929 esac
11931 rm -f core conftest.err conftest.$ac_objext \
11932 conftest$ac_exeext conftest.$ac_ext
11933 LIBS=$ac_check_soname_save_LIBS
11935 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11937 $as_echo "not found" >&6; }
11939 else
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11941 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11943 cat >>confdefs.h <<_ACEOF
11944 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11945 _ACEOF
11947 CURSES_LIBS="-lncurses"
11949 elif test "$ac_cv_header_curses_h" = "yes"
11950 then
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11952 $as_echo_n "checking for -lcurses... " >&6; }
11953 if ${ac_cv_lib_soname_curses+:} false; then :
11954 $as_echo_n "(cached) " >&6
11955 else
11956 ac_check_soname_save_LIBS=$LIBS
11957 LIBS="-lcurses $LIBS"
11958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11959 /* end confdefs.h. */
11961 /* Override any GCC internal prototype to avoid an error.
11962 Use char because int might match the return type of a GCC
11963 builtin and then its argument prototype would still apply. */
11964 #ifdef __cplusplus
11965 extern "C"
11966 #endif
11967 char waddch ();
11969 main ()
11971 return waddch ();
11973 return 0;
11975 _ACEOF
11976 if ac_fn_c_try_link "$LINENO"; then :
11977 case "$LIBEXT" in
11978 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11979 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'` ;;
11980 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11981 if ${ac_cv_lib_soname_curses:+false} :; then :
11982 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11983 fi ;;
11984 esac
11986 rm -f core conftest.err conftest.$ac_objext \
11987 conftest$ac_exeext conftest.$ac_ext
11988 LIBS=$ac_check_soname_save_LIBS
11990 if ${ac_cv_lib_soname_curses:+false} :; then :
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11992 $as_echo "not found" >&6; }
11994 else
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11996 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11998 cat >>confdefs.h <<_ACEOF
11999 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12000 _ACEOF
12002 CURSES_LIBS="-lcurses"
12005 ac_save_LIBS="$LIBS"
12006 LIBS="$LIBS $CURSES_LIBS"
12007 for ac_func in mousemask
12008 do :
12009 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12010 if test "x$ac_cv_func_mousemask" = xyes; then :
12011 cat >>confdefs.h <<_ACEOF
12012 #define HAVE_MOUSEMASK 1
12013 _ACEOF
12016 done
12018 LIBS="$ac_save_LIBS"
12019 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12020 case "x$with_curses" in
12021 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12022 xno) ;;
12023 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12024 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12025 esac
12029 if test "x$with_sane" != "xno"
12030 then
12031 if ${SANE_CFLAGS:+false} :; then :
12032 if ${PKG_CONFIG+:} false; then :
12033 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12036 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12037 if ${SANE_LIBS:+false} :; then :
12038 if ${PKG_CONFIG+:} false; then :
12039 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12042 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12044 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12045 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12046 ac_save_CPPFLAGS=$CPPFLAGS
12047 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12048 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12049 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12051 $as_echo_n "checking for -lsane... " >&6; }
12052 if ${ac_cv_lib_soname_sane+:} false; then :
12053 $as_echo_n "(cached) " >&6
12054 else
12055 ac_check_soname_save_LIBS=$LIBS
12056 LIBS="-lsane $SANE_LIBS $LIBS"
12057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12058 /* end confdefs.h. */
12060 /* Override any GCC internal prototype to avoid an error.
12061 Use char because int might match the return type of a GCC
12062 builtin and then its argument prototype would still apply. */
12063 #ifdef __cplusplus
12064 extern "C"
12065 #endif
12066 char sane_init ();
12068 main ()
12070 return sane_init ();
12072 return 0;
12074 _ACEOF
12075 if ac_fn_c_try_link "$LINENO"; then :
12076 case "$LIBEXT" in
12077 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12078 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'` ;;
12079 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12080 if ${ac_cv_lib_soname_sane:+false} :; then :
12081 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12082 fi ;;
12083 esac
12085 rm -f core conftest.err conftest.$ac_objext \
12086 conftest$ac_exeext conftest.$ac_ext
12087 LIBS=$ac_check_soname_save_LIBS
12089 if ${ac_cv_lib_soname_sane:+false} :; then :
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12091 $as_echo "not found" >&6; }
12092 SANE_CFLAGS=""
12093 else
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12095 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12097 cat >>confdefs.h <<_ACEOF
12098 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12099 _ACEOF
12103 else
12104 SANE_CFLAGS=""
12108 CPPFLAGS=$ac_save_CPPFLAGS
12109 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12110 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12113 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12114 case "x$with_sane" in
12115 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12116 xno) ;;
12117 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12118 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12119 esac
12123 if test "x$with_v4l" != "xno"
12124 then
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12126 $as_echo_n "checking for -lv4l1... " >&6; }
12127 if ${ac_cv_lib_soname_v4l1+:} false; then :
12128 $as_echo_n "(cached) " >&6
12129 else
12130 ac_check_soname_save_LIBS=$LIBS
12131 LIBS="-lv4l1 $LIBS"
12132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12133 /* end confdefs.h. */
12135 /* Override any GCC internal prototype to avoid an error.
12136 Use char because int might match the return type of a GCC
12137 builtin and then its argument prototype would still apply. */
12138 #ifdef __cplusplus
12139 extern "C"
12140 #endif
12141 char v4l1_open ();
12143 main ()
12145 return v4l1_open ();
12147 return 0;
12149 _ACEOF
12150 if ac_fn_c_try_link "$LINENO"; then :
12151 case "$LIBEXT" in
12152 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12153 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'` ;;
12154 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12155 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12156 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12157 fi ;;
12158 esac
12160 rm -f core conftest.err conftest.$ac_objext \
12161 conftest$ac_exeext conftest.$ac_ext
12162 LIBS=$ac_check_soname_save_LIBS
12164 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12166 $as_echo "not found" >&6; }
12168 else
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12170 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12172 cat >>confdefs.h <<_ACEOF
12173 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12174 _ACEOF
12179 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12180 case "x$with_v4l" in
12181 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12182 xno) ;;
12183 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12184 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12185 esac
12189 if test "x$with_gphoto" != "xno"
12190 then
12191 if ${GPHOTO2_CFLAGS:+false} :; then :
12192 if ${PKG_CONFIG+:} false; then :
12193 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12196 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12197 if ${GPHOTO2_LIBS:+false} :; then :
12198 if ${PKG_CONFIG+:} false; then :
12199 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12202 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12203 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12204 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12205 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12206 ac_save_CPPFLAGS=$CPPFLAGS
12207 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12208 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12209 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12211 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12212 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12213 $as_echo_n "(cached) " >&6
12214 else
12215 ac_check_lib_save_LIBS=$LIBS
12216 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h. */
12220 /* Override any GCC internal prototype to avoid an error.
12221 Use char because int might match the return type of a GCC
12222 builtin and then its argument prototype would still apply. */
12223 #ifdef __cplusplus
12224 extern "C"
12225 #endif
12226 char gp_camera_new ();
12228 main ()
12230 return gp_camera_new ();
12232 return 0;
12234 _ACEOF
12235 if ac_fn_c_try_link "$LINENO"; then :
12236 ac_cv_lib_gphoto2_gp_camera_new=yes
12237 else
12238 ac_cv_lib_gphoto2_gp_camera_new=no
12240 rm -f core conftest.err conftest.$ac_objext \
12241 conftest$ac_exeext conftest.$ac_ext
12242 LIBS=$ac_check_lib_save_LIBS
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12245 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12246 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12248 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12250 else
12251 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12254 else
12255 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12259 CPPFLAGS=$ac_save_CPPFLAGS
12260 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12261 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12263 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12264 if ${PKG_CONFIG+:} false; then :
12265 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12268 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12269 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12270 if ${PKG_CONFIG+:} false; then :
12271 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12274 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12275 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12276 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12277 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12278 ac_save_CPPFLAGS=$CPPFLAGS
12279 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12280 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12281 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12283 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12284 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12285 $as_echo_n "(cached) " >&6
12286 else
12287 ac_check_lib_save_LIBS=$LIBS
12288 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12290 /* end confdefs.h. */
12292 /* Override any GCC internal prototype to avoid an error.
12293 Use char because int might match the return type of a GCC
12294 builtin and then its argument prototype would still apply. */
12295 #ifdef __cplusplus
12296 extern "C"
12297 #endif
12298 char gp_port_info_list_new ();
12300 main ()
12302 return gp_port_info_list_new ();
12304 return 0;
12306 _ACEOF
12307 if ac_fn_c_try_link "$LINENO"; then :
12308 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12309 else
12310 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12312 rm -f core conftest.err conftest.$ac_objext \
12313 conftest$ac_exeext conftest.$ac_ext
12314 LIBS=$ac_check_lib_save_LIBS
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12317 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12318 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12320 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12322 else
12323 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12326 else
12327 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12331 CPPFLAGS=$ac_save_CPPFLAGS
12332 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12333 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12336 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12337 case "x$with_gphoto" in
12338 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12339 xno) ;;
12340 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12341 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12342 esac
12345 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12346 case "x$with_gphoto" in
12347 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12348 xno) ;;
12349 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12350 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12351 esac
12356 if test "$ac_cv_header_resolv_h" = "yes"
12357 then
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12359 $as_echo_n "checking for resolver library... " >&6; }
12360 if ${ac_cv_have_resolv+:} false; then :
12361 $as_echo_n "(cached) " >&6
12362 else
12363 ac_save_LIBS="$LIBS"
12364 for lib in '' -lresolv
12366 LIBS="$lib $ac_save_LIBS"
12367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12368 /* end confdefs.h. */
12369 #ifdef HAVE_NETINET_IN_H
12370 #include <netinet/in.h>
12371 #endif
12372 #include <resolv.h>
12374 main ()
12376 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12378 return 0;
12380 _ACEOF
12381 if ac_fn_c_try_link "$LINENO"; then :
12382 ac_cv_have_resolv=${lib:-"none required"}
12383 else
12384 ac_cv_have_resolv="not found"
12386 rm -f core conftest.err conftest.$ac_objext \
12387 conftest$ac_exeext conftest.$ac_ext
12388 test "x$ac_cv_have_resolv" = "xnot found" || break
12389 done
12390 LIBS="$ac_save_LIBS"
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12393 $as_echo "$ac_cv_have_resolv" >&6; }
12395 case "$ac_cv_have_resolv" in
12396 "not found") ;;
12397 "none required")
12399 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12402 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12404 RESOLV_LIBS=$ac_cv_have_resolv
12406 esac
12409 if test "x$with_cms" != "xno"
12410 then
12411 if ${LCMS2_CFLAGS:+false} :; then :
12412 if ${PKG_CONFIG+:} false; then :
12413 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12417 if ${LCMS2_LIBS:+false} :; then :
12418 if ${PKG_CONFIG+:} false; then :
12419 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12423 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12424 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12425 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12426 ac_save_CPPFLAGS=$CPPFLAGS
12427 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12428 for ac_header in lcms2.h
12429 do :
12430 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12431 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12432 cat >>confdefs.h <<_ACEOF
12433 #define HAVE_LCMS2_H 1
12434 _ACEOF
12438 done
12440 if test "$ac_cv_header_lcms2_h" = "yes"
12441 then
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12443 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12444 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12445 $as_echo_n "(cached) " >&6
12446 else
12447 ac_check_lib_save_LIBS=$LIBS
12448 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12450 /* end confdefs.h. */
12452 /* Override any GCC internal prototype to avoid an error.
12453 Use char because int might match the return type of a GCC
12454 builtin and then its argument prototype would still apply. */
12455 #ifdef __cplusplus
12456 extern "C"
12457 #endif
12458 char cmsOpenProfileFromFile ();
12460 main ()
12462 return cmsOpenProfileFromFile ();
12464 return 0;
12466 _ACEOF
12467 if ac_fn_c_try_link "$LINENO"; then :
12468 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12469 else
12470 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12472 rm -f core conftest.err conftest.$ac_objext \
12473 conftest$ac_exeext conftest.$ac_ext
12474 LIBS=$ac_check_lib_save_LIBS
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12477 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12478 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12480 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12482 else
12483 LCMS2_LIBS=""
12486 else
12487 LCMS2_CFLAGS=""
12488 LCMS2_LIBS=""
12490 CPPFLAGS=$ac_save_CPPFLAGS
12491 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12492 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12495 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12496 case "x$with_cms" in
12497 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12498 xno) ;;
12499 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12500 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12501 esac
12505 if test "x$with_freetype" != "xno"
12506 then
12507 if ${FREETYPE_CFLAGS:+false} :; then :
12508 if ${PKG_CONFIG+:} false; then :
12509 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12512 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12513 if ${FREETYPE_LIBS:+false} :; then :
12514 if ${PKG_CONFIG+:} false; then :
12515 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12518 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12519 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12520 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12521 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12522 ac_save_CPPFLAGS=$CPPFLAGS
12523 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12524 for ac_header in ft2build.h
12525 do :
12526 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12527 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12528 cat >>confdefs.h <<_ACEOF
12529 #define HAVE_FT2BUILD_H 1
12530 _ACEOF
12534 done
12536 if test "$ac_cv_header_ft2build_h" = "yes"
12537 then
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12539 $as_echo_n "checking for -lfreetype... " >&6; }
12540 if ${ac_cv_lib_soname_freetype+:} false; then :
12541 $as_echo_n "(cached) " >&6
12542 else
12543 ac_check_soname_save_LIBS=$LIBS
12544 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12546 /* end confdefs.h. */
12548 /* Override any GCC internal prototype to avoid an error.
12549 Use char because int might match the return type of a GCC
12550 builtin and then its argument prototype would still apply. */
12551 #ifdef __cplusplus
12552 extern "C"
12553 #endif
12554 char FT_Init_FreeType ();
12556 main ()
12558 return FT_Init_FreeType ();
12560 return 0;
12562 _ACEOF
12563 if ac_fn_c_try_link "$LINENO"; then :
12564 case "$LIBEXT" in
12565 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12566 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'` ;;
12567 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12568 if ${ac_cv_lib_soname_freetype:+false} :; then :
12569 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12570 fi ;;
12571 esac
12573 rm -f core conftest.err conftest.$ac_objext \
12574 conftest$ac_exeext conftest.$ac_ext
12575 LIBS=$ac_check_soname_save_LIBS
12577 if ${ac_cv_lib_soname_freetype:+false} :; then :
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12579 $as_echo "not found" >&6; }
12580 FREETYPE_LIBS=""
12581 else
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12583 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12585 cat >>confdefs.h <<_ACEOF
12586 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12587 _ACEOF
12590 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12592 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12593 #include FT_MODULE_H
12595 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12597 cat >>confdefs.h <<_ACEOF
12598 #define HAVE_FT_TRUETYPEENGINETYPE 1
12599 _ACEOF
12605 else
12606 FREETYPE_CFLAGS=""
12607 FREETYPE_LIBS=""
12609 CPPFLAGS=$ac_save_CPPFLAGS
12610 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12611 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12614 if test "x$ac_cv_lib_soname_freetype" = x; then :
12615 case "x$with_freetype" in
12616 xno) ;;
12617 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12618 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12619 esac
12620 enable_fonts=${enable_fonts:-no}
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12624 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12625 if ${ac_cv_c_ppdev+:} false; then :
12626 $as_echo_n "(cached) " >&6
12627 else
12628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12630 #ifdef HAVE_SYS_IOCTL_H
12631 # include <sys/ioctl.h>
12632 #endif
12633 #include <linux/ppdev.h>
12635 main ()
12637 ioctl (1,PPCLAIM,0)
12639 return 0;
12641 _ACEOF
12642 if ac_fn_c_try_compile "$LINENO"; then :
12643 ac_cv_c_ppdev="yes"
12644 else
12645 ac_cv_c_ppdev="no"
12647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12650 $as_echo "$ac_cv_c_ppdev" >&6; }
12651 if test "$ac_cv_c_ppdev" = "yes"
12652 then
12654 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12658 ac_wine_check_funcs_save_LIBS="$LIBS"
12659 LIBS="$LIBS $PTHREAD_LIBS"
12660 for ac_func in \
12661 pthread_attr_get_np \
12662 pthread_getattr_np \
12663 pthread_getthreadid_np \
12664 pthread_get_stackaddr_np \
12665 pthread_get_stacksize_np
12666 do :
12667 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12668 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12669 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12670 cat >>confdefs.h <<_ACEOF
12671 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12672 _ACEOF
12675 done
12677 LIBS="$ac_wine_check_funcs_save_LIBS"
12679 if test "$ac_cv_header_zlib_h" = "yes"
12680 then
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12682 $as_echo_n "checking for inflate in -lz... " >&6; }
12683 if ${ac_cv_lib_z_inflate+:} false; then :
12684 $as_echo_n "(cached) " >&6
12685 else
12686 ac_check_lib_save_LIBS=$LIBS
12687 LIBS="-lz $LIBS"
12688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12689 /* end confdefs.h. */
12691 /* Override any GCC internal prototype to avoid an error.
12692 Use char because int might match the return type of a GCC
12693 builtin and then its argument prototype would still apply. */
12694 #ifdef __cplusplus
12695 extern "C"
12696 #endif
12697 char inflate ();
12699 main ()
12701 return inflate ();
12703 return 0;
12705 _ACEOF
12706 if ac_fn_c_try_link "$LINENO"; then :
12707 ac_cv_lib_z_inflate=yes
12708 else
12709 ac_cv_lib_z_inflate=no
12711 rm -f core conftest.err conftest.$ac_objext \
12712 conftest$ac_exeext conftest.$ac_ext
12713 LIBS=$ac_check_lib_save_LIBS
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12716 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12717 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12719 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12721 Z_LIBS="-lz"
12726 if test "x$Z_LIBS" = "x"; then :
12727 case "x$with_zlib" in
12728 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12729 xno) ;;
12730 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12731 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12732 esac
12736 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12737 then
12738 if test "$ac_cv_header_gettext_po_h" = "yes"
12739 then
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12741 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12742 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12743 $as_echo_n "(cached) " >&6
12744 else
12745 ac_check_lib_save_LIBS=$LIBS
12746 LIBS="-lgettextpo $LIBS"
12747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12748 /* end confdefs.h. */
12750 /* Override any GCC internal prototype to avoid an error.
12751 Use char because int might match the return type of a GCC
12752 builtin and then its argument prototype would still apply. */
12753 #ifdef __cplusplus
12754 extern "C"
12755 #endif
12756 char po_message_msgctxt ();
12758 main ()
12760 return po_message_msgctxt ();
12762 return 0;
12764 _ACEOF
12765 if ac_fn_c_try_link "$LINENO"; then :
12766 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12767 else
12768 ac_cv_lib_gettextpo_po_message_msgctxt=no
12770 rm -f core conftest.err conftest.$ac_objext \
12771 conftest$ac_exeext conftest.$ac_ext
12772 LIBS=$ac_check_lib_save_LIBS
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12775 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12776 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12778 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12780 GETTEXTPO_LIBS="-lgettextpo"
12785 if test "x$GETTEXTPO_LIBS" = "x"; then :
12786 case "x$with_gettextpo" in
12787 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12788 xno) ;;
12789 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12790 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12791 esac
12794 if test "$srcdir" != .; then :
12795 case "x$with_gettextpo" in
12796 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12797 xno) ;;
12798 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12799 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12800 esac
12805 if test "x$with_pulse" != "xno";
12806 then
12807 if ${PULSE_CFLAGS:+false} :; then :
12808 if ${PKG_CONFIG+:} false; then :
12809 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12813 if ${PULSE_LIBS:+false} :; then :
12814 if ${PKG_CONFIG+:} false; then :
12815 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12820 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12821 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12822 ac_save_CPPFLAGS=$CPPFLAGS
12823 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12824 for ac_header in pulse/pulseaudio.h
12825 do :
12826 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12827 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12828 cat >>confdefs.h <<_ACEOF
12829 #define HAVE_PULSE_PULSEAUDIO_H 1
12830 _ACEOF
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12832 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12833 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12834 $as_echo_n "(cached) " >&6
12835 else
12836 ac_check_lib_save_LIBS=$LIBS
12837 LIBS="-lpulse $PULSE_LIBS $LIBS"
12838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12839 /* end confdefs.h. */
12841 /* Override any GCC internal prototype to avoid an error.
12842 Use char because int might match the return type of a GCC
12843 builtin and then its argument prototype would still apply. */
12844 #ifdef __cplusplus
12845 extern "C"
12846 #endif
12847 char pa_stream_is_corked ();
12849 main ()
12851 return pa_stream_is_corked ();
12853 return 0;
12855 _ACEOF
12856 if ac_fn_c_try_link "$LINENO"; then :
12857 ac_cv_lib_pulse_pa_stream_is_corked=yes
12858 else
12859 ac_cv_lib_pulse_pa_stream_is_corked=no
12861 rm -f core conftest.err conftest.$ac_objext \
12862 conftest$ac_exeext conftest.$ac_ext
12863 LIBS=$ac_check_lib_save_LIBS
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12866 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12867 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12869 else
12870 PULSE_LIBS=""
12873 else
12874 PULSE_LIBS=""
12877 done
12879 CPPFLAGS=$ac_save_CPPFLAGS
12880 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12881 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12884 if test -z "$PULSE_LIBS"; then :
12885 case "x$with_pulse" in
12886 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12887 xno) ;;
12888 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12889 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12890 esac
12891 enable_winepulse_drv=${enable_winepulse_drv:-no}
12894 if test "x$with_gstreamer" != "xno"
12895 then
12896 if ${GSTREAMER_CFLAGS:+false} :; then :
12897 if ${PKG_CONFIG+:} false; then :
12898 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12902 if ${GSTREAMER_LIBS:+false} :; then :
12903 if ${PKG_CONFIG+:} false; then :
12904 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12909 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12910 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12911 ac_save_CPPFLAGS=$CPPFLAGS
12912 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12913 ac_gst_incl=""
12914 for i in $GSTREAMER_CFLAGS
12916 case "$i" in
12917 -I*) ac_gst_incl="$ac_gst_incl $i";;
12918 esac
12919 done
12920 GSTREAMER_CFLAGS=$ac_gst_incl
12921 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12922 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12923 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12925 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12927 /* end confdefs.h. */
12928 #include <gst/gst.h>
12930 main ()
12932 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12934 return 0;
12936 _ACEOF
12937 if ac_fn_c_try_compile "$LINENO"; then :
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12939 $as_echo "yes" >&6; }
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12941 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12942 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12943 $as_echo_n "(cached) " >&6
12944 else
12945 ac_check_lib_save_LIBS=$LIBS
12946 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12948 /* end confdefs.h. */
12950 /* Override any GCC internal prototype to avoid an error.
12951 Use char because int might match the return type of a GCC
12952 builtin and then its argument prototype would still apply. */
12953 #ifdef __cplusplus
12954 extern "C"
12955 #endif
12956 char gst_pad_new ();
12958 main ()
12960 return gst_pad_new ();
12962 return 0;
12964 _ACEOF
12965 if ac_fn_c_try_link "$LINENO"; then :
12966 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12967 else
12968 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12970 rm -f core conftest.err conftest.$ac_objext \
12971 conftest$ac_exeext conftest.$ac_ext
12972 LIBS=$ac_check_lib_save_LIBS
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12975 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12976 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12980 else
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12982 $as_echo "no" >&6; }
12983 ac_glib2_broken=yes
12984 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12990 CPPFLAGS=$ac_save_CPPFLAGS
12991 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12992 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12995 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 :
12996 case "x$with_gstreamer" in
12997 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12998 xno) ;;
12999 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13000 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13001 esac
13004 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13006 ALSA_LIBS=""
13008 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13009 then
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13011 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13012 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13013 $as_echo_n "(cached) " >&6
13014 else
13015 ac_check_lib_save_LIBS=$LIBS
13016 LIBS="-lasound $LIBS"
13017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13018 /* end confdefs.h. */
13020 /* Override any GCC internal prototype to avoid an error.
13021 Use char because int might match the return type of a GCC
13022 builtin and then its argument prototype would still apply. */
13023 #ifdef __cplusplus
13024 extern "C"
13025 #endif
13026 char snd_pcm_hw_params_get_access_mask ();
13028 main ()
13030 return snd_pcm_hw_params_get_access_mask ();
13032 return 0;
13034 _ACEOF
13035 if ac_fn_c_try_link "$LINENO"; then :
13036 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13037 else
13038 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13040 rm -f core conftest.err conftest.$ac_objext \
13041 conftest$ac_exeext conftest.$ac_ext
13042 LIBS=$ac_check_lib_save_LIBS
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13045 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13046 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13048 /* end confdefs.h. */
13049 #ifdef HAVE_ALSA_ASOUNDLIB_H
13050 #include <alsa/asoundlib.h>
13051 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13052 #include <sys/asoundlib.h>
13053 #endif
13055 main ()
13057 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13059 return 0;
13061 _ACEOF
13062 if ac_fn_c_try_compile "$LINENO"; then :
13063 ALSA_LIBS="-lasound"
13065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13069 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13071 if test "x$with_oss" != xno
13072 then
13073 ac_save_CPPFLAGS="$CPPFLAGS"
13074 if test -f /etc/oss.conf
13075 then
13076 . /etc/oss.conf
13078 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13079 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13080 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13081 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13082 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13084 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13086 cat >>confdefs.h <<_ACEOF
13087 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13088 _ACEOF
13090 OSS4_CFLAGS="$ac_oss_incl"
13097 CPPFLAGS="$ac_save_CPPFLAGS"
13099 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13100 case "x$with_oss" in
13101 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13102 xno) ;;
13103 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13104 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13105 esac
13106 enable_wineoss_drv=${enable_wineoss_drv:-no}
13109 if test "x$with_udev" != "xno"
13110 then
13111 if ${UDEV_CFLAGS:+false} :; then :
13112 if ${PKG_CONFIG+:} false; then :
13113 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13117 if ${UDEV_LIBS:+false} :; then :
13118 if ${PKG_CONFIG+:} false; then :
13119 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13123 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13124 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13125 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13126 ac_save_CPPFLAGS=$CPPFLAGS
13127 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13128 for ac_header in libudev.h
13129 do :
13130 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13131 if test "x$ac_cv_header_libudev_h" = xyes; then :
13132 cat >>confdefs.h <<_ACEOF
13133 #define HAVE_LIBUDEV_H 1
13134 _ACEOF
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13136 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13137 if ${ac_cv_lib_udev_udev_new+:} false; then :
13138 $as_echo_n "(cached) " >&6
13139 else
13140 ac_check_lib_save_LIBS=$LIBS
13141 LIBS="-ludev $UDEV_LIBS $LIBS"
13142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13143 /* end confdefs.h. */
13145 /* Override any GCC internal prototype to avoid an error.
13146 Use char because int might match the return type of a GCC
13147 builtin and then its argument prototype would still apply. */
13148 #ifdef __cplusplus
13149 extern "C"
13150 #endif
13151 char udev_new ();
13153 main ()
13155 return udev_new ();
13157 return 0;
13159 _ACEOF
13160 if ac_fn_c_try_link "$LINENO"; then :
13161 ac_cv_lib_udev_udev_new=yes
13162 else
13163 ac_cv_lib_udev_udev_new=no
13165 rm -f core conftest.err conftest.$ac_objext \
13166 conftest$ac_exeext conftest.$ac_ext
13167 LIBS=$ac_check_lib_save_LIBS
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13170 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13171 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13173 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13175 else
13176 UDEV_LIBS=""
13179 else
13180 UDEV_LIBS=""
13183 done
13185 CPPFLAGS=$ac_save_CPPFLAGS
13186 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13187 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13190 if test "x$UDEV_LIBS" = "x"; then :
13191 case "x$with_udev" in
13192 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13193 xno) ;;
13194 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13195 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13196 esac
13200 if test "x$with_capi" != "xno"
13201 then
13202 if ${CAPI20_CFLAGS:+false} :; then :
13203 if ${PKG_CONFIG+:} false; then :
13204 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13208 if ${CAPI20_LIBS:+false} :; then :
13209 if ${PKG_CONFIG+:} false; then :
13210 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13215 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13216 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13217 ac_save_CPPFLAGS=$CPPFLAGS
13218 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13219 for ac_header in capi20.h linux/capi.h
13220 do :
13221 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13222 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13224 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13225 cat >>confdefs.h <<_ACEOF
13226 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13227 _ACEOF
13231 done
13233 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13234 then
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13236 $as_echo_n "checking for -lcapi20... " >&6; }
13237 if ${ac_cv_lib_soname_capi20+:} false; then :
13238 $as_echo_n "(cached) " >&6
13239 else
13240 ac_check_soname_save_LIBS=$LIBS
13241 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13243 /* end confdefs.h. */
13245 /* Override any GCC internal prototype to avoid an error.
13246 Use char because int might match the return type of a GCC
13247 builtin and then its argument prototype would still apply. */
13248 #ifdef __cplusplus
13249 extern "C"
13250 #endif
13251 char capi20_register ();
13253 main ()
13255 return capi20_register ();
13257 return 0;
13259 _ACEOF
13260 if ac_fn_c_try_link "$LINENO"; then :
13261 case "$LIBEXT" in
13262 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13263 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'` ;;
13264 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13265 if ${ac_cv_lib_soname_capi20:+false} :; then :
13266 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13267 fi ;;
13268 esac
13270 rm -f core conftest.err conftest.$ac_objext \
13271 conftest$ac_exeext conftest.$ac_ext
13272 LIBS=$ac_check_soname_save_LIBS
13274 if ${ac_cv_lib_soname_capi20:+false} :; then :
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13276 $as_echo "not found" >&6; }
13278 else
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13280 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13282 cat >>confdefs.h <<_ACEOF
13283 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13284 _ACEOF
13289 CPPFLAGS=$ac_save_CPPFLAGS
13290 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13291 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13294 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13295 case "x$with_capi" in
13296 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13297 xno) ;;
13298 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13299 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13300 esac
13304 CUPS_CFLAGS=""
13306 if test "x$with_cups" != "xno"
13307 then
13308 ac_save_CPPFLAGS="$CPPFLAGS"
13309 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13310 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13311 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13312 for ac_header in cups/cups.h
13313 do :
13314 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13315 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13316 cat >>confdefs.h <<_ACEOF
13317 #define HAVE_CUPS_CUPS_H 1
13318 _ACEOF
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13320 $as_echo_n "checking for -lcups... " >&6; }
13321 if ${ac_cv_lib_soname_cups+:} false; then :
13322 $as_echo_n "(cached) " >&6
13323 else
13324 ac_check_soname_save_LIBS=$LIBS
13325 LIBS="-lcups $ac_cups_libs $LIBS"
13326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13329 /* Override any GCC internal prototype to avoid an error.
13330 Use char because int might match the return type of a GCC
13331 builtin and then its argument prototype would still apply. */
13332 #ifdef __cplusplus
13333 extern "C"
13334 #endif
13335 char cupsGetDefault ();
13337 main ()
13339 return cupsGetDefault ();
13341 return 0;
13343 _ACEOF
13344 if ac_fn_c_try_link "$LINENO"; then :
13345 case "$LIBEXT" in
13346 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13347 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'` ;;
13348 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13349 if ${ac_cv_lib_soname_cups:+false} :; then :
13350 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13351 fi ;;
13352 esac
13354 rm -f core conftest.err conftest.$ac_objext \
13355 conftest$ac_exeext conftest.$ac_ext
13356 LIBS=$ac_check_soname_save_LIBS
13358 if ${ac_cv_lib_soname_cups:+false} :; then :
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13360 $as_echo "not found" >&6; }
13362 else
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13364 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13366 cat >>confdefs.h <<_ACEOF
13367 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13368 _ACEOF
13370 CUPS_CFLAGS="$ac_cups_cflags"
13372 for ac_header in cups/ppd.h
13373 do :
13374 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13375 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13376 cat >>confdefs.h <<_ACEOF
13377 #define HAVE_CUPS_PPD_H 1
13378 _ACEOF
13382 done
13386 done
13388 CPPFLAGS="$ac_save_CPPFLAGS"
13390 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13391 case "x$with_cups" in
13392 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13393 xno) ;;
13394 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13395 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13396 esac
13400 if test "x$with_fontconfig" != "xno"
13401 then
13402 if ${FONTCONFIG_CFLAGS:+false} :; then :
13403 if ${PKG_CONFIG+:} false; then :
13404 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13407 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13408 if ${FONTCONFIG_LIBS:+false} :; then :
13409 if ${PKG_CONFIG+:} false; then :
13410 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13413 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13415 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13416 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13417 ac_save_CPPFLAGS=$CPPFLAGS
13418 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13419 for ac_header in fontconfig/fontconfig.h
13420 do :
13421 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13422 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13423 cat >>confdefs.h <<_ACEOF
13424 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13425 _ACEOF
13429 done
13431 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13432 then
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13434 $as_echo_n "checking for -lfontconfig... " >&6; }
13435 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13436 $as_echo_n "(cached) " >&6
13437 else
13438 ac_check_soname_save_LIBS=$LIBS
13439 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13441 /* end confdefs.h. */
13443 /* Override any GCC internal prototype to avoid an error.
13444 Use char because int might match the return type of a GCC
13445 builtin and then its argument prototype would still apply. */
13446 #ifdef __cplusplus
13447 extern "C"
13448 #endif
13449 char FcInit ();
13451 main ()
13453 return FcInit ();
13455 return 0;
13457 _ACEOF
13458 if ac_fn_c_try_link "$LINENO"; then :
13459 case "$LIBEXT" in
13460 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13461 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'` ;;
13462 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13463 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13464 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13465 fi ;;
13466 esac
13468 rm -f core conftest.err conftest.$ac_objext \
13469 conftest$ac_exeext conftest.$ac_ext
13470 LIBS=$ac_check_soname_save_LIBS
13472 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13474 $as_echo "not found" >&6; }
13475 FONTCONFIG_CFLAGS=""
13476 else
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13478 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13480 cat >>confdefs.h <<_ACEOF
13481 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13482 _ACEOF
13486 else
13487 FONTCONFIG_CFLAGS=""
13489 CPPFLAGS=$ac_save_CPPFLAGS
13490 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13491 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13494 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13495 case "x$with_fontconfig" in
13496 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13497 xno) ;;
13498 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13499 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13500 esac
13504 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13505 then
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13507 $as_echo_n "checking for -lgsm... " >&6; }
13508 if ${ac_cv_lib_soname_gsm+:} false; then :
13509 $as_echo_n "(cached) " >&6
13510 else
13511 ac_check_soname_save_LIBS=$LIBS
13512 LIBS="-lgsm $LIBS"
13513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h. */
13516 /* Override any GCC internal prototype to avoid an error.
13517 Use char because int might match the return type of a GCC
13518 builtin and then its argument prototype would still apply. */
13519 #ifdef __cplusplus
13520 extern "C"
13521 #endif
13522 char gsm_create ();
13524 main ()
13526 return gsm_create ();
13528 return 0;
13530 _ACEOF
13531 if ac_fn_c_try_link "$LINENO"; then :
13532 case "$LIBEXT" in
13533 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13534 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'` ;;
13535 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13536 if ${ac_cv_lib_soname_gsm:+false} :; then :
13537 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13538 fi ;;
13539 esac
13541 rm -f core conftest.err conftest.$ac_objext \
13542 conftest$ac_exeext conftest.$ac_ext
13543 LIBS=$ac_check_soname_save_LIBS
13545 if ${ac_cv_lib_soname_gsm:+false} :; then :
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13547 $as_echo "not found" >&6; }
13549 else
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13551 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13553 cat >>confdefs.h <<_ACEOF
13554 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13555 _ACEOF
13560 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13561 case "x$with_gsm" in
13562 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13563 xno) ;;
13564 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13565 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13566 esac
13570 if test "x$with_jpeg" != "xno"
13571 then
13572 if ${JPEG_CFLAGS:+false} :; then :
13573 if ${PKG_CONFIG+:} false; then :
13574 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13578 if ${JPEG_LIBS:+false} :; then :
13579 if ${PKG_CONFIG+:} false; then :
13580 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13585 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13586 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13587 ac_save_CPPFLAGS=$CPPFLAGS
13588 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13589 for ac_header in jpeglib.h
13590 do :
13591 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13592 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13593 cat >>confdefs.h <<_ACEOF
13594 #define HAVE_JPEGLIB_H 1
13595 _ACEOF
13599 done
13601 if test "$ac_cv_header_jpeglib_h" = "yes"
13602 then
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13604 $as_echo_n "checking for -ljpeg... " >&6; }
13605 if ${ac_cv_lib_soname_jpeg+:} false; then :
13606 $as_echo_n "(cached) " >&6
13607 else
13608 ac_check_soname_save_LIBS=$LIBS
13609 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13611 /* end confdefs.h. */
13613 /* Override any GCC internal prototype to avoid an error.
13614 Use char because int might match the return type of a GCC
13615 builtin and then its argument prototype would still apply. */
13616 #ifdef __cplusplus
13617 extern "C"
13618 #endif
13619 char jpeg_start_decompress ();
13621 main ()
13623 return jpeg_start_decompress ();
13625 return 0;
13627 _ACEOF
13628 if ac_fn_c_try_link "$LINENO"; then :
13629 case "$LIBEXT" in
13630 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13631 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'` ;;
13632 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13633 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13634 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13635 fi ;;
13636 esac
13638 rm -f core conftest.err conftest.$ac_objext \
13639 conftest$ac_exeext conftest.$ac_ext
13640 LIBS=$ac_check_soname_save_LIBS
13642 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13644 $as_echo "not found" >&6; }
13645 JPEG_CFLAGS=""
13646 else
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13648 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13650 cat >>confdefs.h <<_ACEOF
13651 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13652 _ACEOF
13656 else
13657 JPEG_CFLAGS=""
13659 CPPFLAGS=$ac_save_CPPFLAGS
13660 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13661 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13664 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13665 case "x$with_jpeg" in
13666 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13667 xno) ;;
13668 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13669 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13670 esac
13674 if test "x$with_png" != "xno"
13675 then
13676 if ${PNG_CFLAGS:+false} :; then :
13677 if ${PKG_CONFIG+:} false; then :
13678 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13681 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13682 if ${PNG_LIBS:+false} :; then :
13683 if ${PKG_CONFIG+:} false; then :
13684 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13687 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13689 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13690 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13691 ac_save_CPPFLAGS=$CPPFLAGS
13692 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13693 for ac_header in png.h
13694 do :
13695 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13696 if test "x$ac_cv_header_png_h" = xyes; then :
13697 cat >>confdefs.h <<_ACEOF
13698 #define HAVE_PNG_H 1
13699 _ACEOF
13703 done
13705 if test "$ac_cv_header_png_h" = "yes"
13706 then
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13708 $as_echo_n "checking for -lpng... " >&6; }
13709 if ${ac_cv_lib_soname_png+:} false; then :
13710 $as_echo_n "(cached) " >&6
13711 else
13712 ac_check_soname_save_LIBS=$LIBS
13713 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13715 /* end confdefs.h. */
13717 /* Override any GCC internal prototype to avoid an error.
13718 Use char because int might match the return type of a GCC
13719 builtin and then its argument prototype would still apply. */
13720 #ifdef __cplusplus
13721 extern "C"
13722 #endif
13723 char png_create_read_struct ();
13725 main ()
13727 return png_create_read_struct ();
13729 return 0;
13731 _ACEOF
13732 if ac_fn_c_try_link "$LINENO"; then :
13733 case "$LIBEXT" in
13734 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13735 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'` ;;
13736 *) 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'`
13737 if ${ac_cv_lib_soname_png:+false} :; then :
13738 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13739 fi ;;
13740 esac
13742 rm -f core conftest.err conftest.$ac_objext \
13743 conftest$ac_exeext conftest.$ac_ext
13744 LIBS=$ac_check_soname_save_LIBS
13746 if ${ac_cv_lib_soname_png:+false} :; then :
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13748 $as_echo "not found" >&6; }
13749 PNG_CFLAGS=""
13750 else
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13752 $as_echo "$ac_cv_lib_soname_png" >&6; }
13754 cat >>confdefs.h <<_ACEOF
13755 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13756 _ACEOF
13758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13759 /* end confdefs.h. */
13760 #include <png.h>
13762 main ()
13764 typeof(png_set_expand_gray_1_2_4_to_8) *p
13766 return 0;
13768 _ACEOF
13769 if ac_fn_c_try_compile "$LINENO"; then :
13771 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13776 else
13777 PNG_CFLAGS=""
13779 CPPFLAGS=$ac_save_CPPFLAGS
13780 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13781 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13784 if test "x$ac_cv_lib_soname_png" = "x"; then :
13785 case "x$with_png" in
13786 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13787 xno) ;;
13788 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13789 This is an error since --with-png was requested." "$LINENO" 5 ;;
13790 esac
13794 if test "x$with_tiff" != "xno"
13795 then
13796 if ${TIFF_CFLAGS:+false} :; then :
13797 if ${PKG_CONFIG+:} false; then :
13798 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13802 if ${TIFF_LIBS:+false} :; then :
13803 if ${PKG_CONFIG+:} false; then :
13804 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13809 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13810 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13811 ac_save_CPPFLAGS=$CPPFLAGS
13812 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13813 for ac_header in tiffio.h
13814 do :
13815 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13816 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13817 cat >>confdefs.h <<_ACEOF
13818 #define HAVE_TIFFIO_H 1
13819 _ACEOF
13823 done
13825 if test "$ac_cv_header_tiffio_h" = "yes"
13826 then
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13828 $as_echo_n "checking for -ltiff... " >&6; }
13829 if ${ac_cv_lib_soname_tiff+:} false; then :
13830 $as_echo_n "(cached) " >&6
13831 else
13832 ac_check_soname_save_LIBS=$LIBS
13833 LIBS="-ltiff $TIFF_LIBS $LIBS"
13834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13835 /* end confdefs.h. */
13837 /* Override any GCC internal prototype to avoid an error.
13838 Use char because int might match the return type of a GCC
13839 builtin and then its argument prototype would still apply. */
13840 #ifdef __cplusplus
13841 extern "C"
13842 #endif
13843 char TIFFClientOpen ();
13845 main ()
13847 return TIFFClientOpen ();
13849 return 0;
13851 _ACEOF
13852 if ac_fn_c_try_link "$LINENO"; then :
13853 case "$LIBEXT" in
13854 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13855 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'` ;;
13856 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13857 if ${ac_cv_lib_soname_tiff:+false} :; then :
13858 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13859 fi ;;
13860 esac
13862 rm -f core conftest.err conftest.$ac_objext \
13863 conftest$ac_exeext conftest.$ac_ext
13864 LIBS=$ac_check_soname_save_LIBS
13866 if ${ac_cv_lib_soname_tiff:+false} :; then :
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13868 $as_echo "not found" >&6; }
13870 else
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13872 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13874 cat >>confdefs.h <<_ACEOF
13875 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13876 _ACEOF
13881 CPPFLAGS=$ac_save_CPPFLAGS
13882 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13883 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13886 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13887 case "x$with_tiff" in
13888 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13889 xno) ;;
13890 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13891 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13892 esac
13896 if test "x$with_mpg123" != "xno"
13897 then
13898 if ${MPG123_CFLAGS:+false} :; then :
13899 if ${PKG_CONFIG+:} false; then :
13900 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13904 if ${MPG123_LIBS:+false} :; then :
13905 if ${PKG_CONFIG+:} false; then :
13906 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13910 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13911 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13912 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13913 ac_save_CPPFLAGS=$CPPFLAGS
13914 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13915 for ac_header in mpg123.h
13916 do :
13917 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13918 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13919 cat >>confdefs.h <<_ACEOF
13920 #define HAVE_MPG123_H 1
13921 _ACEOF
13925 done
13927 if test "$ac_cv_header_mpg123_h" = "yes"
13928 then
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13930 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13931 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13932 $as_echo_n "(cached) " >&6
13933 else
13934 ac_check_lib_save_LIBS=$LIBS
13935 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13937 /* end confdefs.h. */
13939 /* Override any GCC internal prototype to avoid an error.
13940 Use char because int might match the return type of a GCC
13941 builtin and then its argument prototype would still apply. */
13942 #ifdef __cplusplus
13943 extern "C"
13944 #endif
13945 char mpg123_feed ();
13947 main ()
13949 return mpg123_feed ();
13951 return 0;
13953 _ACEOF
13954 if ac_fn_c_try_link "$LINENO"; then :
13955 ac_cv_lib_mpg123_mpg123_feed=yes
13956 else
13957 ac_cv_lib_mpg123_mpg123_feed=no
13959 rm -f core conftest.err conftest.$ac_objext \
13960 conftest$ac_exeext conftest.$ac_ext
13961 LIBS=$ac_check_lib_save_LIBS
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13964 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13965 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13967 else
13968 MPG123_LIBS=""
13971 else
13972 MPG123_CFLAGS=""
13973 MPG123_LIBS=""
13975 CPPFLAGS=$ac_save_CPPFLAGS
13976 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13977 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13980 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13981 case "x$with_mpg123" in
13982 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13983 xno) ;;
13984 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13985 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13986 esac
13987 enable_winemp3_acm=${enable_winemp3_acm:-no}
13990 if test "$ac_cv_header_AL_al_h" = "yes"
13991 then
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13993 $as_echo_n "checking for -lopenal... " >&6; }
13994 if ${ac_cv_lib_soname_openal+:} false; then :
13995 $as_echo_n "(cached) " >&6
13996 else
13997 ac_check_soname_save_LIBS=$LIBS
13998 LIBS="-lopenal $LIBS"
13999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14002 /* Override any GCC internal prototype to avoid an error.
14003 Use char because int might match the return type of a GCC
14004 builtin and then its argument prototype would still apply. */
14005 #ifdef __cplusplus
14006 extern "C"
14007 #endif
14008 char alGetSource3i ();
14010 main ()
14012 return alGetSource3i ();
14014 return 0;
14016 _ACEOF
14017 if ac_fn_c_try_link "$LINENO"; then :
14018 case "$LIBEXT" in
14019 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14020 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'` ;;
14021 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14022 if ${ac_cv_lib_soname_openal:+false} :; then :
14023 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14024 fi ;;
14025 esac
14027 rm -f core conftest.err conftest.$ac_objext \
14028 conftest$ac_exeext conftest.$ac_ext
14029 LIBS=$ac_check_soname_save_LIBS
14031 if ${ac_cv_lib_soname_openal:+false} :; then :
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14033 $as_echo "not found" >&6; }
14035 else
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14037 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14039 cat >>confdefs.h <<_ACEOF
14040 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14041 _ACEOF
14043 OPENAL_LIBS="-lopenal"
14045 ac_cv_lib_openal=yes
14047 cat >>confdefs.h <<_ACEOF
14048 #define HAVE_OPENAL 1
14049 _ACEOF
14053 if test "x$ac_cv_lib_openal" != xyes; then :
14054 case "x$with_openal" in
14055 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14056 xno) ;;
14057 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14058 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14059 esac
14060 enable_openal32=${enable_openal32:-no}
14063 if test "x$ac_cv_lib_openal" = xyes
14064 then
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14066 $as_echo_n "checking for openal-soft... " >&6; }
14067 if ${ac_cv_have_openalsoft+:} false; then :
14068 $as_echo_n "(cached) " >&6
14069 else
14070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14071 /* end confdefs.h. */
14072 #include <AL/al.h>
14073 #include <AL/alc.h>
14074 #include <AL/alext.h>
14075 LPALCRENDERSAMPLESSOFT x;
14077 main ()
14081 return 0;
14083 _ACEOF
14084 if ac_fn_c_try_compile "$LINENO"; then :
14085 ac_cv_have_openalsoft=yes
14086 else
14087 ac_cv_have_openalsoft=no
14089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14092 $as_echo "$ac_cv_have_openalsoft" >&6; }
14094 if test "x$ac_cv_have_openalsoft" != xyes
14095 then
14096 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14097 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14098 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14099 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14100 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14101 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14102 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14103 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14104 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14105 enable_xapofx1_1=${enable_xapofx1_1:-no}
14106 enable_xapofx1_2=${enable_xapofx1_2:-no}
14107 enable_xapofx1_3=${enable_xapofx1_3:-no}
14108 enable_xapofx1_4=${enable_xapofx1_4:-no}
14109 enable_xapofx1_5=${enable_xapofx1_5:-no}
14110 enable_xaudio2_0=${enable_xaudio2_0:-no}
14111 enable_xaudio2_1=${enable_xaudio2_1:-no}
14112 enable_xaudio2_2=${enable_xaudio2_2:-no}
14113 enable_xaudio2_3=${enable_xaudio2_3:-no}
14114 enable_xaudio2_4=${enable_xaudio2_4:-no}
14115 enable_xaudio2_5=${enable_xaudio2_5:-no}
14116 enable_xaudio2_6=${enable_xaudio2_6:-no}
14117 enable_xaudio2_7=${enable_xaudio2_7:-no}
14118 enable_xaudio2_8=${enable_xaudio2_8:-no}
14119 enable_xaudio2_9=${enable_xaudio2_9:-no}
14122 if test "$ac_cv_header_kstat_h" = "yes"
14123 then
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14125 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14126 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14127 $as_echo_n "(cached) " >&6
14128 else
14129 ac_check_lib_save_LIBS=$LIBS
14130 LIBS="-lkstat $LIBS"
14131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14132 /* end confdefs.h. */
14134 /* Override any GCC internal prototype to avoid an error.
14135 Use char because int might match the return type of a GCC
14136 builtin and then its argument prototype would still apply. */
14137 #ifdef __cplusplus
14138 extern "C"
14139 #endif
14140 char kstat_open ();
14142 main ()
14144 return kstat_open ();
14146 return 0;
14148 _ACEOF
14149 if ac_fn_c_try_link "$LINENO"; then :
14150 ac_cv_lib_kstat_kstat_open=yes
14151 else
14152 ac_cv_lib_kstat_kstat_open=no
14154 rm -f core conftest.err conftest.$ac_objext \
14155 conftest$ac_exeext conftest.$ac_ext
14156 LIBS=$ac_check_lib_save_LIBS
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14159 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14160 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14162 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14164 KSTAT_LIBS="-lkstat"
14170 if test "$ac_cv_header_libprocstat_h" = "yes"
14171 then
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14173 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14174 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14175 $as_echo_n "(cached) " >&6
14176 else
14177 ac_check_lib_save_LIBS=$LIBS
14178 LIBS="-lprocstat $LIBS"
14179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14180 /* end confdefs.h. */
14182 /* Override any GCC internal prototype to avoid an error.
14183 Use char because int might match the return type of a GCC
14184 builtin and then its argument prototype would still apply. */
14185 #ifdef __cplusplus
14186 extern "C"
14187 #endif
14188 char procstat_open_sysctl ();
14190 main ()
14192 return procstat_open_sysctl ();
14194 return 0;
14196 _ACEOF
14197 if ac_fn_c_try_link "$LINENO"; then :
14198 ac_cv_lib_procstat_procstat_open_sysctl=yes
14199 else
14200 ac_cv_lib_procstat_procstat_open_sysctl=no
14202 rm -f core conftest.err conftest.$ac_objext \
14203 conftest$ac_exeext conftest.$ac_ext
14204 LIBS=$ac_check_lib_save_LIBS
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14207 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14208 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14210 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14212 PROCSTAT_LIBS="-lprocstat"
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14219 $as_echo_n "checking for -lodbc... " >&6; }
14220 if ${ac_cv_lib_soname_odbc+:} false; then :
14221 $as_echo_n "(cached) " >&6
14222 else
14223 ac_check_soname_save_LIBS=$LIBS
14224 LIBS="-lodbc $LIBS"
14225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14228 /* Override any GCC internal prototype to avoid an error.
14229 Use char because int might match the return type of a GCC
14230 builtin and then its argument prototype would still apply. */
14231 #ifdef __cplusplus
14232 extern "C"
14233 #endif
14234 char SQLConnect ();
14236 main ()
14238 return SQLConnect ();
14240 return 0;
14242 _ACEOF
14243 if ac_fn_c_try_link "$LINENO"; then :
14244 case "$LIBEXT" in
14245 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14246 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'` ;;
14247 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14248 if ${ac_cv_lib_soname_odbc:+false} :; then :
14249 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14250 fi ;;
14251 esac
14253 rm -f core conftest.err conftest.$ac_objext \
14254 conftest$ac_exeext conftest.$ac_ext
14255 LIBS=$ac_check_soname_save_LIBS
14257 if ${ac_cv_lib_soname_odbc:+false} :; then :
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14259 $as_echo "not found" >&6; }
14260 cat >>confdefs.h <<_ACEOF
14261 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14262 _ACEOF
14264 else
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14266 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14268 cat >>confdefs.h <<_ACEOF
14269 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14270 _ACEOF
14275 if test "x$with_netapi" != "xno"
14276 then
14277 if ${NETAPI_CFLAGS:+false} :; then :
14278 if ${PKG_CONFIG+:} false; then :
14279 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14283 if ${NETAPI_LIBS:+false} :; then :
14284 if ${PKG_CONFIG+:} false; then :
14285 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14290 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14291 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14292 ac_save_CPPFLAGS=$CPPFLAGS
14293 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14295 $as_echo_n "checking for -lnetapi... " >&6; }
14296 if ${ac_cv_lib_soname_netapi+:} false; then :
14297 $as_echo_n "(cached) " >&6
14298 else
14299 ac_check_soname_save_LIBS=$LIBS
14300 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14302 /* end confdefs.h. */
14304 /* Override any GCC internal prototype to avoid an error.
14305 Use char because int might match the return type of a GCC
14306 builtin and then its argument prototype would still apply. */
14307 #ifdef __cplusplus
14308 extern "C"
14309 #endif
14310 char libnetapi_init ();
14312 main ()
14314 return libnetapi_init ();
14316 return 0;
14318 _ACEOF
14319 if ac_fn_c_try_link "$LINENO"; then :
14320 case "$LIBEXT" in
14321 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14322 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'` ;;
14323 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14324 if ${ac_cv_lib_soname_netapi:+false} :; then :
14325 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14326 fi ;;
14327 esac
14329 rm -f core conftest.err conftest.$ac_objext \
14330 conftest$ac_exeext conftest.$ac_ext
14331 LIBS=$ac_check_soname_save_LIBS
14333 if ${ac_cv_lib_soname_netapi:+false} :; then :
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14335 $as_echo "not found" >&6; }
14336 cat >>confdefs.h <<_ACEOF
14337 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14338 _ACEOF
14340 else
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14342 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14344 cat >>confdefs.h <<_ACEOF
14345 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14346 _ACEOF
14350 CPPFLAGS=$ac_save_CPPFLAGS
14351 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14352 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14356 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14357 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14358 then
14359 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14363 EXTRACFLAGS=""
14365 if test "x${GCC}" = "xyes"
14366 then
14367 EXTRACFLAGS="-Wall -pipe"
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14370 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14371 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14372 $as_echo_n "(cached) " >&6
14373 else
14374 if test "$cross_compiling" = yes; then :
14375 ac_cv_c_gcc_strength_bug="no"
14376 else
14377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14378 /* end confdefs.h. */
14379 int L[4] = {0,1,2,3};
14381 main ()
14383 static int Array[3];
14384 unsigned int B = 3;
14385 int i;
14386 for(i=0; i<B; i++) Array[i] = i - 3;
14387 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14388 L[i] = 4;
14389 return (Array[1] != -2 || L[2] != 3)
14391 return 0;
14393 _ACEOF
14394 if ac_fn_c_try_run "$LINENO"; then :
14395 ac_cv_c_gcc_strength_bug="no"
14396 else
14397 ac_cv_c_gcc_strength_bug="yes"
14399 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14400 conftest.$ac_objext conftest.beam conftest.$ac_ext
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14405 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14406 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14407 then
14408 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14412 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14413 if ${ac_cv_cflags__fno_builtin+:} false; then :
14414 $as_echo_n "(cached) " >&6
14415 else
14416 ac_wine_try_cflags_saved=$CFLAGS
14417 CFLAGS="$CFLAGS -fno-builtin"
14418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14419 /* end confdefs.h. */
14420 int main(int argc, char **argv) { return 0; }
14421 _ACEOF
14422 if ac_fn_c_try_link "$LINENO"; then :
14423 ac_cv_cflags__fno_builtin=yes
14424 else
14425 ac_cv_cflags__fno_builtin=no
14427 rm -f core conftest.err conftest.$ac_objext \
14428 conftest$ac_exeext conftest.$ac_ext
14429 CFLAGS=$ac_wine_try_cflags_saved
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14432 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14433 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14434 BUILTINFLAG="-fno-builtin"
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14438 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14439 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14440 $as_echo_n "(cached) " >&6
14441 else
14442 ac_wine_try_cflags_saved=$CFLAGS
14443 CFLAGS="$CFLAGS -fno-strict-aliasing"
14444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14445 /* end confdefs.h. */
14446 int main(int argc, char **argv) { return 0; }
14447 _ACEOF
14448 if ac_fn_c_try_link "$LINENO"; then :
14449 ac_cv_cflags__fno_strict_aliasing=yes
14450 else
14451 ac_cv_cflags__fno_strict_aliasing=no
14453 rm -f core conftest.err conftest.$ac_objext \
14454 conftest$ac_exeext conftest.$ac_ext
14455 CFLAGS=$ac_wine_try_cflags_saved
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14458 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14459 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14460 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14463 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14464 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14465 $as_echo_n "(cached) " >&6
14466 else
14467 ac_wine_try_cflags_saved=$CFLAGS
14468 CFLAGS="$CFLAGS -fexcess-precision=standard"
14469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14470 /* end confdefs.h. */
14471 int main(int argc, char **argv) { return 0; }
14472 _ACEOF
14473 if ac_fn_c_try_link "$LINENO"; then :
14474 ac_cv_cflags__fexcess_precision_standard=yes
14475 else
14476 ac_cv_cflags__fexcess_precision_standard=no
14478 rm -f core conftest.err conftest.$ac_objext \
14479 conftest$ac_exeext conftest.$ac_ext
14480 CFLAGS=$ac_wine_try_cflags_saved
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14483 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14484 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14485 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14488 saved_CFLAGS=$CFLAGS
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14490 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14491 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14492 $as_echo_n "(cached) " >&6
14493 else
14494 ac_wine_try_cflags_saved=$CFLAGS
14495 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14497 /* end confdefs.h. */
14498 int main(int argc, char **argv) { return 0; }
14499 _ACEOF
14500 if ac_fn_c_try_link "$LINENO"; then :
14501 ac_cv_cflags__Werror_unknown_warning_option=yes
14502 else
14503 ac_cv_cflags__Werror_unknown_warning_option=no
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14507 CFLAGS=$ac_wine_try_cflags_saved
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14510 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14511 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14512 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14515 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14516 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14517 $as_echo_n "(cached) " >&6
14518 else
14519 ac_wine_try_cflags_saved=$CFLAGS
14520 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */
14523 int main(int argc, char **argv) { return 0; }
14524 _ACEOF
14525 if ac_fn_c_try_link "$LINENO"; then :
14526 ac_cv_cflags__Wdeclaration_after_statement=yes
14527 else
14528 ac_cv_cflags__Wdeclaration_after_statement=no
14530 rm -f core conftest.err conftest.$ac_objext \
14531 conftest$ac_exeext conftest.$ac_ext
14532 CFLAGS=$ac_wine_try_cflags_saved
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14535 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14536 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14537 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14540 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14541 if ${ac_cv_cflags__Wempty_body+:} false; then :
14542 $as_echo_n "(cached) " >&6
14543 else
14544 ac_wine_try_cflags_saved=$CFLAGS
14545 CFLAGS="$CFLAGS -Wempty-body"
14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14548 int main(int argc, char **argv) { return 0; }
14549 _ACEOF
14550 if ac_fn_c_try_link "$LINENO"; then :
14551 ac_cv_cflags__Wempty_body=yes
14552 else
14553 ac_cv_cflags__Wempty_body=no
14555 rm -f core conftest.err conftest.$ac_objext \
14556 conftest$ac_exeext conftest.$ac_ext
14557 CFLAGS=$ac_wine_try_cflags_saved
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14560 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14561 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14562 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14565 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14566 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14567 $as_echo_n "(cached) " >&6
14568 else
14569 ac_wine_try_cflags_saved=$CFLAGS
14570 CFLAGS="$CFLAGS -Wignored-qualifiers"
14571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14572 /* end confdefs.h. */
14573 int main(int argc, char **argv) { return 0; }
14574 _ACEOF
14575 if ac_fn_c_try_link "$LINENO"; then :
14576 ac_cv_cflags__Wignored_qualifiers=yes
14577 else
14578 ac_cv_cflags__Wignored_qualifiers=no
14580 rm -f core conftest.err conftest.$ac_objext \
14581 conftest$ac_exeext conftest.$ac_ext
14582 CFLAGS=$ac_wine_try_cflags_saved
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14585 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14586 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14587 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14590 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14591 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14592 $as_echo_n "(cached) " >&6
14593 else
14594 ac_wine_try_cflags_saved=$CFLAGS
14595 CFLAGS="$CFLAGS -Wshift-overflow=2"
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14598 int main(int argc, char **argv) { return 0; }
14599 _ACEOF
14600 if ac_fn_c_try_link "$LINENO"; then :
14601 ac_cv_cflags__Wshift_overflow_2=yes
14602 else
14603 ac_cv_cflags__Wshift_overflow_2=no
14605 rm -f core conftest.err conftest.$ac_objext \
14606 conftest$ac_exeext conftest.$ac_ext
14607 CFLAGS=$ac_wine_try_cflags_saved
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14610 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14611 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14612 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14615 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14616 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14617 $as_echo_n "(cached) " >&6
14618 else
14619 ac_wine_try_cflags_saved=$CFLAGS
14620 CFLAGS="$CFLAGS -Wstrict-prototypes"
14621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14622 /* end confdefs.h. */
14623 int main(int argc, char **argv) { return 0; }
14624 _ACEOF
14625 if ac_fn_c_try_link "$LINENO"; then :
14626 ac_cv_cflags__Wstrict_prototypes=yes
14627 else
14628 ac_cv_cflags__Wstrict_prototypes=no
14630 rm -f core conftest.err conftest.$ac_objext \
14631 conftest$ac_exeext conftest.$ac_ext
14632 CFLAGS=$ac_wine_try_cflags_saved
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14635 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14636 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14637 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14640 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14641 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14642 $as_echo_n "(cached) " >&6
14643 else
14644 ac_wine_try_cflags_saved=$CFLAGS
14645 CFLAGS="$CFLAGS -Wtype-limits"
14646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14648 int main(int argc, char **argv) { return 0; }
14649 _ACEOF
14650 if ac_fn_c_try_link "$LINENO"; then :
14651 ac_cv_cflags__Wtype_limits=yes
14652 else
14653 ac_cv_cflags__Wtype_limits=no
14655 rm -f core conftest.err conftest.$ac_objext \
14656 conftest$ac_exeext conftest.$ac_ext
14657 CFLAGS=$ac_wine_try_cflags_saved
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14660 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14661 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14662 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14665 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14666 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14667 $as_echo_n "(cached) " >&6
14668 else
14669 ac_wine_try_cflags_saved=$CFLAGS
14670 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14672 /* end confdefs.h. */
14673 int main(int argc, char **argv) { return 0; }
14674 _ACEOF
14675 if ac_fn_c_try_link "$LINENO"; then :
14676 ac_cv_cflags__Wunused_but_set_parameter=yes
14677 else
14678 ac_cv_cflags__Wunused_but_set_parameter=no
14680 rm -f core conftest.err conftest.$ac_objext \
14681 conftest$ac_exeext conftest.$ac_ext
14682 CFLAGS=$ac_wine_try_cflags_saved
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14685 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14686 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14687 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14690 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14691 if ${ac_cv_cflags__Wvla+:} false; then :
14692 $as_echo_n "(cached) " >&6
14693 else
14694 ac_wine_try_cflags_saved=$CFLAGS
14695 CFLAGS="$CFLAGS -Wvla"
14696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h. */
14698 int main(int argc, char **argv) { return 0; }
14699 _ACEOF
14700 if ac_fn_c_try_link "$LINENO"; then :
14701 ac_cv_cflags__Wvla=yes
14702 else
14703 ac_cv_cflags__Wvla=no
14705 rm -f core conftest.err conftest.$ac_objext \
14706 conftest$ac_exeext conftest.$ac_ext
14707 CFLAGS=$ac_wine_try_cflags_saved
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14710 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14711 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14712 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14715 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14716 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14717 $as_echo_n "(cached) " >&6
14718 else
14719 ac_wine_try_cflags_saved=$CFLAGS
14720 CFLAGS="$CFLAGS -Wwrite-strings"
14721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14722 /* end confdefs.h. */
14723 int main(int argc, char **argv) { return 0; }
14724 _ACEOF
14725 if ac_fn_c_try_link "$LINENO"; then :
14726 ac_cv_cflags__Wwrite_strings=yes
14727 else
14728 ac_cv_cflags__Wwrite_strings=no
14730 rm -f core conftest.err conftest.$ac_objext \
14731 conftest$ac_exeext conftest.$ac_ext
14732 CFLAGS=$ac_wine_try_cflags_saved
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14735 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14736 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14737 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14741 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14742 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14743 $as_echo_n "(cached) " >&6
14744 else
14745 ac_wine_try_cflags_saved=$CFLAGS
14746 CFLAGS="$CFLAGS -Wpointer-arith"
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__Wpointer_arith=yes
14753 else
14754 ac_cv_cflags__Wpointer_arith=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__Wpointer_arith" >&5
14761 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14762 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14763 saved_string_h_CFLAGS=$CFLAGS
14764 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14766 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14767 if ${ac_cv_c_string_h_warnings+:} false; then :
14768 $as_echo_n "(cached) " >&6
14769 else
14770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14771 /* end confdefs.h. */
14772 #include <string.h>
14774 main ()
14778 return 0;
14780 _ACEOF
14781 if ac_fn_c_try_compile "$LINENO"; then :
14782 ac_cv_c_string_h_warnings=no
14783 else
14784 ac_cv_c_string_h_warnings=yes
14786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14789 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14790 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14791 CFLAGS=$saved_string_h_CFLAGS
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14795 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14796 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14797 $as_echo_n "(cached) " >&6
14798 else
14799 ac_wine_try_cflags_saved=$CFLAGS
14800 CFLAGS="$CFLAGS -Wlogical-op"
14801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14802 /* end confdefs.h. */
14803 int main(int argc, char **argv) { return 0; }
14804 _ACEOF
14805 if ac_fn_c_try_link "$LINENO"; then :
14806 ac_cv_cflags__Wlogical_op=yes
14807 else
14808 ac_cv_cflags__Wlogical_op=no
14810 rm -f core conftest.err conftest.$ac_objext \
14811 conftest$ac_exeext conftest.$ac_ext
14812 CFLAGS=$ac_wine_try_cflags_saved
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14815 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14816 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14817 saved_string_h_CFLAGS=$CFLAGS
14818 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14820 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14821 if ${ac_cv_c_logicalop_noisy+:} false; then :
14822 $as_echo_n "(cached) " >&6
14823 else
14824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14825 /* end confdefs.h. */
14826 #include <string.h>
14827 char*f(const char *h,char n) {return strchr(h,n);}
14829 main ()
14833 return 0;
14835 _ACEOF
14836 if ac_fn_c_try_compile "$LINENO"; then :
14837 ac_cv_c_logicalop_noisy=no
14838 else
14839 ac_cv_c_logicalop_noisy=yes
14841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14844 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14845 CFLAGS=$saved_string_h_CFLAGS
14846 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14849 CFLAGS=$saved_CFLAGS
14851 for ac_flag in $CFLAGS; do
14852 case $ac_flag in
14853 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14854 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14855 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14856 $as_echo_n "(cached) " >&6
14857 else
14858 ac_wine_try_cflags_saved=$CFLAGS
14859 CFLAGS="$CFLAGS -gdwarf-2"
14860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14861 /* end confdefs.h. */
14862 int main(int argc, char **argv) { return 0; }
14863 _ACEOF
14864 if ac_fn_c_try_link "$LINENO"; then :
14865 ac_cv_cflags__gdwarf_2=yes
14866 else
14867 ac_cv_cflags__gdwarf_2=no
14869 rm -f core conftest.err conftest.$ac_objext \
14870 conftest$ac_exeext conftest.$ac_ext
14871 CFLAGS=$ac_wine_try_cflags_saved
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14874 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14875 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14876 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14879 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14880 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14881 $as_echo_n "(cached) " >&6
14882 else
14883 ac_wine_try_cflags_saved=$CFLAGS
14884 CFLAGS="$CFLAGS -gstrict-dwarf"
14885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14887 int main(int argc, char **argv) { return 0; }
14888 _ACEOF
14889 if ac_fn_c_try_link "$LINENO"; then :
14890 ac_cv_cflags__gstrict_dwarf=yes
14891 else
14892 ac_cv_cflags__gstrict_dwarf=no
14894 rm -f core conftest.err conftest.$ac_objext \
14895 conftest$ac_exeext conftest.$ac_ext
14896 CFLAGS=$ac_wine_try_cflags_saved
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14899 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14900 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14901 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14902 fi ;;
14903 esac
14904 done
14906 case $host_cpu in
14907 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14908 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14909 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14910 $as_echo_n "(cached) " >&6
14911 else
14912 ac_wine_try_cflags_saved=$CFLAGS
14913 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14915 /* end confdefs.h. */
14916 int main(int argc, char **argv) { return 0; }
14917 _ACEOF
14918 if ac_fn_c_try_link "$LINENO"; then :
14919 ac_cv_cflags__fno_omit_frame_pointer=yes
14920 else
14921 ac_cv_cflags__fno_omit_frame_pointer=no
14923 rm -f core conftest.err conftest.$ac_objext \
14924 conftest$ac_exeext conftest.$ac_ext
14925 CFLAGS=$ac_wine_try_cflags_saved
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14928 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14929 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14930 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14931 fi ;;
14932 esac
14934 case $host in
14935 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14936 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14937 if ${ac_cv_cflags__Wno_format+:} false; then :
14938 $as_echo_n "(cached) " >&6
14939 else
14940 ac_wine_try_cflags_saved=$CFLAGS
14941 CFLAGS="$CFLAGS -Wno-format"
14942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14943 /* end confdefs.h. */
14944 int main(int argc, char **argv) { return 0; }
14945 _ACEOF
14946 if ac_fn_c_try_link "$LINENO"; then :
14947 ac_cv_cflags__Wno_format=yes
14948 else
14949 ac_cv_cflags__Wno_format=no
14951 rm -f core conftest.err conftest.$ac_objext \
14952 conftest$ac_exeext conftest.$ac_ext
14953 CFLAGS=$ac_wine_try_cflags_saved
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14956 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14957 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14958 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14959 fi ;;
14960 esac
14962 if test "x$enable_maintainer_mode" = "xyes"
14963 then
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14965 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14966 if ${ac_cv_cflags__Werror+:} false; then :
14967 $as_echo_n "(cached) " >&6
14968 else
14969 ac_wine_try_cflags_saved=$CFLAGS
14970 CFLAGS="$CFLAGS -Werror"
14971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14972 /* end confdefs.h. */
14973 int main(int argc, char **argv) { return 0; }
14974 _ACEOF
14975 if ac_fn_c_try_link "$LINENO"; then :
14976 ac_cv_cflags__Werror=yes
14977 else
14978 ac_cv_cflags__Werror=no
14980 rm -f core conftest.err conftest.$ac_objext \
14981 conftest$ac_exeext conftest.$ac_ext
14982 CFLAGS=$ac_wine_try_cflags_saved
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14985 $as_echo "$ac_cv_cflags__Werror" >&6; }
14986 if test "x$ac_cv_cflags__Werror" = xyes; then :
14987 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14991 saved_CFLAGS="$CFLAGS"
14992 CFLAGS="$CFLAGS -Werror"
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14994 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14995 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14996 $as_echo_n "(cached) " >&6
14997 else
14998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14999 /* end confdefs.h. */
15000 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15002 main ()
15006 return 0;
15008 _ACEOF
15009 if ac_fn_c_try_compile "$LINENO"; then :
15010 ac_cv_have_ms_hook_prologue="yes"
15011 else
15012 ac_cv_have_ms_hook_prologue="no"
15014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15017 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15018 CFLAGS="$saved_CFLAGS"
15019 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15020 then
15022 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15024 else
15025 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15032 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15033 if ${ac_cv_c_fortify_enabled+:} false; then :
15034 $as_echo_n "(cached) " >&6
15035 else
15036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15037 /* end confdefs.h. */
15038 #include <string.h>
15040 main ()
15042 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15043 #error Fortify enabled
15044 #endif
15046 return 0;
15048 _ACEOF
15049 if ac_fn_c_try_compile "$LINENO"; then :
15050 ac_cv_c_fortify_enabled=no
15051 else
15052 ac_cv_c_fortify_enabled=yes
15054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15057 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15058 if test "$ac_cv_c_fortify_enabled" = yes
15059 then
15060 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15065 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15066 if ${ac_cv_c_extern_prefix+:} false; then :
15067 $as_echo_n "(cached) " >&6
15068 else
15069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15070 /* end confdefs.h. */
15071 extern int ac_test;
15073 main ()
15075 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15077 return 0;
15079 _ACEOF
15080 if ac_fn_c_try_link "$LINENO"; then :
15081 ac_cv_c_extern_prefix="yes"
15082 else
15083 ac_cv_c_extern_prefix="no"
15085 rm -f core conftest.err conftest.$ac_objext \
15086 conftest$ac_exeext conftest.$ac_ext
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15089 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15091 case $host_cpu in
15092 *i[3456789]86*)
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15094 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15095 if ${ac_cv_c_stdcall_suffix+:} false; then :
15096 $as_echo_n "(cached) " >&6
15097 else
15098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15099 /* end confdefs.h. */
15100 #ifndef _MSC_VER
15101 #define __stdcall __attribute__((__stdcall__))
15102 #endif
15103 int __stdcall ac_test(int i) { return i; }
15105 main ()
15107 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15109 return 0;
15111 _ACEOF
15112 if ac_fn_c_try_link "$LINENO"; then :
15113 ac_cv_c_stdcall_suffix="yes"
15114 else
15115 ac_cv_c_stdcall_suffix="no"
15117 rm -f core conftest.err conftest.$ac_objext \
15118 conftest$ac_exeext conftest.$ac_ext
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15121 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15122 *) ac_cv_c_stdcall_suffix="no" ;;
15123 esac
15126 if test "$ac_cv_c_extern_prefix" = "yes"
15127 then
15128 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15130 asm_name_prefix="_"
15131 else
15132 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15134 asm_name_prefix=""
15138 if test "$ac_cv_c_stdcall_suffix" = "yes"
15139 then
15140 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15142 else
15143 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15149 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15150 if ${ac_cv_asm_func_def+:} false; then :
15151 $as_echo_n "(cached) " >&6
15152 else
15153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15154 /* end confdefs.h. */
15157 main ()
15159 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15161 return 0;
15163 _ACEOF
15164 if ac_fn_c_try_link "$LINENO"; then :
15165 ac_cv_asm_func_def=".def"
15166 else
15167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h. */
15171 main ()
15173 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15175 return 0;
15177 _ACEOF
15178 if ac_fn_c_try_link "$LINENO"; then :
15179 ac_cv_asm_func_def=".type @function"
15180 else
15181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h. */
15185 main ()
15187 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15189 return 0;
15191 _ACEOF
15192 if ac_fn_c_try_link "$LINENO"; then :
15193 ac_cv_asm_func_def=".type 2"
15194 else
15195 ac_cv_asm_func_def="unknown"
15197 rm -f core conftest.err conftest.$ac_objext \
15198 conftest$ac_exeext conftest.$ac_ext
15200 rm -f core conftest.err conftest.$ac_objext \
15201 conftest$ac_exeext conftest.$ac_ext
15203 rm -f core conftest.err conftest.$ac_objext \
15204 conftest$ac_exeext conftest.$ac_ext
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15207 $as_echo "$ac_cv_asm_func_def" >&6; }
15210 case "$ac_cv_asm_func_def" in
15211 ".def")
15212 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15214 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15215 ".type @function")
15216 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15218 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15219 ".type 2")
15220 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15222 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15224 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15226 asm_func_header="" ;;
15227 esac
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15230 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15231 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15232 $as_echo_n "(cached) " >&6
15233 else
15234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15236 asm(".text\n\t.long 0");
15238 main ()
15242 return 0;
15244 _ACEOF
15245 if ac_fn_c_try_compile "$LINENO"; then :
15246 ac_cv_c_asm_outside_funcs="yes"
15247 else
15248 ac_cv_c_asm_outside_funcs="no"
15250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15253 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15256 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15257 if ${ac_cv_c_dot_previous+:} false; then :
15258 $as_echo_n "(cached) " >&6
15259 else
15260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15261 /* end confdefs.h. */
15264 main ()
15266 asm(".text\nac_test:\t.long 0\n\t.previous");
15268 return 0;
15270 _ACEOF
15271 if ac_fn_c_try_link "$LINENO"; then :
15272 ac_cv_c_dot_previous="yes"
15273 else
15274 ac_cv_c_dot_previous="no"
15276 rm -f core conftest.err conftest.$ac_objext \
15277 conftest$ac_exeext conftest.$ac_ext
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15280 $as_echo "$ac_cv_c_dot_previous" >&6; }
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15283 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15284 if ${ac_cv_c_cfi_support+:} false; then :
15285 $as_echo_n "(cached) " >&6
15286 else
15287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15288 /* end confdefs.h. */
15289 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15291 main ()
15295 return 0;
15297 _ACEOF
15298 if ac_fn_c_try_compile "$LINENO"; then :
15299 ac_cv_c_cfi_support="yes"
15300 else
15301 ac_cv_c_cfi_support="no"
15303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15306 $as_echo "$ac_cv_c_cfi_support" >&6; }
15308 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15309 asm_func_trailer=""
15310 if test "$ac_cv_c_dot_previous" = "yes"
15311 then
15312 asm_func_trailer="\\n\\t.previous"
15314 if test "$ac_cv_c_cfi_support" = "yes"
15315 then
15316 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15317 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15319 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15321 UNWINDFLAGS=-fasynchronous-unwind-tables
15323 else
15324 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15326 if test "x$enable_win64" = "xyes"
15327 then
15328 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15332 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15335 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15336 then
15337 cat >>confdefs.h <<_ACEOF
15338 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15339 _ACEOF
15341 else
15342 cat >>confdefs.h <<_ACEOF
15343 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15344 _ACEOF
15348 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15351 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15355 case $build_os in
15356 cygwin*|mingw32*) TOOLSEXT=".exe"
15358 esac
15360 case $host_os in
15361 linux*)
15362 case $host_cpu in
15363 *i[3456789]86*|x86_64*)
15364 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15365 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15367 esac
15369 esac
15372 ac_save_CFLAGS="$CFLAGS"
15373 CFLAGS="$CFLAGS $BUILTINFLAG"
15374 for ac_func in \
15375 __res_get_state \
15376 __res_getservers \
15377 _finite \
15378 _isnan \
15379 _pclose \
15380 _popen \
15381 _snprintf \
15382 _spawnvp \
15383 _strdup \
15384 _stricmp \
15385 _strnicmp \
15386 _strtoi64 \
15387 _strtoui64 \
15388 _vsnprintf \
15389 asctime_r \
15390 chsize \
15391 dlopen \
15392 epoll_create \
15393 ffs \
15394 finitef \
15395 fnmatch \
15396 fork \
15397 fpclass \
15398 fstatfs \
15399 fstatvfs \
15400 ftruncate \
15401 futimens \
15402 futimes \
15403 futimesat \
15404 getattrlist \
15405 getauxval \
15406 getopt_long_only \
15407 getpwuid \
15408 gettimeofday \
15409 getuid \
15410 isnanf \
15411 kqueue \
15412 lstat \
15413 memmove \
15414 mmap \
15415 pclose \
15416 pipe2 \
15417 poll \
15418 popen \
15419 port_create \
15420 prctl \
15421 pread \
15422 proc_pidinfo \
15423 pwrite \
15424 readdir \
15425 readlink \
15426 sched_yield \
15427 select \
15428 setproctitle \
15429 setprogname \
15430 setrlimit \
15431 settimeofday \
15432 sigaltstack \
15433 sigprocmask \
15434 snprintf \
15435 statfs \
15436 statvfs \
15437 strcasecmp \
15438 strdup \
15439 strerror \
15440 strncasecmp \
15441 strtold \
15442 strtoll \
15443 strtoull \
15444 symlink \
15445 sysinfo \
15446 tcdrain \
15447 thr_kill2 \
15448 timegm \
15449 usleep \
15450 vsnprintf
15452 do :
15453 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15454 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15455 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15456 cat >>confdefs.h <<_ACEOF
15457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15458 _ACEOF
15461 done
15463 CFLAGS="$ac_save_CFLAGS"
15465 if test "$ac_cv_func_dlopen" = no
15466 then
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15468 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15469 if ${ac_cv_lib_dl_dlopen+:} false; then :
15470 $as_echo_n "(cached) " >&6
15471 else
15472 ac_check_lib_save_LIBS=$LIBS
15473 LIBS="-ldl $LIBS"
15474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15475 /* end confdefs.h. */
15477 /* Override any GCC internal prototype to avoid an error.
15478 Use char because int might match the return type of a GCC
15479 builtin and then its argument prototype would still apply. */
15480 #ifdef __cplusplus
15481 extern "C"
15482 #endif
15483 char dlopen ();
15485 main ()
15487 return dlopen ();
15489 return 0;
15491 _ACEOF
15492 if ac_fn_c_try_link "$LINENO"; then :
15493 ac_cv_lib_dl_dlopen=yes
15494 else
15495 ac_cv_lib_dl_dlopen=no
15497 rm -f core conftest.err conftest.$ac_objext \
15498 conftest$ac_exeext conftest.$ac_ext
15499 LIBS=$ac_check_lib_save_LIBS
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15502 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15503 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15504 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15505 DL_LIBS="-ldl"
15510 ac_wine_check_funcs_save_LIBS="$LIBS"
15511 LIBS="$LIBS $DL_LIBS"
15512 for ac_func in dladdr
15513 do :
15514 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15515 if test "x$ac_cv_func_dladdr" = xyes; then :
15516 cat >>confdefs.h <<_ACEOF
15517 #define HAVE_DLADDR 1
15518 _ACEOF
15521 done
15523 LIBS="$ac_wine_check_funcs_save_LIBS"
15525 if test "$ac_cv_func_poll" = no
15526 then
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15528 $as_echo_n "checking for poll in -lpoll... " >&6; }
15529 if ${ac_cv_lib_poll_poll+:} false; then :
15530 $as_echo_n "(cached) " >&6
15531 else
15532 ac_check_lib_save_LIBS=$LIBS
15533 LIBS="-lpoll $LIBS"
15534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15535 /* end confdefs.h. */
15537 /* Override any GCC internal prototype to avoid an error.
15538 Use char because int might match the return type of a GCC
15539 builtin and then its argument prototype would still apply. */
15540 #ifdef __cplusplus
15541 extern "C"
15542 #endif
15543 char poll ();
15545 main ()
15547 return poll ();
15549 return 0;
15551 _ACEOF
15552 if ac_fn_c_try_link "$LINENO"; then :
15553 ac_cv_lib_poll_poll=yes
15554 else
15555 ac_cv_lib_poll_poll=no
15557 rm -f core conftest.err conftest.$ac_objext \
15558 conftest$ac_exeext conftest.$ac_ext
15559 LIBS=$ac_check_lib_save_LIBS
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15562 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15563 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15564 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15565 POLL_LIBS="-lpoll"
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15572 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15573 if ${ac_cv_search_gethostbyname+:} false; then :
15574 $as_echo_n "(cached) " >&6
15575 else
15576 ac_func_search_save_LIBS=$LIBS
15577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15578 /* end confdefs.h. */
15580 /* Override any GCC internal prototype to avoid an error.
15581 Use char because int might match the return type of a GCC
15582 builtin and then its argument prototype would still apply. */
15583 #ifdef __cplusplus
15584 extern "C"
15585 #endif
15586 char gethostbyname ();
15588 main ()
15590 return gethostbyname ();
15592 return 0;
15594 _ACEOF
15595 for ac_lib in '' nsl; do
15596 if test -z "$ac_lib"; then
15597 ac_res="none required"
15598 else
15599 ac_res=-l$ac_lib
15600 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15602 if ac_fn_c_try_link "$LINENO"; then :
15603 ac_cv_search_gethostbyname=$ac_res
15605 rm -f core conftest.err conftest.$ac_objext \
15606 conftest$ac_exeext
15607 if ${ac_cv_search_gethostbyname+:} false; then :
15608 break
15610 done
15611 if ${ac_cv_search_gethostbyname+:} false; then :
15613 else
15614 ac_cv_search_gethostbyname=no
15616 rm conftest.$ac_ext
15617 LIBS=$ac_func_search_save_LIBS
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15620 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15621 ac_res=$ac_cv_search_gethostbyname
15622 if test "$ac_res" != no; then :
15623 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15629 $as_echo_n "checking for library containing connect... " >&6; }
15630 if ${ac_cv_search_connect+:} false; then :
15631 $as_echo_n "(cached) " >&6
15632 else
15633 ac_func_search_save_LIBS=$LIBS
15634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15635 /* end confdefs.h. */
15637 /* Override any GCC internal prototype to avoid an error.
15638 Use char because int might match the return type of a GCC
15639 builtin and then its argument prototype would still apply. */
15640 #ifdef __cplusplus
15641 extern "C"
15642 #endif
15643 char connect ();
15645 main ()
15647 return connect ();
15649 return 0;
15651 _ACEOF
15652 for ac_lib in '' socket; do
15653 if test -z "$ac_lib"; then
15654 ac_res="none required"
15655 else
15656 ac_res=-l$ac_lib
15657 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15659 if ac_fn_c_try_link "$LINENO"; then :
15660 ac_cv_search_connect=$ac_res
15662 rm -f core conftest.err conftest.$ac_objext \
15663 conftest$ac_exeext
15664 if ${ac_cv_search_connect+:} false; then :
15665 break
15667 done
15668 if ${ac_cv_search_connect+:} false; then :
15670 else
15671 ac_cv_search_connect=no
15673 rm conftest.$ac_ext
15674 LIBS=$ac_func_search_save_LIBS
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15677 $as_echo "$ac_cv_search_connect" >&6; }
15678 ac_res=$ac_cv_search_connect
15679 if test "$ac_res" != no; then :
15680 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15686 $as_echo_n "checking for library containing inet_aton... " >&6; }
15687 if ${ac_cv_search_inet_aton+:} false; then :
15688 $as_echo_n "(cached) " >&6
15689 else
15690 ac_func_search_save_LIBS=$LIBS
15691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15692 /* end confdefs.h. */
15694 /* Override any GCC internal prototype to avoid an error.
15695 Use char because int might match the return type of a GCC
15696 builtin and then its argument prototype would still apply. */
15697 #ifdef __cplusplus
15698 extern "C"
15699 #endif
15700 char inet_aton ();
15702 main ()
15704 return inet_aton ();
15706 return 0;
15708 _ACEOF
15709 for ac_lib in '' resolv; do
15710 if test -z "$ac_lib"; then
15711 ac_res="none required"
15712 else
15713 ac_res=-l$ac_lib
15714 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15716 if ac_fn_c_try_link "$LINENO"; then :
15717 ac_cv_search_inet_aton=$ac_res
15719 rm -f core conftest.err conftest.$ac_objext \
15720 conftest$ac_exeext
15721 if ${ac_cv_search_inet_aton+:} false; then :
15722 break
15724 done
15725 if ${ac_cv_search_inet_aton+:} false; then :
15727 else
15728 ac_cv_search_inet_aton=no
15730 rm conftest.$ac_ext
15731 LIBS=$ac_func_search_save_LIBS
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15734 $as_echo "$ac_cv_search_inet_aton" >&6; }
15735 ac_res=$ac_cv_search_inet_aton
15736 if test "$ac_res" != no; then :
15737 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15742 for ac_func in \
15743 getaddrinfo \
15744 getnameinfo \
15745 getnetbyname \
15746 getprotobyname \
15747 getprotobynumber \
15748 getservbyport \
15749 inet_addr \
15750 inet_network \
15751 inet_ntop \
15752 inet_pton \
15753 sendmsg \
15754 socketpair \
15756 do :
15757 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15758 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15759 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15760 cat >>confdefs.h <<_ACEOF
15761 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15762 _ACEOF
15765 done
15768 ac_save_LIBS=$LIBS
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15770 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15771 if ${ac_cv_search_clock_gettime+:} false; then :
15772 $as_echo_n "(cached) " >&6
15773 else
15774 ac_func_search_save_LIBS=$LIBS
15775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15776 /* end confdefs.h. */
15778 /* Override any GCC internal prototype to avoid an error.
15779 Use char because int might match the return type of a GCC
15780 builtin and then its argument prototype would still apply. */
15781 #ifdef __cplusplus
15782 extern "C"
15783 #endif
15784 char clock_gettime ();
15786 main ()
15788 return clock_gettime ();
15790 return 0;
15792 _ACEOF
15793 for ac_lib in '' rt; do
15794 if test -z "$ac_lib"; then
15795 ac_res="none required"
15796 else
15797 ac_res=-l$ac_lib
15798 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15800 if ac_fn_c_try_link "$LINENO"; then :
15801 ac_cv_search_clock_gettime=$ac_res
15803 rm -f core conftest.err conftest.$ac_objext \
15804 conftest$ac_exeext
15805 if ${ac_cv_search_clock_gettime+:} false; then :
15806 break
15808 done
15809 if ${ac_cv_search_clock_gettime+:} false; then :
15811 else
15812 ac_cv_search_clock_gettime=no
15814 rm conftest.$ac_ext
15815 LIBS=$ac_func_search_save_LIBS
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15818 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15819 ac_res=$ac_cv_search_clock_gettime
15820 if test "$ac_res" != no; then :
15821 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15823 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15825 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15829 LIBS=$ac_save_LIBS
15831 LDAP_LIBS=""
15833 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15834 then
15835 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15837 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15839 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15840 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15841 $as_echo_n "(cached) " >&6
15842 else
15843 ac_check_lib_save_LIBS=$LIBS
15844 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15846 /* end confdefs.h. */
15848 /* Override any GCC internal prototype to avoid an error.
15849 Use char because int might match the return type of a GCC
15850 builtin and then its argument prototype would still apply. */
15851 #ifdef __cplusplus
15852 extern "C"
15853 #endif
15854 char ldap_initialize ();
15856 main ()
15858 return ldap_initialize ();
15860 return 0;
15862 _ACEOF
15863 if ac_fn_c_try_link "$LINENO"; then :
15864 ac_cv_lib_ldap_r_ldap_initialize=yes
15865 else
15866 ac_cv_lib_ldap_r_ldap_initialize=no
15868 rm -f core conftest.err conftest.$ac_objext \
15869 conftest$ac_exeext conftest.$ac_ext
15870 LIBS=$ac_check_lib_save_LIBS
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15873 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15874 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15876 $as_echo_n "checking for ber_init in -llber... " >&6; }
15877 if ${ac_cv_lib_lber_ber_init+:} false; then :
15878 $as_echo_n "(cached) " >&6
15879 else
15880 ac_check_lib_save_LIBS=$LIBS
15881 LIBS="-llber $PTHREAD_LIBS $LIBS"
15882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15883 /* end confdefs.h. */
15885 /* Override any GCC internal prototype to avoid an error.
15886 Use char because int might match the return type of a GCC
15887 builtin and then its argument prototype would still apply. */
15888 #ifdef __cplusplus
15889 extern "C"
15890 #endif
15891 char ber_init ();
15893 main ()
15895 return ber_init ();
15897 return 0;
15899 _ACEOF
15900 if ac_fn_c_try_link "$LINENO"; then :
15901 ac_cv_lib_lber_ber_init=yes
15902 else
15903 ac_cv_lib_lber_ber_init=no
15905 rm -f core conftest.err conftest.$ac_objext \
15906 conftest$ac_exeext conftest.$ac_ext
15907 LIBS=$ac_check_lib_save_LIBS
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15910 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15911 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15913 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15915 LDAP_LIBS="-lldap_r -llber"
15922 ac_wine_check_funcs_save_LIBS="$LIBS"
15923 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15924 for ac_func in \
15925 ldap_count_references \
15926 ldap_first_reference \
15927 ldap_next_reference \
15928 ldap_parse_reference \
15929 ldap_parse_sort_control \
15930 ldap_parse_sortresponse_control \
15931 ldap_parse_vlv_control \
15932 ldap_parse_vlvresponse_control
15933 do :
15934 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15935 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15936 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15937 cat >>confdefs.h <<_ACEOF
15938 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15939 _ACEOF
15942 done
15944 LIBS="$ac_wine_check_funcs_save_LIBS"
15946 if test "x$LDAP_LIBS" = "x"; then :
15947 case "x$with_ldap" in
15948 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15949 xno) ;;
15950 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15951 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15952 esac
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15957 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15958 if ${wine_cv_one_arg_mkdir+:} false; then :
15959 $as_echo_n "(cached) " >&6
15960 else
15961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15962 /* end confdefs.h. */
15963 #include <sys/stat.h>
15965 main ()
15967 mkdir("foo");
15969 return 0;
15971 _ACEOF
15972 if ac_fn_c_try_compile "$LINENO"; then :
15973 wine_cv_one_arg_mkdir=yes
15974 else
15975 wine_cv_one_arg_mkdir=no
15977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15980 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15981 if test "$wine_cv_one_arg_mkdir" = "yes"
15982 then
15984 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15989 $as_echo_n "checking for sched_setaffinity... " >&6; }
15990 if ${wine_cv_have_sched_setaffinity+:} false; then :
15991 $as_echo_n "(cached) " >&6
15992 else
15993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15994 /* end confdefs.h. */
15995 #define _GNU_SOURCE
15996 #include <sched.h>
15998 main ()
16000 sched_setaffinity(0, 0, 0);
16002 return 0;
16004 _ACEOF
16005 if ac_fn_c_try_link "$LINENO"; then :
16006 wine_cv_have_sched_setaffinity=yes
16007 else
16008 wine_cv_have_sched_setaffinity=no
16010 rm -f core conftest.err conftest.$ac_objext \
16011 conftest$ac_exeext conftest.$ac_ext
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16014 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16015 if test "$wine_cv_have_sched_setaffinity" = "yes"
16016 then
16018 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16023 $as_echo_n "checking for fallocate... " >&6; }
16024 if ${wine_cv_have_fallocate+:} false; then :
16025 $as_echo_n "(cached) " >&6
16026 else
16027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16028 /* end confdefs.h. */
16029 #define _GNU_SOURCE
16030 #include <fcntl.h>
16032 main ()
16034 fallocate(-1, 0, 0, 0);
16036 return 0;
16038 _ACEOF
16039 if ac_fn_c_try_link "$LINENO"; then :
16040 wine_cv_have_fallocate=yes
16041 else
16042 wine_cv_have_fallocate=no
16044 rm -f core conftest.err conftest.$ac_objext \
16045 conftest$ac_exeext conftest.$ac_ext
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16048 $as_echo "$wine_cv_have_fallocate" >&6; }
16049 if test "$wine_cv_have_fallocate" = "yes"
16050 then
16052 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16058 $as_echo_n "checking for inline... " >&6; }
16059 if ${ac_cv_c_inline+:} false; then :
16060 $as_echo_n "(cached) " >&6
16061 else
16062 ac_cv_c_inline=no
16063 for ac_kw in inline __inline__ __inline; do
16064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16065 /* end confdefs.h. */
16066 #ifndef __cplusplus
16067 typedef int foo_t;
16068 static $ac_kw foo_t static_foo () {return 0; }
16069 $ac_kw foo_t foo () {return 0; }
16070 #endif
16072 _ACEOF
16073 if ac_fn_c_try_compile "$LINENO"; then :
16074 ac_cv_c_inline=$ac_kw
16076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16077 test "$ac_cv_c_inline" != no && break
16078 done
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16082 $as_echo "$ac_cv_c_inline" >&6; }
16084 case $ac_cv_c_inline in
16085 inline | yes) ;;
16087 case $ac_cv_c_inline in
16088 no) ac_val=;;
16089 *) ac_val=$ac_cv_c_inline;;
16090 esac
16091 cat >>confdefs.h <<_ACEOF
16092 #ifndef __cplusplus
16093 #define inline $ac_val
16094 #endif
16095 _ACEOF
16097 esac
16099 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16100 if test "x$ac_cv_type_mode_t" = xyes; then :
16102 cat >>confdefs.h <<_ACEOF
16103 #define HAVE_MODE_T 1
16104 _ACEOF
16108 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16109 if test "x$ac_cv_type_off_t" = xyes; then :
16111 cat >>confdefs.h <<_ACEOF
16112 #define HAVE_OFF_T 1
16113 _ACEOF
16117 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16118 if test "x$ac_cv_type_pid_t" = xyes; then :
16120 cat >>confdefs.h <<_ACEOF
16121 #define HAVE_PID_T 1
16122 _ACEOF
16126 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16127 if test "x$ac_cv_type_size_t" = xyes; then :
16129 cat >>confdefs.h <<_ACEOF
16130 #define HAVE_SIZE_T 1
16131 _ACEOF
16135 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16136 if test "x$ac_cv_type_ssize_t" = xyes; then :
16138 cat >>confdefs.h <<_ACEOF
16139 #define HAVE_SSIZE_T 1
16140 _ACEOF
16144 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16145 if test "x$ac_cv_type_long_long" = xyes; then :
16147 cat >>confdefs.h <<_ACEOF
16148 #define HAVE_LONG_LONG 1
16149 _ACEOF
16153 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16154 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16156 cat >>confdefs.h <<_ACEOF
16157 #define HAVE_FSBLKCNT_T 1
16158 _ACEOF
16162 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16163 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16165 cat >>confdefs.h <<_ACEOF
16166 #define HAVE_FSFILCNT_T 1
16167 _ACEOF
16172 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16173 #include <signal.h>
16175 if test "x$ac_cv_type_sigset_t" = xyes; then :
16177 cat >>confdefs.h <<_ACEOF
16178 #define HAVE_SIGSET_T 1
16179 _ACEOF
16184 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16186 if test "x$ac_cv_type_request_sense" = xyes; then :
16188 cat >>confdefs.h <<_ACEOF
16189 #define HAVE_REQUEST_SENSE 1
16190 _ACEOF
16196 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16197 #ifdef HAVE_SYS_SOCKET_H
16198 #include <sys/socket.h>
16199 #endif
16200 #ifdef HAVE_SYS_SOCKETVAR_H
16201 #include <sys/socketvar.h>
16202 #endif
16203 #ifdef HAVE_NET_ROUTE_H
16204 #include <net/route.h>
16205 #endif
16206 #ifdef HAVE_NETINET_IN_H
16207 #include <netinet/in.h>
16208 #endif
16209 #ifdef HAVE_NETINET_IN_SYSTM_H
16210 #include <netinet/in_systm.h>
16211 #endif
16212 #ifdef HAVE_NETINET_IP_H
16213 #include <netinet/ip.h>
16214 #endif
16215 #ifdef HAVE_NETINET_IN_PCB_H
16216 #include <netinet/in_pcb.h>
16217 #endif
16219 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16221 cat >>confdefs.h <<_ACEOF
16222 #define HAVE_STRUCT_XINPGEN 1
16223 _ACEOF
16229 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16230 #include <link.h>
16231 #endif
16232 #ifdef HAVE_SYS_LINK_H
16233 #include <sys/link.h>
16234 #endif
16236 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16238 cat >>confdefs.h <<_ACEOF
16239 #define HAVE_STRUCT_R_DEBUG 1
16240 _ACEOF
16244 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16245 #include <link.h>
16246 #endif
16247 #ifdef HAVE_SYS_LINK_H
16248 #include <sys/link.h>
16249 #endif
16251 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16253 cat >>confdefs.h <<_ACEOF
16254 #define HAVE_STRUCT_LINK_MAP 1
16255 _ACEOF
16261 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16262 #include <linux/input.h>
16263 #endif
16265 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16267 cat >>confdefs.h <<_ACEOF
16268 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16269 _ACEOF
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16276 $as_echo_n "checking for if_nameindex... " >&6; }
16277 if ${wine_cv_have_if_nameindex+:} false; then :
16278 $as_echo_n "(cached) " >&6
16279 else
16280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16281 /* end confdefs.h. */
16282 #ifdef HAVE_SYS_TYPES_H
16283 #include <sys/types.h>
16284 #endif
16285 #ifdef HAVE_NET_IF_H
16286 # include <net/if.h>
16287 #endif
16289 main ()
16291 struct if_nameindex *p = if_nameindex(); return p->if_index;
16293 return 0;
16295 _ACEOF
16296 if ac_fn_c_try_link "$LINENO"; then :
16297 wine_cv_have_if_nameindex=yes
16298 else
16299 wine_cv_have_if_nameindex=no
16301 rm -f core conftest.err conftest.$ac_objext \
16302 conftest$ac_exeext conftest.$ac_ext
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16305 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16306 if test "$wine_cv_have_if_nameindex" = "yes"
16307 then
16309 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16314 $as_echo_n "checking for sigaddset... " >&6; }
16315 if ${wine_cv_have_sigaddset+:} false; then :
16316 $as_echo_n "(cached) " >&6
16317 else
16318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16319 /* end confdefs.h. */
16320 #include <signal.h>
16322 main ()
16324 sigset_t set; sigaddset(&set,SIGTERM);
16326 return 0;
16328 _ACEOF
16329 if ac_fn_c_try_link "$LINENO"; then :
16330 wine_cv_have_sigaddset=yes
16331 else
16332 wine_cv_have_sigaddset=no
16334 rm -f core conftest.err conftest.$ac_objext \
16335 conftest$ac_exeext conftest.$ac_ext
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16338 $as_echo "$wine_cv_have_sigaddset" >&6; }
16339 if test "$wine_cv_have_sigaddset" = "yes"
16340 then
16342 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16348 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16349 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16350 $as_echo_n "(cached) " >&6
16351 else
16352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16353 /* end confdefs.h. */
16354 #include <netdb.h>
16356 main ()
16359 char *name=0;
16360 struct hostent he;
16361 struct hostent *result;
16362 char *buf=0;
16363 int bufsize=0;
16364 int errnr;
16365 char *addr=0;
16366 int addrlen=0;
16367 int addrtype=0;
16368 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16369 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16372 return 0;
16374 _ACEOF
16375 if ac_fn_c_try_link "$LINENO"; then :
16376 wine_cv_linux_gethostbyname_r_6=yes
16377 else
16378 wine_cv_linux_gethostbyname_r_6=no
16381 rm -f core conftest.err conftest.$ac_objext \
16382 conftest$ac_exeext conftest.$ac_ext
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16386 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16387 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16388 then
16390 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16394 if test "$ac_cv_header_linux_joystick_h" = "yes"
16395 then
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16397 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16398 if ${wine_cv_linux_joystick_22_api+:} false; then :
16399 $as_echo_n "(cached) " >&6
16400 else
16401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16402 /* end confdefs.h. */
16404 #include <sys/ioctl.h>
16405 #include <sys/types.h>
16406 #include <linux/joystick.h>
16408 struct js_event blub;
16409 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16410 #error "no 2.2 header"
16411 #endif
16414 main ()
16416 /*empty*/
16418 return 0;
16420 _ACEOF
16421 if ac_fn_c_try_compile "$LINENO"; then :
16422 wine_cv_linux_joystick_22_api=yes
16423 else
16424 wine_cv_linux_joystick_22_api=no
16426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16430 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16431 if test "$wine_cv_linux_joystick_22_api" = "yes"
16432 then
16434 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16440 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16441 #ifdef HAVE_SYS_PARAM_H
16442 # include <sys/param.h>
16443 #endif
16444 #ifdef HAVE_SYS_MOUNT_H
16445 # include <sys/mount.h>
16446 #endif
16447 #ifdef HAVE_SYS_VFS_H
16448 # include <sys/vfs.h>
16449 #endif
16450 #ifdef HAVE_SYS_STATFS_H
16451 # include <sys/statfs.h>
16452 #endif
16454 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16456 cat >>confdefs.h <<_ACEOF
16457 #define HAVE_STRUCT_STATFS_F_BFREE 1
16458 _ACEOF
16462 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16463 #ifdef HAVE_SYS_PARAM_H
16464 # include <sys/param.h>
16465 #endif
16466 #ifdef HAVE_SYS_MOUNT_H
16467 # include <sys/mount.h>
16468 #endif
16469 #ifdef HAVE_SYS_VFS_H
16470 # include <sys/vfs.h>
16471 #endif
16472 #ifdef HAVE_SYS_STATFS_H
16473 # include <sys/statfs.h>
16474 #endif
16476 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16478 cat >>confdefs.h <<_ACEOF
16479 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16480 _ACEOF
16484 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16485 #ifdef HAVE_SYS_PARAM_H
16486 # include <sys/param.h>
16487 #endif
16488 #ifdef HAVE_SYS_MOUNT_H
16489 # include <sys/mount.h>
16490 #endif
16491 #ifdef HAVE_SYS_VFS_H
16492 # include <sys/vfs.h>
16493 #endif
16494 #ifdef HAVE_SYS_STATFS_H
16495 # include <sys/statfs.h>
16496 #endif
16498 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16500 cat >>confdefs.h <<_ACEOF
16501 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16502 _ACEOF
16506 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16507 #ifdef HAVE_SYS_PARAM_H
16508 # include <sys/param.h>
16509 #endif
16510 #ifdef HAVE_SYS_MOUNT_H
16511 # include <sys/mount.h>
16512 #endif
16513 #ifdef HAVE_SYS_VFS_H
16514 # include <sys/vfs.h>
16515 #endif
16516 #ifdef HAVE_SYS_STATFS_H
16517 # include <sys/statfs.h>
16518 #endif
16520 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16522 cat >>confdefs.h <<_ACEOF
16523 #define HAVE_STRUCT_STATFS_F_FFREE 1
16524 _ACEOF
16528 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16529 #ifdef HAVE_SYS_PARAM_H
16530 # include <sys/param.h>
16531 #endif
16532 #ifdef HAVE_SYS_MOUNT_H
16533 # include <sys/mount.h>
16534 #endif
16535 #ifdef HAVE_SYS_VFS_H
16536 # include <sys/vfs.h>
16537 #endif
16538 #ifdef HAVE_SYS_STATFS_H
16539 # include <sys/statfs.h>
16540 #endif
16542 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16544 cat >>confdefs.h <<_ACEOF
16545 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16546 _ACEOF
16550 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16551 #ifdef HAVE_SYS_PARAM_H
16552 # include <sys/param.h>
16553 #endif
16554 #ifdef HAVE_SYS_MOUNT_H
16555 # include <sys/mount.h>
16556 #endif
16557 #ifdef HAVE_SYS_VFS_H
16558 # include <sys/vfs.h>
16559 #endif
16560 #ifdef HAVE_SYS_STATFS_H
16561 # include <sys/statfs.h>
16562 #endif
16564 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16566 cat >>confdefs.h <<_ACEOF
16567 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16568 _ACEOF
16574 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16575 #include <sys/statvfs.h>
16576 #endif
16578 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16580 cat >>confdefs.h <<_ACEOF
16581 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16582 _ACEOF
16588 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16589 #include <dirent.h>
16590 #endif
16592 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16594 cat >>confdefs.h <<_ACEOF
16595 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16596 _ACEOF
16602 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16603 #ifdef HAVE_SYS_SOCKET_H
16604 # include <sys/socket.h>
16605 #endif
16606 #ifdef HAVE_SYS_UN_H
16607 # include <sys/un.h>
16608 #endif
16610 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16612 cat >>confdefs.h <<_ACEOF
16613 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16614 _ACEOF
16618 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16619 #ifdef HAVE_SYS_SOCKET_H
16620 # include <sys/socket.h>
16621 #endif
16622 #ifdef HAVE_SYS_UN_H
16623 # include <sys/un.h>
16624 #endif
16626 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16628 cat >>confdefs.h <<_ACEOF
16629 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16630 _ACEOF
16634 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16635 #ifdef HAVE_SYS_SOCKET_H
16636 # include <sys/socket.h>
16637 #endif
16638 #ifdef HAVE_SYS_UN_H
16639 # include <sys/un.h>
16640 #endif
16642 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16644 cat >>confdefs.h <<_ACEOF
16645 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16646 _ACEOF
16652 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16653 #ifdef HAVE_SCSI_SG_H
16654 #include <scsi/sg.h>
16655 #endif
16657 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16659 cat >>confdefs.h <<_ACEOF
16660 #define HAVE_SCSIREQ_T_CMD 1
16661 _ACEOF
16665 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>
16666 #ifdef HAVE_SCSI_SG_H
16667 #include <scsi/sg.h>
16668 #endif
16670 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16672 cat >>confdefs.h <<_ACEOF
16673 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16674 _ACEOF
16680 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16682 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16684 cat >>confdefs.h <<_ACEOF
16685 #define HAVE_SIGINFO_T_SI_FD 1
16686 _ACEOF
16692 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16693 #ifdef HAVE_SYS_MTIO_H
16694 #include <sys/mtio.h>
16695 #endif
16697 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16699 cat >>confdefs.h <<_ACEOF
16700 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16701 _ACEOF
16705 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16706 #ifdef HAVE_SYS_MTIO_H
16707 #include <sys/mtio.h>
16708 #endif
16710 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16712 cat >>confdefs.h <<_ACEOF
16713 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16714 _ACEOF
16718 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16719 #ifdef HAVE_SYS_MTIO_H
16720 #include <sys/mtio.h>
16721 #endif
16723 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16725 cat >>confdefs.h <<_ACEOF
16726 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16727 _ACEOF
16733 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16734 #include <getopt.h>
16735 #endif
16737 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16739 cat >>confdefs.h <<_ACEOF
16740 #define HAVE_STRUCT_OPTION_NAME 1
16741 _ACEOF
16747 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16748 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16750 cat >>confdefs.h <<_ACEOF
16751 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16752 _ACEOF
16756 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16757 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16759 cat >>confdefs.h <<_ACEOF
16760 #define HAVE_STRUCT_STAT_ST_MTIM 1
16761 _ACEOF
16765 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16766 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16768 cat >>confdefs.h <<_ACEOF
16769 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16770 _ACEOF
16774 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16775 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16777 cat >>confdefs.h <<_ACEOF
16778 #define HAVE_STRUCT_STAT_ST_CTIM 1
16779 _ACEOF
16783 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16784 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16786 cat >>confdefs.h <<_ACEOF
16787 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16788 _ACEOF
16792 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16793 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16795 cat >>confdefs.h <<_ACEOF
16796 #define HAVE_STRUCT_STAT_ST_ATIM 1
16797 _ACEOF
16801 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16802 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16804 cat >>confdefs.h <<_ACEOF
16805 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16806 _ACEOF
16810 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16811 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16813 cat >>confdefs.h <<_ACEOF
16814 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16815 _ACEOF
16819 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16820 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16822 cat >>confdefs.h <<_ACEOF
16823 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16824 _ACEOF
16828 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16829 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16831 cat >>confdefs.h <<_ACEOF
16832 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16833 _ACEOF
16837 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16838 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16840 cat >>confdefs.h <<_ACEOF
16841 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16842 _ACEOF
16846 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16847 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16849 cat >>confdefs.h <<_ACEOF
16850 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16851 _ACEOF
16857 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
16858 #include <sys/types.h>
16859 #endif
16860 #ifdef HAVE_NETINET_IN_H
16861 #include <netinet/in.h>
16862 #endif
16864 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16866 cat >>confdefs.h <<_ACEOF
16867 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16868 _ACEOF
16874 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16875 #include <sys/types.h>
16876 #endif
16877 #ifdef HAVE_NETINET_IN_H
16878 #include <netinet/in.h>
16879 #endif
16880 #ifdef HAVE_RESOLV_H
16881 #include <resolv.h>
16882 #endif
16884 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16886 cat >>confdefs.h <<_ACEOF
16887 #define HAVE_STRUCT___RES_STATE 1
16888 _ACEOF
16894 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
16895 #include <resolv.h>
16896 #endif
16898 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16900 cat >>confdefs.h <<_ACEOF
16901 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16902 _ACEOF
16908 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16909 #include <sys/types.h>
16910 #endif
16911 #ifdef HAVE_NETINET_IN_H
16912 # include <netinet/in.h>
16913 #endif
16914 #ifdef HAVE_ARPA_NAMESER_H
16915 # include <arpa/nameser.h>
16916 #endif
16918 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16920 cat >>confdefs.h <<_ACEOF
16921 #define HAVE_NS_MSG__MSG_PTR 1
16922 _ACEOF
16928 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16929 #include <sys/types.h>
16930 #endif
16931 #ifdef HAVE_NETINET_IN_H
16932 #include <netinet/in.h>
16933 #endif
16934 #ifdef HAVE_NETINET_IP_H
16935 #include <netinet/ip.h>
16936 #endif
16937 #ifdef HAVE_NETINET_IP_ICMP_H
16938 #include <netinet/ip_icmp.h>
16939 #endif
16940 #ifdef HAVE_NETINET_ICMP_VAR_H
16941 #include <netinet/icmp_var.h>
16942 #endif
16944 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16946 cat >>confdefs.h <<_ACEOF
16947 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16948 _ACEOF
16954 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16955 #include <sys/types.h>
16956 #endif
16957 #ifdef HAVE_ALIAS_H
16958 #include <alias.h>
16959 #endif
16960 #ifdef HAVE_SYS_SOCKET_H
16961 #include <sys/socket.h>
16962 #endif
16963 #ifdef HAVE_SYS_SOCKETVAR_H
16964 #include <sys/socketvar.h>
16965 #endif
16966 #ifdef HAVE_SYS_TIMEOUT_H
16967 #include <sys/timeout.h>
16968 #endif
16969 #ifdef HAVE_NETINET_IN_H
16970 #include <netinet/in.h>
16971 #endif
16972 #ifdef HAVE_NETINET_IN_SYSTM_H
16973 #include <netinet/in_systm.h>
16974 #endif
16975 #ifdef HAVE_NETINET_IP_H
16976 #include <netinet/ip.h>
16977 #endif
16978 #ifdef HAVE_NETINET_IP_VAR_H
16979 #include <netinet/ip_var.h>
16980 #endif
16981 #ifdef HAVE_NETINET_IP_ICMP_H
16982 #include <netinet/ip_icmp.h>
16983 #endif
16984 #ifdef HAVE_NETINET_ICMP_VAR_H
16985 #include <netinet/icmp_var.h>
16986 #endif
16988 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16990 cat >>confdefs.h <<_ACEOF
16991 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16992 _ACEOF
16998 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16999 #include <sys/types.h>
17000 #endif
17001 #ifdef HAVE_SYS_SOCKETVAR_H
17002 #include <sys/socketvar.h>
17003 #endif
17004 #ifdef HAVE_NETINET_IN_H
17005 #include <netinet/in.h>
17006 #endif
17007 #ifdef HAVE_NETINET_IP_VAR_H
17008 #include <netinet/ip_var.h>
17009 #endif
17011 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17013 cat >>confdefs.h <<_ACEOF
17014 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17015 _ACEOF
17021 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
17022 #include <netinet/ip_var.h>
17023 #endif
17025 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17027 cat >>confdefs.h <<_ACEOF
17028 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17029 _ACEOF
17035 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17036 #include <sys/types.h>
17037 #endif
17038 #ifdef HAVE_SYS_SOCKETVAR_H
17039 #include <sys/socketvar.h>
17040 #endif
17041 #ifdef HAVE_NETINET_IN_H
17042 #include <netinet/in.h>
17043 #endif
17044 #ifdef HAVE_NETINET_TCP_H
17045 #include <netinet/tcp.h>
17046 #endif
17047 #ifdef HAVE_NETINET_TCP_VAR_H
17048 #include <netinet/tcp_var.h>
17049 #endif
17051 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17053 cat >>confdefs.h <<_ACEOF
17054 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17055 _ACEOF
17061 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
17062 #include <netinet/tcp_var.h>
17063 #endif
17065 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17067 cat >>confdefs.h <<_ACEOF
17068 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17069 _ACEOF
17075 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17076 #include <sys/types.h>
17077 #endif
17078 #ifdef HAVE_NETINET_IN_H
17079 #include <netinet/in.h>
17080 #endif
17081 #ifdef HAVE_NETINET_IP_VAR_H
17082 #include <netinet/ip_var.h>
17083 #endif
17084 #ifdef HAVE_NETINET_UDP_H
17085 #include <netinet/udp.h>
17086 #endif
17087 #ifdef HAVE_NETINET_UDP_VAR_H
17088 #include <netinet/udp_var.h>
17089 #endif
17091 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17093 cat >>confdefs.h <<_ACEOF
17094 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17095 _ACEOF
17101 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17102 #include <sys/types.h>
17103 #endif
17104 #ifdef HAVE_NET_IF_H
17105 # include <net/if.h>
17106 #endif
17108 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17110 cat >>confdefs.h <<_ACEOF
17111 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17112 _ACEOF
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17119 $as_echo_n "checking for timezone variable... " >&6; }
17120 if ${ac_cv_have_timezone+:} false; then :
17121 $as_echo_n "(cached) " >&6
17122 else
17123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17124 /* end confdefs.h. */
17125 #include <time.h>
17127 main ()
17129 timezone = 1
17131 return 0;
17133 _ACEOF
17134 if ac_fn_c_try_link "$LINENO"; then :
17135 ac_cv_have_timezone="yes"
17136 else
17137 ac_cv_have_timezone="no"
17139 rm -f core conftest.err conftest.$ac_objext \
17140 conftest$ac_exeext conftest.$ac_ext
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17143 $as_echo "$ac_cv_have_timezone" >&6; }
17144 if test "$ac_cv_have_timezone" = "yes"
17145 then
17147 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17151 $as_echo_n "checking for daylight variable... " >&6; }
17152 if ${ac_cv_have_daylight+:} false; then :
17153 $as_echo_n "(cached) " >&6
17154 else
17155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17156 /* end confdefs.h. */
17157 #include <time.h>
17159 main ()
17161 daylight = 1
17163 return 0;
17165 _ACEOF
17166 if ac_fn_c_try_link "$LINENO"; then :
17167 ac_cv_have_daylight="yes"
17168 else
17169 ac_cv_have_daylight="no"
17171 rm -f core conftest.err conftest.$ac_objext \
17172 conftest$ac_exeext conftest.$ac_ext
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17175 $as_echo "$ac_cv_have_daylight" >&6; }
17176 if test "$ac_cv_have_daylight" = "yes"
17177 then
17179 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17183 ac_save_LIBS="$LIBS"
17184 LIBS="$LIBS -lm"
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17186 $as_echo_n "checking for isfinite... " >&6; }
17187 if ${ac_cv_have_isfinite+:} false; then :
17188 $as_echo_n "(cached) " >&6
17189 else
17190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17192 #define _GNU_SOURCE
17193 #include <math.h>
17195 main ()
17197 float f = 0.0; return isfinite(f)
17199 return 0;
17201 _ACEOF
17202 if ac_fn_c_try_link "$LINENO"; then :
17203 ac_cv_have_isfinite="yes"
17204 else
17205 ac_cv_have_isfinite="no"
17207 rm -f core conftest.err conftest.$ac_objext \
17208 conftest$ac_exeext conftest.$ac_ext
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17211 $as_echo "$ac_cv_have_isfinite" >&6; }
17212 if test "$ac_cv_have_isfinite" = "yes"
17213 then
17215 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17220 $as_echo_n "checking for isinf... " >&6; }
17221 if ${ac_cv_have_isinf+:} false; then :
17222 $as_echo_n "(cached) " >&6
17223 else
17224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17225 /* end confdefs.h. */
17226 #include <math.h>
17228 main ()
17230 float f = 0.0; return isinf(f)
17232 return 0;
17234 _ACEOF
17235 if ac_fn_c_try_link "$LINENO"; then :
17236 ac_cv_have_isinf="yes"
17237 else
17238 ac_cv_have_isinf="no"
17240 rm -f core conftest.err conftest.$ac_objext \
17241 conftest$ac_exeext conftest.$ac_ext
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17244 $as_echo "$ac_cv_have_isinf" >&6; }
17245 if test "$ac_cv_have_isinf" = "yes"
17246 then
17248 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17253 $as_echo_n "checking for isnan... " >&6; }
17254 if ${ac_cv_have_isnan+:} false; then :
17255 $as_echo_n "(cached) " >&6
17256 else
17257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17258 /* end confdefs.h. */
17259 #include <math.h>
17261 main ()
17263 float f = 0.0; return isnan(f)
17265 return 0;
17267 _ACEOF
17268 if ac_fn_c_try_link "$LINENO"; then :
17269 ac_cv_have_isnan="yes"
17270 else
17271 ac_cv_have_isnan="no"
17273 rm -f core conftest.err conftest.$ac_objext \
17274 conftest$ac_exeext conftest.$ac_ext
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17277 $as_echo "$ac_cv_have_isnan" >&6; }
17278 if test "$ac_cv_have_isnan" = "yes"
17279 then
17281 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17285 for ac_func in \
17286 asinh \
17287 asinhf \
17288 cbrt \
17289 cbrtf \
17290 erf \
17291 erff \
17292 exp2 \
17293 exp2f \
17294 lgamma \
17295 lgammaf \
17296 llrint \
17297 llrintf \
17298 llround \
17299 llroundf \
17300 log2 \
17301 log2f \
17302 lrint \
17303 lrintf \
17304 lround \
17305 lroundf \
17306 nearbyint \
17307 nearbyintf \
17308 powl \
17309 remainder \
17310 remainderf \
17311 rint \
17312 rintf \
17313 round \
17314 roundf \
17315 trunc \
17316 truncf
17318 do :
17319 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17320 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17321 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17322 cat >>confdefs.h <<_ACEOF
17323 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17324 _ACEOF
17327 done
17329 LIBS="$ac_save_LIBS"
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17332 $as_echo_n "checking for __builtin_clz... " >&6; }
17333 if ${ac_cv_have___builtin_clz+:} false; then :
17334 $as_echo_n "(cached) " >&6
17335 else
17336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17337 /* end confdefs.h. */
17340 main ()
17342 return __builtin_clz(1)
17344 return 0;
17346 _ACEOF
17347 if ac_fn_c_try_link "$LINENO"; then :
17348 ac_cv_have___builtin_clz="yes"
17349 else
17350 ac_cv_have___builtin_clz="no"
17352 rm -f core conftest.err conftest.$ac_objext \
17353 conftest$ac_exeext conftest.$ac_ext
17355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17356 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17357 if test "$ac_cv_have___builtin_clz" = "yes"
17358 then
17360 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17365 $as_echo_n "checking for __builtin_popcount... " >&6; }
17366 if ${ac_cv_have___builtin_popcount+:} false; then :
17367 $as_echo_n "(cached) " >&6
17368 else
17369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17370 /* end confdefs.h. */
17373 main ()
17375 return __builtin_popcount(1)
17377 return 0;
17379 _ACEOF
17380 if ac_fn_c_try_link "$LINENO"; then :
17381 ac_cv_have___builtin_popcount="yes"
17382 else
17383 ac_cv_have___builtin_popcount="no"
17385 rm -f core conftest.err conftest.$ac_objext \
17386 conftest$ac_exeext conftest.$ac_ext
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17389 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17390 if test "$ac_cv_have___builtin_popcount" = "yes"
17391 then
17393 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17398 case $host_cpu in
17399 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17400 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17401 if ${ac_cv_cpp_def___i386__+:} false; then :
17402 $as_echo_n "(cached) " >&6
17403 else
17404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17405 /* end confdefs.h. */
17406 #ifndef __i386__
17408 #endif
17409 _ACEOF
17410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17411 $EGREP "yes" >/dev/null 2>&1; then :
17412 ac_cv_cpp_def___i386__=yes
17413 else
17414 ac_cv_cpp_def___i386__=no
17416 rm -f conftest*
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17420 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17421 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17422 CFLAGS="$CFLAGS -D__i386__"
17423 LINTFLAGS="$LINTFLAGS -D__i386__"
17424 fi ;;
17425 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17426 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17427 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17428 $as_echo_n "(cached) " >&6
17429 else
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17432 #ifndef __x86_64__
17434 #endif
17435 _ACEOF
17436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17437 $EGREP "yes" >/dev/null 2>&1; then :
17438 ac_cv_cpp_def___x86_64__=yes
17439 else
17440 ac_cv_cpp_def___x86_64__=no
17442 rm -f conftest*
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17446 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17447 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17448 CFLAGS="$CFLAGS -D__x86_64__"
17449 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17450 fi ;;
17451 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17452 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17453 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17454 $as_echo_n "(cached) " >&6
17455 else
17456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17457 /* end confdefs.h. */
17458 #ifndef __sparc64__
17460 #endif
17461 _ACEOF
17462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17463 $EGREP "yes" >/dev/null 2>&1; then :
17464 ac_cv_cpp_def___sparc64__=yes
17465 else
17466 ac_cv_cpp_def___sparc64__=no
17468 rm -f conftest*
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17472 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17473 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17474 CFLAGS="$CFLAGS -D__sparc64__"
17475 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17476 fi ;;
17477 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17478 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17479 if ${ac_cv_cpp_def___sparc__+:} false; then :
17480 $as_echo_n "(cached) " >&6
17481 else
17482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17483 /* end confdefs.h. */
17484 #ifndef __sparc__
17486 #endif
17487 _ACEOF
17488 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17489 $EGREP "yes" >/dev/null 2>&1; then :
17490 ac_cv_cpp_def___sparc__=yes
17491 else
17492 ac_cv_cpp_def___sparc__=no
17494 rm -f conftest*
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17498 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17499 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17500 CFLAGS="$CFLAGS -D__sparc__"
17501 LINTFLAGS="$LINTFLAGS -D__sparc__"
17502 fi ;;
17503 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17504 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17505 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17506 $as_echo_n "(cached) " >&6
17507 else
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h. */
17510 #ifndef __powerpc64__
17512 #endif
17513 _ACEOF
17514 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17515 $EGREP "yes" >/dev/null 2>&1; then :
17516 ac_cv_cpp_def___powerpc64__=yes
17517 else
17518 ac_cv_cpp_def___powerpc64__=no
17520 rm -f conftest*
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17524 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17525 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17526 CFLAGS="$CFLAGS -D__powerpc64__"
17527 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17528 fi ;;
17529 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17530 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17531 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17532 $as_echo_n "(cached) " >&6
17533 else
17534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17535 /* end confdefs.h. */
17536 #ifndef __powerpc__
17538 #endif
17539 _ACEOF
17540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17541 $EGREP "yes" >/dev/null 2>&1; then :
17542 ac_cv_cpp_def___powerpc__=yes
17543 else
17544 ac_cv_cpp_def___powerpc__=no
17546 rm -f conftest*
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17550 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17551 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17552 CFLAGS="$CFLAGS -D__powerpc__"
17553 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17554 fi ;;
17555 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17556 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17557 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17558 $as_echo_n "(cached) " >&6
17559 else
17560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17561 /* end confdefs.h. */
17562 #ifndef __aarch64__
17564 #endif
17565 _ACEOF
17566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17567 $EGREP "yes" >/dev/null 2>&1; then :
17568 ac_cv_cpp_def___aarch64__=yes
17569 else
17570 ac_cv_cpp_def___aarch64__=no
17572 rm -f conftest*
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17576 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17577 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17578 CFLAGS="$CFLAGS -D__aarch64__"
17579 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17580 fi ;;
17581 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17582 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17583 if ${ac_cv_cpp_def___arm__+:} false; then :
17584 $as_echo_n "(cached) " >&6
17585 else
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17588 #ifndef __arm__
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___arm__=yes
17595 else
17596 ac_cv_cpp_def___arm__=no
17598 rm -f conftest*
17601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17602 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17603 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17604 CFLAGS="$CFLAGS -D__arm__"
17605 LINTFLAGS="$LINTFLAGS -D__arm__"
17606 fi ;;
17607 esac
17609 case $host_vendor in
17610 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17611 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17612 if ${ac_cv_cpp_def___sun__+:} false; then :
17613 $as_echo_n "(cached) " >&6
17614 else
17615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17616 /* end confdefs.h. */
17617 #ifndef __sun__
17619 #endif
17620 _ACEOF
17621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17622 $EGREP "yes" >/dev/null 2>&1; then :
17623 ac_cv_cpp_def___sun__=yes
17624 else
17625 ac_cv_cpp_def___sun__=no
17627 rm -f conftest*
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17631 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17632 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17633 CFLAGS="$CFLAGS -D__sun__"
17634 LINTFLAGS="$LINTFLAGS -D__sun__"
17635 fi ;;
17636 esac
17642 ac_config_commands="$ac_config_commands include/stamp-h"
17644 $as_echo_n "creating Makefile rules..." >&6
17646 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17647 SOCKET_LIBS = $SOCKET_LIBS
17648 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17649 IOKIT_LIBS = $IOKIT_LIBS
17650 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17651 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17652 CORESERVICES_LIBS = $CORESERVICES_LIBS
17653 APPKIT_LIBS = $APPKIT_LIBS
17654 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17655 SECURITY_LIBS = $SECURITY_LIBS
17656 COREAUDIO_LIBS = $COREAUDIO_LIBS
17657 OPENAL_LIBS = $OPENAL_LIBS
17658 OPENCL_LIBS = $OPENCL_LIBS
17659 QUICKTIME_LIBS = $QUICKTIME_LIBS
17660 CARBON_LIBS = $CARBON_LIBS
17661 PTHREAD_LIBS = $PTHREAD_LIBS
17662 X_CFLAGS = $X_CFLAGS
17663 X_PRE_LIBS = $X_PRE_LIBS
17664 X_LIBS = $X_LIBS
17665 X_EXTRA_LIBS = $X_EXTRA_LIBS
17666 PCAP_LIBS = $PCAP_LIBS
17667 XML2_CFLAGS = $XML2_CFLAGS
17668 XML2_LIBS = $XML2_LIBS
17669 XSLT_CFLAGS = $XSLT_CFLAGS
17670 XSLT_LIBS = $XSLT_LIBS
17671 DBUS_CFLAGS = $DBUS_CFLAGS
17672 DBUS_LIBS = $DBUS_LIBS
17673 HAL_CFLAGS = $HAL_CFLAGS
17674 HAL_LIBS = $HAL_LIBS
17675 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17676 GNUTLS_LIBS = $GNUTLS_LIBS
17677 SANE_CFLAGS = $SANE_CFLAGS
17678 SANE_LIBS = $SANE_LIBS
17679 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17680 GPHOTO2_LIBS = $GPHOTO2_LIBS
17681 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17682 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17683 RESOLV_LIBS = $RESOLV_LIBS
17684 LCMS2_CFLAGS = $LCMS2_CFLAGS
17685 LCMS2_LIBS = $LCMS2_LIBS
17686 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17687 FREETYPE_LIBS = $FREETYPE_LIBS
17688 Z_LIBS = $Z_LIBS
17689 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17690 PULSE_CFLAGS = $PULSE_CFLAGS
17691 PULSE_LIBS = $PULSE_LIBS
17692 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17693 GSTREAMER_LIBS = $GSTREAMER_LIBS
17694 ALSA_LIBS = $ALSA_LIBS
17695 OSS4_CFLAGS = $OSS4_CFLAGS
17696 UDEV_CFLAGS = $UDEV_CFLAGS
17697 UDEV_LIBS = $UDEV_LIBS
17698 CAPI20_CFLAGS = $CAPI20_CFLAGS
17699 CAPI20_LIBS = $CAPI20_LIBS
17700 CUPS_CFLAGS = $CUPS_CFLAGS
17701 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17702 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17703 JPEG_CFLAGS = $JPEG_CFLAGS
17704 JPEG_LIBS = $JPEG_LIBS
17705 PNG_CFLAGS = $PNG_CFLAGS
17706 PNG_LIBS = $PNG_LIBS
17707 TIFF_CFLAGS = $TIFF_CFLAGS
17708 TIFF_LIBS = $TIFF_LIBS
17709 MPG123_CFLAGS = $MPG123_CFLAGS
17710 MPG123_LIBS = $MPG123_LIBS
17711 KSTAT_LIBS = $KSTAT_LIBS
17712 PROCSTAT_LIBS = $PROCSTAT_LIBS
17713 NETAPI_CFLAGS = $NETAPI_CFLAGS
17714 NETAPI_LIBS = $NETAPI_LIBS
17715 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17716 DL_LIBS = $DL_LIBS
17717 POLL_LIBS = $POLL_LIBS
17718 RT_LIBS = $RT_LIBS
17719 LDAP_LIBS = $LDAP_LIBS
17724 wine_fn_append_rule "
17725 # Rules automatically generated by configure
17727 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17729 .INIT: Makefile
17730 .MAKEFILEDEPS:
17731 all: Makefile
17732 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17733 @./config.status Make.tmp Makefile
17734 depend: \$(MAKEDEP) dummy
17735 \$(MAKEDEP)"
17737 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17738 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17740 if test "x$enable_fonts" != xno; then
17741 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17742 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17743 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17744 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17745 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17746 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17748 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17749 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17750 ac_config_links="$ac_config_links wine:tools/winewrapper"
17751 wine_fn_config_symlink wine
17752 if test "x$enable_win64" != xno; then
17753 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17754 wine_fn_config_symlink wine64
17757 wine_fn_config_dll acledit enable_acledit
17758 wine_fn_config_dll aclui enable_aclui implib
17759 wine_fn_config_dll activeds enable_activeds implib
17760 wine_fn_config_dll actxprxy enable_actxprxy clean
17761 wine_fn_config_lib adsiid
17762 wine_fn_config_dll adsldpc enable_adsldpc
17763 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17764 wine_fn_config_test dlls/advapi32/tests advapi32_test
17765 wine_fn_config_dll advpack enable_advpack implib
17766 wine_fn_config_test dlls/advpack/tests advpack_test
17767 wine_fn_config_dll amstream enable_amstream clean
17768 wine_fn_config_test dlls/amstream/tests amstream_test
17769 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17770 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17771 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17772 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17773 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17774 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17775 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17776 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17777 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17778 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17779 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17780 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17781 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17782 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17783 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17784 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17785 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17786 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17787 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17788 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17789 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17790 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17791 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17792 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17793 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17794 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17795 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17796 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17797 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17798 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17799 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17800 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17801 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17802 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17803 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17804 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17805 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17806 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17807 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17808 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17809 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17810 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17811 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17812 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17813 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17814 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17815 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17816 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17817 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17818 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17819 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17820 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17821 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17822 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17823 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17824 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17825 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17826 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17827 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17828 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17829 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17830 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17831 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17832 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17833 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17834 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17835 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17836 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17837 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17838 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17839 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17840 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17841 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17842 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17843 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17844 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17845 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17846 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17847 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17848 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17849 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17850 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17851 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17852 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17853 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17854 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17855 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17856 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17857 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17858 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17859 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17860 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17861 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17862 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17863 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17864 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17865 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17866 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17867 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17868 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17869 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17870 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17871 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17872 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17873 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17874 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17875 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17876 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17877 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17878 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17879 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17880 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17881 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17882 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17883 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17884 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17885 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17886 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17887 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17888 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17889 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17890 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17891 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17892 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17893 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17894 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17895 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17896 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17897 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17898 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17899 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17900 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17901 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17902 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17903 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17904 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17905 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17906 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17907 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17908 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17909 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17910 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17911 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17912 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17913 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
17914 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
17915 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17916 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17917 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17918 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17919 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
17920 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17921 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17922 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17923 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17924 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
17925 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17926 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17927 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17928 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17929 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17930 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
17931 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17932 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17933 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17934 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17935 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17936 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17937 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17938 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17939 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17940 wine_fn_config_dll apphelp enable_apphelp
17941 wine_fn_config_test dlls/apphelp/tests apphelp_test
17942 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17943 wine_fn_config_dll atl enable_atl clean,implib
17944 wine_fn_config_test dlls/atl/tests atl_test
17945 wine_fn_config_dll atl100 enable_atl100 clean,implib
17946 wine_fn_config_test dlls/atl100/tests atl100_test
17947 wine_fn_config_dll atl110 enable_atl110 clean
17948 wine_fn_config_dll atl80 enable_atl80 clean,implib
17949 wine_fn_config_test dlls/atl80/tests atl80_test
17950 wine_fn_config_dll atl90 enable_atl90 clean
17951 wine_fn_config_dll authz enable_authz
17952 wine_fn_config_dll avicap32 enable_avicap32 implib
17953 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17954 wine_fn_config_test dlls/avifil32/tests avifil32_test
17955 wine_fn_config_dll avifile.dll16 enable_win16
17956 wine_fn_config_dll avrt enable_avrt implib
17957 wine_fn_config_dll bcrypt enable_bcrypt implib
17958 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17959 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17960 wine_fn_config_dll browseui enable_browseui clean
17961 wine_fn_config_test dlls/browseui/tests browseui_test
17962 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17963 wine_fn_config_dll cabinet enable_cabinet implib
17964 wine_fn_config_test dlls/cabinet/tests cabinet_test
17965 wine_fn_config_dll capi2032 enable_capi2032 implib
17966 wine_fn_config_dll cards enable_cards implib
17967 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17968 wine_fn_config_dll clusapi enable_clusapi implib
17969 wine_fn_config_dll combase enable_combase
17970 wine_fn_config_test dlls/combase/tests combase_test
17971 wine_fn_config_dll comcat enable_comcat
17972 wine_fn_config_test dlls/comcat/tests comcat_test
17973 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17974 wine_fn_config_test dlls/comctl32/tests comctl32_test
17975 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17976 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17977 wine_fn_config_dll comm.drv16 enable_win16
17978 wine_fn_config_dll commdlg.dll16 enable_win16
17979 wine_fn_config_dll compobj.dll16 enable_win16
17980 wine_fn_config_dll compstui enable_compstui implib
17981 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
17982 wine_fn_config_dll concrt140 enable_concrt140
17983 wine_fn_config_dll connect enable_connect
17984 wine_fn_config_dll credui enable_credui clean,implib
17985 wine_fn_config_test dlls/credui/tests credui_test
17986 wine_fn_config_dll crtdll enable_crtdll
17987 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17988 wine_fn_config_test dlls/crypt32/tests crypt32_test
17989 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17990 wine_fn_config_dll cryptdll enable_cryptdll implib
17991 wine_fn_config_dll cryptext enable_cryptext
17992 wine_fn_config_dll cryptnet enable_cryptnet implib
17993 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17994 wine_fn_config_dll cryptui enable_cryptui clean,implib
17995 wine_fn_config_test dlls/cryptui/tests cryptui_test
17996 wine_fn_config_dll ctapi32 enable_ctapi32
17997 wine_fn_config_dll ctl3d.dll16 enable_win16
17998 wine_fn_config_dll ctl3d32 enable_ctl3d32
17999 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18000 wine_fn_config_dll d2d1 enable_d2d1 implib
18001 wine_fn_config_test dlls/d2d1/tests d2d1_test
18002 wine_fn_config_dll d3d10 enable_d3d10 implib
18003 wine_fn_config_test dlls/d3d10/tests d3d10_test
18004 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18005 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18006 wine_fn_config_dll d3d10core enable_d3d10core implib
18007 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18008 wine_fn_config_dll d3d11 enable_d3d11 implib
18009 wine_fn_config_test dlls/d3d11/tests d3d11_test
18010 wine_fn_config_dll d3d8 enable_d3d8 implib
18011 wine_fn_config_test dlls/d3d8/tests d3d8_test
18012 wine_fn_config_dll d3d9 enable_d3d9 implib
18013 wine_fn_config_test dlls/d3d9/tests d3d9_test
18014 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18015 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18016 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18017 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18018 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18019 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18020 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18021 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18022 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18023 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18024 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18025 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18026 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18027 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18028 wine_fn_config_dll d3dim enable_d3dim
18029 wine_fn_config_dll d3drm enable_d3drm implib
18030 wine_fn_config_test dlls/d3drm/tests d3drm_test
18031 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18032 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18033 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18034 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18035 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18036 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18037 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18038 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18039 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18040 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18041 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18042 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18043 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18044 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18045 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18046 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18047 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18048 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18049 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18050 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18051 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18052 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18053 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18054 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18055 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18056 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18057 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18058 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18059 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18060 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18061 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18062 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18063 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18064 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18065 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18066 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18067 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18068 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18069 wine_fn_config_dll davclnt enable_davclnt
18070 wine_fn_config_dll dbgeng enable_dbgeng implib
18071 wine_fn_config_dll dbghelp enable_dbghelp implib
18072 wine_fn_config_dll dciman32 enable_dciman32 implib
18073 wine_fn_config_dll ddeml.dll16 enable_win16
18074 wine_fn_config_dll ddraw enable_ddraw clean,implib
18075 wine_fn_config_test dlls/ddraw/tests ddraw_test
18076 wine_fn_config_dll ddrawex enable_ddrawex clean
18077 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18078 wine_fn_config_dll devenum enable_devenum clean
18079 wine_fn_config_test dlls/devenum/tests devenum_test
18080 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18081 wine_fn_config_dll difxapi enable_difxapi
18082 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18083 wine_fn_config_test dlls/dinput/tests dinput_test
18084 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18085 wine_fn_config_test dlls/dinput8/tests dinput8_test
18086 wine_fn_config_dll dispdib.dll16 enable_win16
18087 wine_fn_config_dll dispex enable_dispex clean
18088 wine_fn_config_test dlls/dispex/tests dispex_test
18089 wine_fn_config_dll display.drv16 enable_win16
18090 wine_fn_config_dll dmband enable_dmband clean
18091 wine_fn_config_test dlls/dmband/tests dmband_test
18092 wine_fn_config_dll dmcompos enable_dmcompos clean
18093 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18094 wine_fn_config_dll dmime enable_dmime clean
18095 wine_fn_config_test dlls/dmime/tests dmime_test
18096 wine_fn_config_dll dmloader enable_dmloader clean
18097 wine_fn_config_test dlls/dmloader/tests dmloader_test
18098 wine_fn_config_dll dmscript enable_dmscript clean
18099 wine_fn_config_test dlls/dmscript/tests dmscript_test
18100 wine_fn_config_dll dmstyle enable_dmstyle clean
18101 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18102 wine_fn_config_dll dmsynth enable_dmsynth clean
18103 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18104 wine_fn_config_dll dmusic enable_dmusic clean
18105 wine_fn_config_test dlls/dmusic/tests dmusic_test
18106 wine_fn_config_dll dmusic32 enable_dmusic32
18107 wine_fn_config_dll dnsapi enable_dnsapi implib
18108 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18109 wine_fn_config_dll dplay enable_dplay
18110 wine_fn_config_dll dplayx enable_dplayx clean,implib
18111 wine_fn_config_test dlls/dplayx/tests dplayx_test
18112 wine_fn_config_dll dpnaddr enable_dpnaddr
18113 wine_fn_config_dll dpnet enable_dpnet clean,implib
18114 wine_fn_config_test dlls/dpnet/tests dpnet_test
18115 wine_fn_config_dll dpnhpast enable_dpnhpast
18116 wine_fn_config_dll dpnlobby enable_dpnlobby
18117 wine_fn_config_dll dpvoice enable_dpvoice clean
18118 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18119 wine_fn_config_dll dpwsockx enable_dpwsockx
18120 wine_fn_config_dll drmclien enable_drmclien
18121 wine_fn_config_dll dsound enable_dsound clean,implib
18122 wine_fn_config_test dlls/dsound/tests dsound_test
18123 wine_fn_config_dll dssenh enable_dssenh
18124 wine_fn_config_test dlls/dssenh/tests dssenh_test
18125 wine_fn_config_dll dswave enable_dswave clean
18126 wine_fn_config_test dlls/dswave/tests dswave_test
18127 wine_fn_config_dll dwmapi enable_dwmapi implib
18128 wine_fn_config_dll dwrite enable_dwrite implib
18129 wine_fn_config_test dlls/dwrite/tests dwrite_test
18130 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18131 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18132 wine_fn_config_lib dxerr8
18133 wine_fn_config_lib dxerr9
18134 wine_fn_config_dll dxgi enable_dxgi implib
18135 wine_fn_config_test dlls/dxgi/tests dxgi_test
18136 wine_fn_config_lib dxguid
18137 wine_fn_config_dll dxva2 enable_dxva2
18138 wine_fn_config_dll esent enable_esent
18139 wine_fn_config_dll evr enable_evr
18140 wine_fn_config_dll explorerframe enable_explorerframe clean
18141 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18142 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18143 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18144 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18145 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18146 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18147 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18148 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18149 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18150 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18151 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18152 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18153 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18154 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18155 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18156 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18157 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
18158 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18159 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18160 wine_fn_config_dll faultrep enable_faultrep implib
18161 wine_fn_config_test dlls/faultrep/tests faultrep_test
18162 wine_fn_config_dll fltlib enable_fltlib
18163 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18164 wine_fn_config_dll fntcache enable_fntcache
18165 wine_fn_config_dll fontsub enable_fontsub
18166 wine_fn_config_dll fusion enable_fusion
18167 wine_fn_config_test dlls/fusion/tests fusion_test
18168 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18169 wine_fn_config_dll gameux enable_gameux clean
18170 wine_fn_config_test dlls/gameux/tests gameux_test
18171 wine_fn_config_dll gdi.exe16 enable_win16
18172 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18173 wine_fn_config_test dlls/gdi32/tests gdi32_test
18174 wine_fn_config_dll gdiplus enable_gdiplus implib
18175 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18176 wine_fn_config_dll glu32 enable_glu32 implib
18177 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18178 wine_fn_config_dll gpkcsp enable_gpkcsp
18179 wine_fn_config_dll hal enable_hal
18180 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18181 wine_fn_config_dll hid enable_hid implib
18182 wine_fn_config_test dlls/hid/tests hid_test
18183 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18184 wine_fn_config_dll hlink enable_hlink clean,implib
18185 wine_fn_config_test dlls/hlink/tests hlink_test
18186 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18187 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18188 wine_fn_config_dll httpapi enable_httpapi
18189 wine_fn_config_dll iccvid enable_iccvid clean
18190 wine_fn_config_dll icmp enable_icmp
18191 wine_fn_config_dll ieframe enable_ieframe clean,implib
18192 wine_fn_config_test dlls/ieframe/tests ieframe_test
18193 wine_fn_config_dll ifsmgr.vxd enable_win16
18194 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18195 wine_fn_config_dll imagehlp enable_imagehlp implib
18196 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18197 wine_fn_config_dll imm.dll16 enable_win16
18198 wine_fn_config_dll imm32 enable_imm32 implib
18199 wine_fn_config_test dlls/imm32/tests imm32_test
18200 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18201 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18202 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18203 wine_fn_config_dll inetmib1 enable_inetmib1
18204 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18205 wine_fn_config_dll infosoft enable_infosoft clean
18206 wine_fn_config_test dlls/infosoft/tests infosoft_test
18207 wine_fn_config_dll initpki enable_initpki
18208 wine_fn_config_dll inkobj enable_inkobj
18209 wine_fn_config_dll inseng enable_inseng clean
18210 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18211 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18212 wine_fn_config_dll iprop enable_iprop
18213 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18214 wine_fn_config_dll itircl enable_itircl
18215 wine_fn_config_dll itss enable_itss clean
18216 wine_fn_config_test dlls/itss/tests itss_test
18217 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18218 wine_fn_config_dll jscript enable_jscript clean
18219 wine_fn_config_test dlls/jscript/tests jscript_test
18220 wine_fn_config_dll jsproxy enable_jsproxy implib
18221 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18222 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18223 wine_fn_config_test dlls/kernel32/tests kernel32_test
18224 wine_fn_config_dll kernelbase enable_kernelbase
18225 wine_fn_config_dll keyboard.drv16 enable_win16
18226 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18227 wine_fn_config_dll ksuser enable_ksuser
18228 wine_fn_config_dll ktmw32 enable_ktmw32
18229 wine_fn_config_dll loadperf enable_loadperf implib
18230 wine_fn_config_dll localspl enable_localspl clean
18231 wine_fn_config_test dlls/localspl/tests localspl_test
18232 wine_fn_config_dll localui enable_localui clean
18233 wine_fn_config_test dlls/localui/tests localui_test
18234 wine_fn_config_dll lz32 enable_lz32 implib
18235 wine_fn_config_test dlls/lz32/tests lz32_test
18236 wine_fn_config_dll lzexpand.dll16 enable_win16
18237 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18238 wine_fn_config_test dlls/mapi32/tests mapi32_test
18239 wine_fn_config_dll mapistub enable_mapistub
18240 wine_fn_config_dll mciavi32 enable_mciavi32
18241 wine_fn_config_dll mcicda enable_mcicda
18242 wine_fn_config_dll mciqtz32 enable_mciqtz32
18243 wine_fn_config_dll mciseq enable_mciseq
18244 wine_fn_config_dll mciwave enable_mciwave
18245 wine_fn_config_dll mf enable_mf implib
18246 wine_fn_config_test dlls/mf/tests mf_test
18247 wine_fn_config_dll mf3216 enable_mf3216
18248 wine_fn_config_dll mfplat enable_mfplat implib
18249 wine_fn_config_test dlls/mfplat/tests mfplat_test
18250 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18251 wine_fn_config_dll mgmtapi enable_mgmtapi
18252 wine_fn_config_dll midimap enable_midimap
18253 wine_fn_config_dll mlang enable_mlang clean,implib
18254 wine_fn_config_test dlls/mlang/tests mlang_test
18255 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18256 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18257 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18258 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18259 wine_fn_config_dll mmdevldr.vxd enable_win16
18260 wine_fn_config_dll mmsystem.dll16 enable_win16
18261 wine_fn_config_dll monodebg.vxd enable_win16
18262 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18263 wine_fn_config_dll mouse.drv16 enable_win16
18264 wine_fn_config_dll mpr enable_mpr clean,implib
18265 wine_fn_config_test dlls/mpr/tests mpr_test
18266 wine_fn_config_dll mprapi enable_mprapi implib
18267 wine_fn_config_dll msacm.dll16 enable_win16
18268 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18269 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18270 wine_fn_config_test dlls/msacm32/tests msacm32_test
18271 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18272 wine_fn_config_dll msasn1 enable_msasn1 implib
18273 wine_fn_config_dll mscat32 enable_mscat32
18274 wine_fn_config_dll mscms enable_mscms implib
18275 wine_fn_config_test dlls/mscms/tests mscms_test
18276 wine_fn_config_dll mscoree enable_mscoree clean
18277 wine_fn_config_test dlls/mscoree/tests mscoree_test
18278 wine_fn_config_dll msctf enable_msctf clean
18279 wine_fn_config_test dlls/msctf/tests msctf_test
18280 wine_fn_config_dll msctfp enable_msctfp clean
18281 wine_fn_config_dll msdaps enable_msdaps clean
18282 wine_fn_config_dll msdelta enable_msdelta
18283 wine_fn_config_dll msdmo enable_msdmo implib
18284 wine_fn_config_test dlls/msdmo/tests msdmo_test
18285 wine_fn_config_dll msdrm enable_msdrm
18286 wine_fn_config_dll msftedit enable_msftedit
18287 wine_fn_config_dll msg711.acm enable_msg711_acm
18288 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18289 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18290 wine_fn_config_dll mshtml enable_mshtml clean,implib
18291 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18292 wine_fn_config_dll msi enable_msi clean,implib
18293 wine_fn_config_test dlls/msi/tests msi_test
18294 wine_fn_config_dll msident enable_msident clean
18295 wine_fn_config_dll msimg32 enable_msimg32 implib
18296 wine_fn_config_dll msimsg enable_msimsg
18297 wine_fn_config_dll msimtf enable_msimtf clean
18298 wine_fn_config_dll msisip enable_msisip
18299 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18300 wine_fn_config_dll msls31 enable_msls31
18301 wine_fn_config_dll msnet32 enable_msnet32
18302 wine_fn_config_dll mspatcha enable_mspatcha implib
18303 wine_fn_config_dll msports enable_msports
18304 wine_fn_config_dll msrle32 enable_msrle32 clean
18305 wine_fn_config_test dlls/msrle32/tests msrle32_test
18306 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18307 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18308 wine_fn_config_dll mssign32 enable_mssign32
18309 wine_fn_config_dll mssip32 enable_mssip32
18310 wine_fn_config_dll mstask enable_mstask clean
18311 wine_fn_config_test dlls/mstask/tests mstask_test
18312 wine_fn_config_dll msvcirt enable_msvcirt
18313 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18314 wine_fn_config_dll msvcm80 enable_msvcm80
18315 wine_fn_config_dll msvcm90 enable_msvcm90
18316 wine_fn_config_dll msvcp100 enable_msvcp100
18317 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18318 wine_fn_config_dll msvcp110 enable_msvcp110
18319 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18320 wine_fn_config_dll msvcp120 enable_msvcp120
18321 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18322 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18323 wine_fn_config_dll msvcp140 enable_msvcp140
18324 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18325 wine_fn_config_dll msvcp60 enable_msvcp60
18326 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18327 wine_fn_config_dll msvcp70 enable_msvcp70
18328 wine_fn_config_dll msvcp71 enable_msvcp71
18329 wine_fn_config_dll msvcp80 enable_msvcp80
18330 wine_fn_config_dll msvcp90 enable_msvcp90
18331 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18332 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18333 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18334 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18335 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18336 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18337 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18338 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18339 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18340 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18341 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18342 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18343 wine_fn_config_dll msvcrt enable_msvcrt implib
18344 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18345 wine_fn_config_dll msvcrt20 enable_msvcrt20
18346 wine_fn_config_dll msvcrt40 enable_msvcrt40
18347 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18348 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18349 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18350 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18351 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18352 wine_fn_config_dll msvideo.dll16 enable_win16
18353 wine_fn_config_dll mswsock enable_mswsock implib
18354 wine_fn_config_dll msxml enable_msxml clean
18355 wine_fn_config_dll msxml2 enable_msxml2 clean
18356 wine_fn_config_dll msxml3 enable_msxml3 clean
18357 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18358 wine_fn_config_dll msxml4 enable_msxml4 clean
18359 wine_fn_config_dll msxml6 enable_msxml6 clean
18360 wine_fn_config_dll mtxdm enable_mtxdm
18361 wine_fn_config_dll ncrypt enable_ncrypt
18362 wine_fn_config_dll nddeapi enable_nddeapi implib
18363 wine_fn_config_dll ndis.sys enable_ndis_sys
18364 wine_fn_config_dll netapi32 enable_netapi32 implib
18365 wine_fn_config_test dlls/netapi32/tests netapi32_test
18366 wine_fn_config_dll netcfgx enable_netcfgx clean
18367 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18368 wine_fn_config_dll netprofm enable_netprofm clean
18369 wine_fn_config_test dlls/netprofm/tests netprofm_test
18370 wine_fn_config_dll newdev enable_newdev implib
18371 wine_fn_config_dll normaliz enable_normaliz implib
18372 wine_fn_config_dll npmshtml enable_npmshtml
18373 wine_fn_config_dll npptools enable_npptools
18374 wine_fn_config_dll ntdll enable_ntdll implib
18375 wine_fn_config_test dlls/ntdll/tests ntdll_test
18376 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18377 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18378 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18379 wine_fn_config_dll ntprint enable_ntprint
18380 wine_fn_config_test dlls/ntprint/tests ntprint_test
18381 wine_fn_config_dll objsel enable_objsel clean
18382 wine_fn_config_dll odbc32 enable_odbc32 implib
18383 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18384 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18385 wine_fn_config_dll odbccu32 enable_odbccu32
18386 wine_fn_config_dll ole2.dll16 enable_win16
18387 wine_fn_config_dll ole2conv.dll16 enable_win16
18388 wine_fn_config_dll ole2disp.dll16 enable_win16
18389 wine_fn_config_dll ole2nls.dll16 enable_win16
18390 wine_fn_config_dll ole2prox.dll16 enable_win16
18391 wine_fn_config_dll ole2thk.dll16 enable_win16
18392 wine_fn_config_dll ole32 enable_ole32 clean,implib
18393 wine_fn_config_test dlls/ole32/tests ole32_test
18394 wine_fn_config_dll oleacc enable_oleacc clean,implib
18395 wine_fn_config_test dlls/oleacc/tests oleacc_test
18396 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18397 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18398 wine_fn_config_dll olecli.dll16 enable_win16
18399 wine_fn_config_dll olecli32 enable_olecli32 implib
18400 wine_fn_config_dll oledb32 enable_oledb32 clean
18401 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18402 wine_fn_config_dll oledlg enable_oledlg clean,implib
18403 wine_fn_config_test dlls/oledlg/tests oledlg_test
18404 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18405 wine_fn_config_dll olesvr.dll16 enable_win16
18406 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18407 wine_fn_config_dll olethk32 enable_olethk32
18408 wine_fn_config_dll openal32 enable_openal32
18409 wine_fn_config_dll opencl enable_opencl
18410 wine_fn_config_dll opengl32 enable_opengl32 implib
18411 wine_fn_config_test dlls/opengl32/tests opengl32_test
18412 wine_fn_config_dll packager enable_packager clean
18413 wine_fn_config_test dlls/packager/tests packager_test
18414 wine_fn_config_dll pdh enable_pdh implib
18415 wine_fn_config_test dlls/pdh/tests pdh_test
18416 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18417 wine_fn_config_dll pidgen enable_pidgen
18418 wine_fn_config_dll powrprof enable_powrprof implib
18419 wine_fn_config_dll printui enable_printui
18420 wine_fn_config_dll prntvpt enable_prntvpt
18421 wine_fn_config_dll propsys enable_propsys clean,implib
18422 wine_fn_config_test dlls/propsys/tests propsys_test
18423 wine_fn_config_dll psapi enable_psapi implib
18424 wine_fn_config_test dlls/psapi/tests psapi_test
18425 wine_fn_config_dll pstorec enable_pstorec clean
18426 wine_fn_config_test dlls/pstorec/tests pstorec_test
18427 wine_fn_config_dll qcap enable_qcap
18428 wine_fn_config_test dlls/qcap/tests qcap_test
18429 wine_fn_config_dll qedit enable_qedit clean
18430 wine_fn_config_test dlls/qedit/tests qedit_test
18431 wine_fn_config_dll qmgr enable_qmgr clean
18432 wine_fn_config_test dlls/qmgr/tests qmgr_test
18433 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18434 wine_fn_config_dll quartz enable_quartz clean,implib
18435 wine_fn_config_test dlls/quartz/tests quartz_test clean
18436 wine_fn_config_dll query enable_query
18437 wine_fn_config_dll rasapi16.dll16 enable_win16
18438 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18439 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18440 wine_fn_config_dll rasdlg enable_rasdlg implib
18441 wine_fn_config_dll regapi enable_regapi
18442 wine_fn_config_dll resutils enable_resutils implib
18443 wine_fn_config_dll riched20 enable_riched20 clean,implib
18444 wine_fn_config_test dlls/riched20/tests riched20_test
18445 wine_fn_config_dll riched32 enable_riched32
18446 wine_fn_config_test dlls/riched32/tests riched32_test
18447 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18448 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18449 wine_fn_config_dll rsabase enable_rsabase
18450 wine_fn_config_dll rsaenh enable_rsaenh implib
18451 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18452 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18453 wine_fn_config_dll rtutils enable_rtutils implib
18454 wine_fn_config_dll samlib enable_samlib
18455 wine_fn_config_dll sane.ds enable_sane_ds clean
18456 wine_fn_config_dll scarddlg enable_scarddlg
18457 wine_fn_config_dll sccbase enable_sccbase
18458 wine_fn_config_dll schannel enable_schannel
18459 wine_fn_config_test dlls/schannel/tests schannel_test
18460 wine_fn_config_dll schedsvc enable_schedsvc clean
18461 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18462 wine_fn_config_dll scrobj enable_scrobj clean
18463 wine_fn_config_dll scrrun enable_scrrun clean
18464 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18465 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18466 wine_fn_config_dll secur32 enable_secur32 implib
18467 wine_fn_config_test dlls/secur32/tests secur32_test
18468 wine_fn_config_dll security enable_security
18469 wine_fn_config_dll sensapi enable_sensapi implib
18470 wine_fn_config_dll serialui enable_serialui clean
18471 wine_fn_config_test dlls/serialui/tests serialui_test
18472 wine_fn_config_dll setupapi enable_setupapi clean,implib
18473 wine_fn_config_test dlls/setupapi/tests setupapi_test
18474 wine_fn_config_dll setupx.dll16 enable_win16
18475 wine_fn_config_dll sfc enable_sfc implib
18476 wine_fn_config_dll sfc_os enable_sfc_os implib
18477 wine_fn_config_dll shdoclc enable_shdoclc clean
18478 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18479 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18480 wine_fn_config_dll shell.dll16 enable_win16
18481 wine_fn_config_dll shell32 enable_shell32 clean,implib
18482 wine_fn_config_test dlls/shell32/tests shell32_test
18483 wine_fn_config_dll shfolder enable_shfolder implib
18484 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18485 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18486 wine_fn_config_dll slbcsp enable_slbcsp
18487 wine_fn_config_dll slc enable_slc implib
18488 wine_fn_config_test dlls/slc/tests slc_test
18489 wine_fn_config_dll snmpapi enable_snmpapi implib
18490 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18491 wine_fn_config_dll softpub enable_softpub
18492 wine_fn_config_dll sound.drv16 enable_win16
18493 wine_fn_config_dll spoolss enable_spoolss implib
18494 wine_fn_config_test dlls/spoolss/tests spoolss_test
18495 wine_fn_config_dll sspicli enable_sspicli
18496 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18497 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18498 wine_fn_config_dll sti enable_sti clean,implib
18499 wine_fn_config_test dlls/sti/tests sti_test
18500 wine_fn_config_dll storage.dll16 enable_win16
18501 wine_fn_config_dll stress.dll16 enable_win16
18502 wine_fn_config_lib strmbase
18503 wine_fn_config_lib strmiids
18504 wine_fn_config_dll svrapi enable_svrapi
18505 wine_fn_config_dll sxs enable_sxs implib
18506 wine_fn_config_test dlls/sxs/tests sxs_test
18507 wine_fn_config_dll system.drv16 enable_win16
18508 wine_fn_config_dll t2embed enable_t2embed implib
18509 wine_fn_config_test dlls/t2embed/tests t2embed_test
18510 wine_fn_config_dll tapi32 enable_tapi32 implib
18511 wine_fn_config_dll taskschd enable_taskschd clean
18512 wine_fn_config_test dlls/taskschd/tests taskschd_test
18513 wine_fn_config_dll tdh enable_tdh
18514 wine_fn_config_dll tdi.sys enable_tdi_sys
18515 wine_fn_config_dll toolhelp.dll16 enable_win16
18516 wine_fn_config_dll traffic enable_traffic
18517 wine_fn_config_dll twain.dll16 enable_win16
18518 wine_fn_config_dll twain_32 enable_twain_32
18519 wine_fn_config_test dlls/twain_32/tests twain_32_test
18520 wine_fn_config_dll typelib.dll16 enable_win16
18521 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18522 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18523 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18524 wine_fn_config_dll unicows enable_unicows implib
18525 wine_fn_config_dll updspapi enable_updspapi
18526 wine_fn_config_dll url enable_url implib
18527 wine_fn_config_dll urlmon enable_urlmon clean,implib
18528 wine_fn_config_test dlls/urlmon/tests urlmon_test
18529 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18530 wine_fn_config_dll user.exe16 enable_win16
18531 wine_fn_config_dll user32 enable_user32 clean,implib
18532 wine_fn_config_test dlls/user32/tests user32_test
18533 wine_fn_config_dll userenv enable_userenv implib
18534 wine_fn_config_test dlls/userenv/tests userenv_test
18535 wine_fn_config_dll usp10 enable_usp10 implib
18536 wine_fn_config_test dlls/usp10/tests usp10_test
18537 wine_fn_config_lib uuid
18538 wine_fn_config_dll uxtheme enable_uxtheme implib
18539 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18540 wine_fn_config_dll vbscript enable_vbscript clean
18541 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18542 wine_fn_config_dll vcomp enable_vcomp
18543 wine_fn_config_test dlls/vcomp/tests vcomp_test
18544 wine_fn_config_dll vcomp100 enable_vcomp100
18545 wine_fn_config_dll vcomp110 enable_vcomp110
18546 wine_fn_config_dll vcomp120 enable_vcomp120
18547 wine_fn_config_dll vcomp140 enable_vcomp140
18548 wine_fn_config_dll vcomp90 enable_vcomp90
18549 wine_fn_config_dll vcruntime140 enable_vcruntime140
18550 wine_fn_config_dll vdhcp.vxd enable_win16
18551 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18552 wine_fn_config_dll ver.dll16 enable_win16
18553 wine_fn_config_dll version enable_version implib
18554 wine_fn_config_test dlls/version/tests version_test
18555 wine_fn_config_dll virtdisk enable_virtdisk
18556 wine_fn_config_dll vmm.vxd enable_win16
18557 wine_fn_config_dll vnbt.vxd enable_win16
18558 wine_fn_config_dll vnetbios.vxd enable_win16
18559 wine_fn_config_dll vssapi enable_vssapi
18560 wine_fn_config_dll vtdapi.vxd enable_win16
18561 wine_fn_config_dll vwin32.vxd enable_win16
18562 wine_fn_config_dll w32skrnl enable_win16
18563 wine_fn_config_dll w32sys.dll16 enable_win16
18564 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18565 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18566 wine_fn_config_dll wbemprox enable_wbemprox clean
18567 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18568 wine_fn_config_dll webservices enable_webservices implib
18569 wine_fn_config_test dlls/webservices/tests webservices_test
18570 wine_fn_config_dll wer enable_wer implib
18571 wine_fn_config_test dlls/wer/tests wer_test
18572 wine_fn_config_dll wevtapi enable_wevtapi
18573 wine_fn_config_dll wiaservc enable_wiaservc clean
18574 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18575 wine_fn_config_dll wimgapi enable_wimgapi
18576 wine_fn_config_dll win32s16.dll16 enable_win16
18577 wine_fn_config_dll win87em.dll16 enable_win16
18578 wine_fn_config_dll winaspi.dll16 enable_win16
18579 wine_fn_config_dll windebug.dll16 enable_win16
18580 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18581 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18582 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18583 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18584 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18585 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18586 wine_fn_config_dll winebus.sys enable_winebus_sys
18587 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18588 wine_fn_config_lib winecrt0
18589 wine_fn_config_dll wined3d enable_wined3d implib
18590 wine_fn_config_dll winegstreamer enable_winegstreamer
18591 wine_fn_config_dll winehid.sys enable_winehid_sys
18592 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18593 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18594 wine_fn_config_dll winemapi enable_winemapi
18595 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18596 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18597 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18598 wine_fn_config_dll wineps16.drv16 enable_win16
18599 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18600 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18601 wine_fn_config_dll winex11.drv enable_winex11_drv
18602 wine_fn_config_dll wing.dll16 enable_win16
18603 wine_fn_config_dll wing32 enable_wing32
18604 wine_fn_config_dll winhttp enable_winhttp clean,implib
18605 wine_fn_config_test dlls/winhttp/tests winhttp_test
18606 wine_fn_config_dll wininet enable_wininet clean,implib
18607 wine_fn_config_test dlls/wininet/tests wininet_test
18608 wine_fn_config_dll winmm enable_winmm clean,implib
18609 wine_fn_config_test dlls/winmm/tests winmm_test
18610 wine_fn_config_dll winnls.dll16 enable_win16
18611 wine_fn_config_dll winnls32 enable_winnls32 implib
18612 wine_fn_config_dll winscard enable_winscard implib
18613 wine_fn_config_dll winsock.dll16 enable_win16
18614 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18615 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18616 wine_fn_config_dll winsta enable_winsta
18617 wine_fn_config_dll wintab.dll16 enable_win16
18618 wine_fn_config_dll wintab32 enable_wintab32 implib
18619 wine_fn_config_test dlls/wintab32/tests wintab32_test
18620 wine_fn_config_dll wintrust enable_wintrust implib
18621 wine_fn_config_test dlls/wintrust/tests wintrust_test
18622 wine_fn_config_dll winusb enable_winusb
18623 wine_fn_config_dll wlanapi enable_wlanapi implib
18624 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18625 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18626 wine_fn_config_test dlls/wldap32/tests wldap32_test
18627 wine_fn_config_dll wmasf enable_wmasf
18628 wine_fn_config_dll wmi enable_wmi
18629 wine_fn_config_dll wmiutils enable_wmiutils clean
18630 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18631 wine_fn_config_dll wmp enable_wmp clean
18632 wine_fn_config_test dlls/wmp/tests wmp_test
18633 wine_fn_config_dll wmvcore enable_wmvcore implib
18634 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18635 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18636 wine_fn_config_dll wow32 enable_win16 implib
18637 wine_fn_config_dll wpc enable_wpc clean
18638 wine_fn_config_test dlls/wpc/tests wpc_test
18639 wine_fn_config_dll wpcap enable_wpcap
18640 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18641 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18642 wine_fn_config_dll wsdapi enable_wsdapi implib
18643 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18644 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18645 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18646 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18647 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18648 wine_fn_config_dll wsock32 enable_wsock32 implib
18649 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18650 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18651 wine_fn_config_dll wuapi enable_wuapi clean
18652 wine_fn_config_dll wuaueng enable_wuaueng
18653 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18654 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18655 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18656 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18657 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18658 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18659 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18660 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18661 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18662 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18663 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18664 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18665 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18666 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18667 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18668 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18669 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18670 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18671 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18672 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18673 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18674 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18675 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18676 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18677 wine_fn_config_dll xinput1_1 enable_xinput1_1
18678 wine_fn_config_dll xinput1_2 enable_xinput1_2
18679 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18680 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18681 wine_fn_config_dll xinput1_4 enable_xinput1_4
18682 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18683 wine_fn_config_dll xmllite enable_xmllite implib
18684 wine_fn_config_test dlls/xmllite/tests xmllite_test
18685 wine_fn_config_dll xolehlp enable_xolehlp
18686 wine_fn_config_dll xpsprint enable_xpsprint
18687 wine_fn_config_dll xpssvcs enable_xpssvcs
18688 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18689 wine_fn_config_makefile include enable_include clean,install-dev
18690 wine_fn_config_makefile libs/port enable_libs_port
18691 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18692 wine_fn_config_makefile libs/wpp enable_libs_wpp
18693 wine_fn_config_makefile loader enable_loader clean,install-lib
18694 wine_fn_config_makefile po enable_po clean
18695 wine_fn_config_program arp enable_arp install
18696 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18697 wine_fn_config_program attrib enable_attrib clean,install
18698 wine_fn_config_program cabarc enable_cabarc install
18699 wine_fn_config_program cacls enable_cacls install
18700 wine_fn_config_program clock enable_clock clean,install
18701 wine_fn_config_program cmd enable_cmd clean,install
18702 wine_fn_config_test programs/cmd/tests cmd.exe_test
18703 wine_fn_config_program conhost enable_conhost install
18704 wine_fn_config_program control enable_control install
18705 wine_fn_config_program cscript enable_cscript clean,install
18706 wine_fn_config_program dpnsvr enable_dpnsvr install
18707 wine_fn_config_program dxdiag enable_dxdiag clean,install
18708 wine_fn_config_program eject enable_eject install
18709 wine_fn_config_program expand enable_expand install
18710 wine_fn_config_program explorer enable_explorer clean,install
18711 wine_fn_config_program extrac32 enable_extrac32 install
18712 wine_fn_config_program findstr enable_findstr install
18713 wine_fn_config_program fsutil enable_fsutil install
18714 wine_fn_config_program hh enable_hh install
18715 wine_fn_config_program hostname enable_hostname clean,install
18716 wine_fn_config_program icacls enable_icacls install
18717 wine_fn_config_program icinfo enable_icinfo install
18718 wine_fn_config_program iexplore enable_iexplore install
18719 wine_fn_config_program ipconfig enable_ipconfig clean,install
18720 wine_fn_config_program lodctr enable_lodctr install
18721 wine_fn_config_program mofcomp enable_mofcomp install
18722 wine_fn_config_program mshta enable_mshta install
18723 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18724 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18725 wine_fn_config_program net enable_net clean,install
18726 wine_fn_config_program netsh enable_netsh install
18727 wine_fn_config_program netstat enable_netstat clean,install
18728 wine_fn_config_program ngen enable_ngen install
18729 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18730 wine_fn_config_program oleview enable_oleview clean,install
18731 wine_fn_config_program ping enable_ping install
18732 wine_fn_config_program plugplay enable_plugplay install
18733 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18734 wine_fn_config_program progman enable_progman clean,install
18735 wine_fn_config_program reg enable_reg clean,install
18736 wine_fn_config_test programs/reg/tests reg.exe_test
18737 wine_fn_config_program regasm enable_regasm install
18738 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18739 wine_fn_config_test programs/regedit/tests regedit.exe_test
18740 wine_fn_config_program regsvcs enable_regsvcs install
18741 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18742 wine_fn_config_program rpcss enable_rpcss clean,install
18743 wine_fn_config_program rundll.exe16 enable_win16 install
18744 wine_fn_config_program rundll32 enable_rundll32 install
18745 wine_fn_config_program sc enable_sc install
18746 wine_fn_config_program schtasks enable_schtasks install
18747 wine_fn_config_program sdbinst enable_sdbinst install
18748 wine_fn_config_program secedit enable_secedit install
18749 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18750 wine_fn_config_program services enable_services clean,install
18751 wine_fn_config_test programs/services/tests services.exe_test
18752 wine_fn_config_program shutdown enable_shutdown install
18753 wine_fn_config_program spoolsv enable_spoolsv install
18754 wine_fn_config_program start enable_start clean,install
18755 wine_fn_config_program subst enable_subst install
18756 wine_fn_config_program svchost enable_svchost install
18757 wine_fn_config_program systeminfo enable_systeminfo install
18758 wine_fn_config_program taskkill enable_taskkill clean,install
18759 wine_fn_config_program tasklist enable_tasklist install
18760 wine_fn_config_program taskmgr enable_taskmgr clean,install
18761 wine_fn_config_program termsv enable_termsv install
18762 wine_fn_config_program uninstaller enable_uninstaller clean,install
18763 wine_fn_config_program unlodctr enable_unlodctr install
18764 wine_fn_config_program view enable_view clean,install
18765 wine_fn_config_program wevtutil enable_wevtutil install
18766 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18767 wine_fn_config_program winebrowser enable_winebrowser install
18768 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18769 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18770 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18771 wine_fn_config_program winedevice enable_winedevice install
18772 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18773 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18774 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18775 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18776 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18777 wine_fn_config_program winetest enable_winetest clean
18778 wine_fn_config_program winevdm enable_win16 install
18779 wine_fn_config_program winhelp.exe16 enable_win16 install
18780 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18781 wine_fn_config_program winoldap.mod16 enable_win16 install
18782 wine_fn_config_program winver enable_winver install
18783 wine_fn_config_program wmic enable_wmic clean,install
18784 wine_fn_config_program wmplayer enable_wmplayer install
18785 wine_fn_config_program wordpad enable_wordpad clean,install
18786 wine_fn_config_program write enable_write clean,install
18787 wine_fn_config_program wscript enable_wscript clean,install
18788 wine_fn_config_test programs/wscript/tests wscript.exe_test
18789 wine_fn_config_program wusa enable_wusa install
18790 wine_fn_config_program xcopy enable_xcopy clean,install
18791 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18792 wine_fn_config_makefile server enable_server clean,install-lib
18793 wine_fn_config_tool tools clean
18794 wine_fn_config_tool tools/sfnt2fon clean
18795 wine_fn_config_tool tools/widl clean,install-dev
18796 wine_fn_config_tool tools/winebuild clean,install-dev
18797 wine_fn_config_tool tools/winedump clean,install-dev
18798 wine_fn_config_tool tools/winegcc clean,install-dev
18799 wine_fn_config_tool tools/winemaker clean,install-dev
18800 wine_fn_config_tool tools/wmc clean,install-dev
18801 wine_fn_config_tool tools/wrc clean,install-dev
18804 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18805 wine_fn_append_file CONFIGURE_TARGETS "tags"
18806 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18807 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18808 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18809 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18810 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18811 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18813 if test "x$enable_tools" != xno
18814 then
18815 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18816 ac_config_commands="$ac_config_commands tools/makedep"
18820 ac_config_commands="$ac_config_commands Makefile"
18823 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18827 if test "x$enable_maintainer_mode" = xyes
18828 then
18829 wine_fn_append_rule "configure: configure.ac aclocal.m4
18830 autoconf --warnings=all
18831 include/config.h.in: include/stamp-h.in
18832 include/stamp-h.in: configure.ac aclocal.m4
18833 autoheader --warnings=all
18834 @echo timestamp > \$@"
18837 if test "x$enable_tools" != xno
18838 then
18839 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18840 @./config.status tools/makedep
18841 Makefile: tools/makedep$ac_exeext"
18842 else
18843 wine_fn_append_rule "\$(MAKEDEP):
18844 @echo \"You need to run make in $TOOLSDIR first\" && false"
18847 if test -n "$with_wine64"
18848 then
18849 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18850 fonts server:
18851 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18852 $with_wine64/loader/wine:
18853 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18854 $with_wine64/loader/wine-preloader:
18855 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18856 clean::
18857 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18858 else
18859 WINELOADER_INSTALL="wine.inf"
18861 wine_fn_append_rule "install install-lib::
18862 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18863 uninstall::
18864 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18865 case $host_os in
18866 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18867 *) wine_fn_append_rule "install install-lib::
18868 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18869 uninstall::
18870 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18871 esac
18874 $as_echo " done" >&6
18875 cat >confcache <<\_ACEOF
18876 # This file is a shell script that caches the results of configure
18877 # tests run on this system so they can be shared between configure
18878 # scripts and configure runs, see configure's option --config-cache.
18879 # It is not useful on other systems. If it contains results you don't
18880 # want to keep, you may remove or edit it.
18882 # config.status only pays attention to the cache file if you give it
18883 # the --recheck option to rerun configure.
18885 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18886 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18887 # following values.
18889 _ACEOF
18891 # The following way of writing the cache mishandles newlines in values,
18892 # but we know of no workaround that is simple, portable, and efficient.
18893 # So, we kill variables containing newlines.
18894 # Ultrix sh set writes to stderr and can't be redirected directly,
18895 # and sets the high bit in the cache file unless we assign to the vars.
18897 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18898 eval ac_val=\$$ac_var
18899 case $ac_val in #(
18900 *${as_nl}*)
18901 case $ac_var in #(
18902 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18903 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18904 esac
18905 case $ac_var in #(
18906 _ | IFS | as_nl) ;; #(
18907 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18908 *) { eval $ac_var=; unset $ac_var;} ;;
18909 esac ;;
18910 esac
18911 done
18913 (set) 2>&1 |
18914 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18915 *${as_nl}ac_space=\ *)
18916 # `set' does not quote correctly, so add quotes: double-quote
18917 # substitution turns \\\\ into \\, and sed turns \\ into \.
18918 sed -n \
18919 "s/'/'\\\\''/g;
18920 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18921 ;; #(
18923 # `set' quotes correctly as required by POSIX, so do not add quotes.
18924 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18926 esac |
18927 sort
18929 sed '
18930 /^ac_cv_env_/b end
18931 t clear
18932 :clear
18933 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18934 t end
18935 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18936 :end' >>confcache
18937 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18938 if test -w "$cache_file"; then
18939 if test "x$cache_file" != "x/dev/null"; then
18940 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18941 $as_echo "$as_me: updating cache $cache_file" >&6;}
18942 if test ! -f "$cache_file" || test -h "$cache_file"; then
18943 cat confcache >"$cache_file"
18944 else
18945 case $cache_file in #(
18946 */* | ?:*)
18947 mv -f confcache "$cache_file"$$ &&
18948 mv -f "$cache_file"$$ "$cache_file" ;; #(
18950 mv -f confcache "$cache_file" ;;
18951 esac
18954 else
18955 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18956 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18959 rm -f confcache
18961 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18962 # Let make expand exec_prefix.
18963 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18965 DEFS=-DHAVE_CONFIG_H
18967 ac_libobjs=
18968 ac_ltlibobjs=
18970 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18971 # 1. Remove the extension, and $U if already installed.
18972 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18973 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18974 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18975 # will be set to the directory where LIBOBJS objects are built.
18976 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18977 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18978 done
18979 LIBOBJS=$ac_libobjs
18981 LTLIBOBJS=$ac_ltlibobjs
18985 : "${CONFIG_STATUS=./config.status}"
18986 ac_write_fail=0
18987 ac_clean_files_save=$ac_clean_files
18988 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18990 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18991 as_write_fail=0
18992 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18993 #! $SHELL
18994 # Generated by $as_me.
18995 # Run this file to recreate the current configuration.
18996 # Compiler output produced by configure, useful for debugging
18997 # configure, is in config.log if it exists.
18999 debug=false
19000 ac_cs_recheck=false
19001 ac_cs_silent=false
19003 SHELL=\${CONFIG_SHELL-$SHELL}
19004 export SHELL
19005 _ASEOF
19006 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19007 ## -------------------- ##
19008 ## M4sh Initialization. ##
19009 ## -------------------- ##
19011 # Be more Bourne compatible
19012 DUALCASE=1; export DUALCASE # for MKS sh
19013 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19014 emulate sh
19015 NULLCMD=:
19016 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19017 # is contrary to our usage. Disable this feature.
19018 alias -g '${1+"$@"}'='"$@"'
19019 setopt NO_GLOB_SUBST
19020 else
19021 case `(set -o) 2>/dev/null` in #(
19022 *posix*) :
19023 set -o posix ;; #(
19024 *) :
19026 esac
19030 as_nl='
19032 export as_nl
19033 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19034 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19035 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19036 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19037 # Prefer a ksh shell builtin over an external printf program on Solaris,
19038 # but without wasting forks for bash or zsh.
19039 if test -z "$BASH_VERSION$ZSH_VERSION" \
19040 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19041 as_echo='print -r --'
19042 as_echo_n='print -rn --'
19043 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19044 as_echo='printf %s\n'
19045 as_echo_n='printf %s'
19046 else
19047 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19048 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19049 as_echo_n='/usr/ucb/echo -n'
19050 else
19051 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19052 as_echo_n_body='eval
19053 arg=$1;
19054 case $arg in #(
19055 *"$as_nl"*)
19056 expr "X$arg" : "X\\(.*\\)$as_nl";
19057 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19058 esac;
19059 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19061 export as_echo_n_body
19062 as_echo_n='sh -c $as_echo_n_body as_echo'
19064 export as_echo_body
19065 as_echo='sh -c $as_echo_body as_echo'
19068 # The user is always right.
19069 if test "${PATH_SEPARATOR+set}" != set; then
19070 PATH_SEPARATOR=:
19071 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19072 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19073 PATH_SEPARATOR=';'
19078 # IFS
19079 # We need space, tab and new line, in precisely that order. Quoting is
19080 # there to prevent editors from complaining about space-tab.
19081 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19082 # splitting by setting IFS to empty value.)
19083 IFS=" "" $as_nl"
19085 # Find who we are. Look in the path if we contain no directory separator.
19086 as_myself=
19087 case $0 in #((
19088 *[\\/]* ) as_myself=$0 ;;
19089 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19090 for as_dir in $PATH
19092 IFS=$as_save_IFS
19093 test -z "$as_dir" && as_dir=.
19094 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19095 done
19096 IFS=$as_save_IFS
19099 esac
19100 # We did not find ourselves, most probably we were run as `sh COMMAND'
19101 # in which case we are not to be found in the path.
19102 if test "x$as_myself" = x; then
19103 as_myself=$0
19105 if test ! -f "$as_myself"; then
19106 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19107 exit 1
19110 # Unset variables that we do not need and which cause bugs (e.g. in
19111 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19112 # suppresses any "Segmentation fault" message there. '((' could
19113 # trigger a bug in pdksh 5.2.14.
19114 for as_var in BASH_ENV ENV MAIL MAILPATH
19115 do eval test x\${$as_var+set} = xset \
19116 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19117 done
19118 PS1='$ '
19119 PS2='> '
19120 PS4='+ '
19122 # NLS nuisances.
19123 LC_ALL=C
19124 export LC_ALL
19125 LANGUAGE=C
19126 export LANGUAGE
19128 # CDPATH.
19129 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19132 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19133 # ----------------------------------------
19134 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19135 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19136 # script with STATUS, using 1 if that was 0.
19137 as_fn_error ()
19139 as_status=$1; test $as_status -eq 0 && as_status=1
19140 if test "$4"; then
19141 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19142 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19144 $as_echo "$as_me: error: $2" >&2
19145 as_fn_exit $as_status
19146 } # as_fn_error
19149 # as_fn_set_status STATUS
19150 # -----------------------
19151 # Set $? to STATUS, without forking.
19152 as_fn_set_status ()
19154 return $1
19155 } # as_fn_set_status
19157 # as_fn_exit STATUS
19158 # -----------------
19159 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19160 as_fn_exit ()
19162 set +e
19163 as_fn_set_status $1
19164 exit $1
19165 } # as_fn_exit
19167 # as_fn_unset VAR
19168 # ---------------
19169 # Portably unset VAR.
19170 as_fn_unset ()
19172 { eval $1=; unset $1;}
19174 as_unset=as_fn_unset
19175 # as_fn_append VAR VALUE
19176 # ----------------------
19177 # Append the text in VALUE to the end of the definition contained in VAR. Take
19178 # advantage of any shell optimizations that allow amortized linear growth over
19179 # repeated appends, instead of the typical quadratic growth present in naive
19180 # implementations.
19181 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19182 eval 'as_fn_append ()
19184 eval $1+=\$2
19186 else
19187 as_fn_append ()
19189 eval $1=\$$1\$2
19191 fi # as_fn_append
19193 # as_fn_arith ARG...
19194 # ------------------
19195 # Perform arithmetic evaluation on the ARGs, and store the result in the
19196 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19197 # must be portable across $(()) and expr.
19198 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19199 eval 'as_fn_arith ()
19201 as_val=$(( $* ))
19203 else
19204 as_fn_arith ()
19206 as_val=`expr "$@" || test $? -eq 1`
19208 fi # as_fn_arith
19211 if expr a : '\(a\)' >/dev/null 2>&1 &&
19212 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19213 as_expr=expr
19214 else
19215 as_expr=false
19218 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19219 as_basename=basename
19220 else
19221 as_basename=false
19224 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19225 as_dirname=dirname
19226 else
19227 as_dirname=false
19230 as_me=`$as_basename -- "$0" ||
19231 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19232 X"$0" : 'X\(//\)$' \| \
19233 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19234 $as_echo X/"$0" |
19235 sed '/^.*\/\([^/][^/]*\)\/*$/{
19236 s//\1/
19239 /^X\/\(\/\/\)$/{
19240 s//\1/
19243 /^X\/\(\/\).*/{
19244 s//\1/
19247 s/.*/./; q'`
19249 # Avoid depending upon Character Ranges.
19250 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19251 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19252 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19253 as_cr_digits='0123456789'
19254 as_cr_alnum=$as_cr_Letters$as_cr_digits
19256 ECHO_C= ECHO_N= ECHO_T=
19257 case `echo -n x` in #(((((
19258 -n*)
19259 case `echo 'xy\c'` in
19260 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19261 xy) ECHO_C='\c';;
19262 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19263 ECHO_T=' ';;
19264 esac;;
19266 ECHO_N='-n';;
19267 esac
19269 rm -f conf$$ conf$$.exe conf$$.file
19270 if test -d conf$$.dir; then
19271 rm -f conf$$.dir/conf$$.file
19272 else
19273 rm -f conf$$.dir
19274 mkdir conf$$.dir 2>/dev/null
19276 if (echo >conf$$.file) 2>/dev/null; then
19277 if ln -s conf$$.file conf$$ 2>/dev/null; then
19278 as_ln_s='ln -s'
19279 # ... but there are two gotchas:
19280 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19281 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19282 # In both cases, we have to default to `cp -pR'.
19283 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19284 as_ln_s='cp -pR'
19285 elif ln conf$$.file conf$$ 2>/dev/null; then
19286 as_ln_s=ln
19287 else
19288 as_ln_s='cp -pR'
19290 else
19291 as_ln_s='cp -pR'
19293 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19294 rmdir conf$$.dir 2>/dev/null
19297 # as_fn_mkdir_p
19298 # -------------
19299 # Create "$as_dir" as a directory, including parents if necessary.
19300 as_fn_mkdir_p ()
19303 case $as_dir in #(
19304 -*) as_dir=./$as_dir;;
19305 esac
19306 test -d "$as_dir" || eval $as_mkdir_p || {
19307 as_dirs=
19308 while :; do
19309 case $as_dir in #(
19310 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19311 *) as_qdir=$as_dir;;
19312 esac
19313 as_dirs="'$as_qdir' $as_dirs"
19314 as_dir=`$as_dirname -- "$as_dir" ||
19315 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19316 X"$as_dir" : 'X\(//\)[^/]' \| \
19317 X"$as_dir" : 'X\(//\)$' \| \
19318 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19319 $as_echo X"$as_dir" |
19320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19321 s//\1/
19324 /^X\(\/\/\)[^/].*/{
19325 s//\1/
19328 /^X\(\/\/\)$/{
19329 s//\1/
19332 /^X\(\/\).*/{
19333 s//\1/
19336 s/.*/./; q'`
19337 test -d "$as_dir" && break
19338 done
19339 test -z "$as_dirs" || eval "mkdir $as_dirs"
19340 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19343 } # as_fn_mkdir_p
19344 if mkdir -p . 2>/dev/null; then
19345 as_mkdir_p='mkdir -p "$as_dir"'
19346 else
19347 test -d ./-p && rmdir ./-p
19348 as_mkdir_p=false
19352 # as_fn_executable_p FILE
19353 # -----------------------
19354 # Test if FILE is an executable regular file.
19355 as_fn_executable_p ()
19357 test -f "$1" && test -x "$1"
19358 } # as_fn_executable_p
19359 as_test_x='test -x'
19360 as_executable_p=as_fn_executable_p
19362 # Sed expression to map a string onto a valid CPP name.
19363 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19365 # Sed expression to map a string onto a valid variable name.
19366 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19369 exec 6>&1
19370 ## ----------------------------------- ##
19371 ## Main body of $CONFIG_STATUS script. ##
19372 ## ----------------------------------- ##
19373 _ASEOF
19374 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19377 # Save the log message, to keep $0 and so on meaningful, and to
19378 # report actual input values of CONFIG_FILES etc. instead of their
19379 # values after options handling.
19380 ac_log="
19381 This file was extended by Wine $as_me 2.10, which was
19382 generated by GNU Autoconf 2.69. Invocation command line was
19384 CONFIG_FILES = $CONFIG_FILES
19385 CONFIG_HEADERS = $CONFIG_HEADERS
19386 CONFIG_LINKS = $CONFIG_LINKS
19387 CONFIG_COMMANDS = $CONFIG_COMMANDS
19388 $ $0 $@
19390 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19393 _ACEOF
19395 case $ac_config_files in *"
19396 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19397 esac
19399 case $ac_config_headers in *"
19400 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19401 esac
19404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19405 # Files that config.status was made for.
19406 config_files="$ac_config_files"
19407 config_headers="$ac_config_headers"
19408 config_links="$ac_config_links"
19409 config_commands="$ac_config_commands"
19411 _ACEOF
19413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19414 ac_cs_usage="\
19415 \`$as_me' instantiates files and other configuration actions
19416 from templates according to the current configuration. Unless the files
19417 and actions are specified as TAGs, all are instantiated by default.
19419 Usage: $0 [OPTION]... [TAG]...
19421 -h, --help print this help, then exit
19422 -V, --version print version number and configuration settings, then exit
19423 --config print configuration, then exit
19424 -q, --quiet, --silent
19425 do not print progress messages
19426 -d, --debug don't remove temporary files
19427 --recheck update $as_me by reconfiguring in the same conditions
19428 --file=FILE[:TEMPLATE]
19429 instantiate the configuration file FILE
19430 --header=FILE[:TEMPLATE]
19431 instantiate the configuration header FILE
19433 Configuration files:
19434 $config_files
19436 Configuration headers:
19437 $config_headers
19439 Configuration links:
19440 $config_links
19442 Configuration commands:
19443 $config_commands
19445 Report bugs to <wine-devel@winehq.org>.
19446 Wine home page: <http://www.winehq.org>."
19448 _ACEOF
19449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19450 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19451 ac_cs_version="\\
19452 Wine config.status 2.10
19453 configured by $0, generated by GNU Autoconf 2.69,
19454 with options \\"\$ac_cs_config\\"
19456 Copyright (C) 2012 Free Software Foundation, Inc.
19457 This config.status script is free software; the Free Software Foundation
19458 gives unlimited permission to copy, distribute and modify it."
19460 ac_pwd='$ac_pwd'
19461 srcdir='$srcdir'
19462 test -n "\$AWK" || AWK=awk
19463 _ACEOF
19465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19466 # The default lists apply if the user does not specify any file.
19467 ac_need_defaults=:
19468 while test $# != 0
19470 case $1 in
19471 --*=?*)
19472 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19473 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19474 ac_shift=:
19476 --*=)
19477 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19478 ac_optarg=
19479 ac_shift=:
19482 ac_option=$1
19483 ac_optarg=$2
19484 ac_shift=shift
19486 esac
19488 case $ac_option in
19489 # Handling of the options.
19490 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19491 ac_cs_recheck=: ;;
19492 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19493 $as_echo "$ac_cs_version"; exit ;;
19494 --config | --confi | --conf | --con | --co | --c )
19495 $as_echo "$ac_cs_config"; exit ;;
19496 --debug | --debu | --deb | --de | --d | -d )
19497 debug=: ;;
19498 --file | --fil | --fi | --f )
19499 $ac_shift
19500 case $ac_optarg in
19501 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19502 '') as_fn_error $? "missing file argument" ;;
19503 esac
19504 as_fn_append CONFIG_FILES " '$ac_optarg'"
19505 ac_need_defaults=false;;
19506 --header | --heade | --head | --hea )
19507 $ac_shift
19508 case $ac_optarg in
19509 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19510 esac
19511 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19512 ac_need_defaults=false;;
19513 --he | --h)
19514 # Conflict between --help and --header
19515 as_fn_error $? "ambiguous option: \`$1'
19516 Try \`$0 --help' for more information.";;
19517 --help | --hel | -h )
19518 $as_echo "$ac_cs_usage"; exit ;;
19519 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19520 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19521 ac_cs_silent=: ;;
19523 # This is an error.
19524 -*) as_fn_error $? "unrecognized option: \`$1'
19525 Try \`$0 --help' for more information." ;;
19527 *) as_fn_append ac_config_targets " $1"
19528 ac_need_defaults=false ;;
19530 esac
19531 shift
19532 done
19534 ac_configure_extra_args=
19536 if $ac_cs_silent; then
19537 exec 6>/dev/null
19538 ac_configure_extra_args="$ac_configure_extra_args --silent"
19541 _ACEOF
19542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19543 if \$ac_cs_recheck; then
19544 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19545 shift
19546 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19547 CONFIG_SHELL='$SHELL'
19548 export CONFIG_SHELL
19549 exec "\$@"
19552 _ACEOF
19553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19554 exec 5>>config.log
19556 echo
19557 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19558 ## Running $as_me. ##
19559 _ASBOX
19560 $as_echo "$ac_log"
19561 } >&5
19563 _ACEOF
19564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19566 # INIT-COMMANDS
19568 wine_fn_output_makedep ()
19570 as_dir=tools; as_fn_mkdir_p
19571 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19573 wine_fn_output_makefile ()
19575 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19576 `cat $wine_rules_file`
19577 _WINE_EOF
19578 as_fn_error $? "could not create Makefile" "$LINENO" 5
19581 _ACEOF
19583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19585 # Handling of arguments.
19586 for ac_config_target in $ac_config_targets
19588 case $ac_config_target in
19589 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19590 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19591 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19592 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19593 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19594 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19595 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19596 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19597 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19598 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19599 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19600 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19601 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19603 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19604 esac
19605 done
19608 # If the user did not use the arguments to specify the items to instantiate,
19609 # then the envvar interface is used. Set only those that are not.
19610 # We use the long form for the default assignment because of an extremely
19611 # bizarre bug on SunOS 4.1.3.
19612 if $ac_need_defaults; then
19613 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19614 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19615 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19616 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19619 # Have a temporary directory for convenience. Make it in the build tree
19620 # simply because there is no reason against having it here, and in addition,
19621 # creating and moving files from /tmp can sometimes cause problems.
19622 # Hook for its removal unless debugging.
19623 # Note that there is a small window in which the directory will not be cleaned:
19624 # after its creation but before its name has been assigned to `$tmp'.
19625 $debug ||
19627 tmp= ac_tmp=
19628 trap 'exit_status=$?
19629 : "${ac_tmp:=$tmp}"
19630 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19632 trap 'as_fn_exit 1' 1 2 13 15
19634 # Create a (secure) tmp directory for tmp files.
19637 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19638 test -d "$tmp"
19639 } ||
19641 tmp=./conf$$-$RANDOM
19642 (umask 077 && mkdir "$tmp")
19643 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19644 ac_tmp=$tmp
19646 # Set up the scripts for CONFIG_FILES section.
19647 # No need to generate them if there are no CONFIG_FILES.
19648 # This happens for instance with `./config.status config.h'.
19649 if test -n "$CONFIG_FILES"; then
19652 ac_cr=`echo X | tr X '\015'`
19653 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19654 # But we know of no other shell where ac_cr would be empty at this
19655 # point, so we can use a bashism as a fallback.
19656 if test "x$ac_cr" = x; then
19657 eval ac_cr=\$\'\\r\'
19659 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19660 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19661 ac_cs_awk_cr='\\r'
19662 else
19663 ac_cs_awk_cr=$ac_cr
19666 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19667 _ACEOF
19671 echo "cat >conf$$subs.awk <<_ACEOF" &&
19672 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19673 echo "_ACEOF"
19674 } >conf$$subs.sh ||
19675 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19676 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19677 ac_delim='%!_!# '
19678 for ac_last_try in false false false false false :; do
19679 . ./conf$$subs.sh ||
19680 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19682 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19683 if test $ac_delim_n = $ac_delim_num; then
19684 break
19685 elif $ac_last_try; then
19686 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19687 else
19688 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19690 done
19691 rm -f conf$$subs.sh
19693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19694 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19695 _ACEOF
19696 sed -n '
19698 s/^/S["/; s/!.*/"]=/
19701 s/^[^!]*!//
19702 :repl
19703 t repl
19704 s/'"$ac_delim"'$//
19705 t delim
19708 s/\(.\{148\}\)..*/\1/
19709 t more1
19710 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19713 b repl
19714 :more1
19715 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19718 s/.\{148\}//
19719 t nl
19720 :delim
19722 s/\(.\{148\}\)..*/\1/
19723 t more2
19724 s/["\\]/\\&/g; s/^/"/; s/$/"/
19727 :more2
19728 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19731 s/.\{148\}//
19732 t delim
19733 ' <conf$$subs.awk | sed '
19734 /^[^""]/{
19736 s/\n//
19738 ' >>$CONFIG_STATUS || ac_write_fail=1
19739 rm -f conf$$subs.awk
19740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19741 _ACAWK
19742 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19743 for (key in S) S_is_set[key] = 1
19744 FS = "\a"
19748 line = $ 0
19749 nfields = split(line, field, "@")
19750 substed = 0
19751 len = length(field[1])
19752 for (i = 2; i < nfields; i++) {
19753 key = field[i]
19754 keylen = length(key)
19755 if (S_is_set[key]) {
19756 value = S[key]
19757 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19758 len += length(value) + length(field[++i])
19759 substed = 1
19760 } else
19761 len += 1 + keylen
19764 print line
19767 _ACAWK
19768 _ACEOF
19769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19770 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19771 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19772 else
19774 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19775 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19776 _ACEOF
19778 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19779 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19780 # trailing colons and then remove the whole line if VPATH becomes empty
19781 # (actually we leave an empty line to preserve line numbers).
19782 if test "x$srcdir" = x.; then
19783 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19785 s///
19786 s/^/:/
19787 s/[ ]*$/:/
19788 s/:\$(srcdir):/:/g
19789 s/:\${srcdir}:/:/g
19790 s/:@srcdir@:/:/g
19791 s/^:*//
19792 s/:*$//
19794 s/\(=[ ]*\).*/\1/
19796 s/\n//
19797 s/^[^=]*=[ ]*$//
19801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19802 fi # test -n "$CONFIG_FILES"
19804 # Set up the scripts for CONFIG_HEADERS section.
19805 # No need to generate them if there are no CONFIG_HEADERS.
19806 # This happens for instance with `./config.status Makefile'.
19807 if test -n "$CONFIG_HEADERS"; then
19808 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19809 BEGIN {
19810 _ACEOF
19812 # Transform confdefs.h into an awk script `defines.awk', embedded as
19813 # here-document in config.status, that substitutes the proper values into
19814 # config.h.in to produce config.h.
19816 # Create a delimiter string that does not exist in confdefs.h, to ease
19817 # handling of long lines.
19818 ac_delim='%!_!# '
19819 for ac_last_try in false false :; do
19820 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19821 if test -z "$ac_tt"; then
19822 break
19823 elif $ac_last_try; then
19824 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19825 else
19826 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19828 done
19830 # For the awk script, D is an array of macro values keyed by name,
19831 # likewise P contains macro parameters if any. Preserve backslash
19832 # newline sequences.
19834 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19835 sed -n '
19836 s/.\{148\}/&'"$ac_delim"'/g
19837 t rset
19838 :rset
19839 s/^[ ]*#[ ]*define[ ][ ]*/ /
19840 t def
19842 :def
19843 s/\\$//
19844 t bsnl
19845 s/["\\]/\\&/g
19846 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19847 D["\1"]=" \3"/p
19848 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19850 :bsnl
19851 s/["\\]/\\&/g
19852 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19853 D["\1"]=" \3\\\\\\n"\\/p
19854 t cont
19855 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19856 t cont
19858 :cont
19860 s/.\{148\}/&'"$ac_delim"'/g
19861 t clear
19862 :clear
19863 s/\\$//
19864 t bsnlc
19865 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19867 :bsnlc
19868 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19869 b cont
19870 ' <confdefs.h | sed '
19871 s/'"$ac_delim"'/"\\\
19872 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19875 for (key in D) D_is_set[key] = 1
19876 FS = "\a"
19878 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19879 line = \$ 0
19880 split(line, arg, " ")
19881 if (arg[1] == "#") {
19882 defundef = arg[2]
19883 mac1 = arg[3]
19884 } else {
19885 defundef = substr(arg[1], 2)
19886 mac1 = arg[2]
19888 split(mac1, mac2, "(") #)
19889 macro = mac2[1]
19890 prefix = substr(line, 1, index(line, defundef) - 1)
19891 if (D_is_set[macro]) {
19892 # Preserve the white space surrounding the "#".
19893 print prefix "define", macro P[macro] D[macro]
19894 next
19895 } else {
19896 # Replace #undef with comments. This is necessary, for example,
19897 # in the case of _POSIX_SOURCE, which is predefined and required
19898 # on some systems where configure will not decide to define it.
19899 if (defundef == "undef") {
19900 print "/*", prefix defundef, macro, "*/"
19901 next
19905 { print }
19906 _ACAWK
19907 _ACEOF
19908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19909 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19910 fi # test -n "$CONFIG_HEADERS"
19913 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19914 shift
19915 for ac_tag
19917 case $ac_tag in
19918 :[FHLC]) ac_mode=$ac_tag; continue;;
19919 esac
19920 case $ac_mode$ac_tag in
19921 :[FHL]*:*);;
19922 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19923 :[FH]-) ac_tag=-:-;;
19924 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19925 esac
19926 ac_save_IFS=$IFS
19927 IFS=:
19928 set x $ac_tag
19929 IFS=$ac_save_IFS
19930 shift
19931 ac_file=$1
19932 shift
19934 case $ac_mode in
19935 :L) ac_source=$1;;
19936 :[FH])
19937 ac_file_inputs=
19938 for ac_f
19940 case $ac_f in
19941 -) ac_f="$ac_tmp/stdin";;
19942 *) # Look for the file first in the build tree, then in the source tree
19943 # (if the path is not absolute). The absolute path cannot be DOS-style,
19944 # because $ac_f cannot contain `:'.
19945 test -f "$ac_f" ||
19946 case $ac_f in
19947 [\\/$]*) false;;
19948 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19949 esac ||
19950 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19951 esac
19952 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19953 as_fn_append ac_file_inputs " '$ac_f'"
19954 done
19956 # Let's still pretend it is `configure' which instantiates (i.e., don't
19957 # use $as_me), people would be surprised to read:
19958 # /* config.h. Generated by config.status. */
19959 configure_input='Generated from '`
19960 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19961 `' by configure.'
19962 if test x"$ac_file" != x-; then
19963 configure_input="$ac_file. $configure_input"
19964 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19965 $as_echo "$as_me: creating $ac_file" >&6;}
19967 # Neutralize special characters interpreted by sed in replacement strings.
19968 case $configure_input in #(
19969 *\&* | *\|* | *\\* )
19970 ac_sed_conf_input=`$as_echo "$configure_input" |
19971 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19972 *) ac_sed_conf_input=$configure_input;;
19973 esac
19975 case $ac_tag in
19976 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19977 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19978 esac
19980 esac
19982 ac_dir=`$as_dirname -- "$ac_file" ||
19983 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19984 X"$ac_file" : 'X\(//\)[^/]' \| \
19985 X"$ac_file" : 'X\(//\)$' \| \
19986 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19987 $as_echo X"$ac_file" |
19988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19989 s//\1/
19992 /^X\(\/\/\)[^/].*/{
19993 s//\1/
19996 /^X\(\/\/\)$/{
19997 s//\1/
20000 /^X\(\/\).*/{
20001 s//\1/
20004 s/.*/./; q'`
20005 as_dir="$ac_dir"; as_fn_mkdir_p
20006 ac_builddir=.
20008 case "$ac_dir" in
20009 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20011 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20012 # A ".." for each directory in $ac_dir_suffix.
20013 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20014 case $ac_top_builddir_sub in
20015 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20016 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20017 esac ;;
20018 esac
20019 ac_abs_top_builddir=$ac_pwd
20020 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20021 # for backward compatibility:
20022 ac_top_builddir=$ac_top_build_prefix
20024 case $srcdir in
20025 .) # We are building in place.
20026 ac_srcdir=.
20027 ac_top_srcdir=$ac_top_builddir_sub
20028 ac_abs_top_srcdir=$ac_pwd ;;
20029 [\\/]* | ?:[\\/]* ) # Absolute name.
20030 ac_srcdir=$srcdir$ac_dir_suffix;
20031 ac_top_srcdir=$srcdir
20032 ac_abs_top_srcdir=$srcdir ;;
20033 *) # Relative name.
20034 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20035 ac_top_srcdir=$ac_top_build_prefix$srcdir
20036 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20037 esac
20038 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20041 case $ac_mode in
20044 # CONFIG_FILE
20047 _ACEOF
20049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20050 # If the template does not know about datarootdir, expand it.
20051 # FIXME: This hack should be removed a few years after 2.60.
20052 ac_datarootdir_hack=; ac_datarootdir_seen=
20053 ac_sed_dataroot='
20054 /datarootdir/ {
20058 /@datadir@/p
20059 /@docdir@/p
20060 /@infodir@/p
20061 /@localedir@/p
20062 /@mandir@/p'
20063 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20064 *datarootdir*) ac_datarootdir_seen=yes;;
20065 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20067 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20068 _ACEOF
20069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20070 ac_datarootdir_hack='
20071 s&@datadir@&$datadir&g
20072 s&@docdir@&$docdir&g
20073 s&@infodir@&$infodir&g
20074 s&@localedir@&$localedir&g
20075 s&@mandir@&$mandir&g
20076 s&\\\${datarootdir}&$datarootdir&g' ;;
20077 esac
20078 _ACEOF
20080 # Neutralize VPATH when `$srcdir' = `.'.
20081 # Shell code in configure.ac might set extrasub.
20082 # FIXME: do we really want to maintain this feature?
20083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20084 ac_sed_extra="$ac_vpsub
20085 $extrasub
20086 _ACEOF
20087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20089 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20090 s|@configure_input@|$ac_sed_conf_input|;t t
20091 s&@top_builddir@&$ac_top_builddir_sub&;t t
20092 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20093 s&@srcdir@&$ac_srcdir&;t t
20094 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20095 s&@top_srcdir@&$ac_top_srcdir&;t t
20096 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20097 s&@builddir@&$ac_builddir&;t t
20098 s&@abs_builddir@&$ac_abs_builddir&;t t
20099 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20100 $ac_datarootdir_hack
20102 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20103 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20105 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20106 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20107 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20108 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20110 which seems to be undefined. Please make sure it is defined" >&5
20111 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20112 which seems to be undefined. Please make sure it is defined" >&2;}
20114 rm -f "$ac_tmp/stdin"
20115 case $ac_file in
20116 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20117 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20118 esac \
20119 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20123 # CONFIG_HEADER
20125 if test x"$ac_file" != x-; then
20127 $as_echo "/* $configure_input */" \
20128 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20129 } >"$ac_tmp/config.h" \
20130 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20131 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20132 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20133 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20134 else
20135 rm -f "$ac_file"
20136 mv "$ac_tmp/config.h" "$ac_file" \
20137 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20139 else
20140 $as_echo "/* $configure_input */" \
20141 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20142 || as_fn_error $? "could not create -" "$LINENO" 5
20147 # CONFIG_LINK
20150 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20152 else
20153 # Prefer the file from the source tree if names are identical.
20154 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20155 ac_source=$srcdir/$ac_source
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20159 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20161 if test ! -r "$ac_source"; then
20162 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20164 rm -f "$ac_file"
20166 # Try a relative symlink, then a hard link, then a copy.
20167 case $ac_source in
20168 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20169 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20170 esac
20171 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20172 ln "$ac_source" "$ac_file" 2>/dev/null ||
20173 cp -p "$ac_source" "$ac_file" ||
20174 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20177 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20178 $as_echo "$as_me: executing $ac_file commands" >&6;}
20180 esac
20183 case $ac_file$ac_mode in
20184 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20185 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20186 "Makefile":C) wine_fn_output_makefile Makefile ;;
20188 esac
20189 done # for ac_tag
20192 as_fn_exit 0
20193 _ACEOF
20194 ac_clean_files=$ac_clean_files_save
20196 test $ac_write_fail = 0 ||
20197 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20200 # configure is writing to config.log, and then calls config.status.
20201 # config.status does its own redirection, appending to config.log.
20202 # Unfortunately, on DOS this fails, as config.log is still kept open
20203 # by configure, so config.status won't be able to write to it; its
20204 # output is simply discarded. So we exec the FD to /dev/null,
20205 # effectively closing config.log, so it can be properly (re)opened and
20206 # appended to by config.status. When coming back to configure, we
20207 # need to make the FD available again.
20208 if test "$no_create" != yes; then
20209 ac_cs_success=:
20210 ac_config_status_args=
20211 test "$silent" = yes &&
20212 ac_config_status_args="$ac_config_status_args --quiet"
20213 exec 5>/dev/null
20214 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20215 exec 5>>config.log
20216 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20217 # would make configure fail if this is the last instruction.
20218 $ac_cs_success || as_fn_exit 1
20220 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20222 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20226 if test "$no_create" = "yes"
20227 then
20228 exit 0
20231 ac_save_IFS="$IFS"
20232 if test "x$wine_notices" != x; then
20233 echo >&6
20234 IFS="|"
20235 for msg in $wine_notices; do
20236 IFS="$ac_save_IFS"
20237 if ${msg:+false} :; then :
20239 else
20240 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20241 $as_echo "$as_me: $msg" >&6;}
20243 done
20245 IFS="|"
20246 for msg in $wine_warnings; do
20247 IFS="$ac_save_IFS"
20248 if ${msg:+false} :; then :
20250 else
20251 echo >&2
20252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20253 $as_echo "$as_me: WARNING: $msg" >&2;}
20255 done
20256 IFS="$ac_save_IFS"
20258 $as_echo "
20259 $as_me: Finished. Do '${ac_make}' to compile Wine.
20260 " >&6