webservices: Store all text in native format in binary mode.
[wine.git] / configure
blobc421bafcab28b23867bf298ce3802d8af86dfb3a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.12.
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.12'
584 PACKAGE_STRING='Wine 2.12'
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 CROSSCFLAGS
694 CROSSCC
695 CROSSTARGET
696 PRELINK
697 WINELOADER_DEPENDS
698 CARBON_LIBS
699 QUICKTIME_LIBS
700 OPENCL_LIBS
701 OPENAL_LIBS
702 COREAUDIO_LIBS
703 SECURITY_LIBS
704 DISKARBITRATION_LIBS
705 APPKIT_LIBS
706 CORESERVICES_LIBS
707 APPLICATIONSERVICES_LIBS
708 FORCEFEEDBACK_LIBS
709 IOKIT_LIBS
710 COREFOUNDATION_LIBS
711 LIBWINE_DEPENDS
712 LIBWINE_LDFLAGS
713 LIBWINE_INSTALL_DEV
714 LIBWINE_INSTALL_LIB
715 LIBWINE_IMPORTLIB
716 LIBWINE_SHAREDLIB
717 SOCKET_LIBS
718 DLLTOOL
719 WINELOADER_PROGRAMS
720 ALL_TEST_RESOURCES
721 CONFIGURE_TARGETS
722 DISABLED_SUBDIRS
723 SUBDIRS
724 READELF
725 OTOOL
727 WINELOADER_LDFLAGS
728 LDEXECFLAGS
729 LDRPATH_LOCAL
730 LDRPATH_INSTALL
731 DLLFLAGS
732 dlldir
734 OPENGL_LIBS
735 ICOTOOL
736 CONVERT
737 RSVG
738 FONTFORGE
739 PKG_CONFIG
740 MSGFMT
741 LDCONFIG
742 EGREP
743 GREP
744 LN_S
745 RANLIB
746 ARFLAGS
747 STRIP
748 ac_ct_AR
750 BISON
751 FLEX
752 TOOLSDIR
753 TARGETFLAGS
755 CPPBIN
756 ac_ct_CXX
757 CXXFLAGS
759 OBJEXT
760 EXEEXT
761 ac_ct_CC
762 CPPFLAGS
763 LDFLAGS
764 CFLAGS
766 SET_MAKE
767 host_os
768 host_vendor
769 host_cpu
770 host
771 build_os
772 build_vendor
773 build_cpu
774 build
775 target_alias
776 host_alias
777 build_alias
778 LIBS
779 ECHO_T
780 ECHO_N
781 ECHO_C
782 DEFS
783 mandir
784 localedir
785 libdir
786 psdir
787 pdfdir
788 dvidir
789 htmldir
790 infodir
791 docdir
792 oldincludedir
793 includedir
794 runstatedir
795 localstatedir
796 sharedstatedir
797 sysconfdir
798 datadir
799 datarootdir
800 libexecdir
801 sbindir
802 bindir
803 program_transform_name
804 prefix
805 exec_prefix
806 PACKAGE_URL
807 PACKAGE_BUGREPORT
808 PACKAGE_STRING
809 PACKAGE_VERSION
810 PACKAGE_TARNAME
811 PACKAGE_NAME
812 PATH_SEPARATOR
813 SHELL'
814 ac_subst_files=''
815 ac_user_opts='
816 enable_option_checking
817 enable_win16
818 enable_win64
819 enable_tests
820 enable_maintainer_mode
821 with_alsa
822 with_capi
823 with_cms
824 with_coreaudio
825 with_cups
826 with_curses
827 with_dbus
828 with_fontconfig
829 with_freetype
830 with_gettext
831 with_gettextpo
832 with_gphoto
833 with_glu
834 with_gnutls
835 with_gsm
836 with_gstreamer
837 with_hal
838 with_jpeg
839 with_ldap
840 with_mpg123
841 with_netapi
842 with_openal
843 with_opencl
844 with_opengl
845 with_osmesa
846 with_oss
847 with_pcap
848 with_png
849 with_pthread
850 with_pulse
851 with_sane
852 with_tiff
853 with_udev
854 with_v4l
855 with_xcomposite
856 with_xcursor
857 with_xfixes
858 with_xinerama
859 with_xinput
860 with_xinput2
861 with_xml
862 with_xrandr
863 with_xrender
864 with_xshape
865 with_xshm
866 with_xslt
867 with_xxf86vm
868 with_zlib
869 with_wine_tools
870 with_wine64
871 enable_largefile
872 with_x
873 enable_acledit
874 enable_aclui
875 enable_activeds
876 enable_actxprxy
877 enable_adsldpc
878 enable_advapi32
879 enable_advpack
880 enable_amstream
881 enable_api_ms_win_appmodel_identity_l1_1_0
882 enable_api_ms_win_appmodel_runtime_l1_1_1
883 enable_api_ms_win_core_apiquery_l1_1_0
884 enable_api_ms_win_core_appcompat_l1_1_1
885 enable_api_ms_win_core_appinit_l1_1_0
886 enable_api_ms_win_core_atoms_l1_1_0
887 enable_api_ms_win_core_bem_l1_1_0
888 enable_api_ms_win_core_com_l1_1_0
889 enable_api_ms_win_core_com_l1_1_1
890 enable_api_ms_win_core_com_private_l1_1_0
891 enable_api_ms_win_core_console_l1_1_0
892 enable_api_ms_win_core_console_l2_1_0
893 enable_api_ms_win_core_crt_l1_1_0
894 enable_api_ms_win_core_crt_l2_1_0
895 enable_api_ms_win_core_datetime_l1_1_0
896 enable_api_ms_win_core_datetime_l1_1_1
897 enable_api_ms_win_core_debug_l1_1_0
898 enable_api_ms_win_core_debug_l1_1_1
899 enable_api_ms_win_core_delayload_l1_1_0
900 enable_api_ms_win_core_delayload_l1_1_1
901 enable_api_ms_win_core_errorhandling_l1_1_0
902 enable_api_ms_win_core_errorhandling_l1_1_1
903 enable_api_ms_win_core_errorhandling_l1_1_2
904 enable_api_ms_win_core_fibers_l1_1_0
905 enable_api_ms_win_core_fibers_l1_1_1
906 enable_api_ms_win_core_file_l1_1_0
907 enable_api_ms_win_core_file_l1_2_0
908 enable_api_ms_win_core_file_l1_2_1
909 enable_api_ms_win_core_file_l2_1_0
910 enable_api_ms_win_core_file_l2_1_1
911 enable_api_ms_win_core_handle_l1_1_0
912 enable_api_ms_win_core_heap_l1_1_0
913 enable_api_ms_win_core_heap_l1_2_0
914 enable_api_ms_win_core_heap_obsolete_l1_1_0
915 enable_api_ms_win_core_interlocked_l1_1_0
916 enable_api_ms_win_core_interlocked_l1_2_0
917 enable_api_ms_win_core_io_l1_1_0
918 enable_api_ms_win_core_io_l1_1_1
919 enable_api_ms_win_core_job_l1_1_0
920 enable_api_ms_win_core_job_l2_1_0
921 enable_api_ms_win_core_kernel32_legacy_l1_1_0
922 enable_api_ms_win_core_kernel32_legacy_l1_1_1
923 enable_api_ms_win_core_kernel32_private_l1_1_1
924 enable_api_ms_win_core_libraryloader_l1_1_0
925 enable_api_ms_win_core_libraryloader_l1_1_1
926 enable_api_ms_win_core_libraryloader_l1_2_0
927 enable_api_ms_win_core_libraryloader_l1_2_2
928 enable_api_ms_win_core_localization_l1_1_0
929 enable_api_ms_win_core_localization_l1_2_0
930 enable_api_ms_win_core_localization_l1_2_1
931 enable_api_ms_win_core_localization_l2_1_0
932 enable_api_ms_win_core_localization_obsolete_l1_1_0
933 enable_api_ms_win_core_localization_obsolete_l1_2_0
934 enable_api_ms_win_core_localization_private_l1_1_0
935 enable_api_ms_win_core_localregistry_l1_1_0
936 enable_api_ms_win_core_memory_l1_1_0
937 enable_api_ms_win_core_memory_l1_1_1
938 enable_api_ms_win_core_memory_l1_1_2
939 enable_api_ms_win_core_misc_l1_1_0
940 enable_api_ms_win_core_namedpipe_l1_1_0
941 enable_api_ms_win_core_namedpipe_l1_2_0
942 enable_api_ms_win_core_namespace_l1_1_0
943 enable_api_ms_win_core_normalization_l1_1_0
944 enable_api_ms_win_core_path_l1_1_0
945 enable_api_ms_win_core_privateprofile_l1_1_1
946 enable_api_ms_win_core_processenvironment_l1_1_0
947 enable_api_ms_win_core_processenvironment_l1_2_0
948 enable_api_ms_win_core_processthreads_l1_1_0
949 enable_api_ms_win_core_processthreads_l1_1_1
950 enable_api_ms_win_core_processthreads_l1_1_2
951 enable_api_ms_win_core_profile_l1_1_0
952 enable_api_ms_win_core_psapi_l1_1_0
953 enable_api_ms_win_core_psapi_obsolete_l1_1_0
954 enable_api_ms_win_core_quirks_l1_1_0
955 enable_api_ms_win_core_realtime_l1_1_0
956 enable_api_ms_win_core_registry_l1_1_0
957 enable_api_ms_win_core_registry_l2_1_0
958 enable_api_ms_win_core_registryuserspecific_l1_1_0
959 enable_api_ms_win_core_rtlsupport_l1_1_0
960 enable_api_ms_win_core_rtlsupport_l1_2_0
961 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
962 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
963 enable_api_ms_win_core_sidebyside_l1_1_0
964 enable_api_ms_win_core_string_l1_1_0
965 enable_api_ms_win_core_string_l2_1_0
966 enable_api_ms_win_core_string_obsolete_l1_1_0
967 enable_api_ms_win_core_stringansi_l1_1_0
968 enable_api_ms_win_core_synch_l1_1_0
969 enable_api_ms_win_core_synch_l1_2_0
970 enable_api_ms_win_core_sysinfo_l1_1_0
971 enable_api_ms_win_core_sysinfo_l1_2_0
972 enable_api_ms_win_core_sysinfo_l1_2_1
973 enable_api_ms_win_core_threadpool_l1_1_0
974 enable_api_ms_win_core_threadpool_l1_2_0
975 enable_api_ms_win_core_threadpool_legacy_l1_1_0
976 enable_api_ms_win_core_threadpool_private_l1_1_0
977 enable_api_ms_win_core_timezone_l1_1_0
978 enable_api_ms_win_core_toolhelp_l1_1_0
979 enable_api_ms_win_core_url_l1_1_0
980 enable_api_ms_win_core_util_l1_1_0
981 enable_api_ms_win_core_version_l1_1_0
982 enable_api_ms_win_core_version_private_l1_1_0
983 enable_api_ms_win_core_versionansi_l1_1_0
984 enable_api_ms_win_core_windowserrorreporting_l1_1_0
985 enable_api_ms_win_core_winrt_error_l1_1_0
986 enable_api_ms_win_core_winrt_error_l1_1_1
987 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
988 enable_api_ms_win_core_winrt_l1_1_0
989 enable_api_ms_win_core_winrt_registration_l1_1_0
990 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
991 enable_api_ms_win_core_winrt_string_l1_1_0
992 enable_api_ms_win_core_wow64_l1_1_0
993 enable_api_ms_win_core_xstate_l1_1_0
994 enable_api_ms_win_core_xstate_l2_1_0
995 enable_api_ms_win_crt_conio_l1_1_0
996 enable_api_ms_win_crt_convert_l1_1_0
997 enable_api_ms_win_crt_environment_l1_1_0
998 enable_api_ms_win_crt_filesystem_l1_1_0
999 enable_api_ms_win_crt_heap_l1_1_0
1000 enable_api_ms_win_crt_locale_l1_1_0
1001 enable_api_ms_win_crt_math_l1_1_0
1002 enable_api_ms_win_crt_multibyte_l1_1_0
1003 enable_api_ms_win_crt_private_l1_1_0
1004 enable_api_ms_win_crt_process_l1_1_0
1005 enable_api_ms_win_crt_runtime_l1_1_0
1006 enable_api_ms_win_crt_stdio_l1_1_0
1007 enable_api_ms_win_crt_string_l1_1_0
1008 enable_api_ms_win_crt_time_l1_1_0
1009 enable_api_ms_win_crt_utility_l1_1_0
1010 enable_api_ms_win_devices_config_l1_1_1
1011 enable_api_ms_win_devices_query_l1_1_1
1012 enable_api_ms_win_downlevel_advapi32_l1_1_0
1013 enable_api_ms_win_downlevel_advapi32_l2_1_0
1014 enable_api_ms_win_downlevel_normaliz_l1_1_0
1015 enable_api_ms_win_downlevel_ole32_l1_1_0
1016 enable_api_ms_win_downlevel_shell32_l1_1_0
1017 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1018 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1019 enable_api_ms_win_downlevel_user32_l1_1_0
1020 enable_api_ms_win_downlevel_version_l1_1_0
1021 enable_api_ms_win_dx_d3dkmt_l1_1_0
1022 enable_api_ms_win_eventing_classicprovider_l1_1_0
1023 enable_api_ms_win_eventing_consumer_l1_1_0
1024 enable_api_ms_win_eventing_controller_l1_1_0
1025 enable_api_ms_win_eventing_provider_l1_1_0
1026 enable_api_ms_win_eventlog_legacy_l1_1_0
1027 enable_api_ms_win_mm_misc_l1_1_1
1028 enable_api_ms_win_mm_mme_l1_1_0
1029 enable_api_ms_win_ntuser_dc_access_l1_1_0
1030 enable_api_ms_win_power_base_l1_1_0
1031 enable_api_ms_win_power_setting_l1_1_0
1032 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1033 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1034 enable_api_ms_win_security_audit_l1_1_1
1035 enable_api_ms_win_security_base_l1_1_0
1036 enable_api_ms_win_security_base_l1_2_0
1037 enable_api_ms_win_security_base_private_l1_1_1
1038 enable_api_ms_win_security_credentials_l1_1_0
1039 enable_api_ms_win_security_grouppolicy_l1_1_0
1040 enable_api_ms_win_security_lsalookup_l1_1_0
1041 enable_api_ms_win_security_lsalookup_l1_1_1
1042 enable_api_ms_win_security_lsalookup_l2_1_1
1043 enable_api_ms_win_security_lsapolicy_l1_1_0
1044 enable_api_ms_win_security_sddl_l1_1_0
1045 enable_api_ms_win_security_systemfunctions_l1_1_0
1046 enable_api_ms_win_service_core_l1_1_0
1047 enable_api_ms_win_service_core_l1_1_1
1048 enable_api_ms_win_service_management_l1_1_0
1049 enable_api_ms_win_service_management_l2_1_0
1050 enable_api_ms_win_service_private_l1_1_1
1051 enable_api_ms_win_service_winsvc_l1_1_0
1052 enable_api_ms_win_service_winsvc_l1_2_0
1053 enable_api_ms_win_shell_shellcom_l1_1_0
1054 enable_api_ms_win_shell_shellfolders_l1_1_0
1055 enable_apphelp
1056 enable_appwiz_cpl
1057 enable_atl
1058 enable_atl100
1059 enable_atl110
1060 enable_atl80
1061 enable_atl90
1062 enable_authz
1063 enable_avicap32
1064 enable_avifil32
1065 enable_avrt
1066 enable_bcrypt
1067 enable_bluetoothapis
1068 enable_browseui
1069 enable_bthprops_cpl
1070 enable_cabinet
1071 enable_capi2032
1072 enable_cards
1073 enable_cfgmgr32
1074 enable_clusapi
1075 enable_combase
1076 enable_comcat
1077 enable_comctl32
1078 enable_comdlg32
1079 enable_compstui
1080 enable_comsvcs
1081 enable_concrt140
1082 enable_connect
1083 enable_credui
1084 enable_crtdll
1085 enable_crypt32
1086 enable_cryptdlg
1087 enable_cryptdll
1088 enable_cryptext
1089 enable_cryptnet
1090 enable_cryptui
1091 enable_ctapi32
1092 enable_ctl3d32
1093 enable_d2d1
1094 enable_d3d10
1095 enable_d3d10_1
1096 enable_d3d10core
1097 enable_d3d11
1098 enable_d3d8
1099 enable_d3d9
1100 enable_d3dcompiler_33
1101 enable_d3dcompiler_34
1102 enable_d3dcompiler_35
1103 enable_d3dcompiler_36
1104 enable_d3dcompiler_37
1105 enable_d3dcompiler_38
1106 enable_d3dcompiler_39
1107 enable_d3dcompiler_40
1108 enable_d3dcompiler_41
1109 enable_d3dcompiler_42
1110 enable_d3dcompiler_43
1111 enable_d3dcompiler_46
1112 enable_d3dcompiler_47
1113 enable_d3dim
1114 enable_d3drm
1115 enable_d3dx10_33
1116 enable_d3dx10_34
1117 enable_d3dx10_35
1118 enable_d3dx10_36
1119 enable_d3dx10_37
1120 enable_d3dx10_38
1121 enable_d3dx10_39
1122 enable_d3dx10_40
1123 enable_d3dx10_41
1124 enable_d3dx10_42
1125 enable_d3dx10_43
1126 enable_d3dx11_42
1127 enable_d3dx11_43
1128 enable_d3dx9_24
1129 enable_d3dx9_25
1130 enable_d3dx9_26
1131 enable_d3dx9_27
1132 enable_d3dx9_28
1133 enable_d3dx9_29
1134 enable_d3dx9_30
1135 enable_d3dx9_31
1136 enable_d3dx9_32
1137 enable_d3dx9_33
1138 enable_d3dx9_34
1139 enable_d3dx9_35
1140 enable_d3dx9_36
1141 enable_d3dx9_37
1142 enable_d3dx9_38
1143 enable_d3dx9_39
1144 enable_d3dx9_40
1145 enable_d3dx9_41
1146 enable_d3dx9_42
1147 enable_d3dx9_43
1148 enable_d3dxof
1149 enable_davclnt
1150 enable_dbgeng
1151 enable_dbghelp
1152 enable_dciman32
1153 enable_ddraw
1154 enable_ddrawex
1155 enable_devenum
1156 enable_dhcpcsvc
1157 enable_difxapi
1158 enable_dinput
1159 enable_dinput8
1160 enable_dispex
1161 enable_dmband
1162 enable_dmcompos
1163 enable_dmime
1164 enable_dmloader
1165 enable_dmscript
1166 enable_dmstyle
1167 enable_dmsynth
1168 enable_dmusic
1169 enable_dmusic32
1170 enable_dnsapi
1171 enable_dplay
1172 enable_dplayx
1173 enable_dpnaddr
1174 enable_dpnet
1175 enable_dpnhpast
1176 enable_dpnlobby
1177 enable_dpvoice
1178 enable_dpwsockx
1179 enable_drmclien
1180 enable_dsound
1181 enable_dssenh
1182 enable_dswave
1183 enable_dwmapi
1184 enable_dwrite
1185 enable_dxdiagn
1186 enable_dxgi
1187 enable_dxva2
1188 enable_esent
1189 enable_evr
1190 enable_explorerframe
1191 enable_ext_ms_win_authz_context_l1_1_0
1192 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1193 enable_ext_ms_win_gdi_dc_create_l1_1_1
1194 enable_ext_ms_win_gdi_dc_l1_2_0
1195 enable_ext_ms_win_gdi_devcaps_l1_1_0
1196 enable_ext_ms_win_gdi_draw_l1_1_1
1197 enable_ext_ms_win_gdi_render_l1_1_0
1198 enable_ext_ms_win_kernel32_package_current_l1_1_0
1199 enable_ext_ms_win_kernel32_package_l1_1_1
1200 enable_ext_ms_win_ntuser_message_l1_1_1
1201 enable_ext_ms_win_ntuser_private_l1_1_1
1202 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1203 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1204 enable_ext_ms_win_ntuser_window_l1_1_1
1205 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1206 enable_ext_ms_win_ras_rasapi32_l1_1_0
1207 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1208 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1209 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1210 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1211 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1212 enable_ext_ms_win_security_credui_l1_1_0
1213 enable_ext_ms_win_security_cryptui_l1_1_0
1214 enable_faultrep
1215 enable_fltlib
1216 enable_fltmgr_sys
1217 enable_fntcache
1218 enable_fontsub
1219 enable_fusion
1220 enable_fwpuclnt
1221 enable_gameux
1222 enable_gdi32
1223 enable_gdiplus
1224 enable_glu32
1225 enable_gphoto2_ds
1226 enable_gpkcsp
1227 enable_hal
1228 enable_hhctrl_ocx
1229 enable_hid
1230 enable_hidclass_sys
1231 enable_hlink
1232 enable_hnetcfg
1233 enable_httpapi
1234 enable_iccvid
1235 enable_icmp
1236 enable_ieframe
1237 enable_imaadp32_acm
1238 enable_imagehlp
1239 enable_imm32
1240 enable_inetcomm
1241 enable_inetcpl_cpl
1242 enable_inetmib1
1243 enable_infosoft
1244 enable_initpki
1245 enable_inkobj
1246 enable_inseng
1247 enable_iphlpapi
1248 enable_iprop
1249 enable_irprops_cpl
1250 enable_itircl
1251 enable_itss
1252 enable_joy_cpl
1253 enable_jscript
1254 enable_jsproxy
1255 enable_kernel32
1256 enable_kernelbase
1257 enable_ksuser
1258 enable_ktmw32
1259 enable_loadperf
1260 enable_localspl
1261 enable_localui
1262 enable_lz32
1263 enable_mapi32
1264 enable_mapistub
1265 enable_mciavi32
1266 enable_mcicda
1267 enable_mciqtz32
1268 enable_mciseq
1269 enable_mciwave
1270 enable_mf
1271 enable_mf3216
1272 enable_mfplat
1273 enable_mfreadwrite
1274 enable_mgmtapi
1275 enable_midimap
1276 enable_mlang
1277 enable_mmcndmgr
1278 enable_mmdevapi
1279 enable_mountmgr_sys
1280 enable_mpr
1281 enable_mprapi
1282 enable_msacm32_drv
1283 enable_msacm32
1284 enable_msadp32_acm
1285 enable_msasn1
1286 enable_mscat32
1287 enable_mscms
1288 enable_mscoree
1289 enable_msctf
1290 enable_msctfp
1291 enable_msdaps
1292 enable_msdelta
1293 enable_msdmo
1294 enable_msdrm
1295 enable_msftedit
1296 enable_msg711_acm
1297 enable_msgsm32_acm
1298 enable_mshtml_tlb
1299 enable_mshtml
1300 enable_msi
1301 enable_msident
1302 enable_msimg32
1303 enable_msimsg
1304 enable_msimtf
1305 enable_msisip
1306 enable_msisys_ocx
1307 enable_msls31
1308 enable_msnet32
1309 enable_mspatcha
1310 enable_msports
1311 enable_msrle32
1312 enable_msscript_ocx
1313 enable_mssign32
1314 enable_mssip32
1315 enable_mstask
1316 enable_msvcirt
1317 enable_msvcm80
1318 enable_msvcm90
1319 enable_msvcp100
1320 enable_msvcp110
1321 enable_msvcp120
1322 enable_msvcp120_app
1323 enable_msvcp140
1324 enable_msvcp60
1325 enable_msvcp70
1326 enable_msvcp71
1327 enable_msvcp80
1328 enable_msvcp90
1329 enable_msvcr100
1330 enable_msvcr110
1331 enable_msvcr120
1332 enable_msvcr120_app
1333 enable_msvcr70
1334 enable_msvcr71
1335 enable_msvcr80
1336 enable_msvcr90
1337 enable_msvcrt
1338 enable_msvcrt20
1339 enable_msvcrt40
1340 enable_msvcrtd
1341 enable_msvfw32
1342 enable_msvidc32
1343 enable_mswsock
1344 enable_msxml
1345 enable_msxml2
1346 enable_msxml3
1347 enable_msxml4
1348 enable_msxml6
1349 enable_mtxdm
1350 enable_ncrypt
1351 enable_nddeapi
1352 enable_ndis_sys
1353 enable_netapi32
1354 enable_netcfgx
1355 enable_netprofm
1356 enable_newdev
1357 enable_normaliz
1358 enable_npmshtml
1359 enable_npptools
1360 enable_ntdll
1361 enable_ntdsapi
1362 enable_ntoskrnl_exe
1363 enable_ntprint
1364 enable_objsel
1365 enable_odbc32
1366 enable_odbccp32
1367 enable_odbccu32
1368 enable_ole32
1369 enable_oleacc
1370 enable_oleaut32
1371 enable_olecli32
1372 enable_oledb32
1373 enable_oledlg
1374 enable_olepro32
1375 enable_olesvr32
1376 enable_olethk32
1377 enable_openal32
1378 enable_opencl
1379 enable_opengl32
1380 enable_packager
1381 enable_pdh
1382 enable_photometadatahandler
1383 enable_pidgen
1384 enable_powrprof
1385 enable_printui
1386 enable_prntvpt
1387 enable_propsys
1388 enable_psapi
1389 enable_pstorec
1390 enable_qcap
1391 enable_qedit
1392 enable_qmgr
1393 enable_qmgrprxy
1394 enable_quartz
1395 enable_query
1396 enable_rasapi32
1397 enable_rasdlg
1398 enable_regapi
1399 enable_resutils
1400 enable_riched20
1401 enable_riched32
1402 enable_rpcrt4
1403 enable_rsabase
1404 enable_rsaenh
1405 enable_rstrtmgr
1406 enable_rtutils
1407 enable_samlib
1408 enable_sane_ds
1409 enable_scarddlg
1410 enable_sccbase
1411 enable_schannel
1412 enable_schedsvc
1413 enable_scrobj
1414 enable_scrrun
1415 enable_scsiport_sys
1416 enable_secur32
1417 enable_security
1418 enable_sensapi
1419 enable_serialui
1420 enable_setupapi
1421 enable_sfc
1422 enable_sfc_os
1423 enable_shdoclc
1424 enable_shdocvw
1425 enable_shell32
1426 enable_shfolder
1427 enable_shlwapi
1428 enable_slbcsp
1429 enable_slc
1430 enable_snmpapi
1431 enable_softpub
1432 enable_spoolss
1433 enable_sspicli
1434 enable_stdole2_tlb
1435 enable_stdole32_tlb
1436 enable_sti
1437 enable_svrapi
1438 enable_sxs
1439 enable_t2embed
1440 enable_tapi32
1441 enable_taskschd
1442 enable_tdh
1443 enable_tdi_sys
1444 enable_traffic
1445 enable_twain_32
1446 enable_ucrtbase
1447 enable_uiautomationcore
1448 enable_unicows
1449 enable_updspapi
1450 enable_url
1451 enable_urlmon
1452 enable_usbd_sys
1453 enable_user32
1454 enable_userenv
1455 enable_usp10
1456 enable_uxtheme
1457 enable_vbscript
1458 enable_vcomp
1459 enable_vcomp100
1460 enable_vcomp110
1461 enable_vcomp120
1462 enable_vcomp140
1463 enable_vcomp90
1464 enable_vcruntime140
1465 enable_vdmdbg
1466 enable_version
1467 enable_virtdisk
1468 enable_vssapi
1469 enable_wbemdisp
1470 enable_wbemprox
1471 enable_webservices
1472 enable_wer
1473 enable_wevtapi
1474 enable_wiaservc
1475 enable_wimgapi
1476 enable_windowscodecs
1477 enable_windowscodecsext
1478 enable_winealsa_drv
1479 enable_wineandroid_drv
1480 enable_winebus_sys
1481 enable_winecoreaudio_drv
1482 enable_wined3d
1483 enable_winegstreamer
1484 enable_winehid_sys
1485 enable_winejoystick_drv
1486 enable_winemac_drv
1487 enable_winemapi
1488 enable_winemp3_acm
1489 enable_wineoss_drv
1490 enable_wineps_drv
1491 enable_winepulse_drv
1492 enable_wineqtdecoder
1493 enable_winex11_drv
1494 enable_wing32
1495 enable_winhttp
1496 enable_wininet
1497 enable_winmm
1498 enable_winnls32
1499 enable_winscard
1500 enable_winspool_drv
1501 enable_winsta
1502 enable_wintab32
1503 enable_wintrust
1504 enable_winusb
1505 enable_wlanapi
1506 enable_wldap32
1507 enable_wmasf
1508 enable_wmi
1509 enable_wmiutils
1510 enable_wmp
1511 enable_wmvcore
1512 enable_wnaspi32
1513 enable_wpc
1514 enable_wpcap
1515 enable_ws2_32
1516 enable_wsdapi
1517 enable_wshom_ocx
1518 enable_wsnmp32
1519 enable_wsock32
1520 enable_wtsapi32
1521 enable_wuapi
1522 enable_wuaueng
1523 enable_x3daudio1_0
1524 enable_x3daudio1_1
1525 enable_x3daudio1_2
1526 enable_x3daudio1_3
1527 enable_x3daudio1_4
1528 enable_x3daudio1_5
1529 enable_x3daudio1_6
1530 enable_x3daudio1_7
1531 enable_xapofx1_1
1532 enable_xapofx1_2
1533 enable_xapofx1_3
1534 enable_xapofx1_4
1535 enable_xapofx1_5
1536 enable_xaudio2_0
1537 enable_xaudio2_1
1538 enable_xaudio2_2
1539 enable_xaudio2_3
1540 enable_xaudio2_4
1541 enable_xaudio2_5
1542 enable_xaudio2_6
1543 enable_xaudio2_7
1544 enable_xaudio2_8
1545 enable_xaudio2_9
1546 enable_xinput1_1
1547 enable_xinput1_2
1548 enable_xinput1_3
1549 enable_xinput1_4
1550 enable_xinput9_1_0
1551 enable_xmllite
1552 enable_xolehlp
1553 enable_xpsprint
1554 enable_xpssvcs
1555 enable_fonts
1556 enable_include
1557 enable_libs_port
1558 enable_libs_wine
1559 enable_libs_wpp
1560 enable_loader
1561 enable_po
1562 enable_arp
1563 enable_aspnet_regiis
1564 enable_attrib
1565 enable_cabarc
1566 enable_cacls
1567 enable_clock
1568 enable_cmd
1569 enable_conhost
1570 enable_control
1571 enable_cscript
1572 enable_dpnsvr
1573 enable_dxdiag
1574 enable_eject
1575 enable_expand
1576 enable_explorer
1577 enable_extrac32
1578 enable_findstr
1579 enable_fsutil
1580 enable_hh
1581 enable_hostname
1582 enable_icacls
1583 enable_icinfo
1584 enable_iexplore
1585 enable_ipconfig
1586 enable_lodctr
1587 enable_mofcomp
1588 enable_mshta
1589 enable_msiexec
1590 enable_msinfo32
1591 enable_net
1592 enable_netsh
1593 enable_netstat
1594 enable_ngen
1595 enable_notepad
1596 enable_oleview
1597 enable_ping
1598 enable_plugplay
1599 enable_presentationfontcache
1600 enable_progman
1601 enable_reg
1602 enable_regasm
1603 enable_regedit
1604 enable_regsvcs
1605 enable_regsvr32
1606 enable_rpcss
1607 enable_rundll32
1608 enable_sc
1609 enable_schtasks
1610 enable_sdbinst
1611 enable_secedit
1612 enable_servicemodelreg
1613 enable_services
1614 enable_shutdown
1615 enable_spoolsv
1616 enable_start
1617 enable_subst
1618 enable_svchost
1619 enable_systeminfo
1620 enable_taskkill
1621 enable_tasklist
1622 enable_taskmgr
1623 enable_termsv
1624 enable_uninstaller
1625 enable_unlodctr
1626 enable_view
1627 enable_wevtutil
1628 enable_wineboot
1629 enable_winebrowser
1630 enable_winecfg
1631 enable_wineconsole
1632 enable_winedbg
1633 enable_winedevice
1634 enable_winefile
1635 enable_winemenubuilder
1636 enable_winemine
1637 enable_winemsibuilder
1638 enable_winepath
1639 enable_winetest
1640 enable_winhlp32
1641 enable_winver
1642 enable_wmic
1643 enable_wmplayer
1644 enable_wordpad
1645 enable_write
1646 enable_wscript
1647 enable_wusa
1648 enable_xcopy
1649 enable_server
1650 enable_tools
1652 ac_precious_vars='build_alias
1653 host_alias
1654 target_alias
1656 CFLAGS
1657 LDFLAGS
1658 LIBS
1659 CPPFLAGS
1661 CXXFLAGS
1664 XMKMF
1665 XML2_CFLAGS
1666 XML2_LIBS
1667 XSLT_CFLAGS
1668 XSLT_LIBS
1669 DBUS_CFLAGS
1670 DBUS_LIBS
1671 HAL_CFLAGS
1672 HAL_LIBS
1673 GNUTLS_CFLAGS
1674 GNUTLS_LIBS
1675 SANE_CFLAGS
1676 SANE_LIBS
1677 GPHOTO2_CFLAGS
1678 GPHOTO2_LIBS
1679 GPHOTO2_PORT_CFLAGS
1680 GPHOTO2_PORT_LIBS
1681 LCMS2_CFLAGS
1682 LCMS2_LIBS
1683 FREETYPE_CFLAGS
1684 FREETYPE_LIBS
1685 PULSE_CFLAGS
1686 PULSE_LIBS
1687 GSTREAMER_CFLAGS
1688 GSTREAMER_LIBS
1689 UDEV_CFLAGS
1690 UDEV_LIBS
1691 CAPI20_CFLAGS
1692 CAPI20_LIBS
1693 FONTCONFIG_CFLAGS
1694 FONTCONFIG_LIBS
1695 JPEG_CFLAGS
1696 JPEG_LIBS
1697 PNG_CFLAGS
1698 PNG_LIBS
1699 TIFF_CFLAGS
1700 TIFF_LIBS
1701 MPG123_CFLAGS
1702 MPG123_LIBS
1703 NETAPI_CFLAGS
1704 NETAPI_LIBS'
1707 # Initialize some variables set by options.
1708 ac_init_help=
1709 ac_init_version=false
1710 ac_unrecognized_opts=
1711 ac_unrecognized_sep=
1712 # The variables have the same names as the options, with
1713 # dashes changed to underlines.
1714 cache_file=/dev/null
1715 exec_prefix=NONE
1716 no_create=
1717 no_recursion=
1718 prefix=NONE
1719 program_prefix=NONE
1720 program_suffix=NONE
1721 program_transform_name=s,x,x,
1722 silent=
1723 site=
1724 srcdir=
1725 verbose=
1726 x_includes=NONE
1727 x_libraries=NONE
1729 # Installation directory options.
1730 # These are left unexpanded so users can "make install exec_prefix=/foo"
1731 # and all the variables that are supposed to be based on exec_prefix
1732 # by default will actually change.
1733 # Use braces instead of parens because sh, perl, etc. also accept them.
1734 # (The list follows the same order as the GNU Coding Standards.)
1735 bindir='${exec_prefix}/bin'
1736 sbindir='${exec_prefix}/sbin'
1737 libexecdir='${exec_prefix}/libexec'
1738 datarootdir='${prefix}/share'
1739 datadir='${datarootdir}'
1740 sysconfdir='${prefix}/etc'
1741 sharedstatedir='${prefix}/com'
1742 localstatedir='${prefix}/var'
1743 runstatedir='${localstatedir}/run'
1744 includedir='${prefix}/include'
1745 oldincludedir='/usr/include'
1746 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1747 infodir='${datarootdir}/info'
1748 htmldir='${docdir}'
1749 dvidir='${docdir}'
1750 pdfdir='${docdir}'
1751 psdir='${docdir}'
1752 libdir='${exec_prefix}/lib'
1753 localedir='${datarootdir}/locale'
1754 mandir='${datarootdir}/man'
1756 ac_prev=
1757 ac_dashdash=
1758 for ac_option
1760 # If the previous option needs an argument, assign it.
1761 if test -n "$ac_prev"; then
1762 eval $ac_prev=\$ac_option
1763 ac_prev=
1764 continue
1767 case $ac_option in
1768 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1769 *=) ac_optarg= ;;
1770 *) ac_optarg=yes ;;
1771 esac
1773 # Accept the important Cygnus configure options, so we can diagnose typos.
1775 case $ac_dashdash$ac_option in
1777 ac_dashdash=yes ;;
1779 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1780 ac_prev=bindir ;;
1781 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1782 bindir=$ac_optarg ;;
1784 -build | --build | --buil | --bui | --bu)
1785 ac_prev=build_alias ;;
1786 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1787 build_alias=$ac_optarg ;;
1789 -cache-file | --cache-file | --cache-fil | --cache-fi \
1790 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1791 ac_prev=cache_file ;;
1792 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1793 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1794 cache_file=$ac_optarg ;;
1796 --config-cache | -C)
1797 cache_file=config.cache ;;
1799 -datadir | --datadir | --datadi | --datad)
1800 ac_prev=datadir ;;
1801 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1802 datadir=$ac_optarg ;;
1804 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1805 | --dataroo | --dataro | --datar)
1806 ac_prev=datarootdir ;;
1807 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1808 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1809 datarootdir=$ac_optarg ;;
1811 -disable-* | --disable-*)
1812 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1813 # Reject names that are not valid shell variable names.
1814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1815 as_fn_error $? "invalid feature name: $ac_useropt"
1816 ac_useropt_orig=$ac_useropt
1817 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1818 case $ac_user_opts in
1820 "enable_$ac_useropt"
1821 "*) ;;
1822 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1823 ac_unrecognized_sep=', ';;
1824 esac
1825 eval enable_$ac_useropt=no ;;
1827 -docdir | --docdir | --docdi | --doc | --do)
1828 ac_prev=docdir ;;
1829 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1830 docdir=$ac_optarg ;;
1832 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1833 ac_prev=dvidir ;;
1834 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1835 dvidir=$ac_optarg ;;
1837 -enable-* | --enable-*)
1838 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1839 # Reject names that are not valid shell variable names.
1840 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1841 as_fn_error $? "invalid feature name: $ac_useropt"
1842 ac_useropt_orig=$ac_useropt
1843 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1844 case $ac_user_opts in
1846 "enable_$ac_useropt"
1847 "*) ;;
1848 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1849 ac_unrecognized_sep=', ';;
1850 esac
1851 eval enable_$ac_useropt=\$ac_optarg ;;
1853 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1854 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1855 | --exec | --exe | --ex)
1856 ac_prev=exec_prefix ;;
1857 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1858 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1859 | --exec=* | --exe=* | --ex=*)
1860 exec_prefix=$ac_optarg ;;
1862 -gas | --gas | --ga | --g)
1863 # Obsolete; use --with-gas.
1864 with_gas=yes ;;
1866 -help | --help | --hel | --he | -h)
1867 ac_init_help=long ;;
1868 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1869 ac_init_help=recursive ;;
1870 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1871 ac_init_help=short ;;
1873 -host | --host | --hos | --ho)
1874 ac_prev=host_alias ;;
1875 -host=* | --host=* | --hos=* | --ho=*)
1876 host_alias=$ac_optarg ;;
1878 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1879 ac_prev=htmldir ;;
1880 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1881 | --ht=*)
1882 htmldir=$ac_optarg ;;
1884 -includedir | --includedir | --includedi | --included | --include \
1885 | --includ | --inclu | --incl | --inc)
1886 ac_prev=includedir ;;
1887 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1888 | --includ=* | --inclu=* | --incl=* | --inc=*)
1889 includedir=$ac_optarg ;;
1891 -infodir | --infodir | --infodi | --infod | --info | --inf)
1892 ac_prev=infodir ;;
1893 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1894 infodir=$ac_optarg ;;
1896 -libdir | --libdir | --libdi | --libd)
1897 ac_prev=libdir ;;
1898 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1899 libdir=$ac_optarg ;;
1901 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1902 | --libexe | --libex | --libe)
1903 ac_prev=libexecdir ;;
1904 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1905 | --libexe=* | --libex=* | --libe=*)
1906 libexecdir=$ac_optarg ;;
1908 -localedir | --localedir | --localedi | --localed | --locale)
1909 ac_prev=localedir ;;
1910 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1911 localedir=$ac_optarg ;;
1913 -localstatedir | --localstatedir | --localstatedi | --localstated \
1914 | --localstate | --localstat | --localsta | --localst | --locals)
1915 ac_prev=localstatedir ;;
1916 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1917 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1918 localstatedir=$ac_optarg ;;
1920 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1921 ac_prev=mandir ;;
1922 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1923 mandir=$ac_optarg ;;
1925 -nfp | --nfp | --nf)
1926 # Obsolete; use --without-fp.
1927 with_fp=no ;;
1929 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1930 | --no-cr | --no-c | -n)
1931 no_create=yes ;;
1933 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1934 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1935 no_recursion=yes ;;
1937 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1938 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1939 | --oldin | --oldi | --old | --ol | --o)
1940 ac_prev=oldincludedir ;;
1941 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1942 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1943 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1944 oldincludedir=$ac_optarg ;;
1946 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1947 ac_prev=prefix ;;
1948 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1949 prefix=$ac_optarg ;;
1951 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1952 | --program-pre | --program-pr | --program-p)
1953 ac_prev=program_prefix ;;
1954 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1955 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1956 program_prefix=$ac_optarg ;;
1958 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1959 | --program-suf | --program-su | --program-s)
1960 ac_prev=program_suffix ;;
1961 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1962 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1963 program_suffix=$ac_optarg ;;
1965 -program-transform-name | --program-transform-name \
1966 | --program-transform-nam | --program-transform-na \
1967 | --program-transform-n | --program-transform- \
1968 | --program-transform | --program-transfor \
1969 | --program-transfo | --program-transf \
1970 | --program-trans | --program-tran \
1971 | --progr-tra | --program-tr | --program-t)
1972 ac_prev=program_transform_name ;;
1973 -program-transform-name=* | --program-transform-name=* \
1974 | --program-transform-nam=* | --program-transform-na=* \
1975 | --program-transform-n=* | --program-transform-=* \
1976 | --program-transform=* | --program-transfor=* \
1977 | --program-transfo=* | --program-transf=* \
1978 | --program-trans=* | --program-tran=* \
1979 | --progr-tra=* | --program-tr=* | --program-t=*)
1980 program_transform_name=$ac_optarg ;;
1982 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1983 ac_prev=pdfdir ;;
1984 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1985 pdfdir=$ac_optarg ;;
1987 -psdir | --psdir | --psdi | --psd | --ps)
1988 ac_prev=psdir ;;
1989 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1990 psdir=$ac_optarg ;;
1992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1993 | -silent | --silent | --silen | --sile | --sil)
1994 silent=yes ;;
1996 -runstatedir | --runstatedir | --runstatedi | --runstated \
1997 | --runstate | --runstat | --runsta | --runst | --runs \
1998 | --run | --ru | --r)
1999 ac_prev=runstatedir ;;
2000 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2001 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2002 | --run=* | --ru=* | --r=*)
2003 runstatedir=$ac_optarg ;;
2005 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2006 ac_prev=sbindir ;;
2007 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2008 | --sbi=* | --sb=*)
2009 sbindir=$ac_optarg ;;
2011 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2012 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2013 | --sharedst | --shareds | --shared | --share | --shar \
2014 | --sha | --sh)
2015 ac_prev=sharedstatedir ;;
2016 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2017 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2018 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2019 | --sha=* | --sh=*)
2020 sharedstatedir=$ac_optarg ;;
2022 -site | --site | --sit)
2023 ac_prev=site ;;
2024 -site=* | --site=* | --sit=*)
2025 site=$ac_optarg ;;
2027 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2028 ac_prev=srcdir ;;
2029 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2030 srcdir=$ac_optarg ;;
2032 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2033 | --syscon | --sysco | --sysc | --sys | --sy)
2034 ac_prev=sysconfdir ;;
2035 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2036 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2037 sysconfdir=$ac_optarg ;;
2039 -target | --target | --targe | --targ | --tar | --ta | --t)
2040 ac_prev=target_alias ;;
2041 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2042 target_alias=$ac_optarg ;;
2044 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2045 verbose=yes ;;
2047 -version | --version | --versio | --versi | --vers | -V)
2048 ac_init_version=: ;;
2050 -with-* | --with-*)
2051 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2052 # Reject names that are not valid shell variable names.
2053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2054 as_fn_error $? "invalid package name: $ac_useropt"
2055 ac_useropt_orig=$ac_useropt
2056 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2057 case $ac_user_opts in
2059 "with_$ac_useropt"
2060 "*) ;;
2061 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2062 ac_unrecognized_sep=', ';;
2063 esac
2064 eval with_$ac_useropt=\$ac_optarg ;;
2066 -without-* | --without-*)
2067 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2068 # Reject names that are not valid shell variable names.
2069 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2070 as_fn_error $? "invalid package name: $ac_useropt"
2071 ac_useropt_orig=$ac_useropt
2072 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2073 case $ac_user_opts in
2075 "with_$ac_useropt"
2076 "*) ;;
2077 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2078 ac_unrecognized_sep=', ';;
2079 esac
2080 eval with_$ac_useropt=no ;;
2082 --x)
2083 # Obsolete; use --with-x.
2084 with_x=yes ;;
2086 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2087 | --x-incl | --x-inc | --x-in | --x-i)
2088 ac_prev=x_includes ;;
2089 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2090 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2091 x_includes=$ac_optarg ;;
2093 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2094 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2095 ac_prev=x_libraries ;;
2096 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2097 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2098 x_libraries=$ac_optarg ;;
2100 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2101 Try \`$0 --help' for more information"
2104 *=*)
2105 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2106 # Reject names that are not valid shell variable names.
2107 case $ac_envvar in #(
2108 '' | [0-9]* | *[!_$as_cr_alnum]* )
2109 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2110 esac
2111 eval $ac_envvar=\$ac_optarg
2112 export $ac_envvar ;;
2115 # FIXME: should be removed in autoconf 3.0.
2116 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2117 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2118 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2119 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2122 esac
2123 done
2125 if test -n "$ac_prev"; then
2126 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2127 as_fn_error $? "missing argument to $ac_option"
2130 if test -n "$ac_unrecognized_opts"; then
2131 case $enable_option_checking in
2132 no) ;;
2133 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2134 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2135 esac
2138 # Check all directory arguments for consistency.
2139 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2140 datadir sysconfdir sharedstatedir localstatedir includedir \
2141 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2142 libdir localedir mandir runstatedir
2144 eval ac_val=\$$ac_var
2145 # Remove trailing slashes.
2146 case $ac_val in
2147 */ )
2148 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2149 eval $ac_var=\$ac_val;;
2150 esac
2151 # Be sure to have absolute directory names.
2152 case $ac_val in
2153 [\\/$]* | ?:[\\/]* ) continue;;
2154 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2155 esac
2156 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2157 done
2159 # There might be people who depend on the old broken behavior: `$host'
2160 # used to hold the argument of --host etc.
2161 # FIXME: To remove some day.
2162 build=$build_alias
2163 host=$host_alias
2164 target=$target_alias
2166 # FIXME: To remove some day.
2167 if test "x$host_alias" != x; then
2168 if test "x$build_alias" = x; then
2169 cross_compiling=maybe
2170 elif test "x$build_alias" != "x$host_alias"; then
2171 cross_compiling=yes
2175 ac_tool_prefix=
2176 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2178 test "$silent" = yes && exec 6>/dev/null
2181 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2182 ac_ls_di=`ls -di .` &&
2183 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2184 as_fn_error $? "working directory cannot be determined"
2185 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2186 as_fn_error $? "pwd does not report name of working directory"
2189 # Find the source files, if location was not specified.
2190 if test -z "$srcdir"; then
2191 ac_srcdir_defaulted=yes
2192 # Try the directory containing this script, then the parent directory.
2193 ac_confdir=`$as_dirname -- "$as_myself" ||
2194 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2195 X"$as_myself" : 'X\(//\)[^/]' \| \
2196 X"$as_myself" : 'X\(//\)$' \| \
2197 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2198 $as_echo X"$as_myself" |
2199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2200 s//\1/
2203 /^X\(\/\/\)[^/].*/{
2204 s//\1/
2207 /^X\(\/\/\)$/{
2208 s//\1/
2211 /^X\(\/\).*/{
2212 s//\1/
2215 s/.*/./; q'`
2216 srcdir=$ac_confdir
2217 if test ! -r "$srcdir/$ac_unique_file"; then
2218 srcdir=..
2220 else
2221 ac_srcdir_defaulted=no
2223 if test ! -r "$srcdir/$ac_unique_file"; then
2224 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2225 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2227 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2228 ac_abs_confdir=`(
2229 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2230 pwd)`
2231 # When building in place, set srcdir=.
2232 if test "$ac_abs_confdir" = "$ac_pwd"; then
2233 srcdir=.
2235 # Remove unnecessary trailing slashes from srcdir.
2236 # Double slashes in file names in object file debugging info
2237 # mess up M-x gdb in Emacs.
2238 case $srcdir in
2239 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2240 esac
2241 for ac_var in $ac_precious_vars; do
2242 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2243 eval ac_env_${ac_var}_value=\$${ac_var}
2244 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2245 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2246 done
2249 # Report the --help message.
2251 if test "$ac_init_help" = "long"; then
2252 # Omit some internal or obsolete options to make the list less imposing.
2253 # This message is too long to be a string in the A/UX 3.1 sh.
2254 cat <<_ACEOF
2255 \`configure' configures Wine 2.12 to adapt to many kinds of systems.
2257 Usage: $0 [OPTION]... [VAR=VALUE]...
2259 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2260 VAR=VALUE. See below for descriptions of some of the useful variables.
2262 Defaults for the options are specified in brackets.
2264 Configuration:
2265 -h, --help display this help and exit
2266 --help=short display options specific to this package
2267 --help=recursive display the short help of all the included packages
2268 -V, --version display version information and exit
2269 -q, --quiet, --silent do not print \`checking ...' messages
2270 --cache-file=FILE cache test results in FILE [disabled]
2271 -C, --config-cache alias for \`--cache-file=config.cache'
2272 -n, --no-create do not create output files
2273 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2275 Installation directories:
2276 --prefix=PREFIX install architecture-independent files in PREFIX
2277 [$ac_default_prefix]
2278 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2279 [PREFIX]
2281 By default, \`make install' will install all the files in
2282 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2283 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2284 for instance \`--prefix=\$HOME'.
2286 For better control, use the options below.
2288 Fine tuning of the installation directories:
2289 --bindir=DIR user executables [EPREFIX/bin]
2290 --sbindir=DIR system admin executables [EPREFIX/sbin]
2291 --libexecdir=DIR program executables [EPREFIX/libexec]
2292 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2293 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2294 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2295 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2296 --libdir=DIR object code libraries [EPREFIX/lib]
2297 --includedir=DIR C header files [PREFIX/include]
2298 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2299 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2300 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2301 --infodir=DIR info documentation [DATAROOTDIR/info]
2302 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2303 --mandir=DIR man documentation [DATAROOTDIR/man]
2304 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2305 --htmldir=DIR html documentation [DOCDIR]
2306 --dvidir=DIR dvi documentation [DOCDIR]
2307 --pdfdir=DIR pdf documentation [DOCDIR]
2308 --psdir=DIR ps documentation [DOCDIR]
2309 _ACEOF
2311 cat <<\_ACEOF
2313 X features:
2314 --x-includes=DIR X include files are in DIR
2315 --x-libraries=DIR X library files are in DIR
2317 System types:
2318 --build=BUILD configure for building on BUILD [guessed]
2319 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2320 _ACEOF
2323 if test -n "$ac_init_help"; then
2324 case $ac_init_help in
2325 short | recursive ) echo "Configuration of Wine 2.12:";;
2326 esac
2327 cat <<\_ACEOF
2329 Optional Features:
2330 --disable-option-checking ignore unrecognized --enable/--with options
2331 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2332 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2333 --disable-win16 do not include Win16 support
2334 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2335 binaries)
2336 --disable-tests do not build the regression tests
2337 --enable-maintainer-mode
2338 enable maintainer-specific build rules
2339 --disable-largefile omit support for large files
2341 Optional Packages:
2342 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2343 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2344 --without-alsa do not use the Alsa sound support
2345 --without-capi do not use CAPI (ISDN support)
2346 --without-cms do not use CMS (color management support)
2347 --without-coreaudio do not use the CoreAudio sound support
2348 --without-cups do not use CUPS
2349 --without-curses do not use (n)curses
2350 --without-dbus do not use DBus (dynamic device support)
2351 --without-fontconfig do not use fontconfig
2352 --without-freetype do not use the FreeType library
2353 --without-gettext do not use gettext
2354 --with-gettextpo use the GetTextPO library to rebuild po files
2355 --without-gphoto do not use gphoto (Digital Camera support)
2356 --without-glu do not use the GLU library
2357 --without-gnutls do not use GnuTLS (schannel support)
2358 --without-gsm do not use libgsm (GSM 06.10 codec support)
2359 --without-gstreamer do not use GStreamer (codecs support)
2360 --without-hal do not use HAL (dynamic device support)
2361 --without-jpeg do not use JPEG
2362 --without-ldap do not use LDAP
2363 --without-mpg123 do not use the mpg123 library
2364 --without-netapi do not use the Samba NetAPI library
2365 --without-openal do not use OpenAL
2366 --without-opencl do not use OpenCL
2367 --without-opengl do not use OpenGL
2368 --without-osmesa do not use the OSMesa library
2369 --without-oss do not use the OSS sound support
2370 --without-pcap do not use the Packet Capture library
2371 --without-png do not use PNG
2372 --without-pthread do not use the pthread library
2373 --without-pulse do not use PulseAudio sound support
2374 --without-sane do not use SANE (scanner support)
2375 --without-tiff do not use TIFF
2376 --without-udev do not use udev (plug and play support)
2377 --without-v4l do not use v4l1 (v4l support)
2378 --without-xcomposite do not use the Xcomposite extension
2379 --without-xcursor do not use the Xcursor extension
2380 --without-xfixes do not use Xfixes for clipboard change notifications
2381 --without-xinerama do not use Xinerama (multi-monitor support)
2382 --without-xinput do not use the Xinput extension
2383 --without-xinput2 do not use the Xinput 2 extension
2384 --without-xml do not use XML
2385 --without-xrandr do not use Xrandr (resolution changes)
2386 --without-xrender do not use the Xrender extension
2387 --without-xshape do not use the Xshape extension
2388 --without-xshm do not use XShm (shared memory extension)
2389 --without-xslt do not use XSLT
2390 --without-xxf86vm do not use XFree video mode extension
2391 --without-zlib do not use Zlib (data compression)
2392 --with-wine-tools=DIR use Wine tools from directory DIR
2393 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2394 --with-x use the X Window System
2396 Some influential environment variables:
2397 CC C compiler command
2398 CFLAGS C compiler flags
2399 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2400 nonstandard directory <lib dir>
2401 LIBS libraries to pass to the linker, e.g. -l<library>
2402 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2403 you have headers in a nonstandard directory <include dir>
2404 CXX C++ compiler command
2405 CXXFLAGS C++ compiler flags
2406 CPP C preprocessor
2407 XMKMF Path to xmkmf, Makefile generator for X Window System
2408 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2409 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2410 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2411 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2412 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2413 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2414 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2415 HAL_LIBS Linker flags for hal, overriding pkg-config
2416 GNUTLS_CFLAGS
2417 C compiler flags for gnutls, overriding pkg-config
2418 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2419 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2420 SANE_LIBS Linker flags for libsane, overriding pkg-config
2421 GPHOTO2_CFLAGS
2422 C compiler flags for libgphoto2, overriding pkg-config
2423 GPHOTO2_LIBS
2424 Linker flags for libgphoto2, overriding pkg-config
2425 GPHOTO2_PORT_CFLAGS
2426 C compiler flags for libgphoto2_port, overriding pkg-config
2427 GPHOTO2_PORT_LIBS
2428 Linker flags for libgphoto2_port, overriding pkg-config
2429 LCMS2_CFLAGS
2430 C compiler flags for lcms2, overriding pkg-config
2431 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2432 FREETYPE_CFLAGS
2433 C compiler flags for freetype2, overriding pkg-config
2434 FREETYPE_LIBS
2435 Linker flags for freetype2, overriding pkg-config
2436 PULSE_CFLAGS
2437 C compiler flags for libpulse, overriding pkg-config
2438 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2439 GSTREAMER_CFLAGS
2440 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2441 gstreamer-audio-1.0, overriding pkg-config
2442 GSTREAMER_LIBS
2443 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2444 gstreamer-audio-1.0, overriding pkg-config
2445 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2446 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2447 CAPI20_CFLAGS
2448 C compiler flags for capi20, overriding pkg-config
2449 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2450 FONTCONFIG_CFLAGS
2451 C compiler flags for fontconfig, overriding pkg-config
2452 FONTCONFIG_LIBS
2453 Linker flags for fontconfig, overriding pkg-config
2454 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2455 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2456 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2457 PNG_LIBS Linker flags for libpng, overriding pkg-config
2458 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2459 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2460 MPG123_CFLAGS
2461 C compiler flags for libmpg123, overriding pkg-config
2462 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2463 NETAPI_CFLAGS
2464 C compiler flags for netapi, overriding pkg-config
2465 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2467 Use these variables to override the choices made by `configure' or to help
2468 it to find libraries and programs with nonstandard names/locations.
2470 Report bugs to <wine-devel@winehq.org>.
2471 Wine home page: <http://www.winehq.org>.
2472 _ACEOF
2473 ac_status=$?
2476 if test "$ac_init_help" = "recursive"; then
2477 # If there are subdirs, report their specific --help.
2478 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2479 test -d "$ac_dir" ||
2480 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2481 continue
2482 ac_builddir=.
2484 case "$ac_dir" in
2485 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2487 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2488 # A ".." for each directory in $ac_dir_suffix.
2489 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2490 case $ac_top_builddir_sub in
2491 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2492 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2493 esac ;;
2494 esac
2495 ac_abs_top_builddir=$ac_pwd
2496 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2497 # for backward compatibility:
2498 ac_top_builddir=$ac_top_build_prefix
2500 case $srcdir in
2501 .) # We are building in place.
2502 ac_srcdir=.
2503 ac_top_srcdir=$ac_top_builddir_sub
2504 ac_abs_top_srcdir=$ac_pwd ;;
2505 [\\/]* | ?:[\\/]* ) # Absolute name.
2506 ac_srcdir=$srcdir$ac_dir_suffix;
2507 ac_top_srcdir=$srcdir
2508 ac_abs_top_srcdir=$srcdir ;;
2509 *) # Relative name.
2510 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2511 ac_top_srcdir=$ac_top_build_prefix$srcdir
2512 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2513 esac
2514 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2516 cd "$ac_dir" || { ac_status=$?; continue; }
2517 # Check for guested configure.
2518 if test -f "$ac_srcdir/configure.gnu"; then
2519 echo &&
2520 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2521 elif test -f "$ac_srcdir/configure"; then
2522 echo &&
2523 $SHELL "$ac_srcdir/configure" --help=recursive
2524 else
2525 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2526 fi || ac_status=$?
2527 cd "$ac_pwd" || { ac_status=$?; break; }
2528 done
2531 test -n "$ac_init_help" && exit $ac_status
2532 if $ac_init_version; then
2533 cat <<\_ACEOF
2534 Wine configure 2.12
2535 generated by GNU Autoconf 2.69
2537 Copyright (C) 2012 Free Software Foundation, Inc.
2538 This configure script is free software; the Free Software Foundation
2539 gives unlimited permission to copy, distribute and modify it.
2540 _ACEOF
2541 exit
2544 ## ------------------------ ##
2545 ## Autoconf initialization. ##
2546 ## ------------------------ ##
2548 # ac_fn_c_try_compile LINENO
2549 # --------------------------
2550 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2551 ac_fn_c_try_compile ()
2553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2554 rm -f conftest.$ac_objext
2555 if { { ac_try="$ac_compile"
2556 case "(($ac_try" in
2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558 *) ac_try_echo=$ac_try;;
2559 esac
2560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2561 $as_echo "$ac_try_echo"; } >&5
2562 (eval "$ac_compile") 2>conftest.err
2563 ac_status=$?
2564 if test -s conftest.err; then
2565 grep -v '^ *+' conftest.err >conftest.er1
2566 cat conftest.er1 >&5
2567 mv -f conftest.er1 conftest.err
2569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2570 test $ac_status = 0; } && {
2571 test -z "$ac_c_werror_flag" ||
2572 test ! -s conftest.err
2573 } && test -s conftest.$ac_objext; then :
2574 ac_retval=0
2575 else
2576 $as_echo "$as_me: failed program was:" >&5
2577 sed 's/^/| /' conftest.$ac_ext >&5
2579 ac_retval=1
2581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2582 as_fn_set_status $ac_retval
2584 } # ac_fn_c_try_compile
2586 # ac_fn_cxx_try_compile LINENO
2587 # ----------------------------
2588 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2589 ac_fn_cxx_try_compile ()
2591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2592 rm -f conftest.$ac_objext
2593 if { { ac_try="$ac_compile"
2594 case "(($ac_try" in
2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596 *) ac_try_echo=$ac_try;;
2597 esac
2598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2599 $as_echo "$ac_try_echo"; } >&5
2600 (eval "$ac_compile") 2>conftest.err
2601 ac_status=$?
2602 if test -s conftest.err; then
2603 grep -v '^ *+' conftest.err >conftest.er1
2604 cat conftest.er1 >&5
2605 mv -f conftest.er1 conftest.err
2607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2608 test $ac_status = 0; } && {
2609 test -z "$ac_cxx_werror_flag" ||
2610 test ! -s conftest.err
2611 } && test -s conftest.$ac_objext; then :
2612 ac_retval=0
2613 else
2614 $as_echo "$as_me: failed program was:" >&5
2615 sed 's/^/| /' conftest.$ac_ext >&5
2617 ac_retval=1
2619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2620 as_fn_set_status $ac_retval
2622 } # ac_fn_cxx_try_compile
2624 # ac_fn_c_try_link LINENO
2625 # -----------------------
2626 # Try to link conftest.$ac_ext, and return whether this succeeded.
2627 ac_fn_c_try_link ()
2629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2630 rm -f conftest.$ac_objext conftest$ac_exeext
2631 if { { ac_try="$ac_link"
2632 case "(($ac_try" in
2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2635 esac
2636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2637 $as_echo "$ac_try_echo"; } >&5
2638 (eval "$ac_link") 2>conftest.err
2639 ac_status=$?
2640 if test -s conftest.err; then
2641 grep -v '^ *+' conftest.err >conftest.er1
2642 cat conftest.er1 >&5
2643 mv -f conftest.er1 conftest.err
2645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2646 test $ac_status = 0; } && {
2647 test -z "$ac_c_werror_flag" ||
2648 test ! -s conftest.err
2649 } && test -s conftest$ac_exeext && {
2650 test "$cross_compiling" = yes ||
2651 test -x conftest$ac_exeext
2652 }; then :
2653 ac_retval=0
2654 else
2655 $as_echo "$as_me: failed program was:" >&5
2656 sed 's/^/| /' conftest.$ac_ext >&5
2658 ac_retval=1
2660 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2661 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2662 # interfere with the next link command; also delete a directory that is
2663 # left behind by Apple's compiler. We do this before executing the actions.
2664 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2666 as_fn_set_status $ac_retval
2668 } # ac_fn_c_try_link
2670 # ac_fn_c_try_cpp LINENO
2671 # ----------------------
2672 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2673 ac_fn_c_try_cpp ()
2675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2676 if { { ac_try="$ac_cpp conftest.$ac_ext"
2677 case "(($ac_try" in
2678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2679 *) ac_try_echo=$ac_try;;
2680 esac
2681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2682 $as_echo "$ac_try_echo"; } >&5
2683 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2684 ac_status=$?
2685 if test -s conftest.err; then
2686 grep -v '^ *+' conftest.err >conftest.er1
2687 cat conftest.er1 >&5
2688 mv -f conftest.er1 conftest.err
2690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2691 test $ac_status = 0; } > conftest.i && {
2692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2693 test ! -s conftest.err
2694 }; then :
2695 ac_retval=0
2696 else
2697 $as_echo "$as_me: failed program was:" >&5
2698 sed 's/^/| /' conftest.$ac_ext >&5
2700 ac_retval=1
2702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2703 as_fn_set_status $ac_retval
2705 } # ac_fn_c_try_cpp
2707 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2708 # -------------------------------------------------------
2709 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2710 # the include files in INCLUDES and setting the cache variable VAR
2711 # accordingly.
2712 ac_fn_c_check_header_mongrel ()
2714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2715 if eval \${$3+:} false; then :
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2717 $as_echo_n "checking for $2... " >&6; }
2718 if eval \${$3+:} false; then :
2719 $as_echo_n "(cached) " >&6
2721 eval ac_res=\$$3
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2723 $as_echo "$ac_res" >&6; }
2724 else
2725 # Is the header compilable?
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2727 $as_echo_n "checking $2 usability... " >&6; }
2728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2729 /* end confdefs.h. */
2731 #include <$2>
2732 _ACEOF
2733 if ac_fn_c_try_compile "$LINENO"; then :
2734 ac_header_compiler=yes
2735 else
2736 ac_header_compiler=no
2738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2740 $as_echo "$ac_header_compiler" >&6; }
2742 # Is the header present?
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2744 $as_echo_n "checking $2 presence... " >&6; }
2745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2746 /* end confdefs.h. */
2747 #include <$2>
2748 _ACEOF
2749 if ac_fn_c_try_cpp "$LINENO"; then :
2750 ac_header_preproc=yes
2751 else
2752 ac_header_preproc=no
2754 rm -f conftest.err conftest.i conftest.$ac_ext
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2756 $as_echo "$ac_header_preproc" >&6; }
2758 # So? What about this header?
2759 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2760 yes:no: )
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2762 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2764 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2766 no:yes:* )
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2768 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2770 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2772 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2774 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2776 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2777 ( $as_echo "## ------------------------------------ ##
2778 ## Report this to wine-devel@winehq.org ##
2779 ## ------------------------------------ ##"
2780 ) | sed "s/^/$as_me: WARNING: /" >&2
2782 esac
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2784 $as_echo_n "checking for $2... " >&6; }
2785 if eval \${$3+:} false; then :
2786 $as_echo_n "(cached) " >&6
2787 else
2788 eval "$3=\$ac_header_compiler"
2790 eval ac_res=\$$3
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2792 $as_echo "$ac_res" >&6; }
2794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2796 } # ac_fn_c_check_header_mongrel
2798 # ac_fn_c_try_run LINENO
2799 # ----------------------
2800 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2801 # that executables *can* be run.
2802 ac_fn_c_try_run ()
2804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2805 if { { ac_try="$ac_link"
2806 case "(($ac_try" in
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2809 esac
2810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2811 $as_echo "$ac_try_echo"; } >&5
2812 (eval "$ac_link") 2>&5
2813 ac_status=$?
2814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2815 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2816 { { case "(($ac_try" in
2817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2818 *) ac_try_echo=$ac_try;;
2819 esac
2820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2821 $as_echo "$ac_try_echo"; } >&5
2822 (eval "$ac_try") 2>&5
2823 ac_status=$?
2824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2825 test $ac_status = 0; }; }; then :
2826 ac_retval=0
2827 else
2828 $as_echo "$as_me: program exited with status $ac_status" >&5
2829 $as_echo "$as_me: failed program was:" >&5
2830 sed 's/^/| /' conftest.$ac_ext >&5
2832 ac_retval=$ac_status
2834 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2836 as_fn_set_status $ac_retval
2838 } # ac_fn_c_try_run
2840 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2841 # -------------------------------------------------------
2842 # Tests whether HEADER exists and can be compiled using the include files in
2843 # INCLUDES, setting the cache variable VAR accordingly.
2844 ac_fn_c_check_header_compile ()
2846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2848 $as_echo_n "checking for $2... " >&6; }
2849 if eval \${$3+:} false; then :
2850 $as_echo_n "(cached) " >&6
2851 else
2852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2853 /* end confdefs.h. */
2855 #include <$2>
2856 _ACEOF
2857 if ac_fn_c_try_compile "$LINENO"; then :
2858 eval "$3=yes"
2859 else
2860 eval "$3=no"
2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 eval ac_res=\$$3
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2866 $as_echo "$ac_res" >&6; }
2867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 } # ac_fn_c_check_header_compile
2871 # ac_fn_c_check_func LINENO FUNC VAR
2872 # ----------------------------------
2873 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2874 ac_fn_c_check_func ()
2876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2878 $as_echo_n "checking for $2... " >&6; }
2879 if eval \${$3+:} false; then :
2880 $as_echo_n "(cached) " >&6
2881 else
2882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2884 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2886 #define $2 innocuous_$2
2888 /* System header to define __stub macros and hopefully few prototypes,
2889 which can conflict with char $2 (); below.
2890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2891 <limits.h> exists even on freestanding compilers. */
2893 #ifdef __STDC__
2894 # include <limits.h>
2895 #else
2896 # include <assert.h>
2897 #endif
2899 #undef $2
2901 /* Override any GCC internal prototype to avoid an error.
2902 Use char because int might match the return type of a GCC
2903 builtin and then its argument prototype would still apply. */
2904 #ifdef __cplusplus
2905 extern "C"
2906 #endif
2907 char $2 ();
2908 /* The GNU C library defines this for functions which it implements
2909 to always fail with ENOSYS. Some functions are actually named
2910 something starting with __ and the normal name is an alias. */
2911 #if defined __stub_$2 || defined __stub___$2
2912 choke me
2913 #endif
2916 main ()
2918 return $2 ();
2920 return 0;
2922 _ACEOF
2923 if ac_fn_c_try_link "$LINENO"; then :
2924 eval "$3=yes"
2925 else
2926 eval "$3=no"
2928 rm -f core conftest.err conftest.$ac_objext \
2929 conftest$ac_exeext conftest.$ac_ext
2931 eval ac_res=\$$3
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2933 $as_echo "$ac_res" >&6; }
2934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2936 } # ac_fn_c_check_func
2938 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2939 # ----------------------------------------------------
2940 # Tries to find if the field MEMBER exists in type AGGR, after including
2941 # INCLUDES, setting cache variable VAR accordingly.
2942 ac_fn_c_check_member ()
2944 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2946 $as_echo_n "checking for $2.$3... " >&6; }
2947 if eval \${$4+:} false; then :
2948 $as_echo_n "(cached) " >&6
2949 else
2950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2951 /* end confdefs.h. */
2954 main ()
2956 static $2 ac_aggr;
2957 if (ac_aggr.$3)
2958 return 0;
2960 return 0;
2962 _ACEOF
2963 if ac_fn_c_try_compile "$LINENO"; then :
2964 eval "$4=yes"
2965 else
2966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2967 /* end confdefs.h. */
2970 main ()
2972 static $2 ac_aggr;
2973 if (sizeof ac_aggr.$3)
2974 return 0;
2976 return 0;
2978 _ACEOF
2979 if ac_fn_c_try_compile "$LINENO"; then :
2980 eval "$4=yes"
2981 else
2982 eval "$4=no"
2984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2988 eval ac_res=\$$4
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2990 $as_echo "$ac_res" >&6; }
2991 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2993 } # ac_fn_c_check_member
2995 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2996 # -------------------------------------------
2997 # Tests whether TYPE exists after having included INCLUDES, setting cache
2998 # variable VAR accordingly.
2999 ac_fn_c_check_type ()
3001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3003 $as_echo_n "checking for $2... " >&6; }
3004 if eval \${$3+:} false; then :
3005 $as_echo_n "(cached) " >&6
3006 else
3007 eval "$3=no"
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3012 main ()
3014 if (sizeof ($2))
3015 return 0;
3017 return 0;
3019 _ACEOF
3020 if ac_fn_c_try_compile "$LINENO"; then :
3021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3022 /* end confdefs.h. */
3025 main ()
3027 if (sizeof (($2)))
3028 return 0;
3030 return 0;
3032 _ACEOF
3033 if ac_fn_c_try_compile "$LINENO"; then :
3035 else
3036 eval "$3=yes"
3038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3042 eval ac_res=\$$3
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3044 $as_echo "$ac_res" >&6; }
3045 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3047 } # ac_fn_c_check_type
3048 cat >config.log <<_ACEOF
3049 This file contains any messages produced by compilers while
3050 running configure, to aid debugging if configure makes a mistake.
3052 It was created by Wine $as_me 2.12, which was
3053 generated by GNU Autoconf 2.69. Invocation command line was
3055 $ $0 $@
3057 _ACEOF
3058 exec 5>>config.log
3060 cat <<_ASUNAME
3061 ## --------- ##
3062 ## Platform. ##
3063 ## --------- ##
3065 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3066 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3067 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3068 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3069 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3071 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3072 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3074 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3075 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3076 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3077 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3078 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3079 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3080 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3082 _ASUNAME
3084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3085 for as_dir in $PATH
3087 IFS=$as_save_IFS
3088 test -z "$as_dir" && as_dir=.
3089 $as_echo "PATH: $as_dir"
3090 done
3091 IFS=$as_save_IFS
3093 } >&5
3095 cat >&5 <<_ACEOF
3098 ## ----------- ##
3099 ## Core tests. ##
3100 ## ----------- ##
3102 _ACEOF
3105 # Keep a trace of the command line.
3106 # Strip out --no-create and --no-recursion so they do not pile up.
3107 # Strip out --silent because we don't want to record it for future runs.
3108 # Also quote any args containing shell meta-characters.
3109 # Make two passes to allow for proper duplicate-argument suppression.
3110 ac_configure_args=
3111 ac_configure_args0=
3112 ac_configure_args1=
3113 ac_must_keep_next=false
3114 for ac_pass in 1 2
3116 for ac_arg
3118 case $ac_arg in
3119 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3120 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3121 | -silent | --silent | --silen | --sile | --sil)
3122 continue ;;
3123 *\'*)
3124 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3125 esac
3126 case $ac_pass in
3127 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3129 as_fn_append ac_configure_args1 " '$ac_arg'"
3130 if test $ac_must_keep_next = true; then
3131 ac_must_keep_next=false # Got value, back to normal.
3132 else
3133 case $ac_arg in
3134 *=* | --config-cache | -C | -disable-* | --disable-* \
3135 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3136 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3137 | -with-* | --with-* | -without-* | --without-* | --x)
3138 case "$ac_configure_args0 " in
3139 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3140 esac
3142 -* ) ac_must_keep_next=true ;;
3143 esac
3145 as_fn_append ac_configure_args " '$ac_arg'"
3147 esac
3148 done
3149 done
3150 { ac_configure_args0=; unset ac_configure_args0;}
3151 { ac_configure_args1=; unset ac_configure_args1;}
3153 # When interrupted or exit'd, cleanup temporary files, and complete
3154 # config.log. We remove comments because anyway the quotes in there
3155 # would cause problems or look ugly.
3156 # WARNING: Use '\'' to represent an apostrophe within the trap.
3157 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3158 trap 'exit_status=$?
3159 # Save into config.log some information that might help in debugging.
3161 echo
3163 $as_echo "## ---------------- ##
3164 ## Cache variables. ##
3165 ## ---------------- ##"
3166 echo
3167 # The following way of writing the cache mishandles newlines in values,
3169 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3170 eval ac_val=\$$ac_var
3171 case $ac_val in #(
3172 *${as_nl}*)
3173 case $ac_var in #(
3174 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3175 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3176 esac
3177 case $ac_var in #(
3178 _ | IFS | as_nl) ;; #(
3179 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3180 *) { eval $ac_var=; unset $ac_var;} ;;
3181 esac ;;
3182 esac
3183 done
3184 (set) 2>&1 |
3185 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3186 *${as_nl}ac_space=\ *)
3187 sed -n \
3188 "s/'\''/'\''\\\\'\'''\''/g;
3189 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3190 ;; #(
3192 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3194 esac |
3195 sort
3197 echo
3199 $as_echo "## ----------------- ##
3200 ## Output variables. ##
3201 ## ----------------- ##"
3202 echo
3203 for ac_var in $ac_subst_vars
3205 eval ac_val=\$$ac_var
3206 case $ac_val in
3207 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3208 esac
3209 $as_echo "$ac_var='\''$ac_val'\''"
3210 done | sort
3211 echo
3213 if test -n "$ac_subst_files"; then
3214 $as_echo "## ------------------- ##
3215 ## File substitutions. ##
3216 ## ------------------- ##"
3217 echo
3218 for ac_var in $ac_subst_files
3220 eval ac_val=\$$ac_var
3221 case $ac_val in
3222 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3223 esac
3224 $as_echo "$ac_var='\''$ac_val'\''"
3225 done | sort
3226 echo
3229 if test -s confdefs.h; then
3230 $as_echo "## ----------- ##
3231 ## confdefs.h. ##
3232 ## ----------- ##"
3233 echo
3234 cat confdefs.h
3235 echo
3237 test "$ac_signal" != 0 &&
3238 $as_echo "$as_me: caught signal $ac_signal"
3239 $as_echo "$as_me: exit $exit_status"
3240 } >&5
3241 rm -f core *.core core.conftest.* &&
3242 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3243 exit $exit_status
3245 for ac_signal in 1 2 13 15; do
3246 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3247 done
3248 ac_signal=0
3250 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3251 rm -f -r conftest* confdefs.h
3253 $as_echo "/* confdefs.h */" > confdefs.h
3255 # Predefined preprocessor variables.
3257 cat >>confdefs.h <<_ACEOF
3258 #define PACKAGE_NAME "$PACKAGE_NAME"
3259 _ACEOF
3261 cat >>confdefs.h <<_ACEOF
3262 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3263 _ACEOF
3265 cat >>confdefs.h <<_ACEOF
3266 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3267 _ACEOF
3269 cat >>confdefs.h <<_ACEOF
3270 #define PACKAGE_STRING "$PACKAGE_STRING"
3271 _ACEOF
3273 cat >>confdefs.h <<_ACEOF
3274 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3275 _ACEOF
3277 cat >>confdefs.h <<_ACEOF
3278 #define PACKAGE_URL "$PACKAGE_URL"
3279 _ACEOF
3282 # Let the site file select an alternate cache file if it wants to.
3283 # Prefer an explicitly selected file to automatically selected ones.
3284 ac_site_file1=NONE
3285 ac_site_file2=NONE
3286 if test -n "$CONFIG_SITE"; then
3287 # We do not want a PATH search for config.site.
3288 case $CONFIG_SITE in #((
3289 -*) ac_site_file1=./$CONFIG_SITE;;
3290 */*) ac_site_file1=$CONFIG_SITE;;
3291 *) ac_site_file1=./$CONFIG_SITE;;
3292 esac
3293 elif test "x$prefix" != xNONE; then
3294 ac_site_file1=$prefix/share/config.site
3295 ac_site_file2=$prefix/etc/config.site
3296 else
3297 ac_site_file1=$ac_default_prefix/share/config.site
3298 ac_site_file2=$ac_default_prefix/etc/config.site
3300 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3302 test "x$ac_site_file" = xNONE && continue
3303 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3305 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3306 sed 's/^/| /' "$ac_site_file" >&5
3307 . "$ac_site_file" \
3308 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3310 as_fn_error $? "failed to load site script $ac_site_file
3311 See \`config.log' for more details" "$LINENO" 5; }
3313 done
3315 if test -r "$cache_file"; then
3316 # Some versions of bash will fail to source /dev/null (special files
3317 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3318 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3320 $as_echo "$as_me: loading cache $cache_file" >&6;}
3321 case $cache_file in
3322 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3323 *) . "./$cache_file";;
3324 esac
3326 else
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3328 $as_echo "$as_me: creating cache $cache_file" >&6;}
3329 >$cache_file
3332 # Check that the precious variables saved in the cache have kept the same
3333 # value.
3334 ac_cache_corrupted=false
3335 for ac_var in $ac_precious_vars; do
3336 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3337 eval ac_new_set=\$ac_env_${ac_var}_set
3338 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3339 eval ac_new_val=\$ac_env_${ac_var}_value
3340 case $ac_old_set,$ac_new_set in
3341 set,)
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3343 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3344 ac_cache_corrupted=: ;;
3345 ,set)
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3347 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3348 ac_cache_corrupted=: ;;
3349 ,);;
3351 if test "x$ac_old_val" != "x$ac_new_val"; then
3352 # differences in whitespace do not lead to failure.
3353 ac_old_val_w=`echo x $ac_old_val`
3354 ac_new_val_w=`echo x $ac_new_val`
3355 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3357 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3358 ac_cache_corrupted=:
3359 else
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3361 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3362 eval $ac_var=\$ac_old_val
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3365 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3367 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3368 fi;;
3369 esac
3370 # Pass precious variables to config.status.
3371 if test "$ac_new_set" = set; then
3372 case $ac_new_val in
3373 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3374 *) ac_arg=$ac_var=$ac_new_val ;;
3375 esac
3376 case " $ac_configure_args " in
3377 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3378 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3379 esac
3381 done
3382 if $ac_cache_corrupted; then
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3386 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3387 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3389 ## -------------------- ##
3390 ## Main body of script. ##
3391 ## -------------------- ##
3393 ac_ext=c
3394 ac_cpp='$CPP $CPPFLAGS'
3395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3401 ac_config_headers="$ac_config_headers include/config.h"
3403 ac_aux_dir=
3404 for ac_dir in tools "$srcdir"/tools; do
3405 if test -f "$ac_dir/install-sh"; then
3406 ac_aux_dir=$ac_dir
3407 ac_install_sh="$ac_aux_dir/install-sh -c"
3408 break
3409 elif test -f "$ac_dir/install.sh"; then
3410 ac_aux_dir=$ac_dir
3411 ac_install_sh="$ac_aux_dir/install.sh -c"
3412 break
3413 elif test -f "$ac_dir/shtool"; then
3414 ac_aux_dir=$ac_dir
3415 ac_install_sh="$ac_aux_dir/shtool install -c"
3416 break
3418 done
3419 if test -z "$ac_aux_dir"; then
3420 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3423 # These three variables are undocumented and unsupported,
3424 # and are intended to be withdrawn in a future Autoconf release.
3425 # They can cause serious problems if a builder's source tree is in a directory
3426 # whose full name contains unusual characters.
3427 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3428 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3429 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3433 libwine_version="1.0"
3437 # Check whether --enable-win16 was given.
3438 if test "${enable_win16+set}" = set; then :
3439 enableval=$enable_win16;
3442 # Check whether --enable-win64 was given.
3443 if test "${enable_win64+set}" = set; then :
3444 enableval=$enable_win64;
3447 # Check whether --enable-tests was given.
3448 if test "${enable_tests+set}" = set; then :
3449 enableval=$enable_tests;
3452 # Check whether --enable-maintainer-mode was given.
3453 if test "${enable_maintainer_mode+set}" = set; then :
3454 enableval=$enable_maintainer_mode;
3459 # Check whether --with-alsa was given.
3460 if test "${with_alsa+set}" = set; then :
3461 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3465 # Check whether --with-capi was given.
3466 if test "${with_capi+set}" = set; then :
3467 withval=$with_capi;
3471 # Check whether --with-cms was given.
3472 if test "${with_cms+set}" = set; then :
3473 withval=$with_cms;
3477 # Check whether --with-coreaudio was given.
3478 if test "${with_coreaudio+set}" = set; then :
3479 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3483 # Check whether --with-cups was given.
3484 if test "${with_cups+set}" = set; then :
3485 withval=$with_cups;
3489 # Check whether --with-curses was given.
3490 if test "${with_curses+set}" = set; then :
3491 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3495 # Check whether --with-dbus was given.
3496 if test "${with_dbus+set}" = set; then :
3497 withval=$with_dbus;
3501 # Check whether --with-fontconfig was given.
3502 if test "${with_fontconfig+set}" = set; then :
3503 withval=$with_fontconfig;
3507 # Check whether --with-freetype was given.
3508 if test "${with_freetype+set}" = set; then :
3509 withval=$with_freetype;
3513 # Check whether --with-gettext was given.
3514 if test "${with_gettext+set}" = set; then :
3515 withval=$with_gettext;
3519 # Check whether --with-gettextpo was given.
3520 if test "${with_gettextpo+set}" = set; then :
3521 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3525 # Check whether --with-gphoto was given.
3526 if test "${with_gphoto+set}" = set; then :
3527 withval=$with_gphoto;
3531 # Check whether --with-glu was given.
3532 if test "${with_glu+set}" = set; then :
3533 withval=$with_glu;
3537 # Check whether --with-gnutls was given.
3538 if test "${with_gnutls+set}" = set; then :
3539 withval=$with_gnutls;
3543 # Check whether --with-gsm was given.
3544 if test "${with_gsm+set}" = set; then :
3545 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3549 # Check whether --with-gstreamer was given.
3550 if test "${with_gstreamer+set}" = set; then :
3551 withval=$with_gstreamer;
3555 # Check whether --with-hal was given.
3556 if test "${with_hal+set}" = set; then :
3557 withval=$with_hal;
3561 # Check whether --with-jpeg was given.
3562 if test "${with_jpeg+set}" = set; then :
3563 withval=$with_jpeg;
3567 # Check whether --with-ldap was given.
3568 if test "${with_ldap+set}" = set; then :
3569 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3573 # Check whether --with-mpg123 was given.
3574 if test "${with_mpg123+set}" = set; then :
3575 withval=$with_mpg123;
3579 # Check whether --with-netapi was given.
3580 if test "${with_netapi+set}" = set; then :
3581 withval=$with_netapi;
3585 # Check whether --with-openal was given.
3586 if test "${with_openal+set}" = set; then :
3587 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3591 # Check whether --with-opencl was given.
3592 if test "${with_opencl+set}" = set; then :
3593 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3597 # Check whether --with-opengl was given.
3598 if test "${with_opengl+set}" = set; then :
3599 withval=$with_opengl;
3603 # Check whether --with-osmesa was given.
3604 if test "${with_osmesa+set}" = set; then :
3605 withval=$with_osmesa;
3609 # Check whether --with-oss was given.
3610 if test "${with_oss+set}" = set; then :
3611 withval=$with_oss;
3615 # Check whether --with-pcap was given.
3616 if test "${with_pcap+set}" = set; then :
3617 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3621 # Check whether --with-png was given.
3622 if test "${with_png+set}" = set; then :
3623 withval=$with_png;
3627 # Check whether --with-pthread was given.
3628 if test "${with_pthread+set}" = set; then :
3629 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3633 # Check whether --with-pulse was given.
3634 if test "${with_pulse+set}" = set; then :
3635 withval=$with_pulse;
3639 # Check whether --with-sane was given.
3640 if test "${with_sane+set}" = set; then :
3641 withval=$with_sane;
3645 # Check whether --with-tiff was given.
3646 if test "${with_tiff+set}" = set; then :
3647 withval=$with_tiff;
3651 # Check whether --with-udev was given.
3652 if test "${with_udev+set}" = set; then :
3653 withval=$with_udev;
3657 # Check whether --with-v4l was given.
3658 if test "${with_v4l+set}" = set; then :
3659 withval=$with_v4l;
3663 # Check whether --with-xcomposite was given.
3664 if test "${with_xcomposite+set}" = set; then :
3665 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3669 # Check whether --with-xcursor was given.
3670 if test "${with_xcursor+set}" = set; then :
3671 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3675 # Check whether --with-xfixes was given.
3676 if test "${with_xfixes+set}" = set; then :
3677 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3681 # Check whether --with-xinerama was given.
3682 if test "${with_xinerama+set}" = set; then :
3683 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3687 # Check whether --with-xinput was given.
3688 if test "${with_xinput+set}" = set; then :
3689 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3693 # Check whether --with-xinput2 was given.
3694 if test "${with_xinput2+set}" = set; then :
3695 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3699 # Check whether --with-xml was given.
3700 if test "${with_xml+set}" = set; then :
3701 withval=$with_xml;
3705 # Check whether --with-xrandr was given.
3706 if test "${with_xrandr+set}" = set; then :
3707 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3711 # Check whether --with-xrender was given.
3712 if test "${with_xrender+set}" = set; then :
3713 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3717 # Check whether --with-xshape was given.
3718 if test "${with_xshape+set}" = set; then :
3719 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3723 # Check whether --with-xshm was given.
3724 if test "${with_xshm+set}" = set; then :
3725 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3729 # Check whether --with-xslt was given.
3730 if test "${with_xslt+set}" = set; then :
3731 withval=$with_xslt;
3735 # Check whether --with-xxf86vm was given.
3736 if test "${with_xxf86vm+set}" = set; then :
3737 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
3741 # Check whether --with-zlib was given.
3742 if test "${with_zlib+set}" = set; then :
3743 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3748 # Check whether --with-wine-tools was given.
3749 if test "${with_wine_tools+set}" = set; then :
3750 withval=$with_wine_tools;
3754 # Check whether --with-wine64 was given.
3755 if test "${with_wine64+set}" = set; then :
3756 withval=$with_wine64;
3760 # Make sure we can run config.sub.
3761 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3762 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3765 $as_echo_n "checking build system type... " >&6; }
3766 if ${ac_cv_build+:} false; then :
3767 $as_echo_n "(cached) " >&6
3768 else
3769 ac_build_alias=$build_alias
3770 test "x$ac_build_alias" = x &&
3771 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3772 test "x$ac_build_alias" = x &&
3773 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3774 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3775 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3779 $as_echo "$ac_cv_build" >&6; }
3780 case $ac_cv_build in
3781 *-*-*) ;;
3782 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3783 esac
3784 build=$ac_cv_build
3785 ac_save_IFS=$IFS; IFS='-'
3786 set x $ac_cv_build
3787 shift
3788 build_cpu=$1
3789 build_vendor=$2
3790 shift; shift
3791 # Remember, the first character of IFS is used to create $*,
3792 # except with old shells:
3793 build_os=$*
3794 IFS=$ac_save_IFS
3795 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3799 $as_echo_n "checking host system type... " >&6; }
3800 if ${ac_cv_host+:} false; then :
3801 $as_echo_n "(cached) " >&6
3802 else
3803 if test "x$host_alias" = x; then
3804 ac_cv_host=$ac_cv_build
3805 else
3806 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3807 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3812 $as_echo "$ac_cv_host" >&6; }
3813 case $ac_cv_host in
3814 *-*-*) ;;
3815 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3816 esac
3817 host=$ac_cv_host
3818 ac_save_IFS=$IFS; IFS='-'
3819 set x $ac_cv_host
3820 shift
3821 host_cpu=$1
3822 host_vendor=$2
3823 shift; shift
3824 # Remember, the first character of IFS is used to create $*,
3825 # except with old shells:
3826 host_os=$*
3827 IFS=$ac_save_IFS
3828 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3832 case "$srcdir" in
3833 .) ;;
3834 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3835 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3836 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3837 fi ;;
3838 esac
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3842 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3843 set x ${MAKE-make}
3844 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3845 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3846 $as_echo_n "(cached) " >&6
3847 else
3848 cat >conftest.make <<\_ACEOF
3849 SHELL = /bin/sh
3850 all:
3851 @echo '@@@%%%=$(MAKE)=@@@%%%'
3852 _ACEOF
3853 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3854 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3855 *@@@%%%=?*=@@@%%%*)
3856 eval ac_cv_prog_make_${ac_make}_set=yes;;
3858 eval ac_cv_prog_make_${ac_make}_set=no;;
3859 esac
3860 rm -f conftest.make
3862 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3864 $as_echo "yes" >&6; }
3865 SET_MAKE=
3866 else
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3868 $as_echo "no" >&6; }
3869 SET_MAKE="MAKE=${MAKE-make}"
3872 ac_ext=c
3873 ac_cpp='$CPP $CPPFLAGS'
3874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3877 if test -n "$ac_tool_prefix"; then
3878 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3879 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3881 $as_echo_n "checking for $ac_word... " >&6; }
3882 if ${ac_cv_prog_CC+:} false; then :
3883 $as_echo_n "(cached) " >&6
3884 else
3885 if test -n "$CC"; then
3886 ac_cv_prog_CC="$CC" # Let the user override the test.
3887 else
3888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3889 for as_dir in $PATH
3891 IFS=$as_save_IFS
3892 test -z "$as_dir" && as_dir=.
3893 for ac_exec_ext in '' $ac_executable_extensions; do
3894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3895 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3897 break 2
3899 done
3900 done
3901 IFS=$as_save_IFS
3905 CC=$ac_cv_prog_CC
3906 if test -n "$CC"; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3908 $as_echo "$CC" >&6; }
3909 else
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911 $as_echo "no" >&6; }
3916 if test -z "$ac_cv_prog_CC"; then
3917 ac_ct_CC=$CC
3918 # Extract the first word of "gcc", so it can be a program name with args.
3919 set dummy gcc; ac_word=$2
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3921 $as_echo_n "checking for $ac_word... " >&6; }
3922 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3923 $as_echo_n "(cached) " >&6
3924 else
3925 if test -n "$ac_ct_CC"; then
3926 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3927 else
3928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3929 for as_dir in $PATH
3931 IFS=$as_save_IFS
3932 test -z "$as_dir" && as_dir=.
3933 for ac_exec_ext in '' $ac_executable_extensions; do
3934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3935 ac_cv_prog_ac_ct_CC="gcc"
3936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3937 break 2
3939 done
3940 done
3941 IFS=$as_save_IFS
3945 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3946 if test -n "$ac_ct_CC"; then
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3948 $as_echo "$ac_ct_CC" >&6; }
3949 else
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3951 $as_echo "no" >&6; }
3954 if test "x$ac_ct_CC" = x; then
3955 CC=""
3956 else
3957 case $cross_compiling:$ac_tool_warned in
3958 yes:)
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3961 ac_tool_warned=yes ;;
3962 esac
3963 CC=$ac_ct_CC
3965 else
3966 CC="$ac_cv_prog_CC"
3969 if test -z "$CC"; then
3970 if test -n "$ac_tool_prefix"; then
3971 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3972 set dummy ${ac_tool_prefix}cc; ac_word=$2
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3974 $as_echo_n "checking for $ac_word... " >&6; }
3975 if ${ac_cv_prog_CC+:} false; then :
3976 $as_echo_n "(cached) " >&6
3977 else
3978 if test -n "$CC"; then
3979 ac_cv_prog_CC="$CC" # Let the user override the test.
3980 else
3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982 for as_dir in $PATH
3984 IFS=$as_save_IFS
3985 test -z "$as_dir" && as_dir=.
3986 for ac_exec_ext in '' $ac_executable_extensions; do
3987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3988 ac_cv_prog_CC="${ac_tool_prefix}cc"
3989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 break 2
3992 done
3993 done
3994 IFS=$as_save_IFS
3998 CC=$ac_cv_prog_CC
3999 if test -n "$CC"; then
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4001 $as_echo "$CC" >&6; }
4002 else
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4004 $as_echo "no" >&6; }
4010 if test -z "$CC"; then
4011 # Extract the first word of "cc", so it can be a program name with args.
4012 set dummy cc; ac_word=$2
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4014 $as_echo_n "checking for $ac_word... " >&6; }
4015 if ${ac_cv_prog_CC+:} false; then :
4016 $as_echo_n "(cached) " >&6
4017 else
4018 if test -n "$CC"; then
4019 ac_cv_prog_CC="$CC" # Let the user override the test.
4020 else
4021 ac_prog_rejected=no
4022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4023 for as_dir in $PATH
4025 IFS=$as_save_IFS
4026 test -z "$as_dir" && as_dir=.
4027 for ac_exec_ext in '' $ac_executable_extensions; do
4028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4029 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4030 ac_prog_rejected=yes
4031 continue
4033 ac_cv_prog_CC="cc"
4034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4035 break 2
4037 done
4038 done
4039 IFS=$as_save_IFS
4041 if test $ac_prog_rejected = yes; then
4042 # We found a bogon in the path, so make sure we never use it.
4043 set dummy $ac_cv_prog_CC
4044 shift
4045 if test $# != 0; then
4046 # We chose a different compiler from the bogus one.
4047 # However, it has the same basename, so the bogon will be chosen
4048 # first if we set CC to just the basename; use the full file name.
4049 shift
4050 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4055 CC=$ac_cv_prog_CC
4056 if test -n "$CC"; then
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4058 $as_echo "$CC" >&6; }
4059 else
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4061 $as_echo "no" >&6; }
4066 if test -z "$CC"; then
4067 if test -n "$ac_tool_prefix"; then
4068 for ac_prog in cl.exe
4070 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4071 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4073 $as_echo_n "checking for $ac_word... " >&6; }
4074 if ${ac_cv_prog_CC+:} false; then :
4075 $as_echo_n "(cached) " >&6
4076 else
4077 if test -n "$CC"; then
4078 ac_cv_prog_CC="$CC" # Let the user override the test.
4079 else
4080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4081 for as_dir in $PATH
4083 IFS=$as_save_IFS
4084 test -z "$as_dir" && as_dir=.
4085 for ac_exec_ext in '' $ac_executable_extensions; do
4086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4087 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4089 break 2
4091 done
4092 done
4093 IFS=$as_save_IFS
4097 CC=$ac_cv_prog_CC
4098 if test -n "$CC"; then
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4100 $as_echo "$CC" >&6; }
4101 else
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4103 $as_echo "no" >&6; }
4107 test -n "$CC" && break
4108 done
4110 if test -z "$CC"; then
4111 ac_ct_CC=$CC
4112 for ac_prog in cl.exe
4114 # Extract the first word of "$ac_prog", so it can be a program name with args.
4115 set dummy $ac_prog; ac_word=$2
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4117 $as_echo_n "checking for $ac_word... " >&6; }
4118 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4119 $as_echo_n "(cached) " >&6
4120 else
4121 if test -n "$ac_ct_CC"; then
4122 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4123 else
4124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4125 for as_dir in $PATH
4127 IFS=$as_save_IFS
4128 test -z "$as_dir" && as_dir=.
4129 for ac_exec_ext in '' $ac_executable_extensions; do
4130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4131 ac_cv_prog_ac_ct_CC="$ac_prog"
4132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4133 break 2
4135 done
4136 done
4137 IFS=$as_save_IFS
4141 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4142 if test -n "$ac_ct_CC"; then
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4144 $as_echo "$ac_ct_CC" >&6; }
4145 else
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4147 $as_echo "no" >&6; }
4151 test -n "$ac_ct_CC" && break
4152 done
4154 if test "x$ac_ct_CC" = x; then
4155 CC=""
4156 else
4157 case $cross_compiling:$ac_tool_warned in
4158 yes:)
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4161 ac_tool_warned=yes ;;
4162 esac
4163 CC=$ac_ct_CC
4170 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4172 as_fn_error $? "no acceptable C compiler found in \$PATH
4173 See \`config.log' for more details" "$LINENO" 5; }
4175 # Provide some information about the compiler.
4176 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4177 set X $ac_compile
4178 ac_compiler=$2
4179 for ac_option in --version -v -V -qversion; do
4180 { { ac_try="$ac_compiler $ac_option >&5"
4181 case "(($ac_try" in
4182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4183 *) ac_try_echo=$ac_try;;
4184 esac
4185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4186 $as_echo "$ac_try_echo"; } >&5
4187 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4188 ac_status=$?
4189 if test -s conftest.err; then
4190 sed '10a\
4191 ... rest of stderr output deleted ...
4192 10q' conftest.err >conftest.er1
4193 cat conftest.er1 >&5
4195 rm -f conftest.er1 conftest.err
4196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4197 test $ac_status = 0; }
4198 done
4200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h. */
4204 main ()
4208 return 0;
4210 _ACEOF
4211 ac_clean_files_save=$ac_clean_files
4212 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4213 # Try to create an executable without -o first, disregard a.out.
4214 # It will help us diagnose broken compilers, and finding out an intuition
4215 # of exeext.
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4217 $as_echo_n "checking whether the C compiler works... " >&6; }
4218 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4220 # The possible output files:
4221 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4223 ac_rmfiles=
4224 for ac_file in $ac_files
4226 case $ac_file in
4227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4228 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4229 esac
4230 done
4231 rm -f $ac_rmfiles
4233 if { { ac_try="$ac_link_default"
4234 case "(($ac_try" in
4235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4236 *) ac_try_echo=$ac_try;;
4237 esac
4238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4239 $as_echo "$ac_try_echo"; } >&5
4240 (eval "$ac_link_default") 2>&5
4241 ac_status=$?
4242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4243 test $ac_status = 0; }; then :
4244 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4245 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4246 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4247 # so that the user can short-circuit this test for compilers unknown to
4248 # Autoconf.
4249 for ac_file in $ac_files ''
4251 test -f "$ac_file" || continue
4252 case $ac_file in
4253 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4255 [ab].out )
4256 # We found the default executable, but exeext='' is most
4257 # certainly right.
4258 break;;
4259 *.* )
4260 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4261 then :; else
4262 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4264 # We set ac_cv_exeext here because the later test for it is not
4265 # safe: cross compilers may not add the suffix if given an `-o'
4266 # argument, so we may need to know it at that point already.
4267 # Even if this section looks crufty: it has the advantage of
4268 # actually working.
4269 break;;
4271 break;;
4272 esac
4273 done
4274 test "$ac_cv_exeext" = no && ac_cv_exeext=
4276 else
4277 ac_file=''
4279 if test -z "$ac_file"; then :
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4281 $as_echo "no" >&6; }
4282 $as_echo "$as_me: failed program was:" >&5
4283 sed 's/^/| /' conftest.$ac_ext >&5
4285 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4287 as_fn_error 77 "C compiler cannot create executables
4288 See \`config.log' for more details" "$LINENO" 5; }
4289 else
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4291 $as_echo "yes" >&6; }
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4294 $as_echo_n "checking for C compiler default output file name... " >&6; }
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4296 $as_echo "$ac_file" >&6; }
4297 ac_exeext=$ac_cv_exeext
4299 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4300 ac_clean_files=$ac_clean_files_save
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4302 $as_echo_n "checking for suffix of executables... " >&6; }
4303 if { { ac_try="$ac_link"
4304 case "(($ac_try" in
4305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4306 *) ac_try_echo=$ac_try;;
4307 esac
4308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4309 $as_echo "$ac_try_echo"; } >&5
4310 (eval "$ac_link") 2>&5
4311 ac_status=$?
4312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4313 test $ac_status = 0; }; then :
4314 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4315 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4316 # work properly (i.e., refer to `conftest.exe'), while it won't with
4317 # `rm'.
4318 for ac_file in conftest.exe conftest conftest.*; do
4319 test -f "$ac_file" || continue
4320 case $ac_file in
4321 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4322 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4323 break;;
4324 * ) break;;
4325 esac
4326 done
4327 else
4328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4330 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4331 See \`config.log' for more details" "$LINENO" 5; }
4333 rm -f conftest conftest$ac_cv_exeext
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4335 $as_echo "$ac_cv_exeext" >&6; }
4337 rm -f conftest.$ac_ext
4338 EXEEXT=$ac_cv_exeext
4339 ac_exeext=$EXEEXT
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4342 #include <stdio.h>
4344 main ()
4346 FILE *f = fopen ("conftest.out", "w");
4347 return ferror (f) || fclose (f) != 0;
4350 return 0;
4352 _ACEOF
4353 ac_clean_files="$ac_clean_files conftest.out"
4354 # Check that the compiler produces executables we can run. If not, either
4355 # the compiler is broken, or we cross compile.
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4357 $as_echo_n "checking whether we are cross compiling... " >&6; }
4358 if test "$cross_compiling" != yes; then
4359 { { ac_try="$ac_link"
4360 case "(($ac_try" in
4361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4362 *) ac_try_echo=$ac_try;;
4363 esac
4364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4365 $as_echo "$ac_try_echo"; } >&5
4366 (eval "$ac_link") 2>&5
4367 ac_status=$?
4368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4369 test $ac_status = 0; }
4370 if { ac_try='./conftest$ac_cv_exeext'
4371 { { case "(($ac_try" in
4372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4373 *) ac_try_echo=$ac_try;;
4374 esac
4375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4376 $as_echo "$ac_try_echo"; } >&5
4377 (eval "$ac_try") 2>&5
4378 ac_status=$?
4379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4380 test $ac_status = 0; }; }; then
4381 cross_compiling=no
4382 else
4383 if test "$cross_compiling" = maybe; then
4384 cross_compiling=yes
4385 else
4386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4388 as_fn_error $? "cannot run C compiled programs.
4389 If you meant to cross compile, use \`--host'.
4390 See \`config.log' for more details" "$LINENO" 5; }
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4395 $as_echo "$cross_compiling" >&6; }
4397 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4398 ac_clean_files=$ac_clean_files_save
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4400 $as_echo_n "checking for suffix of object files... " >&6; }
4401 if ${ac_cv_objext+:} false; then :
4402 $as_echo_n "(cached) " >&6
4403 else
4404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4405 /* end confdefs.h. */
4408 main ()
4412 return 0;
4414 _ACEOF
4415 rm -f conftest.o conftest.obj
4416 if { { ac_try="$ac_compile"
4417 case "(($ac_try" in
4418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4419 *) ac_try_echo=$ac_try;;
4420 esac
4421 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4422 $as_echo "$ac_try_echo"; } >&5
4423 (eval "$ac_compile") 2>&5
4424 ac_status=$?
4425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4426 test $ac_status = 0; }; then :
4427 for ac_file in conftest.o conftest.obj conftest.*; do
4428 test -f "$ac_file" || continue;
4429 case $ac_file in
4430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4431 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4432 break;;
4433 esac
4434 done
4435 else
4436 $as_echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.$ac_ext >&5
4439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4441 as_fn_error $? "cannot compute suffix of object files: cannot compile
4442 See \`config.log' for more details" "$LINENO" 5; }
4444 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4447 $as_echo "$ac_cv_objext" >&6; }
4448 OBJEXT=$ac_cv_objext
4449 ac_objext=$OBJEXT
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4451 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4452 if ${ac_cv_c_compiler_gnu+:} false; then :
4453 $as_echo_n "(cached) " >&6
4454 else
4455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4456 /* end confdefs.h. */
4459 main ()
4461 #ifndef __GNUC__
4462 choke me
4463 #endif
4466 return 0;
4468 _ACEOF
4469 if ac_fn_c_try_compile "$LINENO"; then :
4470 ac_compiler_gnu=yes
4471 else
4472 ac_compiler_gnu=no
4474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4475 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4479 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4480 if test $ac_compiler_gnu = yes; then
4481 GCC=yes
4482 else
4483 GCC=
4485 ac_test_CFLAGS=${CFLAGS+set}
4486 ac_save_CFLAGS=$CFLAGS
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4488 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4489 if ${ac_cv_prog_cc_g+:} false; then :
4490 $as_echo_n "(cached) " >&6
4491 else
4492 ac_save_c_werror_flag=$ac_c_werror_flag
4493 ac_c_werror_flag=yes
4494 ac_cv_prog_cc_g=no
4495 CFLAGS="-g"
4496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4497 /* end confdefs.h. */
4500 main ()
4504 return 0;
4506 _ACEOF
4507 if ac_fn_c_try_compile "$LINENO"; then :
4508 ac_cv_prog_cc_g=yes
4509 else
4510 CFLAGS=""
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4515 main ()
4519 return 0;
4521 _ACEOF
4522 if ac_fn_c_try_compile "$LINENO"; then :
4524 else
4525 ac_c_werror_flag=$ac_save_c_werror_flag
4526 CFLAGS="-g"
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4531 main ()
4535 return 0;
4537 _ACEOF
4538 if ac_fn_c_try_compile "$LINENO"; then :
4539 ac_cv_prog_cc_g=yes
4541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4546 ac_c_werror_flag=$ac_save_c_werror_flag
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4549 $as_echo "$ac_cv_prog_cc_g" >&6; }
4550 if test "$ac_test_CFLAGS" = set; then
4551 CFLAGS=$ac_save_CFLAGS
4552 elif test $ac_cv_prog_cc_g = yes; then
4553 if test "$GCC" = yes; then
4554 CFLAGS="-g -O2"
4555 else
4556 CFLAGS="-g"
4558 else
4559 if test "$GCC" = yes; then
4560 CFLAGS="-O2"
4561 else
4562 CFLAGS=
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4566 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4567 if ${ac_cv_prog_cc_c89+:} false; then :
4568 $as_echo_n "(cached) " >&6
4569 else
4570 ac_cv_prog_cc_c89=no
4571 ac_save_CC=$CC
4572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4574 #include <stdarg.h>
4575 #include <stdio.h>
4576 struct stat;
4577 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4578 struct buf { int x; };
4579 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4580 static char *e (p, i)
4581 char **p;
4582 int i;
4584 return p[i];
4586 static char *f (char * (*g) (char **, int), char **p, ...)
4588 char *s;
4589 va_list v;
4590 va_start (v,p);
4591 s = g (p, va_arg (v,int));
4592 va_end (v);
4593 return s;
4596 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4597 function prototypes and stuff, but not '\xHH' hex character constants.
4598 These don't provoke an error unfortunately, instead are silently treated
4599 as 'x'. The following induces an error, until -std is added to get
4600 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4601 array size at least. It's necessary to write '\x00'==0 to get something
4602 that's true only with -std. */
4603 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4605 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4606 inside strings and character constants. */
4607 #define FOO(x) 'x'
4608 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4610 int test (int i, double x);
4611 struct s1 {int (*f) (int a);};
4612 struct s2 {int (*f) (double a);};
4613 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4614 int argc;
4615 char **argv;
4617 main ()
4619 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4621 return 0;
4623 _ACEOF
4624 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4625 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4627 CC="$ac_save_CC $ac_arg"
4628 if ac_fn_c_try_compile "$LINENO"; then :
4629 ac_cv_prog_cc_c89=$ac_arg
4631 rm -f core conftest.err conftest.$ac_objext
4632 test "x$ac_cv_prog_cc_c89" != "xno" && break
4633 done
4634 rm -f conftest.$ac_ext
4635 CC=$ac_save_CC
4638 # AC_CACHE_VAL
4639 case "x$ac_cv_prog_cc_c89" in
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4642 $as_echo "none needed" >&6; } ;;
4643 xno)
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4645 $as_echo "unsupported" >&6; } ;;
4647 CC="$CC $ac_cv_prog_cc_c89"
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4649 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4650 esac
4651 if test "x$ac_cv_prog_cc_c89" != xno; then :
4655 ac_ext=c
4656 ac_cpp='$CPP $CPPFLAGS'
4657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4661 ac_ext=cpp
4662 ac_cpp='$CXXCPP $CPPFLAGS'
4663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4666 if test -z "$CXX"; then
4667 if test -n "$CCC"; then
4668 CXX=$CCC
4669 else
4670 if test -n "$ac_tool_prefix"; then
4671 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4673 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4674 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4676 $as_echo_n "checking for $ac_word... " >&6; }
4677 if ${ac_cv_prog_CXX+:} false; then :
4678 $as_echo_n "(cached) " >&6
4679 else
4680 if test -n "$CXX"; then
4681 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4682 else
4683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4684 for as_dir in $PATH
4686 IFS=$as_save_IFS
4687 test -z "$as_dir" && as_dir=.
4688 for ac_exec_ext in '' $ac_executable_extensions; do
4689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4690 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4692 break 2
4694 done
4695 done
4696 IFS=$as_save_IFS
4700 CXX=$ac_cv_prog_CXX
4701 if test -n "$CXX"; then
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4703 $as_echo "$CXX" >&6; }
4704 else
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4706 $as_echo "no" >&6; }
4710 test -n "$CXX" && break
4711 done
4713 if test -z "$CXX"; then
4714 ac_ct_CXX=$CXX
4715 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4717 # Extract the first word of "$ac_prog", so it can be a program name with args.
4718 set dummy $ac_prog; ac_word=$2
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4720 $as_echo_n "checking for $ac_word... " >&6; }
4721 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4722 $as_echo_n "(cached) " >&6
4723 else
4724 if test -n "$ac_ct_CXX"; then
4725 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4726 else
4727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4728 for as_dir in $PATH
4730 IFS=$as_save_IFS
4731 test -z "$as_dir" && as_dir=.
4732 for ac_exec_ext in '' $ac_executable_extensions; do
4733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4734 ac_cv_prog_ac_ct_CXX="$ac_prog"
4735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4736 break 2
4738 done
4739 done
4740 IFS=$as_save_IFS
4744 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4745 if test -n "$ac_ct_CXX"; then
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4747 $as_echo "$ac_ct_CXX" >&6; }
4748 else
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4750 $as_echo "no" >&6; }
4754 test -n "$ac_ct_CXX" && break
4755 done
4757 if test "x$ac_ct_CXX" = x; then
4758 CXX="g++"
4759 else
4760 case $cross_compiling:$ac_tool_warned in
4761 yes:)
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4764 ac_tool_warned=yes ;;
4765 esac
4766 CXX=$ac_ct_CXX
4772 # Provide some information about the compiler.
4773 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4774 set X $ac_compile
4775 ac_compiler=$2
4776 for ac_option in --version -v -V -qversion; do
4777 { { ac_try="$ac_compiler $ac_option >&5"
4778 case "(($ac_try" in
4779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4780 *) ac_try_echo=$ac_try;;
4781 esac
4782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4783 $as_echo "$ac_try_echo"; } >&5
4784 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4785 ac_status=$?
4786 if test -s conftest.err; then
4787 sed '10a\
4788 ... rest of stderr output deleted ...
4789 10q' conftest.err >conftest.er1
4790 cat conftest.er1 >&5
4792 rm -f conftest.er1 conftest.err
4793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4794 test $ac_status = 0; }
4795 done
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4798 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4799 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4800 $as_echo_n "(cached) " >&6
4801 else
4802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4803 /* end confdefs.h. */
4806 main ()
4808 #ifndef __GNUC__
4809 choke me
4810 #endif
4813 return 0;
4815 _ACEOF
4816 if ac_fn_cxx_try_compile "$LINENO"; then :
4817 ac_compiler_gnu=yes
4818 else
4819 ac_compiler_gnu=no
4821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4822 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4826 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4827 if test $ac_compiler_gnu = yes; then
4828 GXX=yes
4829 else
4830 GXX=
4832 ac_test_CXXFLAGS=${CXXFLAGS+set}
4833 ac_save_CXXFLAGS=$CXXFLAGS
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4835 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4836 if ${ac_cv_prog_cxx_g+:} false; then :
4837 $as_echo_n "(cached) " >&6
4838 else
4839 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4840 ac_cxx_werror_flag=yes
4841 ac_cv_prog_cxx_g=no
4842 CXXFLAGS="-g"
4843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4844 /* end confdefs.h. */
4847 main ()
4851 return 0;
4853 _ACEOF
4854 if ac_fn_cxx_try_compile "$LINENO"; then :
4855 ac_cv_prog_cxx_g=yes
4856 else
4857 CXXFLAGS=""
4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4859 /* end confdefs.h. */
4862 main ()
4866 return 0;
4868 _ACEOF
4869 if ac_fn_cxx_try_compile "$LINENO"; then :
4871 else
4872 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4873 CXXFLAGS="-g"
4874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4878 main ()
4882 return 0;
4884 _ACEOF
4885 if ac_fn_cxx_try_compile "$LINENO"; then :
4886 ac_cv_prog_cxx_g=yes
4888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4893 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4896 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4897 if test "$ac_test_CXXFLAGS" = set; then
4898 CXXFLAGS=$ac_save_CXXFLAGS
4899 elif test $ac_cv_prog_cxx_g = yes; then
4900 if test "$GXX" = yes; then
4901 CXXFLAGS="-g -O2"
4902 else
4903 CXXFLAGS="-g"
4905 else
4906 if test "$GXX" = yes; then
4907 CXXFLAGS="-O2"
4908 else
4909 CXXFLAGS=
4912 ac_ext=c
4913 ac_cpp='$CPP $CPPFLAGS'
4914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4918 if test -n "$ac_tool_prefix"; then
4919 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4920 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4922 $as_echo_n "checking for $ac_word... " >&6; }
4923 if ${ac_cv_prog_CPPBIN+:} false; then :
4924 $as_echo_n "(cached) " >&6
4925 else
4926 if test -n "$CPPBIN"; then
4927 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4928 else
4929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930 for as_dir in $PATH
4932 IFS=$as_save_IFS
4933 test -z "$as_dir" && as_dir=.
4934 for ac_exec_ext in '' $ac_executable_extensions; do
4935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4936 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4938 break 2
4940 done
4941 done
4942 IFS=$as_save_IFS
4946 CPPBIN=$ac_cv_prog_CPPBIN
4947 if test -n "$CPPBIN"; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4949 $as_echo "$CPPBIN" >&6; }
4950 else
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 $as_echo "no" >&6; }
4957 if test -z "$ac_cv_prog_CPPBIN"; then
4958 ac_ct_CPPBIN=$CPPBIN
4959 # Extract the first word of "cpp", so it can be a program name with args.
4960 set dummy cpp; ac_word=$2
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4962 $as_echo_n "checking for $ac_word... " >&6; }
4963 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4964 $as_echo_n "(cached) " >&6
4965 else
4966 if test -n "$ac_ct_CPPBIN"; then
4967 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4968 else
4969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4970 for as_dir in $PATH
4972 IFS=$as_save_IFS
4973 test -z "$as_dir" && as_dir=.
4974 for ac_exec_ext in '' $ac_executable_extensions; do
4975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4976 ac_cv_prog_ac_ct_CPPBIN="cpp"
4977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4978 break 2
4980 done
4981 done
4982 IFS=$as_save_IFS
4986 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4987 if test -n "$ac_ct_CPPBIN"; then
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4989 $as_echo "$ac_ct_CPPBIN" >&6; }
4990 else
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4992 $as_echo "no" >&6; }
4995 if test "x$ac_ct_CPPBIN" = x; then
4996 CPPBIN="cpp"
4997 else
4998 case $cross_compiling:$ac_tool_warned in
4999 yes:)
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5002 ac_tool_warned=yes ;;
5003 esac
5004 CPPBIN=$ac_ct_CPPBIN
5006 else
5007 CPPBIN="$ac_cv_prog_CPPBIN"
5011 cat >>confdefs.h <<_ACEOF
5012 #define EXEEXT "$ac_exeext"
5013 _ACEOF
5015 if test -n "$ac_tool_prefix"; then
5016 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5017 set dummy ${ac_tool_prefix}ld; ac_word=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if ${ac_cv_prog_LD+:} false; then :
5021 $as_echo_n "(cached) " >&6
5022 else
5023 if test -n "$LD"; then
5024 ac_cv_prog_LD="$LD" # Let the user override the test.
5025 else
5026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5027 for as_dir in $PATH
5029 IFS=$as_save_IFS
5030 test -z "$as_dir" && as_dir=.
5031 for ac_exec_ext in '' $ac_executable_extensions; do
5032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5033 ac_cv_prog_LD="${ac_tool_prefix}ld"
5034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5035 break 2
5037 done
5038 done
5039 IFS=$as_save_IFS
5043 LD=$ac_cv_prog_LD
5044 if test -n "$LD"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5046 $as_echo "$LD" >&6; }
5047 else
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5054 if test -z "$ac_cv_prog_LD"; then
5055 ac_ct_LD=$LD
5056 # Extract the first word of "ld", so it can be a program name with args.
5057 set dummy ld; ac_word=$2
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059 $as_echo_n "checking for $ac_word... " >&6; }
5060 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5061 $as_echo_n "(cached) " >&6
5062 else
5063 if test -n "$ac_ct_LD"; then
5064 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5065 else
5066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5067 for as_dir in $PATH
5069 IFS=$as_save_IFS
5070 test -z "$as_dir" && as_dir=.
5071 for ac_exec_ext in '' $ac_executable_extensions; do
5072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5073 ac_cv_prog_ac_ct_LD="ld"
5074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075 break 2
5077 done
5078 done
5079 IFS=$as_save_IFS
5083 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5084 if test -n "$ac_ct_LD"; then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5086 $as_echo "$ac_ct_LD" >&6; }
5087 else
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }
5092 if test "x$ac_ct_LD" = x; then
5093 LD=""
5094 else
5095 case $cross_compiling:$ac_tool_warned in
5096 yes:)
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5099 ac_tool_warned=yes ;;
5100 esac
5101 LD=$ac_ct_LD
5103 else
5104 LD="$ac_cv_prog_LD"
5108 case $host in
5109 *-darwin*)
5110 with_fontconfig=${with_fontconfig:-no}
5112 *-mingw32*|*-cygwin*)
5113 enable_win16=${enable_win16:-no}
5114 CFLAGS="$CFLAGS -D_WIN32"
5116 esac
5118 case $host in
5119 x86_64*|amd64*)
5120 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5121 then
5122 CC="$CC -m32"
5123 CXX="$CXX -m32"
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5125 $as_echo_n "checking whether $CC works... " >&6; }
5127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5128 /* end confdefs.h. */
5131 main ()
5135 return 0;
5137 _ACEOF
5138 if ac_fn_c_try_link "$LINENO"; then :
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5140 $as_echo "yes" >&6; }
5141 else
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 $as_echo "no" >&6; }
5144 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5146 rm -f core conftest.err conftest.$ac_objext \
5147 conftest$ac_exeext conftest.$ac_ext
5148 host_cpu="i386"
5149 notice_platform="32-bit "
5150 TARGETFLAGS="-m32"
5152 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5153 export PKG_CONFIG_PATH
5154 enable_win16=${enable_win16:-yes}
5155 else
5156 if test "x${GCC}" = "xyes"
5157 then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5159 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5161 /* end confdefs.h. */
5162 #include <stdarg.h>
5164 main ()
5166 void func(__builtin_ms_va_list *args);
5168 return 0;
5170 _ACEOF
5171 if ac_fn_c_try_compile "$LINENO"; then :
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5173 $as_echo "yes" >&6; }
5174 else
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5177 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5181 CC="$CC -m64"
5182 CXX="$CXX -m64"
5183 host_cpu="x86_64"
5184 notice_platform="64-bit "
5185 TARGETFLAGS="-m64"
5189 arm*)
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5191 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5193 /* end confdefs.h. */
5194 int ac_test(int i) { return i; }
5196 main ()
5198 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5200 return 0;
5202 _ACEOF
5203 if ac_fn_c_try_link "$LINENO"; then :
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5205 $as_echo "yes" >&6; }
5206 else
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5209 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5211 rm -f core conftest.err conftest.$ac_objext \
5212 conftest$ac_exeext conftest.$ac_ext
5213 CFLAGS="$CFLAGS -marm"
5214 TARGETFLAGS="-marm"
5217 i[3456789]86*)
5218 enable_win16=${enable_win16:-yes}
5220 esac
5222 enable_win16=${enable_win16:-no}
5223 enable_win64=${enable_win64:-no}
5225 enable_winetest=${enable_winetest:-$enable_tests}
5227 if test -n "$with_wine64"
5228 then
5229 if test "x$enable_win64" = "xyes"
5230 then
5231 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5232 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5234 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5235 You should create a separate build directory and run configure from there." "$LINENO" 5
5236 enable_fonts=${enable_fonts:-no}
5237 enable_server=${enable_server:-no}
5238 elif test "x$enable_win64" = "xyes"
5239 then
5240 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5244 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5245 if ${wine_cv_toolsdir+:} false; then :
5246 $as_echo_n "(cached) " >&6
5247 else
5248 wine_cv_toolsdir="$with_wine_tools"
5249 if test -z "$with_wine_tools"; then
5250 if test "$cross_compiling" = "yes"; then
5251 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5252 elif test -n "$with_wine64"; then
5253 wine_cv_toolsdir="$with_wine64"
5256 if test -z "$wine_cv_toolsdir"; then
5257 wine_makedep=tools/makedep
5258 wine_cv_toolsdir="\$(top_builddir)"
5259 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5260 wine_makedep=$wine_cv_toolsdir/tools/makedep
5261 case "$wine_cv_toolsdir" in
5262 /*) ;;
5263 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5264 esac
5265 enable_tools=${enable_tools:-no}
5266 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5267 else
5268 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5272 $as_echo "$wine_cv_toolsdir" >&6; }
5273 TOOLSDIR=$wine_cv_toolsdir
5275 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5276 then
5277 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5281 for ac_prog in flex
5283 # Extract the first word of "$ac_prog", so it can be a program name with args.
5284 set dummy $ac_prog; ac_word=$2
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5286 $as_echo_n "checking for $ac_word... " >&6; }
5287 if ${ac_cv_prog_FLEX+:} false; then :
5288 $as_echo_n "(cached) " >&6
5289 else
5290 if test -n "$FLEX"; then
5291 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5292 else
5293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5294 for as_dir in $PATH
5296 IFS=$as_save_IFS
5297 test -z "$as_dir" && as_dir=.
5298 for ac_exec_ext in '' $ac_executable_extensions; do
5299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5300 ac_cv_prog_FLEX="$ac_prog"
5301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5302 break 2
5304 done
5305 done
5306 IFS=$as_save_IFS
5310 FLEX=$ac_cv_prog_FLEX
5311 if test -n "$FLEX"; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5313 $as_echo "$FLEX" >&6; }
5314 else
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5320 test -n "$FLEX" && break
5321 done
5322 test -n "$FLEX" || FLEX="none"
5324 if test "$FLEX" = "none"
5325 then
5326 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5329 $as_echo_n "checking whether flex is recent enough... " >&6; }
5330 cat >conftest.l <<EOF
5331 %top{
5332 #include "prediluvian.h"
5336 if $FLEX -t conftest.l >/dev/null 2>&5
5337 then
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5339 $as_echo "yes" >&6; }
5340 else
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5342 $as_echo "no" >&6; }
5343 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5346 for ac_prog in bison
5348 # Extract the first word of "$ac_prog", so it can be a program name with args.
5349 set dummy $ac_prog; ac_word=$2
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5351 $as_echo_n "checking for $ac_word... " >&6; }
5352 if ${ac_cv_prog_BISON+:} false; then :
5353 $as_echo_n "(cached) " >&6
5354 else
5355 if test -n "$BISON"; then
5356 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5357 else
5358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5359 for as_dir in $PATH
5361 IFS=$as_save_IFS
5362 test -z "$as_dir" && as_dir=.
5363 for ac_exec_ext in '' $ac_executable_extensions; do
5364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5365 ac_cv_prog_BISON="$ac_prog"
5366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5367 break 2
5369 done
5370 done
5371 IFS=$as_save_IFS
5375 BISON=$ac_cv_prog_BISON
5376 if test -n "$BISON"; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5378 $as_echo "$BISON" >&6; }
5379 else
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 $as_echo "no" >&6; }
5385 test -n "$BISON" && break
5386 done
5387 test -n "$BISON" || BISON="none"
5389 if test "$BISON" = "none"
5390 then
5391 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5394 if test -n "$ac_tool_prefix"; then
5395 for ac_prog in ar gar
5397 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5398 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5400 $as_echo_n "checking for $ac_word... " >&6; }
5401 if ${ac_cv_prog_AR+:} false; then :
5402 $as_echo_n "(cached) " >&6
5403 else
5404 if test -n "$AR"; then
5405 ac_cv_prog_AR="$AR" # Let the user override the test.
5406 else
5407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5408 for as_dir in $PATH
5410 IFS=$as_save_IFS
5411 test -z "$as_dir" && as_dir=.
5412 for ac_exec_ext in '' $ac_executable_extensions; do
5413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5414 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5416 break 2
5418 done
5419 done
5420 IFS=$as_save_IFS
5424 AR=$ac_cv_prog_AR
5425 if test -n "$AR"; then
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5427 $as_echo "$AR" >&6; }
5428 else
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5430 $as_echo "no" >&6; }
5434 test -n "$AR" && break
5435 done
5437 if test -z "$AR"; then
5438 ac_ct_AR=$AR
5439 for ac_prog in ar gar
5441 # Extract the first word of "$ac_prog", so it can be a program name with args.
5442 set dummy $ac_prog; ac_word=$2
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5444 $as_echo_n "checking for $ac_word... " >&6; }
5445 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5446 $as_echo_n "(cached) " >&6
5447 else
5448 if test -n "$ac_ct_AR"; then
5449 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5450 else
5451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5452 for as_dir in $PATH
5454 IFS=$as_save_IFS
5455 test -z "$as_dir" && as_dir=.
5456 for ac_exec_ext in '' $ac_executable_extensions; do
5457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5458 ac_cv_prog_ac_ct_AR="$ac_prog"
5459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5460 break 2
5462 done
5463 done
5464 IFS=$as_save_IFS
5468 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5469 if test -n "$ac_ct_AR"; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5471 $as_echo "$ac_ct_AR" >&6; }
5472 else
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5474 $as_echo "no" >&6; }
5478 test -n "$ac_ct_AR" && break
5479 done
5481 if test "x$ac_ct_AR" = x; then
5482 AR="ar"
5483 else
5484 case $cross_compiling:$ac_tool_warned in
5485 yes:)
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5488 ac_tool_warned=yes ;;
5489 esac
5490 AR=$ac_ct_AR
5494 if test -n "$ac_tool_prefix"; then
5495 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5496 set dummy ${ac_tool_prefix}strip; ac_word=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5498 $as_echo_n "checking for $ac_word... " >&6; }
5499 if ${ac_cv_prog_STRIP+:} false; then :
5500 $as_echo_n "(cached) " >&6
5501 else
5502 if test -n "$STRIP"; then
5503 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5504 else
5505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 for as_dir in $PATH
5508 IFS=$as_save_IFS
5509 test -z "$as_dir" && as_dir=.
5510 for ac_exec_ext in '' $ac_executable_extensions; do
5511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5512 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 break 2
5516 done
5517 done
5518 IFS=$as_save_IFS
5522 STRIP=$ac_cv_prog_STRIP
5523 if test -n "$STRIP"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5525 $as_echo "$STRIP" >&6; }
5526 else
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }
5533 if test -z "$ac_cv_prog_STRIP"; then
5534 ac_ct_STRIP=$STRIP
5535 # Extract the first word of "strip", so it can be a program name with args.
5536 set dummy strip; ac_word=$2
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5538 $as_echo_n "checking for $ac_word... " >&6; }
5539 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5540 $as_echo_n "(cached) " >&6
5541 else
5542 if test -n "$ac_ct_STRIP"; then
5543 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5544 else
5545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5546 for as_dir in $PATH
5548 IFS=$as_save_IFS
5549 test -z "$as_dir" && as_dir=.
5550 for ac_exec_ext in '' $ac_executable_extensions; do
5551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5552 ac_cv_prog_ac_ct_STRIP="strip"
5553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5554 break 2
5556 done
5557 done
5558 IFS=$as_save_IFS
5562 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5563 if test -n "$ac_ct_STRIP"; then
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5565 $as_echo "$ac_ct_STRIP" >&6; }
5566 else
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5568 $as_echo "no" >&6; }
5571 if test "x$ac_ct_STRIP" = x; then
5572 STRIP="strip"
5573 else
5574 case $cross_compiling:$ac_tool_warned in
5575 yes:)
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5578 ac_tool_warned=yes ;;
5579 esac
5580 STRIP=$ac_ct_STRIP
5582 else
5583 STRIP="$ac_cv_prog_STRIP"
5586 ARFLAGS=rc
5588 if test -n "$ac_tool_prefix"; then
5589 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5590 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5592 $as_echo_n "checking for $ac_word... " >&6; }
5593 if ${ac_cv_prog_RANLIB+:} false; then :
5594 $as_echo_n "(cached) " >&6
5595 else
5596 if test -n "$RANLIB"; then
5597 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5598 else
5599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5600 for as_dir in $PATH
5602 IFS=$as_save_IFS
5603 test -z "$as_dir" && as_dir=.
5604 for ac_exec_ext in '' $ac_executable_extensions; do
5605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5606 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5608 break 2
5610 done
5611 done
5612 IFS=$as_save_IFS
5616 RANLIB=$ac_cv_prog_RANLIB
5617 if test -n "$RANLIB"; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5619 $as_echo "$RANLIB" >&6; }
5620 else
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5622 $as_echo "no" >&6; }
5627 if test -z "$ac_cv_prog_RANLIB"; then
5628 ac_ct_RANLIB=$RANLIB
5629 # Extract the first word of "ranlib", so it can be a program name with args.
5630 set dummy ranlib; ac_word=$2
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5632 $as_echo_n "checking for $ac_word... " >&6; }
5633 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5634 $as_echo_n "(cached) " >&6
5635 else
5636 if test -n "$ac_ct_RANLIB"; then
5637 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5638 else
5639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5640 for as_dir in $PATH
5642 IFS=$as_save_IFS
5643 test -z "$as_dir" && as_dir=.
5644 for ac_exec_ext in '' $ac_executable_extensions; do
5645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5646 ac_cv_prog_ac_ct_RANLIB="ranlib"
5647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5648 break 2
5650 done
5651 done
5652 IFS=$as_save_IFS
5656 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5657 if test -n "$ac_ct_RANLIB"; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5659 $as_echo "$ac_ct_RANLIB" >&6; }
5660 else
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5662 $as_echo "no" >&6; }
5665 if test "x$ac_ct_RANLIB" = x; then
5666 RANLIB=":"
5667 else
5668 case $cross_compiling:$ac_tool_warned in
5669 yes:)
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5672 ac_tool_warned=yes ;;
5673 esac
5674 RANLIB=$ac_ct_RANLIB
5676 else
5677 RANLIB="$ac_cv_prog_RANLIB"
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5681 $as_echo_n "checking whether ln -s works... " >&6; }
5682 LN_S=$as_ln_s
5683 if test "$LN_S" = "ln -s"; then
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5685 $as_echo "yes" >&6; }
5686 else
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5688 $as_echo "no, using $LN_S" >&6; }
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5692 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5693 if ${ac_cv_path_GREP+:} false; then :
5694 $as_echo_n "(cached) " >&6
5695 else
5696 if test -z "$GREP"; then
5697 ac_path_GREP_found=false
5698 # Loop through the user's path and test for each of PROGNAME-LIST
5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5700 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5702 IFS=$as_save_IFS
5703 test -z "$as_dir" && as_dir=.
5704 for ac_prog in grep ggrep; do
5705 for ac_exec_ext in '' $ac_executable_extensions; do
5706 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5707 as_fn_executable_p "$ac_path_GREP" || continue
5708 # Check for GNU ac_path_GREP and select it if it is found.
5709 # Check for GNU $ac_path_GREP
5710 case `"$ac_path_GREP" --version 2>&1` in
5711 *GNU*)
5712 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5714 ac_count=0
5715 $as_echo_n 0123456789 >"conftest.in"
5716 while :
5718 cat "conftest.in" "conftest.in" >"conftest.tmp"
5719 mv "conftest.tmp" "conftest.in"
5720 cp "conftest.in" "conftest.nl"
5721 $as_echo 'GREP' >> "conftest.nl"
5722 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5723 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5724 as_fn_arith $ac_count + 1 && ac_count=$as_val
5725 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5726 # Best one so far, save it but keep looking for a better one
5727 ac_cv_path_GREP="$ac_path_GREP"
5728 ac_path_GREP_max=$ac_count
5730 # 10*(2^10) chars as input seems more than enough
5731 test $ac_count -gt 10 && break
5732 done
5733 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5734 esac
5736 $ac_path_GREP_found && break 3
5737 done
5738 done
5739 done
5740 IFS=$as_save_IFS
5741 if test -z "$ac_cv_path_GREP"; then
5742 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5744 else
5745 ac_cv_path_GREP=$GREP
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5750 $as_echo "$ac_cv_path_GREP" >&6; }
5751 GREP="$ac_cv_path_GREP"
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5755 $as_echo_n "checking for egrep... " >&6; }
5756 if ${ac_cv_path_EGREP+:} false; then :
5757 $as_echo_n "(cached) " >&6
5758 else
5759 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5760 then ac_cv_path_EGREP="$GREP -E"
5761 else
5762 if test -z "$EGREP"; then
5763 ac_path_EGREP_found=false
5764 # Loop through the user's path and test for each of PROGNAME-LIST
5765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5766 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5768 IFS=$as_save_IFS
5769 test -z "$as_dir" && as_dir=.
5770 for ac_prog in egrep; do
5771 for ac_exec_ext in '' $ac_executable_extensions; do
5772 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5773 as_fn_executable_p "$ac_path_EGREP" || continue
5774 # Check for GNU ac_path_EGREP and select it if it is found.
5775 # Check for GNU $ac_path_EGREP
5776 case `"$ac_path_EGREP" --version 2>&1` in
5777 *GNU*)
5778 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5780 ac_count=0
5781 $as_echo_n 0123456789 >"conftest.in"
5782 while :
5784 cat "conftest.in" "conftest.in" >"conftest.tmp"
5785 mv "conftest.tmp" "conftest.in"
5786 cp "conftest.in" "conftest.nl"
5787 $as_echo 'EGREP' >> "conftest.nl"
5788 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5789 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5790 as_fn_arith $ac_count + 1 && ac_count=$as_val
5791 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5792 # Best one so far, save it but keep looking for a better one
5793 ac_cv_path_EGREP="$ac_path_EGREP"
5794 ac_path_EGREP_max=$ac_count
5796 # 10*(2^10) chars as input seems more than enough
5797 test $ac_count -gt 10 && break
5798 done
5799 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5800 esac
5802 $ac_path_EGREP_found && break 3
5803 done
5804 done
5805 done
5806 IFS=$as_save_IFS
5807 if test -z "$ac_cv_path_EGREP"; then
5808 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5810 else
5811 ac_cv_path_EGREP=$EGREP
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5817 $as_echo "$ac_cv_path_EGREP" >&6; }
5818 EGREP="$ac_cv_path_EGREP"
5821 # Extract the first word of "ldconfig", so it can be a program name with args.
5822 set dummy ldconfig; ac_word=$2
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5824 $as_echo_n "checking for $ac_word... " >&6; }
5825 if ${ac_cv_path_LDCONFIG+:} false; then :
5826 $as_echo_n "(cached) " >&6
5827 else
5828 case $LDCONFIG in
5829 [\\/]* | ?:[\\/]*)
5830 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5834 for as_dir in /sbin /usr/sbin $PATH
5836 IFS=$as_save_IFS
5837 test -z "$as_dir" && as_dir=.
5838 for ac_exec_ext in '' $ac_executable_extensions; do
5839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5840 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5842 break 2
5844 done
5845 done
5846 IFS=$as_save_IFS
5848 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5850 esac
5852 LDCONFIG=$ac_cv_path_LDCONFIG
5853 if test -n "$LDCONFIG"; then
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5855 $as_echo "$LDCONFIG" >&6; }
5856 else
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858 $as_echo "no" >&6; }
5862 for ac_prog in msgfmt
5864 # Extract the first word of "$ac_prog", so it can be a program name with args.
5865 set dummy $ac_prog; ac_word=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867 $as_echo_n "checking for $ac_word... " >&6; }
5868 if ${ac_cv_prog_MSGFMT+:} false; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 if test -n "$MSGFMT"; then
5872 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5873 else
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 for as_dir in $PATH
5877 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5881 ac_cv_prog_MSGFMT="$ac_prog"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 break 2
5885 done
5886 done
5887 IFS=$as_save_IFS
5891 MSGFMT=$ac_cv_prog_MSGFMT
5892 if test -n "$MSGFMT"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5894 $as_echo "$MSGFMT" >&6; }
5895 else
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5901 test -n "$MSGFMT" && break
5902 done
5903 test -n "$MSGFMT" || MSGFMT="false"
5905 if ${ac_tool_prefix+:} false; then :
5906 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5907 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5909 $as_echo_n "checking for $ac_word... " >&6; }
5910 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5911 $as_echo_n "(cached) " >&6
5912 else
5913 if test -n "$PKG_CONFIG"; then
5914 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5915 else
5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5917 for as_dir in $PATH
5919 IFS=$as_save_IFS
5920 test -z "$as_dir" && as_dir=.
5921 for ac_exec_ext in '' $ac_executable_extensions; do
5922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5923 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5925 break 2
5927 done
5928 done
5929 IFS=$as_save_IFS
5933 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5934 if test -n "$PKG_CONFIG"; then
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5936 $as_echo "$PKG_CONFIG" >&6; }
5937 else
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5939 $as_echo "no" >&6; }
5944 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5945 if test "x$cross_compiling" = xyes; then :
5947 else
5948 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5949 # Extract the first word of "pkg-config", so it can be a program name with args.
5950 set dummy pkg-config; ac_word=$2
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5952 $as_echo_n "checking for $ac_word... " >&6; }
5953 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5954 $as_echo_n "(cached) " >&6
5955 else
5956 if test -n "$PKG_CONFIG"; then
5957 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5958 else
5959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5960 for as_dir in $PATH
5962 IFS=$as_save_IFS
5963 test -z "$as_dir" && as_dir=.
5964 for ac_exec_ext in '' $ac_executable_extensions; do
5965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5966 ac_cv_prog_PKG_CONFIG="pkg-config"
5967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5968 break 2
5970 done
5971 done
5972 IFS=$as_save_IFS
5976 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5977 if test -n "$PKG_CONFIG"; then
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5979 $as_echo "$PKG_CONFIG" >&6; }
5980 else
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5982 $as_echo "no" >&6; }
5987 else
5988 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5991 if test "x$enable_maintainer_mode" != "xyes"
5992 then
5993 FONTFORGE=""
5994 RSVG=""
5995 CONVERT=""
5996 ICOTOOL=""
5997 else
5998 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5999 for ac_prog in fontforge
6001 # Extract the first word of "$ac_prog", so it can be a program name with args.
6002 set dummy $ac_prog; ac_word=$2
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6004 $as_echo_n "checking for $ac_word... " >&6; }
6005 if ${ac_cv_prog_FONTFORGE+:} false; then :
6006 $as_echo_n "(cached) " >&6
6007 else
6008 if test -n "$FONTFORGE"; then
6009 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6010 else
6011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6012 for as_dir in $PATH
6014 IFS=$as_save_IFS
6015 test -z "$as_dir" && as_dir=.
6016 for ac_exec_ext in '' $ac_executable_extensions; do
6017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6018 ac_cv_prog_FONTFORGE="$ac_prog"
6019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 break 2
6022 done
6023 done
6024 IFS=$as_save_IFS
6028 FONTFORGE=$ac_cv_prog_FONTFORGE
6029 if test -n "$FONTFORGE"; then
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6031 $as_echo "$FONTFORGE" >&6; }
6032 else
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6034 $as_echo "no" >&6; }
6038 test -n "$FONTFORGE" && break
6039 done
6040 test -n "$FONTFORGE" || FONTFORGE="false"
6042 for ac_prog in rsvg-convert rsvg
6044 # Extract the first word of "$ac_prog", so it can be a program name with args.
6045 set dummy $ac_prog; ac_word=$2
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6047 $as_echo_n "checking for $ac_word... " >&6; }
6048 if ${ac_cv_prog_RSVG+:} false; then :
6049 $as_echo_n "(cached) " >&6
6050 else
6051 if test -n "$RSVG"; then
6052 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6053 else
6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 for as_dir in $PATH
6057 IFS=$as_save_IFS
6058 test -z "$as_dir" && as_dir=.
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6061 ac_cv_prog_RSVG="$ac_prog"
6062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6063 break 2
6065 done
6066 done
6067 IFS=$as_save_IFS
6071 RSVG=$ac_cv_prog_RSVG
6072 if test -n "$RSVG"; then
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6074 $as_echo "$RSVG" >&6; }
6075 else
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6077 $as_echo "no" >&6; }
6081 test -n "$RSVG" && break
6082 done
6083 test -n "$RSVG" || RSVG="false"
6085 for ac_prog in convert
6087 # Extract the first word of "$ac_prog", so it can be a program name with args.
6088 set dummy $ac_prog; ac_word=$2
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6090 $as_echo_n "checking for $ac_word... " >&6; }
6091 if ${ac_cv_prog_CONVERT+:} false; then :
6092 $as_echo_n "(cached) " >&6
6093 else
6094 if test -n "$CONVERT"; then
6095 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6096 else
6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6098 for as_dir in $PATH
6100 IFS=$as_save_IFS
6101 test -z "$as_dir" && as_dir=.
6102 for ac_exec_ext in '' $ac_executable_extensions; do
6103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6104 ac_cv_prog_CONVERT="$ac_prog"
6105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6106 break 2
6108 done
6109 done
6110 IFS=$as_save_IFS
6114 CONVERT=$ac_cv_prog_CONVERT
6115 if test -n "$CONVERT"; then
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6117 $as_echo "$CONVERT" >&6; }
6118 else
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6120 $as_echo "no" >&6; }
6124 test -n "$CONVERT" && break
6125 done
6126 test -n "$CONVERT" || CONVERT="false"
6128 for ac_prog in icotool
6130 # Extract the first word of "$ac_prog", so it can be a program name with args.
6131 set dummy $ac_prog; ac_word=$2
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6133 $as_echo_n "checking for $ac_word... " >&6; }
6134 if ${ac_cv_prog_ICOTOOL+:} false; then :
6135 $as_echo_n "(cached) " >&6
6136 else
6137 if test -n "$ICOTOOL"; then
6138 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6139 else
6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141 for as_dir in $PATH
6143 IFS=$as_save_IFS
6144 test -z "$as_dir" && as_dir=.
6145 for ac_exec_ext in '' $ac_executable_extensions; do
6146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6147 ac_cv_prog_ICOTOOL="$ac_prog"
6148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6149 break 2
6151 done
6152 done
6153 IFS=$as_save_IFS
6157 ICOTOOL=$ac_cv_prog_ICOTOOL
6158 if test -n "$ICOTOOL"; then
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6160 $as_echo "$ICOTOOL" >&6; }
6161 else
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6163 $as_echo "no" >&6; }
6167 test -n "$ICOTOOL" && break
6168 done
6169 test -n "$ICOTOOL" || ICOTOOL="false"
6171 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6172 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6174 if test "$CONVERT" = false
6175 then
6176 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6177 else
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6179 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6180 convert_version=`convert --version | head -n1`
6181 if test "x$convert_version" != "x"
6182 then
6183 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6184 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6185 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6186 then
6187 CONVERT=false
6190 if test "$CONVERT" = false
6191 then
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6193 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6194 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6195 else
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6197 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6201 if test "$ICOTOOL" = false
6202 then
6203 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6204 else
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6206 $as_echo_n "checking for recent enough icotool... " >&6; }
6207 icotool_version=`icotool --version | head -n1`
6208 if test "x$icotool_version" != "x"
6209 then
6210 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6211 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6212 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6213 then
6214 ICOTOOL=false
6215 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6218 if test "$ICOTOOL" = false
6219 then
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6221 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6222 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6223 else
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6225 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6229 with_gettext=yes
6230 with_gettextpo=yes
6231 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6234 test "x$with_gettext" != xno || MSGFMT=false
6235 if test "$MSGFMT" != "false"
6236 then
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6238 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6239 cat >conftest.po <<EOF
6240 # comment
6241 msgctxt "ctxt"
6242 msgid "id"
6243 msgstr "str"
6245 if $MSGFMT -o /dev/null conftest.po 2>&5
6246 then
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6248 $as_echo "yes" >&6; }
6249 else
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6251 $as_echo "no" >&6; }
6252 MSGFMT=false
6255 if test "$MSGFMT" = false; then :
6256 case "x$with_gettext" in
6257 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6258 xno) ;;
6259 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6260 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6261 esac
6262 enable_po=${enable_po:-no}
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6267 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6268 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6269 $as_echo_n "(cached) " >&6
6270 else
6271 ac_check_lib_save_LIBS=$LIBS
6272 LIBS="-li386 $LIBS"
6273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6274 /* end confdefs.h. */
6276 /* Override any GCC internal prototype to avoid an error.
6277 Use char because int might match the return type of a GCC
6278 builtin and then its argument prototype would still apply. */
6279 #ifdef __cplusplus
6280 extern "C"
6281 #endif
6282 char i386_set_ldt ();
6284 main ()
6286 return i386_set_ldt ();
6288 return 0;
6290 _ACEOF
6291 if ac_fn_c_try_link "$LINENO"; then :
6292 ac_cv_lib_i386_i386_set_ldt=yes
6293 else
6294 ac_cv_lib_i386_i386_set_ldt=no
6296 rm -f core conftest.err conftest.$ac_objext \
6297 conftest$ac_exeext conftest.$ac_ext
6298 LIBS=$ac_check_lib_save_LIBS
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6301 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6302 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6303 cat >>confdefs.h <<_ACEOF
6304 #define HAVE_LIBI386 1
6305 _ACEOF
6307 LIBS="-li386 $LIBS"
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6312 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6313 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6314 $as_echo_n "(cached) " >&6
6315 else
6316 ac_check_lib_save_LIBS=$LIBS
6317 LIBS="-lossaudio $LIBS"
6318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6319 /* end confdefs.h. */
6321 /* Override any GCC internal prototype to avoid an error.
6322 Use char because int might match the return type of a GCC
6323 builtin and then its argument prototype would still apply. */
6324 #ifdef __cplusplus
6325 extern "C"
6326 #endif
6327 char _oss_ioctl ();
6329 main ()
6331 return _oss_ioctl ();
6333 return 0;
6335 _ACEOF
6336 if ac_fn_c_try_link "$LINENO"; then :
6337 ac_cv_lib_ossaudio__oss_ioctl=yes
6338 else
6339 ac_cv_lib_ossaudio__oss_ioctl=no
6341 rm -f core conftest.err conftest.$ac_objext \
6342 conftest$ac_exeext conftest.$ac_ext
6343 LIBS=$ac_check_lib_save_LIBS
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6346 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6347 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6348 cat >>confdefs.h <<_ACEOF
6349 #define HAVE_LIBOSSAUDIO 1
6350 _ACEOF
6352 LIBS="-lossaudio $LIBS"
6357 OPENGL_LIBS=""
6361 # Check whether --enable-largefile was given.
6362 if test "${enable_largefile+set}" = set; then :
6363 enableval=$enable_largefile;
6366 if test "$enable_largefile" != no; then
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6369 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6370 if ${ac_cv_sys_largefile_CC+:} false; then :
6371 $as_echo_n "(cached) " >&6
6372 else
6373 ac_cv_sys_largefile_CC=no
6374 if test "$GCC" != yes; then
6375 ac_save_CC=$CC
6376 while :; do
6377 # IRIX 6.2 and later do not support large files by default,
6378 # so use the C compiler's -n32 option if that helps.
6379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6381 #include <sys/types.h>
6382 /* Check that off_t can represent 2**63 - 1 correctly.
6383 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6384 since some C++ compilers masquerading as C compilers
6385 incorrectly reject 9223372036854775807. */
6386 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6387 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6388 && LARGE_OFF_T % 2147483647 == 1)
6389 ? 1 : -1];
6391 main ()
6395 return 0;
6397 _ACEOF
6398 if ac_fn_c_try_compile "$LINENO"; then :
6399 break
6401 rm -f core conftest.err conftest.$ac_objext
6402 CC="$CC -n32"
6403 if ac_fn_c_try_compile "$LINENO"; then :
6404 ac_cv_sys_largefile_CC=' -n32'; break
6406 rm -f core conftest.err conftest.$ac_objext
6407 break
6408 done
6409 CC=$ac_save_CC
6410 rm -f conftest.$ac_ext
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6414 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6415 if test "$ac_cv_sys_largefile_CC" != no; then
6416 CC=$CC$ac_cv_sys_largefile_CC
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6420 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6421 if ${ac_cv_sys_file_offset_bits+:} false; then :
6422 $as_echo_n "(cached) " >&6
6423 else
6424 while :; do
6425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6426 /* end confdefs.h. */
6427 #include <sys/types.h>
6428 /* Check that off_t can represent 2**63 - 1 correctly.
6429 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6430 since some C++ compilers masquerading as C compilers
6431 incorrectly reject 9223372036854775807. */
6432 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6433 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6434 && LARGE_OFF_T % 2147483647 == 1)
6435 ? 1 : -1];
6437 main ()
6441 return 0;
6443 _ACEOF
6444 if ac_fn_c_try_compile "$LINENO"; then :
6445 ac_cv_sys_file_offset_bits=no; break
6447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6449 /* end confdefs.h. */
6450 #define _FILE_OFFSET_BITS 64
6451 #include <sys/types.h>
6452 /* Check that off_t can represent 2**63 - 1 correctly.
6453 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6454 since some C++ compilers masquerading as C compilers
6455 incorrectly reject 9223372036854775807. */
6456 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6457 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6458 && LARGE_OFF_T % 2147483647 == 1)
6459 ? 1 : -1];
6461 main ()
6465 return 0;
6467 _ACEOF
6468 if ac_fn_c_try_compile "$LINENO"; then :
6469 ac_cv_sys_file_offset_bits=64; break
6471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6472 ac_cv_sys_file_offset_bits=unknown
6473 break
6474 done
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6477 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6478 case $ac_cv_sys_file_offset_bits in #(
6479 no | unknown) ;;
6481 cat >>confdefs.h <<_ACEOF
6482 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6483 _ACEOF
6485 esac
6486 rm -rf conftest*
6487 if test $ac_cv_sys_file_offset_bits = unknown; then
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6489 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6490 if ${ac_cv_sys_large_files+:} false; then :
6491 $as_echo_n "(cached) " >&6
6492 else
6493 while :; do
6494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6495 /* end confdefs.h. */
6496 #include <sys/types.h>
6497 /* Check that off_t can represent 2**63 - 1 correctly.
6498 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6499 since some C++ compilers masquerading as C compilers
6500 incorrectly reject 9223372036854775807. */
6501 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6502 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6503 && LARGE_OFF_T % 2147483647 == 1)
6504 ? 1 : -1];
6506 main ()
6510 return 0;
6512 _ACEOF
6513 if ac_fn_c_try_compile "$LINENO"; then :
6514 ac_cv_sys_large_files=no; break
6516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6518 /* end confdefs.h. */
6519 #define _LARGE_FILES 1
6520 #include <sys/types.h>
6521 /* Check that off_t can represent 2**63 - 1 correctly.
6522 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6523 since some C++ compilers masquerading as C compilers
6524 incorrectly reject 9223372036854775807. */
6525 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6526 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6527 && LARGE_OFF_T % 2147483647 == 1)
6528 ? 1 : -1];
6530 main ()
6534 return 0;
6536 _ACEOF
6537 if ac_fn_c_try_compile "$LINENO"; then :
6538 ac_cv_sys_large_files=1; break
6540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6541 ac_cv_sys_large_files=unknown
6542 break
6543 done
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6546 $as_echo "$ac_cv_sys_large_files" >&6; }
6547 case $ac_cv_sys_large_files in #(
6548 no | unknown) ;;
6550 cat >>confdefs.h <<_ACEOF
6551 #define _LARGE_FILES $ac_cv_sys_large_files
6552 _ACEOF
6554 esac
6555 rm -rf conftest*
6562 ac_ext=c
6563 ac_cpp='$CPP $CPPFLAGS'
6564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6568 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6569 # On Suns, sometimes $CPP names a directory.
6570 if test -n "$CPP" && test -d "$CPP"; then
6571 CPP=
6573 if test -z "$CPP"; then
6574 if ${ac_cv_prog_CPP+:} false; then :
6575 $as_echo_n "(cached) " >&6
6576 else
6577 # Double quotes because CPP needs to be expanded
6578 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6580 ac_preproc_ok=false
6581 for ac_c_preproc_warn_flag in '' yes
6583 # Use a header file that comes with gcc, so configuring glibc
6584 # with a fresh cross-compiler works.
6585 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6586 # <limits.h> exists even on freestanding compilers.
6587 # On the NeXT, cc -E runs the code through the compiler's parser,
6588 # not just through cpp. "Syntax error" is here to catch this case.
6589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6590 /* end confdefs.h. */
6591 #ifdef __STDC__
6592 # include <limits.h>
6593 #else
6594 # include <assert.h>
6595 #endif
6596 Syntax error
6597 _ACEOF
6598 if ac_fn_c_try_cpp "$LINENO"; then :
6600 else
6601 # Broken: fails on valid input.
6602 continue
6604 rm -f conftest.err conftest.i conftest.$ac_ext
6606 # OK, works on sane cases. Now check whether nonexistent headers
6607 # can be detected and how.
6608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6609 /* end confdefs.h. */
6610 #include <ac_nonexistent.h>
6611 _ACEOF
6612 if ac_fn_c_try_cpp "$LINENO"; then :
6613 # Broken: success on invalid input.
6614 continue
6615 else
6616 # Passes both tests.
6617 ac_preproc_ok=:
6618 break
6620 rm -f conftest.err conftest.i conftest.$ac_ext
6622 done
6623 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6624 rm -f conftest.i conftest.err conftest.$ac_ext
6625 if $ac_preproc_ok; then :
6626 break
6629 done
6630 ac_cv_prog_CPP=$CPP
6633 CPP=$ac_cv_prog_CPP
6634 else
6635 ac_cv_prog_CPP=$CPP
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6638 $as_echo "$CPP" >&6; }
6639 ac_preproc_ok=false
6640 for ac_c_preproc_warn_flag in '' yes
6642 # Use a header file that comes with gcc, so configuring glibc
6643 # with a fresh cross-compiler works.
6644 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6645 # <limits.h> exists even on freestanding compilers.
6646 # On the NeXT, cc -E runs the code through the compiler's parser,
6647 # not just through cpp. "Syntax error" is here to catch this case.
6648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6649 /* end confdefs.h. */
6650 #ifdef __STDC__
6651 # include <limits.h>
6652 #else
6653 # include <assert.h>
6654 #endif
6655 Syntax error
6656 _ACEOF
6657 if ac_fn_c_try_cpp "$LINENO"; then :
6659 else
6660 # Broken: fails on valid input.
6661 continue
6663 rm -f conftest.err conftest.i conftest.$ac_ext
6665 # OK, works on sane cases. Now check whether nonexistent headers
6666 # can be detected and how.
6667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6668 /* end confdefs.h. */
6669 #include <ac_nonexistent.h>
6670 _ACEOF
6671 if ac_fn_c_try_cpp "$LINENO"; then :
6672 # Broken: success on invalid input.
6673 continue
6674 else
6675 # Passes both tests.
6676 ac_preproc_ok=:
6677 break
6679 rm -f conftest.err conftest.i conftest.$ac_ext
6681 done
6682 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6683 rm -f conftest.i conftest.err conftest.$ac_ext
6684 if $ac_preproc_ok; then :
6686 else
6687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6689 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6690 See \`config.log' for more details" "$LINENO" 5; }
6693 ac_ext=c
6694 ac_cpp='$CPP $CPPFLAGS'
6695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6701 $as_echo_n "checking for ANSI C header files... " >&6; }
6702 if ${ac_cv_header_stdc+:} false; then :
6703 $as_echo_n "(cached) " >&6
6704 else
6705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6706 /* end confdefs.h. */
6707 #include <stdlib.h>
6708 #include <stdarg.h>
6709 #include <string.h>
6710 #include <float.h>
6713 main ()
6717 return 0;
6719 _ACEOF
6720 if ac_fn_c_try_compile "$LINENO"; then :
6721 ac_cv_header_stdc=yes
6722 else
6723 ac_cv_header_stdc=no
6725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6727 if test $ac_cv_header_stdc = yes; then
6728 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6730 /* end confdefs.h. */
6731 #include <string.h>
6733 _ACEOF
6734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6735 $EGREP "memchr" >/dev/null 2>&1; then :
6737 else
6738 ac_cv_header_stdc=no
6740 rm -f conftest*
6744 if test $ac_cv_header_stdc = yes; then
6745 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6747 /* end confdefs.h. */
6748 #include <stdlib.h>
6750 _ACEOF
6751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6752 $EGREP "free" >/dev/null 2>&1; then :
6754 else
6755 ac_cv_header_stdc=no
6757 rm -f conftest*
6761 if test $ac_cv_header_stdc = yes; then
6762 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6763 if test "$cross_compiling" = yes; then :
6765 else
6766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6767 /* end confdefs.h. */
6768 #include <ctype.h>
6769 #include <stdlib.h>
6770 #if ((' ' & 0x0FF) == 0x020)
6771 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6772 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6773 #else
6774 # define ISLOWER(c) \
6775 (('a' <= (c) && (c) <= 'i') \
6776 || ('j' <= (c) && (c) <= 'r') \
6777 || ('s' <= (c) && (c) <= 'z'))
6778 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6779 #endif
6781 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6783 main ()
6785 int i;
6786 for (i = 0; i < 256; i++)
6787 if (XOR (islower (i), ISLOWER (i))
6788 || toupper (i) != TOUPPER (i))
6789 return 2;
6790 return 0;
6792 _ACEOF
6793 if ac_fn_c_try_run "$LINENO"; then :
6795 else
6796 ac_cv_header_stdc=no
6798 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6799 conftest.$ac_objext conftest.beam conftest.$ac_ext
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6805 $as_echo "$ac_cv_header_stdc" >&6; }
6806 if test $ac_cv_header_stdc = yes; then
6808 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6812 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6813 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6814 inttypes.h stdint.h unistd.h
6815 do :
6816 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6817 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6819 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6820 cat >>confdefs.h <<_ACEOF
6821 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6822 _ACEOF
6826 done
6829 for ac_header in \
6830 AL/al.h \
6831 ApplicationServices/ApplicationServices.h \
6832 AudioToolbox/AudioConverter.h \
6833 AudioUnit/AudioUnit.h \
6834 AudioUnit/AudioComponent.h \
6835 CL/cl.h \
6836 Carbon/Carbon.h \
6837 CommonCrypto/CommonDigest.h \
6838 CoreAudio/CoreAudio.h \
6839 CoreServices/CoreServices.h \
6840 DiskArbitration/DiskArbitration.h \
6841 EGL/egl.h \
6842 IOKit/IOKitLib.h \
6843 IOKit/hid/IOHIDLib.h \
6844 OpenAL/al.h \
6845 OpenCL/opencl.h \
6846 QuickTime/ImageCompression.h \
6847 Security/Security.h \
6848 alias.h \
6849 alsa/asoundlib.h \
6850 arpa/inet.h \
6851 arpa/nameser.h \
6852 asm/types.h \
6853 asm/user.h \
6854 curses.h \
6855 direct.h \
6856 dirent.h \
6857 dlfcn.h \
6858 elf.h \
6859 float.h \
6860 fnmatch.h \
6861 getopt.h \
6862 gettext-po.h \
6863 grp.h \
6864 gsm.h \
6865 gsm/gsm.h \
6866 ieeefp.h \
6867 inet/mib2.h \
6868 io.h \
6869 kstat.h \
6870 lber.h \
6871 ldap.h \
6872 libproc.h \
6873 link.h \
6874 linux/cdrom.h \
6875 linux/compiler.h \
6876 linux/filter.h \
6877 linux/hdreg.h \
6878 linux/hidraw.h \
6879 linux/input.h \
6880 linux/ioctl.h \
6881 linux/joystick.h \
6882 linux/major.h \
6883 linux/param.h \
6884 linux/serial.h \
6885 linux/types.h \
6886 linux/ucdrom.h \
6887 lwp.h \
6888 mach-o/nlist.h \
6889 mach-o/loader.h \
6890 mach/mach.h \
6891 mach/machine.h \
6892 machine/cpu.h \
6893 machine/limits.h \
6894 machine/sysarch.h \
6895 mntent.h \
6896 ncurses.h \
6897 netdb.h \
6898 netinet/in.h \
6899 netinet/in_systm.h \
6900 netinet/tcp.h \
6901 netinet/tcp_fsm.h \
6902 pcap/pcap.h \
6903 poll.h \
6904 port.h \
6905 process.h \
6906 pthread.h \
6907 pwd.h \
6908 sched.h \
6909 scsi/scsi.h \
6910 scsi/scsi_ioctl.h \
6911 scsi/sg.h \
6912 stdbool.h \
6913 stdint.h \
6914 stropts.h \
6915 sys/asoundlib.h \
6916 sys/attr.h \
6917 sys/auxv.h \
6918 sys/cdio.h \
6919 sys/elf32.h \
6920 sys/epoll.h \
6921 sys/event.h \
6922 sys/exec_elf.h \
6923 sys/filio.h \
6924 sys/inotify.h \
6925 sys/ioctl.h \
6926 sys/ipc.h \
6927 sys/limits.h \
6928 sys/link.h \
6929 sys/mman.h \
6930 sys/modem.h \
6931 sys/msg.h \
6932 sys/mtio.h \
6933 sys/param.h \
6934 sys/poll.h \
6935 sys/prctl.h \
6936 sys/protosw.h \
6937 sys/ptrace.h \
6938 sys/queue.h \
6939 sys/resource.h \
6940 sys/scsiio.h \
6941 sys/shm.h \
6942 sys/signal.h \
6943 sys/socket.h \
6944 sys/socketvar.h \
6945 sys/sockio.h \
6946 sys/statvfs.h \
6947 sys/strtio.h \
6948 sys/syscall.h \
6949 sys/sysinfo.h \
6950 sys/tihdr.h \
6951 sys/time.h \
6952 sys/timeout.h \
6953 sys/times.h \
6954 sys/uio.h \
6955 sys/user.h \
6956 sys/utsname.h \
6957 sys/vm86.h \
6958 sys/vnode.h \
6959 sys/wait.h \
6960 syscall.h \
6961 termios.h \
6962 unistd.h \
6963 utime.h \
6964 valgrind/memcheck.h \
6965 valgrind/valgrind.h \
6966 zlib.h
6968 do :
6969 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6970 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6971 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6972 cat >>confdefs.h <<_ACEOF
6973 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6974 _ACEOF
6978 done
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6981 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6982 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6983 $as_echo_n "(cached) " >&6
6984 else
6985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6986 /* end confdefs.h. */
6987 #include <sys/types.h>
6989 main ()
6991 return makedev(0, 0);
6993 return 0;
6995 _ACEOF
6996 if ac_fn_c_try_link "$LINENO"; then :
6997 ac_cv_header_sys_types_h_makedev=yes
6998 else
6999 ac_cv_header_sys_types_h_makedev=no
7001 rm -f core conftest.err conftest.$ac_objext \
7002 conftest$ac_exeext conftest.$ac_ext
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7006 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7008 if test $ac_cv_header_sys_types_h_makedev = no; then
7009 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7010 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7012 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7018 if test $ac_cv_header_sys_mkdev_h = no; then
7019 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7020 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7022 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7031 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7032 if ${ac_cv_header_stat_broken+:} false; then :
7033 $as_echo_n "(cached) " >&6
7034 else
7035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7036 /* end confdefs.h. */
7037 #include <sys/types.h>
7038 #include <sys/stat.h>
7040 #if defined S_ISBLK && defined S_IFDIR
7041 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7042 #endif
7044 #if defined S_ISBLK && defined S_IFCHR
7045 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7046 #endif
7048 #if defined S_ISLNK && defined S_IFREG
7049 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7050 #endif
7052 #if defined S_ISSOCK && defined S_IFREG
7053 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7054 #endif
7056 _ACEOF
7057 if ac_fn_c_try_compile "$LINENO"; then :
7058 ac_cv_header_stat_broken=no
7059 else
7060 ac_cv_header_stat_broken=yes
7062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7065 $as_echo "$ac_cv_header_stat_broken" >&6; }
7066 if test $ac_cv_header_stat_broken = yes; then
7068 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7074 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7075 do :
7076 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7077 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7078 #ifdef HAVE_SYS_PARAM_H
7079 # include <sys/param.h>
7080 #endif
7082 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7083 cat >>confdefs.h <<_ACEOF
7084 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7085 _ACEOF
7089 done
7092 for ac_header in \
7093 netinet/ip.h \
7094 net/if.h \
7095 net/if_arp.h \
7096 net/if_dl.h \
7097 net/if_types.h \
7098 net/route.h \
7099 netinet/if_ether.h \
7100 netinet/if_inarp.h \
7101 netinet/in_pcb.h \
7102 netinet/ip_icmp.h \
7103 netinet/ip_var.h \
7104 netinet/udp.h \
7105 netipx/ipx.h \
7106 sys/un.h \
7108 do :
7109 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7110 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7111 #ifdef HAVE_SYS_SOCKET_H
7112 # include <sys/socket.h>
7113 #endif
7114 #ifdef HAVE_SYS_SOCKETVAR_H
7115 # include <sys/socketvar.h>
7116 #endif
7117 #ifdef HAVE_NET_ROUTE_H
7118 # include <net/route.h>
7119 #endif
7120 #ifdef HAVE_NETINET_IN_H
7121 # include <netinet/in.h>
7122 #endif
7123 #ifdef HAVE_NETINET_IN_SYSTM_H
7124 # include <netinet/in_systm.h>
7125 #endif
7126 #ifdef HAVE_NET_IF_H
7127 # include <net/if.h>
7128 #endif
7129 #ifdef HAVE_NETINET_IP_H
7130 # include <netinet/ip.h>
7131 #endif
7133 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7134 cat >>confdefs.h <<_ACEOF
7135 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7136 _ACEOF
7140 done
7143 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7144 do :
7145 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7146 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7147 #ifdef HAVE_ALIAS_H
7148 # include <alias.h>
7149 #endif
7150 #ifdef HAVE_SYS_SOCKET_H
7151 # include <sys/socket.h>
7152 #endif
7153 #ifdef HAVE_SYS_SOCKETVAR_H
7154 # include <sys/socketvar.h>
7155 #endif
7156 #ifdef HAVE_SYS_TIMEOUT_H
7157 # include <sys/timeout.h>
7158 #endif
7159 #ifdef HAVE_NETINET_IN_H
7160 # include <netinet/in.h>
7161 #endif
7162 #ifdef HAVE_NETINET_IN_SYSTM_H
7163 # include <netinet/in_systm.h>
7164 #endif
7165 #ifdef HAVE_NETINET_IP_H
7166 # include <netinet/ip.h>
7167 #endif
7168 #ifdef HAVE_NETINET_IP_VAR_H
7169 # include <netinet/ip_var.h>
7170 #endif
7171 #ifdef HAVE_NETINET_IP_ICMP_H
7172 # include <netinet/ip_icmp.h>
7173 #endif
7174 #ifdef HAVE_NETINET_UDP_H
7175 # include <netinet/udp.h>
7176 #endif
7177 #ifdef HAVE_NETINET_TCP_H
7178 # include <netinet/tcp.h>
7179 #endif
7180 #ifdef HAVE_NETINET_TCP_TIMER_H
7181 #include <netinet/tcp_timer.h>
7182 #endif
7184 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7185 cat >>confdefs.h <<_ACEOF
7186 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7187 _ACEOF
7191 done
7194 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7195 do :
7196 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7197 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7198 #ifdef HAVE_ASM_TYPES_H
7199 # include <asm/types.h>
7200 #endif
7201 #ifdef HAVE_SYS_SOCKET_H
7202 # include <sys/socket.h>
7203 #endif
7204 #ifdef HAVE_LINUX_TYPES_H
7205 # include <linux/types.h>
7206 #endif
7208 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7209 cat >>confdefs.h <<_ACEOF
7210 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7211 _ACEOF
7215 done
7218 for ac_header in mach-o/dyld_images.h
7219 do :
7220 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7221 # include <stdbool.h>
7222 #endif
7223 #ifdef HAVE_STDINT_H
7224 # include <stdint.h>
7225 #endif
7227 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7228 cat >>confdefs.h <<_ACEOF
7229 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7230 _ACEOF
7234 done
7237 for ac_header in resolv.h
7238 do :
7239 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7240 #ifdef HAVE_SYS_SOCKET_H
7241 # include <sys/socket.h>
7242 #endif
7243 #ifdef HAVE_NETINET_IN_H
7244 # include <netinet/in.h>
7245 #endif
7246 #ifdef HAVE_ARPA_NAMESER_H
7247 # include <arpa/nameser.h>
7248 #endif
7250 if test "x$ac_cv_header_resolv_h" = xyes; then :
7251 cat >>confdefs.h <<_ACEOF
7252 #define HAVE_RESOLV_H 1
7253 _ACEOF
7257 done
7260 for ac_header in ifaddrs.h
7261 do :
7262 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7264 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7265 cat >>confdefs.h <<_ACEOF
7266 #define HAVE_IFADDRS_H 1
7267 _ACEOF
7271 done
7274 for ac_header in sys/ucontext.h
7275 do :
7276 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7278 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7279 cat >>confdefs.h <<_ACEOF
7280 #define HAVE_SYS_UCONTEXT_H 1
7281 _ACEOF
7285 done
7288 for ac_header in sys/thr.h
7289 do :
7290 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7291 #ifdef HAVE_SYS_UCONTEXT_H
7292 #include <sys/ucontext.h>
7293 #endif
7295 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7296 cat >>confdefs.h <<_ACEOF
7297 #define HAVE_SYS_THR_H 1
7298 _ACEOF
7302 done
7305 for ac_header in pthread_np.h
7306 do :
7307 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7308 #include <pthread.h>
7309 #endif
7311 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7312 cat >>confdefs.h <<_ACEOF
7313 #define HAVE_PTHREAD_NP_H 1
7314 _ACEOF
7318 done
7321 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7322 do :
7323 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7324 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7325 #include <sys/time.h>
7326 #endif
7327 #include <sys/types.h>
7328 #ifdef HAVE_ASM_TYPES_H
7329 #include <asm/types.h>
7330 #endif
7332 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7333 cat >>confdefs.h <<_ACEOF
7334 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7335 _ACEOF
7339 done
7342 for ac_header in libprocstat.h
7343 do :
7344 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7345 #include <sys/param.h>
7346 #endif
7347 #ifdef HAVE_SYS_QUEUE_H
7348 #include <sys/queue.h>
7349 #endif
7350 #ifdef HAVE_SYS_SOCKET_H
7351 #include <sys/socket.h>
7352 #endif
7354 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7355 cat >>confdefs.h <<_ACEOF
7356 #define HAVE_LIBPROCSTAT_H 1
7357 _ACEOF
7361 done
7365 dlldir="\${libdir}/wine"
7367 DLLFLAGS="-D_REENTRANT"
7369 LDRPATH_INSTALL=""
7371 LDRPATH_LOCAL=""
7373 LDEXECFLAGS=""
7375 WINELOADER_LDFLAGS=""
7377 LIBEXT="so"
7378 DLLEXT=".so"
7379 IMPLIBEXT="def"
7380 # Extract the first word of "ldd", so it can be a program name with args.
7381 set dummy ldd; ac_word=$2
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7383 $as_echo_n "checking for $ac_word... " >&6; }
7384 if ${ac_cv_path_LDD+:} false; then :
7385 $as_echo_n "(cached) " >&6
7386 else
7387 case $LDD in
7388 [\\/]* | ?:[\\/]*)
7389 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393 as_dummy="/sbin:/usr/sbin:$PATH"
7394 for as_dir in $as_dummy
7396 IFS=$as_save_IFS
7397 test -z "$as_dir" && as_dir=.
7398 for ac_exec_ext in '' $ac_executable_extensions; do
7399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7400 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7402 break 2
7404 done
7405 done
7406 IFS=$as_save_IFS
7408 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7410 esac
7412 LDD=$ac_cv_path_LDD
7413 if test -n "$LDD"; then
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7415 $as_echo "$LDD" >&6; }
7416 else
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7418 $as_echo "no" >&6; }
7422 if test -n "$ac_tool_prefix"; then
7423 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7424 set dummy ${ac_tool_prefix}otool; ac_word=$2
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7426 $as_echo_n "checking for $ac_word... " >&6; }
7427 if ${ac_cv_prog_OTOOL+:} false; then :
7428 $as_echo_n "(cached) " >&6
7429 else
7430 if test -n "$OTOOL"; then
7431 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7432 else
7433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7434 for as_dir in $PATH
7436 IFS=$as_save_IFS
7437 test -z "$as_dir" && as_dir=.
7438 for ac_exec_ext in '' $ac_executable_extensions; do
7439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7440 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7442 break 2
7444 done
7445 done
7446 IFS=$as_save_IFS
7450 OTOOL=$ac_cv_prog_OTOOL
7451 if test -n "$OTOOL"; then
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7453 $as_echo "$OTOOL" >&6; }
7454 else
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456 $as_echo "no" >&6; }
7461 if test -z "$ac_cv_prog_OTOOL"; then
7462 ac_ct_OTOOL=$OTOOL
7463 # Extract the first word of "otool", so it can be a program name with args.
7464 set dummy otool; ac_word=$2
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7466 $as_echo_n "checking for $ac_word... " >&6; }
7467 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7468 $as_echo_n "(cached) " >&6
7469 else
7470 if test -n "$ac_ct_OTOOL"; then
7471 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7472 else
7473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7474 for as_dir in $PATH
7476 IFS=$as_save_IFS
7477 test -z "$as_dir" && as_dir=.
7478 for ac_exec_ext in '' $ac_executable_extensions; do
7479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7480 ac_cv_prog_ac_ct_OTOOL="otool"
7481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7482 break 2
7484 done
7485 done
7486 IFS=$as_save_IFS
7490 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7491 if test -n "$ac_ct_OTOOL"; then
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7493 $as_echo "$ac_ct_OTOOL" >&6; }
7494 else
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7496 $as_echo "no" >&6; }
7499 if test "x$ac_ct_OTOOL" = x; then
7500 OTOOL="otool"
7501 else
7502 case $cross_compiling:$ac_tool_warned in
7503 yes:)
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7506 ac_tool_warned=yes ;;
7507 esac
7508 OTOOL=$ac_ct_OTOOL
7510 else
7511 OTOOL="$ac_cv_prog_OTOOL"
7514 if test -n "$ac_tool_prefix"; then
7515 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7516 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7518 $as_echo_n "checking for $ac_word... " >&6; }
7519 if ${ac_cv_prog_READELF+:} false; then :
7520 $as_echo_n "(cached) " >&6
7521 else
7522 if test -n "$READELF"; then
7523 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7524 else
7525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7526 for as_dir in $PATH
7528 IFS=$as_save_IFS
7529 test -z "$as_dir" && as_dir=.
7530 for ac_exec_ext in '' $ac_executable_extensions; do
7531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7532 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7534 break 2
7536 done
7537 done
7538 IFS=$as_save_IFS
7542 READELF=$ac_cv_prog_READELF
7543 if test -n "$READELF"; then
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7545 $as_echo "$READELF" >&6; }
7546 else
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7548 $as_echo "no" >&6; }
7553 if test -z "$ac_cv_prog_READELF"; then
7554 ac_ct_READELF=$READELF
7555 # Extract the first word of "readelf", so it can be a program name with args.
7556 set dummy readelf; ac_word=$2
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7558 $as_echo_n "checking for $ac_word... " >&6; }
7559 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7560 $as_echo_n "(cached) " >&6
7561 else
7562 if test -n "$ac_ct_READELF"; then
7563 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7564 else
7565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7566 for as_dir in $PATH
7568 IFS=$as_save_IFS
7569 test -z "$as_dir" && as_dir=.
7570 for ac_exec_ext in '' $ac_executable_extensions; do
7571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7572 ac_cv_prog_ac_ct_READELF="readelf"
7573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7574 break 2
7576 done
7577 done
7578 IFS=$as_save_IFS
7582 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7583 if test -n "$ac_ct_READELF"; then
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7585 $as_echo "$ac_ct_READELF" >&6; }
7586 else
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7588 $as_echo "no" >&6; }
7591 if test "x$ac_ct_READELF" = x; then
7592 READELF="true"
7593 else
7594 case $cross_compiling:$ac_tool_warned in
7595 yes:)
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7598 ac_tool_warned=yes ;;
7599 esac
7600 READELF=$ac_ct_READELF
7602 else
7603 READELF="$ac_cv_prog_READELF"
7606 wine_rules_file=conf$$rules.make
7607 rm -f $wine_rules_file
7608 SUBDIRS=""
7610 DISABLED_SUBDIRS=""
7612 CONFIGURE_TARGETS=""
7614 ALL_TEST_RESOURCES=""
7617 wine_fn_append_file ()
7619 as_fn_append $1 " \\$as_nl $2"
7622 wine_fn_append_rule ()
7624 $as_echo "$1" >>$wine_rules_file
7627 wine_fn_has_flag ()
7629 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7632 wine_fn_all_rules ()
7634 wine_fn_append_file SUBDIRS $ac_dir
7635 wine_fn_append_rule \
7636 "all: $ac_dir
7637 .PHONY: $ac_dir
7638 $ac_dir: dummy
7639 @cd $ac_dir && \$(MAKE)"
7642 wine_fn_install_rules ()
7644 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7646 wine_fn_append_rule \
7647 ".PHONY: $ac_dir/install $ac_dir/uninstall
7648 $ac_dir/install:: $ac_dir
7649 @cd $ac_dir && \$(MAKE) install
7650 $ac_dir/uninstall::
7651 @cd $ac_dir && \$(MAKE) uninstall
7652 install:: $ac_dir/install
7653 __uninstall__: $ac_dir/uninstall"
7655 if wine_fn_has_flag install-lib
7656 then
7657 wine_fn_append_rule \
7658 ".PHONY: $ac_dir/install-lib
7659 $ac_dir/install-lib:: $ac_dir
7660 @cd $ac_dir && \$(MAKE) install-lib
7661 install-lib:: $ac_dir/install-lib"
7664 if wine_fn_has_flag install-dev
7665 then
7666 wine_fn_append_rule \
7667 ".PHONY: $ac_dir/install-dev
7668 $ac_dir/install-dev:: $ac_dir
7669 @cd $ac_dir && \$(MAKE) install-dev
7670 install-dev:: $ac_dir/install-dev"
7674 wine_fn_clean_rules ()
7676 ac_clean=$@
7678 if wine_fn_has_flag clean
7679 then
7680 wine_fn_append_rule \
7681 "$ac_dir/clean: dummy
7682 @cd $ac_dir && \$(MAKE) clean"
7683 else
7684 wine_fn_append_rule \
7685 "$ac_dir/clean: dummy
7686 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7688 wine_fn_append_rule \
7689 "__clean__: $ac_dir/clean
7690 .PHONY: $ac_dir/clean"
7693 wine_fn_disabled_rules ()
7695 ac_clean=$@
7697 wine_fn_append_file SUBDIRS $ac_dir
7698 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7699 wine_fn_append_rule \
7700 "__clean__: $ac_dir/clean
7701 .PHONY: $ac_dir/clean
7702 $ac_dir/clean: dummy
7703 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7706 wine_fn_config_makefile ()
7708 ac_dir=$1
7709 ac_enable=$2
7710 ac_flags=$3
7712 case $ac_dir in
7713 fonts|server) test -z "$with_wine64" || return ;;
7714 esac
7715 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7716 wine_fn_disabled_rules; return
7718 wine_fn_all_rules
7719 wine_fn_install_rules
7720 wine_fn_clean_rules
7723 wine_fn_config_lib ()
7725 ac_name=$1
7726 ac_flags=$2
7727 ac_dir=dlls/$ac_name
7728 ac_deps="include"
7730 if test "x$enable_tools" = xno; then :
7732 else
7733 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7735 wine_fn_all_rules
7736 wine_fn_clean_rules
7738 wine_fn_append_rule \
7739 ".PHONY: $ac_dir/install $ac_dir/uninstall
7740 $ac_dir/install:: $ac_dir
7741 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7742 $ac_dir/uninstall::
7743 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7744 install install-dev:: $ac_dir/install
7745 __uninstall__: $ac_dir/uninstall
7746 __builddeps__: $ac_dir
7747 $ac_dir: $ac_deps"
7750 wine_fn_config_dll ()
7752 ac_name=$1
7753 ac_dir=dlls/$ac_name
7754 ac_enable=$2
7755 ac_flags=$3
7756 ac_implib=${4:-$ac_name}
7757 ac_file=$ac_dir/lib$ac_implib
7758 ac_dll=$ac_name
7759 ac_deps="include"
7760 ac_implibflags=""
7762 if test "x$enable_tools" = xno; then :
7764 else
7765 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7767 case $ac_name in
7768 *.*16) ac_implibflags=" -m16" ;;
7769 *.*) ;;
7770 *) ac_dll=$ac_dll.dll ;;
7771 esac
7773 ac_clean=
7774 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7775 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7777 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7778 if test "$ac_enable" != enable_win16
7779 then
7780 wine_fn_clean_rules $ac_clean
7781 wine_fn_append_file SUBDIRS $ac_dir
7782 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7783 else
7784 wine_fn_disabled_rules $ac_clean
7785 return
7787 else
7788 wine_fn_all_rules
7789 wine_fn_clean_rules $ac_clean
7790 wine_fn_append_rule \
7791 "$ac_dir: __builddeps__
7792 manpages htmlpages sgmlpages xmlpages::
7793 @cd $ac_dir && \$(MAKE) \$@
7794 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7795 install install-lib:: $ac_dir/install-lib
7796 __uninstall__: $ac_dir/uninstall"
7797 if test -n "$DLLEXT"
7798 then
7799 wine_fn_append_rule \
7800 "$ac_dir/install-lib:: $ac_dir
7801 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7802 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7803 $ac_dir/uninstall::
7804 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7805 else
7806 wine_fn_append_rule \
7807 "$ac_dir/install-lib:: $ac_dir
7808 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7809 $ac_dir/uninstall::
7810 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7814 if wine_fn_has_flag staticimplib
7815 then
7816 wine_fn_append_rule \
7817 "__builddeps__: $ac_file.a
7818 $ac_file.a $ac_file.cross.a: $ac_deps
7819 $ac_file.a: dummy
7820 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7821 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7822 $ac_dir/install-dev:: $ac_file.a
7823 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7824 $ac_dir/uninstall::
7825 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7826 install install-dev:: $ac_dir/install-dev
7827 __uninstall__: $ac_dir/uninstall"
7829 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7830 then
7831 wine_fn_append_rule \
7832 "__builddeps__: $ac_file.cross.a
7833 $ac_file.cross.a: dummy
7834 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7837 elif wine_fn_has_flag implib
7838 then
7839 wine_fn_append_rule \
7840 "__builddeps__: $ac_file.$IMPLIBEXT
7841 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7842 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7843 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7844 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7845 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7846 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7847 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7848 $ac_dir/uninstall::
7849 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7850 install install-dev:: $ac_dir/install-dev
7851 __uninstall__: $ac_dir/uninstall"
7852 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7853 then
7854 wine_fn_append_rule \
7855 "__builddeps__: $ac_file.cross.a
7856 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7857 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7862 wine_fn_config_program ()
7864 ac_name=$1
7865 ac_dir=programs/$ac_name
7866 ac_enable=$2
7867 ac_flags=$3
7868 ac_program=$ac_name
7870 case $ac_name in
7871 *.*) ;;
7872 *) ac_program=$ac_program.exe ;;
7873 esac
7875 ac_clean=
7876 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7877 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7879 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7880 wine_fn_disabled_rules $ac_clean; return
7883 wine_fn_all_rules
7884 wine_fn_clean_rules $ac_clean
7885 wine_fn_append_rule "$ac_dir: __builddeps__"
7887 wine_fn_has_flag install || return
7888 wine_fn_append_rule \
7889 ".PHONY: $ac_dir/install $ac_dir/uninstall
7890 install install-lib:: $ac_dir/install
7891 __uninstall__: $ac_dir/uninstall"
7893 if test -n "$DLLEXT"
7894 then
7895 wine_fn_append_rule \
7896 "$ac_dir/install:: $ac_dir
7897 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7898 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7899 $ac_dir/uninstall::
7900 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7902 if test -z "$with_wine64" && wine_fn_has_flag installbin
7903 then
7904 wine_fn_append_rule \
7905 "$ac_dir/install:: __tooldeps__
7906 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7907 $ac_dir/uninstall::
7908 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7910 else
7911 wine_fn_append_rule \
7912 "$ac_dir/install:: $ac_dir
7913 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7914 $ac_dir/uninstall::
7915 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7918 if test -z "$with_wine64" && wine_fn_has_flag manpage
7919 then
7920 wine_fn_append_rule \
7921 "$ac_dir/install:: $ac_dir
7922 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7923 $ac_dir/uninstall::
7924 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7928 wine_fn_config_test ()
7930 ac_dir=$1
7931 ac_name=$2
7932 ac_flags=$3
7934 ac_clean=
7935 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7936 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7938 if test "x$enable_tests" = xno; then :
7939 wine_fn_disabled_rules $ac_clean; return
7942 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7943 wine_fn_all_rules
7944 wine_fn_clean_rules $ac_clean
7946 wine_fn_append_rule \
7947 "$ac_dir: __builddeps__
7948 programs/winetest: $ac_dir
7949 check test: $ac_dir/test
7950 .PHONY: $ac_dir/test
7951 $ac_dir/test: dummy
7952 @cd $ac_dir && \$(MAKE) test
7953 testclean::
7954 \$(RM) $ac_dir/*.ok"
7956 if test -n "$CROSSTARGET"
7957 then
7958 wine_fn_append_rule \
7959 "crosstest: $ac_dir/crosstest
7960 .PHONY: $ac_dir/crosstest
7961 $ac_dir/crosstest: __builddeps__ dummy
7962 @cd $ac_dir && \$(MAKE) crosstest"
7966 wine_fn_config_tool ()
7968 ac_dir=$1
7969 ac_flags=$2
7970 if test "x$enable_tools" = xno; then :
7971 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7974 wine_fn_all_rules
7975 wine_fn_install_rules
7976 wine_fn_clean_rules
7978 wine_fn_append_rule "__tooldeps__: $ac_dir"
7979 wine_fn_append_rule "$ac_dir: libs/port"
7980 case $ac_dir in
7981 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7982 esac
7985 wine_fn_config_symlink ()
7987 ac_linkdir=
7988 if test "x$1" = "x-d"
7989 then
7990 ac_linkdir=$2
7991 shift; shift
7993 ac_links=$@
7994 wine_fn_append_rule \
7995 "$ac_links:
7996 @./config.status \$@"
7997 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7998 test -n "$ac_linkdir" || return
7999 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8002 wine_binary="wine"
8003 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8004 WINELOADER_PROGRAMS="$wine_binary"
8006 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8008 case $host_os in
8009 cygwin*|mingw32*)
8010 if test -n "$ac_tool_prefix"; then
8011 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8012 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8014 $as_echo_n "checking for $ac_word... " >&6; }
8015 if ${ac_cv_prog_DLLTOOL+:} false; then :
8016 $as_echo_n "(cached) " >&6
8017 else
8018 if test -n "$DLLTOOL"; then
8019 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8020 else
8021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8022 for as_dir in $PATH
8024 IFS=$as_save_IFS
8025 test -z "$as_dir" && as_dir=.
8026 for ac_exec_ext in '' $ac_executable_extensions; do
8027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8028 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8030 break 2
8032 done
8033 done
8034 IFS=$as_save_IFS
8038 DLLTOOL=$ac_cv_prog_DLLTOOL
8039 if test -n "$DLLTOOL"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8041 $as_echo "$DLLTOOL" >&6; }
8042 else
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8044 $as_echo "no" >&6; }
8049 if test -z "$ac_cv_prog_DLLTOOL"; then
8050 ac_ct_DLLTOOL=$DLLTOOL
8051 # Extract the first word of "dlltool", so it can be a program name with args.
8052 set dummy dlltool; ac_word=$2
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8054 $as_echo_n "checking for $ac_word... " >&6; }
8055 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8056 $as_echo_n "(cached) " >&6
8057 else
8058 if test -n "$ac_ct_DLLTOOL"; then
8059 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8060 else
8061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8062 for as_dir in $PATH
8064 IFS=$as_save_IFS
8065 test -z "$as_dir" && as_dir=.
8066 for ac_exec_ext in '' $ac_executable_extensions; do
8067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8068 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8070 break 2
8072 done
8073 done
8074 IFS=$as_save_IFS
8078 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8079 if test -n "$ac_ct_DLLTOOL"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8081 $as_echo "$ac_ct_DLLTOOL" >&6; }
8082 else
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8084 $as_echo "no" >&6; }
8087 if test "x$ac_ct_DLLTOOL" = x; then
8088 DLLTOOL="false"
8089 else
8090 case $cross_compiling:$ac_tool_warned in
8091 yes:)
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8094 ac_tool_warned=yes ;;
8095 esac
8096 DLLTOOL=$ac_ct_DLLTOOL
8098 else
8099 DLLTOOL="$ac_cv_prog_DLLTOOL"
8102 LIBEXT="dll"
8103 DLLEXT=""
8104 IMPLIBEXT="a"
8105 enable_iphlpapi=${enable_iphlpapi:-no}
8106 enable_kernel32=${enable_kernel32:-no}
8107 enable_msvcrt=${enable_msvcrt:-no}
8108 enable_ntdll=${enable_ntdll:-no}
8109 enable_ws2_32=${enable_ws2_32:-no}
8110 enable_loader=${enable_loader:-no}
8111 enable_server=${enable_server:-no}
8112 with_x=${with_x:-no}
8113 with_pthread=${with_pthread:-no}
8115 crtlibs=""
8116 case $host_os in
8117 mingw32*)
8118 crtlibs="-lmsvcrt"
8119 SOCKET_LIBS="-lws2_32"
8121 esac
8123 LIBWINE_SHAREDLIB="libwine.dll"
8125 LIBWINE_IMPORTLIB="libwine.a"
8127 LIBWINE_INSTALL_LIB="libwine.dll"
8129 LIBWINE_INSTALL_DEV="libwine.a"
8131 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8133 LIBWINE_DEPENDS="wine.def"
8137 darwin*|macosx*)
8138 for ac_header in libunwind.h
8139 do :
8140 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8142 cat >>confdefs.h <<_ACEOF
8143 #define HAVE_LIBUNWIND_H 1
8144 _ACEOF
8148 done
8150 LIBEXT="dylib"
8151 DLLFLAGS="$DLLFLAGS -fPIC"
8152 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8153 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8154 COREFOUNDATION_LIBS="-framework CoreFoundation"
8156 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8158 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8160 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8162 CORESERVICES_LIBS="-framework CoreServices"
8164 APPKIT_LIBS="-framework AppKit"
8166 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8168 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8169 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8170 $as_echo_n "(cached) " >&6
8171 else
8172 ac_wine_try_cflags_saved=$CFLAGS
8173 CFLAGS="$CFLAGS -Wl,-no_pie"
8174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8175 /* end confdefs.h. */
8176 int main(int argc, char **argv) { return 0; }
8177 _ACEOF
8178 if ac_fn_c_try_link "$LINENO"; then :
8179 ac_cv_cflags__Wl__no_pie=yes
8180 else
8181 ac_cv_cflags__Wl__no_pie=no
8183 rm -f core conftest.err conftest.$ac_objext \
8184 conftest$ac_exeext conftest.$ac_ext
8185 CFLAGS=$ac_wine_try_cflags_saved
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8188 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8189 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8190 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8192 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8193 then
8194 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8197 if test "$ac_cv_header_Security_Security_h" = "yes"
8198 then
8199 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8201 ac_save_LIBS="$LIBS"
8202 LIBS="$LIBS $SECURITY_LIBS"
8203 for ac_func in SSLCopyPeerCertificates
8204 do :
8205 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8206 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8207 cat >>confdefs.h <<_ACEOF
8208 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8209 _ACEOF
8212 done
8214 LIBS="$ac_save_LIBS"
8215 with_gnutls=${with_gnutls:-no}
8217 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8218 then
8219 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8220 then
8221 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8223 else
8224 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8227 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8228 ac_save_LIBS="$LIBS"
8229 LIBS="$LIBS $COREAUDIO_LIBS"
8230 for ac_func in AUGraphAddNode
8231 do :
8232 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8233 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8234 cat >>confdefs.h <<_ACEOF
8235 #define HAVE_AUGRAPHADDNODE 1
8236 _ACEOF
8239 done
8241 LIBS="$ac_save_LIBS"
8243 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8244 then
8245 OPENAL_LIBS="-framework OpenAL"
8248 cat >>confdefs.h <<_ACEOF
8249 #define HAVE_OPENAL 1
8250 _ACEOF
8252 ac_cv_lib_openal=yes
8254 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8255 then
8256 OPENCL_LIBS="-framework OpenCL"
8258 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8260 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8261 then
8262 ac_save_LIBS="$LIBS"
8263 LIBS="$LIBS $IOKIT_LIBS"
8264 for ac_func in IOHIDManagerCreate
8265 do :
8266 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8267 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8268 cat >>confdefs.h <<_ACEOF
8269 #define HAVE_IOHIDMANAGERCREATE 1
8270 _ACEOF
8273 done
8275 LIBS="$ac_save_LIBS"
8277 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8278 then
8279 ac_save_LIBS="$LIBS"
8280 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8282 $as_echo_n "checking for the QuickTime framework... " >&6; }
8283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8284 /* end confdefs.h. */
8285 #include <QuickTime/ImageCompression.h>
8287 main ()
8289 CodecManagerVersion(NULL);
8291 return 0;
8293 _ACEOF
8294 if ac_fn_c_try_link "$LINENO"; then :
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8296 $as_echo "yes" >&6; }
8297 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8299 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8300 else
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8302 $as_echo "no" >&6; }
8303 ac_cv_header_QuickTime_ImageCompression_h=no
8305 rm -f core conftest.err conftest.$ac_objext \
8306 conftest$ac_exeext conftest.$ac_ext
8307 LIBS="$ac_save_LIBS"
8309 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8310 then
8311 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8313 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8314 then
8315 CARBON_LIBS="-framework Carbon"
8319 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8320 then
8321 ac_save_LIBS="$LIBS"
8322 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8323 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8324 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8325 enable_winemac_drv=${enable_winemac_drv:-yes}
8328 LIBS="$ac_save_LIBS"
8331 if test "x$enable_win16" = "xyes"
8332 then
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8334 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8335 if test "$cross_compiling" = yes; then :
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8337 $as_echo "cross-compiling, assuming yes" >&6; }
8338 else
8339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8341 asm(".text\n"
8342 "bad:\tnop;nop\n"
8343 "good:\tnop;nop\n\t"
8344 ".globl _testfunc\n"
8345 "_testfunc:\tcallw good");
8346 extern void testfunc();
8348 main ()
8350 unsigned short *p = (unsigned short *)testfunc;
8351 return p[0] != 0xe866 || p[1] != 0xfffa
8353 return 0;
8355 _ACEOF
8356 if ac_fn_c_try_run "$LINENO"; then :
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8358 $as_echo "yes" >&6; }
8359 else
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8361 $as_echo "no" >&6; }
8362 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
8364 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8365 conftest.$ac_objext conftest.beam conftest.$ac_ext
8370 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8372 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8374 LIBWINE_INSTALL_DEV="libwine.dylib"
8376 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8378 WINELOADER_DEPENDS="wine_info.plist"
8382 linux-android*)
8383 DLLFLAGS="$DLLFLAGS -fPIC"
8384 LDEXECFLAGS="-Wl,-pie"
8385 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8387 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8388 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8389 $as_echo_n "(cached) " >&6
8390 else
8391 ac_wine_try_cflags_saved=$CFLAGS
8392 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8394 /* end confdefs.h. */
8395 int main(int argc, char **argv) { return 0; }
8396 _ACEOF
8397 if ac_fn_c_try_link "$LINENO"; then :
8398 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8399 else
8400 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8402 rm -f core conftest.err conftest.$ac_objext \
8403 conftest$ac_exeext conftest.$ac_ext
8404 CFLAGS=$ac_wine_try_cflags_saved
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8407 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8408 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8409 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8411 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8413 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8414 if eval \${$as_ac_var+:} false; then :
8415 $as_echo_n "(cached) " >&6
8416 else
8417 ac_wine_try_cflags_saved=$CFLAGS
8418 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8420 /* end confdefs.h. */
8421 int main(int argc, char **argv) { return 0; }
8422 _ACEOF
8423 if ac_fn_c_try_link "$LINENO"; then :
8424 eval "$as_ac_var=yes"
8425 else
8426 eval "$as_ac_var=no"
8428 rm -f core conftest.err conftest.$ac_objext \
8429 conftest$ac_exeext conftest.$ac_ext
8430 CFLAGS=$ac_wine_try_cflags_saved
8432 eval ac_res=\$$as_ac_var
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8434 $as_echo "$ac_res" >&6; }
8435 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8436 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8437 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8438 else
8439 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8441 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8442 if eval \${$as_ac_var+:} false; then :
8443 $as_echo_n "(cached) " >&6
8444 else
8445 ac_wine_try_cflags_saved=$CFLAGS
8446 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8448 /* end confdefs.h. */
8449 int main(int argc, char **argv) { return 0; }
8450 _ACEOF
8451 if ac_fn_c_try_link "$LINENO"; then :
8452 eval "$as_ac_var=yes"
8453 else
8454 eval "$as_ac_var=no"
8456 rm -f core conftest.err conftest.$ac_objext \
8457 conftest$ac_exeext conftest.$ac_ext
8458 CFLAGS=$ac_wine_try_cflags_saved
8460 eval ac_res=\$$as_ac_var
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8462 $as_echo "$ac_res" >&6; }
8463 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8464 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8465 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8469 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8470 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8471 $as_echo_n "(cached) " >&6
8472 else
8473 ac_wine_try_cflags_saved=$CFLAGS
8474 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8476 /* end confdefs.h. */
8477 int main(int argc, char **argv) { return 0; }
8478 _ACEOF
8479 if ac_fn_c_try_link "$LINENO"; then :
8480 ac_cv_cflags__Wl___enable_new_dtags=yes
8481 else
8482 ac_cv_cflags__Wl___enable_new_dtags=no
8484 rm -f core conftest.err conftest.$ac_objext \
8485 conftest$ac_exeext conftest.$ac_ext
8486 CFLAGS=$ac_wine_try_cflags_saved
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8489 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8490 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8491 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8494 LIBWINE_SHAREDLIB="libwine.so"
8496 LIBWINE_INSTALL_LIB="libwine.so"
8498 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8502 $as_echo_n "checking for -lEGL... " >&6; }
8503 if ${ac_cv_lib_soname_EGL+:} false; then :
8504 $as_echo_n "(cached) " >&6
8505 else
8506 ac_check_soname_save_LIBS=$LIBS
8507 LIBS="-lEGL $LIBS"
8508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8511 /* Override any GCC internal prototype to avoid an error.
8512 Use char because int might match the return type of a GCC
8513 builtin and then its argument prototype would still apply. */
8514 #ifdef __cplusplus
8515 extern "C"
8516 #endif
8517 char eglGetProcAddress ();
8519 main ()
8521 return eglGetProcAddress ();
8523 return 0;
8525 _ACEOF
8526 if ac_fn_c_try_link "$LINENO"; then :
8527 case "$LIBEXT" in
8528 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8529 dylib) ac_cv_lib_soname_EGL=`$OTOOL -L conftest$ac_exeext | grep "libEGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libEGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8530 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8531 if ${ac_cv_lib_soname_EGL:+false} :; then :
8532 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8533 fi ;;
8534 esac
8536 rm -f core conftest.err conftest.$ac_objext \
8537 conftest$ac_exeext conftest.$ac_ext
8538 LIBS=$ac_check_soname_save_LIBS
8540 if ${ac_cv_lib_soname_EGL:+false} :; then :
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8542 $as_echo "not found" >&6; }
8544 else
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8546 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8548 cat >>confdefs.h <<_ACEOF
8549 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8550 _ACEOF
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8555 $as_echo_n "checking for -lGLESv2... " >&6; }
8556 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8557 $as_echo_n "(cached) " >&6
8558 else
8559 ac_check_soname_save_LIBS=$LIBS
8560 LIBS="-lGLESv2 $LIBS"
8561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8564 /* Override any GCC internal prototype to avoid an error.
8565 Use char because int might match the return type of a GCC
8566 builtin and then its argument prototype would still apply. */
8567 #ifdef __cplusplus
8568 extern "C"
8569 #endif
8570 char glFlush ();
8572 main ()
8574 return glFlush ();
8576 return 0;
8578 _ACEOF
8579 if ac_fn_c_try_link "$LINENO"; then :
8580 case "$LIBEXT" in
8581 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8582 dylib) ac_cv_lib_soname_GLESv2=`$OTOOL -L conftest$ac_exeext | grep "libGLESv2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLESv2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8583 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8584 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8585 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8586 fi ;;
8587 esac
8589 rm -f core conftest.err conftest.$ac_objext \
8590 conftest$ac_exeext conftest.$ac_ext
8591 LIBS=$ac_check_soname_save_LIBS
8593 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8595 $as_echo "not found" >&6; }
8597 else
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8599 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8601 cat >>confdefs.h <<_ACEOF
8602 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8603 _ACEOF
8608 if test "x$exec_prefix" = xNONE
8609 then
8610 case $host_cpu in
8611 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8612 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8613 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8614 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8615 esac
8620 DLLFLAGS="$DLLFLAGS -fPIC"
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8622 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8623 if ${ac_cv_c_dll_gnuelf+:} false; then :
8624 $as_echo_n "(cached) " >&6
8625 else
8626 ac_wine_try_cflags_saved=$CFLAGS
8627 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8629 /* end confdefs.h. */
8630 void myfunc() {}
8631 _ACEOF
8632 if ac_fn_c_try_link "$LINENO"; then :
8633 ac_cv_c_dll_gnuelf="yes"
8634 else
8635 ac_cv_c_dll_gnuelf="no"
8637 rm -f core conftest.err conftest.$ac_objext \
8638 conftest$ac_exeext conftest.$ac_ext
8639 CFLAGS=$ac_wine_try_cflags_saved
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8642 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8643 if test "$ac_cv_c_dll_gnuelf" = "yes"
8644 then
8645 LIBWINE_LDFLAGS="-shared"
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8647 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8648 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8649 $as_echo_n "(cached) " >&6
8650 else
8651 ac_wine_try_cflags_saved=$CFLAGS
8652 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8654 /* end confdefs.h. */
8655 int main(int argc, char **argv) { return 0; }
8656 _ACEOF
8657 if ac_fn_c_try_link "$LINENO"; then :
8658 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8659 else
8660 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8662 rm -f core conftest.err conftest.$ac_objext \
8663 conftest$ac_exeext conftest.$ac_ext
8664 CFLAGS=$ac_wine_try_cflags_saved
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8667 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8668 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8669 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8670 else
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8672 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8673 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8674 $as_echo_n "(cached) " >&6
8675 else
8676 ac_wine_try_cflags_saved=$CFLAGS
8677 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8679 /* end confdefs.h. */
8680 int main(int argc, char **argv) { return 0; }
8681 _ACEOF
8682 if ac_fn_c_try_link "$LINENO"; then :
8683 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8684 else
8685 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8687 rm -f core conftest.err conftest.$ac_objext \
8688 conftest$ac_exeext conftest.$ac_ext
8689 CFLAGS=$ac_wine_try_cflags_saved
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8692 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8693 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8694 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8698 echo '{ global: *; };' >conftest.map
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8700 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8701 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8702 $as_echo_n "(cached) " >&6
8703 else
8704 ac_wine_try_cflags_saved=$CFLAGS
8705 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8707 /* end confdefs.h. */
8708 int main(int argc, char **argv) { return 0; }
8709 _ACEOF
8710 if ac_fn_c_try_link "$LINENO"; then :
8711 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8712 else
8713 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8715 rm -f core conftest.err conftest.$ac_objext \
8716 conftest$ac_exeext conftest.$ac_ext
8717 CFLAGS=$ac_wine_try_cflags_saved
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8720 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8721 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8722 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8724 rm -f conftest.map
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8727 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8728 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8729 $as_echo_n "(cached) " >&6
8730 else
8731 ac_wine_try_cflags_saved=$CFLAGS
8732 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8734 /* end confdefs.h. */
8735 int main(int argc, char **argv) { return 0; }
8736 _ACEOF
8737 if ac_fn_c_try_link "$LINENO"; then :
8738 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8739 else
8740 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8742 rm -f core conftest.err conftest.$ac_objext \
8743 conftest$ac_exeext conftest.$ac_ext
8744 CFLAGS=$ac_wine_try_cflags_saved
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8747 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8748 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8749 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8752 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8754 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8755 if eval \${$as_ac_var+:} false; then :
8756 $as_echo_n "(cached) " >&6
8757 else
8758 ac_wine_try_cflags_saved=$CFLAGS
8759 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8761 /* end confdefs.h. */
8762 int main(int argc, char **argv) { return 0; }
8763 _ACEOF
8764 if ac_fn_c_try_link "$LINENO"; then :
8765 eval "$as_ac_var=yes"
8766 else
8767 eval "$as_ac_var=no"
8769 rm -f core conftest.err conftest.$ac_objext \
8770 conftest$ac_exeext conftest.$ac_ext
8771 CFLAGS=$ac_wine_try_cflags_saved
8773 eval ac_res=\$$as_ac_var
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8775 $as_echo "$ac_res" >&6; }
8776 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8777 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8778 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8779 else
8780 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8782 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8783 if eval \${$as_ac_var+:} false; then :
8784 $as_echo_n "(cached) " >&6
8785 else
8786 ac_wine_try_cflags_saved=$CFLAGS
8787 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8789 /* end confdefs.h. */
8790 int main(int argc, char **argv) { return 0; }
8791 _ACEOF
8792 if ac_fn_c_try_link "$LINENO"; then :
8793 eval "$as_ac_var=yes"
8794 else
8795 eval "$as_ac_var=no"
8797 rm -f core conftest.err conftest.$ac_objext \
8798 conftest$ac_exeext conftest.$ac_ext
8799 CFLAGS=$ac_wine_try_cflags_saved
8801 eval ac_res=\$$as_ac_var
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8803 $as_echo "$ac_res" >&6; }
8804 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8805 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8806 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8811 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8812 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8813 $as_echo_n "(cached) " >&6
8814 else
8815 ac_wine_try_cflags_saved=$CFLAGS
8816 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8818 /* end confdefs.h. */
8819 int main(int argc, char **argv) { return 0; }
8820 _ACEOF
8821 if ac_fn_c_try_link "$LINENO"; then :
8822 ac_cv_cflags__Wl___enable_new_dtags=yes
8823 else
8824 ac_cv_cflags__Wl___enable_new_dtags=no
8826 rm -f core conftest.err conftest.$ac_objext \
8827 conftest$ac_exeext conftest.$ac_ext
8828 CFLAGS=$ac_wine_try_cflags_saved
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8831 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8832 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8833 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8836 case $host_cpu in
8837 *i[3456789]86* | x86_64)
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8839 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8840 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8841 $as_echo_n "(cached) " >&6
8842 else
8843 ac_wine_try_cflags_saved=$CFLAGS
8844 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8846 /* end confdefs.h. */
8847 int main(int argc, char **argv) { return 0; }
8848 _ACEOF
8849 if ac_fn_c_try_link "$LINENO"; then :
8850 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8851 else
8852 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8854 rm -f core conftest.err conftest.$ac_objext \
8855 conftest$ac_exeext conftest.$ac_ext
8856 CFLAGS=$ac_wine_try_cflags_saved
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8859 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8860 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8861 case $host_os in
8862 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8863 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8864 esac
8865 else
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8867 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8868 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8869 $as_echo_n "(cached) " >&6
8870 else
8871 ac_wine_try_cflags_saved=$CFLAGS
8872 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8874 /* end confdefs.h. */
8875 int main(int argc, char **argv) { return 0; }
8876 _ACEOF
8877 if ac_fn_c_try_link "$LINENO"; then :
8878 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8879 else
8880 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8882 rm -f core conftest.err conftest.$ac_objext \
8883 conftest$ac_exeext conftest.$ac_ext
8884 CFLAGS=$ac_wine_try_cflags_saved
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8887 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8888 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8889 case $host_os in
8890 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8891 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8892 esac
8894 # Extract the first word of "prelink", so it can be a program name with args.
8895 set dummy prelink; ac_word=$2
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8897 $as_echo_n "checking for $ac_word... " >&6; }
8898 if ${ac_cv_path_PRELINK+:} false; then :
8899 $as_echo_n "(cached) " >&6
8900 else
8901 case $PRELINK in
8902 [\\/]* | ?:[\\/]*)
8903 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8907 for as_dir in /sbin /usr/sbin $PATH
8909 IFS=$as_save_IFS
8910 test -z "$as_dir" && as_dir=.
8911 for ac_exec_ext in '' $ac_executable_extensions; do
8912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8913 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8915 break 2
8917 done
8918 done
8919 IFS=$as_save_IFS
8921 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8923 esac
8925 PRELINK=$ac_cv_path_PRELINK
8926 if test -n "$PRELINK"; then
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8928 $as_echo "$PRELINK" >&6; }
8929 else
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8931 $as_echo "no" >&6; }
8935 if test "x$PRELINK" = xfalse
8936 then
8937 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8941 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8942 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8943 $as_echo_n "(cached) " >&6
8944 else
8945 ac_wine_try_cflags_saved=$CFLAGS
8946 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8948 /* end confdefs.h. */
8949 int main(int argc, char **argv) { return 0; }
8950 _ACEOF
8951 if ac_fn_c_try_link "$LINENO"; then :
8952 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8953 else
8954 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8956 rm -f core conftest.err conftest.$ac_objext \
8957 conftest$ac_exeext conftest.$ac_ext
8958 CFLAGS=$ac_wine_try_cflags_saved
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8961 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8962 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8963 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8966 esac
8968 else
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8970 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8971 if ${ac_cv_c_dll_unixware+:} false; then :
8972 $as_echo_n "(cached) " >&6
8973 else
8974 ac_wine_try_cflags_saved=$CFLAGS
8975 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8977 /* end confdefs.h. */
8978 void myfunc() {}
8979 _ACEOF
8980 if ac_fn_c_try_link "$LINENO"; then :
8981 ac_cv_c_dll_unixware="yes"
8982 else
8983 ac_cv_c_dll_unixware="no"
8985 rm -f core conftest.err conftest.$ac_objext \
8986 conftest$ac_exeext conftest.$ac_ext
8987 CFLAGS=$ac_wine_try_cflags_saved
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8990 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8991 if test "$ac_cv_c_dll_unixware" = "yes"
8992 then
8993 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8996 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8998 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9000 LIBWINE_INSTALL_DEV="libwine.so"
9002 LIBWINE_DEPENDS="wine.map"
9005 esac
9007 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9008 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9009 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9010 enable_winemac_drv=${enable_winemac_drv:-no}
9011 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9013 CROSSTARGET=""
9015 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9016 then
9017 case "$host_cpu" in
9018 arm*)
9019 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9020 i[3456789]86*)
9021 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
9022 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9023 mingw32-gcc" ;;
9024 x86_64)
9025 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
9026 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9028 ac_prefix_list="" ;;
9029 esac
9030 for ac_prog in $ac_prefix_list
9032 # Extract the first word of "$ac_prog", so it can be a program name with args.
9033 set dummy $ac_prog; ac_word=$2
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9035 $as_echo_n "checking for $ac_word... " >&6; }
9036 if ${ac_cv_prog_CROSSCC+:} false; then :
9037 $as_echo_n "(cached) " >&6
9038 else
9039 if test -n "$CROSSCC"; then
9040 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9041 else
9042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9043 for as_dir in $PATH
9045 IFS=$as_save_IFS
9046 test -z "$as_dir" && as_dir=.
9047 for ac_exec_ext in '' $ac_executable_extensions; do
9048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9049 ac_cv_prog_CROSSCC="$ac_prog"
9050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9051 break 2
9053 done
9054 done
9055 IFS=$as_save_IFS
9059 CROSSCC=$ac_cv_prog_CROSSCC
9060 if test -n "$CROSSCC"; then
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9062 $as_echo "$CROSSCC" >&6; }
9063 else
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9065 $as_echo "no" >&6; }
9069 test -n "$CROSSCC" && break
9070 done
9071 test -n "$CROSSCC" || CROSSCC="false"
9073 if test "$CROSSCC" != "false"
9074 then
9075 ac_save_CC="$CC"
9076 CC="$CROSSCC"
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9078 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9080 /* end confdefs.h. */
9083 main ()
9087 return 0;
9089 _ACEOF
9090 if ac_fn_c_try_compile "$LINENO"; then :
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9092 $as_echo "yes" >&6; }
9093 set x $CROSSCC
9094 shift
9095 while test $# -ge 1
9097 case "$1" in
9098 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9099 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9100 esac
9101 shift
9102 done
9103 else
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9105 $as_echo "no" >&6; }
9107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9108 CC="$ac_save_CC"
9109 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9115 if test "$ac_cv_header_pthread_h" = "yes"
9116 then
9117 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9118 if test "x$ac_cv_func_pthread_create" = xyes; then :
9120 else
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9122 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9123 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9124 $as_echo_n "(cached) " >&6
9125 else
9126 ac_check_lib_save_LIBS=$LIBS
9127 LIBS="-lpthread $LIBS"
9128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9129 /* end confdefs.h. */
9131 /* Override any GCC internal prototype to avoid an error.
9132 Use char because int might match the return type of a GCC
9133 builtin and then its argument prototype would still apply. */
9134 #ifdef __cplusplus
9135 extern "C"
9136 #endif
9137 char pthread_create ();
9139 main ()
9141 return pthread_create ();
9143 return 0;
9145 _ACEOF
9146 if ac_fn_c_try_link "$LINENO"; then :
9147 ac_cv_lib_pthread_pthread_create=yes
9148 else
9149 ac_cv_lib_pthread_pthread_create=no
9151 rm -f core conftest.err conftest.$ac_objext \
9152 conftest$ac_exeext conftest.$ac_ext
9153 LIBS=$ac_check_lib_save_LIBS
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9156 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9157 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9158 PTHREAD_LIBS="-lpthread"
9165 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9166 case "x$with_pthread" in
9167 xno) ;;
9168 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9169 Wine cannot support threads without libpthread.
9170 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9171 esac
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9177 $as_echo_n "checking for X... " >&6; }
9180 # Check whether --with-x was given.
9181 if test "${with_x+set}" = set; then :
9182 withval=$with_x;
9185 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9186 if test "x$with_x" = xno; then
9187 # The user explicitly disabled X.
9188 have_x=disabled
9189 else
9190 case $x_includes,$x_libraries in #(
9191 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9192 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9193 $as_echo_n "(cached) " >&6
9194 else
9195 # One or both of the vars are not set, and there is no cached value.
9196 ac_x_includes=no ac_x_libraries=no
9197 rm -f -r conftest.dir
9198 if mkdir conftest.dir; then
9199 cd conftest.dir
9200 cat >Imakefile <<'_ACEOF'
9201 incroot:
9202 @echo incroot='${INCROOT}'
9203 usrlibdir:
9204 @echo usrlibdir='${USRLIBDIR}'
9205 libdir:
9206 @echo libdir='${LIBDIR}'
9207 _ACEOF
9208 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9209 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9210 for ac_var in incroot usrlibdir libdir; do
9211 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9212 done
9213 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9214 for ac_extension in a so sl dylib la dll; do
9215 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9216 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9217 ac_im_usrlibdir=$ac_im_libdir; break
9219 done
9220 # Screen out bogus values from the imake configuration. They are
9221 # bogus both because they are the default anyway, and because
9222 # using them would break gcc on systems where it needs fixed includes.
9223 case $ac_im_incroot in
9224 /usr/include) ac_x_includes= ;;
9225 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9226 esac
9227 case $ac_im_usrlibdir in
9228 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9229 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9230 esac
9232 cd ..
9233 rm -f -r conftest.dir
9236 # Standard set of common directories for X headers.
9237 # Check X11 before X11Rn because it is often a symlink to the current release.
9238 ac_x_header_dirs='
9239 /usr/X11/include
9240 /usr/X11R7/include
9241 /usr/X11R6/include
9242 /usr/X11R5/include
9243 /usr/X11R4/include
9245 /usr/include/X11
9246 /usr/include/X11R7
9247 /usr/include/X11R6
9248 /usr/include/X11R5
9249 /usr/include/X11R4
9251 /usr/local/X11/include
9252 /usr/local/X11R7/include
9253 /usr/local/X11R6/include
9254 /usr/local/X11R5/include
9255 /usr/local/X11R4/include
9257 /usr/local/include/X11
9258 /usr/local/include/X11R7
9259 /usr/local/include/X11R6
9260 /usr/local/include/X11R5
9261 /usr/local/include/X11R4
9263 /usr/X386/include
9264 /usr/x386/include
9265 /usr/XFree86/include/X11
9267 /usr/include
9268 /usr/local/include
9269 /usr/unsupported/include
9270 /usr/athena/include
9271 /usr/local/x11r5/include
9272 /usr/lpp/Xamples/include
9274 /usr/openwin/include
9275 /usr/openwin/share/include'
9277 if test "$ac_x_includes" = no; then
9278 # Guess where to find include files, by looking for Xlib.h.
9279 # First, try using that file with no special directory specified.
9280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9281 /* end confdefs.h. */
9282 #include <X11/Xlib.h>
9283 _ACEOF
9284 if ac_fn_c_try_cpp "$LINENO"; then :
9285 # We can compile using X headers with no special include directory.
9286 ac_x_includes=
9287 else
9288 for ac_dir in $ac_x_header_dirs; do
9289 if test -r "$ac_dir/X11/Xlib.h"; then
9290 ac_x_includes=$ac_dir
9291 break
9293 done
9295 rm -f conftest.err conftest.i conftest.$ac_ext
9296 fi # $ac_x_includes = no
9298 if test "$ac_x_libraries" = no; then
9299 # Check for the libraries.
9300 # See if we find them without any special options.
9301 # Don't add to $LIBS permanently.
9302 ac_save_LIBS=$LIBS
9303 LIBS="-lX11 $LIBS"
9304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9305 /* end confdefs.h. */
9306 #include <X11/Xlib.h>
9308 main ()
9310 XrmInitialize ()
9312 return 0;
9314 _ACEOF
9315 if ac_fn_c_try_link "$LINENO"; then :
9316 LIBS=$ac_save_LIBS
9317 # We can link X programs with no special library path.
9318 ac_x_libraries=
9319 else
9320 LIBS=$ac_save_LIBS
9321 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9323 # Don't even attempt the hair of trying to link an X program!
9324 for ac_extension in a so sl dylib la dll; do
9325 if test -r "$ac_dir/libX11.$ac_extension"; then
9326 ac_x_libraries=$ac_dir
9327 break 2
9329 done
9330 done
9332 rm -f core conftest.err conftest.$ac_objext \
9333 conftest$ac_exeext conftest.$ac_ext
9334 fi # $ac_x_libraries = no
9336 case $ac_x_includes,$ac_x_libraries in #(
9337 no,* | *,no | *\'*)
9338 # Didn't find X, or a directory has "'" in its name.
9339 ac_cv_have_x="have_x=no";; #(
9341 # Record where we found X for the cache.
9342 ac_cv_have_x="have_x=yes\
9343 ac_x_includes='$ac_x_includes'\
9344 ac_x_libraries='$ac_x_libraries'"
9345 esac
9347 ;; #(
9348 *) have_x=yes;;
9349 esac
9350 eval "$ac_cv_have_x"
9351 fi # $with_x != no
9353 if test "$have_x" != yes; then
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9355 $as_echo "$have_x" >&6; }
9356 no_x=yes
9357 else
9358 # If each of the values was on the command line, it overrides each guess.
9359 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9360 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9361 # Update the cache value to reflect the command line values.
9362 ac_cv_have_x="have_x=yes\
9363 ac_x_includes='$x_includes'\
9364 ac_x_libraries='$x_libraries'"
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9366 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9369 if test "$no_x" = yes; then
9370 # Not all programs may use this symbol, but it does not hurt to define it.
9372 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9374 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9375 else
9376 if test -n "$x_includes"; then
9377 X_CFLAGS="$X_CFLAGS -I$x_includes"
9380 # It would also be nice to do this for all -L options, not just this one.
9381 if test -n "$x_libraries"; then
9382 X_LIBS="$X_LIBS -L$x_libraries"
9383 # For Solaris; some versions of Sun CC require a space after -R and
9384 # others require no space. Words are not sufficient . . . .
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9386 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9387 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9388 ac_xsave_c_werror_flag=$ac_c_werror_flag
9389 ac_c_werror_flag=yes
9390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9394 main ()
9398 return 0;
9400 _ACEOF
9401 if ac_fn_c_try_link "$LINENO"; then :
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9403 $as_echo "no" >&6; }
9404 X_LIBS="$X_LIBS -R$x_libraries"
9405 else
9406 LIBS="$ac_xsave_LIBS -R $x_libraries"
9407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9408 /* end confdefs.h. */
9411 main ()
9415 return 0;
9417 _ACEOF
9418 if ac_fn_c_try_link "$LINENO"; then :
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9420 $as_echo "yes" >&6; }
9421 X_LIBS="$X_LIBS -R $x_libraries"
9422 else
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9424 $as_echo "neither works" >&6; }
9426 rm -f core conftest.err conftest.$ac_objext \
9427 conftest$ac_exeext conftest.$ac_ext
9429 rm -f core conftest.err conftest.$ac_objext \
9430 conftest$ac_exeext conftest.$ac_ext
9431 ac_c_werror_flag=$ac_xsave_c_werror_flag
9432 LIBS=$ac_xsave_LIBS
9435 # Check for system-dependent libraries X programs must link with.
9436 # Do this before checking for the system-independent R6 libraries
9437 # (-lICE), since we may need -lsocket or whatever for X linking.
9439 if test "$ISC" = yes; then
9440 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9441 else
9442 # Martyn Johnson says this is needed for Ultrix, if the X
9443 # libraries were built with DECnet support. And Karl Berry says
9444 # the Alpha needs dnet_stub (dnet does not exist).
9445 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9447 /* end confdefs.h. */
9449 /* Override any GCC internal prototype to avoid an error.
9450 Use char because int might match the return type of a GCC
9451 builtin and then its argument prototype would still apply. */
9452 #ifdef __cplusplus
9453 extern "C"
9454 #endif
9455 char XOpenDisplay ();
9457 main ()
9459 return XOpenDisplay ();
9461 return 0;
9463 _ACEOF
9464 if ac_fn_c_try_link "$LINENO"; then :
9466 else
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9468 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9469 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9470 $as_echo_n "(cached) " >&6
9471 else
9472 ac_check_lib_save_LIBS=$LIBS
9473 LIBS="-ldnet $LIBS"
9474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9477 /* Override any GCC internal prototype to avoid an error.
9478 Use char because int might match the return type of a GCC
9479 builtin and then its argument prototype would still apply. */
9480 #ifdef __cplusplus
9481 extern "C"
9482 #endif
9483 char dnet_ntoa ();
9485 main ()
9487 return dnet_ntoa ();
9489 return 0;
9491 _ACEOF
9492 if ac_fn_c_try_link "$LINENO"; then :
9493 ac_cv_lib_dnet_dnet_ntoa=yes
9494 else
9495 ac_cv_lib_dnet_dnet_ntoa=no
9497 rm -f core conftest.err conftest.$ac_objext \
9498 conftest$ac_exeext conftest.$ac_ext
9499 LIBS=$ac_check_lib_save_LIBS
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9502 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9503 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9504 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9507 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9509 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9510 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9511 $as_echo_n "(cached) " >&6
9512 else
9513 ac_check_lib_save_LIBS=$LIBS
9514 LIBS="-ldnet_stub $LIBS"
9515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9516 /* end confdefs.h. */
9518 /* Override any GCC internal prototype to avoid an error.
9519 Use char because int might match the return type of a GCC
9520 builtin and then its argument prototype would still apply. */
9521 #ifdef __cplusplus
9522 extern "C"
9523 #endif
9524 char dnet_ntoa ();
9526 main ()
9528 return dnet_ntoa ();
9530 return 0;
9532 _ACEOF
9533 if ac_fn_c_try_link "$LINENO"; then :
9534 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9535 else
9536 ac_cv_lib_dnet_stub_dnet_ntoa=no
9538 rm -f core conftest.err conftest.$ac_objext \
9539 conftest$ac_exeext conftest.$ac_ext
9540 LIBS=$ac_check_lib_save_LIBS
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9543 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9544 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9545 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9550 rm -f core conftest.err conftest.$ac_objext \
9551 conftest$ac_exeext conftest.$ac_ext
9552 LIBS="$ac_xsave_LIBS"
9554 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9555 # to get the SysV transport functions.
9556 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9557 # needs -lnsl.
9558 # The nsl library prevents programs from opening the X display
9559 # on Irix 5.2, according to T.E. Dickey.
9560 # The functions gethostbyname, getservbyname, and inet_addr are
9561 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9562 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9563 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9567 if test $ac_cv_func_gethostbyname = no; then
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9569 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9570 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9571 $as_echo_n "(cached) " >&6
9572 else
9573 ac_check_lib_save_LIBS=$LIBS
9574 LIBS="-lnsl $LIBS"
9575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9576 /* end confdefs.h. */
9578 /* Override any GCC internal prototype to avoid an error.
9579 Use char because int might match the return type of a GCC
9580 builtin and then its argument prototype would still apply. */
9581 #ifdef __cplusplus
9582 extern "C"
9583 #endif
9584 char gethostbyname ();
9586 main ()
9588 return gethostbyname ();
9590 return 0;
9592 _ACEOF
9593 if ac_fn_c_try_link "$LINENO"; then :
9594 ac_cv_lib_nsl_gethostbyname=yes
9595 else
9596 ac_cv_lib_nsl_gethostbyname=no
9598 rm -f core conftest.err conftest.$ac_objext \
9599 conftest$ac_exeext conftest.$ac_ext
9600 LIBS=$ac_check_lib_save_LIBS
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9603 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9604 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9605 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9608 if test $ac_cv_lib_nsl_gethostbyname = no; then
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9610 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9611 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9612 $as_echo_n "(cached) " >&6
9613 else
9614 ac_check_lib_save_LIBS=$LIBS
9615 LIBS="-lbsd $LIBS"
9616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9617 /* end confdefs.h. */
9619 /* Override any GCC internal prototype to avoid an error.
9620 Use char because int might match the return type of a GCC
9621 builtin and then its argument prototype would still apply. */
9622 #ifdef __cplusplus
9623 extern "C"
9624 #endif
9625 char gethostbyname ();
9627 main ()
9629 return gethostbyname ();
9631 return 0;
9633 _ACEOF
9634 if ac_fn_c_try_link "$LINENO"; then :
9635 ac_cv_lib_bsd_gethostbyname=yes
9636 else
9637 ac_cv_lib_bsd_gethostbyname=no
9639 rm -f core conftest.err conftest.$ac_objext \
9640 conftest$ac_exeext conftest.$ac_ext
9641 LIBS=$ac_check_lib_save_LIBS
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9644 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9645 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9646 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9652 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9653 # socket/setsockopt and other routines are undefined under SCO ODT
9654 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9655 # on later versions), says Simon Leinen: it contains gethostby*
9656 # variants that don't use the name server (or something). -lsocket
9657 # must be given before -lnsl if both are needed. We assume that
9658 # if connect needs -lnsl, so does gethostbyname.
9659 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9660 if test "x$ac_cv_func_connect" = xyes; then :
9664 if test $ac_cv_func_connect = no; then
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9666 $as_echo_n "checking for connect in -lsocket... " >&6; }
9667 if ${ac_cv_lib_socket_connect+:} false; then :
9668 $as_echo_n "(cached) " >&6
9669 else
9670 ac_check_lib_save_LIBS=$LIBS
9671 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9673 /* end confdefs.h. */
9675 /* Override any GCC internal prototype to avoid an error.
9676 Use char because int might match the return type of a GCC
9677 builtin and then its argument prototype would still apply. */
9678 #ifdef __cplusplus
9679 extern "C"
9680 #endif
9681 char connect ();
9683 main ()
9685 return connect ();
9687 return 0;
9689 _ACEOF
9690 if ac_fn_c_try_link "$LINENO"; then :
9691 ac_cv_lib_socket_connect=yes
9692 else
9693 ac_cv_lib_socket_connect=no
9695 rm -f core conftest.err conftest.$ac_objext \
9696 conftest$ac_exeext conftest.$ac_ext
9697 LIBS=$ac_check_lib_save_LIBS
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9700 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9701 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9702 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9707 # Guillermo Gomez says -lposix is necessary on A/UX.
9708 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9709 if test "x$ac_cv_func_remove" = xyes; then :
9713 if test $ac_cv_func_remove = no; then
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9715 $as_echo_n "checking for remove in -lposix... " >&6; }
9716 if ${ac_cv_lib_posix_remove+:} false; then :
9717 $as_echo_n "(cached) " >&6
9718 else
9719 ac_check_lib_save_LIBS=$LIBS
9720 LIBS="-lposix $LIBS"
9721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9722 /* end confdefs.h. */
9724 /* Override any GCC internal prototype to avoid an error.
9725 Use char because int might match the return type of a GCC
9726 builtin and then its argument prototype would still apply. */
9727 #ifdef __cplusplus
9728 extern "C"
9729 #endif
9730 char remove ();
9732 main ()
9734 return remove ();
9736 return 0;
9738 _ACEOF
9739 if ac_fn_c_try_link "$LINENO"; then :
9740 ac_cv_lib_posix_remove=yes
9741 else
9742 ac_cv_lib_posix_remove=no
9744 rm -f core conftest.err conftest.$ac_objext \
9745 conftest$ac_exeext conftest.$ac_ext
9746 LIBS=$ac_check_lib_save_LIBS
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9749 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9750 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9751 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9756 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9757 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9758 if test "x$ac_cv_func_shmat" = xyes; then :
9762 if test $ac_cv_func_shmat = no; then
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9764 $as_echo_n "checking for shmat in -lipc... " >&6; }
9765 if ${ac_cv_lib_ipc_shmat+:} false; then :
9766 $as_echo_n "(cached) " >&6
9767 else
9768 ac_check_lib_save_LIBS=$LIBS
9769 LIBS="-lipc $LIBS"
9770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9771 /* end confdefs.h. */
9773 /* Override any GCC internal prototype to avoid an error.
9774 Use char because int might match the return type of a GCC
9775 builtin and then its argument prototype would still apply. */
9776 #ifdef __cplusplus
9777 extern "C"
9778 #endif
9779 char shmat ();
9781 main ()
9783 return shmat ();
9785 return 0;
9787 _ACEOF
9788 if ac_fn_c_try_link "$LINENO"; then :
9789 ac_cv_lib_ipc_shmat=yes
9790 else
9791 ac_cv_lib_ipc_shmat=no
9793 rm -f core conftest.err conftest.$ac_objext \
9794 conftest$ac_exeext conftest.$ac_ext
9795 LIBS=$ac_check_lib_save_LIBS
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9798 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9799 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9800 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9806 # Check for libraries that X11R6 Xt/Xaw programs need.
9807 ac_save_LDFLAGS=$LDFLAGS
9808 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9809 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9810 # check for ICE first), but we must link in the order -lSM -lICE or
9811 # we get undefined symbols. So assume we have SM if we have ICE.
9812 # These have to be linked with before -lX11, unlike the other
9813 # libraries we check for below, so use a different variable.
9814 # John Interrante, Karl Berry
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9816 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9817 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9818 $as_echo_n "(cached) " >&6
9819 else
9820 ac_check_lib_save_LIBS=$LIBS
9821 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9823 /* end confdefs.h. */
9825 /* Override any GCC internal prototype to avoid an error.
9826 Use char because int might match the return type of a GCC
9827 builtin and then its argument prototype would still apply. */
9828 #ifdef __cplusplus
9829 extern "C"
9830 #endif
9831 char IceConnectionNumber ();
9833 main ()
9835 return IceConnectionNumber ();
9837 return 0;
9839 _ACEOF
9840 if ac_fn_c_try_link "$LINENO"; then :
9841 ac_cv_lib_ICE_IceConnectionNumber=yes
9842 else
9843 ac_cv_lib_ICE_IceConnectionNumber=no
9845 rm -f core conftest.err conftest.$ac_objext \
9846 conftest$ac_exeext conftest.$ac_ext
9847 LIBS=$ac_check_lib_save_LIBS
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9850 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9851 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9852 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9855 LDFLAGS=$ac_save_LDFLAGS
9860 if test "$have_x" = "yes"
9861 then
9862 ac_save_CPPFLAGS="$CPPFLAGS"
9863 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9866 $as_echo_n "checking for -lX11... " >&6; }
9867 if ${ac_cv_lib_soname_X11+:} false; then :
9868 $as_echo_n "(cached) " >&6
9869 else
9870 ac_check_soname_save_LIBS=$LIBS
9871 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9873 /* end confdefs.h. */
9875 /* Override any GCC internal prototype to avoid an error.
9876 Use char because int might match the return type of a GCC
9877 builtin and then its argument prototype would still apply. */
9878 #ifdef __cplusplus
9879 extern "C"
9880 #endif
9881 char XCreateWindow ();
9883 main ()
9885 return XCreateWindow ();
9887 return 0;
9889 _ACEOF
9890 if ac_fn_c_try_link "$LINENO"; then :
9891 case "$LIBEXT" in
9892 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9893 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'` ;;
9894 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9895 if ${ac_cv_lib_soname_X11:+false} :; then :
9896 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9897 fi ;;
9898 esac
9900 rm -f core conftest.err conftest.$ac_objext \
9901 conftest$ac_exeext conftest.$ac_ext
9902 LIBS=$ac_check_soname_save_LIBS
9904 if ${ac_cv_lib_soname_X11:+false} :; then :
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9906 $as_echo "not found" >&6; }
9908 else
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9910 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9912 cat >>confdefs.h <<_ACEOF
9913 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9914 _ACEOF
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9919 $as_echo_n "checking for -lXext... " >&6; }
9920 if ${ac_cv_lib_soname_Xext+:} false; then :
9921 $as_echo_n "(cached) " >&6
9922 else
9923 ac_check_soname_save_LIBS=$LIBS
9924 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9926 /* end confdefs.h. */
9928 /* Override any GCC internal prototype to avoid an error.
9929 Use char because int might match the return type of a GCC
9930 builtin and then its argument prototype would still apply. */
9931 #ifdef __cplusplus
9932 extern "C"
9933 #endif
9934 char XextCreateExtension ();
9936 main ()
9938 return XextCreateExtension ();
9940 return 0;
9942 _ACEOF
9943 if ac_fn_c_try_link "$LINENO"; then :
9944 case "$LIBEXT" in
9945 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9946 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'` ;;
9947 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9948 if ${ac_cv_lib_soname_Xext:+false} :; then :
9949 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9950 fi ;;
9951 esac
9953 rm -f core conftest.err conftest.$ac_objext \
9954 conftest$ac_exeext conftest.$ac_ext
9955 LIBS=$ac_check_soname_save_LIBS
9957 if ${ac_cv_lib_soname_Xext:+false} :; then :
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9959 $as_echo "not found" >&6; }
9961 else
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9963 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9965 cat >>confdefs.h <<_ACEOF
9966 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9967 _ACEOF
9969 X_LIBS="$X_LIBS -lXext"
9971 X_LIBS="$X_LIBS -lX11"
9973 for ac_header in X11/Xlib.h \
9974 X11/XKBlib.h \
9975 X11/Xutil.h \
9976 X11/Xcursor/Xcursor.h \
9977 X11/extensions/shape.h \
9978 X11/extensions/XInput.h \
9979 X11/extensions/XInput2.h \
9980 X11/extensions/XShm.h \
9981 X11/extensions/Xcomposite.h \
9982 X11/extensions/Xfixes.h \
9983 X11/extensions/Xinerama.h \
9984 X11/extensions/Xrandr.h \
9985 X11/extensions/Xrender.h \
9986 X11/extensions/xf86vmode.h \
9987 X11/extensions/xf86vmproto.h
9988 do :
9989 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9990 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9991 # include <X11/Xlib.h>
9992 #endif
9993 #ifdef HAVE_X11_XUTIL_H
9994 # include <X11/Xutil.h>
9995 #endif
9997 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9998 cat >>confdefs.h <<_ACEOF
9999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10000 _ACEOF
10004 done
10007 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10008 then
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10010 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10011 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10012 $as_echo_n "(cached) " >&6
10013 else
10014 ac_check_lib_save_LIBS=$LIBS
10015 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10017 /* end confdefs.h. */
10019 /* Override any GCC internal prototype to avoid an error.
10020 Use char because int might match the return type of a GCC
10021 builtin and then its argument prototype would still apply. */
10022 #ifdef __cplusplus
10023 extern "C"
10024 #endif
10025 char XkbQueryExtension ();
10027 main ()
10029 return XkbQueryExtension ();
10031 return 0;
10033 _ACEOF
10034 if ac_fn_c_try_link "$LINENO"; then :
10035 ac_cv_lib_X11_XkbQueryExtension=yes
10036 else
10037 ac_cv_lib_X11_XkbQueryExtension=no
10039 rm -f core conftest.err conftest.$ac_objext \
10040 conftest$ac_exeext conftest.$ac_ext
10041 LIBS=$ac_check_lib_save_LIBS
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10044 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10045 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10047 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10053 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10054 then
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10056 $as_echo_n "checking for -lXcursor... " >&6; }
10057 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10058 $as_echo_n "(cached) " >&6
10059 else
10060 ac_check_soname_save_LIBS=$LIBS
10061 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10065 /* Override any GCC internal prototype to avoid an error.
10066 Use char because int might match the return type of a GCC
10067 builtin and then its argument prototype would still apply. */
10068 #ifdef __cplusplus
10069 extern "C"
10070 #endif
10071 char XcursorImageLoadCursor ();
10073 main ()
10075 return XcursorImageLoadCursor ();
10077 return 0;
10079 _ACEOF
10080 if ac_fn_c_try_link "$LINENO"; then :
10081 case "$LIBEXT" in
10082 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10083 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'` ;;
10084 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10085 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10086 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10087 fi ;;
10088 esac
10090 rm -f core conftest.err conftest.$ac_objext \
10091 conftest$ac_exeext conftest.$ac_ext
10092 LIBS=$ac_check_soname_save_LIBS
10094 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10096 $as_echo "not found" >&6; }
10098 else
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10100 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10102 cat >>confdefs.h <<_ACEOF
10103 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10104 _ACEOF
10109 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10110 case "x$with_xcursor" in
10111 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10112 xno) ;;
10113 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10114 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10115 esac
10119 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10120 then
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10122 $as_echo_n "checking for -lXi... " >&6; }
10123 if ${ac_cv_lib_soname_Xi+:} false; then :
10124 $as_echo_n "(cached) " >&6
10125 else
10126 ac_check_soname_save_LIBS=$LIBS
10127 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10131 /* Override any GCC internal prototype to avoid an error.
10132 Use char because int might match the return type of a GCC
10133 builtin and then its argument prototype would still apply. */
10134 #ifdef __cplusplus
10135 extern "C"
10136 #endif
10137 char XOpenDevice ();
10139 main ()
10141 return XOpenDevice ();
10143 return 0;
10145 _ACEOF
10146 if ac_fn_c_try_link "$LINENO"; then :
10147 case "$LIBEXT" in
10148 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10149 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'` ;;
10150 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10151 if ${ac_cv_lib_soname_Xi:+false} :; then :
10152 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10153 fi ;;
10154 esac
10156 rm -f core conftest.err conftest.$ac_objext \
10157 conftest$ac_exeext conftest.$ac_ext
10158 LIBS=$ac_check_soname_save_LIBS
10160 if ${ac_cv_lib_soname_Xi:+false} :; then :
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10162 $as_echo "not found" >&6; }
10164 else
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10166 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10168 cat >>confdefs.h <<_ACEOF
10169 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10170 _ACEOF
10175 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10176 case "x$with_xinput" in
10177 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10178 xno) ;;
10179 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10180 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10181 esac
10185 if test "x$ac_cv_lib_soname_Xi" != x
10186 then
10187 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10188 case "x$with_xinput2" in
10189 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10190 xno) ;;
10191 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10192 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10193 esac
10198 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10199 then
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10201 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10202 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10203 $as_echo_n "(cached) " >&6
10204 else
10205 ac_check_lib_save_LIBS=$LIBS
10206 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10208 /* end confdefs.h. */
10210 /* Override any GCC internal prototype to avoid an error.
10211 Use char because int might match the return type of a GCC
10212 builtin and then its argument prototype would still apply. */
10213 #ifdef __cplusplus
10214 extern "C"
10215 #endif
10216 char XShmQueryExtension ();
10218 main ()
10220 return XShmQueryExtension ();
10222 return 0;
10224 _ACEOF
10225 if ac_fn_c_try_link "$LINENO"; then :
10226 ac_cv_lib_Xext_XShmQueryExtension=yes
10227 else
10228 ac_cv_lib_Xext_XShmQueryExtension=no
10230 rm -f core conftest.err conftest.$ac_objext \
10231 conftest$ac_exeext conftest.$ac_ext
10232 LIBS=$ac_check_lib_save_LIBS
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10235 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10236 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10238 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10243 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10244 case "x$with_xshm" in
10245 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10246 xno) ;;
10247 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10248 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10249 esac
10253 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10254 then
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10256 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10257 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10258 $as_echo_n "(cached) " >&6
10259 else
10260 ac_check_lib_save_LIBS=$LIBS
10261 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10263 /* end confdefs.h. */
10265 /* Override any GCC internal prototype to avoid an error.
10266 Use char because int might match the return type of a GCC
10267 builtin and then its argument prototype would still apply. */
10268 #ifdef __cplusplus
10269 extern "C"
10270 #endif
10271 char XShapeQueryExtension ();
10273 main ()
10275 return XShapeQueryExtension ();
10277 return 0;
10279 _ACEOF
10280 if ac_fn_c_try_link "$LINENO"; then :
10281 ac_cv_lib_Xext_XShapeQueryExtension=yes
10282 else
10283 ac_cv_lib_Xext_XShapeQueryExtension=no
10285 rm -f core conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10287 LIBS=$ac_check_lib_save_LIBS
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10290 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10291 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10293 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10298 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10299 case "x$with_xshape" in
10300 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10301 xno) ;;
10302 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10303 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10304 esac
10308 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10309 then
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10311 $as_echo_n "checking for -lXxf86vm... " >&6; }
10312 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10313 $as_echo_n "(cached) " >&6
10314 else
10315 ac_check_soname_save_LIBS=$LIBS
10316 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10318 /* end confdefs.h. */
10320 /* Override any GCC internal prototype to avoid an error.
10321 Use char because int might match the return type of a GCC
10322 builtin and then its argument prototype would still apply. */
10323 #ifdef __cplusplus
10324 extern "C"
10325 #endif
10326 char XF86VidModeQueryExtension ();
10328 main ()
10330 return XF86VidModeQueryExtension ();
10332 return 0;
10334 _ACEOF
10335 if ac_fn_c_try_link "$LINENO"; then :
10336 case "$LIBEXT" in
10337 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10338 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'` ;;
10339 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10340 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10341 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10342 fi ;;
10343 esac
10345 rm -f core conftest.err conftest.$ac_objext \
10346 conftest$ac_exeext conftest.$ac_ext
10347 LIBS=$ac_check_soname_save_LIBS
10349 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10351 $as_echo "not found" >&6; }
10353 else
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10355 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10357 cat >>confdefs.h <<_ACEOF
10358 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10359 _ACEOF
10364 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10365 case "x$with_xxf86vm" in
10366 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10367 xno) ;;
10368 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10369 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10370 esac
10374 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10375 then
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10377 $as_echo_n "checking for -lXrender... " >&6; }
10378 if ${ac_cv_lib_soname_Xrender+:} false; then :
10379 $as_echo_n "(cached) " >&6
10380 else
10381 ac_check_soname_save_LIBS=$LIBS
10382 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10384 /* end confdefs.h. */
10386 /* Override any GCC internal prototype to avoid an error.
10387 Use char because int might match the return type of a GCC
10388 builtin and then its argument prototype would still apply. */
10389 #ifdef __cplusplus
10390 extern "C"
10391 #endif
10392 char XRenderQueryExtension ();
10394 main ()
10396 return XRenderQueryExtension ();
10398 return 0;
10400 _ACEOF
10401 if ac_fn_c_try_link "$LINENO"; then :
10402 case "$LIBEXT" in
10403 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10404 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'` ;;
10405 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10406 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10407 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10408 fi ;;
10409 esac
10411 rm -f core conftest.err conftest.$ac_objext \
10412 conftest$ac_exeext conftest.$ac_ext
10413 LIBS=$ac_check_soname_save_LIBS
10415 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10417 $as_echo "not found" >&6; }
10419 else
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10421 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10423 cat >>confdefs.h <<_ACEOF
10424 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10425 _ACEOF
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10428 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10429 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10430 $as_echo_n "(cached) " >&6
10431 else
10432 ac_check_lib_save_LIBS=$LIBS
10433 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10435 /* end confdefs.h. */
10437 /* Override any GCC internal prototype to avoid an error.
10438 Use char because int might match the return type of a GCC
10439 builtin and then its argument prototype would still apply. */
10440 #ifdef __cplusplus
10441 extern "C"
10442 #endif
10443 char XRenderSetPictureTransform ();
10445 main ()
10447 return XRenderSetPictureTransform ();
10449 return 0;
10451 _ACEOF
10452 if ac_fn_c_try_link "$LINENO"; then :
10453 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10454 else
10455 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10457 rm -f core conftest.err conftest.$ac_objext \
10458 conftest$ac_exeext conftest.$ac_ext
10459 LIBS=$ac_check_lib_save_LIBS
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10462 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10463 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10465 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10470 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10471 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10472 $as_echo_n "(cached) " >&6
10473 else
10474 ac_check_lib_save_LIBS=$LIBS
10475 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10477 /* end confdefs.h. */
10479 /* Override any GCC internal prototype to avoid an error.
10480 Use char because int might match the return type of a GCC
10481 builtin and then its argument prototype would still apply. */
10482 #ifdef __cplusplus
10483 extern "C"
10484 #endif
10485 char XRenderCreateLinearGradient ();
10487 main ()
10489 return XRenderCreateLinearGradient ();
10491 return 0;
10493 _ACEOF
10494 if ac_fn_c_try_link "$LINENO"; then :
10495 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10496 else
10497 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10499 rm -f core conftest.err conftest.$ac_objext \
10500 conftest$ac_exeext conftest.$ac_ext
10501 LIBS=$ac_check_lib_save_LIBS
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10504 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10505 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10507 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10514 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10515 case "x$with_xrender" in
10516 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10517 xno) ;;
10518 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10519 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10520 esac
10524 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10525 then
10526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10527 /* end confdefs.h. */
10528 #include <X11/Xlib.h>
10529 #include <X11/extensions/Xrandr.h>
10531 main ()
10533 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10535 return 0;
10537 _ACEOF
10538 if ac_fn_c_try_compile "$LINENO"; then :
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10540 $as_echo_n "checking for -lXrandr... " >&6; }
10541 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10542 $as_echo_n "(cached) " >&6
10543 else
10544 ac_check_soname_save_LIBS=$LIBS
10545 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10547 /* end confdefs.h. */
10549 /* Override any GCC internal prototype to avoid an error.
10550 Use char because int might match the return type of a GCC
10551 builtin and then its argument prototype would still apply. */
10552 #ifdef __cplusplus
10553 extern "C"
10554 #endif
10555 char XRRQueryExtension ();
10557 main ()
10559 return XRRQueryExtension ();
10561 return 0;
10563 _ACEOF
10564 if ac_fn_c_try_link "$LINENO"; then :
10565 case "$LIBEXT" in
10566 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10567 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'` ;;
10568 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10569 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10570 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10571 fi ;;
10572 esac
10574 rm -f core conftest.err conftest.$ac_objext \
10575 conftest$ac_exeext conftest.$ac_ext
10576 LIBS=$ac_check_soname_save_LIBS
10578 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10580 $as_echo "not found" >&6; }
10582 else
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10584 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10586 cat >>confdefs.h <<_ACEOF
10587 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10588 _ACEOF
10590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10591 /* end confdefs.h. */
10592 #include <X11/Xlib.h>
10593 #include <X11/extensions/Xrandr.h>
10595 main ()
10597 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10599 return 0;
10601 _ACEOF
10602 if ac_fn_c_try_compile "$LINENO"; then :
10604 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10612 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10613 case "x$with_xrandr" in
10614 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10615 xno) ;;
10616 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10617 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10618 esac
10622 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10623 then
10624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10625 /* end confdefs.h. */
10626 #include <X11/Xlib.h>
10627 #include <X11/extensions/Xfixes.h>
10629 main ()
10631 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10633 return 0;
10635 _ACEOF
10636 if ac_fn_c_try_compile "$LINENO"; then :
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10638 $as_echo_n "checking for -lXfixes... " >&6; }
10639 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10640 $as_echo_n "(cached) " >&6
10641 else
10642 ac_check_soname_save_LIBS=$LIBS
10643 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10645 /* end confdefs.h. */
10647 /* Override any GCC internal prototype to avoid an error.
10648 Use char because int might match the return type of a GCC
10649 builtin and then its argument prototype would still apply. */
10650 #ifdef __cplusplus
10651 extern "C"
10652 #endif
10653 char XFixesQueryVersion ();
10655 main ()
10657 return XFixesQueryVersion ();
10659 return 0;
10661 _ACEOF
10662 if ac_fn_c_try_link "$LINENO"; then :
10663 case "$LIBEXT" in
10664 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10665 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'` ;;
10666 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10667 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10668 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10669 fi ;;
10670 esac
10672 rm -f core conftest.err conftest.$ac_objext \
10673 conftest$ac_exeext conftest.$ac_ext
10674 LIBS=$ac_check_soname_save_LIBS
10676 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10678 $as_echo "not found" >&6; }
10680 else
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10682 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10684 cat >>confdefs.h <<_ACEOF
10685 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10686 _ACEOF
10691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10693 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10694 case "x$with_xfixes" in
10695 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10696 xno) ;;
10697 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10698 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10699 esac
10703 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10704 then
10705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10707 #include <X11/Xlib.h>
10708 #include <X11/extensions/Xinerama.h>
10710 main ()
10712 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10714 return 0;
10716 _ACEOF
10717 if ac_fn_c_try_compile "$LINENO"; then :
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10719 $as_echo_n "checking for -lXinerama... " >&6; }
10720 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10721 $as_echo_n "(cached) " >&6
10722 else
10723 ac_check_soname_save_LIBS=$LIBS
10724 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10726 /* end confdefs.h. */
10728 /* Override any GCC internal prototype to avoid an error.
10729 Use char because int might match the return type of a GCC
10730 builtin and then its argument prototype would still apply. */
10731 #ifdef __cplusplus
10732 extern "C"
10733 #endif
10734 char XineramaQueryScreens ();
10736 main ()
10738 return XineramaQueryScreens ();
10740 return 0;
10742 _ACEOF
10743 if ac_fn_c_try_link "$LINENO"; then :
10744 case "$LIBEXT" in
10745 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10746 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'` ;;
10747 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10748 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10749 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10750 fi ;;
10751 esac
10753 rm -f core conftest.err conftest.$ac_objext \
10754 conftest$ac_exeext conftest.$ac_ext
10755 LIBS=$ac_check_soname_save_LIBS
10757 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10759 $as_echo "not found" >&6; }
10761 else
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10763 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10765 cat >>confdefs.h <<_ACEOF
10766 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10767 _ACEOF
10772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10774 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10775 case "x$with_xinerama" in
10776 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10777 xno) ;;
10778 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10779 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10780 esac
10784 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10785 then
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10787 $as_echo_n "checking for -lXcomposite... " >&6; }
10788 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10789 $as_echo_n "(cached) " >&6
10790 else
10791 ac_check_soname_save_LIBS=$LIBS
10792 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10799 #ifdef __cplusplus
10800 extern "C"
10801 #endif
10802 char XCompositeRedirectWindow ();
10804 main ()
10806 return XCompositeRedirectWindow ();
10808 return 0;
10810 _ACEOF
10811 if ac_fn_c_try_link "$LINENO"; then :
10812 case "$LIBEXT" in
10813 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10814 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'` ;;
10815 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10816 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10817 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10818 fi ;;
10819 esac
10821 rm -f core conftest.err conftest.$ac_objext \
10822 conftest$ac_exeext conftest.$ac_ext
10823 LIBS=$ac_check_soname_save_LIBS
10825 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10827 $as_echo "not found" >&6; }
10829 else
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10831 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10833 cat >>confdefs.h <<_ACEOF
10834 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10835 _ACEOF
10840 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10841 case "x$with_xcomposite" in
10842 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10843 xno) ;;
10844 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10845 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10846 esac
10850 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10851 #include <X11/Xlib.h>
10852 #endif
10854 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10856 cat >>confdefs.h <<_ACEOF
10857 #define HAVE_XICCALLBACK_CALLBACK 1
10858 _ACEOF
10862 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10863 #include <X11/Xlib.h>
10864 #endif
10866 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10868 cat >>confdefs.h <<_ACEOF
10869 #define HAVE_XEVENT_XCOOKIE 1
10870 _ACEOF
10877 opengl_msg=""
10878 if test "x$with_opengl" != "xno"
10879 then
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10881 $as_echo_n "checking for -lGL... " >&6; }
10882 if ${ac_cv_lib_soname_GL+:} false; then :
10883 $as_echo_n "(cached) " >&6
10884 else
10885 ac_check_soname_save_LIBS=$LIBS
10886 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10888 /* end confdefs.h. */
10890 /* Override any GCC internal prototype to avoid an error.
10891 Use char because int might match the return type of a GCC
10892 builtin and then its argument prototype would still apply. */
10893 #ifdef __cplusplus
10894 extern "C"
10895 #endif
10896 char glXCreateContext ();
10898 main ()
10900 return glXCreateContext ();
10902 return 0;
10904 _ACEOF
10905 if ac_fn_c_try_link "$LINENO"; then :
10906 case "$LIBEXT" in
10907 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10908 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'` ;;
10909 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10910 if ${ac_cv_lib_soname_GL:+false} :; then :
10911 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10912 fi ;;
10913 esac
10915 rm -f core conftest.err conftest.$ac_objext \
10916 conftest$ac_exeext conftest.$ac_ext
10917 LIBS=$ac_check_soname_save_LIBS
10919 if ${ac_cv_lib_soname_GL:+false} :; then :
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10921 $as_echo "not found" >&6; }
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10923 $as_echo_n "checking for -lGL... " >&6; }
10924 if ${ac_cv_lib_soname_GL+:} false; then :
10925 $as_echo_n "(cached) " >&6
10926 else
10927 ac_check_soname_save_LIBS=$LIBS
10928 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"
10929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h. */
10932 /* Override any GCC internal prototype to avoid an error.
10933 Use char because int might match the return type of a GCC
10934 builtin and then its argument prototype would still apply. */
10935 #ifdef __cplusplus
10936 extern "C"
10937 #endif
10938 char glXCreateContext ();
10940 main ()
10942 return glXCreateContext ();
10944 return 0;
10946 _ACEOF
10947 if ac_fn_c_try_link "$LINENO"; then :
10948 case "$LIBEXT" in
10949 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10950 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'` ;;
10951 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10952 if ${ac_cv_lib_soname_GL:+false} :; then :
10953 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10954 fi ;;
10955 esac
10957 rm -f core conftest.err conftest.$ac_objext \
10958 conftest$ac_exeext conftest.$ac_ext
10959 LIBS=$ac_check_soname_save_LIBS
10961 if ${ac_cv_lib_soname_GL:+false} :; then :
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10963 $as_echo "not found" >&6; }
10964 if test -f /usr/X11R6/lib/libGL.a
10965 then
10966 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10967 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10968 else
10969 opengl_msg="No OpenGL library found on this system."
10971 else
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10973 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10975 cat >>confdefs.h <<_ACEOF
10976 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10977 _ACEOF
10979 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"
10981 else
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10983 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10985 cat >>confdefs.h <<_ACEOF
10986 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10987 _ACEOF
10989 OPENGL_LIBS="-lGL"
10991 if test "x$with_glu" != "xno"
10992 then
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10994 $as_echo_n "checking for -lGLU... " >&6; }
10995 if ${ac_cv_lib_soname_GLU+:} false; then :
10996 $as_echo_n "(cached) " >&6
10997 else
10998 ac_check_soname_save_LIBS=$LIBS
10999 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11001 /* end confdefs.h. */
11003 /* Override any GCC internal prototype to avoid an error.
11004 Use char because int might match the return type of a GCC
11005 builtin and then its argument prototype would still apply. */
11006 #ifdef __cplusplus
11007 extern "C"
11008 #endif
11009 char gluLookAt ();
11011 main ()
11013 return gluLookAt ();
11015 return 0;
11017 _ACEOF
11018 if ac_fn_c_try_link "$LINENO"; then :
11019 case "$LIBEXT" in
11020 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11021 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'` ;;
11022 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11023 if ${ac_cv_lib_soname_GLU:+false} :; then :
11024 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11025 fi ;;
11026 esac
11028 rm -f core conftest.err conftest.$ac_objext \
11029 conftest$ac_exeext conftest.$ac_ext
11030 LIBS=$ac_check_soname_save_LIBS
11032 if ${ac_cv_lib_soname_GLU:+false} :; then :
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11034 $as_echo "not found" >&6; }
11036 else
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11038 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11040 cat >>confdefs.h <<_ACEOF
11041 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11042 _ACEOF
11046 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11047 case "x$with_glu" in
11048 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11049 xno) ;;
11050 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11051 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11052 esac
11057 if test "x$with_osmesa" != "xno"
11058 then
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11060 $as_echo_n "checking for -lOSMesa... " >&6; }
11061 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11062 $as_echo_n "(cached) " >&6
11063 else
11064 ac_check_soname_save_LIBS=$LIBS
11065 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11069 /* Override any GCC internal prototype to avoid an error.
11070 Use char because int might match the return type of a GCC
11071 builtin and then its argument prototype would still apply. */
11072 #ifdef __cplusplus
11073 extern "C"
11074 #endif
11075 char OSMesaGetProcAddress ();
11077 main ()
11079 return OSMesaGetProcAddress ();
11081 return 0;
11083 _ACEOF
11084 if ac_fn_c_try_link "$LINENO"; then :
11085 case "$LIBEXT" in
11086 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11087 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'` ;;
11088 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11089 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11090 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11091 fi ;;
11092 esac
11094 rm -f core conftest.err conftest.$ac_objext \
11095 conftest$ac_exeext conftest.$ac_ext
11096 LIBS=$ac_check_soname_save_LIBS
11098 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11100 $as_echo "not found" >&6; }
11102 else
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11104 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11106 cat >>confdefs.h <<_ACEOF
11107 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11108 _ACEOF
11112 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11113 case "x$with_osmesa" in
11114 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11115 xno) ;;
11116 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11117 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11118 esac
11123 if test -n "$opengl_msg"; then :
11124 case "x$with_opengl" in
11125 x) as_fn_append wine_warnings "|$opengl_msg
11126 OpenGL and Direct3D won't be supported." ;;
11127 xno) ;;
11128 *) as_fn_error $? "$opengl_msg
11129 OpenGL and Direct3D won't be supported.
11130 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11131 esac
11135 CPPFLAGS="$ac_save_CPPFLAGS"
11136 else
11137 X_CFLAGS=""
11138 X_LIBS=""
11141 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11142 then
11143 if test "x$X_LIBS" = "x"; then :
11144 case "x$with_x" in
11145 xno) ;;
11146 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11147 without X support, which probably isn't what you want. You will need
11148 to install ${notice_platform}development packages of Xlib at the very least.
11149 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11150 esac
11151 enable_winex11_drv=${enable_winex11_drv:-no}
11153 else
11154 if test "x$X_LIBS" = "x"; then :
11155 case "x$with_x" in
11156 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11157 xno) ;;
11158 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11159 This is an error since --with-x was requested." "$LINENO" 5 ;;
11160 esac
11161 enable_winex11_drv=${enable_winex11_drv:-no}
11165 if test "$ac_cv_header_CL_cl_h" = "yes"
11166 then
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11168 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11169 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11170 $as_echo_n "(cached) " >&6
11171 else
11172 ac_check_lib_save_LIBS=$LIBS
11173 LIBS="-lOpenCL $LIBS"
11174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11175 /* end confdefs.h. */
11177 /* Override any GCC internal prototype to avoid an error.
11178 Use char because int might match the return type of a GCC
11179 builtin and then its argument prototype would still apply. */
11180 #ifdef __cplusplus
11181 extern "C"
11182 #endif
11183 char clGetPlatformInfo ();
11185 main ()
11187 return clGetPlatformInfo ();
11189 return 0;
11191 _ACEOF
11192 if ac_fn_c_try_link "$LINENO"; then :
11193 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11194 else
11195 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11197 rm -f core conftest.err conftest.$ac_objext \
11198 conftest$ac_exeext conftest.$ac_ext
11199 LIBS=$ac_check_lib_save_LIBS
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11202 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11203 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11204 OPENCL_LIBS="-lOpenCL"
11209 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11210 case "x$with_opencl" in
11211 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11212 xno) ;;
11213 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11214 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11215 esac
11216 enable_opencl=${enable_opencl:-no}
11219 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11220 then
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11222 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11223 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11224 $as_echo_n "(cached) " >&6
11225 else
11226 ac_check_lib_save_LIBS=$LIBS
11227 LIBS="-lpcap $LIBS"
11228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11229 /* end confdefs.h. */
11231 /* Override any GCC internal prototype to avoid an error.
11232 Use char because int might match the return type of a GCC
11233 builtin and then its argument prototype would still apply. */
11234 #ifdef __cplusplus
11235 extern "C"
11236 #endif
11237 char pcap_create ();
11239 main ()
11241 return pcap_create ();
11243 return 0;
11245 _ACEOF
11246 if ac_fn_c_try_link "$LINENO"; then :
11247 ac_cv_lib_pcap_pcap_create=yes
11248 else
11249 ac_cv_lib_pcap_pcap_create=no
11251 rm -f core conftest.err conftest.$ac_objext \
11252 conftest$ac_exeext conftest.$ac_ext
11253 LIBS=$ac_check_lib_save_LIBS
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11256 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11257 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11258 PCAP_LIBS="-lpcap"
11263 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11264 case "x$with_pcap" in
11265 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11266 xno) ;;
11267 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11268 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11269 esac
11270 enable_wpcap=${enable_wpcap:-no}
11274 if test "x$with_xml" != "xno"
11275 then
11276 if ${XML2_CFLAGS:+false} :; then :
11277 if ${PKG_CONFIG+:} false; then :
11278 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11281 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11282 if ${XML2_LIBS:+false} :; then :
11283 if ${PKG_CONFIG+:} false; then :
11284 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11287 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11288 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11289 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11290 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11291 ac_save_CPPFLAGS=$CPPFLAGS
11292 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11293 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11294 do :
11295 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11296 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11297 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11298 cat >>confdefs.h <<_ACEOF
11299 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11300 _ACEOF
11304 done
11306 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"
11307 then
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11309 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11310 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11311 $as_echo_n "(cached) " >&6
11312 else
11313 ac_check_lib_save_LIBS=$LIBS
11314 LIBS="-lxml2 $XML2_LIBS $LIBS"
11315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11318 /* Override any GCC internal prototype to avoid an error.
11319 Use char because int might match the return type of a GCC
11320 builtin and then its argument prototype would still apply. */
11321 #ifdef __cplusplus
11322 extern "C"
11323 #endif
11324 char xmlParseMemory ();
11326 main ()
11328 return xmlParseMemory ();
11330 return 0;
11332 _ACEOF
11333 if ac_fn_c_try_link "$LINENO"; then :
11334 ac_cv_lib_xml2_xmlParseMemory=yes
11335 else
11336 ac_cv_lib_xml2_xmlParseMemory=no
11338 rm -f core conftest.err conftest.$ac_objext \
11339 conftest$ac_exeext conftest.$ac_ext
11340 LIBS=$ac_check_lib_save_LIBS
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11343 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11344 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11346 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11348 else
11349 XML2_LIBS=""
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11353 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11354 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11355 $as_echo_n "(cached) " >&6
11356 else
11357 ac_check_lib_save_LIBS=$LIBS
11358 LIBS="-lxml2 $XML2_LIBS $LIBS"
11359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11360 /* end confdefs.h. */
11362 /* Override any GCC internal prototype to avoid an error.
11363 Use char because int might match the return type of a GCC
11364 builtin and then its argument prototype would still apply. */
11365 #ifdef __cplusplus
11366 extern "C"
11367 #endif
11368 char xmlReadMemory ();
11370 main ()
11372 return xmlReadMemory ();
11374 return 0;
11376 _ACEOF
11377 if ac_fn_c_try_link "$LINENO"; then :
11378 ac_cv_lib_xml2_xmlReadMemory=yes
11379 else
11380 ac_cv_lib_xml2_xmlReadMemory=no
11382 rm -f core conftest.err conftest.$ac_objext \
11383 conftest$ac_exeext conftest.$ac_ext
11384 LIBS=$ac_check_lib_save_LIBS
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11387 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11388 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11390 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11395 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11396 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11397 $as_echo_n "(cached) " >&6
11398 else
11399 ac_check_lib_save_LIBS=$LIBS
11400 LIBS="-lxml2 $XML2_LIBS $LIBS"
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char xmlNewDocPI ();
11412 main ()
11414 return xmlNewDocPI ();
11416 return 0;
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 ac_cv_lib_xml2_xmlNewDocPI=yes
11421 else
11422 ac_cv_lib_xml2_xmlNewDocPI=no
11424 rm -f core conftest.err conftest.$ac_objext \
11425 conftest$ac_exeext conftest.$ac_ext
11426 LIBS=$ac_check_lib_save_LIBS
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11429 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11430 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11432 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11437 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11438 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11439 $as_echo_n "(cached) " >&6
11440 else
11441 ac_check_lib_save_LIBS=$LIBS
11442 LIBS="-lxml2 $XML2_LIBS $LIBS"
11443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11444 /* end confdefs.h. */
11446 /* Override any GCC internal prototype to avoid an error.
11447 Use char because int might match the return type of a GCC
11448 builtin and then its argument prototype would still apply. */
11449 #ifdef __cplusplus
11450 extern "C"
11451 #endif
11452 char xmlSchemaSetParserStructuredErrors ();
11454 main ()
11456 return xmlSchemaSetParserStructuredErrors ();
11458 return 0;
11460 _ACEOF
11461 if ac_fn_c_try_link "$LINENO"; then :
11462 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11463 else
11464 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11466 rm -f core conftest.err conftest.$ac_objext \
11467 conftest$ac_exeext conftest.$ac_ext
11468 LIBS=$ac_check_lib_save_LIBS
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11471 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11472 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11474 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11479 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11480 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11481 $as_echo_n "(cached) " >&6
11482 else
11483 ac_check_lib_save_LIBS=$LIBS
11484 LIBS="-lxml2 $XML2_LIBS $LIBS"
11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11488 /* Override any GCC internal prototype to avoid an error.
11489 Use char because int might match the return type of a GCC
11490 builtin and then its argument prototype would still apply. */
11491 #ifdef __cplusplus
11492 extern "C"
11493 #endif
11494 char xmlSchemaSetValidStructuredErrors ();
11496 main ()
11498 return xmlSchemaSetValidStructuredErrors ();
11500 return 0;
11502 _ACEOF
11503 if ac_fn_c_try_link "$LINENO"; then :
11504 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11505 else
11506 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11508 rm -f core conftest.err conftest.$ac_objext \
11509 conftest$ac_exeext conftest.$ac_ext
11510 LIBS=$ac_check_lib_save_LIBS
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11513 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11514 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11516 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11521 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11522 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11523 $as_echo_n "(cached) " >&6
11524 else
11525 ac_check_lib_save_LIBS=$LIBS
11526 LIBS="-lxml2 $XML2_LIBS $LIBS"
11527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11528 /* end confdefs.h. */
11530 /* Override any GCC internal prototype to avoid an error.
11531 Use char because int might match the return type of a GCC
11532 builtin and then its argument prototype would still apply. */
11533 #ifdef __cplusplus
11534 extern "C"
11535 #endif
11536 char xmlFirstElementChild ();
11538 main ()
11540 return xmlFirstElementChild ();
11542 return 0;
11544 _ACEOF
11545 if ac_fn_c_try_link "$LINENO"; then :
11546 ac_cv_lib_xml2_xmlFirstElementChild=yes
11547 else
11548 ac_cv_lib_xml2_xmlFirstElementChild=no
11550 rm -f core conftest.err conftest.$ac_objext \
11551 conftest$ac_exeext conftest.$ac_ext
11552 LIBS=$ac_check_lib_save_LIBS
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11555 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11556 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11558 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11562 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11564 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11566 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11570 else
11571 XML2_CFLAGS=""
11572 XML2_LIBS=""
11574 CPPFLAGS=$ac_save_CPPFLAGS
11575 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11576 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11579 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11580 case "x$with_xml" in
11581 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11582 xno) ;;
11583 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11584 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11585 esac
11589 if test "x$with_xslt" != "xno"
11590 then
11591 if ${XSLT_CFLAGS:+false} :; then :
11592 if ${PKG_CONFIG+:} false; then :
11593 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11596 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11597 if ${XSLT_LIBS:+false} :; then :
11598 if ${PKG_CONFIG+:} false; then :
11599 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11602 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11603 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11604 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11605 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11606 ac_save_CPPFLAGS=$CPPFLAGS
11607 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11608 for ac_header in libxslt/pattern.h libxslt/transform.h
11609 do :
11610 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11611 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11612 # include <libxslt/pattern.h>
11613 #endif
11615 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11616 cat >>confdefs.h <<_ACEOF
11617 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11618 _ACEOF
11622 done
11624 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11625 then
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11627 $as_echo_n "checking for -lxslt... " >&6; }
11628 if ${ac_cv_lib_soname_xslt+:} false; then :
11629 $as_echo_n "(cached) " >&6
11630 else
11631 ac_check_soname_save_LIBS=$LIBS
11632 LIBS="-lxslt $XSLT_LIBS $LIBS"
11633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11634 /* end confdefs.h. */
11636 /* Override any GCC internal prototype to avoid an error.
11637 Use char because int might match the return type of a GCC
11638 builtin and then its argument prototype would still apply. */
11639 #ifdef __cplusplus
11640 extern "C"
11641 #endif
11642 char xsltCompilePattern ();
11644 main ()
11646 return xsltCompilePattern ();
11648 return 0;
11650 _ACEOF
11651 if ac_fn_c_try_link "$LINENO"; then :
11652 case "$LIBEXT" in
11653 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11654 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'` ;;
11655 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11656 if ${ac_cv_lib_soname_xslt:+false} :; then :
11657 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11658 fi ;;
11659 esac
11661 rm -f core conftest.err conftest.$ac_objext \
11662 conftest$ac_exeext conftest.$ac_ext
11663 LIBS=$ac_check_soname_save_LIBS
11665 if ${ac_cv_lib_soname_xslt:+false} :; then :
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11667 $as_echo "not found" >&6; }
11669 else
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11671 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11673 cat >>confdefs.h <<_ACEOF
11674 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11675 _ACEOF
11679 else
11680 XSLT_CFLAGS=""
11682 CPPFLAGS=$ac_save_CPPFLAGS
11683 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11684 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11687 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11688 case "x$with_xslt" in
11689 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11690 xno) ;;
11691 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11692 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11693 esac
11697 if test "x$with_dbus" != "xno"
11698 then
11699 if ${DBUS_CFLAGS:+false} :; then :
11700 if ${PKG_CONFIG+:} false; then :
11701 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11705 if ${DBUS_LIBS:+false} :; then :
11706 if ${PKG_CONFIG+:} false; then :
11707 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11712 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11713 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11714 ac_save_CPPFLAGS=$CPPFLAGS
11715 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11716 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11717 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11719 $as_echo_n "checking for -ldbus-1... " >&6; }
11720 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11721 $as_echo_n "(cached) " >&6
11722 else
11723 ac_check_soname_save_LIBS=$LIBS
11724 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11726 /* end confdefs.h. */
11728 /* Override any GCC internal prototype to avoid an error.
11729 Use char because int might match the return type of a GCC
11730 builtin and then its argument prototype would still apply. */
11731 #ifdef __cplusplus
11732 extern "C"
11733 #endif
11734 char dbus_connection_close ();
11736 main ()
11738 return dbus_connection_close ();
11740 return 0;
11742 _ACEOF
11743 if ac_fn_c_try_link "$LINENO"; then :
11744 case "$LIBEXT" in
11745 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11746 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'` ;;
11747 *) 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'`
11748 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11749 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11750 fi ;;
11751 esac
11753 rm -f core conftest.err conftest.$ac_objext \
11754 conftest$ac_exeext conftest.$ac_ext
11755 LIBS=$ac_check_soname_save_LIBS
11757 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11759 $as_echo "not found" >&6; }
11760 DBUS_CFLAGS=""
11761 else
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11763 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11765 cat >>confdefs.h <<_ACEOF
11766 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11767 _ACEOF
11771 else
11772 DBUS_CFLAGS=""
11776 CPPFLAGS=$ac_save_CPPFLAGS
11777 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11778 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11781 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11782 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11783 case "x$with_dbus" in
11784 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11785 xno) ;;
11786 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11787 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11788 esac
11792 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11793 then
11794 if ${HAL_CFLAGS:+false} :; then :
11795 if ${PKG_CONFIG+:} false; then :
11796 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11800 if ${HAL_LIBS:+false} :; then :
11801 if ${PKG_CONFIG+:} false; then :
11802 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11806 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11807 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11808 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11809 ac_save_CPPFLAGS=$CPPFLAGS
11810 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11811 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11812 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11814 $as_echo_n "checking for -lhal... " >&6; }
11815 if ${ac_cv_lib_soname_hal+:} false; then :
11816 $as_echo_n "(cached) " >&6
11817 else
11818 ac_check_soname_save_LIBS=$LIBS
11819 LIBS="-lhal $HAL_LIBS $LIBS"
11820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11821 /* end confdefs.h. */
11823 /* Override any GCC internal prototype to avoid an error.
11824 Use char because int might match the return type of a GCC
11825 builtin and then its argument prototype would still apply. */
11826 #ifdef __cplusplus
11827 extern "C"
11828 #endif
11829 char libhal_ctx_new ();
11831 main ()
11833 return libhal_ctx_new ();
11835 return 0;
11837 _ACEOF
11838 if ac_fn_c_try_link "$LINENO"; then :
11839 case "$LIBEXT" in
11840 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11841 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'` ;;
11842 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11843 if ${ac_cv_lib_soname_hal:+false} :; then :
11844 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11845 fi ;;
11846 esac
11848 rm -f core conftest.err conftest.$ac_objext \
11849 conftest$ac_exeext conftest.$ac_ext
11850 LIBS=$ac_check_soname_save_LIBS
11852 if ${ac_cv_lib_soname_hal:+false} :; then :
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11854 $as_echo "not found" >&6; }
11855 HAL_CFLAGS=""
11856 else
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11858 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11860 cat >>confdefs.h <<_ACEOF
11861 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11862 _ACEOF
11866 else
11867 HAL_CFLAGS=""
11871 CPPFLAGS=$ac_save_CPPFLAGS
11872 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11873 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11875 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11876 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11877 case "x$with_hal" in
11878 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11879 xno) ;;
11880 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11881 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11882 esac
11887 if test "x$with_gnutls" != "xno"
11888 then
11889 if ${GNUTLS_CFLAGS:+false} :; then :
11890 if ${PKG_CONFIG+:} false; then :
11891 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11895 if ${GNUTLS_LIBS:+false} :; then :
11896 if ${PKG_CONFIG+:} false; then :
11897 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11902 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11903 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11904 ac_save_CPPFLAGS=$CPPFLAGS
11905 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11906 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11907 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11910 #include <gnutls/gnutls.h>
11911 #include <gnutls/crypto.h>
11913 main ()
11915 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11917 return 0;
11919 _ACEOF
11920 if ac_fn_c_try_compile "$LINENO"; then :
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11922 $as_echo_n "checking for -lgnutls... " >&6; }
11923 if ${ac_cv_lib_soname_gnutls+:} false; then :
11924 $as_echo_n "(cached) " >&6
11925 else
11926 ac_check_soname_save_LIBS=$LIBS
11927 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11929 /* end confdefs.h. */
11931 /* Override any GCC internal prototype to avoid an error.
11932 Use char because int might match the return type of a GCC
11933 builtin and then its argument prototype would still apply. */
11934 #ifdef __cplusplus
11935 extern "C"
11936 #endif
11937 char gnutls_global_init ();
11939 main ()
11941 return gnutls_global_init ();
11943 return 0;
11945 _ACEOF
11946 if ac_fn_c_try_link "$LINENO"; then :
11947 case "$LIBEXT" in
11948 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11949 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'` ;;
11950 *) 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'`
11951 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11952 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'`
11953 fi ;;
11954 esac
11956 rm -f core conftest.err conftest.$ac_objext \
11957 conftest$ac_exeext conftest.$ac_ext
11958 LIBS=$ac_check_soname_save_LIBS
11960 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11962 $as_echo "not found" >&6; }
11963 GNUTLS_CFLAGS=""
11964 else
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11966 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11968 cat >>confdefs.h <<_ACEOF
11969 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11970 _ACEOF
11974 ac_wine_check_funcs_save_LIBS="$LIBS"
11975 LIBS="$LIBS $GNUTLS_LIBS"
11976 for ac_func in gnutls_hash
11977 do :
11978 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11979 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11980 cat >>confdefs.h <<_ACEOF
11981 #define HAVE_GNUTLS_HASH 1
11982 _ACEOF
11984 else
11985 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt hashes won't be supported."
11987 done
11989 LIBS="$ac_wine_check_funcs_save_LIBS"
11991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11992 else
11993 GNUTLS_CFLAGS=""
11997 CPPFLAGS=$ac_save_CPPFLAGS
11998 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11999 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12002 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12003 case "x$with_gnutls" in
12004 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12005 xno) ;;
12006 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12007 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12008 esac
12012 CURSES_LIBS=""
12013 if test "$ac_cv_header_ncurses_h" = "yes"
12014 then
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12016 $as_echo_n "checking for -lncurses... " >&6; }
12017 if ${ac_cv_lib_soname_ncurses+:} false; then :
12018 $as_echo_n "(cached) " >&6
12019 else
12020 ac_check_soname_save_LIBS=$LIBS
12021 LIBS="-lncurses $LIBS"
12022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12023 /* end confdefs.h. */
12025 /* Override any GCC internal prototype to avoid an error.
12026 Use char because int might match the return type of a GCC
12027 builtin and then its argument prototype would still apply. */
12028 #ifdef __cplusplus
12029 extern "C"
12030 #endif
12031 char waddch ();
12033 main ()
12035 return waddch ();
12037 return 0;
12039 _ACEOF
12040 if ac_fn_c_try_link "$LINENO"; then :
12041 case "$LIBEXT" in
12042 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12043 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'` ;;
12044 *) 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'`
12045 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12046 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12047 fi ;;
12048 esac
12050 rm -f core conftest.err conftest.$ac_objext \
12051 conftest$ac_exeext conftest.$ac_ext
12052 LIBS=$ac_check_soname_save_LIBS
12054 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12056 $as_echo "not found" >&6; }
12058 else
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12060 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12062 cat >>confdefs.h <<_ACEOF
12063 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12064 _ACEOF
12066 CURSES_LIBS="-lncurses"
12068 elif test "$ac_cv_header_curses_h" = "yes"
12069 then
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12071 $as_echo_n "checking for -lcurses... " >&6; }
12072 if ${ac_cv_lib_soname_curses+:} false; then :
12073 $as_echo_n "(cached) " >&6
12074 else
12075 ac_check_soname_save_LIBS=$LIBS
12076 LIBS="-lcurses $LIBS"
12077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12078 /* end confdefs.h. */
12080 /* Override any GCC internal prototype to avoid an error.
12081 Use char because int might match the return type of a GCC
12082 builtin and then its argument prototype would still apply. */
12083 #ifdef __cplusplus
12084 extern "C"
12085 #endif
12086 char waddch ();
12088 main ()
12090 return waddch ();
12092 return 0;
12094 _ACEOF
12095 if ac_fn_c_try_link "$LINENO"; then :
12096 case "$LIBEXT" in
12097 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12098 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'` ;;
12099 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12100 if ${ac_cv_lib_soname_curses:+false} :; then :
12101 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12102 fi ;;
12103 esac
12105 rm -f core conftest.err conftest.$ac_objext \
12106 conftest$ac_exeext conftest.$ac_ext
12107 LIBS=$ac_check_soname_save_LIBS
12109 if ${ac_cv_lib_soname_curses:+false} :; then :
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12111 $as_echo "not found" >&6; }
12113 else
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12115 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12117 cat >>confdefs.h <<_ACEOF
12118 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12119 _ACEOF
12121 CURSES_LIBS="-lcurses"
12124 ac_save_LIBS="$LIBS"
12125 LIBS="$LIBS $CURSES_LIBS"
12126 for ac_func in mousemask
12127 do :
12128 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12129 if test "x$ac_cv_func_mousemask" = xyes; then :
12130 cat >>confdefs.h <<_ACEOF
12131 #define HAVE_MOUSEMASK 1
12132 _ACEOF
12135 done
12137 LIBS="$ac_save_LIBS"
12138 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12139 case "x$with_curses" in
12140 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12141 xno) ;;
12142 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12143 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12144 esac
12148 if test "x$with_sane" != "xno"
12149 then
12150 if ${SANE_CFLAGS:+false} :; then :
12151 if ${PKG_CONFIG+:} false; then :
12152 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12155 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12156 if ${SANE_LIBS:+false} :; then :
12157 if ${PKG_CONFIG+:} false; then :
12158 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12161 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12163 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12164 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12165 ac_save_CPPFLAGS=$CPPFLAGS
12166 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12167 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12168 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12170 $as_echo_n "checking for -lsane... " >&6; }
12171 if ${ac_cv_lib_soname_sane+:} false; then :
12172 $as_echo_n "(cached) " >&6
12173 else
12174 ac_check_soname_save_LIBS=$LIBS
12175 LIBS="-lsane $SANE_LIBS $LIBS"
12176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12177 /* end confdefs.h. */
12179 /* Override any GCC internal prototype to avoid an error.
12180 Use char because int might match the return type of a GCC
12181 builtin and then its argument prototype would still apply. */
12182 #ifdef __cplusplus
12183 extern "C"
12184 #endif
12185 char sane_init ();
12187 main ()
12189 return sane_init ();
12191 return 0;
12193 _ACEOF
12194 if ac_fn_c_try_link "$LINENO"; then :
12195 case "$LIBEXT" in
12196 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12197 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'` ;;
12198 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12199 if ${ac_cv_lib_soname_sane:+false} :; then :
12200 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12201 fi ;;
12202 esac
12204 rm -f core conftest.err conftest.$ac_objext \
12205 conftest$ac_exeext conftest.$ac_ext
12206 LIBS=$ac_check_soname_save_LIBS
12208 if ${ac_cv_lib_soname_sane:+false} :; then :
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12210 $as_echo "not found" >&6; }
12211 SANE_CFLAGS=""
12212 else
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12214 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12216 cat >>confdefs.h <<_ACEOF
12217 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12218 _ACEOF
12222 else
12223 SANE_CFLAGS=""
12227 CPPFLAGS=$ac_save_CPPFLAGS
12228 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12229 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12232 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12233 case "x$with_sane" in
12234 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12235 xno) ;;
12236 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12237 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12238 esac
12242 if test "x$with_v4l" != "xno"
12243 then
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12245 $as_echo_n "checking for -lv4l1... " >&6; }
12246 if ${ac_cv_lib_soname_v4l1+:} false; then :
12247 $as_echo_n "(cached) " >&6
12248 else
12249 ac_check_soname_save_LIBS=$LIBS
12250 LIBS="-lv4l1 $LIBS"
12251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12252 /* end confdefs.h. */
12254 /* Override any GCC internal prototype to avoid an error.
12255 Use char because int might match the return type of a GCC
12256 builtin and then its argument prototype would still apply. */
12257 #ifdef __cplusplus
12258 extern "C"
12259 #endif
12260 char v4l1_open ();
12262 main ()
12264 return v4l1_open ();
12266 return 0;
12268 _ACEOF
12269 if ac_fn_c_try_link "$LINENO"; then :
12270 case "$LIBEXT" in
12271 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12272 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'` ;;
12273 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12274 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12275 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12276 fi ;;
12277 esac
12279 rm -f core conftest.err conftest.$ac_objext \
12280 conftest$ac_exeext conftest.$ac_ext
12281 LIBS=$ac_check_soname_save_LIBS
12283 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12285 $as_echo "not found" >&6; }
12287 else
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12289 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12291 cat >>confdefs.h <<_ACEOF
12292 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12293 _ACEOF
12298 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12299 case "x$with_v4l" in
12300 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12301 xno) ;;
12302 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12303 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12304 esac
12308 if test "x$with_gphoto" != "xno"
12309 then
12310 if ${GPHOTO2_CFLAGS:+false} :; then :
12311 if ${PKG_CONFIG+:} false; then :
12312 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12315 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12316 if ${GPHOTO2_LIBS:+false} :; then :
12317 if ${PKG_CONFIG+:} false; then :
12318 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12321 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12322 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12323 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12324 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12325 ac_save_CPPFLAGS=$CPPFLAGS
12326 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12327 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12328 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12330 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12331 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12332 $as_echo_n "(cached) " >&6
12333 else
12334 ac_check_lib_save_LIBS=$LIBS
12335 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12339 /* Override any GCC internal prototype to avoid an error.
12340 Use char because int might match the return type of a GCC
12341 builtin and then its argument prototype would still apply. */
12342 #ifdef __cplusplus
12343 extern "C"
12344 #endif
12345 char gp_camera_new ();
12347 main ()
12349 return gp_camera_new ();
12351 return 0;
12353 _ACEOF
12354 if ac_fn_c_try_link "$LINENO"; then :
12355 ac_cv_lib_gphoto2_gp_camera_new=yes
12356 else
12357 ac_cv_lib_gphoto2_gp_camera_new=no
12359 rm -f core conftest.err conftest.$ac_objext \
12360 conftest$ac_exeext conftest.$ac_ext
12361 LIBS=$ac_check_lib_save_LIBS
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12364 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12365 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12367 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12369 else
12370 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12373 else
12374 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12378 CPPFLAGS=$ac_save_CPPFLAGS
12379 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12380 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12382 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12383 if ${PKG_CONFIG+:} false; then :
12384 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12387 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12388 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12389 if ${PKG_CONFIG+:} false; then :
12390 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12393 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12394 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12395 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12396 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12397 ac_save_CPPFLAGS=$CPPFLAGS
12398 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12399 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12400 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12402 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12403 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12404 $as_echo_n "(cached) " >&6
12405 else
12406 ac_check_lib_save_LIBS=$LIBS
12407 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12409 /* end confdefs.h. */
12411 /* Override any GCC internal prototype to avoid an error.
12412 Use char because int might match the return type of a GCC
12413 builtin and then its argument prototype would still apply. */
12414 #ifdef __cplusplus
12415 extern "C"
12416 #endif
12417 char gp_port_info_list_new ();
12419 main ()
12421 return gp_port_info_list_new ();
12423 return 0;
12425 _ACEOF
12426 if ac_fn_c_try_link "$LINENO"; then :
12427 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12428 else
12429 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12431 rm -f core conftest.err conftest.$ac_objext \
12432 conftest$ac_exeext conftest.$ac_ext
12433 LIBS=$ac_check_lib_save_LIBS
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12436 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12437 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12439 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12441 else
12442 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12445 else
12446 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12450 CPPFLAGS=$ac_save_CPPFLAGS
12451 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12452 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12455 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12456 case "x$with_gphoto" in
12457 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12458 xno) ;;
12459 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12460 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12461 esac
12464 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12465 case "x$with_gphoto" in
12466 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12467 xno) ;;
12468 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12469 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12470 esac
12475 if test "$ac_cv_header_resolv_h" = "yes"
12476 then
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12478 $as_echo_n "checking for resolver library... " >&6; }
12479 if ${ac_cv_have_resolv+:} false; then :
12480 $as_echo_n "(cached) " >&6
12481 else
12482 ac_save_LIBS="$LIBS"
12483 for lib in '' -lresolv
12485 LIBS="$lib $ac_save_LIBS"
12486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h. */
12488 #ifdef HAVE_NETINET_IN_H
12489 #include <netinet/in.h>
12490 #endif
12491 #include <resolv.h>
12493 main ()
12495 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12497 return 0;
12499 _ACEOF
12500 if ac_fn_c_try_link "$LINENO"; then :
12501 ac_cv_have_resolv=${lib:-"none required"}
12502 else
12503 ac_cv_have_resolv="not found"
12505 rm -f core conftest.err conftest.$ac_objext \
12506 conftest$ac_exeext conftest.$ac_ext
12507 test "x$ac_cv_have_resolv" = "xnot found" || break
12508 done
12509 LIBS="$ac_save_LIBS"
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12512 $as_echo "$ac_cv_have_resolv" >&6; }
12514 case "$ac_cv_have_resolv" in
12515 "not found") ;;
12516 "none required")
12518 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12521 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12523 RESOLV_LIBS=$ac_cv_have_resolv
12525 esac
12528 if test "x$with_cms" != "xno"
12529 then
12530 if ${LCMS2_CFLAGS:+false} :; then :
12531 if ${PKG_CONFIG+:} false; then :
12532 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12536 if ${LCMS2_LIBS:+false} :; then :
12537 if ${PKG_CONFIG+:} false; then :
12538 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12542 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12543 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12544 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12545 ac_save_CPPFLAGS=$CPPFLAGS
12546 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12547 for ac_header in lcms2.h
12548 do :
12549 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12550 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12551 cat >>confdefs.h <<_ACEOF
12552 #define HAVE_LCMS2_H 1
12553 _ACEOF
12557 done
12559 if test "$ac_cv_header_lcms2_h" = "yes"
12560 then
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12562 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12563 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12564 $as_echo_n "(cached) " >&6
12565 else
12566 ac_check_lib_save_LIBS=$LIBS
12567 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12569 /* end confdefs.h. */
12571 /* Override any GCC internal prototype to avoid an error.
12572 Use char because int might match the return type of a GCC
12573 builtin and then its argument prototype would still apply. */
12574 #ifdef __cplusplus
12575 extern "C"
12576 #endif
12577 char cmsOpenProfileFromFile ();
12579 main ()
12581 return cmsOpenProfileFromFile ();
12583 return 0;
12585 _ACEOF
12586 if ac_fn_c_try_link "$LINENO"; then :
12587 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12588 else
12589 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12591 rm -f core conftest.err conftest.$ac_objext \
12592 conftest$ac_exeext conftest.$ac_ext
12593 LIBS=$ac_check_lib_save_LIBS
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12596 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12597 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12599 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12601 else
12602 LCMS2_LIBS=""
12605 else
12606 LCMS2_CFLAGS=""
12607 LCMS2_LIBS=""
12609 CPPFLAGS=$ac_save_CPPFLAGS
12610 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12611 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12614 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12615 case "x$with_cms" in
12616 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12617 xno) ;;
12618 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12619 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12620 esac
12624 if test "x$with_freetype" != "xno"
12625 then
12626 if ${FREETYPE_CFLAGS:+false} :; then :
12627 if ${PKG_CONFIG+:} false; then :
12628 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12631 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12632 if ${FREETYPE_LIBS:+false} :; then :
12633 if ${PKG_CONFIG+:} false; then :
12634 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12637 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12638 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12639 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12640 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12641 ac_save_CPPFLAGS=$CPPFLAGS
12642 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12643 for ac_header in ft2build.h
12644 do :
12645 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12646 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12647 cat >>confdefs.h <<_ACEOF
12648 #define HAVE_FT2BUILD_H 1
12649 _ACEOF
12653 done
12655 if test "$ac_cv_header_ft2build_h" = "yes"
12656 then
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12658 $as_echo_n "checking for -lfreetype... " >&6; }
12659 if ${ac_cv_lib_soname_freetype+:} false; then :
12660 $as_echo_n "(cached) " >&6
12661 else
12662 ac_check_soname_save_LIBS=$LIBS
12663 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12665 /* end confdefs.h. */
12667 /* Override any GCC internal prototype to avoid an error.
12668 Use char because int might match the return type of a GCC
12669 builtin and then its argument prototype would still apply. */
12670 #ifdef __cplusplus
12671 extern "C"
12672 #endif
12673 char FT_Init_FreeType ();
12675 main ()
12677 return FT_Init_FreeType ();
12679 return 0;
12681 _ACEOF
12682 if ac_fn_c_try_link "$LINENO"; then :
12683 case "$LIBEXT" in
12684 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12685 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'` ;;
12686 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12687 if ${ac_cv_lib_soname_freetype:+false} :; then :
12688 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12689 fi ;;
12690 esac
12692 rm -f core conftest.err conftest.$ac_objext \
12693 conftest$ac_exeext conftest.$ac_ext
12694 LIBS=$ac_check_soname_save_LIBS
12696 if ${ac_cv_lib_soname_freetype:+false} :; then :
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12698 $as_echo "not found" >&6; }
12699 FREETYPE_LIBS=""
12700 else
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12702 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12704 cat >>confdefs.h <<_ACEOF
12705 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12706 _ACEOF
12709 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12711 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12712 #include FT_MODULE_H
12714 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12716 cat >>confdefs.h <<_ACEOF
12717 #define HAVE_FT_TRUETYPEENGINETYPE 1
12718 _ACEOF
12724 else
12725 FREETYPE_CFLAGS=""
12726 FREETYPE_LIBS=""
12728 CPPFLAGS=$ac_save_CPPFLAGS
12729 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12730 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12733 if test "x$ac_cv_lib_soname_freetype" = x; then :
12734 case "x$with_freetype" in
12735 xno) ;;
12736 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12737 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12738 esac
12739 enable_fonts=${enable_fonts:-no}
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12743 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12744 if ${ac_cv_c_ppdev+:} false; then :
12745 $as_echo_n "(cached) " >&6
12746 else
12747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12748 /* end confdefs.h. */
12749 #ifdef HAVE_SYS_IOCTL_H
12750 # include <sys/ioctl.h>
12751 #endif
12752 #include <linux/ppdev.h>
12754 main ()
12756 ioctl (1,PPCLAIM,0)
12758 return 0;
12760 _ACEOF
12761 if ac_fn_c_try_compile "$LINENO"; then :
12762 ac_cv_c_ppdev="yes"
12763 else
12764 ac_cv_c_ppdev="no"
12766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12769 $as_echo "$ac_cv_c_ppdev" >&6; }
12770 if test "$ac_cv_c_ppdev" = "yes"
12771 then
12773 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12777 ac_wine_check_funcs_save_LIBS="$LIBS"
12778 LIBS="$LIBS $PTHREAD_LIBS"
12779 for ac_func in \
12780 pthread_attr_get_np \
12781 pthread_getattr_np \
12782 pthread_getthreadid_np \
12783 pthread_get_stackaddr_np \
12784 pthread_get_stacksize_np
12785 do :
12786 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12787 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12788 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12789 cat >>confdefs.h <<_ACEOF
12790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12791 _ACEOF
12794 done
12796 LIBS="$ac_wine_check_funcs_save_LIBS"
12798 if test "$ac_cv_header_zlib_h" = "yes"
12799 then
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12801 $as_echo_n "checking for inflate in -lz... " >&6; }
12802 if ${ac_cv_lib_z_inflate+:} false; then :
12803 $as_echo_n "(cached) " >&6
12804 else
12805 ac_check_lib_save_LIBS=$LIBS
12806 LIBS="-lz $LIBS"
12807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h. */
12810 /* Override any GCC internal prototype to avoid an error.
12811 Use char because int might match the return type of a GCC
12812 builtin and then its argument prototype would still apply. */
12813 #ifdef __cplusplus
12814 extern "C"
12815 #endif
12816 char inflate ();
12818 main ()
12820 return inflate ();
12822 return 0;
12824 _ACEOF
12825 if ac_fn_c_try_link "$LINENO"; then :
12826 ac_cv_lib_z_inflate=yes
12827 else
12828 ac_cv_lib_z_inflate=no
12830 rm -f core conftest.err conftest.$ac_objext \
12831 conftest$ac_exeext conftest.$ac_ext
12832 LIBS=$ac_check_lib_save_LIBS
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12835 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12836 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12838 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12840 Z_LIBS="-lz"
12845 if test "x$Z_LIBS" = "x"; then :
12846 case "x$with_zlib" in
12847 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12848 xno) ;;
12849 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12850 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12851 esac
12855 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12856 then
12857 if test "$ac_cv_header_gettext_po_h" = "yes"
12858 then
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12860 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12861 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12862 $as_echo_n "(cached) " >&6
12863 else
12864 ac_check_lib_save_LIBS=$LIBS
12865 LIBS="-lgettextpo $LIBS"
12866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12869 /* Override any GCC internal prototype to avoid an error.
12870 Use char because int might match the return type of a GCC
12871 builtin and then its argument prototype would still apply. */
12872 #ifdef __cplusplus
12873 extern "C"
12874 #endif
12875 char po_message_msgctxt ();
12877 main ()
12879 return po_message_msgctxt ();
12881 return 0;
12883 _ACEOF
12884 if ac_fn_c_try_link "$LINENO"; then :
12885 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12886 else
12887 ac_cv_lib_gettextpo_po_message_msgctxt=no
12889 rm -f core conftest.err conftest.$ac_objext \
12890 conftest$ac_exeext conftest.$ac_ext
12891 LIBS=$ac_check_lib_save_LIBS
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12894 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12895 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12897 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12899 GETTEXTPO_LIBS="-lgettextpo"
12904 if test "x$GETTEXTPO_LIBS" = "x"; then :
12905 case "x$with_gettextpo" in
12906 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12907 xno) ;;
12908 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12909 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12910 esac
12913 if test "$srcdir" != .; then :
12914 case "x$with_gettextpo" in
12915 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12916 xno) ;;
12917 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12918 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12919 esac
12924 if test "x$with_pulse" != "xno";
12925 then
12926 if ${PULSE_CFLAGS:+false} :; then :
12927 if ${PKG_CONFIG+:} false; then :
12928 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12932 if ${PULSE_LIBS:+false} :; then :
12933 if ${PKG_CONFIG+:} false; then :
12934 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12939 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12940 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12941 ac_save_CPPFLAGS=$CPPFLAGS
12942 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12943 for ac_header in pulse/pulseaudio.h
12944 do :
12945 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12946 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12947 cat >>confdefs.h <<_ACEOF
12948 #define HAVE_PULSE_PULSEAUDIO_H 1
12949 _ACEOF
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12951 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12952 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12953 $as_echo_n "(cached) " >&6
12954 else
12955 ac_check_lib_save_LIBS=$LIBS
12956 LIBS="-lpulse $PULSE_LIBS $LIBS"
12957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12958 /* end confdefs.h. */
12960 /* Override any GCC internal prototype to avoid an error.
12961 Use char because int might match the return type of a GCC
12962 builtin and then its argument prototype would still apply. */
12963 #ifdef __cplusplus
12964 extern "C"
12965 #endif
12966 char pa_stream_is_corked ();
12968 main ()
12970 return pa_stream_is_corked ();
12972 return 0;
12974 _ACEOF
12975 if ac_fn_c_try_link "$LINENO"; then :
12976 ac_cv_lib_pulse_pa_stream_is_corked=yes
12977 else
12978 ac_cv_lib_pulse_pa_stream_is_corked=no
12980 rm -f core conftest.err conftest.$ac_objext \
12981 conftest$ac_exeext conftest.$ac_ext
12982 LIBS=$ac_check_lib_save_LIBS
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12985 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12986 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12988 else
12989 PULSE_LIBS=""
12992 else
12993 PULSE_LIBS=""
12996 done
12998 CPPFLAGS=$ac_save_CPPFLAGS
12999 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13000 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13003 if test -z "$PULSE_LIBS"; then :
13004 case "x$with_pulse" in
13005 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13006 xno) ;;
13007 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13008 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13009 esac
13010 enable_winepulse_drv=${enable_winepulse_drv:-no}
13013 if test "x$with_gstreamer" != "xno"
13014 then
13015 if ${GSTREAMER_CFLAGS:+false} :; then :
13016 if ${PKG_CONFIG+:} false; then :
13017 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13021 if ${GSTREAMER_LIBS:+false} :; then :
13022 if ${PKG_CONFIG+:} false; then :
13023 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13028 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13029 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13030 ac_save_CPPFLAGS=$CPPFLAGS
13031 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13032 ac_gst_incl=""
13033 for i in $GSTREAMER_CFLAGS
13035 case "$i" in
13036 -I*) ac_gst_incl="$ac_gst_incl $i";;
13037 esac
13038 done
13039 GSTREAMER_CFLAGS=$ac_gst_incl
13040 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13041 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13042 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13044 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13046 /* end confdefs.h. */
13047 #include <gst/gst.h>
13049 main ()
13051 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13053 return 0;
13055 _ACEOF
13056 if ac_fn_c_try_compile "$LINENO"; then :
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13058 $as_echo "yes" >&6; }
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13060 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13061 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13062 $as_echo_n "(cached) " >&6
13063 else
13064 ac_check_lib_save_LIBS=$LIBS
13065 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13067 /* end confdefs.h. */
13069 /* Override any GCC internal prototype to avoid an error.
13070 Use char because int might match the return type of a GCC
13071 builtin and then its argument prototype would still apply. */
13072 #ifdef __cplusplus
13073 extern "C"
13074 #endif
13075 char gst_pad_new ();
13077 main ()
13079 return gst_pad_new ();
13081 return 0;
13083 _ACEOF
13084 if ac_fn_c_try_link "$LINENO"; then :
13085 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13086 else
13087 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13089 rm -f core conftest.err conftest.$ac_objext \
13090 conftest$ac_exeext conftest.$ac_ext
13091 LIBS=$ac_check_lib_save_LIBS
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13094 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13095 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13099 else
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13101 $as_echo "no" >&6; }
13102 ac_glib2_broken=yes
13103 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13109 CPPFLAGS=$ac_save_CPPFLAGS
13110 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13111 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13114 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 :
13115 case "x$with_gstreamer" in
13116 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13117 xno) ;;
13118 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13119 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13120 esac
13123 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13125 ALSA_LIBS=""
13127 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13128 then
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13130 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13131 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13132 $as_echo_n "(cached) " >&6
13133 else
13134 ac_check_lib_save_LIBS=$LIBS
13135 LIBS="-lasound $LIBS"
13136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13137 /* end confdefs.h. */
13139 /* Override any GCC internal prototype to avoid an error.
13140 Use char because int might match the return type of a GCC
13141 builtin and then its argument prototype would still apply. */
13142 #ifdef __cplusplus
13143 extern "C"
13144 #endif
13145 char snd_pcm_hw_params_get_access_mask ();
13147 main ()
13149 return snd_pcm_hw_params_get_access_mask ();
13151 return 0;
13153 _ACEOF
13154 if ac_fn_c_try_link "$LINENO"; then :
13155 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13156 else
13157 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13159 rm -f core conftest.err conftest.$ac_objext \
13160 conftest$ac_exeext conftest.$ac_ext
13161 LIBS=$ac_check_lib_save_LIBS
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13164 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13165 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13167 /* end confdefs.h. */
13168 #ifdef HAVE_ALSA_ASOUNDLIB_H
13169 #include <alsa/asoundlib.h>
13170 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13171 #include <sys/asoundlib.h>
13172 #endif
13174 main ()
13176 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13178 return 0;
13180 _ACEOF
13181 if ac_fn_c_try_compile "$LINENO"; then :
13182 ALSA_LIBS="-lasound"
13184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13188 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13190 if test "x$with_oss" != xno
13191 then
13192 ac_save_CPPFLAGS="$CPPFLAGS"
13193 if test -f /etc/oss.conf
13194 then
13195 . /etc/oss.conf
13197 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13198 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13199 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13200 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13201 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13203 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13205 cat >>confdefs.h <<_ACEOF
13206 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13207 _ACEOF
13209 OSS4_CFLAGS="$ac_oss_incl"
13216 CPPFLAGS="$ac_save_CPPFLAGS"
13218 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13219 case "x$with_oss" in
13220 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13221 xno) ;;
13222 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13223 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13224 esac
13225 enable_wineoss_drv=${enable_wineoss_drv:-no}
13228 if test "x$with_udev" != "xno"
13229 then
13230 if ${UDEV_CFLAGS:+false} :; then :
13231 if ${PKG_CONFIG+:} false; then :
13232 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13236 if ${UDEV_LIBS:+false} :; then :
13237 if ${PKG_CONFIG+:} false; then :
13238 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13242 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13243 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13244 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13245 ac_save_CPPFLAGS=$CPPFLAGS
13246 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13247 for ac_header in libudev.h
13248 do :
13249 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13250 if test "x$ac_cv_header_libudev_h" = xyes; then :
13251 cat >>confdefs.h <<_ACEOF
13252 #define HAVE_LIBUDEV_H 1
13253 _ACEOF
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13255 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13256 if ${ac_cv_lib_udev_udev_new+:} false; then :
13257 $as_echo_n "(cached) " >&6
13258 else
13259 ac_check_lib_save_LIBS=$LIBS
13260 LIBS="-ludev $UDEV_LIBS $LIBS"
13261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13262 /* end confdefs.h. */
13264 /* Override any GCC internal prototype to avoid an error.
13265 Use char because int might match the return type of a GCC
13266 builtin and then its argument prototype would still apply. */
13267 #ifdef __cplusplus
13268 extern "C"
13269 #endif
13270 char udev_new ();
13272 main ()
13274 return udev_new ();
13276 return 0;
13278 _ACEOF
13279 if ac_fn_c_try_link "$LINENO"; then :
13280 ac_cv_lib_udev_udev_new=yes
13281 else
13282 ac_cv_lib_udev_udev_new=no
13284 rm -f core conftest.err conftest.$ac_objext \
13285 conftest$ac_exeext conftest.$ac_ext
13286 LIBS=$ac_check_lib_save_LIBS
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13289 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13290 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13292 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13294 else
13295 UDEV_LIBS=""
13298 else
13299 UDEV_LIBS=""
13302 done
13304 CPPFLAGS=$ac_save_CPPFLAGS
13305 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13306 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13309 if test "x$UDEV_LIBS" = "x"; then :
13310 case "x$with_udev" in
13311 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13312 xno) ;;
13313 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13314 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13315 esac
13319 if test "x$with_capi" != "xno"
13320 then
13321 if ${CAPI20_CFLAGS:+false} :; then :
13322 if ${PKG_CONFIG+:} false; then :
13323 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13327 if ${CAPI20_LIBS:+false} :; then :
13328 if ${PKG_CONFIG+:} false; then :
13329 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13334 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13335 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13336 ac_save_CPPFLAGS=$CPPFLAGS
13337 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13338 for ac_header in capi20.h linux/capi.h
13339 do :
13340 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13341 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13343 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13344 cat >>confdefs.h <<_ACEOF
13345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13346 _ACEOF
13350 done
13352 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13353 then
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13355 $as_echo_n "checking for -lcapi20... " >&6; }
13356 if ${ac_cv_lib_soname_capi20+:} false; then :
13357 $as_echo_n "(cached) " >&6
13358 else
13359 ac_check_soname_save_LIBS=$LIBS
13360 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13362 /* end confdefs.h. */
13364 /* Override any GCC internal prototype to avoid an error.
13365 Use char because int might match the return type of a GCC
13366 builtin and then its argument prototype would still apply. */
13367 #ifdef __cplusplus
13368 extern "C"
13369 #endif
13370 char capi20_register ();
13372 main ()
13374 return capi20_register ();
13376 return 0;
13378 _ACEOF
13379 if ac_fn_c_try_link "$LINENO"; then :
13380 case "$LIBEXT" in
13381 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13382 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'` ;;
13383 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13384 if ${ac_cv_lib_soname_capi20:+false} :; then :
13385 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13386 fi ;;
13387 esac
13389 rm -f core conftest.err conftest.$ac_objext \
13390 conftest$ac_exeext conftest.$ac_ext
13391 LIBS=$ac_check_soname_save_LIBS
13393 if ${ac_cv_lib_soname_capi20:+false} :; then :
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13395 $as_echo "not found" >&6; }
13397 else
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13399 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13401 cat >>confdefs.h <<_ACEOF
13402 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13403 _ACEOF
13408 CPPFLAGS=$ac_save_CPPFLAGS
13409 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13410 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13413 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13414 case "x$with_capi" in
13415 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13416 xno) ;;
13417 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13418 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13419 esac
13423 CUPS_CFLAGS=""
13425 if test "x$with_cups" != "xno"
13426 then
13427 ac_save_CPPFLAGS="$CPPFLAGS"
13428 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13429 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13430 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13431 for ac_header in cups/cups.h
13432 do :
13433 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13434 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13435 cat >>confdefs.h <<_ACEOF
13436 #define HAVE_CUPS_CUPS_H 1
13437 _ACEOF
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13439 $as_echo_n "checking for -lcups... " >&6; }
13440 if ${ac_cv_lib_soname_cups+:} false; then :
13441 $as_echo_n "(cached) " >&6
13442 else
13443 ac_check_soname_save_LIBS=$LIBS
13444 LIBS="-lcups $ac_cups_libs $LIBS"
13445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13446 /* end confdefs.h. */
13448 /* Override any GCC internal prototype to avoid an error.
13449 Use char because int might match the return type of a GCC
13450 builtin and then its argument prototype would still apply. */
13451 #ifdef __cplusplus
13452 extern "C"
13453 #endif
13454 char cupsGetDefault ();
13456 main ()
13458 return cupsGetDefault ();
13460 return 0;
13462 _ACEOF
13463 if ac_fn_c_try_link "$LINENO"; then :
13464 case "$LIBEXT" in
13465 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13466 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'` ;;
13467 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13468 if ${ac_cv_lib_soname_cups:+false} :; then :
13469 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13470 fi ;;
13471 esac
13473 rm -f core conftest.err conftest.$ac_objext \
13474 conftest$ac_exeext conftest.$ac_ext
13475 LIBS=$ac_check_soname_save_LIBS
13477 if ${ac_cv_lib_soname_cups:+false} :; then :
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13479 $as_echo "not found" >&6; }
13481 else
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13483 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13485 cat >>confdefs.h <<_ACEOF
13486 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13487 _ACEOF
13489 CUPS_CFLAGS="$ac_cups_cflags"
13491 for ac_header in cups/ppd.h
13492 do :
13493 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13494 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13495 cat >>confdefs.h <<_ACEOF
13496 #define HAVE_CUPS_PPD_H 1
13497 _ACEOF
13501 done
13505 done
13507 CPPFLAGS="$ac_save_CPPFLAGS"
13509 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13510 case "x$with_cups" in
13511 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13512 xno) ;;
13513 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13514 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13515 esac
13519 if test "x$with_fontconfig" != "xno"
13520 then
13521 if ${FONTCONFIG_CFLAGS:+false} :; then :
13522 if ${PKG_CONFIG+:} false; then :
13523 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13526 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13527 if ${FONTCONFIG_LIBS:+false} :; then :
13528 if ${PKG_CONFIG+:} false; then :
13529 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13532 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13534 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13535 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13536 ac_save_CPPFLAGS=$CPPFLAGS
13537 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13538 for ac_header in fontconfig/fontconfig.h
13539 do :
13540 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13541 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13542 cat >>confdefs.h <<_ACEOF
13543 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13544 _ACEOF
13548 done
13550 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13551 then
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13553 $as_echo_n "checking for -lfontconfig... " >&6; }
13554 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13555 $as_echo_n "(cached) " >&6
13556 else
13557 ac_check_soname_save_LIBS=$LIBS
13558 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13560 /* end confdefs.h. */
13562 /* Override any GCC internal prototype to avoid an error.
13563 Use char because int might match the return type of a GCC
13564 builtin and then its argument prototype would still apply. */
13565 #ifdef __cplusplus
13566 extern "C"
13567 #endif
13568 char FcInit ();
13570 main ()
13572 return FcInit ();
13574 return 0;
13576 _ACEOF
13577 if ac_fn_c_try_link "$LINENO"; then :
13578 case "$LIBEXT" in
13579 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13580 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'` ;;
13581 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13582 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13583 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13584 fi ;;
13585 esac
13587 rm -f core conftest.err conftest.$ac_objext \
13588 conftest$ac_exeext conftest.$ac_ext
13589 LIBS=$ac_check_soname_save_LIBS
13591 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13593 $as_echo "not found" >&6; }
13594 FONTCONFIG_CFLAGS=""
13595 else
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13597 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13599 cat >>confdefs.h <<_ACEOF
13600 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13601 _ACEOF
13605 else
13606 FONTCONFIG_CFLAGS=""
13608 CPPFLAGS=$ac_save_CPPFLAGS
13609 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13610 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13613 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13614 case "x$with_fontconfig" in
13615 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13616 xno) ;;
13617 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13618 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13619 esac
13623 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13624 then
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13626 $as_echo_n "checking for -lgsm... " >&6; }
13627 if ${ac_cv_lib_soname_gsm+:} false; then :
13628 $as_echo_n "(cached) " >&6
13629 else
13630 ac_check_soname_save_LIBS=$LIBS
13631 LIBS="-lgsm $LIBS"
13632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13633 /* end confdefs.h. */
13635 /* Override any GCC internal prototype to avoid an error.
13636 Use char because int might match the return type of a GCC
13637 builtin and then its argument prototype would still apply. */
13638 #ifdef __cplusplus
13639 extern "C"
13640 #endif
13641 char gsm_create ();
13643 main ()
13645 return gsm_create ();
13647 return 0;
13649 _ACEOF
13650 if ac_fn_c_try_link "$LINENO"; then :
13651 case "$LIBEXT" in
13652 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13653 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'` ;;
13654 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13655 if ${ac_cv_lib_soname_gsm:+false} :; then :
13656 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13657 fi ;;
13658 esac
13660 rm -f core conftest.err conftest.$ac_objext \
13661 conftest$ac_exeext conftest.$ac_ext
13662 LIBS=$ac_check_soname_save_LIBS
13664 if ${ac_cv_lib_soname_gsm:+false} :; then :
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13666 $as_echo "not found" >&6; }
13668 else
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13670 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13672 cat >>confdefs.h <<_ACEOF
13673 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13674 _ACEOF
13679 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13680 case "x$with_gsm" in
13681 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13682 xno) ;;
13683 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13684 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13685 esac
13689 if test "x$with_jpeg" != "xno"
13690 then
13691 if ${JPEG_CFLAGS:+false} :; then :
13692 if ${PKG_CONFIG+:} false; then :
13693 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13697 if ${JPEG_LIBS:+false} :; then :
13698 if ${PKG_CONFIG+:} false; then :
13699 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13704 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13705 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13706 ac_save_CPPFLAGS=$CPPFLAGS
13707 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13708 for ac_header in jpeglib.h
13709 do :
13710 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13711 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13712 cat >>confdefs.h <<_ACEOF
13713 #define HAVE_JPEGLIB_H 1
13714 _ACEOF
13718 done
13720 if test "$ac_cv_header_jpeglib_h" = "yes"
13721 then
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13723 $as_echo_n "checking for -ljpeg... " >&6; }
13724 if ${ac_cv_lib_soname_jpeg+:} false; then :
13725 $as_echo_n "(cached) " >&6
13726 else
13727 ac_check_soname_save_LIBS=$LIBS
13728 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13730 /* end confdefs.h. */
13732 /* Override any GCC internal prototype to avoid an error.
13733 Use char because int might match the return type of a GCC
13734 builtin and then its argument prototype would still apply. */
13735 #ifdef __cplusplus
13736 extern "C"
13737 #endif
13738 char jpeg_start_decompress ();
13740 main ()
13742 return jpeg_start_decompress ();
13744 return 0;
13746 _ACEOF
13747 if ac_fn_c_try_link "$LINENO"; then :
13748 case "$LIBEXT" in
13749 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13750 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'` ;;
13751 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13752 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13753 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13754 fi ;;
13755 esac
13757 rm -f core conftest.err conftest.$ac_objext \
13758 conftest$ac_exeext conftest.$ac_ext
13759 LIBS=$ac_check_soname_save_LIBS
13761 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13763 $as_echo "not found" >&6; }
13764 JPEG_CFLAGS=""
13765 else
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13767 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13769 cat >>confdefs.h <<_ACEOF
13770 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13771 _ACEOF
13775 else
13776 JPEG_CFLAGS=""
13778 CPPFLAGS=$ac_save_CPPFLAGS
13779 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13780 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13783 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13784 case "x$with_jpeg" in
13785 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13786 xno) ;;
13787 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13788 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13789 esac
13793 if test "x$with_png" != "xno"
13794 then
13795 if ${PNG_CFLAGS:+false} :; then :
13796 if ${PKG_CONFIG+:} false; then :
13797 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13800 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13801 if ${PNG_LIBS:+false} :; then :
13802 if ${PKG_CONFIG+:} false; then :
13803 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13806 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13808 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13809 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13810 ac_save_CPPFLAGS=$CPPFLAGS
13811 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13812 for ac_header in png.h
13813 do :
13814 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13815 if test "x$ac_cv_header_png_h" = xyes; then :
13816 cat >>confdefs.h <<_ACEOF
13817 #define HAVE_PNG_H 1
13818 _ACEOF
13822 done
13824 if test "$ac_cv_header_png_h" = "yes"
13825 then
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13827 $as_echo_n "checking for -lpng... " >&6; }
13828 if ${ac_cv_lib_soname_png+:} false; then :
13829 $as_echo_n "(cached) " >&6
13830 else
13831 ac_check_soname_save_LIBS=$LIBS
13832 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13834 /* end confdefs.h. */
13836 /* Override any GCC internal prototype to avoid an error.
13837 Use char because int might match the return type of a GCC
13838 builtin and then its argument prototype would still apply. */
13839 #ifdef __cplusplus
13840 extern "C"
13841 #endif
13842 char png_create_read_struct ();
13844 main ()
13846 return png_create_read_struct ();
13848 return 0;
13850 _ACEOF
13851 if ac_fn_c_try_link "$LINENO"; then :
13852 case "$LIBEXT" in
13853 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13854 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'` ;;
13855 *) 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'`
13856 if ${ac_cv_lib_soname_png:+false} :; then :
13857 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13858 fi ;;
13859 esac
13861 rm -f core conftest.err conftest.$ac_objext \
13862 conftest$ac_exeext conftest.$ac_ext
13863 LIBS=$ac_check_soname_save_LIBS
13865 if ${ac_cv_lib_soname_png:+false} :; then :
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13867 $as_echo "not found" >&6; }
13868 PNG_CFLAGS=""
13869 else
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13871 $as_echo "$ac_cv_lib_soname_png" >&6; }
13873 cat >>confdefs.h <<_ACEOF
13874 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13875 _ACEOF
13877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13878 /* end confdefs.h. */
13879 #include <png.h>
13881 main ()
13883 typeof(png_set_expand_gray_1_2_4_to_8) *p
13885 return 0;
13887 _ACEOF
13888 if ac_fn_c_try_compile "$LINENO"; then :
13890 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13895 else
13896 PNG_CFLAGS=""
13898 CPPFLAGS=$ac_save_CPPFLAGS
13899 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13900 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13903 if test "x$ac_cv_lib_soname_png" = "x"; then :
13904 case "x$with_png" in
13905 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13906 xno) ;;
13907 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13908 This is an error since --with-png was requested." "$LINENO" 5 ;;
13909 esac
13913 if test "x$with_tiff" != "xno"
13914 then
13915 if ${TIFF_CFLAGS:+false} :; then :
13916 if ${PKG_CONFIG+:} false; then :
13917 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13921 if ${TIFF_LIBS:+false} :; then :
13922 if ${PKG_CONFIG+:} false; then :
13923 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13928 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13929 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13930 ac_save_CPPFLAGS=$CPPFLAGS
13931 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13932 for ac_header in tiffio.h
13933 do :
13934 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13935 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13936 cat >>confdefs.h <<_ACEOF
13937 #define HAVE_TIFFIO_H 1
13938 _ACEOF
13942 done
13944 if test "$ac_cv_header_tiffio_h" = "yes"
13945 then
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13947 $as_echo_n "checking for -ltiff... " >&6; }
13948 if ${ac_cv_lib_soname_tiff+:} false; then :
13949 $as_echo_n "(cached) " >&6
13950 else
13951 ac_check_soname_save_LIBS=$LIBS
13952 LIBS="-ltiff $TIFF_LIBS $LIBS"
13953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13954 /* end confdefs.h. */
13956 /* Override any GCC internal prototype to avoid an error.
13957 Use char because int might match the return type of a GCC
13958 builtin and then its argument prototype would still apply. */
13959 #ifdef __cplusplus
13960 extern "C"
13961 #endif
13962 char TIFFClientOpen ();
13964 main ()
13966 return TIFFClientOpen ();
13968 return 0;
13970 _ACEOF
13971 if ac_fn_c_try_link "$LINENO"; then :
13972 case "$LIBEXT" in
13973 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13974 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'` ;;
13975 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13976 if ${ac_cv_lib_soname_tiff:+false} :; then :
13977 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13978 fi ;;
13979 esac
13981 rm -f core conftest.err conftest.$ac_objext \
13982 conftest$ac_exeext conftest.$ac_ext
13983 LIBS=$ac_check_soname_save_LIBS
13985 if ${ac_cv_lib_soname_tiff:+false} :; then :
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13987 $as_echo "not found" >&6; }
13989 else
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13991 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13993 cat >>confdefs.h <<_ACEOF
13994 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13995 _ACEOF
14000 CPPFLAGS=$ac_save_CPPFLAGS
14001 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14002 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14005 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14006 case "x$with_tiff" in
14007 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14008 xno) ;;
14009 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14010 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14011 esac
14015 if test "x$with_mpg123" != "xno"
14016 then
14017 if ${MPG123_CFLAGS:+false} :; then :
14018 if ${PKG_CONFIG+:} false; then :
14019 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14023 if ${MPG123_LIBS:+false} :; then :
14024 if ${PKG_CONFIG+:} false; then :
14025 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14029 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14030 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14031 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14032 ac_save_CPPFLAGS=$CPPFLAGS
14033 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14034 for ac_header in mpg123.h
14035 do :
14036 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14037 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14038 cat >>confdefs.h <<_ACEOF
14039 #define HAVE_MPG123_H 1
14040 _ACEOF
14044 done
14046 if test "$ac_cv_header_mpg123_h" = "yes"
14047 then
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14049 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14050 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14051 $as_echo_n "(cached) " >&6
14052 else
14053 ac_check_lib_save_LIBS=$LIBS
14054 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h. */
14058 /* Override any GCC internal prototype to avoid an error.
14059 Use char because int might match the return type of a GCC
14060 builtin and then its argument prototype would still apply. */
14061 #ifdef __cplusplus
14062 extern "C"
14063 #endif
14064 char mpg123_feed ();
14066 main ()
14068 return mpg123_feed ();
14070 return 0;
14072 _ACEOF
14073 if ac_fn_c_try_link "$LINENO"; then :
14074 ac_cv_lib_mpg123_mpg123_feed=yes
14075 else
14076 ac_cv_lib_mpg123_mpg123_feed=no
14078 rm -f core conftest.err conftest.$ac_objext \
14079 conftest$ac_exeext conftest.$ac_ext
14080 LIBS=$ac_check_lib_save_LIBS
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14083 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14084 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14086 else
14087 MPG123_LIBS=""
14090 else
14091 MPG123_CFLAGS=""
14092 MPG123_LIBS=""
14094 CPPFLAGS=$ac_save_CPPFLAGS
14095 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14096 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14099 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14100 case "x$with_mpg123" in
14101 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14102 xno) ;;
14103 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14104 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14105 esac
14106 enable_winemp3_acm=${enable_winemp3_acm:-no}
14109 if test "$ac_cv_header_AL_al_h" = "yes"
14110 then
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14112 $as_echo_n "checking for -lopenal... " >&6; }
14113 if ${ac_cv_lib_soname_openal+:} false; then :
14114 $as_echo_n "(cached) " >&6
14115 else
14116 ac_check_soname_save_LIBS=$LIBS
14117 LIBS="-lopenal $LIBS"
14118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14119 /* end confdefs.h. */
14121 /* Override any GCC internal prototype to avoid an error.
14122 Use char because int might match the return type of a GCC
14123 builtin and then its argument prototype would still apply. */
14124 #ifdef __cplusplus
14125 extern "C"
14126 #endif
14127 char alGetSource3i ();
14129 main ()
14131 return alGetSource3i ();
14133 return 0;
14135 _ACEOF
14136 if ac_fn_c_try_link "$LINENO"; then :
14137 case "$LIBEXT" in
14138 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14139 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'` ;;
14140 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14141 if ${ac_cv_lib_soname_openal:+false} :; then :
14142 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14143 fi ;;
14144 esac
14146 rm -f core conftest.err conftest.$ac_objext \
14147 conftest$ac_exeext conftest.$ac_ext
14148 LIBS=$ac_check_soname_save_LIBS
14150 if ${ac_cv_lib_soname_openal:+false} :; then :
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14152 $as_echo "not found" >&6; }
14154 else
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14156 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14158 cat >>confdefs.h <<_ACEOF
14159 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14160 _ACEOF
14162 OPENAL_LIBS="-lopenal"
14164 ac_cv_lib_openal=yes
14166 cat >>confdefs.h <<_ACEOF
14167 #define HAVE_OPENAL 1
14168 _ACEOF
14172 if test "x$ac_cv_lib_openal" != xyes; then :
14173 case "x$with_openal" in
14174 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14175 xno) ;;
14176 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14177 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14178 esac
14179 enable_openal32=${enable_openal32:-no}
14182 if test "x$ac_cv_lib_openal" = xyes
14183 then
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14185 $as_echo_n "checking for openal-soft... " >&6; }
14186 if ${ac_cv_have_openalsoft+:} false; then :
14187 $as_echo_n "(cached) " >&6
14188 else
14189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14190 /* end confdefs.h. */
14191 #include <AL/al.h>
14192 #include <AL/alc.h>
14193 #include <AL/alext.h>
14194 LPALCRENDERSAMPLESSOFT x;
14196 main ()
14200 return 0;
14202 _ACEOF
14203 if ac_fn_c_try_compile "$LINENO"; then :
14204 ac_cv_have_openalsoft=yes
14205 else
14206 ac_cv_have_openalsoft=no
14208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14211 $as_echo "$ac_cv_have_openalsoft" >&6; }
14213 if test "x$ac_cv_have_openalsoft" != xyes
14214 then
14215 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14216 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14217 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14218 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14219 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14220 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14221 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14222 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14223 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14224 enable_xapofx1_1=${enable_xapofx1_1:-no}
14225 enable_xapofx1_2=${enable_xapofx1_2:-no}
14226 enable_xapofx1_3=${enable_xapofx1_3:-no}
14227 enable_xapofx1_4=${enable_xapofx1_4:-no}
14228 enable_xapofx1_5=${enable_xapofx1_5:-no}
14229 enable_xaudio2_0=${enable_xaudio2_0:-no}
14230 enable_xaudio2_1=${enable_xaudio2_1:-no}
14231 enable_xaudio2_2=${enable_xaudio2_2:-no}
14232 enable_xaudio2_3=${enable_xaudio2_3:-no}
14233 enable_xaudio2_4=${enable_xaudio2_4:-no}
14234 enable_xaudio2_5=${enable_xaudio2_5:-no}
14235 enable_xaudio2_6=${enable_xaudio2_6:-no}
14236 enable_xaudio2_7=${enable_xaudio2_7:-no}
14237 enable_xaudio2_8=${enable_xaudio2_8:-no}
14238 enable_xaudio2_9=${enable_xaudio2_9:-no}
14241 if test "$ac_cv_header_kstat_h" = "yes"
14242 then
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14244 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14245 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14246 $as_echo_n "(cached) " >&6
14247 else
14248 ac_check_lib_save_LIBS=$LIBS
14249 LIBS="-lkstat $LIBS"
14250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14251 /* end confdefs.h. */
14253 /* Override any GCC internal prototype to avoid an error.
14254 Use char because int might match the return type of a GCC
14255 builtin and then its argument prototype would still apply. */
14256 #ifdef __cplusplus
14257 extern "C"
14258 #endif
14259 char kstat_open ();
14261 main ()
14263 return kstat_open ();
14265 return 0;
14267 _ACEOF
14268 if ac_fn_c_try_link "$LINENO"; then :
14269 ac_cv_lib_kstat_kstat_open=yes
14270 else
14271 ac_cv_lib_kstat_kstat_open=no
14273 rm -f core conftest.err conftest.$ac_objext \
14274 conftest$ac_exeext conftest.$ac_ext
14275 LIBS=$ac_check_lib_save_LIBS
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14278 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14279 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14281 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14283 KSTAT_LIBS="-lkstat"
14289 if test "$ac_cv_header_libprocstat_h" = "yes"
14290 then
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14292 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14293 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14294 $as_echo_n "(cached) " >&6
14295 else
14296 ac_check_lib_save_LIBS=$LIBS
14297 LIBS="-lprocstat $LIBS"
14298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14299 /* end confdefs.h. */
14301 /* Override any GCC internal prototype to avoid an error.
14302 Use char because int might match the return type of a GCC
14303 builtin and then its argument prototype would still apply. */
14304 #ifdef __cplusplus
14305 extern "C"
14306 #endif
14307 char procstat_open_sysctl ();
14309 main ()
14311 return procstat_open_sysctl ();
14313 return 0;
14315 _ACEOF
14316 if ac_fn_c_try_link "$LINENO"; then :
14317 ac_cv_lib_procstat_procstat_open_sysctl=yes
14318 else
14319 ac_cv_lib_procstat_procstat_open_sysctl=no
14321 rm -f core conftest.err conftest.$ac_objext \
14322 conftest$ac_exeext conftest.$ac_ext
14323 LIBS=$ac_check_lib_save_LIBS
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14326 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14327 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14329 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14331 PROCSTAT_LIBS="-lprocstat"
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14338 $as_echo_n "checking for -lodbc... " >&6; }
14339 if ${ac_cv_lib_soname_odbc+:} false; then :
14340 $as_echo_n "(cached) " >&6
14341 else
14342 ac_check_soname_save_LIBS=$LIBS
14343 LIBS="-lodbc $LIBS"
14344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14347 /* Override any GCC internal prototype to avoid an error.
14348 Use char because int might match the return type of a GCC
14349 builtin and then its argument prototype would still apply. */
14350 #ifdef __cplusplus
14351 extern "C"
14352 #endif
14353 char SQLConnect ();
14355 main ()
14357 return SQLConnect ();
14359 return 0;
14361 _ACEOF
14362 if ac_fn_c_try_link "$LINENO"; then :
14363 case "$LIBEXT" in
14364 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14365 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'` ;;
14366 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14367 if ${ac_cv_lib_soname_odbc:+false} :; then :
14368 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14369 fi ;;
14370 esac
14372 rm -f core conftest.err conftest.$ac_objext \
14373 conftest$ac_exeext conftest.$ac_ext
14374 LIBS=$ac_check_soname_save_LIBS
14376 if ${ac_cv_lib_soname_odbc:+false} :; then :
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14378 $as_echo "not found" >&6; }
14379 cat >>confdefs.h <<_ACEOF
14380 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14381 _ACEOF
14383 else
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14385 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14387 cat >>confdefs.h <<_ACEOF
14388 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14389 _ACEOF
14394 if test "x$with_netapi" != "xno"
14395 then
14396 if ${NETAPI_CFLAGS:+false} :; then :
14397 if ${PKG_CONFIG+:} false; then :
14398 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14402 if ${NETAPI_LIBS:+false} :; then :
14403 if ${PKG_CONFIG+:} false; then :
14404 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14409 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14410 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14411 ac_save_CPPFLAGS=$CPPFLAGS
14412 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14414 $as_echo_n "checking for -lnetapi... " >&6; }
14415 if ${ac_cv_lib_soname_netapi+:} false; then :
14416 $as_echo_n "(cached) " >&6
14417 else
14418 ac_check_soname_save_LIBS=$LIBS
14419 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421 /* end confdefs.h. */
14423 /* Override any GCC internal prototype to avoid an error.
14424 Use char because int might match the return type of a GCC
14425 builtin and then its argument prototype would still apply. */
14426 #ifdef __cplusplus
14427 extern "C"
14428 #endif
14429 char libnetapi_init ();
14431 main ()
14433 return libnetapi_init ();
14435 return 0;
14437 _ACEOF
14438 if ac_fn_c_try_link "$LINENO"; then :
14439 case "$LIBEXT" in
14440 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14441 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'` ;;
14442 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14443 if ${ac_cv_lib_soname_netapi:+false} :; then :
14444 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14445 fi ;;
14446 esac
14448 rm -f core conftest.err conftest.$ac_objext \
14449 conftest$ac_exeext conftest.$ac_ext
14450 LIBS=$ac_check_soname_save_LIBS
14452 if ${ac_cv_lib_soname_netapi:+false} :; then :
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14454 $as_echo "not found" >&6; }
14455 cat >>confdefs.h <<_ACEOF
14456 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14457 _ACEOF
14459 else
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14461 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14463 cat >>confdefs.h <<_ACEOF
14464 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14465 _ACEOF
14469 CPPFLAGS=$ac_save_CPPFLAGS
14470 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14471 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14475 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14476 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14477 then
14478 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14482 EXTRACFLAGS=""
14484 if test "x${GCC}" = "xyes"
14485 then
14486 EXTRACFLAGS="-Wall -pipe"
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14489 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14490 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14491 $as_echo_n "(cached) " >&6
14492 else
14493 if test "$cross_compiling" = yes; then :
14494 ac_cv_c_gcc_strength_bug="no"
14495 else
14496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14497 /* end confdefs.h. */
14498 int L[4] = {0,1,2,3};
14500 main ()
14502 static int Array[3];
14503 unsigned int B = 3;
14504 int i;
14505 for(i=0; i<B; i++) Array[i] = i - 3;
14506 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14507 L[i] = 4;
14508 return (Array[1] != -2 || L[2] != 3)
14510 return 0;
14512 _ACEOF
14513 if ac_fn_c_try_run "$LINENO"; then :
14514 ac_cv_c_gcc_strength_bug="no"
14515 else
14516 ac_cv_c_gcc_strength_bug="yes"
14518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14519 conftest.$ac_objext conftest.beam conftest.$ac_ext
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14524 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14525 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14526 then
14527 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14531 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14532 if ${ac_cv_cflags__fno_builtin+:} false; then :
14533 $as_echo_n "(cached) " >&6
14534 else
14535 ac_wine_try_cflags_saved=$CFLAGS
14536 CFLAGS="$CFLAGS -fno-builtin"
14537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14538 /* end confdefs.h. */
14539 int main(int argc, char **argv) { return 0; }
14540 _ACEOF
14541 if ac_fn_c_try_link "$LINENO"; then :
14542 ac_cv_cflags__fno_builtin=yes
14543 else
14544 ac_cv_cflags__fno_builtin=no
14546 rm -f core conftest.err conftest.$ac_objext \
14547 conftest$ac_exeext conftest.$ac_ext
14548 CFLAGS=$ac_wine_try_cflags_saved
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14551 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14552 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14553 BUILTINFLAG="-fno-builtin"
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14557 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14558 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14559 $as_echo_n "(cached) " >&6
14560 else
14561 ac_wine_try_cflags_saved=$CFLAGS
14562 CFLAGS="$CFLAGS -fno-strict-aliasing"
14563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14565 int main(int argc, char **argv) { return 0; }
14566 _ACEOF
14567 if ac_fn_c_try_link "$LINENO"; then :
14568 ac_cv_cflags__fno_strict_aliasing=yes
14569 else
14570 ac_cv_cflags__fno_strict_aliasing=no
14572 rm -f core conftest.err conftest.$ac_objext \
14573 conftest$ac_exeext conftest.$ac_ext
14574 CFLAGS=$ac_wine_try_cflags_saved
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14577 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14578 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14579 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14582 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14583 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14584 $as_echo_n "(cached) " >&6
14585 else
14586 ac_wine_try_cflags_saved=$CFLAGS
14587 CFLAGS="$CFLAGS -fexcess-precision=standard"
14588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14590 int main(int argc, char **argv) { return 0; }
14591 _ACEOF
14592 if ac_fn_c_try_link "$LINENO"; then :
14593 ac_cv_cflags__fexcess_precision_standard=yes
14594 else
14595 ac_cv_cflags__fexcess_precision_standard=no
14597 rm -f core conftest.err conftest.$ac_objext \
14598 conftest$ac_exeext conftest.$ac_ext
14599 CFLAGS=$ac_wine_try_cflags_saved
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14602 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14603 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14604 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14607 saved_CFLAGS=$CFLAGS
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14609 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14610 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14611 $as_echo_n "(cached) " >&6
14612 else
14613 ac_wine_try_cflags_saved=$CFLAGS
14614 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14616 /* end confdefs.h. */
14617 int main(int argc, char **argv) { return 0; }
14618 _ACEOF
14619 if ac_fn_c_try_link "$LINENO"; then :
14620 ac_cv_cflags__Werror_unknown_warning_option=yes
14621 else
14622 ac_cv_cflags__Werror_unknown_warning_option=no
14624 rm -f core conftest.err conftest.$ac_objext \
14625 conftest$ac_exeext conftest.$ac_ext
14626 CFLAGS=$ac_wine_try_cflags_saved
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14629 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14630 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14631 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14634 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14635 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14636 $as_echo_n "(cached) " >&6
14637 else
14638 ac_wine_try_cflags_saved=$CFLAGS
14639 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14641 /* end confdefs.h. */
14642 int main(int argc, char **argv) { return 0; }
14643 _ACEOF
14644 if ac_fn_c_try_link "$LINENO"; then :
14645 ac_cv_cflags__Wdeclaration_after_statement=yes
14646 else
14647 ac_cv_cflags__Wdeclaration_after_statement=no
14649 rm -f core conftest.err conftest.$ac_objext \
14650 conftest$ac_exeext conftest.$ac_ext
14651 CFLAGS=$ac_wine_try_cflags_saved
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14654 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14655 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14656 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14659 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14660 if ${ac_cv_cflags__Wempty_body+:} false; then :
14661 $as_echo_n "(cached) " >&6
14662 else
14663 ac_wine_try_cflags_saved=$CFLAGS
14664 CFLAGS="$CFLAGS -Wempty-body"
14665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14666 /* end confdefs.h. */
14667 int main(int argc, char **argv) { return 0; }
14668 _ACEOF
14669 if ac_fn_c_try_link "$LINENO"; then :
14670 ac_cv_cflags__Wempty_body=yes
14671 else
14672 ac_cv_cflags__Wempty_body=no
14674 rm -f core conftest.err conftest.$ac_objext \
14675 conftest$ac_exeext conftest.$ac_ext
14676 CFLAGS=$ac_wine_try_cflags_saved
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14679 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14680 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14681 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14684 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14685 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14686 $as_echo_n "(cached) " >&6
14687 else
14688 ac_wine_try_cflags_saved=$CFLAGS
14689 CFLAGS="$CFLAGS -Wignored-qualifiers"
14690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14691 /* end confdefs.h. */
14692 int main(int argc, char **argv) { return 0; }
14693 _ACEOF
14694 if ac_fn_c_try_link "$LINENO"; then :
14695 ac_cv_cflags__Wignored_qualifiers=yes
14696 else
14697 ac_cv_cflags__Wignored_qualifiers=no
14699 rm -f core conftest.err conftest.$ac_objext \
14700 conftest$ac_exeext conftest.$ac_ext
14701 CFLAGS=$ac_wine_try_cflags_saved
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14704 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14705 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14706 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14709 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14710 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14711 $as_echo_n "(cached) " >&6
14712 else
14713 ac_wine_try_cflags_saved=$CFLAGS
14714 CFLAGS="$CFLAGS -Wshift-overflow=2"
14715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14716 /* end confdefs.h. */
14717 int main(int argc, char **argv) { return 0; }
14718 _ACEOF
14719 if ac_fn_c_try_link "$LINENO"; then :
14720 ac_cv_cflags__Wshift_overflow_2=yes
14721 else
14722 ac_cv_cflags__Wshift_overflow_2=no
14724 rm -f core conftest.err conftest.$ac_objext \
14725 conftest$ac_exeext conftest.$ac_ext
14726 CFLAGS=$ac_wine_try_cflags_saved
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14729 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14730 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14731 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14734 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14735 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14736 $as_echo_n "(cached) " >&6
14737 else
14738 ac_wine_try_cflags_saved=$CFLAGS
14739 CFLAGS="$CFLAGS -Wstrict-prototypes"
14740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14741 /* end confdefs.h. */
14742 int main(int argc, char **argv) { return 0; }
14743 _ACEOF
14744 if ac_fn_c_try_link "$LINENO"; then :
14745 ac_cv_cflags__Wstrict_prototypes=yes
14746 else
14747 ac_cv_cflags__Wstrict_prototypes=no
14749 rm -f core conftest.err conftest.$ac_objext \
14750 conftest$ac_exeext conftest.$ac_ext
14751 CFLAGS=$ac_wine_try_cflags_saved
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14754 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14755 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14756 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14759 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14760 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14761 $as_echo_n "(cached) " >&6
14762 else
14763 ac_wine_try_cflags_saved=$CFLAGS
14764 CFLAGS="$CFLAGS -Wtype-limits"
14765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14766 /* end confdefs.h. */
14767 int main(int argc, char **argv) { return 0; }
14768 _ACEOF
14769 if ac_fn_c_try_link "$LINENO"; then :
14770 ac_cv_cflags__Wtype_limits=yes
14771 else
14772 ac_cv_cflags__Wtype_limits=no
14774 rm -f core conftest.err conftest.$ac_objext \
14775 conftest$ac_exeext conftest.$ac_ext
14776 CFLAGS=$ac_wine_try_cflags_saved
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14779 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14780 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14781 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14784 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14785 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14786 $as_echo_n "(cached) " >&6
14787 else
14788 ac_wine_try_cflags_saved=$CFLAGS
14789 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14791 /* end confdefs.h. */
14792 int main(int argc, char **argv) { return 0; }
14793 _ACEOF
14794 if ac_fn_c_try_link "$LINENO"; then :
14795 ac_cv_cflags__Wunused_but_set_parameter=yes
14796 else
14797 ac_cv_cflags__Wunused_but_set_parameter=no
14799 rm -f core conftest.err conftest.$ac_objext \
14800 conftest$ac_exeext conftest.$ac_ext
14801 CFLAGS=$ac_wine_try_cflags_saved
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14804 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14805 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14806 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14809 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14810 if ${ac_cv_cflags__Wvla+:} false; then :
14811 $as_echo_n "(cached) " >&6
14812 else
14813 ac_wine_try_cflags_saved=$CFLAGS
14814 CFLAGS="$CFLAGS -Wvla"
14815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14816 /* end confdefs.h. */
14817 int main(int argc, char **argv) { return 0; }
14818 _ACEOF
14819 if ac_fn_c_try_link "$LINENO"; then :
14820 ac_cv_cflags__Wvla=yes
14821 else
14822 ac_cv_cflags__Wvla=no
14824 rm -f core conftest.err conftest.$ac_objext \
14825 conftest$ac_exeext conftest.$ac_ext
14826 CFLAGS=$ac_wine_try_cflags_saved
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14829 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14830 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14831 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14834 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14835 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14836 $as_echo_n "(cached) " >&6
14837 else
14838 ac_wine_try_cflags_saved=$CFLAGS
14839 CFLAGS="$CFLAGS -Wwrite-strings"
14840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14841 /* end confdefs.h. */
14842 int main(int argc, char **argv) { return 0; }
14843 _ACEOF
14844 if ac_fn_c_try_link "$LINENO"; then :
14845 ac_cv_cflags__Wwrite_strings=yes
14846 else
14847 ac_cv_cflags__Wwrite_strings=no
14849 rm -f core conftest.err conftest.$ac_objext \
14850 conftest$ac_exeext conftest.$ac_ext
14851 CFLAGS=$ac_wine_try_cflags_saved
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14854 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14855 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14856 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14860 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14861 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14862 $as_echo_n "(cached) " >&6
14863 else
14864 ac_wine_try_cflags_saved=$CFLAGS
14865 CFLAGS="$CFLAGS -Wpointer-arith"
14866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14867 /* end confdefs.h. */
14868 int main(int argc, char **argv) { return 0; }
14869 _ACEOF
14870 if ac_fn_c_try_link "$LINENO"; then :
14871 ac_cv_cflags__Wpointer_arith=yes
14872 else
14873 ac_cv_cflags__Wpointer_arith=no
14875 rm -f core conftest.err conftest.$ac_objext \
14876 conftest$ac_exeext conftest.$ac_ext
14877 CFLAGS=$ac_wine_try_cflags_saved
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14880 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14881 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14882 saved_string_h_CFLAGS=$CFLAGS
14883 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14885 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14886 if ${ac_cv_c_string_h_warnings+:} false; then :
14887 $as_echo_n "(cached) " >&6
14888 else
14889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14890 /* end confdefs.h. */
14891 #include <string.h>
14893 main ()
14897 return 0;
14899 _ACEOF
14900 if ac_fn_c_try_compile "$LINENO"; then :
14901 ac_cv_c_string_h_warnings=no
14902 else
14903 ac_cv_c_string_h_warnings=yes
14905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14908 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14909 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14910 CFLAGS=$saved_string_h_CFLAGS
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14914 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14915 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14916 $as_echo_n "(cached) " >&6
14917 else
14918 ac_wine_try_cflags_saved=$CFLAGS
14919 CFLAGS="$CFLAGS -Wlogical-op"
14920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14921 /* end confdefs.h. */
14922 int main(int argc, char **argv) { return 0; }
14923 _ACEOF
14924 if ac_fn_c_try_link "$LINENO"; then :
14925 ac_cv_cflags__Wlogical_op=yes
14926 else
14927 ac_cv_cflags__Wlogical_op=no
14929 rm -f core conftest.err conftest.$ac_objext \
14930 conftest$ac_exeext conftest.$ac_ext
14931 CFLAGS=$ac_wine_try_cflags_saved
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14934 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14935 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14936 saved_string_h_CFLAGS=$CFLAGS
14937 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14939 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14940 if ${ac_cv_c_logicalop_noisy+:} false; then :
14941 $as_echo_n "(cached) " >&6
14942 else
14943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14944 /* end confdefs.h. */
14945 #include <string.h>
14946 char*f(const char *h,char n) {return strchr(h,n);}
14948 main ()
14952 return 0;
14954 _ACEOF
14955 if ac_fn_c_try_compile "$LINENO"; then :
14956 ac_cv_c_logicalop_noisy=no
14957 else
14958 ac_cv_c_logicalop_noisy=yes
14960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14963 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14964 CFLAGS=$saved_string_h_CFLAGS
14965 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14968 CFLAGS=$saved_CFLAGS
14970 for ac_flag in $CFLAGS; do
14971 case $ac_flag in
14972 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14973 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14974 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14975 $as_echo_n "(cached) " >&6
14976 else
14977 ac_wine_try_cflags_saved=$CFLAGS
14978 CFLAGS="$CFLAGS -gdwarf-2"
14979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14980 /* end confdefs.h. */
14981 int main(int argc, char **argv) { return 0; }
14982 _ACEOF
14983 if ac_fn_c_try_link "$LINENO"; then :
14984 ac_cv_cflags__gdwarf_2=yes
14985 else
14986 ac_cv_cflags__gdwarf_2=no
14988 rm -f core conftest.err conftest.$ac_objext \
14989 conftest$ac_exeext conftest.$ac_ext
14990 CFLAGS=$ac_wine_try_cflags_saved
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14993 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14994 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14995 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14998 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14999 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15000 $as_echo_n "(cached) " >&6
15001 else
15002 ac_wine_try_cflags_saved=$CFLAGS
15003 CFLAGS="$CFLAGS -gstrict-dwarf"
15004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15005 /* end confdefs.h. */
15006 int main(int argc, char **argv) { return 0; }
15007 _ACEOF
15008 if ac_fn_c_try_link "$LINENO"; then :
15009 ac_cv_cflags__gstrict_dwarf=yes
15010 else
15011 ac_cv_cflags__gstrict_dwarf=no
15013 rm -f core conftest.err conftest.$ac_objext \
15014 conftest$ac_exeext conftest.$ac_ext
15015 CFLAGS=$ac_wine_try_cflags_saved
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15018 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15019 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15020 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15021 fi ;;
15022 esac
15023 done
15025 case $host_cpu in
15026 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15027 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15028 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15029 $as_echo_n "(cached) " >&6
15030 else
15031 ac_wine_try_cflags_saved=$CFLAGS
15032 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15034 /* end confdefs.h. */
15035 int main(int argc, char **argv) { return 0; }
15036 _ACEOF
15037 if ac_fn_c_try_link "$LINENO"; then :
15038 ac_cv_cflags__fno_omit_frame_pointer=yes
15039 else
15040 ac_cv_cflags__fno_omit_frame_pointer=no
15042 rm -f core conftest.err conftest.$ac_objext \
15043 conftest$ac_exeext conftest.$ac_ext
15044 CFLAGS=$ac_wine_try_cflags_saved
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15047 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15048 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15049 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15050 fi ;;
15051 esac
15053 case $host in
15054 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15055 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15056 if ${ac_cv_cflags__Wno_format+:} false; then :
15057 $as_echo_n "(cached) " >&6
15058 else
15059 ac_wine_try_cflags_saved=$CFLAGS
15060 CFLAGS="$CFLAGS -Wno-format"
15061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15062 /* end confdefs.h. */
15063 int main(int argc, char **argv) { return 0; }
15064 _ACEOF
15065 if ac_fn_c_try_link "$LINENO"; then :
15066 ac_cv_cflags__Wno_format=yes
15067 else
15068 ac_cv_cflags__Wno_format=no
15070 rm -f core conftest.err conftest.$ac_objext \
15071 conftest$ac_exeext conftest.$ac_ext
15072 CFLAGS=$ac_wine_try_cflags_saved
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15075 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15076 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15077 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15078 fi ;;
15079 esac
15081 if test "x$enable_maintainer_mode" = "xyes"
15082 then
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15084 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15085 if ${ac_cv_cflags__Werror+:} false; then :
15086 $as_echo_n "(cached) " >&6
15087 else
15088 ac_wine_try_cflags_saved=$CFLAGS
15089 CFLAGS="$CFLAGS -Werror"
15090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15091 /* end confdefs.h. */
15092 int main(int argc, char **argv) { return 0; }
15093 _ACEOF
15094 if ac_fn_c_try_link "$LINENO"; then :
15095 ac_cv_cflags__Werror=yes
15096 else
15097 ac_cv_cflags__Werror=no
15099 rm -f core conftest.err conftest.$ac_objext \
15100 conftest$ac_exeext conftest.$ac_ext
15101 CFLAGS=$ac_wine_try_cflags_saved
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15104 $as_echo "$ac_cv_cflags__Werror" >&6; }
15105 if test "x$ac_cv_cflags__Werror" = xyes; then :
15106 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15110 saved_CFLAGS="$CFLAGS"
15111 CFLAGS="$CFLAGS -Werror"
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15113 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15114 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15115 $as_echo_n "(cached) " >&6
15116 else
15117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15118 /* end confdefs.h. */
15119 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15121 main ()
15125 return 0;
15127 _ACEOF
15128 if ac_fn_c_try_compile "$LINENO"; then :
15129 ac_cv_have_ms_hook_prologue="yes"
15130 else
15131 ac_cv_have_ms_hook_prologue="no"
15133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15136 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15137 CFLAGS="$saved_CFLAGS"
15138 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15139 then
15141 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15143 else
15144 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15151 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15152 if ${ac_cv_c_fortify_enabled+:} false; then :
15153 $as_echo_n "(cached) " >&6
15154 else
15155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15156 /* end confdefs.h. */
15157 #include <string.h>
15159 main ()
15161 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15162 #error Fortify enabled
15163 #endif
15165 return 0;
15167 _ACEOF
15168 if ac_fn_c_try_compile "$LINENO"; then :
15169 ac_cv_c_fortify_enabled=no
15170 else
15171 ac_cv_c_fortify_enabled=yes
15173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15176 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15177 if test "$ac_cv_c_fortify_enabled" = yes
15178 then
15179 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15184 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15185 if ${ac_cv_c_extern_prefix+:} false; then :
15186 $as_echo_n "(cached) " >&6
15187 else
15188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15189 /* end confdefs.h. */
15190 extern int ac_test;
15192 main ()
15194 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15196 return 0;
15198 _ACEOF
15199 if ac_fn_c_try_link "$LINENO"; then :
15200 ac_cv_c_extern_prefix="yes"
15201 else
15202 ac_cv_c_extern_prefix="no"
15204 rm -f core conftest.err conftest.$ac_objext \
15205 conftest$ac_exeext conftest.$ac_ext
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15208 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15210 case $host_cpu in
15211 *i[3456789]86*)
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15213 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15214 if ${ac_cv_c_stdcall_suffix+:} false; then :
15215 $as_echo_n "(cached) " >&6
15216 else
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15219 #ifndef _MSC_VER
15220 #define __stdcall __attribute__((__stdcall__))
15221 #endif
15222 int __stdcall ac_test(int i) { return i; }
15224 main ()
15226 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15228 return 0;
15230 _ACEOF
15231 if ac_fn_c_try_link "$LINENO"; then :
15232 ac_cv_c_stdcall_suffix="yes"
15233 else
15234 ac_cv_c_stdcall_suffix="no"
15236 rm -f core conftest.err conftest.$ac_objext \
15237 conftest$ac_exeext conftest.$ac_ext
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15240 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15241 *) ac_cv_c_stdcall_suffix="no" ;;
15242 esac
15245 if test "$ac_cv_c_extern_prefix" = "yes"
15246 then
15247 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15249 asm_name_prefix="_"
15250 else
15251 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15253 asm_name_prefix=""
15257 if test "$ac_cv_c_stdcall_suffix" = "yes"
15258 then
15259 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15261 else
15262 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15268 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15269 if ${ac_cv_asm_func_def+:} false; then :
15270 $as_echo_n "(cached) " >&6
15271 else
15272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15273 /* end confdefs.h. */
15276 main ()
15278 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15280 return 0;
15282 _ACEOF
15283 if ac_fn_c_try_link "$LINENO"; then :
15284 ac_cv_asm_func_def=".def"
15285 else
15286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15287 /* end confdefs.h. */
15290 main ()
15292 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15294 return 0;
15296 _ACEOF
15297 if ac_fn_c_try_link "$LINENO"; then :
15298 ac_cv_asm_func_def=".type @function"
15299 else
15300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15304 main ()
15306 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15308 return 0;
15310 _ACEOF
15311 if ac_fn_c_try_link "$LINENO"; then :
15312 ac_cv_asm_func_def=".type 2"
15313 else
15314 ac_cv_asm_func_def="unknown"
15316 rm -f core conftest.err conftest.$ac_objext \
15317 conftest$ac_exeext conftest.$ac_ext
15319 rm -f core conftest.err conftest.$ac_objext \
15320 conftest$ac_exeext conftest.$ac_ext
15322 rm -f core conftest.err conftest.$ac_objext \
15323 conftest$ac_exeext conftest.$ac_ext
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15326 $as_echo "$ac_cv_asm_func_def" >&6; }
15329 case "$ac_cv_asm_func_def" in
15330 ".def")
15331 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15333 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15334 ".type @function")
15335 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15337 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15338 ".type 2")
15339 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15341 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15343 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15345 asm_func_header="" ;;
15346 esac
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15349 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15350 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15351 $as_echo_n "(cached) " >&6
15352 else
15353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15354 /* end confdefs.h. */
15355 asm(".text\n\t.long 0");
15357 main ()
15361 return 0;
15363 _ACEOF
15364 if ac_fn_c_try_compile "$LINENO"; then :
15365 ac_cv_c_asm_outside_funcs="yes"
15366 else
15367 ac_cv_c_asm_outside_funcs="no"
15369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15372 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15375 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15376 if ${ac_cv_c_dot_previous+:} false; then :
15377 $as_echo_n "(cached) " >&6
15378 else
15379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15380 /* end confdefs.h. */
15383 main ()
15385 asm(".text\nac_test:\t.long 0\n\t.previous");
15387 return 0;
15389 _ACEOF
15390 if ac_fn_c_try_link "$LINENO"; then :
15391 ac_cv_c_dot_previous="yes"
15392 else
15393 ac_cv_c_dot_previous="no"
15395 rm -f core conftest.err conftest.$ac_objext \
15396 conftest$ac_exeext conftest.$ac_ext
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15399 $as_echo "$ac_cv_c_dot_previous" >&6; }
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15402 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15403 if ${ac_cv_c_cfi_support+:} false; then :
15404 $as_echo_n "(cached) " >&6
15405 else
15406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15407 /* end confdefs.h. */
15408 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15410 main ()
15414 return 0;
15416 _ACEOF
15417 if ac_fn_c_try_compile "$LINENO"; then :
15418 ac_cv_c_cfi_support="yes"
15419 else
15420 ac_cv_c_cfi_support="no"
15422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15425 $as_echo "$ac_cv_c_cfi_support" >&6; }
15427 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15428 asm_func_trailer=""
15429 if test "$ac_cv_c_dot_previous" = "yes"
15430 then
15431 asm_func_trailer="\\n\\t.previous"
15433 if test "$ac_cv_c_cfi_support" = "yes"
15434 then
15435 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15436 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15438 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15440 UNWINDFLAGS=-fasynchronous-unwind-tables
15442 else
15443 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15445 if test "x$enable_win64" = "xyes"
15446 then
15447 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15451 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15454 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15455 then
15456 cat >>confdefs.h <<_ACEOF
15457 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15458 _ACEOF
15460 else
15461 cat >>confdefs.h <<_ACEOF
15462 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15463 _ACEOF
15467 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15470 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15474 case $build_os in
15475 cygwin*|mingw32*) TOOLSEXT=".exe"
15477 esac
15479 case $host_os in
15480 linux*)
15481 case $host_cpu in
15482 *i[3456789]86*|x86_64*)
15483 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15484 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15486 esac
15488 esac
15491 ac_save_CFLAGS="$CFLAGS"
15492 CFLAGS="$CFLAGS $BUILTINFLAG"
15493 for ac_func in \
15494 __res_get_state \
15495 __res_getservers \
15496 _finite \
15497 _isnan \
15498 _pclose \
15499 _popen \
15500 _snprintf \
15501 _spawnvp \
15502 _strdup \
15503 _stricmp \
15504 _strnicmp \
15505 _strtoi64 \
15506 _strtoui64 \
15507 _vsnprintf \
15508 asctime_r \
15509 chsize \
15510 dlopen \
15511 epoll_create \
15512 ffs \
15513 finitef \
15514 fnmatch \
15515 fork \
15516 fpclass \
15517 fstatfs \
15518 fstatvfs \
15519 ftruncate \
15520 futimens \
15521 futimes \
15522 futimesat \
15523 getattrlist \
15524 getauxval \
15525 getifaddrs \
15526 getopt_long_only \
15527 getpwuid \
15528 gettimeofday \
15529 getuid \
15530 isnanf \
15531 kqueue \
15532 lstat \
15533 memmove \
15534 mmap \
15535 pclose \
15536 pipe2 \
15537 poll \
15538 popen \
15539 port_create \
15540 prctl \
15541 pread \
15542 proc_pidinfo \
15543 pwrite \
15544 readdir \
15545 readlink \
15546 sched_yield \
15547 select \
15548 setproctitle \
15549 setprogname \
15550 setrlimit \
15551 settimeofday \
15552 sigaltstack \
15553 sigprocmask \
15554 snprintf \
15555 statfs \
15556 statvfs \
15557 strcasecmp \
15558 strdup \
15559 strerror \
15560 strncasecmp \
15561 strtold \
15562 strtoll \
15563 strtoull \
15564 symlink \
15565 sysinfo \
15566 tcdrain \
15567 thr_kill2 \
15568 timegm \
15569 usleep \
15570 vsnprintf
15572 do :
15573 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15575 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15576 cat >>confdefs.h <<_ACEOF
15577 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15578 _ACEOF
15581 done
15583 CFLAGS="$ac_save_CFLAGS"
15585 if test "$ac_cv_func_dlopen" = no
15586 then
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15588 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15589 if ${ac_cv_lib_dl_dlopen+:} false; then :
15590 $as_echo_n "(cached) " >&6
15591 else
15592 ac_check_lib_save_LIBS=$LIBS
15593 LIBS="-ldl $LIBS"
15594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15595 /* end confdefs.h. */
15597 /* Override any GCC internal prototype to avoid an error.
15598 Use char because int might match the return type of a GCC
15599 builtin and then its argument prototype would still apply. */
15600 #ifdef __cplusplus
15601 extern "C"
15602 #endif
15603 char dlopen ();
15605 main ()
15607 return dlopen ();
15609 return 0;
15611 _ACEOF
15612 if ac_fn_c_try_link "$LINENO"; then :
15613 ac_cv_lib_dl_dlopen=yes
15614 else
15615 ac_cv_lib_dl_dlopen=no
15617 rm -f core conftest.err conftest.$ac_objext \
15618 conftest$ac_exeext conftest.$ac_ext
15619 LIBS=$ac_check_lib_save_LIBS
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15622 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15623 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15624 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15625 DL_LIBS="-ldl"
15630 ac_wine_check_funcs_save_LIBS="$LIBS"
15631 LIBS="$LIBS $DL_LIBS"
15632 for ac_func in dladdr
15633 do :
15634 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15635 if test "x$ac_cv_func_dladdr" = xyes; then :
15636 cat >>confdefs.h <<_ACEOF
15637 #define HAVE_DLADDR 1
15638 _ACEOF
15641 done
15643 LIBS="$ac_wine_check_funcs_save_LIBS"
15645 if test "$ac_cv_func_poll" = no
15646 then
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15648 $as_echo_n "checking for poll in -lpoll... " >&6; }
15649 if ${ac_cv_lib_poll_poll+:} false; then :
15650 $as_echo_n "(cached) " >&6
15651 else
15652 ac_check_lib_save_LIBS=$LIBS
15653 LIBS="-lpoll $LIBS"
15654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15655 /* end confdefs.h. */
15657 /* Override any GCC internal prototype to avoid an error.
15658 Use char because int might match the return type of a GCC
15659 builtin and then its argument prototype would still apply. */
15660 #ifdef __cplusplus
15661 extern "C"
15662 #endif
15663 char poll ();
15665 main ()
15667 return poll ();
15669 return 0;
15671 _ACEOF
15672 if ac_fn_c_try_link "$LINENO"; then :
15673 ac_cv_lib_poll_poll=yes
15674 else
15675 ac_cv_lib_poll_poll=no
15677 rm -f core conftest.err conftest.$ac_objext \
15678 conftest$ac_exeext conftest.$ac_ext
15679 LIBS=$ac_check_lib_save_LIBS
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15682 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15683 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15684 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15685 POLL_LIBS="-lpoll"
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15692 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15693 if ${ac_cv_search_gethostbyname+:} false; then :
15694 $as_echo_n "(cached) " >&6
15695 else
15696 ac_func_search_save_LIBS=$LIBS
15697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15698 /* end confdefs.h. */
15700 /* Override any GCC internal prototype to avoid an error.
15701 Use char because int might match the return type of a GCC
15702 builtin and then its argument prototype would still apply. */
15703 #ifdef __cplusplus
15704 extern "C"
15705 #endif
15706 char gethostbyname ();
15708 main ()
15710 return gethostbyname ();
15712 return 0;
15714 _ACEOF
15715 for ac_lib in '' nsl; do
15716 if test -z "$ac_lib"; then
15717 ac_res="none required"
15718 else
15719 ac_res=-l$ac_lib
15720 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15722 if ac_fn_c_try_link "$LINENO"; then :
15723 ac_cv_search_gethostbyname=$ac_res
15725 rm -f core conftest.err conftest.$ac_objext \
15726 conftest$ac_exeext
15727 if ${ac_cv_search_gethostbyname+:} false; then :
15728 break
15730 done
15731 if ${ac_cv_search_gethostbyname+:} false; then :
15733 else
15734 ac_cv_search_gethostbyname=no
15736 rm conftest.$ac_ext
15737 LIBS=$ac_func_search_save_LIBS
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15740 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15741 ac_res=$ac_cv_search_gethostbyname
15742 if test "$ac_res" != no; then :
15743 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15749 $as_echo_n "checking for library containing connect... " >&6; }
15750 if ${ac_cv_search_connect+:} false; then :
15751 $as_echo_n "(cached) " >&6
15752 else
15753 ac_func_search_save_LIBS=$LIBS
15754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15755 /* end confdefs.h. */
15757 /* Override any GCC internal prototype to avoid an error.
15758 Use char because int might match the return type of a GCC
15759 builtin and then its argument prototype would still apply. */
15760 #ifdef __cplusplus
15761 extern "C"
15762 #endif
15763 char connect ();
15765 main ()
15767 return connect ();
15769 return 0;
15771 _ACEOF
15772 for ac_lib in '' socket; do
15773 if test -z "$ac_lib"; then
15774 ac_res="none required"
15775 else
15776 ac_res=-l$ac_lib
15777 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15779 if ac_fn_c_try_link "$LINENO"; then :
15780 ac_cv_search_connect=$ac_res
15782 rm -f core conftest.err conftest.$ac_objext \
15783 conftest$ac_exeext
15784 if ${ac_cv_search_connect+:} false; then :
15785 break
15787 done
15788 if ${ac_cv_search_connect+:} false; then :
15790 else
15791 ac_cv_search_connect=no
15793 rm conftest.$ac_ext
15794 LIBS=$ac_func_search_save_LIBS
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15797 $as_echo "$ac_cv_search_connect" >&6; }
15798 ac_res=$ac_cv_search_connect
15799 if test "$ac_res" != no; then :
15800 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15806 $as_echo_n "checking for library containing inet_aton... " >&6; }
15807 if ${ac_cv_search_inet_aton+:} false; then :
15808 $as_echo_n "(cached) " >&6
15809 else
15810 ac_func_search_save_LIBS=$LIBS
15811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15812 /* end confdefs.h. */
15814 /* Override any GCC internal prototype to avoid an error.
15815 Use char because int might match the return type of a GCC
15816 builtin and then its argument prototype would still apply. */
15817 #ifdef __cplusplus
15818 extern "C"
15819 #endif
15820 char inet_aton ();
15822 main ()
15824 return inet_aton ();
15826 return 0;
15828 _ACEOF
15829 for ac_lib in '' resolv; do
15830 if test -z "$ac_lib"; then
15831 ac_res="none required"
15832 else
15833 ac_res=-l$ac_lib
15834 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15836 if ac_fn_c_try_link "$LINENO"; then :
15837 ac_cv_search_inet_aton=$ac_res
15839 rm -f core conftest.err conftest.$ac_objext \
15840 conftest$ac_exeext
15841 if ${ac_cv_search_inet_aton+:} false; then :
15842 break
15844 done
15845 if ${ac_cv_search_inet_aton+:} false; then :
15847 else
15848 ac_cv_search_inet_aton=no
15850 rm conftest.$ac_ext
15851 LIBS=$ac_func_search_save_LIBS
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15854 $as_echo "$ac_cv_search_inet_aton" >&6; }
15855 ac_res=$ac_cv_search_inet_aton
15856 if test "$ac_res" != no; then :
15857 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15862 for ac_func in \
15863 getaddrinfo \
15864 getnameinfo \
15865 getnetbyname \
15866 getprotobyname \
15867 getprotobynumber \
15868 getservbyport \
15869 inet_addr \
15870 inet_network \
15871 inet_ntop \
15872 inet_pton \
15873 sendmsg \
15874 socketpair \
15876 do :
15877 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15878 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15879 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15880 cat >>confdefs.h <<_ACEOF
15881 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15882 _ACEOF
15885 done
15888 ac_save_LIBS=$LIBS
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15890 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15891 if ${ac_cv_search_clock_gettime+:} false; then :
15892 $as_echo_n "(cached) " >&6
15893 else
15894 ac_func_search_save_LIBS=$LIBS
15895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15896 /* end confdefs.h. */
15898 /* Override any GCC internal prototype to avoid an error.
15899 Use char because int might match the return type of a GCC
15900 builtin and then its argument prototype would still apply. */
15901 #ifdef __cplusplus
15902 extern "C"
15903 #endif
15904 char clock_gettime ();
15906 main ()
15908 return clock_gettime ();
15910 return 0;
15912 _ACEOF
15913 for ac_lib in '' rt; do
15914 if test -z "$ac_lib"; then
15915 ac_res="none required"
15916 else
15917 ac_res=-l$ac_lib
15918 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15920 if ac_fn_c_try_link "$LINENO"; then :
15921 ac_cv_search_clock_gettime=$ac_res
15923 rm -f core conftest.err conftest.$ac_objext \
15924 conftest$ac_exeext
15925 if ${ac_cv_search_clock_gettime+:} false; then :
15926 break
15928 done
15929 if ${ac_cv_search_clock_gettime+:} false; then :
15931 else
15932 ac_cv_search_clock_gettime=no
15934 rm conftest.$ac_ext
15935 LIBS=$ac_func_search_save_LIBS
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15938 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15939 ac_res=$ac_cv_search_clock_gettime
15940 if test "$ac_res" != no; then :
15941 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15943 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15945 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15949 LIBS=$ac_save_LIBS
15951 LDAP_LIBS=""
15953 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15954 then
15955 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15957 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15959 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15960 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15961 $as_echo_n "(cached) " >&6
15962 else
15963 ac_check_lib_save_LIBS=$LIBS
15964 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15966 /* end confdefs.h. */
15968 /* Override any GCC internal prototype to avoid an error.
15969 Use char because int might match the return type of a GCC
15970 builtin and then its argument prototype would still apply. */
15971 #ifdef __cplusplus
15972 extern "C"
15973 #endif
15974 char ldap_initialize ();
15976 main ()
15978 return ldap_initialize ();
15980 return 0;
15982 _ACEOF
15983 if ac_fn_c_try_link "$LINENO"; then :
15984 ac_cv_lib_ldap_r_ldap_initialize=yes
15985 else
15986 ac_cv_lib_ldap_r_ldap_initialize=no
15988 rm -f core conftest.err conftest.$ac_objext \
15989 conftest$ac_exeext conftest.$ac_ext
15990 LIBS=$ac_check_lib_save_LIBS
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15993 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15994 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15996 $as_echo_n "checking for ber_init in -llber... " >&6; }
15997 if ${ac_cv_lib_lber_ber_init+:} false; then :
15998 $as_echo_n "(cached) " >&6
15999 else
16000 ac_check_lib_save_LIBS=$LIBS
16001 LIBS="-llber $PTHREAD_LIBS $LIBS"
16002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16003 /* end confdefs.h. */
16005 /* Override any GCC internal prototype to avoid an error.
16006 Use char because int might match the return type of a GCC
16007 builtin and then its argument prototype would still apply. */
16008 #ifdef __cplusplus
16009 extern "C"
16010 #endif
16011 char ber_init ();
16013 main ()
16015 return ber_init ();
16017 return 0;
16019 _ACEOF
16020 if ac_fn_c_try_link "$LINENO"; then :
16021 ac_cv_lib_lber_ber_init=yes
16022 else
16023 ac_cv_lib_lber_ber_init=no
16025 rm -f core conftest.err conftest.$ac_objext \
16026 conftest$ac_exeext conftest.$ac_ext
16027 LIBS=$ac_check_lib_save_LIBS
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16030 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16031 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16033 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16035 LDAP_LIBS="-lldap_r -llber"
16042 ac_wine_check_funcs_save_LIBS="$LIBS"
16043 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16044 for ac_func in \
16045 ldap_count_references \
16046 ldap_first_reference \
16047 ldap_next_reference \
16048 ldap_parse_reference \
16049 ldap_parse_sort_control \
16050 ldap_parse_sortresponse_control \
16051 ldap_parse_vlv_control \
16052 ldap_parse_vlvresponse_control
16053 do :
16054 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16055 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16056 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16057 cat >>confdefs.h <<_ACEOF
16058 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16059 _ACEOF
16062 done
16064 LIBS="$ac_wine_check_funcs_save_LIBS"
16066 if test "x$LDAP_LIBS" = "x"; then :
16067 case "x$with_ldap" in
16068 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16069 xno) ;;
16070 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16071 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16072 esac
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16077 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16078 if ${wine_cv_one_arg_mkdir+:} false; then :
16079 $as_echo_n "(cached) " >&6
16080 else
16081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16082 /* end confdefs.h. */
16083 #include <sys/stat.h>
16085 main ()
16087 mkdir("foo");
16089 return 0;
16091 _ACEOF
16092 if ac_fn_c_try_compile "$LINENO"; then :
16093 wine_cv_one_arg_mkdir=yes
16094 else
16095 wine_cv_one_arg_mkdir=no
16097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16100 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16101 if test "$wine_cv_one_arg_mkdir" = "yes"
16102 then
16104 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16109 $as_echo_n "checking for sched_setaffinity... " >&6; }
16110 if ${wine_cv_have_sched_setaffinity+:} false; then :
16111 $as_echo_n "(cached) " >&6
16112 else
16113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16114 /* end confdefs.h. */
16115 #define _GNU_SOURCE
16116 #include <sched.h>
16118 main ()
16120 sched_setaffinity(0, 0, 0);
16122 return 0;
16124 _ACEOF
16125 if ac_fn_c_try_link "$LINENO"; then :
16126 wine_cv_have_sched_setaffinity=yes
16127 else
16128 wine_cv_have_sched_setaffinity=no
16130 rm -f core conftest.err conftest.$ac_objext \
16131 conftest$ac_exeext conftest.$ac_ext
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16134 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16135 if test "$wine_cv_have_sched_setaffinity" = "yes"
16136 then
16138 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16143 $as_echo_n "checking for fallocate... " >&6; }
16144 if ${wine_cv_have_fallocate+:} false; then :
16145 $as_echo_n "(cached) " >&6
16146 else
16147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16148 /* end confdefs.h. */
16149 #define _GNU_SOURCE
16150 #include <fcntl.h>
16152 main ()
16154 fallocate(-1, 0, 0, 0);
16156 return 0;
16158 _ACEOF
16159 if ac_fn_c_try_link "$LINENO"; then :
16160 wine_cv_have_fallocate=yes
16161 else
16162 wine_cv_have_fallocate=no
16164 rm -f core conftest.err conftest.$ac_objext \
16165 conftest$ac_exeext conftest.$ac_ext
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16168 $as_echo "$wine_cv_have_fallocate" >&6; }
16169 if test "$wine_cv_have_fallocate" = "yes"
16170 then
16172 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16178 $as_echo_n "checking for inline... " >&6; }
16179 if ${ac_cv_c_inline+:} false; then :
16180 $as_echo_n "(cached) " >&6
16181 else
16182 ac_cv_c_inline=no
16183 for ac_kw in inline __inline__ __inline; do
16184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16185 /* end confdefs.h. */
16186 #ifndef __cplusplus
16187 typedef int foo_t;
16188 static $ac_kw foo_t static_foo () {return 0; }
16189 $ac_kw foo_t foo () {return 0; }
16190 #endif
16192 _ACEOF
16193 if ac_fn_c_try_compile "$LINENO"; then :
16194 ac_cv_c_inline=$ac_kw
16196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16197 test "$ac_cv_c_inline" != no && break
16198 done
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16202 $as_echo "$ac_cv_c_inline" >&6; }
16204 case $ac_cv_c_inline in
16205 inline | yes) ;;
16207 case $ac_cv_c_inline in
16208 no) ac_val=;;
16209 *) ac_val=$ac_cv_c_inline;;
16210 esac
16211 cat >>confdefs.h <<_ACEOF
16212 #ifndef __cplusplus
16213 #define inline $ac_val
16214 #endif
16215 _ACEOF
16217 esac
16219 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16220 if test "x$ac_cv_type_mode_t" = xyes; then :
16222 cat >>confdefs.h <<_ACEOF
16223 #define HAVE_MODE_T 1
16224 _ACEOF
16228 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16229 if test "x$ac_cv_type_off_t" = xyes; then :
16231 cat >>confdefs.h <<_ACEOF
16232 #define HAVE_OFF_T 1
16233 _ACEOF
16237 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16238 if test "x$ac_cv_type_pid_t" = xyes; then :
16240 cat >>confdefs.h <<_ACEOF
16241 #define HAVE_PID_T 1
16242 _ACEOF
16246 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16247 if test "x$ac_cv_type_size_t" = xyes; then :
16249 cat >>confdefs.h <<_ACEOF
16250 #define HAVE_SIZE_T 1
16251 _ACEOF
16255 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16256 if test "x$ac_cv_type_ssize_t" = xyes; then :
16258 cat >>confdefs.h <<_ACEOF
16259 #define HAVE_SSIZE_T 1
16260 _ACEOF
16264 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16265 if test "x$ac_cv_type_long_long" = xyes; then :
16267 cat >>confdefs.h <<_ACEOF
16268 #define HAVE_LONG_LONG 1
16269 _ACEOF
16273 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16274 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16276 cat >>confdefs.h <<_ACEOF
16277 #define HAVE_FSBLKCNT_T 1
16278 _ACEOF
16282 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16283 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16285 cat >>confdefs.h <<_ACEOF
16286 #define HAVE_FSFILCNT_T 1
16287 _ACEOF
16292 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16293 #include <signal.h>
16295 if test "x$ac_cv_type_sigset_t" = xyes; then :
16297 cat >>confdefs.h <<_ACEOF
16298 #define HAVE_SIGSET_T 1
16299 _ACEOF
16304 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16306 if test "x$ac_cv_type_request_sense" = xyes; then :
16308 cat >>confdefs.h <<_ACEOF
16309 #define HAVE_REQUEST_SENSE 1
16310 _ACEOF
16316 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16317 #ifdef HAVE_SYS_SOCKET_H
16318 #include <sys/socket.h>
16319 #endif
16320 #ifdef HAVE_SYS_SOCKETVAR_H
16321 #include <sys/socketvar.h>
16322 #endif
16323 #ifdef HAVE_NET_ROUTE_H
16324 #include <net/route.h>
16325 #endif
16326 #ifdef HAVE_NETINET_IN_H
16327 #include <netinet/in.h>
16328 #endif
16329 #ifdef HAVE_NETINET_IN_SYSTM_H
16330 #include <netinet/in_systm.h>
16331 #endif
16332 #ifdef HAVE_NETINET_IP_H
16333 #include <netinet/ip.h>
16334 #endif
16335 #ifdef HAVE_NETINET_IN_PCB_H
16336 #include <netinet/in_pcb.h>
16337 #endif
16339 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16341 cat >>confdefs.h <<_ACEOF
16342 #define HAVE_STRUCT_XINPGEN 1
16343 _ACEOF
16349 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16350 #include <link.h>
16351 #endif
16352 #ifdef HAVE_SYS_LINK_H
16353 #include <sys/link.h>
16354 #endif
16356 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16358 cat >>confdefs.h <<_ACEOF
16359 #define HAVE_STRUCT_R_DEBUG 1
16360 _ACEOF
16364 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16365 #include <link.h>
16366 #endif
16367 #ifdef HAVE_SYS_LINK_H
16368 #include <sys/link.h>
16369 #endif
16371 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16373 cat >>confdefs.h <<_ACEOF
16374 #define HAVE_STRUCT_LINK_MAP 1
16375 _ACEOF
16381 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16382 #include <linux/input.h>
16383 #endif
16385 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16387 cat >>confdefs.h <<_ACEOF
16388 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16389 _ACEOF
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16396 $as_echo_n "checking for if_nameindex... " >&6; }
16397 if ${wine_cv_have_if_nameindex+:} false; then :
16398 $as_echo_n "(cached) " >&6
16399 else
16400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16401 /* end confdefs.h. */
16402 #ifdef HAVE_SYS_TYPES_H
16403 #include <sys/types.h>
16404 #endif
16405 #ifdef HAVE_NET_IF_H
16406 # include <net/if.h>
16407 #endif
16409 main ()
16411 struct if_nameindex *p = if_nameindex(); return p->if_index;
16413 return 0;
16415 _ACEOF
16416 if ac_fn_c_try_link "$LINENO"; then :
16417 wine_cv_have_if_nameindex=yes
16418 else
16419 wine_cv_have_if_nameindex=no
16421 rm -f core conftest.err conftest.$ac_objext \
16422 conftest$ac_exeext conftest.$ac_ext
16424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16425 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16426 if test "$wine_cv_have_if_nameindex" = "yes"
16427 then
16429 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16434 $as_echo_n "checking for sigaddset... " >&6; }
16435 if ${wine_cv_have_sigaddset+:} false; then :
16436 $as_echo_n "(cached) " >&6
16437 else
16438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16439 /* end confdefs.h. */
16440 #include <signal.h>
16442 main ()
16444 sigset_t set; sigaddset(&set,SIGTERM);
16446 return 0;
16448 _ACEOF
16449 if ac_fn_c_try_link "$LINENO"; then :
16450 wine_cv_have_sigaddset=yes
16451 else
16452 wine_cv_have_sigaddset=no
16454 rm -f core conftest.err conftest.$ac_objext \
16455 conftest$ac_exeext conftest.$ac_ext
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16458 $as_echo "$wine_cv_have_sigaddset" >&6; }
16459 if test "$wine_cv_have_sigaddset" = "yes"
16460 then
16462 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16468 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16469 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16470 $as_echo_n "(cached) " >&6
16471 else
16472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16473 /* end confdefs.h. */
16474 #include <netdb.h>
16476 main ()
16479 char *name=0;
16480 struct hostent he;
16481 struct hostent *result;
16482 char *buf=0;
16483 int bufsize=0;
16484 int errnr;
16485 char *addr=0;
16486 int addrlen=0;
16487 int addrtype=0;
16488 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16489 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16492 return 0;
16494 _ACEOF
16495 if ac_fn_c_try_link "$LINENO"; then :
16496 wine_cv_linux_gethostbyname_r_6=yes
16497 else
16498 wine_cv_linux_gethostbyname_r_6=no
16501 rm -f core conftest.err conftest.$ac_objext \
16502 conftest$ac_exeext conftest.$ac_ext
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16506 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16507 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16508 then
16510 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16514 if test "$ac_cv_header_linux_joystick_h" = "yes"
16515 then
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16517 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16518 if ${wine_cv_linux_joystick_22_api+:} false; then :
16519 $as_echo_n "(cached) " >&6
16520 else
16521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16522 /* end confdefs.h. */
16524 #include <sys/ioctl.h>
16525 #include <sys/types.h>
16526 #include <linux/joystick.h>
16528 struct js_event blub;
16529 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16530 #error "no 2.2 header"
16531 #endif
16534 main ()
16536 /*empty*/
16538 return 0;
16540 _ACEOF
16541 if ac_fn_c_try_compile "$LINENO"; then :
16542 wine_cv_linux_joystick_22_api=yes
16543 else
16544 wine_cv_linux_joystick_22_api=no
16546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16550 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16551 if test "$wine_cv_linux_joystick_22_api" = "yes"
16552 then
16554 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16560 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16561 #ifdef HAVE_SYS_PARAM_H
16562 # include <sys/param.h>
16563 #endif
16564 #ifdef HAVE_SYS_MOUNT_H
16565 # include <sys/mount.h>
16566 #endif
16567 #ifdef HAVE_SYS_VFS_H
16568 # include <sys/vfs.h>
16569 #endif
16570 #ifdef HAVE_SYS_STATFS_H
16571 # include <sys/statfs.h>
16572 #endif
16574 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16576 cat >>confdefs.h <<_ACEOF
16577 #define HAVE_STRUCT_STATFS_F_BFREE 1
16578 _ACEOF
16582 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16583 #ifdef HAVE_SYS_PARAM_H
16584 # include <sys/param.h>
16585 #endif
16586 #ifdef HAVE_SYS_MOUNT_H
16587 # include <sys/mount.h>
16588 #endif
16589 #ifdef HAVE_SYS_VFS_H
16590 # include <sys/vfs.h>
16591 #endif
16592 #ifdef HAVE_SYS_STATFS_H
16593 # include <sys/statfs.h>
16594 #endif
16596 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16598 cat >>confdefs.h <<_ACEOF
16599 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16600 _ACEOF
16604 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16605 #ifdef HAVE_SYS_PARAM_H
16606 # include <sys/param.h>
16607 #endif
16608 #ifdef HAVE_SYS_MOUNT_H
16609 # include <sys/mount.h>
16610 #endif
16611 #ifdef HAVE_SYS_VFS_H
16612 # include <sys/vfs.h>
16613 #endif
16614 #ifdef HAVE_SYS_STATFS_H
16615 # include <sys/statfs.h>
16616 #endif
16618 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16620 cat >>confdefs.h <<_ACEOF
16621 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16622 _ACEOF
16626 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16627 #ifdef HAVE_SYS_PARAM_H
16628 # include <sys/param.h>
16629 #endif
16630 #ifdef HAVE_SYS_MOUNT_H
16631 # include <sys/mount.h>
16632 #endif
16633 #ifdef HAVE_SYS_VFS_H
16634 # include <sys/vfs.h>
16635 #endif
16636 #ifdef HAVE_SYS_STATFS_H
16637 # include <sys/statfs.h>
16638 #endif
16640 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16642 cat >>confdefs.h <<_ACEOF
16643 #define HAVE_STRUCT_STATFS_F_FFREE 1
16644 _ACEOF
16648 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16649 #ifdef HAVE_SYS_PARAM_H
16650 # include <sys/param.h>
16651 #endif
16652 #ifdef HAVE_SYS_MOUNT_H
16653 # include <sys/mount.h>
16654 #endif
16655 #ifdef HAVE_SYS_VFS_H
16656 # include <sys/vfs.h>
16657 #endif
16658 #ifdef HAVE_SYS_STATFS_H
16659 # include <sys/statfs.h>
16660 #endif
16662 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16664 cat >>confdefs.h <<_ACEOF
16665 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16666 _ACEOF
16670 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16671 #ifdef HAVE_SYS_PARAM_H
16672 # include <sys/param.h>
16673 #endif
16674 #ifdef HAVE_SYS_MOUNT_H
16675 # include <sys/mount.h>
16676 #endif
16677 #ifdef HAVE_SYS_VFS_H
16678 # include <sys/vfs.h>
16679 #endif
16680 #ifdef HAVE_SYS_STATFS_H
16681 # include <sys/statfs.h>
16682 #endif
16684 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16686 cat >>confdefs.h <<_ACEOF
16687 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16688 _ACEOF
16694 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16695 #include <sys/statvfs.h>
16696 #endif
16698 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16700 cat >>confdefs.h <<_ACEOF
16701 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16702 _ACEOF
16708 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16709 #include <dirent.h>
16710 #endif
16712 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16714 cat >>confdefs.h <<_ACEOF
16715 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16716 _ACEOF
16722 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16723 #ifdef HAVE_SYS_SOCKET_H
16724 # include <sys/socket.h>
16725 #endif
16726 #ifdef HAVE_SYS_UN_H
16727 # include <sys/un.h>
16728 #endif
16730 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16732 cat >>confdefs.h <<_ACEOF
16733 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16734 _ACEOF
16738 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16739 #ifdef HAVE_SYS_SOCKET_H
16740 # include <sys/socket.h>
16741 #endif
16742 #ifdef HAVE_SYS_UN_H
16743 # include <sys/un.h>
16744 #endif
16746 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16748 cat >>confdefs.h <<_ACEOF
16749 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16750 _ACEOF
16754 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16755 #ifdef HAVE_SYS_SOCKET_H
16756 # include <sys/socket.h>
16757 #endif
16758 #ifdef HAVE_SYS_UN_H
16759 # include <sys/un.h>
16760 #endif
16762 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16764 cat >>confdefs.h <<_ACEOF
16765 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16766 _ACEOF
16772 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16773 #ifdef HAVE_SCSI_SG_H
16774 #include <scsi/sg.h>
16775 #endif
16777 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16779 cat >>confdefs.h <<_ACEOF
16780 #define HAVE_SCSIREQ_T_CMD 1
16781 _ACEOF
16785 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>
16786 #ifdef HAVE_SCSI_SG_H
16787 #include <scsi/sg.h>
16788 #endif
16790 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16792 cat >>confdefs.h <<_ACEOF
16793 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16794 _ACEOF
16800 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16802 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16804 cat >>confdefs.h <<_ACEOF
16805 #define HAVE_SIGINFO_T_SI_FD 1
16806 _ACEOF
16812 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16813 #ifdef HAVE_SYS_MTIO_H
16814 #include <sys/mtio.h>
16815 #endif
16817 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16819 cat >>confdefs.h <<_ACEOF
16820 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16821 _ACEOF
16825 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16826 #ifdef HAVE_SYS_MTIO_H
16827 #include <sys/mtio.h>
16828 #endif
16830 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16832 cat >>confdefs.h <<_ACEOF
16833 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16834 _ACEOF
16838 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16839 #ifdef HAVE_SYS_MTIO_H
16840 #include <sys/mtio.h>
16841 #endif
16843 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16845 cat >>confdefs.h <<_ACEOF
16846 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16847 _ACEOF
16853 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16854 #include <getopt.h>
16855 #endif
16857 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16859 cat >>confdefs.h <<_ACEOF
16860 #define HAVE_STRUCT_OPTION_NAME 1
16861 _ACEOF
16867 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16868 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16870 cat >>confdefs.h <<_ACEOF
16871 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16872 _ACEOF
16876 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16877 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16879 cat >>confdefs.h <<_ACEOF
16880 #define HAVE_STRUCT_STAT_ST_MTIM 1
16881 _ACEOF
16885 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16886 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16888 cat >>confdefs.h <<_ACEOF
16889 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16890 _ACEOF
16894 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16895 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16897 cat >>confdefs.h <<_ACEOF
16898 #define HAVE_STRUCT_STAT_ST_CTIM 1
16899 _ACEOF
16903 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16904 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16906 cat >>confdefs.h <<_ACEOF
16907 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16908 _ACEOF
16912 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16913 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16915 cat >>confdefs.h <<_ACEOF
16916 #define HAVE_STRUCT_STAT_ST_ATIM 1
16917 _ACEOF
16921 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16922 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16924 cat >>confdefs.h <<_ACEOF
16925 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16926 _ACEOF
16930 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16931 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16933 cat >>confdefs.h <<_ACEOF
16934 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16935 _ACEOF
16939 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16940 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16942 cat >>confdefs.h <<_ACEOF
16943 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16944 _ACEOF
16948 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16949 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16951 cat >>confdefs.h <<_ACEOF
16952 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16953 _ACEOF
16957 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16958 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16960 cat >>confdefs.h <<_ACEOF
16961 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16962 _ACEOF
16966 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16967 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16969 cat >>confdefs.h <<_ACEOF
16970 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16971 _ACEOF
16977 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
16978 #include <sys/types.h>
16979 #endif
16980 #ifdef HAVE_NETINET_IN_H
16981 #include <netinet/in.h>
16982 #endif
16984 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16986 cat >>confdefs.h <<_ACEOF
16987 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16988 _ACEOF
16994 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16995 #include <sys/types.h>
16996 #endif
16997 #ifdef HAVE_NETINET_IN_H
16998 #include <netinet/in.h>
16999 #endif
17000 #ifdef HAVE_RESOLV_H
17001 #include <resolv.h>
17002 #endif
17004 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17006 cat >>confdefs.h <<_ACEOF
17007 #define HAVE_STRUCT___RES_STATE 1
17008 _ACEOF
17014 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
17015 #include <resolv.h>
17016 #endif
17018 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17020 cat >>confdefs.h <<_ACEOF
17021 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17022 _ACEOF
17028 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17029 #include <sys/types.h>
17030 #endif
17031 #ifdef HAVE_NETINET_IN_H
17032 # include <netinet/in.h>
17033 #endif
17034 #ifdef HAVE_ARPA_NAMESER_H
17035 # include <arpa/nameser.h>
17036 #endif
17038 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17040 cat >>confdefs.h <<_ACEOF
17041 #define HAVE_NS_MSG__MSG_PTR 1
17042 _ACEOF
17048 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17049 #include <sys/types.h>
17050 #endif
17051 #ifdef HAVE_NETINET_IN_H
17052 #include <netinet/in.h>
17053 #endif
17054 #ifdef HAVE_NETINET_IP_H
17055 #include <netinet/ip.h>
17056 #endif
17057 #ifdef HAVE_NETINET_IP_ICMP_H
17058 #include <netinet/ip_icmp.h>
17059 #endif
17060 #ifdef HAVE_NETINET_ICMP_VAR_H
17061 #include <netinet/icmp_var.h>
17062 #endif
17064 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17066 cat >>confdefs.h <<_ACEOF
17067 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17068 _ACEOF
17074 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17075 #include <sys/types.h>
17076 #endif
17077 #ifdef HAVE_ALIAS_H
17078 #include <alias.h>
17079 #endif
17080 #ifdef HAVE_SYS_SOCKET_H
17081 #include <sys/socket.h>
17082 #endif
17083 #ifdef HAVE_SYS_SOCKETVAR_H
17084 #include <sys/socketvar.h>
17085 #endif
17086 #ifdef HAVE_SYS_TIMEOUT_H
17087 #include <sys/timeout.h>
17088 #endif
17089 #ifdef HAVE_NETINET_IN_H
17090 #include <netinet/in.h>
17091 #endif
17092 #ifdef HAVE_NETINET_IN_SYSTM_H
17093 #include <netinet/in_systm.h>
17094 #endif
17095 #ifdef HAVE_NETINET_IP_H
17096 #include <netinet/ip.h>
17097 #endif
17098 #ifdef HAVE_NETINET_IP_VAR_H
17099 #include <netinet/ip_var.h>
17100 #endif
17101 #ifdef HAVE_NETINET_IP_ICMP_H
17102 #include <netinet/ip_icmp.h>
17103 #endif
17104 #ifdef HAVE_NETINET_ICMP_VAR_H
17105 #include <netinet/icmp_var.h>
17106 #endif
17108 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17110 cat >>confdefs.h <<_ACEOF
17111 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17112 _ACEOF
17118 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17119 #include <sys/types.h>
17120 #endif
17121 #ifdef HAVE_SYS_SOCKETVAR_H
17122 #include <sys/socketvar.h>
17123 #endif
17124 #ifdef HAVE_NETINET_IN_H
17125 #include <netinet/in.h>
17126 #endif
17127 #ifdef HAVE_NETINET_IP_VAR_H
17128 #include <netinet/ip_var.h>
17129 #endif
17131 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17133 cat >>confdefs.h <<_ACEOF
17134 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17135 _ACEOF
17141 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
17142 #include <netinet/ip_var.h>
17143 #endif
17145 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17147 cat >>confdefs.h <<_ACEOF
17148 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17149 _ACEOF
17155 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17156 #include <sys/types.h>
17157 #endif
17158 #ifdef HAVE_SYS_SOCKETVAR_H
17159 #include <sys/socketvar.h>
17160 #endif
17161 #ifdef HAVE_NETINET_IN_H
17162 #include <netinet/in.h>
17163 #endif
17164 #ifdef HAVE_NETINET_TCP_H
17165 #include <netinet/tcp.h>
17166 #endif
17167 #ifdef HAVE_NETINET_TCP_VAR_H
17168 #include <netinet/tcp_var.h>
17169 #endif
17171 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17173 cat >>confdefs.h <<_ACEOF
17174 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17175 _ACEOF
17181 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
17182 #include <netinet/tcp_var.h>
17183 #endif
17185 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17187 cat >>confdefs.h <<_ACEOF
17188 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17189 _ACEOF
17195 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17196 #include <sys/types.h>
17197 #endif
17198 #ifdef HAVE_NETINET_IN_H
17199 #include <netinet/in.h>
17200 #endif
17201 #ifdef HAVE_NETINET_IP_VAR_H
17202 #include <netinet/ip_var.h>
17203 #endif
17204 #ifdef HAVE_NETINET_UDP_H
17205 #include <netinet/udp.h>
17206 #endif
17207 #ifdef HAVE_NETINET_UDP_VAR_H
17208 #include <netinet/udp_var.h>
17209 #endif
17211 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17213 cat >>confdefs.h <<_ACEOF
17214 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17215 _ACEOF
17221 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17222 #include <sys/types.h>
17223 #endif
17224 #ifdef HAVE_NET_IF_H
17225 # include <net/if.h>
17226 #endif
17228 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17230 cat >>confdefs.h <<_ACEOF
17231 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17232 _ACEOF
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17239 $as_echo_n "checking for timezone variable... " >&6; }
17240 if ${ac_cv_have_timezone+:} false; then :
17241 $as_echo_n "(cached) " >&6
17242 else
17243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17244 /* end confdefs.h. */
17245 #include <time.h>
17247 main ()
17249 timezone = 1
17251 return 0;
17253 _ACEOF
17254 if ac_fn_c_try_link "$LINENO"; then :
17255 ac_cv_have_timezone="yes"
17256 else
17257 ac_cv_have_timezone="no"
17259 rm -f core conftest.err conftest.$ac_objext \
17260 conftest$ac_exeext conftest.$ac_ext
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17263 $as_echo "$ac_cv_have_timezone" >&6; }
17264 if test "$ac_cv_have_timezone" = "yes"
17265 then
17267 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17271 $as_echo_n "checking for daylight variable... " >&6; }
17272 if ${ac_cv_have_daylight+:} false; then :
17273 $as_echo_n "(cached) " >&6
17274 else
17275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17276 /* end confdefs.h. */
17277 #include <time.h>
17279 main ()
17281 daylight = 1
17283 return 0;
17285 _ACEOF
17286 if ac_fn_c_try_link "$LINENO"; then :
17287 ac_cv_have_daylight="yes"
17288 else
17289 ac_cv_have_daylight="no"
17291 rm -f core conftest.err conftest.$ac_objext \
17292 conftest$ac_exeext conftest.$ac_ext
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17295 $as_echo "$ac_cv_have_daylight" >&6; }
17296 if test "$ac_cv_have_daylight" = "yes"
17297 then
17299 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17303 ac_save_LIBS="$LIBS"
17304 LIBS="$LIBS -lm"
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17306 $as_echo_n "checking for isfinite... " >&6; }
17307 if ${ac_cv_have_isfinite+:} false; then :
17308 $as_echo_n "(cached) " >&6
17309 else
17310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17311 /* end confdefs.h. */
17312 #define _GNU_SOURCE
17313 #include <math.h>
17315 main ()
17317 float f = 0.0; return isfinite(f)
17319 return 0;
17321 _ACEOF
17322 if ac_fn_c_try_link "$LINENO"; then :
17323 ac_cv_have_isfinite="yes"
17324 else
17325 ac_cv_have_isfinite="no"
17327 rm -f core conftest.err conftest.$ac_objext \
17328 conftest$ac_exeext conftest.$ac_ext
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17331 $as_echo "$ac_cv_have_isfinite" >&6; }
17332 if test "$ac_cv_have_isfinite" = "yes"
17333 then
17335 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17340 $as_echo_n "checking for isinf... " >&6; }
17341 if ${ac_cv_have_isinf+:} false; then :
17342 $as_echo_n "(cached) " >&6
17343 else
17344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17345 /* end confdefs.h. */
17346 #include <math.h>
17348 main ()
17350 float f = 0.0; return isinf(f)
17352 return 0;
17354 _ACEOF
17355 if ac_fn_c_try_link "$LINENO"; then :
17356 ac_cv_have_isinf="yes"
17357 else
17358 ac_cv_have_isinf="no"
17360 rm -f core conftest.err conftest.$ac_objext \
17361 conftest$ac_exeext conftest.$ac_ext
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17364 $as_echo "$ac_cv_have_isinf" >&6; }
17365 if test "$ac_cv_have_isinf" = "yes"
17366 then
17368 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17373 $as_echo_n "checking for isnan... " >&6; }
17374 if ${ac_cv_have_isnan+:} false; then :
17375 $as_echo_n "(cached) " >&6
17376 else
17377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17378 /* end confdefs.h. */
17379 #include <math.h>
17381 main ()
17383 float f = 0.0; return isnan(f)
17385 return 0;
17387 _ACEOF
17388 if ac_fn_c_try_link "$LINENO"; then :
17389 ac_cv_have_isnan="yes"
17390 else
17391 ac_cv_have_isnan="no"
17393 rm -f core conftest.err conftest.$ac_objext \
17394 conftest$ac_exeext conftest.$ac_ext
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17397 $as_echo "$ac_cv_have_isnan" >&6; }
17398 if test "$ac_cv_have_isnan" = "yes"
17399 then
17401 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17405 for ac_func in \
17406 asinh \
17407 asinhf \
17408 cbrt \
17409 cbrtf \
17410 erf \
17411 erff \
17412 exp2 \
17413 exp2f \
17414 lgamma \
17415 lgammaf \
17416 llrint \
17417 llrintf \
17418 llround \
17419 llroundf \
17420 log2 \
17421 log2f \
17422 lrint \
17423 lrintf \
17424 lround \
17425 lroundf \
17426 nearbyint \
17427 nearbyintf \
17428 powl \
17429 remainder \
17430 remainderf \
17431 rint \
17432 rintf \
17433 round \
17434 roundf \
17435 trunc \
17436 truncf
17438 do :
17439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17441 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17442 cat >>confdefs.h <<_ACEOF
17443 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17444 _ACEOF
17447 done
17449 LIBS="$ac_save_LIBS"
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17452 $as_echo_n "checking for __builtin_clz... " >&6; }
17453 if ${ac_cv_have___builtin_clz+:} false; then :
17454 $as_echo_n "(cached) " >&6
17455 else
17456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17457 /* end confdefs.h. */
17460 main ()
17462 return __builtin_clz(1)
17464 return 0;
17466 _ACEOF
17467 if ac_fn_c_try_link "$LINENO"; then :
17468 ac_cv_have___builtin_clz="yes"
17469 else
17470 ac_cv_have___builtin_clz="no"
17472 rm -f core conftest.err conftest.$ac_objext \
17473 conftest$ac_exeext conftest.$ac_ext
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17476 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17477 if test "$ac_cv_have___builtin_clz" = "yes"
17478 then
17480 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17485 $as_echo_n "checking for __builtin_popcount... " >&6; }
17486 if ${ac_cv_have___builtin_popcount+:} false; then :
17487 $as_echo_n "(cached) " >&6
17488 else
17489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17490 /* end confdefs.h. */
17493 main ()
17495 return __builtin_popcount(1)
17497 return 0;
17499 _ACEOF
17500 if ac_fn_c_try_link "$LINENO"; then :
17501 ac_cv_have___builtin_popcount="yes"
17502 else
17503 ac_cv_have___builtin_popcount="no"
17505 rm -f core conftest.err conftest.$ac_objext \
17506 conftest$ac_exeext conftest.$ac_ext
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17509 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17510 if test "$ac_cv_have___builtin_popcount" = "yes"
17511 then
17513 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17518 case $host_cpu in
17519 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17520 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17521 if ${ac_cv_cpp_def___i386__+:} false; then :
17522 $as_echo_n "(cached) " >&6
17523 else
17524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17525 /* end confdefs.h. */
17526 #ifndef __i386__
17528 #endif
17529 _ACEOF
17530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17531 $EGREP "yes" >/dev/null 2>&1; then :
17532 ac_cv_cpp_def___i386__=yes
17533 else
17534 ac_cv_cpp_def___i386__=no
17536 rm -f conftest*
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17540 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17541 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17542 CFLAGS="$CFLAGS -D__i386__"
17543 LINTFLAGS="$LINTFLAGS -D__i386__"
17544 fi ;;
17545 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17546 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17547 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17548 $as_echo_n "(cached) " >&6
17549 else
17550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17551 /* end confdefs.h. */
17552 #ifndef __x86_64__
17554 #endif
17555 _ACEOF
17556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17557 $EGREP "yes" >/dev/null 2>&1; then :
17558 ac_cv_cpp_def___x86_64__=yes
17559 else
17560 ac_cv_cpp_def___x86_64__=no
17562 rm -f conftest*
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17566 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17567 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17568 CFLAGS="$CFLAGS -D__x86_64__"
17569 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17570 fi ;;
17571 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17572 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17573 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17574 $as_echo_n "(cached) " >&6
17575 else
17576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17577 /* end confdefs.h. */
17578 #ifndef __sparc64__
17580 #endif
17581 _ACEOF
17582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17583 $EGREP "yes" >/dev/null 2>&1; then :
17584 ac_cv_cpp_def___sparc64__=yes
17585 else
17586 ac_cv_cpp_def___sparc64__=no
17588 rm -f conftest*
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17592 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17593 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17594 CFLAGS="$CFLAGS -D__sparc64__"
17595 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17596 fi ;;
17597 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17598 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17599 if ${ac_cv_cpp_def___sparc__+:} false; then :
17600 $as_echo_n "(cached) " >&6
17601 else
17602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17603 /* end confdefs.h. */
17604 #ifndef __sparc__
17606 #endif
17607 _ACEOF
17608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17609 $EGREP "yes" >/dev/null 2>&1; then :
17610 ac_cv_cpp_def___sparc__=yes
17611 else
17612 ac_cv_cpp_def___sparc__=no
17614 rm -f conftest*
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17618 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17619 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17620 CFLAGS="$CFLAGS -D__sparc__"
17621 LINTFLAGS="$LINTFLAGS -D__sparc__"
17622 fi ;;
17623 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17624 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17625 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17626 $as_echo_n "(cached) " >&6
17627 else
17628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17629 /* end confdefs.h. */
17630 #ifndef __powerpc64__
17632 #endif
17633 _ACEOF
17634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17635 $EGREP "yes" >/dev/null 2>&1; then :
17636 ac_cv_cpp_def___powerpc64__=yes
17637 else
17638 ac_cv_cpp_def___powerpc64__=no
17640 rm -f conftest*
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17644 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17645 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17646 CFLAGS="$CFLAGS -D__powerpc64__"
17647 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17648 fi ;;
17649 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17650 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17651 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17652 $as_echo_n "(cached) " >&6
17653 else
17654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17655 /* end confdefs.h. */
17656 #ifndef __powerpc__
17658 #endif
17659 _ACEOF
17660 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17661 $EGREP "yes" >/dev/null 2>&1; then :
17662 ac_cv_cpp_def___powerpc__=yes
17663 else
17664 ac_cv_cpp_def___powerpc__=no
17666 rm -f conftest*
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17670 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17671 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17672 CFLAGS="$CFLAGS -D__powerpc__"
17673 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17674 fi ;;
17675 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17676 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17677 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17678 $as_echo_n "(cached) " >&6
17679 else
17680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17681 /* end confdefs.h. */
17682 #ifndef __aarch64__
17684 #endif
17685 _ACEOF
17686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17687 $EGREP "yes" >/dev/null 2>&1; then :
17688 ac_cv_cpp_def___aarch64__=yes
17689 else
17690 ac_cv_cpp_def___aarch64__=no
17692 rm -f conftest*
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17696 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17697 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17698 CFLAGS="$CFLAGS -D__aarch64__"
17699 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17700 fi ;;
17701 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17702 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17703 if ${ac_cv_cpp_def___arm__+:} false; then :
17704 $as_echo_n "(cached) " >&6
17705 else
17706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17707 /* end confdefs.h. */
17708 #ifndef __arm__
17710 #endif
17711 _ACEOF
17712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17713 $EGREP "yes" >/dev/null 2>&1; then :
17714 ac_cv_cpp_def___arm__=yes
17715 else
17716 ac_cv_cpp_def___arm__=no
17718 rm -f conftest*
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17722 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17723 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17724 CFLAGS="$CFLAGS -D__arm__"
17725 LINTFLAGS="$LINTFLAGS -D__arm__"
17726 fi ;;
17727 esac
17729 case $host_vendor in
17730 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17731 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17732 if ${ac_cv_cpp_def___sun__+:} false; then :
17733 $as_echo_n "(cached) " >&6
17734 else
17735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17736 /* end confdefs.h. */
17737 #ifndef __sun__
17739 #endif
17740 _ACEOF
17741 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17742 $EGREP "yes" >/dev/null 2>&1; then :
17743 ac_cv_cpp_def___sun__=yes
17744 else
17745 ac_cv_cpp_def___sun__=no
17747 rm -f conftest*
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17751 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17752 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17753 CFLAGS="$CFLAGS -D__sun__"
17754 LINTFLAGS="$LINTFLAGS -D__sun__"
17755 fi ;;
17756 esac
17762 ac_config_commands="$ac_config_commands include/stamp-h"
17764 $as_echo_n "creating Makefile rules..." >&6
17766 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17767 SOCKET_LIBS = $SOCKET_LIBS
17768 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17769 IOKIT_LIBS = $IOKIT_LIBS
17770 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17771 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17772 CORESERVICES_LIBS = $CORESERVICES_LIBS
17773 APPKIT_LIBS = $APPKIT_LIBS
17774 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17775 SECURITY_LIBS = $SECURITY_LIBS
17776 COREAUDIO_LIBS = $COREAUDIO_LIBS
17777 OPENAL_LIBS = $OPENAL_LIBS
17778 OPENCL_LIBS = $OPENCL_LIBS
17779 QUICKTIME_LIBS = $QUICKTIME_LIBS
17780 CARBON_LIBS = $CARBON_LIBS
17781 PTHREAD_LIBS = $PTHREAD_LIBS
17782 X_CFLAGS = $X_CFLAGS
17783 X_PRE_LIBS = $X_PRE_LIBS
17784 X_LIBS = $X_LIBS
17785 X_EXTRA_LIBS = $X_EXTRA_LIBS
17786 PCAP_LIBS = $PCAP_LIBS
17787 XML2_CFLAGS = $XML2_CFLAGS
17788 XML2_LIBS = $XML2_LIBS
17789 XSLT_CFLAGS = $XSLT_CFLAGS
17790 XSLT_LIBS = $XSLT_LIBS
17791 DBUS_CFLAGS = $DBUS_CFLAGS
17792 DBUS_LIBS = $DBUS_LIBS
17793 HAL_CFLAGS = $HAL_CFLAGS
17794 HAL_LIBS = $HAL_LIBS
17795 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17796 GNUTLS_LIBS = $GNUTLS_LIBS
17797 SANE_CFLAGS = $SANE_CFLAGS
17798 SANE_LIBS = $SANE_LIBS
17799 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17800 GPHOTO2_LIBS = $GPHOTO2_LIBS
17801 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17802 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17803 RESOLV_LIBS = $RESOLV_LIBS
17804 LCMS2_CFLAGS = $LCMS2_CFLAGS
17805 LCMS2_LIBS = $LCMS2_LIBS
17806 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17807 FREETYPE_LIBS = $FREETYPE_LIBS
17808 Z_LIBS = $Z_LIBS
17809 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17810 PULSE_CFLAGS = $PULSE_CFLAGS
17811 PULSE_LIBS = $PULSE_LIBS
17812 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17813 GSTREAMER_LIBS = $GSTREAMER_LIBS
17814 ALSA_LIBS = $ALSA_LIBS
17815 OSS4_CFLAGS = $OSS4_CFLAGS
17816 UDEV_CFLAGS = $UDEV_CFLAGS
17817 UDEV_LIBS = $UDEV_LIBS
17818 CAPI20_CFLAGS = $CAPI20_CFLAGS
17819 CAPI20_LIBS = $CAPI20_LIBS
17820 CUPS_CFLAGS = $CUPS_CFLAGS
17821 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17822 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17823 JPEG_CFLAGS = $JPEG_CFLAGS
17824 JPEG_LIBS = $JPEG_LIBS
17825 PNG_CFLAGS = $PNG_CFLAGS
17826 PNG_LIBS = $PNG_LIBS
17827 TIFF_CFLAGS = $TIFF_CFLAGS
17828 TIFF_LIBS = $TIFF_LIBS
17829 MPG123_CFLAGS = $MPG123_CFLAGS
17830 MPG123_LIBS = $MPG123_LIBS
17831 KSTAT_LIBS = $KSTAT_LIBS
17832 PROCSTAT_LIBS = $PROCSTAT_LIBS
17833 NETAPI_CFLAGS = $NETAPI_CFLAGS
17834 NETAPI_LIBS = $NETAPI_LIBS
17835 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17836 DL_LIBS = $DL_LIBS
17837 POLL_LIBS = $POLL_LIBS
17838 RT_LIBS = $RT_LIBS
17839 LDAP_LIBS = $LDAP_LIBS
17844 wine_fn_append_rule "
17845 # Rules automatically generated by configure
17847 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17849 .INIT: Makefile
17850 .MAKEFILEDEPS:
17851 all: Makefile
17852 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17853 @./config.status Make.tmp Makefile
17854 depend: \$(MAKEDEP) dummy
17855 \$(MAKEDEP)"
17857 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17858 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17860 if test "x$enable_fonts" != xno; then
17861 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17862 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17863 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17864 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17865 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17866 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17868 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17869 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17870 ac_config_links="$ac_config_links wine:tools/winewrapper"
17871 wine_fn_config_symlink wine
17872 if test "x$enable_win64" != xno; then
17873 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17874 wine_fn_config_symlink wine64
17877 wine_fn_config_dll acledit enable_acledit
17878 wine_fn_config_dll aclui enable_aclui implib
17879 wine_fn_config_dll activeds enable_activeds implib
17880 wine_fn_config_dll actxprxy enable_actxprxy clean
17881 wine_fn_config_lib adsiid
17882 wine_fn_config_dll adsldpc enable_adsldpc
17883 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17884 wine_fn_config_test dlls/advapi32/tests advapi32_test
17885 wine_fn_config_dll advpack enable_advpack implib
17886 wine_fn_config_test dlls/advpack/tests advpack_test
17887 wine_fn_config_dll amstream enable_amstream clean
17888 wine_fn_config_test dlls/amstream/tests amstream_test
17889 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17890 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17891 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17892 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17893 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17894 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17895 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17896 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17897 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17898 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17899 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17900 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17901 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17902 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17903 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17904 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17905 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17906 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17907 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17908 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17909 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17910 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17911 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17912 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17913 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17914 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17915 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17916 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17917 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17918 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17919 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17920 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17921 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17922 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17923 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17924 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17925 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17926 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17927 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17928 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17929 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17930 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17931 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17932 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17933 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17934 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17935 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17936 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17937 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17938 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17939 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17940 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17941 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17942 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17943 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17944 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17945 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17946 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17947 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17948 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17949 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17950 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17951 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17952 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17953 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17954 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17955 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17956 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17957 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17958 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17959 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17960 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17961 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17962 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17963 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17964 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17965 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17966 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17967 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17968 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17969 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17970 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17971 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17972 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17973 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17974 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17975 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17976 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17977 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17978 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17979 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17980 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17981 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17982 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17983 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17984 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17985 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17986 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17987 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17988 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17989 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17990 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17991 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17992 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17993 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17994 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17995 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17996 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17997 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17998 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17999 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18000 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18001 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18002 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18003 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18004 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18005 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18006 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18007 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18008 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18009 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18010 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18011 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18012 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18013 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18014 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18015 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18016 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18017 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18018 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18019 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18020 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18021 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18022 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18023 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18024 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18025 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18026 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18027 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18028 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18029 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18030 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18031 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18032 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18033 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18034 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18035 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18036 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18037 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18038 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18039 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18040 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18041 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18042 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18043 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18044 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18045 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18046 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18047 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18048 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18049 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18050 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18051 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18052 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18053 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18054 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18055 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18056 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18057 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18058 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18059 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18060 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18061 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18062 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18063 wine_fn_config_dll apphelp enable_apphelp
18064 wine_fn_config_test dlls/apphelp/tests apphelp_test
18065 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18066 wine_fn_config_dll atl enable_atl clean,implib
18067 wine_fn_config_test dlls/atl/tests atl_test
18068 wine_fn_config_dll atl100 enable_atl100 clean,implib
18069 wine_fn_config_test dlls/atl100/tests atl100_test
18070 wine_fn_config_dll atl110 enable_atl110 clean
18071 wine_fn_config_dll atl80 enable_atl80 clean,implib
18072 wine_fn_config_test dlls/atl80/tests atl80_test
18073 wine_fn_config_dll atl90 enable_atl90 clean
18074 wine_fn_config_dll authz enable_authz
18075 wine_fn_config_dll avicap32 enable_avicap32 implib
18076 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18077 wine_fn_config_test dlls/avifil32/tests avifil32_test
18078 wine_fn_config_dll avifile.dll16 enable_win16
18079 wine_fn_config_dll avrt enable_avrt implib
18080 wine_fn_config_dll bcrypt enable_bcrypt implib
18081 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18082 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18083 wine_fn_config_dll browseui enable_browseui clean
18084 wine_fn_config_test dlls/browseui/tests browseui_test
18085 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18086 wine_fn_config_dll cabinet enable_cabinet implib
18087 wine_fn_config_test dlls/cabinet/tests cabinet_test
18088 wine_fn_config_dll capi2032 enable_capi2032 implib
18089 wine_fn_config_dll cards enable_cards implib
18090 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18091 wine_fn_config_dll clusapi enable_clusapi implib
18092 wine_fn_config_dll combase enable_combase
18093 wine_fn_config_test dlls/combase/tests combase_test
18094 wine_fn_config_dll comcat enable_comcat
18095 wine_fn_config_test dlls/comcat/tests comcat_test
18096 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18097 wine_fn_config_test dlls/comctl32/tests comctl32_test
18098 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18099 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18100 wine_fn_config_dll comm.drv16 enable_win16
18101 wine_fn_config_dll commdlg.dll16 enable_win16
18102 wine_fn_config_dll compobj.dll16 enable_win16
18103 wine_fn_config_dll compstui enable_compstui implib
18104 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18105 wine_fn_config_dll concrt140 enable_concrt140
18106 wine_fn_config_dll connect enable_connect
18107 wine_fn_config_dll credui enable_credui clean,implib
18108 wine_fn_config_test dlls/credui/tests credui_test
18109 wine_fn_config_dll crtdll enable_crtdll
18110 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18111 wine_fn_config_test dlls/crypt32/tests crypt32_test
18112 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18113 wine_fn_config_dll cryptdll enable_cryptdll implib
18114 wine_fn_config_dll cryptext enable_cryptext
18115 wine_fn_config_dll cryptnet enable_cryptnet implib
18116 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18117 wine_fn_config_dll cryptui enable_cryptui clean,implib
18118 wine_fn_config_test dlls/cryptui/tests cryptui_test
18119 wine_fn_config_dll ctapi32 enable_ctapi32
18120 wine_fn_config_dll ctl3d.dll16 enable_win16
18121 wine_fn_config_dll ctl3d32 enable_ctl3d32
18122 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18123 wine_fn_config_dll d2d1 enable_d2d1 implib
18124 wine_fn_config_test dlls/d2d1/tests d2d1_test
18125 wine_fn_config_dll d3d10 enable_d3d10 implib
18126 wine_fn_config_test dlls/d3d10/tests d3d10_test
18127 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18128 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18129 wine_fn_config_dll d3d10core enable_d3d10core implib
18130 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18131 wine_fn_config_dll d3d11 enable_d3d11 implib
18132 wine_fn_config_test dlls/d3d11/tests d3d11_test
18133 wine_fn_config_dll d3d8 enable_d3d8 implib
18134 wine_fn_config_test dlls/d3d8/tests d3d8_test
18135 wine_fn_config_dll d3d9 enable_d3d9 implib
18136 wine_fn_config_test dlls/d3d9/tests d3d9_test
18137 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18138 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18139 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18140 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18141 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18142 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18143 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18144 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18145 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18146 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18147 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18148 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18149 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18150 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18151 wine_fn_config_dll d3dim enable_d3dim
18152 wine_fn_config_dll d3drm enable_d3drm implib
18153 wine_fn_config_test dlls/d3drm/tests d3drm_test
18154 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18155 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18156 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18157 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18158 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18159 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18160 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18161 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18162 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18163 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18164 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18165 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18166 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18167 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18168 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18169 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18170 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18171 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18172 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18173 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18174 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18175 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18176 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18177 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18178 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18179 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18180 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18181 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18182 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18183 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18184 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18185 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18186 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18187 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18188 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18189 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18190 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18191 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18192 wine_fn_config_dll davclnt enable_davclnt
18193 wine_fn_config_dll dbgeng enable_dbgeng implib
18194 wine_fn_config_dll dbghelp enable_dbghelp implib
18195 wine_fn_config_dll dciman32 enable_dciman32 implib
18196 wine_fn_config_dll ddeml.dll16 enable_win16
18197 wine_fn_config_dll ddraw enable_ddraw clean,implib
18198 wine_fn_config_test dlls/ddraw/tests ddraw_test
18199 wine_fn_config_dll ddrawex enable_ddrawex clean
18200 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18201 wine_fn_config_dll devenum enable_devenum clean
18202 wine_fn_config_test dlls/devenum/tests devenum_test
18203 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18204 wine_fn_config_dll difxapi enable_difxapi
18205 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18206 wine_fn_config_test dlls/dinput/tests dinput_test
18207 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18208 wine_fn_config_test dlls/dinput8/tests dinput8_test
18209 wine_fn_config_dll dispdib.dll16 enable_win16
18210 wine_fn_config_dll dispex enable_dispex clean
18211 wine_fn_config_test dlls/dispex/tests dispex_test
18212 wine_fn_config_dll display.drv16 enable_win16
18213 wine_fn_config_dll dmband enable_dmband clean
18214 wine_fn_config_test dlls/dmband/tests dmband_test
18215 wine_fn_config_dll dmcompos enable_dmcompos clean
18216 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18217 wine_fn_config_dll dmime enable_dmime clean
18218 wine_fn_config_test dlls/dmime/tests dmime_test
18219 wine_fn_config_dll dmloader enable_dmloader clean
18220 wine_fn_config_test dlls/dmloader/tests dmloader_test
18221 wine_fn_config_dll dmscript enable_dmscript clean
18222 wine_fn_config_test dlls/dmscript/tests dmscript_test
18223 wine_fn_config_dll dmstyle enable_dmstyle clean
18224 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18225 wine_fn_config_dll dmsynth enable_dmsynth clean
18226 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18227 wine_fn_config_dll dmusic enable_dmusic clean
18228 wine_fn_config_test dlls/dmusic/tests dmusic_test
18229 wine_fn_config_dll dmusic32 enable_dmusic32
18230 wine_fn_config_dll dnsapi enable_dnsapi implib
18231 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18232 wine_fn_config_dll dplay enable_dplay
18233 wine_fn_config_dll dplayx enable_dplayx clean,implib
18234 wine_fn_config_test dlls/dplayx/tests dplayx_test
18235 wine_fn_config_dll dpnaddr enable_dpnaddr
18236 wine_fn_config_dll dpnet enable_dpnet clean,implib
18237 wine_fn_config_test dlls/dpnet/tests dpnet_test
18238 wine_fn_config_dll dpnhpast enable_dpnhpast
18239 wine_fn_config_dll dpnlobby enable_dpnlobby
18240 wine_fn_config_dll dpvoice enable_dpvoice clean
18241 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18242 wine_fn_config_dll dpwsockx enable_dpwsockx
18243 wine_fn_config_dll drmclien enable_drmclien
18244 wine_fn_config_dll dsound enable_dsound clean,implib
18245 wine_fn_config_test dlls/dsound/tests dsound_test
18246 wine_fn_config_dll dssenh enable_dssenh
18247 wine_fn_config_test dlls/dssenh/tests dssenh_test
18248 wine_fn_config_dll dswave enable_dswave clean
18249 wine_fn_config_test dlls/dswave/tests dswave_test
18250 wine_fn_config_dll dwmapi enable_dwmapi implib
18251 wine_fn_config_dll dwrite enable_dwrite implib
18252 wine_fn_config_test dlls/dwrite/tests dwrite_test
18253 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18254 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18255 wine_fn_config_lib dxerr8
18256 wine_fn_config_lib dxerr9
18257 wine_fn_config_dll dxgi enable_dxgi implib
18258 wine_fn_config_test dlls/dxgi/tests dxgi_test
18259 wine_fn_config_lib dxguid
18260 wine_fn_config_dll dxva2 enable_dxva2
18261 wine_fn_config_dll esent enable_esent
18262 wine_fn_config_dll evr enable_evr
18263 wine_fn_config_dll explorerframe enable_explorerframe clean
18264 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18265 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18266 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18267 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18268 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18269 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18270 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18271 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18272 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18273 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18274 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18275 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18276 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18277 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18278 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18279 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18280 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18281 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18282 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18283 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
18284 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18285 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18286 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18287 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18288 wine_fn_config_dll faultrep enable_faultrep implib
18289 wine_fn_config_test dlls/faultrep/tests faultrep_test
18290 wine_fn_config_dll fltlib enable_fltlib
18291 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18292 wine_fn_config_dll fntcache enable_fntcache
18293 wine_fn_config_dll fontsub enable_fontsub
18294 wine_fn_config_dll fusion enable_fusion
18295 wine_fn_config_test dlls/fusion/tests fusion_test
18296 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18297 wine_fn_config_dll gameux enable_gameux clean
18298 wine_fn_config_test dlls/gameux/tests gameux_test
18299 wine_fn_config_dll gdi.exe16 enable_win16
18300 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18301 wine_fn_config_test dlls/gdi32/tests gdi32_test
18302 wine_fn_config_dll gdiplus enable_gdiplus implib
18303 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18304 wine_fn_config_dll glu32 enable_glu32 implib
18305 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18306 wine_fn_config_dll gpkcsp enable_gpkcsp
18307 wine_fn_config_dll hal enable_hal
18308 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18309 wine_fn_config_dll hid enable_hid implib
18310 wine_fn_config_test dlls/hid/tests hid_test
18311 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18312 wine_fn_config_dll hlink enable_hlink clean,implib
18313 wine_fn_config_test dlls/hlink/tests hlink_test
18314 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18315 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18316 wine_fn_config_dll httpapi enable_httpapi
18317 wine_fn_config_dll iccvid enable_iccvid clean
18318 wine_fn_config_dll icmp enable_icmp
18319 wine_fn_config_dll ieframe enable_ieframe clean,implib
18320 wine_fn_config_test dlls/ieframe/tests ieframe_test
18321 wine_fn_config_dll ifsmgr.vxd enable_win16
18322 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18323 wine_fn_config_dll imagehlp enable_imagehlp implib
18324 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18325 wine_fn_config_dll imm.dll16 enable_win16
18326 wine_fn_config_dll imm32 enable_imm32 implib
18327 wine_fn_config_test dlls/imm32/tests imm32_test
18328 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18329 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18330 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18331 wine_fn_config_dll inetmib1 enable_inetmib1
18332 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18333 wine_fn_config_dll infosoft enable_infosoft clean
18334 wine_fn_config_test dlls/infosoft/tests infosoft_test
18335 wine_fn_config_dll initpki enable_initpki
18336 wine_fn_config_dll inkobj enable_inkobj
18337 wine_fn_config_dll inseng enable_inseng clean
18338 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18339 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18340 wine_fn_config_dll iprop enable_iprop
18341 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18342 wine_fn_config_dll itircl enable_itircl
18343 wine_fn_config_dll itss enable_itss clean
18344 wine_fn_config_test dlls/itss/tests itss_test
18345 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18346 wine_fn_config_dll jscript enable_jscript clean
18347 wine_fn_config_test dlls/jscript/tests jscript_test
18348 wine_fn_config_dll jsproxy enable_jsproxy implib
18349 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18350 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18351 wine_fn_config_test dlls/kernel32/tests kernel32_test
18352 wine_fn_config_dll kernelbase enable_kernelbase
18353 wine_fn_config_dll keyboard.drv16 enable_win16
18354 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18355 wine_fn_config_dll ksuser enable_ksuser
18356 wine_fn_config_dll ktmw32 enable_ktmw32
18357 wine_fn_config_dll loadperf enable_loadperf implib
18358 wine_fn_config_dll localspl enable_localspl clean
18359 wine_fn_config_test dlls/localspl/tests localspl_test
18360 wine_fn_config_dll localui enable_localui clean
18361 wine_fn_config_test dlls/localui/tests localui_test
18362 wine_fn_config_dll lz32 enable_lz32 implib
18363 wine_fn_config_test dlls/lz32/tests lz32_test
18364 wine_fn_config_dll lzexpand.dll16 enable_win16
18365 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18366 wine_fn_config_test dlls/mapi32/tests mapi32_test
18367 wine_fn_config_dll mapistub enable_mapistub
18368 wine_fn_config_dll mciavi32 enable_mciavi32
18369 wine_fn_config_dll mcicda enable_mcicda
18370 wine_fn_config_dll mciqtz32 enable_mciqtz32
18371 wine_fn_config_dll mciseq enable_mciseq
18372 wine_fn_config_dll mciwave enable_mciwave
18373 wine_fn_config_dll mf enable_mf implib
18374 wine_fn_config_test dlls/mf/tests mf_test
18375 wine_fn_config_dll mf3216 enable_mf3216
18376 wine_fn_config_dll mfplat enable_mfplat implib
18377 wine_fn_config_test dlls/mfplat/tests mfplat_test
18378 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18379 wine_fn_config_dll mgmtapi enable_mgmtapi
18380 wine_fn_config_dll midimap enable_midimap
18381 wine_fn_config_dll mlang enable_mlang clean,implib
18382 wine_fn_config_test dlls/mlang/tests mlang_test
18383 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18384 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18385 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18386 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18387 wine_fn_config_dll mmdevldr.vxd enable_win16
18388 wine_fn_config_dll mmsystem.dll16 enable_win16
18389 wine_fn_config_dll monodebg.vxd enable_win16
18390 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18391 wine_fn_config_dll mouse.drv16 enable_win16
18392 wine_fn_config_dll mpr enable_mpr clean,implib
18393 wine_fn_config_test dlls/mpr/tests mpr_test
18394 wine_fn_config_dll mprapi enable_mprapi implib
18395 wine_fn_config_dll msacm.dll16 enable_win16
18396 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18397 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18398 wine_fn_config_test dlls/msacm32/tests msacm32_test
18399 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18400 wine_fn_config_dll msasn1 enable_msasn1 implib
18401 wine_fn_config_dll mscat32 enable_mscat32
18402 wine_fn_config_dll mscms enable_mscms implib
18403 wine_fn_config_test dlls/mscms/tests mscms_test
18404 wine_fn_config_dll mscoree enable_mscoree clean
18405 wine_fn_config_test dlls/mscoree/tests mscoree_test
18406 wine_fn_config_dll msctf enable_msctf clean
18407 wine_fn_config_test dlls/msctf/tests msctf_test
18408 wine_fn_config_dll msctfp enable_msctfp clean
18409 wine_fn_config_dll msdaps enable_msdaps clean
18410 wine_fn_config_dll msdelta enable_msdelta
18411 wine_fn_config_dll msdmo enable_msdmo implib
18412 wine_fn_config_test dlls/msdmo/tests msdmo_test
18413 wine_fn_config_dll msdrm enable_msdrm
18414 wine_fn_config_dll msftedit enable_msftedit
18415 wine_fn_config_dll msg711.acm enable_msg711_acm
18416 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18417 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18418 wine_fn_config_dll mshtml enable_mshtml clean,implib
18419 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18420 wine_fn_config_dll msi enable_msi clean,implib
18421 wine_fn_config_test dlls/msi/tests msi_test
18422 wine_fn_config_dll msident enable_msident clean
18423 wine_fn_config_dll msimg32 enable_msimg32 implib
18424 wine_fn_config_dll msimsg enable_msimsg
18425 wine_fn_config_dll msimtf enable_msimtf clean
18426 wine_fn_config_dll msisip enable_msisip
18427 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18428 wine_fn_config_dll msls31 enable_msls31
18429 wine_fn_config_dll msnet32 enable_msnet32
18430 wine_fn_config_dll mspatcha enable_mspatcha implib
18431 wine_fn_config_dll msports enable_msports
18432 wine_fn_config_dll msrle32 enable_msrle32 clean
18433 wine_fn_config_test dlls/msrle32/tests msrle32_test
18434 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18435 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18436 wine_fn_config_dll mssign32 enable_mssign32
18437 wine_fn_config_dll mssip32 enable_mssip32
18438 wine_fn_config_dll mstask enable_mstask clean
18439 wine_fn_config_test dlls/mstask/tests mstask_test
18440 wine_fn_config_dll msvcirt enable_msvcirt
18441 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18442 wine_fn_config_dll msvcm80 enable_msvcm80
18443 wine_fn_config_dll msvcm90 enable_msvcm90
18444 wine_fn_config_dll msvcp100 enable_msvcp100
18445 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18446 wine_fn_config_dll msvcp110 enable_msvcp110
18447 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18448 wine_fn_config_dll msvcp120 enable_msvcp120
18449 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18450 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18451 wine_fn_config_dll msvcp140 enable_msvcp140
18452 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18453 wine_fn_config_dll msvcp60 enable_msvcp60
18454 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18455 wine_fn_config_dll msvcp70 enable_msvcp70
18456 wine_fn_config_dll msvcp71 enable_msvcp71
18457 wine_fn_config_dll msvcp80 enable_msvcp80
18458 wine_fn_config_dll msvcp90 enable_msvcp90
18459 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18460 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18461 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18462 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18463 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18464 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18465 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18466 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18467 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18468 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18469 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18470 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18471 wine_fn_config_dll msvcrt enable_msvcrt implib
18472 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18473 wine_fn_config_dll msvcrt20 enable_msvcrt20
18474 wine_fn_config_dll msvcrt40 enable_msvcrt40
18475 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18476 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18477 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18478 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18479 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18480 wine_fn_config_dll msvideo.dll16 enable_win16
18481 wine_fn_config_dll mswsock enable_mswsock implib
18482 wine_fn_config_dll msxml enable_msxml clean
18483 wine_fn_config_dll msxml2 enable_msxml2 clean
18484 wine_fn_config_dll msxml3 enable_msxml3 clean
18485 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18486 wine_fn_config_dll msxml4 enable_msxml4 clean
18487 wine_fn_config_dll msxml6 enable_msxml6 clean
18488 wine_fn_config_dll mtxdm enable_mtxdm
18489 wine_fn_config_dll ncrypt enable_ncrypt
18490 wine_fn_config_dll nddeapi enable_nddeapi implib
18491 wine_fn_config_dll ndis.sys enable_ndis_sys
18492 wine_fn_config_dll netapi32 enable_netapi32 implib
18493 wine_fn_config_test dlls/netapi32/tests netapi32_test
18494 wine_fn_config_dll netcfgx enable_netcfgx clean
18495 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18496 wine_fn_config_dll netprofm enable_netprofm clean
18497 wine_fn_config_test dlls/netprofm/tests netprofm_test
18498 wine_fn_config_dll newdev enable_newdev implib
18499 wine_fn_config_dll normaliz enable_normaliz implib
18500 wine_fn_config_dll npmshtml enable_npmshtml
18501 wine_fn_config_dll npptools enable_npptools
18502 wine_fn_config_dll ntdll enable_ntdll implib
18503 wine_fn_config_test dlls/ntdll/tests ntdll_test
18504 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18505 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18506 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18507 wine_fn_config_dll ntprint enable_ntprint
18508 wine_fn_config_test dlls/ntprint/tests ntprint_test
18509 wine_fn_config_dll objsel enable_objsel clean
18510 wine_fn_config_dll odbc32 enable_odbc32 implib
18511 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18512 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18513 wine_fn_config_dll odbccu32 enable_odbccu32
18514 wine_fn_config_dll ole2.dll16 enable_win16
18515 wine_fn_config_dll ole2conv.dll16 enable_win16
18516 wine_fn_config_dll ole2disp.dll16 enable_win16
18517 wine_fn_config_dll ole2nls.dll16 enable_win16
18518 wine_fn_config_dll ole2prox.dll16 enable_win16
18519 wine_fn_config_dll ole2thk.dll16 enable_win16
18520 wine_fn_config_dll ole32 enable_ole32 clean,implib
18521 wine_fn_config_test dlls/ole32/tests ole32_test
18522 wine_fn_config_dll oleacc enable_oleacc clean,implib
18523 wine_fn_config_test dlls/oleacc/tests oleacc_test
18524 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18525 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18526 wine_fn_config_dll olecli.dll16 enable_win16
18527 wine_fn_config_dll olecli32 enable_olecli32 implib
18528 wine_fn_config_dll oledb32 enable_oledb32 clean
18529 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18530 wine_fn_config_dll oledlg enable_oledlg clean,implib
18531 wine_fn_config_test dlls/oledlg/tests oledlg_test
18532 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18533 wine_fn_config_dll olesvr.dll16 enable_win16
18534 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18535 wine_fn_config_dll olethk32 enable_olethk32
18536 wine_fn_config_dll openal32 enable_openal32
18537 wine_fn_config_dll opencl enable_opencl
18538 wine_fn_config_dll opengl32 enable_opengl32 implib
18539 wine_fn_config_test dlls/opengl32/tests opengl32_test
18540 wine_fn_config_dll packager enable_packager clean
18541 wine_fn_config_test dlls/packager/tests packager_test
18542 wine_fn_config_dll pdh enable_pdh implib
18543 wine_fn_config_test dlls/pdh/tests pdh_test
18544 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18545 wine_fn_config_dll pidgen enable_pidgen
18546 wine_fn_config_dll powrprof enable_powrprof implib
18547 wine_fn_config_dll printui enable_printui
18548 wine_fn_config_dll prntvpt enable_prntvpt
18549 wine_fn_config_dll propsys enable_propsys clean,implib
18550 wine_fn_config_test dlls/propsys/tests propsys_test
18551 wine_fn_config_dll psapi enable_psapi implib
18552 wine_fn_config_test dlls/psapi/tests psapi_test
18553 wine_fn_config_dll pstorec enable_pstorec clean
18554 wine_fn_config_test dlls/pstorec/tests pstorec_test
18555 wine_fn_config_dll qcap enable_qcap
18556 wine_fn_config_test dlls/qcap/tests qcap_test
18557 wine_fn_config_dll qedit enable_qedit clean
18558 wine_fn_config_test dlls/qedit/tests qedit_test
18559 wine_fn_config_dll qmgr enable_qmgr clean
18560 wine_fn_config_test dlls/qmgr/tests qmgr_test
18561 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18562 wine_fn_config_dll quartz enable_quartz clean,implib
18563 wine_fn_config_test dlls/quartz/tests quartz_test clean
18564 wine_fn_config_dll query enable_query
18565 wine_fn_config_dll rasapi16.dll16 enable_win16
18566 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18567 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18568 wine_fn_config_dll rasdlg enable_rasdlg implib
18569 wine_fn_config_dll regapi enable_regapi
18570 wine_fn_config_dll resutils enable_resutils implib
18571 wine_fn_config_dll riched20 enable_riched20 clean,implib
18572 wine_fn_config_test dlls/riched20/tests riched20_test
18573 wine_fn_config_dll riched32 enable_riched32
18574 wine_fn_config_test dlls/riched32/tests riched32_test
18575 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18576 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18577 wine_fn_config_dll rsabase enable_rsabase
18578 wine_fn_config_dll rsaenh enable_rsaenh implib
18579 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18580 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18581 wine_fn_config_dll rtutils enable_rtutils implib
18582 wine_fn_config_dll samlib enable_samlib
18583 wine_fn_config_dll sane.ds enable_sane_ds clean
18584 wine_fn_config_dll scarddlg enable_scarddlg
18585 wine_fn_config_dll sccbase enable_sccbase
18586 wine_fn_config_dll schannel enable_schannel
18587 wine_fn_config_test dlls/schannel/tests schannel_test
18588 wine_fn_config_dll schedsvc enable_schedsvc clean
18589 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18590 wine_fn_config_dll scrobj enable_scrobj clean
18591 wine_fn_config_dll scrrun enable_scrrun clean
18592 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18593 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18594 wine_fn_config_dll secur32 enable_secur32 implib
18595 wine_fn_config_test dlls/secur32/tests secur32_test
18596 wine_fn_config_dll security enable_security
18597 wine_fn_config_dll sensapi enable_sensapi implib
18598 wine_fn_config_dll serialui enable_serialui clean
18599 wine_fn_config_test dlls/serialui/tests serialui_test
18600 wine_fn_config_dll setupapi enable_setupapi clean,implib
18601 wine_fn_config_test dlls/setupapi/tests setupapi_test
18602 wine_fn_config_dll setupx.dll16 enable_win16
18603 wine_fn_config_dll sfc enable_sfc implib
18604 wine_fn_config_dll sfc_os enable_sfc_os implib
18605 wine_fn_config_dll shdoclc enable_shdoclc clean
18606 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18607 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18608 wine_fn_config_dll shell.dll16 enable_win16
18609 wine_fn_config_dll shell32 enable_shell32 clean,implib
18610 wine_fn_config_test dlls/shell32/tests shell32_test
18611 wine_fn_config_dll shfolder enable_shfolder implib
18612 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18613 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18614 wine_fn_config_dll slbcsp enable_slbcsp
18615 wine_fn_config_dll slc enable_slc implib
18616 wine_fn_config_test dlls/slc/tests slc_test
18617 wine_fn_config_dll snmpapi enable_snmpapi implib
18618 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18619 wine_fn_config_dll softpub enable_softpub
18620 wine_fn_config_dll sound.drv16 enable_win16
18621 wine_fn_config_dll spoolss enable_spoolss implib
18622 wine_fn_config_test dlls/spoolss/tests spoolss_test
18623 wine_fn_config_dll sspicli enable_sspicli
18624 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18625 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18626 wine_fn_config_dll sti enable_sti clean,implib
18627 wine_fn_config_test dlls/sti/tests sti_test
18628 wine_fn_config_dll storage.dll16 enable_win16
18629 wine_fn_config_dll stress.dll16 enable_win16
18630 wine_fn_config_lib strmbase
18631 wine_fn_config_lib strmiids
18632 wine_fn_config_dll svrapi enable_svrapi
18633 wine_fn_config_dll sxs enable_sxs implib
18634 wine_fn_config_test dlls/sxs/tests sxs_test
18635 wine_fn_config_dll system.drv16 enable_win16
18636 wine_fn_config_dll t2embed enable_t2embed implib
18637 wine_fn_config_test dlls/t2embed/tests t2embed_test
18638 wine_fn_config_dll tapi32 enable_tapi32 implib
18639 wine_fn_config_dll taskschd enable_taskschd clean
18640 wine_fn_config_test dlls/taskschd/tests taskschd_test
18641 wine_fn_config_dll tdh enable_tdh
18642 wine_fn_config_dll tdi.sys enable_tdi_sys
18643 wine_fn_config_dll toolhelp.dll16 enable_win16
18644 wine_fn_config_dll traffic enable_traffic
18645 wine_fn_config_dll twain.dll16 enable_win16
18646 wine_fn_config_dll twain_32 enable_twain_32
18647 wine_fn_config_test dlls/twain_32/tests twain_32_test
18648 wine_fn_config_dll typelib.dll16 enable_win16
18649 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18650 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18651 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18652 wine_fn_config_dll unicows enable_unicows implib
18653 wine_fn_config_dll updspapi enable_updspapi
18654 wine_fn_config_dll url enable_url implib
18655 wine_fn_config_dll urlmon enable_urlmon clean,implib
18656 wine_fn_config_test dlls/urlmon/tests urlmon_test
18657 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18658 wine_fn_config_dll user.exe16 enable_win16
18659 wine_fn_config_dll user32 enable_user32 clean,implib
18660 wine_fn_config_test dlls/user32/tests user32_test
18661 wine_fn_config_dll userenv enable_userenv implib
18662 wine_fn_config_test dlls/userenv/tests userenv_test
18663 wine_fn_config_dll usp10 enable_usp10 implib
18664 wine_fn_config_test dlls/usp10/tests usp10_test
18665 wine_fn_config_lib uuid
18666 wine_fn_config_dll uxtheme enable_uxtheme implib
18667 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18668 wine_fn_config_dll vbscript enable_vbscript clean
18669 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18670 wine_fn_config_dll vcomp enable_vcomp
18671 wine_fn_config_test dlls/vcomp/tests vcomp_test
18672 wine_fn_config_dll vcomp100 enable_vcomp100
18673 wine_fn_config_dll vcomp110 enable_vcomp110
18674 wine_fn_config_dll vcomp120 enable_vcomp120
18675 wine_fn_config_dll vcomp140 enable_vcomp140
18676 wine_fn_config_dll vcomp90 enable_vcomp90
18677 wine_fn_config_dll vcruntime140 enable_vcruntime140
18678 wine_fn_config_dll vdhcp.vxd enable_win16
18679 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18680 wine_fn_config_dll ver.dll16 enable_win16
18681 wine_fn_config_dll version enable_version implib
18682 wine_fn_config_test dlls/version/tests version_test
18683 wine_fn_config_dll virtdisk enable_virtdisk
18684 wine_fn_config_dll vmm.vxd enable_win16
18685 wine_fn_config_dll vnbt.vxd enable_win16
18686 wine_fn_config_dll vnetbios.vxd enable_win16
18687 wine_fn_config_dll vssapi enable_vssapi
18688 wine_fn_config_dll vtdapi.vxd enable_win16
18689 wine_fn_config_dll vwin32.vxd enable_win16
18690 wine_fn_config_dll w32skrnl enable_win16
18691 wine_fn_config_dll w32sys.dll16 enable_win16
18692 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18693 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18694 wine_fn_config_dll wbemprox enable_wbemprox clean
18695 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18696 wine_fn_config_dll webservices enable_webservices implib
18697 wine_fn_config_test dlls/webservices/tests webservices_test
18698 wine_fn_config_dll wer enable_wer implib
18699 wine_fn_config_test dlls/wer/tests wer_test
18700 wine_fn_config_dll wevtapi enable_wevtapi
18701 wine_fn_config_dll wiaservc enable_wiaservc clean
18702 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18703 wine_fn_config_dll wimgapi enable_wimgapi
18704 wine_fn_config_dll win32s16.dll16 enable_win16
18705 wine_fn_config_dll win87em.dll16 enable_win16
18706 wine_fn_config_dll winaspi.dll16 enable_win16
18707 wine_fn_config_dll windebug.dll16 enable_win16
18708 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18709 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18710 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18711 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18712 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18713 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18714 wine_fn_config_dll winebus.sys enable_winebus_sys
18715 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18716 wine_fn_config_lib winecrt0
18717 wine_fn_config_dll wined3d enable_wined3d implib
18718 wine_fn_config_dll winegstreamer enable_winegstreamer
18719 wine_fn_config_dll winehid.sys enable_winehid_sys
18720 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18721 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18722 wine_fn_config_dll winemapi enable_winemapi
18723 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18724 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18725 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18726 wine_fn_config_dll wineps16.drv16 enable_win16
18727 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18728 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18729 wine_fn_config_dll winex11.drv enable_winex11_drv
18730 wine_fn_config_dll wing.dll16 enable_win16
18731 wine_fn_config_dll wing32 enable_wing32
18732 wine_fn_config_dll winhttp enable_winhttp clean,implib
18733 wine_fn_config_test dlls/winhttp/tests winhttp_test
18734 wine_fn_config_dll wininet enable_wininet clean,implib
18735 wine_fn_config_test dlls/wininet/tests wininet_test
18736 wine_fn_config_dll winmm enable_winmm clean,implib
18737 wine_fn_config_test dlls/winmm/tests winmm_test
18738 wine_fn_config_dll winnls.dll16 enable_win16
18739 wine_fn_config_dll winnls32 enable_winnls32 implib
18740 wine_fn_config_dll winscard enable_winscard implib
18741 wine_fn_config_dll winsock.dll16 enable_win16
18742 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18743 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18744 wine_fn_config_dll winsta enable_winsta
18745 wine_fn_config_dll wintab.dll16 enable_win16
18746 wine_fn_config_dll wintab32 enable_wintab32 implib
18747 wine_fn_config_test dlls/wintab32/tests wintab32_test
18748 wine_fn_config_dll wintrust enable_wintrust implib
18749 wine_fn_config_test dlls/wintrust/tests wintrust_test
18750 wine_fn_config_dll winusb enable_winusb
18751 wine_fn_config_dll wlanapi enable_wlanapi implib
18752 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18753 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18754 wine_fn_config_test dlls/wldap32/tests wldap32_test
18755 wine_fn_config_dll wmasf enable_wmasf
18756 wine_fn_config_dll wmi enable_wmi
18757 wine_fn_config_dll wmiutils enable_wmiutils clean
18758 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18759 wine_fn_config_dll wmp enable_wmp clean
18760 wine_fn_config_test dlls/wmp/tests wmp_test
18761 wine_fn_config_dll wmvcore enable_wmvcore implib
18762 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18763 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18764 wine_fn_config_dll wow32 enable_win16 implib
18765 wine_fn_config_dll wpc enable_wpc clean
18766 wine_fn_config_test dlls/wpc/tests wpc_test
18767 wine_fn_config_dll wpcap enable_wpcap
18768 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18769 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18770 wine_fn_config_dll wsdapi enable_wsdapi implib
18771 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18772 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18773 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18774 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18775 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18776 wine_fn_config_dll wsock32 enable_wsock32 implib
18777 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18778 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18779 wine_fn_config_dll wuapi enable_wuapi clean
18780 wine_fn_config_dll wuaueng enable_wuaueng
18781 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18782 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18783 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18784 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18785 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18786 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18787 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18788 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18789 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18790 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18791 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18792 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18793 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18794 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18795 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18796 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18797 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18798 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18799 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18800 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18801 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18802 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18803 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18804 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18805 wine_fn_config_dll xinput1_1 enable_xinput1_1
18806 wine_fn_config_dll xinput1_2 enable_xinput1_2
18807 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18808 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18809 wine_fn_config_dll xinput1_4 enable_xinput1_4
18810 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18811 wine_fn_config_dll xmllite enable_xmllite implib
18812 wine_fn_config_test dlls/xmllite/tests xmllite_test
18813 wine_fn_config_dll xolehlp enable_xolehlp
18814 wine_fn_config_dll xpsprint enable_xpsprint
18815 wine_fn_config_dll xpssvcs enable_xpssvcs
18816 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18817 wine_fn_config_makefile include enable_include clean,install-dev
18818 wine_fn_config_makefile libs/port enable_libs_port
18819 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18820 wine_fn_config_makefile libs/wpp enable_libs_wpp
18821 wine_fn_config_makefile loader enable_loader clean,install-lib
18822 wine_fn_config_makefile po enable_po clean
18823 wine_fn_config_program arp enable_arp install
18824 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18825 wine_fn_config_program attrib enable_attrib clean,install
18826 wine_fn_config_program cabarc enable_cabarc install
18827 wine_fn_config_program cacls enable_cacls install
18828 wine_fn_config_program clock enable_clock clean,install
18829 wine_fn_config_program cmd enable_cmd clean,install
18830 wine_fn_config_test programs/cmd/tests cmd.exe_test
18831 wine_fn_config_program conhost enable_conhost install
18832 wine_fn_config_program control enable_control install
18833 wine_fn_config_program cscript enable_cscript clean,install
18834 wine_fn_config_program dpnsvr enable_dpnsvr install
18835 wine_fn_config_program dxdiag enable_dxdiag clean,install
18836 wine_fn_config_program eject enable_eject install
18837 wine_fn_config_program expand enable_expand install
18838 wine_fn_config_program explorer enable_explorer clean,install
18839 wine_fn_config_program extrac32 enable_extrac32 install
18840 wine_fn_config_program findstr enable_findstr install
18841 wine_fn_config_program fsutil enable_fsutil install
18842 wine_fn_config_program hh enable_hh install
18843 wine_fn_config_program hostname enable_hostname clean,install
18844 wine_fn_config_program icacls enable_icacls install
18845 wine_fn_config_program icinfo enable_icinfo install
18846 wine_fn_config_program iexplore enable_iexplore install
18847 wine_fn_config_program ipconfig enable_ipconfig clean,install
18848 wine_fn_config_program lodctr enable_lodctr install
18849 wine_fn_config_program mofcomp enable_mofcomp install
18850 wine_fn_config_program mshta enable_mshta install
18851 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18852 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18853 wine_fn_config_program net enable_net clean,install
18854 wine_fn_config_program netsh enable_netsh install
18855 wine_fn_config_program netstat enable_netstat clean,install
18856 wine_fn_config_program ngen enable_ngen install
18857 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18858 wine_fn_config_program oleview enable_oleview clean,install
18859 wine_fn_config_program ping enable_ping install
18860 wine_fn_config_program plugplay enable_plugplay install
18861 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18862 wine_fn_config_program progman enable_progman clean,install
18863 wine_fn_config_program reg enable_reg clean,install
18864 wine_fn_config_test programs/reg/tests reg.exe_test
18865 wine_fn_config_program regasm enable_regasm install
18866 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18867 wine_fn_config_test programs/regedit/tests regedit.exe_test
18868 wine_fn_config_program regsvcs enable_regsvcs install
18869 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18870 wine_fn_config_program rpcss enable_rpcss clean,install
18871 wine_fn_config_program rundll.exe16 enable_win16 install
18872 wine_fn_config_program rundll32 enable_rundll32 install
18873 wine_fn_config_program sc enable_sc install
18874 wine_fn_config_program schtasks enable_schtasks install
18875 wine_fn_config_program sdbinst enable_sdbinst install
18876 wine_fn_config_program secedit enable_secedit install
18877 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18878 wine_fn_config_program services enable_services clean,install
18879 wine_fn_config_test programs/services/tests services.exe_test
18880 wine_fn_config_program shutdown enable_shutdown install
18881 wine_fn_config_program spoolsv enable_spoolsv install
18882 wine_fn_config_program start enable_start clean,install
18883 wine_fn_config_program subst enable_subst install
18884 wine_fn_config_program svchost enable_svchost install
18885 wine_fn_config_program systeminfo enable_systeminfo install
18886 wine_fn_config_program taskkill enable_taskkill clean,install
18887 wine_fn_config_program tasklist enable_tasklist install
18888 wine_fn_config_program taskmgr enable_taskmgr clean,install
18889 wine_fn_config_program termsv enable_termsv install
18890 wine_fn_config_program uninstaller enable_uninstaller clean,install
18891 wine_fn_config_program unlodctr enable_unlodctr install
18892 wine_fn_config_program view enable_view clean,install
18893 wine_fn_config_program wevtutil enable_wevtutil install
18894 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18895 wine_fn_config_program winebrowser enable_winebrowser install
18896 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18897 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18898 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18899 wine_fn_config_program winedevice enable_winedevice install
18900 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18901 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18902 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18903 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18904 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18905 wine_fn_config_program winetest enable_winetest clean
18906 wine_fn_config_program winevdm enable_win16 install
18907 wine_fn_config_program winhelp.exe16 enable_win16 install
18908 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18909 wine_fn_config_program winoldap.mod16 enable_win16 install
18910 wine_fn_config_program winver enable_winver install
18911 wine_fn_config_program wmic enable_wmic clean,install
18912 wine_fn_config_program wmplayer enable_wmplayer install
18913 wine_fn_config_program wordpad enable_wordpad clean,install
18914 wine_fn_config_program write enable_write clean,install
18915 wine_fn_config_program wscript enable_wscript clean,install
18916 wine_fn_config_test programs/wscript/tests wscript.exe_test
18917 wine_fn_config_program wusa enable_wusa install
18918 wine_fn_config_program xcopy enable_xcopy clean,install
18919 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18920 wine_fn_config_makefile server enable_server clean,install-lib
18921 wine_fn_config_tool tools clean
18922 wine_fn_config_tool tools/sfnt2fon clean
18923 wine_fn_config_tool tools/widl clean,install-dev
18924 wine_fn_config_tool tools/winebuild clean,install-dev
18925 wine_fn_config_tool tools/winedump clean,install-dev
18926 wine_fn_config_tool tools/winegcc clean,install-dev
18927 wine_fn_config_tool tools/winemaker clean,install-dev
18928 wine_fn_config_tool tools/wmc clean,install-dev
18929 wine_fn_config_tool tools/wrc clean,install-dev
18932 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18933 wine_fn_append_file CONFIGURE_TARGETS "tags"
18934 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18935 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18936 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18937 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18938 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18939 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18941 if test "x$enable_tools" != xno
18942 then
18943 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18944 ac_config_commands="$ac_config_commands tools/makedep"
18948 ac_config_commands="$ac_config_commands Makefile"
18951 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18955 if test "x$enable_maintainer_mode" = xyes
18956 then
18957 wine_fn_append_rule "configure: configure.ac aclocal.m4
18958 autoconf --warnings=all
18959 include/config.h.in: include/stamp-h.in
18960 include/stamp-h.in: configure.ac aclocal.m4
18961 autoheader --warnings=all
18962 @echo timestamp > \$@"
18965 if test "x$enable_tools" != xno
18966 then
18967 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18968 @./config.status tools/makedep
18969 Makefile: tools/makedep$ac_exeext"
18970 else
18971 wine_fn_append_rule "\$(MAKEDEP):
18972 @echo \"You need to run make in $TOOLSDIR first\" && false"
18975 if test -n "$with_wine64"
18976 then
18977 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18978 fonts server:
18979 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18980 $with_wine64/loader/wine:
18981 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18982 $with_wine64/loader/wine-preloader:
18983 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18984 clean::
18985 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18986 else
18987 WINELOADER_INSTALL="wine.inf"
18989 wine_fn_append_rule "install install-lib::
18990 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18991 uninstall::
18992 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18993 case $host_os in
18994 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18995 *) wine_fn_append_rule "install install-lib::
18996 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18997 uninstall::
18998 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18999 esac
19002 $as_echo " done" >&6
19003 cat >confcache <<\_ACEOF
19004 # This file is a shell script that caches the results of configure
19005 # tests run on this system so they can be shared between configure
19006 # scripts and configure runs, see configure's option --config-cache.
19007 # It is not useful on other systems. If it contains results you don't
19008 # want to keep, you may remove or edit it.
19010 # config.status only pays attention to the cache file if you give it
19011 # the --recheck option to rerun configure.
19013 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19014 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19015 # following values.
19017 _ACEOF
19019 # The following way of writing the cache mishandles newlines in values,
19020 # but we know of no workaround that is simple, portable, and efficient.
19021 # So, we kill variables containing newlines.
19022 # Ultrix sh set writes to stderr and can't be redirected directly,
19023 # and sets the high bit in the cache file unless we assign to the vars.
19025 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19026 eval ac_val=\$$ac_var
19027 case $ac_val in #(
19028 *${as_nl}*)
19029 case $ac_var in #(
19030 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19031 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19032 esac
19033 case $ac_var in #(
19034 _ | IFS | as_nl) ;; #(
19035 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19036 *) { eval $ac_var=; unset $ac_var;} ;;
19037 esac ;;
19038 esac
19039 done
19041 (set) 2>&1 |
19042 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19043 *${as_nl}ac_space=\ *)
19044 # `set' does not quote correctly, so add quotes: double-quote
19045 # substitution turns \\\\ into \\, and sed turns \\ into \.
19046 sed -n \
19047 "s/'/'\\\\''/g;
19048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19049 ;; #(
19051 # `set' quotes correctly as required by POSIX, so do not add quotes.
19052 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19054 esac |
19055 sort
19057 sed '
19058 /^ac_cv_env_/b end
19059 t clear
19060 :clear
19061 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19062 t end
19063 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19064 :end' >>confcache
19065 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19066 if test -w "$cache_file"; then
19067 if test "x$cache_file" != "x/dev/null"; then
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19069 $as_echo "$as_me: updating cache $cache_file" >&6;}
19070 if test ! -f "$cache_file" || test -h "$cache_file"; then
19071 cat confcache >"$cache_file"
19072 else
19073 case $cache_file in #(
19074 */* | ?:*)
19075 mv -f confcache "$cache_file"$$ &&
19076 mv -f "$cache_file"$$ "$cache_file" ;; #(
19078 mv -f confcache "$cache_file" ;;
19079 esac
19082 else
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19084 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19087 rm -f confcache
19089 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19090 # Let make expand exec_prefix.
19091 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19093 DEFS=-DHAVE_CONFIG_H
19095 ac_libobjs=
19096 ac_ltlibobjs=
19098 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19099 # 1. Remove the extension, and $U if already installed.
19100 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19101 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19102 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19103 # will be set to the directory where LIBOBJS objects are built.
19104 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19105 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19106 done
19107 LIBOBJS=$ac_libobjs
19109 LTLIBOBJS=$ac_ltlibobjs
19113 : "${CONFIG_STATUS=./config.status}"
19114 ac_write_fail=0
19115 ac_clean_files_save=$ac_clean_files
19116 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19118 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19119 as_write_fail=0
19120 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19121 #! $SHELL
19122 # Generated by $as_me.
19123 # Run this file to recreate the current configuration.
19124 # Compiler output produced by configure, useful for debugging
19125 # configure, is in config.log if it exists.
19127 debug=false
19128 ac_cs_recheck=false
19129 ac_cs_silent=false
19131 SHELL=\${CONFIG_SHELL-$SHELL}
19132 export SHELL
19133 _ASEOF
19134 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19135 ## -------------------- ##
19136 ## M4sh Initialization. ##
19137 ## -------------------- ##
19139 # Be more Bourne compatible
19140 DUALCASE=1; export DUALCASE # for MKS sh
19141 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19142 emulate sh
19143 NULLCMD=:
19144 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19145 # is contrary to our usage. Disable this feature.
19146 alias -g '${1+"$@"}'='"$@"'
19147 setopt NO_GLOB_SUBST
19148 else
19149 case `(set -o) 2>/dev/null` in #(
19150 *posix*) :
19151 set -o posix ;; #(
19152 *) :
19154 esac
19158 as_nl='
19160 export as_nl
19161 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19162 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19163 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19164 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19165 # Prefer a ksh shell builtin over an external printf program on Solaris,
19166 # but without wasting forks for bash or zsh.
19167 if test -z "$BASH_VERSION$ZSH_VERSION" \
19168 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19169 as_echo='print -r --'
19170 as_echo_n='print -rn --'
19171 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19172 as_echo='printf %s\n'
19173 as_echo_n='printf %s'
19174 else
19175 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19176 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19177 as_echo_n='/usr/ucb/echo -n'
19178 else
19179 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19180 as_echo_n_body='eval
19181 arg=$1;
19182 case $arg in #(
19183 *"$as_nl"*)
19184 expr "X$arg" : "X\\(.*\\)$as_nl";
19185 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19186 esac;
19187 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19189 export as_echo_n_body
19190 as_echo_n='sh -c $as_echo_n_body as_echo'
19192 export as_echo_body
19193 as_echo='sh -c $as_echo_body as_echo'
19196 # The user is always right.
19197 if test "${PATH_SEPARATOR+set}" != set; then
19198 PATH_SEPARATOR=:
19199 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19200 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19201 PATH_SEPARATOR=';'
19206 # IFS
19207 # We need space, tab and new line, in precisely that order. Quoting is
19208 # there to prevent editors from complaining about space-tab.
19209 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19210 # splitting by setting IFS to empty value.)
19211 IFS=" "" $as_nl"
19213 # Find who we are. Look in the path if we contain no directory separator.
19214 as_myself=
19215 case $0 in #((
19216 *[\\/]* ) as_myself=$0 ;;
19217 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19218 for as_dir in $PATH
19220 IFS=$as_save_IFS
19221 test -z "$as_dir" && as_dir=.
19222 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19223 done
19224 IFS=$as_save_IFS
19227 esac
19228 # We did not find ourselves, most probably we were run as `sh COMMAND'
19229 # in which case we are not to be found in the path.
19230 if test "x$as_myself" = x; then
19231 as_myself=$0
19233 if test ! -f "$as_myself"; then
19234 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19235 exit 1
19238 # Unset variables that we do not need and which cause bugs (e.g. in
19239 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19240 # suppresses any "Segmentation fault" message there. '((' could
19241 # trigger a bug in pdksh 5.2.14.
19242 for as_var in BASH_ENV ENV MAIL MAILPATH
19243 do eval test x\${$as_var+set} = xset \
19244 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19245 done
19246 PS1='$ '
19247 PS2='> '
19248 PS4='+ '
19250 # NLS nuisances.
19251 LC_ALL=C
19252 export LC_ALL
19253 LANGUAGE=C
19254 export LANGUAGE
19256 # CDPATH.
19257 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19260 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19261 # ----------------------------------------
19262 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19263 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19264 # script with STATUS, using 1 if that was 0.
19265 as_fn_error ()
19267 as_status=$1; test $as_status -eq 0 && as_status=1
19268 if test "$4"; then
19269 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19270 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19272 $as_echo "$as_me: error: $2" >&2
19273 as_fn_exit $as_status
19274 } # as_fn_error
19277 # as_fn_set_status STATUS
19278 # -----------------------
19279 # Set $? to STATUS, without forking.
19280 as_fn_set_status ()
19282 return $1
19283 } # as_fn_set_status
19285 # as_fn_exit STATUS
19286 # -----------------
19287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19288 as_fn_exit ()
19290 set +e
19291 as_fn_set_status $1
19292 exit $1
19293 } # as_fn_exit
19295 # as_fn_unset VAR
19296 # ---------------
19297 # Portably unset VAR.
19298 as_fn_unset ()
19300 { eval $1=; unset $1;}
19302 as_unset=as_fn_unset
19303 # as_fn_append VAR VALUE
19304 # ----------------------
19305 # Append the text in VALUE to the end of the definition contained in VAR. Take
19306 # advantage of any shell optimizations that allow amortized linear growth over
19307 # repeated appends, instead of the typical quadratic growth present in naive
19308 # implementations.
19309 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19310 eval 'as_fn_append ()
19312 eval $1+=\$2
19314 else
19315 as_fn_append ()
19317 eval $1=\$$1\$2
19319 fi # as_fn_append
19321 # as_fn_arith ARG...
19322 # ------------------
19323 # Perform arithmetic evaluation on the ARGs, and store the result in the
19324 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19325 # must be portable across $(()) and expr.
19326 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19327 eval 'as_fn_arith ()
19329 as_val=$(( $* ))
19331 else
19332 as_fn_arith ()
19334 as_val=`expr "$@" || test $? -eq 1`
19336 fi # as_fn_arith
19339 if expr a : '\(a\)' >/dev/null 2>&1 &&
19340 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19341 as_expr=expr
19342 else
19343 as_expr=false
19346 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19347 as_basename=basename
19348 else
19349 as_basename=false
19352 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19353 as_dirname=dirname
19354 else
19355 as_dirname=false
19358 as_me=`$as_basename -- "$0" ||
19359 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19360 X"$0" : 'X\(//\)$' \| \
19361 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19362 $as_echo X/"$0" |
19363 sed '/^.*\/\([^/][^/]*\)\/*$/{
19364 s//\1/
19367 /^X\/\(\/\/\)$/{
19368 s//\1/
19371 /^X\/\(\/\).*/{
19372 s//\1/
19375 s/.*/./; q'`
19377 # Avoid depending upon Character Ranges.
19378 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19379 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19380 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19381 as_cr_digits='0123456789'
19382 as_cr_alnum=$as_cr_Letters$as_cr_digits
19384 ECHO_C= ECHO_N= ECHO_T=
19385 case `echo -n x` in #(((((
19386 -n*)
19387 case `echo 'xy\c'` in
19388 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19389 xy) ECHO_C='\c';;
19390 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19391 ECHO_T=' ';;
19392 esac;;
19394 ECHO_N='-n';;
19395 esac
19397 rm -f conf$$ conf$$.exe conf$$.file
19398 if test -d conf$$.dir; then
19399 rm -f conf$$.dir/conf$$.file
19400 else
19401 rm -f conf$$.dir
19402 mkdir conf$$.dir 2>/dev/null
19404 if (echo >conf$$.file) 2>/dev/null; then
19405 if ln -s conf$$.file conf$$ 2>/dev/null; then
19406 as_ln_s='ln -s'
19407 # ... but there are two gotchas:
19408 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19409 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19410 # In both cases, we have to default to `cp -pR'.
19411 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19412 as_ln_s='cp -pR'
19413 elif ln conf$$.file conf$$ 2>/dev/null; then
19414 as_ln_s=ln
19415 else
19416 as_ln_s='cp -pR'
19418 else
19419 as_ln_s='cp -pR'
19421 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19422 rmdir conf$$.dir 2>/dev/null
19425 # as_fn_mkdir_p
19426 # -------------
19427 # Create "$as_dir" as a directory, including parents if necessary.
19428 as_fn_mkdir_p ()
19431 case $as_dir in #(
19432 -*) as_dir=./$as_dir;;
19433 esac
19434 test -d "$as_dir" || eval $as_mkdir_p || {
19435 as_dirs=
19436 while :; do
19437 case $as_dir in #(
19438 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19439 *) as_qdir=$as_dir;;
19440 esac
19441 as_dirs="'$as_qdir' $as_dirs"
19442 as_dir=`$as_dirname -- "$as_dir" ||
19443 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19444 X"$as_dir" : 'X\(//\)[^/]' \| \
19445 X"$as_dir" : 'X\(//\)$' \| \
19446 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19447 $as_echo X"$as_dir" |
19448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19449 s//\1/
19452 /^X\(\/\/\)[^/].*/{
19453 s//\1/
19456 /^X\(\/\/\)$/{
19457 s//\1/
19460 /^X\(\/\).*/{
19461 s//\1/
19464 s/.*/./; q'`
19465 test -d "$as_dir" && break
19466 done
19467 test -z "$as_dirs" || eval "mkdir $as_dirs"
19468 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19471 } # as_fn_mkdir_p
19472 if mkdir -p . 2>/dev/null; then
19473 as_mkdir_p='mkdir -p "$as_dir"'
19474 else
19475 test -d ./-p && rmdir ./-p
19476 as_mkdir_p=false
19480 # as_fn_executable_p FILE
19481 # -----------------------
19482 # Test if FILE is an executable regular file.
19483 as_fn_executable_p ()
19485 test -f "$1" && test -x "$1"
19486 } # as_fn_executable_p
19487 as_test_x='test -x'
19488 as_executable_p=as_fn_executable_p
19490 # Sed expression to map a string onto a valid CPP name.
19491 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19493 # Sed expression to map a string onto a valid variable name.
19494 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19497 exec 6>&1
19498 ## ----------------------------------- ##
19499 ## Main body of $CONFIG_STATUS script. ##
19500 ## ----------------------------------- ##
19501 _ASEOF
19502 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19505 # Save the log message, to keep $0 and so on meaningful, and to
19506 # report actual input values of CONFIG_FILES etc. instead of their
19507 # values after options handling.
19508 ac_log="
19509 This file was extended by Wine $as_me 2.12, which was
19510 generated by GNU Autoconf 2.69. Invocation command line was
19512 CONFIG_FILES = $CONFIG_FILES
19513 CONFIG_HEADERS = $CONFIG_HEADERS
19514 CONFIG_LINKS = $CONFIG_LINKS
19515 CONFIG_COMMANDS = $CONFIG_COMMANDS
19516 $ $0 $@
19518 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19521 _ACEOF
19523 case $ac_config_files in *"
19524 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19525 esac
19527 case $ac_config_headers in *"
19528 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19529 esac
19532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19533 # Files that config.status was made for.
19534 config_files="$ac_config_files"
19535 config_headers="$ac_config_headers"
19536 config_links="$ac_config_links"
19537 config_commands="$ac_config_commands"
19539 _ACEOF
19541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19542 ac_cs_usage="\
19543 \`$as_me' instantiates files and other configuration actions
19544 from templates according to the current configuration. Unless the files
19545 and actions are specified as TAGs, all are instantiated by default.
19547 Usage: $0 [OPTION]... [TAG]...
19549 -h, --help print this help, then exit
19550 -V, --version print version number and configuration settings, then exit
19551 --config print configuration, then exit
19552 -q, --quiet, --silent
19553 do not print progress messages
19554 -d, --debug don't remove temporary files
19555 --recheck update $as_me by reconfiguring in the same conditions
19556 --file=FILE[:TEMPLATE]
19557 instantiate the configuration file FILE
19558 --header=FILE[:TEMPLATE]
19559 instantiate the configuration header FILE
19561 Configuration files:
19562 $config_files
19564 Configuration headers:
19565 $config_headers
19567 Configuration links:
19568 $config_links
19570 Configuration commands:
19571 $config_commands
19573 Report bugs to <wine-devel@winehq.org>.
19574 Wine home page: <http://www.winehq.org>."
19576 _ACEOF
19577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19578 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19579 ac_cs_version="\\
19580 Wine config.status 2.12
19581 configured by $0, generated by GNU Autoconf 2.69,
19582 with options \\"\$ac_cs_config\\"
19584 Copyright (C) 2012 Free Software Foundation, Inc.
19585 This config.status script is free software; the Free Software Foundation
19586 gives unlimited permission to copy, distribute and modify it."
19588 ac_pwd='$ac_pwd'
19589 srcdir='$srcdir'
19590 test -n "\$AWK" || AWK=awk
19591 _ACEOF
19593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19594 # The default lists apply if the user does not specify any file.
19595 ac_need_defaults=:
19596 while test $# != 0
19598 case $1 in
19599 --*=?*)
19600 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19601 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19602 ac_shift=:
19604 --*=)
19605 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19606 ac_optarg=
19607 ac_shift=:
19610 ac_option=$1
19611 ac_optarg=$2
19612 ac_shift=shift
19614 esac
19616 case $ac_option in
19617 # Handling of the options.
19618 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19619 ac_cs_recheck=: ;;
19620 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19621 $as_echo "$ac_cs_version"; exit ;;
19622 --config | --confi | --conf | --con | --co | --c )
19623 $as_echo "$ac_cs_config"; exit ;;
19624 --debug | --debu | --deb | --de | --d | -d )
19625 debug=: ;;
19626 --file | --fil | --fi | --f )
19627 $ac_shift
19628 case $ac_optarg in
19629 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19630 '') as_fn_error $? "missing file argument" ;;
19631 esac
19632 as_fn_append CONFIG_FILES " '$ac_optarg'"
19633 ac_need_defaults=false;;
19634 --header | --heade | --head | --hea )
19635 $ac_shift
19636 case $ac_optarg in
19637 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19638 esac
19639 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19640 ac_need_defaults=false;;
19641 --he | --h)
19642 # Conflict between --help and --header
19643 as_fn_error $? "ambiguous option: \`$1'
19644 Try \`$0 --help' for more information.";;
19645 --help | --hel | -h )
19646 $as_echo "$ac_cs_usage"; exit ;;
19647 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19648 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19649 ac_cs_silent=: ;;
19651 # This is an error.
19652 -*) as_fn_error $? "unrecognized option: \`$1'
19653 Try \`$0 --help' for more information." ;;
19655 *) as_fn_append ac_config_targets " $1"
19656 ac_need_defaults=false ;;
19658 esac
19659 shift
19660 done
19662 ac_configure_extra_args=
19664 if $ac_cs_silent; then
19665 exec 6>/dev/null
19666 ac_configure_extra_args="$ac_configure_extra_args --silent"
19669 _ACEOF
19670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19671 if \$ac_cs_recheck; then
19672 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19673 shift
19674 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19675 CONFIG_SHELL='$SHELL'
19676 export CONFIG_SHELL
19677 exec "\$@"
19680 _ACEOF
19681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19682 exec 5>>config.log
19684 echo
19685 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19686 ## Running $as_me. ##
19687 _ASBOX
19688 $as_echo "$ac_log"
19689 } >&5
19691 _ACEOF
19692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19694 # INIT-COMMANDS
19696 wine_fn_output_makedep ()
19698 as_dir=tools; as_fn_mkdir_p
19699 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19701 wine_fn_output_makefile ()
19703 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19704 `cat $wine_rules_file`
19705 _WINE_EOF
19706 as_fn_error $? "could not create Makefile" "$LINENO" 5
19709 _ACEOF
19711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19713 # Handling of arguments.
19714 for ac_config_target in $ac_config_targets
19716 case $ac_config_target in
19717 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19718 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19719 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19720 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19721 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19722 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19723 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19724 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19725 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19726 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19727 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19728 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19729 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19731 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19732 esac
19733 done
19736 # If the user did not use the arguments to specify the items to instantiate,
19737 # then the envvar interface is used. Set only those that are not.
19738 # We use the long form for the default assignment because of an extremely
19739 # bizarre bug on SunOS 4.1.3.
19740 if $ac_need_defaults; then
19741 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19742 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19743 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19744 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19747 # Have a temporary directory for convenience. Make it in the build tree
19748 # simply because there is no reason against having it here, and in addition,
19749 # creating and moving files from /tmp can sometimes cause problems.
19750 # Hook for its removal unless debugging.
19751 # Note that there is a small window in which the directory will not be cleaned:
19752 # after its creation but before its name has been assigned to `$tmp'.
19753 $debug ||
19755 tmp= ac_tmp=
19756 trap 'exit_status=$?
19757 : "${ac_tmp:=$tmp}"
19758 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19760 trap 'as_fn_exit 1' 1 2 13 15
19762 # Create a (secure) tmp directory for tmp files.
19765 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19766 test -d "$tmp"
19767 } ||
19769 tmp=./conf$$-$RANDOM
19770 (umask 077 && mkdir "$tmp")
19771 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19772 ac_tmp=$tmp
19774 # Set up the scripts for CONFIG_FILES section.
19775 # No need to generate them if there are no CONFIG_FILES.
19776 # This happens for instance with `./config.status config.h'.
19777 if test -n "$CONFIG_FILES"; then
19780 ac_cr=`echo X | tr X '\015'`
19781 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19782 # But we know of no other shell where ac_cr would be empty at this
19783 # point, so we can use a bashism as a fallback.
19784 if test "x$ac_cr" = x; then
19785 eval ac_cr=\$\'\\r\'
19787 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19788 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19789 ac_cs_awk_cr='\\r'
19790 else
19791 ac_cs_awk_cr=$ac_cr
19794 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19795 _ACEOF
19799 echo "cat >conf$$subs.awk <<_ACEOF" &&
19800 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19801 echo "_ACEOF"
19802 } >conf$$subs.sh ||
19803 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19804 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19805 ac_delim='%!_!# '
19806 for ac_last_try in false false false false false :; do
19807 . ./conf$$subs.sh ||
19808 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19810 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19811 if test $ac_delim_n = $ac_delim_num; then
19812 break
19813 elif $ac_last_try; then
19814 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19815 else
19816 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19818 done
19819 rm -f conf$$subs.sh
19821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19822 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19823 _ACEOF
19824 sed -n '
19826 s/^/S["/; s/!.*/"]=/
19829 s/^[^!]*!//
19830 :repl
19831 t repl
19832 s/'"$ac_delim"'$//
19833 t delim
19836 s/\(.\{148\}\)..*/\1/
19837 t more1
19838 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19841 b repl
19842 :more1
19843 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19846 s/.\{148\}//
19847 t nl
19848 :delim
19850 s/\(.\{148\}\)..*/\1/
19851 t more2
19852 s/["\\]/\\&/g; s/^/"/; s/$/"/
19855 :more2
19856 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19859 s/.\{148\}//
19860 t delim
19861 ' <conf$$subs.awk | sed '
19862 /^[^""]/{
19864 s/\n//
19866 ' >>$CONFIG_STATUS || ac_write_fail=1
19867 rm -f conf$$subs.awk
19868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19869 _ACAWK
19870 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19871 for (key in S) S_is_set[key] = 1
19872 FS = "\a"
19876 line = $ 0
19877 nfields = split(line, field, "@")
19878 substed = 0
19879 len = length(field[1])
19880 for (i = 2; i < nfields; i++) {
19881 key = field[i]
19882 keylen = length(key)
19883 if (S_is_set[key]) {
19884 value = S[key]
19885 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19886 len += length(value) + length(field[++i])
19887 substed = 1
19888 } else
19889 len += 1 + keylen
19892 print line
19895 _ACAWK
19896 _ACEOF
19897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19898 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19899 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19900 else
19902 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19903 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19904 _ACEOF
19906 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19907 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19908 # trailing colons and then remove the whole line if VPATH becomes empty
19909 # (actually we leave an empty line to preserve line numbers).
19910 if test "x$srcdir" = x.; then
19911 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19913 s///
19914 s/^/:/
19915 s/[ ]*$/:/
19916 s/:\$(srcdir):/:/g
19917 s/:\${srcdir}:/:/g
19918 s/:@srcdir@:/:/g
19919 s/^:*//
19920 s/:*$//
19922 s/\(=[ ]*\).*/\1/
19924 s/\n//
19925 s/^[^=]*=[ ]*$//
19929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19930 fi # test -n "$CONFIG_FILES"
19932 # Set up the scripts for CONFIG_HEADERS section.
19933 # No need to generate them if there are no CONFIG_HEADERS.
19934 # This happens for instance with `./config.status Makefile'.
19935 if test -n "$CONFIG_HEADERS"; then
19936 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19937 BEGIN {
19938 _ACEOF
19940 # Transform confdefs.h into an awk script `defines.awk', embedded as
19941 # here-document in config.status, that substitutes the proper values into
19942 # config.h.in to produce config.h.
19944 # Create a delimiter string that does not exist in confdefs.h, to ease
19945 # handling of long lines.
19946 ac_delim='%!_!# '
19947 for ac_last_try in false false :; do
19948 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19949 if test -z "$ac_tt"; then
19950 break
19951 elif $ac_last_try; then
19952 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19953 else
19954 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19956 done
19958 # For the awk script, D is an array of macro values keyed by name,
19959 # likewise P contains macro parameters if any. Preserve backslash
19960 # newline sequences.
19962 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19963 sed -n '
19964 s/.\{148\}/&'"$ac_delim"'/g
19965 t rset
19966 :rset
19967 s/^[ ]*#[ ]*define[ ][ ]*/ /
19968 t def
19970 :def
19971 s/\\$//
19972 t bsnl
19973 s/["\\]/\\&/g
19974 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19975 D["\1"]=" \3"/p
19976 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19978 :bsnl
19979 s/["\\]/\\&/g
19980 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19981 D["\1"]=" \3\\\\\\n"\\/p
19982 t cont
19983 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19984 t cont
19986 :cont
19988 s/.\{148\}/&'"$ac_delim"'/g
19989 t clear
19990 :clear
19991 s/\\$//
19992 t bsnlc
19993 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19995 :bsnlc
19996 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19997 b cont
19998 ' <confdefs.h | sed '
19999 s/'"$ac_delim"'/"\\\
20000 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20003 for (key in D) D_is_set[key] = 1
20004 FS = "\a"
20006 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20007 line = \$ 0
20008 split(line, arg, " ")
20009 if (arg[1] == "#") {
20010 defundef = arg[2]
20011 mac1 = arg[3]
20012 } else {
20013 defundef = substr(arg[1], 2)
20014 mac1 = arg[2]
20016 split(mac1, mac2, "(") #)
20017 macro = mac2[1]
20018 prefix = substr(line, 1, index(line, defundef) - 1)
20019 if (D_is_set[macro]) {
20020 # Preserve the white space surrounding the "#".
20021 print prefix "define", macro P[macro] D[macro]
20022 next
20023 } else {
20024 # Replace #undef with comments. This is necessary, for example,
20025 # in the case of _POSIX_SOURCE, which is predefined and required
20026 # on some systems where configure will not decide to define it.
20027 if (defundef == "undef") {
20028 print "/*", prefix defundef, macro, "*/"
20029 next
20033 { print }
20034 _ACAWK
20035 _ACEOF
20036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20037 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20038 fi # test -n "$CONFIG_HEADERS"
20041 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20042 shift
20043 for ac_tag
20045 case $ac_tag in
20046 :[FHLC]) ac_mode=$ac_tag; continue;;
20047 esac
20048 case $ac_mode$ac_tag in
20049 :[FHL]*:*);;
20050 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20051 :[FH]-) ac_tag=-:-;;
20052 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20053 esac
20054 ac_save_IFS=$IFS
20055 IFS=:
20056 set x $ac_tag
20057 IFS=$ac_save_IFS
20058 shift
20059 ac_file=$1
20060 shift
20062 case $ac_mode in
20063 :L) ac_source=$1;;
20064 :[FH])
20065 ac_file_inputs=
20066 for ac_f
20068 case $ac_f in
20069 -) ac_f="$ac_tmp/stdin";;
20070 *) # Look for the file first in the build tree, then in the source tree
20071 # (if the path is not absolute). The absolute path cannot be DOS-style,
20072 # because $ac_f cannot contain `:'.
20073 test -f "$ac_f" ||
20074 case $ac_f in
20075 [\\/$]*) false;;
20076 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20077 esac ||
20078 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20079 esac
20080 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20081 as_fn_append ac_file_inputs " '$ac_f'"
20082 done
20084 # Let's still pretend it is `configure' which instantiates (i.e., don't
20085 # use $as_me), people would be surprised to read:
20086 # /* config.h. Generated by config.status. */
20087 configure_input='Generated from '`
20088 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20089 `' by configure.'
20090 if test x"$ac_file" != x-; then
20091 configure_input="$ac_file. $configure_input"
20092 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20093 $as_echo "$as_me: creating $ac_file" >&6;}
20095 # Neutralize special characters interpreted by sed in replacement strings.
20096 case $configure_input in #(
20097 *\&* | *\|* | *\\* )
20098 ac_sed_conf_input=`$as_echo "$configure_input" |
20099 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20100 *) ac_sed_conf_input=$configure_input;;
20101 esac
20103 case $ac_tag in
20104 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20105 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20106 esac
20108 esac
20110 ac_dir=`$as_dirname -- "$ac_file" ||
20111 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20112 X"$ac_file" : 'X\(//\)[^/]' \| \
20113 X"$ac_file" : 'X\(//\)$' \| \
20114 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20115 $as_echo X"$ac_file" |
20116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20117 s//\1/
20120 /^X\(\/\/\)[^/].*/{
20121 s//\1/
20124 /^X\(\/\/\)$/{
20125 s//\1/
20128 /^X\(\/\).*/{
20129 s//\1/
20132 s/.*/./; q'`
20133 as_dir="$ac_dir"; as_fn_mkdir_p
20134 ac_builddir=.
20136 case "$ac_dir" in
20137 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20139 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20140 # A ".." for each directory in $ac_dir_suffix.
20141 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20142 case $ac_top_builddir_sub in
20143 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20144 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20145 esac ;;
20146 esac
20147 ac_abs_top_builddir=$ac_pwd
20148 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20149 # for backward compatibility:
20150 ac_top_builddir=$ac_top_build_prefix
20152 case $srcdir in
20153 .) # We are building in place.
20154 ac_srcdir=.
20155 ac_top_srcdir=$ac_top_builddir_sub
20156 ac_abs_top_srcdir=$ac_pwd ;;
20157 [\\/]* | ?:[\\/]* ) # Absolute name.
20158 ac_srcdir=$srcdir$ac_dir_suffix;
20159 ac_top_srcdir=$srcdir
20160 ac_abs_top_srcdir=$srcdir ;;
20161 *) # Relative name.
20162 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20163 ac_top_srcdir=$ac_top_build_prefix$srcdir
20164 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20165 esac
20166 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20169 case $ac_mode in
20172 # CONFIG_FILE
20175 _ACEOF
20177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20178 # If the template does not know about datarootdir, expand it.
20179 # FIXME: This hack should be removed a few years after 2.60.
20180 ac_datarootdir_hack=; ac_datarootdir_seen=
20181 ac_sed_dataroot='
20182 /datarootdir/ {
20186 /@datadir@/p
20187 /@docdir@/p
20188 /@infodir@/p
20189 /@localedir@/p
20190 /@mandir@/p'
20191 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20192 *datarootdir*) ac_datarootdir_seen=yes;;
20193 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20195 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20196 _ACEOF
20197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20198 ac_datarootdir_hack='
20199 s&@datadir@&$datadir&g
20200 s&@docdir@&$docdir&g
20201 s&@infodir@&$infodir&g
20202 s&@localedir@&$localedir&g
20203 s&@mandir@&$mandir&g
20204 s&\\\${datarootdir}&$datarootdir&g' ;;
20205 esac
20206 _ACEOF
20208 # Neutralize VPATH when `$srcdir' = `.'.
20209 # Shell code in configure.ac might set extrasub.
20210 # FIXME: do we really want to maintain this feature?
20211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20212 ac_sed_extra="$ac_vpsub
20213 $extrasub
20214 _ACEOF
20215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20217 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20218 s|@configure_input@|$ac_sed_conf_input|;t t
20219 s&@top_builddir@&$ac_top_builddir_sub&;t t
20220 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20221 s&@srcdir@&$ac_srcdir&;t t
20222 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20223 s&@top_srcdir@&$ac_top_srcdir&;t t
20224 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20225 s&@builddir@&$ac_builddir&;t t
20226 s&@abs_builddir@&$ac_abs_builddir&;t t
20227 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20228 $ac_datarootdir_hack
20230 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20231 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20233 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20234 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20235 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20236 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20238 which seems to be undefined. Please make sure it is defined" >&5
20239 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20240 which seems to be undefined. Please make sure it is defined" >&2;}
20242 rm -f "$ac_tmp/stdin"
20243 case $ac_file in
20244 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20245 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20246 esac \
20247 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20251 # CONFIG_HEADER
20253 if test x"$ac_file" != x-; then
20255 $as_echo "/* $configure_input */" \
20256 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20257 } >"$ac_tmp/config.h" \
20258 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20259 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20261 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20262 else
20263 rm -f "$ac_file"
20264 mv "$ac_tmp/config.h" "$ac_file" \
20265 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20267 else
20268 $as_echo "/* $configure_input */" \
20269 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20270 || as_fn_error $? "could not create -" "$LINENO" 5
20275 # CONFIG_LINK
20278 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20280 else
20281 # Prefer the file from the source tree if names are identical.
20282 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20283 ac_source=$srcdir/$ac_source
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20287 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20289 if test ! -r "$ac_source"; then
20290 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20292 rm -f "$ac_file"
20294 # Try a relative symlink, then a hard link, then a copy.
20295 case $ac_source in
20296 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20297 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20298 esac
20299 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20300 ln "$ac_source" "$ac_file" 2>/dev/null ||
20301 cp -p "$ac_source" "$ac_file" ||
20302 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20305 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20306 $as_echo "$as_me: executing $ac_file commands" >&6;}
20308 esac
20311 case $ac_file$ac_mode in
20312 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20313 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20314 "Makefile":C) wine_fn_output_makefile Makefile ;;
20316 esac
20317 done # for ac_tag
20320 as_fn_exit 0
20321 _ACEOF
20322 ac_clean_files=$ac_clean_files_save
20324 test $ac_write_fail = 0 ||
20325 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20328 # configure is writing to config.log, and then calls config.status.
20329 # config.status does its own redirection, appending to config.log.
20330 # Unfortunately, on DOS this fails, as config.log is still kept open
20331 # by configure, so config.status won't be able to write to it; its
20332 # output is simply discarded. So we exec the FD to /dev/null,
20333 # effectively closing config.log, so it can be properly (re)opened and
20334 # appended to by config.status. When coming back to configure, we
20335 # need to make the FD available again.
20336 if test "$no_create" != yes; then
20337 ac_cs_success=:
20338 ac_config_status_args=
20339 test "$silent" = yes &&
20340 ac_config_status_args="$ac_config_status_args --quiet"
20341 exec 5>/dev/null
20342 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20343 exec 5>>config.log
20344 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20345 # would make configure fail if this is the last instruction.
20346 $ac_cs_success || as_fn_exit 1
20348 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20350 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20354 if test "$no_create" = "yes"
20355 then
20356 exit 0
20359 ac_save_IFS="$IFS"
20360 if test "x$wine_notices" != x; then
20361 echo >&6
20362 IFS="|"
20363 for msg in $wine_notices; do
20364 IFS="$ac_save_IFS"
20365 if ${msg:+false} :; then :
20367 else
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20369 $as_echo "$as_me: $msg" >&6;}
20371 done
20373 IFS="|"
20374 for msg in $wine_warnings; do
20375 IFS="$ac_save_IFS"
20376 if ${msg:+false} :; then :
20378 else
20379 echo >&2
20380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20381 $as_echo "$as_me: WARNING: $msg" >&2;}
20383 done
20384 IFS="$ac_save_IFS"
20386 $as_echo "
20387 $as_me: Finished. Do '${ac_make}' to compile Wine.
20388 " >&6