po: Update Russian translation.
[wine.git] / configure
blobf6053f19b55801aba5a052a6c0c949958dfee777
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_ansi_l1_1_0
953 enable_api_ms_win_core_psapi_l1_1_0
954 enable_api_ms_win_core_psapi_obsolete_l1_1_0
955 enable_api_ms_win_core_quirks_l1_1_0
956 enable_api_ms_win_core_realtime_l1_1_0
957 enable_api_ms_win_core_registry_l1_1_0
958 enable_api_ms_win_core_registry_l2_1_0
959 enable_api_ms_win_core_registryuserspecific_l1_1_0
960 enable_api_ms_win_core_rtlsupport_l1_1_0
961 enable_api_ms_win_core_rtlsupport_l1_2_0
962 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
963 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
964 enable_api_ms_win_core_sidebyside_l1_1_0
965 enable_api_ms_win_core_string_l1_1_0
966 enable_api_ms_win_core_string_l2_1_0
967 enable_api_ms_win_core_string_obsolete_l1_1_0
968 enable_api_ms_win_core_stringansi_l1_1_0
969 enable_api_ms_win_core_synch_l1_1_0
970 enable_api_ms_win_core_synch_l1_2_0
971 enable_api_ms_win_core_sysinfo_l1_1_0
972 enable_api_ms_win_core_sysinfo_l1_2_0
973 enable_api_ms_win_core_sysinfo_l1_2_1
974 enable_api_ms_win_core_threadpool_l1_1_0
975 enable_api_ms_win_core_threadpool_l1_2_0
976 enable_api_ms_win_core_threadpool_legacy_l1_1_0
977 enable_api_ms_win_core_threadpool_private_l1_1_0
978 enable_api_ms_win_core_timezone_l1_1_0
979 enable_api_ms_win_core_toolhelp_l1_1_0
980 enable_api_ms_win_core_url_l1_1_0
981 enable_api_ms_win_core_util_l1_1_0
982 enable_api_ms_win_core_version_l1_1_0
983 enable_api_ms_win_core_version_private_l1_1_0
984 enable_api_ms_win_core_versionansi_l1_1_0
985 enable_api_ms_win_core_windowserrorreporting_l1_1_0
986 enable_api_ms_win_core_winrt_error_l1_1_0
987 enable_api_ms_win_core_winrt_error_l1_1_1
988 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
989 enable_api_ms_win_core_winrt_l1_1_0
990 enable_api_ms_win_core_winrt_registration_l1_1_0
991 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
992 enable_api_ms_win_core_winrt_string_l1_1_0
993 enable_api_ms_win_core_wow64_l1_1_0
994 enable_api_ms_win_core_xstate_l1_1_0
995 enable_api_ms_win_core_xstate_l2_1_0
996 enable_api_ms_win_crt_conio_l1_1_0
997 enable_api_ms_win_crt_convert_l1_1_0
998 enable_api_ms_win_crt_environment_l1_1_0
999 enable_api_ms_win_crt_filesystem_l1_1_0
1000 enable_api_ms_win_crt_heap_l1_1_0
1001 enable_api_ms_win_crt_locale_l1_1_0
1002 enable_api_ms_win_crt_math_l1_1_0
1003 enable_api_ms_win_crt_multibyte_l1_1_0
1004 enable_api_ms_win_crt_private_l1_1_0
1005 enable_api_ms_win_crt_process_l1_1_0
1006 enable_api_ms_win_crt_runtime_l1_1_0
1007 enable_api_ms_win_crt_stdio_l1_1_0
1008 enable_api_ms_win_crt_string_l1_1_0
1009 enable_api_ms_win_crt_time_l1_1_0
1010 enable_api_ms_win_crt_utility_l1_1_0
1011 enable_api_ms_win_devices_config_l1_1_1
1012 enable_api_ms_win_devices_query_l1_1_1
1013 enable_api_ms_win_downlevel_advapi32_l1_1_0
1014 enable_api_ms_win_downlevel_advapi32_l2_1_0
1015 enable_api_ms_win_downlevel_normaliz_l1_1_0
1016 enable_api_ms_win_downlevel_ole32_l1_1_0
1017 enable_api_ms_win_downlevel_shell32_l1_1_0
1018 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1019 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1020 enable_api_ms_win_downlevel_user32_l1_1_0
1021 enable_api_ms_win_downlevel_version_l1_1_0
1022 enable_api_ms_win_dx_d3dkmt_l1_1_0
1023 enable_api_ms_win_eventing_classicprovider_l1_1_0
1024 enable_api_ms_win_eventing_consumer_l1_1_0
1025 enable_api_ms_win_eventing_controller_l1_1_0
1026 enable_api_ms_win_eventing_provider_l1_1_0
1027 enable_api_ms_win_eventlog_legacy_l1_1_0
1028 enable_api_ms_win_mm_misc_l1_1_1
1029 enable_api_ms_win_mm_mme_l1_1_0
1030 enable_api_ms_win_mm_time_l1_1_0
1031 enable_api_ms_win_ntuser_dc_access_l1_1_0
1032 enable_api_ms_win_power_base_l1_1_0
1033 enable_api_ms_win_power_setting_l1_1_0
1034 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1035 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1036 enable_api_ms_win_security_audit_l1_1_1
1037 enable_api_ms_win_security_base_l1_1_0
1038 enable_api_ms_win_security_base_l1_2_0
1039 enable_api_ms_win_security_base_private_l1_1_1
1040 enable_api_ms_win_security_credentials_l1_1_0
1041 enable_api_ms_win_security_grouppolicy_l1_1_0
1042 enable_api_ms_win_security_lsalookup_l1_1_0
1043 enable_api_ms_win_security_lsalookup_l1_1_1
1044 enable_api_ms_win_security_lsalookup_l2_1_1
1045 enable_api_ms_win_security_lsapolicy_l1_1_0
1046 enable_api_ms_win_security_provider_l1_1_0
1047 enable_api_ms_win_security_sddl_l1_1_0
1048 enable_api_ms_win_security_systemfunctions_l1_1_0
1049 enable_api_ms_win_service_core_l1_1_0
1050 enable_api_ms_win_service_core_l1_1_1
1051 enable_api_ms_win_service_management_l1_1_0
1052 enable_api_ms_win_service_management_l2_1_0
1053 enable_api_ms_win_service_private_l1_1_1
1054 enable_api_ms_win_service_winsvc_l1_1_0
1055 enable_api_ms_win_service_winsvc_l1_2_0
1056 enable_api_ms_win_shell_shellcom_l1_1_0
1057 enable_api_ms_win_shell_shellfolders_l1_1_0
1058 enable_apphelp
1059 enable_appwiz_cpl
1060 enable_atl
1061 enable_atl100
1062 enable_atl110
1063 enable_atl80
1064 enable_atl90
1065 enable_authz
1066 enable_avicap32
1067 enable_avifil32
1068 enable_avrt
1069 enable_bcrypt
1070 enable_bluetoothapis
1071 enable_browseui
1072 enable_bthprops_cpl
1073 enable_cabinet
1074 enable_capi2032
1075 enable_cards
1076 enable_cfgmgr32
1077 enable_clusapi
1078 enable_combase
1079 enable_comcat
1080 enable_comctl32
1081 enable_comdlg32
1082 enable_compstui
1083 enable_comsvcs
1084 enable_concrt140
1085 enable_connect
1086 enable_credui
1087 enable_crtdll
1088 enable_crypt32
1089 enable_cryptdlg
1090 enable_cryptdll
1091 enable_cryptext
1092 enable_cryptnet
1093 enable_cryptui
1094 enable_ctapi32
1095 enable_ctl3d32
1096 enable_d2d1
1097 enable_d3d10
1098 enable_d3d10_1
1099 enable_d3d10core
1100 enable_d3d11
1101 enable_d3d8
1102 enable_d3d9
1103 enable_d3dcompiler_33
1104 enable_d3dcompiler_34
1105 enable_d3dcompiler_35
1106 enable_d3dcompiler_36
1107 enable_d3dcompiler_37
1108 enable_d3dcompiler_38
1109 enable_d3dcompiler_39
1110 enable_d3dcompiler_40
1111 enable_d3dcompiler_41
1112 enable_d3dcompiler_42
1113 enable_d3dcompiler_43
1114 enable_d3dcompiler_46
1115 enable_d3dcompiler_47
1116 enable_d3dim
1117 enable_d3drm
1118 enable_d3dx10_33
1119 enable_d3dx10_34
1120 enable_d3dx10_35
1121 enable_d3dx10_36
1122 enable_d3dx10_37
1123 enable_d3dx10_38
1124 enable_d3dx10_39
1125 enable_d3dx10_40
1126 enable_d3dx10_41
1127 enable_d3dx10_42
1128 enable_d3dx10_43
1129 enable_d3dx11_42
1130 enable_d3dx11_43
1131 enable_d3dx9_24
1132 enable_d3dx9_25
1133 enable_d3dx9_26
1134 enable_d3dx9_27
1135 enable_d3dx9_28
1136 enable_d3dx9_29
1137 enable_d3dx9_30
1138 enable_d3dx9_31
1139 enable_d3dx9_32
1140 enable_d3dx9_33
1141 enable_d3dx9_34
1142 enable_d3dx9_35
1143 enable_d3dx9_36
1144 enable_d3dx9_37
1145 enable_d3dx9_38
1146 enable_d3dx9_39
1147 enable_d3dx9_40
1148 enable_d3dx9_41
1149 enable_d3dx9_42
1150 enable_d3dx9_43
1151 enable_d3dxof
1152 enable_davclnt
1153 enable_dbgeng
1154 enable_dbghelp
1155 enable_dciman32
1156 enable_ddraw
1157 enable_ddrawex
1158 enable_devenum
1159 enable_dhcpcsvc
1160 enable_difxapi
1161 enable_dinput
1162 enable_dinput8
1163 enable_dispex
1164 enable_dmband
1165 enable_dmcompos
1166 enable_dmime
1167 enable_dmloader
1168 enable_dmscript
1169 enable_dmstyle
1170 enable_dmsynth
1171 enable_dmusic
1172 enable_dmusic32
1173 enable_dnsapi
1174 enable_dplay
1175 enable_dplayx
1176 enable_dpnaddr
1177 enable_dpnet
1178 enable_dpnhpast
1179 enable_dpnlobby
1180 enable_dpvoice
1181 enable_dpwsockx
1182 enable_drmclien
1183 enable_dsound
1184 enable_dssenh
1185 enable_dswave
1186 enable_dwmapi
1187 enable_dwrite
1188 enable_dxdiagn
1189 enable_dxgi
1190 enable_dxva2
1191 enable_esent
1192 enable_evr
1193 enable_explorerframe
1194 enable_ext_ms_win_authz_context_l1_1_0
1195 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1196 enable_ext_ms_win_gdi_dc_create_l1_1_1
1197 enable_ext_ms_win_gdi_dc_l1_2_0
1198 enable_ext_ms_win_gdi_devcaps_l1_1_0
1199 enable_ext_ms_win_gdi_draw_l1_1_1
1200 enable_ext_ms_win_gdi_render_l1_1_0
1201 enable_ext_ms_win_kernel32_package_current_l1_1_0
1202 enable_ext_ms_win_kernel32_package_l1_1_1
1203 enable_ext_ms_win_ntuser_message_l1_1_1
1204 enable_ext_ms_win_ntuser_private_l1_1_1
1205 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1206 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1207 enable_ext_ms_win_ntuser_window_l1_1_1
1208 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1209 enable_ext_ms_win_ras_rasapi32_l1_1_0
1210 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1211 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1212 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1213 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1214 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1215 enable_ext_ms_win_security_credui_l1_1_0
1216 enable_ext_ms_win_security_cryptui_l1_1_0
1217 enable_faultrep
1218 enable_fltlib
1219 enable_fltmgr_sys
1220 enable_fntcache
1221 enable_fontsub
1222 enable_fusion
1223 enable_fwpuclnt
1224 enable_gameux
1225 enable_gdi32
1226 enable_gdiplus
1227 enable_glu32
1228 enable_gphoto2_ds
1229 enable_gpkcsp
1230 enable_hal
1231 enable_hhctrl_ocx
1232 enable_hid
1233 enable_hidclass_sys
1234 enable_hlink
1235 enable_hnetcfg
1236 enable_httpapi
1237 enable_iccvid
1238 enable_icmp
1239 enable_ieframe
1240 enable_imaadp32_acm
1241 enable_imagehlp
1242 enable_imm32
1243 enable_inetcomm
1244 enable_inetcpl_cpl
1245 enable_inetmib1
1246 enable_infosoft
1247 enable_initpki
1248 enable_inkobj
1249 enable_inseng
1250 enable_iphlpapi
1251 enable_iprop
1252 enable_irprops_cpl
1253 enable_itircl
1254 enable_itss
1255 enable_joy_cpl
1256 enable_jscript
1257 enable_jsproxy
1258 enable_kernel32
1259 enable_kernelbase
1260 enable_ksuser
1261 enable_ktmw32
1262 enable_loadperf
1263 enable_localspl
1264 enable_localui
1265 enable_lz32
1266 enable_mapi32
1267 enable_mapistub
1268 enable_mciavi32
1269 enable_mcicda
1270 enable_mciqtz32
1271 enable_mciseq
1272 enable_mciwave
1273 enable_mf
1274 enable_mf3216
1275 enable_mfplat
1276 enable_mfreadwrite
1277 enable_mgmtapi
1278 enable_midimap
1279 enable_mlang
1280 enable_mmcndmgr
1281 enable_mmdevapi
1282 enable_mountmgr_sys
1283 enable_mpr
1284 enable_mprapi
1285 enable_msacm32_drv
1286 enable_msacm32
1287 enable_msadp32_acm
1288 enable_msasn1
1289 enable_mscat32
1290 enable_mscms
1291 enable_mscoree
1292 enable_msctf
1293 enable_msctfp
1294 enable_msdaps
1295 enable_msdelta
1296 enable_msdmo
1297 enable_msdrm
1298 enable_msftedit
1299 enable_msg711_acm
1300 enable_msgsm32_acm
1301 enable_mshtml_tlb
1302 enable_mshtml
1303 enable_msi
1304 enable_msident
1305 enable_msimg32
1306 enable_msimsg
1307 enable_msimtf
1308 enable_msisip
1309 enable_msisys_ocx
1310 enable_msls31
1311 enable_msnet32
1312 enable_mspatcha
1313 enable_msports
1314 enable_msrle32
1315 enable_msscript_ocx
1316 enable_mssign32
1317 enable_mssip32
1318 enable_mstask
1319 enable_msvcirt
1320 enable_msvcm80
1321 enable_msvcm90
1322 enable_msvcp100
1323 enable_msvcp110
1324 enable_msvcp120
1325 enable_msvcp120_app
1326 enable_msvcp140
1327 enable_msvcp60
1328 enable_msvcp70
1329 enable_msvcp71
1330 enable_msvcp80
1331 enable_msvcp90
1332 enable_msvcr100
1333 enable_msvcr110
1334 enable_msvcr120
1335 enable_msvcr120_app
1336 enable_msvcr70
1337 enable_msvcr71
1338 enable_msvcr80
1339 enable_msvcr90
1340 enable_msvcrt
1341 enable_msvcrt20
1342 enable_msvcrt40
1343 enable_msvcrtd
1344 enable_msvfw32
1345 enable_msvidc32
1346 enable_mswsock
1347 enable_msxml
1348 enable_msxml2
1349 enable_msxml3
1350 enable_msxml4
1351 enable_msxml6
1352 enable_mtxdm
1353 enable_ncrypt
1354 enable_nddeapi
1355 enable_ndis_sys
1356 enable_netapi32
1357 enable_netcfgx
1358 enable_netprofm
1359 enable_newdev
1360 enable_normaliz
1361 enable_npmshtml
1362 enable_npptools
1363 enable_ntdll
1364 enable_ntdsapi
1365 enable_ntoskrnl_exe
1366 enable_ntprint
1367 enable_objsel
1368 enable_odbc32
1369 enable_odbccp32
1370 enable_odbccu32
1371 enable_ole32
1372 enable_oleacc
1373 enable_oleaut32
1374 enable_olecli32
1375 enable_oledb32
1376 enable_oledlg
1377 enable_olepro32
1378 enable_olesvr32
1379 enable_olethk32
1380 enable_openal32
1381 enable_opencl
1382 enable_opengl32
1383 enable_packager
1384 enable_pdh
1385 enable_photometadatahandler
1386 enable_pidgen
1387 enable_powrprof
1388 enable_printui
1389 enable_prntvpt
1390 enable_propsys
1391 enable_psapi
1392 enable_pstorec
1393 enable_qcap
1394 enable_qedit
1395 enable_qmgr
1396 enable_qmgrprxy
1397 enable_quartz
1398 enable_query
1399 enable_rasapi32
1400 enable_rasdlg
1401 enable_regapi
1402 enable_resutils
1403 enable_riched20
1404 enable_riched32
1405 enable_rpcrt4
1406 enable_rsabase
1407 enable_rsaenh
1408 enable_rstrtmgr
1409 enable_rtutils
1410 enable_samlib
1411 enable_sane_ds
1412 enable_scarddlg
1413 enable_sccbase
1414 enable_schannel
1415 enable_schedsvc
1416 enable_scrobj
1417 enable_scrrun
1418 enable_scsiport_sys
1419 enable_secur32
1420 enable_security
1421 enable_sensapi
1422 enable_serialui
1423 enable_setupapi
1424 enable_sfc
1425 enable_sfc_os
1426 enable_shdoclc
1427 enable_shdocvw
1428 enable_shell32
1429 enable_shfolder
1430 enable_shlwapi
1431 enable_slbcsp
1432 enable_slc
1433 enable_snmpapi
1434 enable_softpub
1435 enable_spoolss
1436 enable_sspicli
1437 enable_stdole2_tlb
1438 enable_stdole32_tlb
1439 enable_sti
1440 enable_svrapi
1441 enable_sxs
1442 enable_t2embed
1443 enable_tapi32
1444 enable_taskschd
1445 enable_tdh
1446 enable_tdi_sys
1447 enable_traffic
1448 enable_twain_32
1449 enable_ucrtbase
1450 enable_uiautomationcore
1451 enable_unicows
1452 enable_updspapi
1453 enable_url
1454 enable_urlmon
1455 enable_usbd_sys
1456 enable_user32
1457 enable_userenv
1458 enable_usp10
1459 enable_uxtheme
1460 enable_vbscript
1461 enable_vcomp
1462 enable_vcomp100
1463 enable_vcomp110
1464 enable_vcomp120
1465 enable_vcomp140
1466 enable_vcomp90
1467 enable_vcruntime140
1468 enable_vdmdbg
1469 enable_version
1470 enable_virtdisk
1471 enable_vssapi
1472 enable_wbemdisp
1473 enable_wbemprox
1474 enable_webservices
1475 enable_wer
1476 enable_wevtapi
1477 enable_wiaservc
1478 enable_wimgapi
1479 enable_windowscodecs
1480 enable_windowscodecsext
1481 enable_winealsa_drv
1482 enable_wineandroid_drv
1483 enable_winebus_sys
1484 enable_winecoreaudio_drv
1485 enable_wined3d
1486 enable_winegstreamer
1487 enable_winehid_sys
1488 enable_winejoystick_drv
1489 enable_winemac_drv
1490 enable_winemapi
1491 enable_winemp3_acm
1492 enable_wineoss_drv
1493 enable_wineps_drv
1494 enable_winepulse_drv
1495 enable_wineqtdecoder
1496 enable_winex11_drv
1497 enable_wing32
1498 enable_winhttp
1499 enable_wininet
1500 enable_winmm
1501 enable_winnls32
1502 enable_winscard
1503 enable_winspool_drv
1504 enable_winsta
1505 enable_wintab32
1506 enable_wintrust
1507 enable_winusb
1508 enable_wlanapi
1509 enable_wldap32
1510 enable_wmasf
1511 enable_wmi
1512 enable_wmiutils
1513 enable_wmp
1514 enable_wmvcore
1515 enable_wnaspi32
1516 enable_wpc
1517 enable_wpcap
1518 enable_ws2_32
1519 enable_wsdapi
1520 enable_wshom_ocx
1521 enable_wsnmp32
1522 enable_wsock32
1523 enable_wtsapi32
1524 enable_wuapi
1525 enable_wuaueng
1526 enable_x3daudio1_0
1527 enable_x3daudio1_1
1528 enable_x3daudio1_2
1529 enable_x3daudio1_3
1530 enable_x3daudio1_4
1531 enable_x3daudio1_5
1532 enable_x3daudio1_6
1533 enable_x3daudio1_7
1534 enable_xapofx1_1
1535 enable_xapofx1_2
1536 enable_xapofx1_3
1537 enable_xapofx1_4
1538 enable_xapofx1_5
1539 enable_xaudio2_0
1540 enable_xaudio2_1
1541 enable_xaudio2_2
1542 enable_xaudio2_3
1543 enable_xaudio2_4
1544 enable_xaudio2_5
1545 enable_xaudio2_6
1546 enable_xaudio2_7
1547 enable_xaudio2_8
1548 enable_xaudio2_9
1549 enable_xinput1_1
1550 enable_xinput1_2
1551 enable_xinput1_3
1552 enable_xinput1_4
1553 enable_xinput9_1_0
1554 enable_xmllite
1555 enable_xolehlp
1556 enable_xpsprint
1557 enable_xpssvcs
1558 enable_fonts
1559 enable_include
1560 enable_libs_port
1561 enable_libs_wine
1562 enable_libs_wpp
1563 enable_loader
1564 enable_po
1565 enable_arp
1566 enable_aspnet_regiis
1567 enable_attrib
1568 enable_cabarc
1569 enable_cacls
1570 enable_clock
1571 enable_cmd
1572 enable_conhost
1573 enable_control
1574 enable_cscript
1575 enable_dpnsvr
1576 enable_dxdiag
1577 enable_eject
1578 enable_expand
1579 enable_explorer
1580 enable_extrac32
1581 enable_findstr
1582 enable_fsutil
1583 enable_hh
1584 enable_hostname
1585 enable_icacls
1586 enable_icinfo
1587 enable_iexplore
1588 enable_ipconfig
1589 enable_lodctr
1590 enable_mofcomp
1591 enable_mshta
1592 enable_msiexec
1593 enable_msinfo32
1594 enable_net
1595 enable_netsh
1596 enable_netstat
1597 enable_ngen
1598 enable_notepad
1599 enable_oleview
1600 enable_ping
1601 enable_plugplay
1602 enable_presentationfontcache
1603 enable_progman
1604 enable_reg
1605 enable_regasm
1606 enable_regedit
1607 enable_regsvcs
1608 enable_regsvr32
1609 enable_rpcss
1610 enable_rundll32
1611 enable_sc
1612 enable_schtasks
1613 enable_sdbinst
1614 enable_secedit
1615 enable_servicemodelreg
1616 enable_services
1617 enable_shutdown
1618 enable_spoolsv
1619 enable_start
1620 enable_subst
1621 enable_svchost
1622 enable_systeminfo
1623 enable_taskkill
1624 enable_tasklist
1625 enable_taskmgr
1626 enable_termsv
1627 enable_uninstaller
1628 enable_unlodctr
1629 enable_view
1630 enable_wevtutil
1631 enable_wineboot
1632 enable_winebrowser
1633 enable_winecfg
1634 enable_wineconsole
1635 enable_winedbg
1636 enable_winedevice
1637 enable_winefile
1638 enable_winemenubuilder
1639 enable_winemine
1640 enable_winemsibuilder
1641 enable_winepath
1642 enable_winetest
1643 enable_winhlp32
1644 enable_winver
1645 enable_wmic
1646 enable_wmplayer
1647 enable_wordpad
1648 enable_write
1649 enable_wscript
1650 enable_wusa
1651 enable_xcopy
1652 enable_server
1653 enable_tools
1655 ac_precious_vars='build_alias
1656 host_alias
1657 target_alias
1659 CFLAGS
1660 LDFLAGS
1661 LIBS
1662 CPPFLAGS
1664 CXXFLAGS
1667 XMKMF
1668 XML2_CFLAGS
1669 XML2_LIBS
1670 XSLT_CFLAGS
1671 XSLT_LIBS
1672 DBUS_CFLAGS
1673 DBUS_LIBS
1674 HAL_CFLAGS
1675 HAL_LIBS
1676 GNUTLS_CFLAGS
1677 GNUTLS_LIBS
1678 SANE_CFLAGS
1679 SANE_LIBS
1680 GPHOTO2_CFLAGS
1681 GPHOTO2_LIBS
1682 GPHOTO2_PORT_CFLAGS
1683 GPHOTO2_PORT_LIBS
1684 LCMS2_CFLAGS
1685 LCMS2_LIBS
1686 FREETYPE_CFLAGS
1687 FREETYPE_LIBS
1688 PULSE_CFLAGS
1689 PULSE_LIBS
1690 GSTREAMER_CFLAGS
1691 GSTREAMER_LIBS
1692 UDEV_CFLAGS
1693 UDEV_LIBS
1694 CAPI20_CFLAGS
1695 CAPI20_LIBS
1696 FONTCONFIG_CFLAGS
1697 FONTCONFIG_LIBS
1698 JPEG_CFLAGS
1699 JPEG_LIBS
1700 PNG_CFLAGS
1701 PNG_LIBS
1702 TIFF_CFLAGS
1703 TIFF_LIBS
1704 MPG123_CFLAGS
1705 MPG123_LIBS
1706 NETAPI_CFLAGS
1707 NETAPI_LIBS'
1710 # Initialize some variables set by options.
1711 ac_init_help=
1712 ac_init_version=false
1713 ac_unrecognized_opts=
1714 ac_unrecognized_sep=
1715 # The variables have the same names as the options, with
1716 # dashes changed to underlines.
1717 cache_file=/dev/null
1718 exec_prefix=NONE
1719 no_create=
1720 no_recursion=
1721 prefix=NONE
1722 program_prefix=NONE
1723 program_suffix=NONE
1724 program_transform_name=s,x,x,
1725 silent=
1726 site=
1727 srcdir=
1728 verbose=
1729 x_includes=NONE
1730 x_libraries=NONE
1732 # Installation directory options.
1733 # These are left unexpanded so users can "make install exec_prefix=/foo"
1734 # and all the variables that are supposed to be based on exec_prefix
1735 # by default will actually change.
1736 # Use braces instead of parens because sh, perl, etc. also accept them.
1737 # (The list follows the same order as the GNU Coding Standards.)
1738 bindir='${exec_prefix}/bin'
1739 sbindir='${exec_prefix}/sbin'
1740 libexecdir='${exec_prefix}/libexec'
1741 datarootdir='${prefix}/share'
1742 datadir='${datarootdir}'
1743 sysconfdir='${prefix}/etc'
1744 sharedstatedir='${prefix}/com'
1745 localstatedir='${prefix}/var'
1746 runstatedir='${localstatedir}/run'
1747 includedir='${prefix}/include'
1748 oldincludedir='/usr/include'
1749 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1750 infodir='${datarootdir}/info'
1751 htmldir='${docdir}'
1752 dvidir='${docdir}'
1753 pdfdir='${docdir}'
1754 psdir='${docdir}'
1755 libdir='${exec_prefix}/lib'
1756 localedir='${datarootdir}/locale'
1757 mandir='${datarootdir}/man'
1759 ac_prev=
1760 ac_dashdash=
1761 for ac_option
1763 # If the previous option needs an argument, assign it.
1764 if test -n "$ac_prev"; then
1765 eval $ac_prev=\$ac_option
1766 ac_prev=
1767 continue
1770 case $ac_option in
1771 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1772 *=) ac_optarg= ;;
1773 *) ac_optarg=yes ;;
1774 esac
1776 # Accept the important Cygnus configure options, so we can diagnose typos.
1778 case $ac_dashdash$ac_option in
1780 ac_dashdash=yes ;;
1782 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1783 ac_prev=bindir ;;
1784 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1785 bindir=$ac_optarg ;;
1787 -build | --build | --buil | --bui | --bu)
1788 ac_prev=build_alias ;;
1789 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1790 build_alias=$ac_optarg ;;
1792 -cache-file | --cache-file | --cache-fil | --cache-fi \
1793 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1794 ac_prev=cache_file ;;
1795 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1796 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1797 cache_file=$ac_optarg ;;
1799 --config-cache | -C)
1800 cache_file=config.cache ;;
1802 -datadir | --datadir | --datadi | --datad)
1803 ac_prev=datadir ;;
1804 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1805 datadir=$ac_optarg ;;
1807 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1808 | --dataroo | --dataro | --datar)
1809 ac_prev=datarootdir ;;
1810 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1811 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1812 datarootdir=$ac_optarg ;;
1814 -disable-* | --disable-*)
1815 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1816 # Reject names that are not valid shell variable names.
1817 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1818 as_fn_error $? "invalid feature name: $ac_useropt"
1819 ac_useropt_orig=$ac_useropt
1820 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1821 case $ac_user_opts in
1823 "enable_$ac_useropt"
1824 "*) ;;
1825 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1826 ac_unrecognized_sep=', ';;
1827 esac
1828 eval enable_$ac_useropt=no ;;
1830 -docdir | --docdir | --docdi | --doc | --do)
1831 ac_prev=docdir ;;
1832 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1833 docdir=$ac_optarg ;;
1835 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1836 ac_prev=dvidir ;;
1837 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1838 dvidir=$ac_optarg ;;
1840 -enable-* | --enable-*)
1841 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1842 # Reject names that are not valid shell variable names.
1843 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1844 as_fn_error $? "invalid feature name: $ac_useropt"
1845 ac_useropt_orig=$ac_useropt
1846 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1847 case $ac_user_opts in
1849 "enable_$ac_useropt"
1850 "*) ;;
1851 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1852 ac_unrecognized_sep=', ';;
1853 esac
1854 eval enable_$ac_useropt=\$ac_optarg ;;
1856 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1857 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1858 | --exec | --exe | --ex)
1859 ac_prev=exec_prefix ;;
1860 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1861 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1862 | --exec=* | --exe=* | --ex=*)
1863 exec_prefix=$ac_optarg ;;
1865 -gas | --gas | --ga | --g)
1866 # Obsolete; use --with-gas.
1867 with_gas=yes ;;
1869 -help | --help | --hel | --he | -h)
1870 ac_init_help=long ;;
1871 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1872 ac_init_help=recursive ;;
1873 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1874 ac_init_help=short ;;
1876 -host | --host | --hos | --ho)
1877 ac_prev=host_alias ;;
1878 -host=* | --host=* | --hos=* | --ho=*)
1879 host_alias=$ac_optarg ;;
1881 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1882 ac_prev=htmldir ;;
1883 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1884 | --ht=*)
1885 htmldir=$ac_optarg ;;
1887 -includedir | --includedir | --includedi | --included | --include \
1888 | --includ | --inclu | --incl | --inc)
1889 ac_prev=includedir ;;
1890 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1891 | --includ=* | --inclu=* | --incl=* | --inc=*)
1892 includedir=$ac_optarg ;;
1894 -infodir | --infodir | --infodi | --infod | --info | --inf)
1895 ac_prev=infodir ;;
1896 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1897 infodir=$ac_optarg ;;
1899 -libdir | --libdir | --libdi | --libd)
1900 ac_prev=libdir ;;
1901 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1902 libdir=$ac_optarg ;;
1904 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1905 | --libexe | --libex | --libe)
1906 ac_prev=libexecdir ;;
1907 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1908 | --libexe=* | --libex=* | --libe=*)
1909 libexecdir=$ac_optarg ;;
1911 -localedir | --localedir | --localedi | --localed | --locale)
1912 ac_prev=localedir ;;
1913 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1914 localedir=$ac_optarg ;;
1916 -localstatedir | --localstatedir | --localstatedi | --localstated \
1917 | --localstate | --localstat | --localsta | --localst | --locals)
1918 ac_prev=localstatedir ;;
1919 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1920 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1921 localstatedir=$ac_optarg ;;
1923 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1924 ac_prev=mandir ;;
1925 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1926 mandir=$ac_optarg ;;
1928 -nfp | --nfp | --nf)
1929 # Obsolete; use --without-fp.
1930 with_fp=no ;;
1932 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1933 | --no-cr | --no-c | -n)
1934 no_create=yes ;;
1936 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1937 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1938 no_recursion=yes ;;
1940 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1941 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1942 | --oldin | --oldi | --old | --ol | --o)
1943 ac_prev=oldincludedir ;;
1944 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1945 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1946 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1947 oldincludedir=$ac_optarg ;;
1949 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1950 ac_prev=prefix ;;
1951 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1952 prefix=$ac_optarg ;;
1954 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1955 | --program-pre | --program-pr | --program-p)
1956 ac_prev=program_prefix ;;
1957 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1958 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1959 program_prefix=$ac_optarg ;;
1961 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1962 | --program-suf | --program-su | --program-s)
1963 ac_prev=program_suffix ;;
1964 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1965 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1966 program_suffix=$ac_optarg ;;
1968 -program-transform-name | --program-transform-name \
1969 | --program-transform-nam | --program-transform-na \
1970 | --program-transform-n | --program-transform- \
1971 | --program-transform | --program-transfor \
1972 | --program-transfo | --program-transf \
1973 | --program-trans | --program-tran \
1974 | --progr-tra | --program-tr | --program-t)
1975 ac_prev=program_transform_name ;;
1976 -program-transform-name=* | --program-transform-name=* \
1977 | --program-transform-nam=* | --program-transform-na=* \
1978 | --program-transform-n=* | --program-transform-=* \
1979 | --program-transform=* | --program-transfor=* \
1980 | --program-transfo=* | --program-transf=* \
1981 | --program-trans=* | --program-tran=* \
1982 | --progr-tra=* | --program-tr=* | --program-t=*)
1983 program_transform_name=$ac_optarg ;;
1985 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1986 ac_prev=pdfdir ;;
1987 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1988 pdfdir=$ac_optarg ;;
1990 -psdir | --psdir | --psdi | --psd | --ps)
1991 ac_prev=psdir ;;
1992 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1993 psdir=$ac_optarg ;;
1995 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1996 | -silent | --silent | --silen | --sile | --sil)
1997 silent=yes ;;
1999 -runstatedir | --runstatedir | --runstatedi | --runstated \
2000 | --runstate | --runstat | --runsta | --runst | --runs \
2001 | --run | --ru | --r)
2002 ac_prev=runstatedir ;;
2003 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2004 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2005 | --run=* | --ru=* | --r=*)
2006 runstatedir=$ac_optarg ;;
2008 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2009 ac_prev=sbindir ;;
2010 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2011 | --sbi=* | --sb=*)
2012 sbindir=$ac_optarg ;;
2014 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2015 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2016 | --sharedst | --shareds | --shared | --share | --shar \
2017 | --sha | --sh)
2018 ac_prev=sharedstatedir ;;
2019 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2020 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2021 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2022 | --sha=* | --sh=*)
2023 sharedstatedir=$ac_optarg ;;
2025 -site | --site | --sit)
2026 ac_prev=site ;;
2027 -site=* | --site=* | --sit=*)
2028 site=$ac_optarg ;;
2030 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2031 ac_prev=srcdir ;;
2032 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2033 srcdir=$ac_optarg ;;
2035 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2036 | --syscon | --sysco | --sysc | --sys | --sy)
2037 ac_prev=sysconfdir ;;
2038 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2039 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2040 sysconfdir=$ac_optarg ;;
2042 -target | --target | --targe | --targ | --tar | --ta | --t)
2043 ac_prev=target_alias ;;
2044 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2045 target_alias=$ac_optarg ;;
2047 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2048 verbose=yes ;;
2050 -version | --version | --versio | --versi | --vers | -V)
2051 ac_init_version=: ;;
2053 -with-* | --with-*)
2054 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2055 # Reject names that are not valid shell variable names.
2056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2057 as_fn_error $? "invalid package name: $ac_useropt"
2058 ac_useropt_orig=$ac_useropt
2059 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2060 case $ac_user_opts in
2062 "with_$ac_useropt"
2063 "*) ;;
2064 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2065 ac_unrecognized_sep=', ';;
2066 esac
2067 eval with_$ac_useropt=\$ac_optarg ;;
2069 -without-* | --without-*)
2070 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2071 # Reject names that are not valid shell variable names.
2072 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2073 as_fn_error $? "invalid package name: $ac_useropt"
2074 ac_useropt_orig=$ac_useropt
2075 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2076 case $ac_user_opts in
2078 "with_$ac_useropt"
2079 "*) ;;
2080 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2081 ac_unrecognized_sep=', ';;
2082 esac
2083 eval with_$ac_useropt=no ;;
2085 --x)
2086 # Obsolete; use --with-x.
2087 with_x=yes ;;
2089 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2090 | --x-incl | --x-inc | --x-in | --x-i)
2091 ac_prev=x_includes ;;
2092 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2093 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2094 x_includes=$ac_optarg ;;
2096 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2097 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2098 ac_prev=x_libraries ;;
2099 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2100 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2101 x_libraries=$ac_optarg ;;
2103 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2104 Try \`$0 --help' for more information"
2107 *=*)
2108 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2109 # Reject names that are not valid shell variable names.
2110 case $ac_envvar in #(
2111 '' | [0-9]* | *[!_$as_cr_alnum]* )
2112 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2113 esac
2114 eval $ac_envvar=\$ac_optarg
2115 export $ac_envvar ;;
2118 # FIXME: should be removed in autoconf 3.0.
2119 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2120 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2121 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2122 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2125 esac
2126 done
2128 if test -n "$ac_prev"; then
2129 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2130 as_fn_error $? "missing argument to $ac_option"
2133 if test -n "$ac_unrecognized_opts"; then
2134 case $enable_option_checking in
2135 no) ;;
2136 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2137 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2138 esac
2141 # Check all directory arguments for consistency.
2142 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2143 datadir sysconfdir sharedstatedir localstatedir includedir \
2144 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2145 libdir localedir mandir runstatedir
2147 eval ac_val=\$$ac_var
2148 # Remove trailing slashes.
2149 case $ac_val in
2150 */ )
2151 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2152 eval $ac_var=\$ac_val;;
2153 esac
2154 # Be sure to have absolute directory names.
2155 case $ac_val in
2156 [\\/$]* | ?:[\\/]* ) continue;;
2157 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2158 esac
2159 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2160 done
2162 # There might be people who depend on the old broken behavior: `$host'
2163 # used to hold the argument of --host etc.
2164 # FIXME: To remove some day.
2165 build=$build_alias
2166 host=$host_alias
2167 target=$target_alias
2169 # FIXME: To remove some day.
2170 if test "x$host_alias" != x; then
2171 if test "x$build_alias" = x; then
2172 cross_compiling=maybe
2173 elif test "x$build_alias" != "x$host_alias"; then
2174 cross_compiling=yes
2178 ac_tool_prefix=
2179 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2181 test "$silent" = yes && exec 6>/dev/null
2184 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2185 ac_ls_di=`ls -di .` &&
2186 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2187 as_fn_error $? "working directory cannot be determined"
2188 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2189 as_fn_error $? "pwd does not report name of working directory"
2192 # Find the source files, if location was not specified.
2193 if test -z "$srcdir"; then
2194 ac_srcdir_defaulted=yes
2195 # Try the directory containing this script, then the parent directory.
2196 ac_confdir=`$as_dirname -- "$as_myself" ||
2197 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2198 X"$as_myself" : 'X\(//\)[^/]' \| \
2199 X"$as_myself" : 'X\(//\)$' \| \
2200 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2201 $as_echo X"$as_myself" |
2202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2203 s//\1/
2206 /^X\(\/\/\)[^/].*/{
2207 s//\1/
2210 /^X\(\/\/\)$/{
2211 s//\1/
2214 /^X\(\/\).*/{
2215 s//\1/
2218 s/.*/./; q'`
2219 srcdir=$ac_confdir
2220 if test ! -r "$srcdir/$ac_unique_file"; then
2221 srcdir=..
2223 else
2224 ac_srcdir_defaulted=no
2226 if test ! -r "$srcdir/$ac_unique_file"; then
2227 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2228 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2230 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2231 ac_abs_confdir=`(
2232 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2233 pwd)`
2234 # When building in place, set srcdir=.
2235 if test "$ac_abs_confdir" = "$ac_pwd"; then
2236 srcdir=.
2238 # Remove unnecessary trailing slashes from srcdir.
2239 # Double slashes in file names in object file debugging info
2240 # mess up M-x gdb in Emacs.
2241 case $srcdir in
2242 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2243 esac
2244 for ac_var in $ac_precious_vars; do
2245 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2246 eval ac_env_${ac_var}_value=\$${ac_var}
2247 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2248 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2249 done
2252 # Report the --help message.
2254 if test "$ac_init_help" = "long"; then
2255 # Omit some internal or obsolete options to make the list less imposing.
2256 # This message is too long to be a string in the A/UX 3.1 sh.
2257 cat <<_ACEOF
2258 \`configure' configures Wine 2.12 to adapt to many kinds of systems.
2260 Usage: $0 [OPTION]... [VAR=VALUE]...
2262 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2263 VAR=VALUE. See below for descriptions of some of the useful variables.
2265 Defaults for the options are specified in brackets.
2267 Configuration:
2268 -h, --help display this help and exit
2269 --help=short display options specific to this package
2270 --help=recursive display the short help of all the included packages
2271 -V, --version display version information and exit
2272 -q, --quiet, --silent do not print \`checking ...' messages
2273 --cache-file=FILE cache test results in FILE [disabled]
2274 -C, --config-cache alias for \`--cache-file=config.cache'
2275 -n, --no-create do not create output files
2276 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2278 Installation directories:
2279 --prefix=PREFIX install architecture-independent files in PREFIX
2280 [$ac_default_prefix]
2281 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2282 [PREFIX]
2284 By default, \`make install' will install all the files in
2285 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2286 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2287 for instance \`--prefix=\$HOME'.
2289 For better control, use the options below.
2291 Fine tuning of the installation directories:
2292 --bindir=DIR user executables [EPREFIX/bin]
2293 --sbindir=DIR system admin executables [EPREFIX/sbin]
2294 --libexecdir=DIR program executables [EPREFIX/libexec]
2295 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2296 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2297 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2298 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2299 --libdir=DIR object code libraries [EPREFIX/lib]
2300 --includedir=DIR C header files [PREFIX/include]
2301 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2302 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2303 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2304 --infodir=DIR info documentation [DATAROOTDIR/info]
2305 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2306 --mandir=DIR man documentation [DATAROOTDIR/man]
2307 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2308 --htmldir=DIR html documentation [DOCDIR]
2309 --dvidir=DIR dvi documentation [DOCDIR]
2310 --pdfdir=DIR pdf documentation [DOCDIR]
2311 --psdir=DIR ps documentation [DOCDIR]
2312 _ACEOF
2314 cat <<\_ACEOF
2316 X features:
2317 --x-includes=DIR X include files are in DIR
2318 --x-libraries=DIR X library files are in DIR
2320 System types:
2321 --build=BUILD configure for building on BUILD [guessed]
2322 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2323 _ACEOF
2326 if test -n "$ac_init_help"; then
2327 case $ac_init_help in
2328 short | recursive ) echo "Configuration of Wine 2.12:";;
2329 esac
2330 cat <<\_ACEOF
2332 Optional Features:
2333 --disable-option-checking ignore unrecognized --enable/--with options
2334 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2335 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2336 --disable-win16 do not include Win16 support
2337 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2338 binaries)
2339 --disable-tests do not build the regression tests
2340 --enable-maintainer-mode
2341 enable maintainer-specific build rules
2342 --disable-largefile omit support for large files
2344 Optional Packages:
2345 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2346 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2347 --without-alsa do not use the Alsa sound support
2348 --without-capi do not use CAPI (ISDN support)
2349 --without-cms do not use CMS (color management support)
2350 --without-coreaudio do not use the CoreAudio sound support
2351 --without-cups do not use CUPS
2352 --without-curses do not use (n)curses
2353 --without-dbus do not use DBus (dynamic device support)
2354 --without-fontconfig do not use fontconfig
2355 --without-freetype do not use the FreeType library
2356 --without-gettext do not use gettext
2357 --with-gettextpo use the GetTextPO library to rebuild po files
2358 --without-gphoto do not use gphoto (Digital Camera support)
2359 --without-glu do not use the GLU library
2360 --without-gnutls do not use GnuTLS (schannel support)
2361 --without-gsm do not use libgsm (GSM 06.10 codec support)
2362 --without-gstreamer do not use GStreamer (codecs support)
2363 --without-hal do not use HAL (dynamic device support)
2364 --without-jpeg do not use JPEG
2365 --without-ldap do not use LDAP
2366 --without-mpg123 do not use the mpg123 library
2367 --without-netapi do not use the Samba NetAPI library
2368 --without-openal do not use OpenAL
2369 --without-opencl do not use OpenCL
2370 --without-opengl do not use OpenGL
2371 --without-osmesa do not use the OSMesa library
2372 --without-oss do not use the OSS sound support
2373 --without-pcap do not use the Packet Capture library
2374 --without-png do not use PNG
2375 --without-pthread do not use the pthread library
2376 --without-pulse do not use PulseAudio sound support
2377 --without-sane do not use SANE (scanner support)
2378 --without-tiff do not use TIFF
2379 --without-udev do not use udev (plug and play support)
2380 --without-v4l do not use v4l1 (v4l support)
2381 --without-xcomposite do not use the Xcomposite extension
2382 --without-xcursor do not use the Xcursor extension
2383 --without-xfixes do not use Xfixes for clipboard change notifications
2384 --without-xinerama do not use Xinerama (multi-monitor support)
2385 --without-xinput do not use the Xinput extension
2386 --without-xinput2 do not use the Xinput 2 extension
2387 --without-xml do not use XML
2388 --without-xrandr do not use Xrandr (resolution changes)
2389 --without-xrender do not use the Xrender extension
2390 --without-xshape do not use the Xshape extension
2391 --without-xshm do not use XShm (shared memory extension)
2392 --without-xslt do not use XSLT
2393 --without-xxf86vm do not use XFree video mode extension
2394 --without-zlib do not use Zlib (data compression)
2395 --with-wine-tools=DIR use Wine tools from directory DIR
2396 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2397 --with-x use the X Window System
2399 Some influential environment variables:
2400 CC C compiler command
2401 CFLAGS C compiler flags
2402 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2403 nonstandard directory <lib dir>
2404 LIBS libraries to pass to the linker, e.g. -l<library>
2405 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2406 you have headers in a nonstandard directory <include dir>
2407 CXX C++ compiler command
2408 CXXFLAGS C++ compiler flags
2409 CPP C preprocessor
2410 XMKMF Path to xmkmf, Makefile generator for X Window System
2411 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2412 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2413 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2414 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2415 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2416 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2417 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2418 HAL_LIBS Linker flags for hal, overriding pkg-config
2419 GNUTLS_CFLAGS
2420 C compiler flags for gnutls, overriding pkg-config
2421 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2422 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2423 SANE_LIBS Linker flags for libsane, overriding pkg-config
2424 GPHOTO2_CFLAGS
2425 C compiler flags for libgphoto2, overriding pkg-config
2426 GPHOTO2_LIBS
2427 Linker flags for libgphoto2, overriding pkg-config
2428 GPHOTO2_PORT_CFLAGS
2429 C compiler flags for libgphoto2_port, overriding pkg-config
2430 GPHOTO2_PORT_LIBS
2431 Linker flags for libgphoto2_port, overriding pkg-config
2432 LCMS2_CFLAGS
2433 C compiler flags for lcms2, overriding pkg-config
2434 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2435 FREETYPE_CFLAGS
2436 C compiler flags for freetype2, overriding pkg-config
2437 FREETYPE_LIBS
2438 Linker flags for freetype2, overriding pkg-config
2439 PULSE_CFLAGS
2440 C compiler flags for libpulse, overriding pkg-config
2441 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2442 GSTREAMER_CFLAGS
2443 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2444 gstreamer-audio-1.0, overriding pkg-config
2445 GSTREAMER_LIBS
2446 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2447 gstreamer-audio-1.0, overriding pkg-config
2448 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2449 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2450 CAPI20_CFLAGS
2451 C compiler flags for capi20, overriding pkg-config
2452 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2453 FONTCONFIG_CFLAGS
2454 C compiler flags for fontconfig, overriding pkg-config
2455 FONTCONFIG_LIBS
2456 Linker flags for fontconfig, overriding pkg-config
2457 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2458 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2459 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2460 PNG_LIBS Linker flags for libpng, overriding pkg-config
2461 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2462 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2463 MPG123_CFLAGS
2464 C compiler flags for libmpg123, overriding pkg-config
2465 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2466 NETAPI_CFLAGS
2467 C compiler flags for netapi, overriding pkg-config
2468 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2470 Use these variables to override the choices made by `configure' or to help
2471 it to find libraries and programs with nonstandard names/locations.
2473 Report bugs to <wine-devel@winehq.org>.
2474 Wine home page: <http://www.winehq.org>.
2475 _ACEOF
2476 ac_status=$?
2479 if test "$ac_init_help" = "recursive"; then
2480 # If there are subdirs, report their specific --help.
2481 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2482 test -d "$ac_dir" ||
2483 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2484 continue
2485 ac_builddir=.
2487 case "$ac_dir" in
2488 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2490 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2491 # A ".." for each directory in $ac_dir_suffix.
2492 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2493 case $ac_top_builddir_sub in
2494 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2495 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2496 esac ;;
2497 esac
2498 ac_abs_top_builddir=$ac_pwd
2499 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2500 # for backward compatibility:
2501 ac_top_builddir=$ac_top_build_prefix
2503 case $srcdir in
2504 .) # We are building in place.
2505 ac_srcdir=.
2506 ac_top_srcdir=$ac_top_builddir_sub
2507 ac_abs_top_srcdir=$ac_pwd ;;
2508 [\\/]* | ?:[\\/]* ) # Absolute name.
2509 ac_srcdir=$srcdir$ac_dir_suffix;
2510 ac_top_srcdir=$srcdir
2511 ac_abs_top_srcdir=$srcdir ;;
2512 *) # Relative name.
2513 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2514 ac_top_srcdir=$ac_top_build_prefix$srcdir
2515 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2516 esac
2517 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2519 cd "$ac_dir" || { ac_status=$?; continue; }
2520 # Check for guested configure.
2521 if test -f "$ac_srcdir/configure.gnu"; then
2522 echo &&
2523 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2524 elif test -f "$ac_srcdir/configure"; then
2525 echo &&
2526 $SHELL "$ac_srcdir/configure" --help=recursive
2527 else
2528 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2529 fi || ac_status=$?
2530 cd "$ac_pwd" || { ac_status=$?; break; }
2531 done
2534 test -n "$ac_init_help" && exit $ac_status
2535 if $ac_init_version; then
2536 cat <<\_ACEOF
2537 Wine configure 2.12
2538 generated by GNU Autoconf 2.69
2540 Copyright (C) 2012 Free Software Foundation, Inc.
2541 This configure script is free software; the Free Software Foundation
2542 gives unlimited permission to copy, distribute and modify it.
2543 _ACEOF
2544 exit
2547 ## ------------------------ ##
2548 ## Autoconf initialization. ##
2549 ## ------------------------ ##
2551 # ac_fn_c_try_compile LINENO
2552 # --------------------------
2553 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2554 ac_fn_c_try_compile ()
2556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2557 rm -f conftest.$ac_objext
2558 if { { ac_try="$ac_compile"
2559 case "(($ac_try" in
2560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2561 *) ac_try_echo=$ac_try;;
2562 esac
2563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2564 $as_echo "$ac_try_echo"; } >&5
2565 (eval "$ac_compile") 2>conftest.err
2566 ac_status=$?
2567 if test -s conftest.err; then
2568 grep -v '^ *+' conftest.err >conftest.er1
2569 cat conftest.er1 >&5
2570 mv -f conftest.er1 conftest.err
2572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2573 test $ac_status = 0; } && {
2574 test -z "$ac_c_werror_flag" ||
2575 test ! -s conftest.err
2576 } && test -s conftest.$ac_objext; then :
2577 ac_retval=0
2578 else
2579 $as_echo "$as_me: failed program was:" >&5
2580 sed 's/^/| /' conftest.$ac_ext >&5
2582 ac_retval=1
2584 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2585 as_fn_set_status $ac_retval
2587 } # ac_fn_c_try_compile
2589 # ac_fn_cxx_try_compile LINENO
2590 # ----------------------------
2591 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2592 ac_fn_cxx_try_compile ()
2594 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2595 rm -f conftest.$ac_objext
2596 if { { ac_try="$ac_compile"
2597 case "(($ac_try" in
2598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2599 *) ac_try_echo=$ac_try;;
2600 esac
2601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2602 $as_echo "$ac_try_echo"; } >&5
2603 (eval "$ac_compile") 2>conftest.err
2604 ac_status=$?
2605 if test -s conftest.err; then
2606 grep -v '^ *+' conftest.err >conftest.er1
2607 cat conftest.er1 >&5
2608 mv -f conftest.er1 conftest.err
2610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2611 test $ac_status = 0; } && {
2612 test -z "$ac_cxx_werror_flag" ||
2613 test ! -s conftest.err
2614 } && test -s conftest.$ac_objext; then :
2615 ac_retval=0
2616 else
2617 $as_echo "$as_me: failed program was:" >&5
2618 sed 's/^/| /' conftest.$ac_ext >&5
2620 ac_retval=1
2622 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2623 as_fn_set_status $ac_retval
2625 } # ac_fn_cxx_try_compile
2627 # ac_fn_c_try_link LINENO
2628 # -----------------------
2629 # Try to link conftest.$ac_ext, and return whether this succeeded.
2630 ac_fn_c_try_link ()
2632 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2633 rm -f conftest.$ac_objext conftest$ac_exeext
2634 if { { ac_try="$ac_link"
2635 case "(($ac_try" in
2636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2637 *) ac_try_echo=$ac_try;;
2638 esac
2639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2640 $as_echo "$ac_try_echo"; } >&5
2641 (eval "$ac_link") 2>conftest.err
2642 ac_status=$?
2643 if test -s conftest.err; then
2644 grep -v '^ *+' conftest.err >conftest.er1
2645 cat conftest.er1 >&5
2646 mv -f conftest.er1 conftest.err
2648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2649 test $ac_status = 0; } && {
2650 test -z "$ac_c_werror_flag" ||
2651 test ! -s conftest.err
2652 } && test -s conftest$ac_exeext && {
2653 test "$cross_compiling" = yes ||
2654 test -x conftest$ac_exeext
2655 }; then :
2656 ac_retval=0
2657 else
2658 $as_echo "$as_me: failed program was:" >&5
2659 sed 's/^/| /' conftest.$ac_ext >&5
2661 ac_retval=1
2663 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2664 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2665 # interfere with the next link command; also delete a directory that is
2666 # left behind by Apple's compiler. We do this before executing the actions.
2667 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2669 as_fn_set_status $ac_retval
2671 } # ac_fn_c_try_link
2673 # ac_fn_c_try_cpp LINENO
2674 # ----------------------
2675 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2676 ac_fn_c_try_cpp ()
2678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2679 if { { ac_try="$ac_cpp conftest.$ac_ext"
2680 case "(($ac_try" in
2681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2682 *) ac_try_echo=$ac_try;;
2683 esac
2684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2685 $as_echo "$ac_try_echo"; } >&5
2686 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2687 ac_status=$?
2688 if test -s conftest.err; then
2689 grep -v '^ *+' conftest.err >conftest.er1
2690 cat conftest.er1 >&5
2691 mv -f conftest.er1 conftest.err
2693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2694 test $ac_status = 0; } > conftest.i && {
2695 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2696 test ! -s conftest.err
2697 }; then :
2698 ac_retval=0
2699 else
2700 $as_echo "$as_me: failed program was:" >&5
2701 sed 's/^/| /' conftest.$ac_ext >&5
2703 ac_retval=1
2705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2706 as_fn_set_status $ac_retval
2708 } # ac_fn_c_try_cpp
2710 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2711 # -------------------------------------------------------
2712 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2713 # the include files in INCLUDES and setting the cache variable VAR
2714 # accordingly.
2715 ac_fn_c_check_header_mongrel ()
2717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2718 if eval \${$3+:} false; then :
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2720 $as_echo_n "checking for $2... " >&6; }
2721 if eval \${$3+:} false; then :
2722 $as_echo_n "(cached) " >&6
2724 eval ac_res=\$$3
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2726 $as_echo "$ac_res" >&6; }
2727 else
2728 # Is the header compilable?
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2730 $as_echo_n "checking $2 usability... " >&6; }
2731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2732 /* end confdefs.h. */
2734 #include <$2>
2735 _ACEOF
2736 if ac_fn_c_try_compile "$LINENO"; then :
2737 ac_header_compiler=yes
2738 else
2739 ac_header_compiler=no
2741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2743 $as_echo "$ac_header_compiler" >&6; }
2745 # Is the header present?
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2747 $as_echo_n "checking $2 presence... " >&6; }
2748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2749 /* end confdefs.h. */
2750 #include <$2>
2751 _ACEOF
2752 if ac_fn_c_try_cpp "$LINENO"; then :
2753 ac_header_preproc=yes
2754 else
2755 ac_header_preproc=no
2757 rm -f conftest.err conftest.i conftest.$ac_ext
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2759 $as_echo "$ac_header_preproc" >&6; }
2761 # So? What about this header?
2762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2763 yes:no: )
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2765 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2767 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2769 no:yes:* )
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2771 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2773 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2775 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2777 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2779 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2780 ( $as_echo "## ------------------------------------ ##
2781 ## Report this to wine-devel@winehq.org ##
2782 ## ------------------------------------ ##"
2783 ) | sed "s/^/$as_me: WARNING: /" >&2
2785 esac
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2787 $as_echo_n "checking for $2... " >&6; }
2788 if eval \${$3+:} false; then :
2789 $as_echo_n "(cached) " >&6
2790 else
2791 eval "$3=\$ac_header_compiler"
2793 eval ac_res=\$$3
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2795 $as_echo "$ac_res" >&6; }
2797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2799 } # ac_fn_c_check_header_mongrel
2801 # ac_fn_c_try_run LINENO
2802 # ----------------------
2803 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2804 # that executables *can* be run.
2805 ac_fn_c_try_run ()
2807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2808 if { { ac_try="$ac_link"
2809 case "(($ac_try" in
2810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2811 *) ac_try_echo=$ac_try;;
2812 esac
2813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2814 $as_echo "$ac_try_echo"; } >&5
2815 (eval "$ac_link") 2>&5
2816 ac_status=$?
2817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2818 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2819 { { case "(($ac_try" in
2820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2821 *) ac_try_echo=$ac_try;;
2822 esac
2823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2824 $as_echo "$ac_try_echo"; } >&5
2825 (eval "$ac_try") 2>&5
2826 ac_status=$?
2827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2828 test $ac_status = 0; }; }; then :
2829 ac_retval=0
2830 else
2831 $as_echo "$as_me: program exited with status $ac_status" >&5
2832 $as_echo "$as_me: failed program was:" >&5
2833 sed 's/^/| /' conftest.$ac_ext >&5
2835 ac_retval=$ac_status
2837 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2839 as_fn_set_status $ac_retval
2841 } # ac_fn_c_try_run
2843 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2844 # -------------------------------------------------------
2845 # Tests whether HEADER exists and can be compiled using the include files in
2846 # INCLUDES, setting the cache variable VAR accordingly.
2847 ac_fn_c_check_header_compile ()
2849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2851 $as_echo_n "checking for $2... " >&6; }
2852 if eval \${$3+:} false; then :
2853 $as_echo_n "(cached) " >&6
2854 else
2855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2856 /* end confdefs.h. */
2858 #include <$2>
2859 _ACEOF
2860 if ac_fn_c_try_compile "$LINENO"; then :
2861 eval "$3=yes"
2862 else
2863 eval "$3=no"
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2867 eval ac_res=\$$3
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2869 $as_echo "$ac_res" >&6; }
2870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2872 } # ac_fn_c_check_header_compile
2874 # ac_fn_c_check_func LINENO FUNC VAR
2875 # ----------------------------------
2876 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2877 ac_fn_c_check_func ()
2879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2881 $as_echo_n "checking for $2... " >&6; }
2882 if eval \${$3+:} false; then :
2883 $as_echo_n "(cached) " >&6
2884 else
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2887 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2889 #define $2 innocuous_$2
2891 /* System header to define __stub macros and hopefully few prototypes,
2892 which can conflict with char $2 (); below.
2893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2894 <limits.h> exists even on freestanding compilers. */
2896 #ifdef __STDC__
2897 # include <limits.h>
2898 #else
2899 # include <assert.h>
2900 #endif
2902 #undef $2
2904 /* Override any GCC internal prototype to avoid an error.
2905 Use char because int might match the return type of a GCC
2906 builtin and then its argument prototype would still apply. */
2907 #ifdef __cplusplus
2908 extern "C"
2909 #endif
2910 char $2 ();
2911 /* The GNU C library defines this for functions which it implements
2912 to always fail with ENOSYS. Some functions are actually named
2913 something starting with __ and the normal name is an alias. */
2914 #if defined __stub_$2 || defined __stub___$2
2915 choke me
2916 #endif
2919 main ()
2921 return $2 ();
2923 return 0;
2925 _ACEOF
2926 if ac_fn_c_try_link "$LINENO"; then :
2927 eval "$3=yes"
2928 else
2929 eval "$3=no"
2931 rm -f core conftest.err conftest.$ac_objext \
2932 conftest$ac_exeext conftest.$ac_ext
2934 eval ac_res=\$$3
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2936 $as_echo "$ac_res" >&6; }
2937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2939 } # ac_fn_c_check_func
2941 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2942 # ----------------------------------------------------
2943 # Tries to find if the field MEMBER exists in type AGGR, after including
2944 # INCLUDES, setting cache variable VAR accordingly.
2945 ac_fn_c_check_member ()
2947 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2949 $as_echo_n "checking for $2.$3... " >&6; }
2950 if eval \${$4+:} false; then :
2951 $as_echo_n "(cached) " >&6
2952 else
2953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2954 /* end confdefs.h. */
2957 main ()
2959 static $2 ac_aggr;
2960 if (ac_aggr.$3)
2961 return 0;
2963 return 0;
2965 _ACEOF
2966 if ac_fn_c_try_compile "$LINENO"; then :
2967 eval "$4=yes"
2968 else
2969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2970 /* end confdefs.h. */
2973 main ()
2975 static $2 ac_aggr;
2976 if (sizeof ac_aggr.$3)
2977 return 0;
2979 return 0;
2981 _ACEOF
2982 if ac_fn_c_try_compile "$LINENO"; then :
2983 eval "$4=yes"
2984 else
2985 eval "$4=no"
2987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2991 eval ac_res=\$$4
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2993 $as_echo "$ac_res" >&6; }
2994 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2996 } # ac_fn_c_check_member
2998 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2999 # -------------------------------------------
3000 # Tests whether TYPE exists after having included INCLUDES, setting cache
3001 # variable VAR accordingly.
3002 ac_fn_c_check_type ()
3004 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3006 $as_echo_n "checking for $2... " >&6; }
3007 if eval \${$3+:} false; then :
3008 $as_echo_n "(cached) " >&6
3009 else
3010 eval "$3=no"
3011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3012 /* end confdefs.h. */
3015 main ()
3017 if (sizeof ($2))
3018 return 0;
3020 return 0;
3022 _ACEOF
3023 if ac_fn_c_try_compile "$LINENO"; then :
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h. */
3028 main ()
3030 if (sizeof (($2)))
3031 return 0;
3033 return 0;
3035 _ACEOF
3036 if ac_fn_c_try_compile "$LINENO"; then :
3038 else
3039 eval "$3=yes"
3041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3045 eval ac_res=\$$3
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3047 $as_echo "$ac_res" >&6; }
3048 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3050 } # ac_fn_c_check_type
3051 cat >config.log <<_ACEOF
3052 This file contains any messages produced by compilers while
3053 running configure, to aid debugging if configure makes a mistake.
3055 It was created by Wine $as_me 2.12, which was
3056 generated by GNU Autoconf 2.69. Invocation command line was
3058 $ $0 $@
3060 _ACEOF
3061 exec 5>>config.log
3063 cat <<_ASUNAME
3064 ## --------- ##
3065 ## Platform. ##
3066 ## --------- ##
3068 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3069 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3070 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3071 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3072 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3074 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3075 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3077 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3078 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3079 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3080 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3081 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3082 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3083 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3085 _ASUNAME
3087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3088 for as_dir in $PATH
3090 IFS=$as_save_IFS
3091 test -z "$as_dir" && as_dir=.
3092 $as_echo "PATH: $as_dir"
3093 done
3094 IFS=$as_save_IFS
3096 } >&5
3098 cat >&5 <<_ACEOF
3101 ## ----------- ##
3102 ## Core tests. ##
3103 ## ----------- ##
3105 _ACEOF
3108 # Keep a trace of the command line.
3109 # Strip out --no-create and --no-recursion so they do not pile up.
3110 # Strip out --silent because we don't want to record it for future runs.
3111 # Also quote any args containing shell meta-characters.
3112 # Make two passes to allow for proper duplicate-argument suppression.
3113 ac_configure_args=
3114 ac_configure_args0=
3115 ac_configure_args1=
3116 ac_must_keep_next=false
3117 for ac_pass in 1 2
3119 for ac_arg
3121 case $ac_arg in
3122 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3123 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3124 | -silent | --silent | --silen | --sile | --sil)
3125 continue ;;
3126 *\'*)
3127 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3128 esac
3129 case $ac_pass in
3130 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3132 as_fn_append ac_configure_args1 " '$ac_arg'"
3133 if test $ac_must_keep_next = true; then
3134 ac_must_keep_next=false # Got value, back to normal.
3135 else
3136 case $ac_arg in
3137 *=* | --config-cache | -C | -disable-* | --disable-* \
3138 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3139 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3140 | -with-* | --with-* | -without-* | --without-* | --x)
3141 case "$ac_configure_args0 " in
3142 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3143 esac
3145 -* ) ac_must_keep_next=true ;;
3146 esac
3148 as_fn_append ac_configure_args " '$ac_arg'"
3150 esac
3151 done
3152 done
3153 { ac_configure_args0=; unset ac_configure_args0;}
3154 { ac_configure_args1=; unset ac_configure_args1;}
3156 # When interrupted or exit'd, cleanup temporary files, and complete
3157 # config.log. We remove comments because anyway the quotes in there
3158 # would cause problems or look ugly.
3159 # WARNING: Use '\'' to represent an apostrophe within the trap.
3160 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3161 trap 'exit_status=$?
3162 # Save into config.log some information that might help in debugging.
3164 echo
3166 $as_echo "## ---------------- ##
3167 ## Cache variables. ##
3168 ## ---------------- ##"
3169 echo
3170 # The following way of writing the cache mishandles newlines in values,
3172 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3173 eval ac_val=\$$ac_var
3174 case $ac_val in #(
3175 *${as_nl}*)
3176 case $ac_var in #(
3177 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3178 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3179 esac
3180 case $ac_var in #(
3181 _ | IFS | as_nl) ;; #(
3182 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3183 *) { eval $ac_var=; unset $ac_var;} ;;
3184 esac ;;
3185 esac
3186 done
3187 (set) 2>&1 |
3188 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3189 *${as_nl}ac_space=\ *)
3190 sed -n \
3191 "s/'\''/'\''\\\\'\'''\''/g;
3192 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3193 ;; #(
3195 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3197 esac |
3198 sort
3200 echo
3202 $as_echo "## ----------------- ##
3203 ## Output variables. ##
3204 ## ----------------- ##"
3205 echo
3206 for ac_var in $ac_subst_vars
3208 eval ac_val=\$$ac_var
3209 case $ac_val in
3210 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3211 esac
3212 $as_echo "$ac_var='\''$ac_val'\''"
3213 done | sort
3214 echo
3216 if test -n "$ac_subst_files"; then
3217 $as_echo "## ------------------- ##
3218 ## File substitutions. ##
3219 ## ------------------- ##"
3220 echo
3221 for ac_var in $ac_subst_files
3223 eval ac_val=\$$ac_var
3224 case $ac_val in
3225 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3226 esac
3227 $as_echo "$ac_var='\''$ac_val'\''"
3228 done | sort
3229 echo
3232 if test -s confdefs.h; then
3233 $as_echo "## ----------- ##
3234 ## confdefs.h. ##
3235 ## ----------- ##"
3236 echo
3237 cat confdefs.h
3238 echo
3240 test "$ac_signal" != 0 &&
3241 $as_echo "$as_me: caught signal $ac_signal"
3242 $as_echo "$as_me: exit $exit_status"
3243 } >&5
3244 rm -f core *.core core.conftest.* &&
3245 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3246 exit $exit_status
3248 for ac_signal in 1 2 13 15; do
3249 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3250 done
3251 ac_signal=0
3253 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3254 rm -f -r conftest* confdefs.h
3256 $as_echo "/* confdefs.h */" > confdefs.h
3258 # Predefined preprocessor variables.
3260 cat >>confdefs.h <<_ACEOF
3261 #define PACKAGE_NAME "$PACKAGE_NAME"
3262 _ACEOF
3264 cat >>confdefs.h <<_ACEOF
3265 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3266 _ACEOF
3268 cat >>confdefs.h <<_ACEOF
3269 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3270 _ACEOF
3272 cat >>confdefs.h <<_ACEOF
3273 #define PACKAGE_STRING "$PACKAGE_STRING"
3274 _ACEOF
3276 cat >>confdefs.h <<_ACEOF
3277 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3278 _ACEOF
3280 cat >>confdefs.h <<_ACEOF
3281 #define PACKAGE_URL "$PACKAGE_URL"
3282 _ACEOF
3285 # Let the site file select an alternate cache file if it wants to.
3286 # Prefer an explicitly selected file to automatically selected ones.
3287 ac_site_file1=NONE
3288 ac_site_file2=NONE
3289 if test -n "$CONFIG_SITE"; then
3290 # We do not want a PATH search for config.site.
3291 case $CONFIG_SITE in #((
3292 -*) ac_site_file1=./$CONFIG_SITE;;
3293 */*) ac_site_file1=$CONFIG_SITE;;
3294 *) ac_site_file1=./$CONFIG_SITE;;
3295 esac
3296 elif test "x$prefix" != xNONE; then
3297 ac_site_file1=$prefix/share/config.site
3298 ac_site_file2=$prefix/etc/config.site
3299 else
3300 ac_site_file1=$ac_default_prefix/share/config.site
3301 ac_site_file2=$ac_default_prefix/etc/config.site
3303 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3305 test "x$ac_site_file" = xNONE && continue
3306 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3308 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3309 sed 's/^/| /' "$ac_site_file" >&5
3310 . "$ac_site_file" \
3311 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3313 as_fn_error $? "failed to load site script $ac_site_file
3314 See \`config.log' for more details" "$LINENO" 5; }
3316 done
3318 if test -r "$cache_file"; then
3319 # Some versions of bash will fail to source /dev/null (special files
3320 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3321 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3323 $as_echo "$as_me: loading cache $cache_file" >&6;}
3324 case $cache_file in
3325 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3326 *) . "./$cache_file";;
3327 esac
3329 else
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3331 $as_echo "$as_me: creating cache $cache_file" >&6;}
3332 >$cache_file
3335 # Check that the precious variables saved in the cache have kept the same
3336 # value.
3337 ac_cache_corrupted=false
3338 for ac_var in $ac_precious_vars; do
3339 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3340 eval ac_new_set=\$ac_env_${ac_var}_set
3341 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3342 eval ac_new_val=\$ac_env_${ac_var}_value
3343 case $ac_old_set,$ac_new_set in
3344 set,)
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3346 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3347 ac_cache_corrupted=: ;;
3348 ,set)
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3350 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3351 ac_cache_corrupted=: ;;
3352 ,);;
3354 if test "x$ac_old_val" != "x$ac_new_val"; then
3355 # differences in whitespace do not lead to failure.
3356 ac_old_val_w=`echo x $ac_old_val`
3357 ac_new_val_w=`echo x $ac_new_val`
3358 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3360 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3361 ac_cache_corrupted=:
3362 else
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3364 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3365 eval $ac_var=\$ac_old_val
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3368 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3370 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3371 fi;;
3372 esac
3373 # Pass precious variables to config.status.
3374 if test "$ac_new_set" = set; then
3375 case $ac_new_val in
3376 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3377 *) ac_arg=$ac_var=$ac_new_val ;;
3378 esac
3379 case " $ac_configure_args " in
3380 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3381 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3382 esac
3384 done
3385 if $ac_cache_corrupted; then
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3389 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3390 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3392 ## -------------------- ##
3393 ## Main body of script. ##
3394 ## -------------------- ##
3396 ac_ext=c
3397 ac_cpp='$CPP $CPPFLAGS'
3398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3404 ac_config_headers="$ac_config_headers include/config.h"
3406 ac_aux_dir=
3407 for ac_dir in tools "$srcdir"/tools; do
3408 if test -f "$ac_dir/install-sh"; then
3409 ac_aux_dir=$ac_dir
3410 ac_install_sh="$ac_aux_dir/install-sh -c"
3411 break
3412 elif test -f "$ac_dir/install.sh"; then
3413 ac_aux_dir=$ac_dir
3414 ac_install_sh="$ac_aux_dir/install.sh -c"
3415 break
3416 elif test -f "$ac_dir/shtool"; then
3417 ac_aux_dir=$ac_dir
3418 ac_install_sh="$ac_aux_dir/shtool install -c"
3419 break
3421 done
3422 if test -z "$ac_aux_dir"; then
3423 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3426 # These three variables are undocumented and unsupported,
3427 # and are intended to be withdrawn in a future Autoconf release.
3428 # They can cause serious problems if a builder's source tree is in a directory
3429 # whose full name contains unusual characters.
3430 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3431 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3432 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3436 libwine_version="1.0"
3440 # Check whether --enable-win16 was given.
3441 if test "${enable_win16+set}" = set; then :
3442 enableval=$enable_win16;
3445 # Check whether --enable-win64 was given.
3446 if test "${enable_win64+set}" = set; then :
3447 enableval=$enable_win64;
3450 # Check whether --enable-tests was given.
3451 if test "${enable_tests+set}" = set; then :
3452 enableval=$enable_tests;
3455 # Check whether --enable-maintainer-mode was given.
3456 if test "${enable_maintainer_mode+set}" = set; then :
3457 enableval=$enable_maintainer_mode;
3462 # Check whether --with-alsa was given.
3463 if test "${with_alsa+set}" = set; then :
3464 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3468 # Check whether --with-capi was given.
3469 if test "${with_capi+set}" = set; then :
3470 withval=$with_capi;
3474 # Check whether --with-cms was given.
3475 if test "${with_cms+set}" = set; then :
3476 withval=$with_cms;
3480 # Check whether --with-coreaudio was given.
3481 if test "${with_coreaudio+set}" = set; then :
3482 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3486 # Check whether --with-cups was given.
3487 if test "${with_cups+set}" = set; then :
3488 withval=$with_cups;
3492 # Check whether --with-curses was given.
3493 if test "${with_curses+set}" = set; then :
3494 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3498 # Check whether --with-dbus was given.
3499 if test "${with_dbus+set}" = set; then :
3500 withval=$with_dbus;
3504 # Check whether --with-fontconfig was given.
3505 if test "${with_fontconfig+set}" = set; then :
3506 withval=$with_fontconfig;
3510 # Check whether --with-freetype was given.
3511 if test "${with_freetype+set}" = set; then :
3512 withval=$with_freetype;
3516 # Check whether --with-gettext was given.
3517 if test "${with_gettext+set}" = set; then :
3518 withval=$with_gettext;
3522 # Check whether --with-gettextpo was given.
3523 if test "${with_gettextpo+set}" = set; then :
3524 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3528 # Check whether --with-gphoto was given.
3529 if test "${with_gphoto+set}" = set; then :
3530 withval=$with_gphoto;
3534 # Check whether --with-glu was given.
3535 if test "${with_glu+set}" = set; then :
3536 withval=$with_glu;
3540 # Check whether --with-gnutls was given.
3541 if test "${with_gnutls+set}" = set; then :
3542 withval=$with_gnutls;
3546 # Check whether --with-gsm was given.
3547 if test "${with_gsm+set}" = set; then :
3548 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3552 # Check whether --with-gstreamer was given.
3553 if test "${with_gstreamer+set}" = set; then :
3554 withval=$with_gstreamer;
3558 # Check whether --with-hal was given.
3559 if test "${with_hal+set}" = set; then :
3560 withval=$with_hal;
3564 # Check whether --with-jpeg was given.
3565 if test "${with_jpeg+set}" = set; then :
3566 withval=$with_jpeg;
3570 # Check whether --with-ldap was given.
3571 if test "${with_ldap+set}" = set; then :
3572 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3576 # Check whether --with-mpg123 was given.
3577 if test "${with_mpg123+set}" = set; then :
3578 withval=$with_mpg123;
3582 # Check whether --with-netapi was given.
3583 if test "${with_netapi+set}" = set; then :
3584 withval=$with_netapi;
3588 # Check whether --with-openal was given.
3589 if test "${with_openal+set}" = set; then :
3590 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3594 # Check whether --with-opencl was given.
3595 if test "${with_opencl+set}" = set; then :
3596 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3600 # Check whether --with-opengl was given.
3601 if test "${with_opengl+set}" = set; then :
3602 withval=$with_opengl;
3606 # Check whether --with-osmesa was given.
3607 if test "${with_osmesa+set}" = set; then :
3608 withval=$with_osmesa;
3612 # Check whether --with-oss was given.
3613 if test "${with_oss+set}" = set; then :
3614 withval=$with_oss;
3618 # Check whether --with-pcap was given.
3619 if test "${with_pcap+set}" = set; then :
3620 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3624 # Check whether --with-png was given.
3625 if test "${with_png+set}" = set; then :
3626 withval=$with_png;
3630 # Check whether --with-pthread was given.
3631 if test "${with_pthread+set}" = set; then :
3632 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3636 # Check whether --with-pulse was given.
3637 if test "${with_pulse+set}" = set; then :
3638 withval=$with_pulse;
3642 # Check whether --with-sane was given.
3643 if test "${with_sane+set}" = set; then :
3644 withval=$with_sane;
3648 # Check whether --with-tiff was given.
3649 if test "${with_tiff+set}" = set; then :
3650 withval=$with_tiff;
3654 # Check whether --with-udev was given.
3655 if test "${with_udev+set}" = set; then :
3656 withval=$with_udev;
3660 # Check whether --with-v4l was given.
3661 if test "${with_v4l+set}" = set; then :
3662 withval=$with_v4l;
3666 # Check whether --with-xcomposite was given.
3667 if test "${with_xcomposite+set}" = set; then :
3668 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3672 # Check whether --with-xcursor was given.
3673 if test "${with_xcursor+set}" = set; then :
3674 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3678 # Check whether --with-xfixes was given.
3679 if test "${with_xfixes+set}" = set; then :
3680 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3684 # Check whether --with-xinerama was given.
3685 if test "${with_xinerama+set}" = set; then :
3686 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3690 # Check whether --with-xinput was given.
3691 if test "${with_xinput+set}" = set; then :
3692 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3696 # Check whether --with-xinput2 was given.
3697 if test "${with_xinput2+set}" = set; then :
3698 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3702 # Check whether --with-xml was given.
3703 if test "${with_xml+set}" = set; then :
3704 withval=$with_xml;
3708 # Check whether --with-xrandr was given.
3709 if test "${with_xrandr+set}" = set; then :
3710 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3714 # Check whether --with-xrender was given.
3715 if test "${with_xrender+set}" = set; then :
3716 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3720 # Check whether --with-xshape was given.
3721 if test "${with_xshape+set}" = set; then :
3722 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3726 # Check whether --with-xshm was given.
3727 if test "${with_xshm+set}" = set; then :
3728 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3732 # Check whether --with-xslt was given.
3733 if test "${with_xslt+set}" = set; then :
3734 withval=$with_xslt;
3738 # Check whether --with-xxf86vm was given.
3739 if test "${with_xxf86vm+set}" = set; then :
3740 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
3744 # Check whether --with-zlib was given.
3745 if test "${with_zlib+set}" = set; then :
3746 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3751 # Check whether --with-wine-tools was given.
3752 if test "${with_wine_tools+set}" = set; then :
3753 withval=$with_wine_tools;
3757 # Check whether --with-wine64 was given.
3758 if test "${with_wine64+set}" = set; then :
3759 withval=$with_wine64;
3763 # Make sure we can run config.sub.
3764 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3765 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3768 $as_echo_n "checking build system type... " >&6; }
3769 if ${ac_cv_build+:} false; then :
3770 $as_echo_n "(cached) " >&6
3771 else
3772 ac_build_alias=$build_alias
3773 test "x$ac_build_alias" = x &&
3774 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3775 test "x$ac_build_alias" = x &&
3776 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3777 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3778 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3782 $as_echo "$ac_cv_build" >&6; }
3783 case $ac_cv_build in
3784 *-*-*) ;;
3785 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3786 esac
3787 build=$ac_cv_build
3788 ac_save_IFS=$IFS; IFS='-'
3789 set x $ac_cv_build
3790 shift
3791 build_cpu=$1
3792 build_vendor=$2
3793 shift; shift
3794 # Remember, the first character of IFS is used to create $*,
3795 # except with old shells:
3796 build_os=$*
3797 IFS=$ac_save_IFS
3798 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3802 $as_echo_n "checking host system type... " >&6; }
3803 if ${ac_cv_host+:} false; then :
3804 $as_echo_n "(cached) " >&6
3805 else
3806 if test "x$host_alias" = x; then
3807 ac_cv_host=$ac_cv_build
3808 else
3809 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3810 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3815 $as_echo "$ac_cv_host" >&6; }
3816 case $ac_cv_host in
3817 *-*-*) ;;
3818 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3819 esac
3820 host=$ac_cv_host
3821 ac_save_IFS=$IFS; IFS='-'
3822 set x $ac_cv_host
3823 shift
3824 host_cpu=$1
3825 host_vendor=$2
3826 shift; shift
3827 # Remember, the first character of IFS is used to create $*,
3828 # except with old shells:
3829 host_os=$*
3830 IFS=$ac_save_IFS
3831 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3835 case "$srcdir" in
3836 .) ;;
3837 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3838 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3839 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3840 fi ;;
3841 esac
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3845 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3846 set x ${MAKE-make}
3847 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3848 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3849 $as_echo_n "(cached) " >&6
3850 else
3851 cat >conftest.make <<\_ACEOF
3852 SHELL = /bin/sh
3853 all:
3854 @echo '@@@%%%=$(MAKE)=@@@%%%'
3855 _ACEOF
3856 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3857 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3858 *@@@%%%=?*=@@@%%%*)
3859 eval ac_cv_prog_make_${ac_make}_set=yes;;
3861 eval ac_cv_prog_make_${ac_make}_set=no;;
3862 esac
3863 rm -f conftest.make
3865 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3867 $as_echo "yes" >&6; }
3868 SET_MAKE=
3869 else
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3871 $as_echo "no" >&6; }
3872 SET_MAKE="MAKE=${MAKE-make}"
3875 ac_ext=c
3876 ac_cpp='$CPP $CPPFLAGS'
3877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3880 if test -n "$ac_tool_prefix"; then
3881 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3882 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3884 $as_echo_n "checking for $ac_word... " >&6; }
3885 if ${ac_cv_prog_CC+:} false; then :
3886 $as_echo_n "(cached) " >&6
3887 else
3888 if test -n "$CC"; then
3889 ac_cv_prog_CC="$CC" # Let the user override the test.
3890 else
3891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3892 for as_dir in $PATH
3894 IFS=$as_save_IFS
3895 test -z "$as_dir" && as_dir=.
3896 for ac_exec_ext in '' $ac_executable_extensions; do
3897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3898 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 break 2
3902 done
3903 done
3904 IFS=$as_save_IFS
3908 CC=$ac_cv_prog_CC
3909 if test -n "$CC"; then
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3911 $as_echo "$CC" >&6; }
3912 else
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3914 $as_echo "no" >&6; }
3919 if test -z "$ac_cv_prog_CC"; then
3920 ac_ct_CC=$CC
3921 # Extract the first word of "gcc", so it can be a program name with args.
3922 set dummy gcc; ac_word=$2
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3924 $as_echo_n "checking for $ac_word... " >&6; }
3925 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3926 $as_echo_n "(cached) " >&6
3927 else
3928 if test -n "$ac_ct_CC"; then
3929 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3930 else
3931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3932 for as_dir in $PATH
3934 IFS=$as_save_IFS
3935 test -z "$as_dir" && as_dir=.
3936 for ac_exec_ext in '' $ac_executable_extensions; do
3937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3938 ac_cv_prog_ac_ct_CC="gcc"
3939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3940 break 2
3942 done
3943 done
3944 IFS=$as_save_IFS
3948 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3949 if test -n "$ac_ct_CC"; then
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3951 $as_echo "$ac_ct_CC" >&6; }
3952 else
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954 $as_echo "no" >&6; }
3957 if test "x$ac_ct_CC" = x; then
3958 CC=""
3959 else
3960 case $cross_compiling:$ac_tool_warned in
3961 yes:)
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3964 ac_tool_warned=yes ;;
3965 esac
3966 CC=$ac_ct_CC
3968 else
3969 CC="$ac_cv_prog_CC"
3972 if test -z "$CC"; then
3973 if test -n "$ac_tool_prefix"; then
3974 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3975 set dummy ${ac_tool_prefix}cc; ac_word=$2
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3977 $as_echo_n "checking for $ac_word... " >&6; }
3978 if ${ac_cv_prog_CC+:} false; then :
3979 $as_echo_n "(cached) " >&6
3980 else
3981 if test -n "$CC"; then
3982 ac_cv_prog_CC="$CC" # Let the user override the test.
3983 else
3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3985 for as_dir in $PATH
3987 IFS=$as_save_IFS
3988 test -z "$as_dir" && as_dir=.
3989 for ac_exec_ext in '' $ac_executable_extensions; do
3990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3991 ac_cv_prog_CC="${ac_tool_prefix}cc"
3992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3993 break 2
3995 done
3996 done
3997 IFS=$as_save_IFS
4001 CC=$ac_cv_prog_CC
4002 if test -n "$CC"; then
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4004 $as_echo "$CC" >&6; }
4005 else
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4013 if test -z "$CC"; then
4014 # Extract the first word of "cc", so it can be a program name with args.
4015 set dummy cc; ac_word=$2
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4017 $as_echo_n "checking for $ac_word... " >&6; }
4018 if ${ac_cv_prog_CC+:} false; then :
4019 $as_echo_n "(cached) " >&6
4020 else
4021 if test -n "$CC"; then
4022 ac_cv_prog_CC="$CC" # Let the user override the test.
4023 else
4024 ac_prog_rejected=no
4025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4026 for as_dir in $PATH
4028 IFS=$as_save_IFS
4029 test -z "$as_dir" && as_dir=.
4030 for ac_exec_ext in '' $ac_executable_extensions; do
4031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4032 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4033 ac_prog_rejected=yes
4034 continue
4036 ac_cv_prog_CC="cc"
4037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4038 break 2
4040 done
4041 done
4042 IFS=$as_save_IFS
4044 if test $ac_prog_rejected = yes; then
4045 # We found a bogon in the path, so make sure we never use it.
4046 set dummy $ac_cv_prog_CC
4047 shift
4048 if test $# != 0; then
4049 # We chose a different compiler from the bogus one.
4050 # However, it has the same basename, so the bogon will be chosen
4051 # first if we set CC to just the basename; use the full file name.
4052 shift
4053 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4058 CC=$ac_cv_prog_CC
4059 if test -n "$CC"; then
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4061 $as_echo "$CC" >&6; }
4062 else
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4064 $as_echo "no" >&6; }
4069 if test -z "$CC"; then
4070 if test -n "$ac_tool_prefix"; then
4071 for ac_prog in cl.exe
4073 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4074 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4076 $as_echo_n "checking for $ac_word... " >&6; }
4077 if ${ac_cv_prog_CC+:} false; then :
4078 $as_echo_n "(cached) " >&6
4079 else
4080 if test -n "$CC"; then
4081 ac_cv_prog_CC="$CC" # Let the user override the test.
4082 else
4083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4084 for as_dir in $PATH
4086 IFS=$as_save_IFS
4087 test -z "$as_dir" && as_dir=.
4088 for ac_exec_ext in '' $ac_executable_extensions; do
4089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4090 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4092 break 2
4094 done
4095 done
4096 IFS=$as_save_IFS
4100 CC=$ac_cv_prog_CC
4101 if test -n "$CC"; then
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4103 $as_echo "$CC" >&6; }
4104 else
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4106 $as_echo "no" >&6; }
4110 test -n "$CC" && break
4111 done
4113 if test -z "$CC"; then
4114 ac_ct_CC=$CC
4115 for ac_prog in cl.exe
4117 # Extract the first word of "$ac_prog", so it can be a program name with args.
4118 set dummy $ac_prog; ac_word=$2
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4120 $as_echo_n "checking for $ac_word... " >&6; }
4121 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4122 $as_echo_n "(cached) " >&6
4123 else
4124 if test -n "$ac_ct_CC"; then
4125 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4126 else
4127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4128 for as_dir in $PATH
4130 IFS=$as_save_IFS
4131 test -z "$as_dir" && as_dir=.
4132 for ac_exec_ext in '' $ac_executable_extensions; do
4133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4134 ac_cv_prog_ac_ct_CC="$ac_prog"
4135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4136 break 2
4138 done
4139 done
4140 IFS=$as_save_IFS
4144 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4145 if test -n "$ac_ct_CC"; then
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4147 $as_echo "$ac_ct_CC" >&6; }
4148 else
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4150 $as_echo "no" >&6; }
4154 test -n "$ac_ct_CC" && break
4155 done
4157 if test "x$ac_ct_CC" = x; then
4158 CC=""
4159 else
4160 case $cross_compiling:$ac_tool_warned in
4161 yes:)
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4164 ac_tool_warned=yes ;;
4165 esac
4166 CC=$ac_ct_CC
4173 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4175 as_fn_error $? "no acceptable C compiler found in \$PATH
4176 See \`config.log' for more details" "$LINENO" 5; }
4178 # Provide some information about the compiler.
4179 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4180 set X $ac_compile
4181 ac_compiler=$2
4182 for ac_option in --version -v -V -qversion; do
4183 { { ac_try="$ac_compiler $ac_option >&5"
4184 case "(($ac_try" in
4185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4186 *) ac_try_echo=$ac_try;;
4187 esac
4188 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4189 $as_echo "$ac_try_echo"; } >&5
4190 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4191 ac_status=$?
4192 if test -s conftest.err; then
4193 sed '10a\
4194 ... rest of stderr output deleted ...
4195 10q' conftest.err >conftest.er1
4196 cat conftest.er1 >&5
4198 rm -f conftest.er1 conftest.err
4199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4200 test $ac_status = 0; }
4201 done
4203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4204 /* end confdefs.h. */
4207 main ()
4211 return 0;
4213 _ACEOF
4214 ac_clean_files_save=$ac_clean_files
4215 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4216 # Try to create an executable without -o first, disregard a.out.
4217 # It will help us diagnose broken compilers, and finding out an intuition
4218 # of exeext.
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4220 $as_echo_n "checking whether the C compiler works... " >&6; }
4221 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4223 # The possible output files:
4224 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4226 ac_rmfiles=
4227 for ac_file in $ac_files
4229 case $ac_file in
4230 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4231 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4232 esac
4233 done
4234 rm -f $ac_rmfiles
4236 if { { ac_try="$ac_link_default"
4237 case "(($ac_try" in
4238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4239 *) ac_try_echo=$ac_try;;
4240 esac
4241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4242 $as_echo "$ac_try_echo"; } >&5
4243 (eval "$ac_link_default") 2>&5
4244 ac_status=$?
4245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4246 test $ac_status = 0; }; then :
4247 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4248 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4249 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4250 # so that the user can short-circuit this test for compilers unknown to
4251 # Autoconf.
4252 for ac_file in $ac_files ''
4254 test -f "$ac_file" || continue
4255 case $ac_file in
4256 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4258 [ab].out )
4259 # We found the default executable, but exeext='' is most
4260 # certainly right.
4261 break;;
4262 *.* )
4263 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4264 then :; else
4265 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4267 # We set ac_cv_exeext here because the later test for it is not
4268 # safe: cross compilers may not add the suffix if given an `-o'
4269 # argument, so we may need to know it at that point already.
4270 # Even if this section looks crufty: it has the advantage of
4271 # actually working.
4272 break;;
4274 break;;
4275 esac
4276 done
4277 test "$ac_cv_exeext" = no && ac_cv_exeext=
4279 else
4280 ac_file=''
4282 if test -z "$ac_file"; then :
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4284 $as_echo "no" >&6; }
4285 $as_echo "$as_me: failed program was:" >&5
4286 sed 's/^/| /' conftest.$ac_ext >&5
4288 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4290 as_fn_error 77 "C compiler cannot create executables
4291 See \`config.log' for more details" "$LINENO" 5; }
4292 else
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4294 $as_echo "yes" >&6; }
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4297 $as_echo_n "checking for C compiler default output file name... " >&6; }
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4299 $as_echo "$ac_file" >&6; }
4300 ac_exeext=$ac_cv_exeext
4302 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4303 ac_clean_files=$ac_clean_files_save
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4305 $as_echo_n "checking for suffix of executables... " >&6; }
4306 if { { ac_try="$ac_link"
4307 case "(($ac_try" in
4308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4309 *) ac_try_echo=$ac_try;;
4310 esac
4311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4312 $as_echo "$ac_try_echo"; } >&5
4313 (eval "$ac_link") 2>&5
4314 ac_status=$?
4315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4316 test $ac_status = 0; }; then :
4317 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4318 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4319 # work properly (i.e., refer to `conftest.exe'), while it won't with
4320 # `rm'.
4321 for ac_file in conftest.exe conftest conftest.*; do
4322 test -f "$ac_file" || continue
4323 case $ac_file in
4324 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4325 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4326 break;;
4327 * ) break;;
4328 esac
4329 done
4330 else
4331 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4333 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4334 See \`config.log' for more details" "$LINENO" 5; }
4336 rm -f conftest conftest$ac_cv_exeext
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4338 $as_echo "$ac_cv_exeext" >&6; }
4340 rm -f conftest.$ac_ext
4341 EXEEXT=$ac_cv_exeext
4342 ac_exeext=$EXEEXT
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4345 #include <stdio.h>
4347 main ()
4349 FILE *f = fopen ("conftest.out", "w");
4350 return ferror (f) || fclose (f) != 0;
4353 return 0;
4355 _ACEOF
4356 ac_clean_files="$ac_clean_files conftest.out"
4357 # Check that the compiler produces executables we can run. If not, either
4358 # the compiler is broken, or we cross compile.
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4360 $as_echo_n "checking whether we are cross compiling... " >&6; }
4361 if test "$cross_compiling" != yes; then
4362 { { ac_try="$ac_link"
4363 case "(($ac_try" in
4364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4365 *) ac_try_echo=$ac_try;;
4366 esac
4367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4368 $as_echo "$ac_try_echo"; } >&5
4369 (eval "$ac_link") 2>&5
4370 ac_status=$?
4371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4372 test $ac_status = 0; }
4373 if { ac_try='./conftest$ac_cv_exeext'
4374 { { case "(($ac_try" in
4375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4376 *) ac_try_echo=$ac_try;;
4377 esac
4378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4379 $as_echo "$ac_try_echo"; } >&5
4380 (eval "$ac_try") 2>&5
4381 ac_status=$?
4382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4383 test $ac_status = 0; }; }; then
4384 cross_compiling=no
4385 else
4386 if test "$cross_compiling" = maybe; then
4387 cross_compiling=yes
4388 else
4389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4391 as_fn_error $? "cannot run C compiled programs.
4392 If you meant to cross compile, use \`--host'.
4393 See \`config.log' for more details" "$LINENO" 5; }
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4398 $as_echo "$cross_compiling" >&6; }
4400 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4401 ac_clean_files=$ac_clean_files_save
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4403 $as_echo_n "checking for suffix of object files... " >&6; }
4404 if ${ac_cv_objext+:} false; then :
4405 $as_echo_n "(cached) " >&6
4406 else
4407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4408 /* end confdefs.h. */
4411 main ()
4415 return 0;
4417 _ACEOF
4418 rm -f conftest.o conftest.obj
4419 if { { ac_try="$ac_compile"
4420 case "(($ac_try" in
4421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4422 *) ac_try_echo=$ac_try;;
4423 esac
4424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4425 $as_echo "$ac_try_echo"; } >&5
4426 (eval "$ac_compile") 2>&5
4427 ac_status=$?
4428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4429 test $ac_status = 0; }; then :
4430 for ac_file in conftest.o conftest.obj conftest.*; do
4431 test -f "$ac_file" || continue;
4432 case $ac_file in
4433 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4434 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4435 break;;
4436 esac
4437 done
4438 else
4439 $as_echo "$as_me: failed program was:" >&5
4440 sed 's/^/| /' conftest.$ac_ext >&5
4442 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4444 as_fn_error $? "cannot compute suffix of object files: cannot compile
4445 See \`config.log' for more details" "$LINENO" 5; }
4447 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4450 $as_echo "$ac_cv_objext" >&6; }
4451 OBJEXT=$ac_cv_objext
4452 ac_objext=$OBJEXT
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4454 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4455 if ${ac_cv_c_compiler_gnu+:} false; then :
4456 $as_echo_n "(cached) " >&6
4457 else
4458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4459 /* end confdefs.h. */
4462 main ()
4464 #ifndef __GNUC__
4465 choke me
4466 #endif
4469 return 0;
4471 _ACEOF
4472 if ac_fn_c_try_compile "$LINENO"; then :
4473 ac_compiler_gnu=yes
4474 else
4475 ac_compiler_gnu=no
4477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4478 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4482 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4483 if test $ac_compiler_gnu = yes; then
4484 GCC=yes
4485 else
4486 GCC=
4488 ac_test_CFLAGS=${CFLAGS+set}
4489 ac_save_CFLAGS=$CFLAGS
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4491 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4492 if ${ac_cv_prog_cc_g+:} false; then :
4493 $as_echo_n "(cached) " >&6
4494 else
4495 ac_save_c_werror_flag=$ac_c_werror_flag
4496 ac_c_werror_flag=yes
4497 ac_cv_prog_cc_g=no
4498 CFLAGS="-g"
4499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h. */
4503 main ()
4507 return 0;
4509 _ACEOF
4510 if ac_fn_c_try_compile "$LINENO"; then :
4511 ac_cv_prog_cc_g=yes
4512 else
4513 CFLAGS=""
4514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4515 /* end confdefs.h. */
4518 main ()
4522 return 0;
4524 _ACEOF
4525 if ac_fn_c_try_compile "$LINENO"; then :
4527 else
4528 ac_c_werror_flag=$ac_save_c_werror_flag
4529 CFLAGS="-g"
4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4531 /* end confdefs.h. */
4534 main ()
4538 return 0;
4540 _ACEOF
4541 if ac_fn_c_try_compile "$LINENO"; then :
4542 ac_cv_prog_cc_g=yes
4544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4549 ac_c_werror_flag=$ac_save_c_werror_flag
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4552 $as_echo "$ac_cv_prog_cc_g" >&6; }
4553 if test "$ac_test_CFLAGS" = set; then
4554 CFLAGS=$ac_save_CFLAGS
4555 elif test $ac_cv_prog_cc_g = yes; then
4556 if test "$GCC" = yes; then
4557 CFLAGS="-g -O2"
4558 else
4559 CFLAGS="-g"
4561 else
4562 if test "$GCC" = yes; then
4563 CFLAGS="-O2"
4564 else
4565 CFLAGS=
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4569 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4570 if ${ac_cv_prog_cc_c89+:} false; then :
4571 $as_echo_n "(cached) " >&6
4572 else
4573 ac_cv_prog_cc_c89=no
4574 ac_save_CC=$CC
4575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4576 /* end confdefs.h. */
4577 #include <stdarg.h>
4578 #include <stdio.h>
4579 struct stat;
4580 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4581 struct buf { int x; };
4582 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4583 static char *e (p, i)
4584 char **p;
4585 int i;
4587 return p[i];
4589 static char *f (char * (*g) (char **, int), char **p, ...)
4591 char *s;
4592 va_list v;
4593 va_start (v,p);
4594 s = g (p, va_arg (v,int));
4595 va_end (v);
4596 return s;
4599 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4600 function prototypes and stuff, but not '\xHH' hex character constants.
4601 These don't provoke an error unfortunately, instead are silently treated
4602 as 'x'. The following induces an error, until -std is added to get
4603 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4604 array size at least. It's necessary to write '\x00'==0 to get something
4605 that's true only with -std. */
4606 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4608 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4609 inside strings and character constants. */
4610 #define FOO(x) 'x'
4611 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4613 int test (int i, double x);
4614 struct s1 {int (*f) (int a);};
4615 struct s2 {int (*f) (double a);};
4616 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4617 int argc;
4618 char **argv;
4620 main ()
4622 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4624 return 0;
4626 _ACEOF
4627 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4628 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4630 CC="$ac_save_CC $ac_arg"
4631 if ac_fn_c_try_compile "$LINENO"; then :
4632 ac_cv_prog_cc_c89=$ac_arg
4634 rm -f core conftest.err conftest.$ac_objext
4635 test "x$ac_cv_prog_cc_c89" != "xno" && break
4636 done
4637 rm -f conftest.$ac_ext
4638 CC=$ac_save_CC
4641 # AC_CACHE_VAL
4642 case "x$ac_cv_prog_cc_c89" in
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4645 $as_echo "none needed" >&6; } ;;
4646 xno)
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4648 $as_echo "unsupported" >&6; } ;;
4650 CC="$CC $ac_cv_prog_cc_c89"
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4652 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4653 esac
4654 if test "x$ac_cv_prog_cc_c89" != xno; then :
4658 ac_ext=c
4659 ac_cpp='$CPP $CPPFLAGS'
4660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4664 ac_ext=cpp
4665 ac_cpp='$CXXCPP $CPPFLAGS'
4666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4669 if test -z "$CXX"; then
4670 if test -n "$CCC"; then
4671 CXX=$CCC
4672 else
4673 if test -n "$ac_tool_prefix"; then
4674 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4676 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4677 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4679 $as_echo_n "checking for $ac_word... " >&6; }
4680 if ${ac_cv_prog_CXX+:} false; then :
4681 $as_echo_n "(cached) " >&6
4682 else
4683 if test -n "$CXX"; then
4684 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4685 else
4686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4687 for as_dir in $PATH
4689 IFS=$as_save_IFS
4690 test -z "$as_dir" && as_dir=.
4691 for ac_exec_ext in '' $ac_executable_extensions; do
4692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4693 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4695 break 2
4697 done
4698 done
4699 IFS=$as_save_IFS
4703 CXX=$ac_cv_prog_CXX
4704 if test -n "$CXX"; then
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4706 $as_echo "$CXX" >&6; }
4707 else
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4709 $as_echo "no" >&6; }
4713 test -n "$CXX" && break
4714 done
4716 if test -z "$CXX"; then
4717 ac_ct_CXX=$CXX
4718 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4720 # Extract the first word of "$ac_prog", so it can be a program name with args.
4721 set dummy $ac_prog; ac_word=$2
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4723 $as_echo_n "checking for $ac_word... " >&6; }
4724 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4725 $as_echo_n "(cached) " >&6
4726 else
4727 if test -n "$ac_ct_CXX"; then
4728 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4729 else
4730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4731 for as_dir in $PATH
4733 IFS=$as_save_IFS
4734 test -z "$as_dir" && as_dir=.
4735 for ac_exec_ext in '' $ac_executable_extensions; do
4736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4737 ac_cv_prog_ac_ct_CXX="$ac_prog"
4738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4739 break 2
4741 done
4742 done
4743 IFS=$as_save_IFS
4747 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4748 if test -n "$ac_ct_CXX"; then
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4750 $as_echo "$ac_ct_CXX" >&6; }
4751 else
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4753 $as_echo "no" >&6; }
4757 test -n "$ac_ct_CXX" && break
4758 done
4760 if test "x$ac_ct_CXX" = x; then
4761 CXX="g++"
4762 else
4763 case $cross_compiling:$ac_tool_warned in
4764 yes:)
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4766 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4767 ac_tool_warned=yes ;;
4768 esac
4769 CXX=$ac_ct_CXX
4775 # Provide some information about the compiler.
4776 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4777 set X $ac_compile
4778 ac_compiler=$2
4779 for ac_option in --version -v -V -qversion; do
4780 { { ac_try="$ac_compiler $ac_option >&5"
4781 case "(($ac_try" in
4782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4783 *) ac_try_echo=$ac_try;;
4784 esac
4785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4786 $as_echo "$ac_try_echo"; } >&5
4787 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4788 ac_status=$?
4789 if test -s conftest.err; then
4790 sed '10a\
4791 ... rest of stderr output deleted ...
4792 10q' conftest.err >conftest.er1
4793 cat conftest.er1 >&5
4795 rm -f conftest.er1 conftest.err
4796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4797 test $ac_status = 0; }
4798 done
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4801 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4802 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4803 $as_echo_n "(cached) " >&6
4804 else
4805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h. */
4809 main ()
4811 #ifndef __GNUC__
4812 choke me
4813 #endif
4816 return 0;
4818 _ACEOF
4819 if ac_fn_cxx_try_compile "$LINENO"; then :
4820 ac_compiler_gnu=yes
4821 else
4822 ac_compiler_gnu=no
4824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4825 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4829 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4830 if test $ac_compiler_gnu = yes; then
4831 GXX=yes
4832 else
4833 GXX=
4835 ac_test_CXXFLAGS=${CXXFLAGS+set}
4836 ac_save_CXXFLAGS=$CXXFLAGS
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4838 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4839 if ${ac_cv_prog_cxx_g+:} false; then :
4840 $as_echo_n "(cached) " >&6
4841 else
4842 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4843 ac_cxx_werror_flag=yes
4844 ac_cv_prog_cxx_g=no
4845 CXXFLAGS="-g"
4846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4847 /* end confdefs.h. */
4850 main ()
4854 return 0;
4856 _ACEOF
4857 if ac_fn_cxx_try_compile "$LINENO"; then :
4858 ac_cv_prog_cxx_g=yes
4859 else
4860 CXXFLAGS=""
4861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4862 /* end confdefs.h. */
4865 main ()
4869 return 0;
4871 _ACEOF
4872 if ac_fn_cxx_try_compile "$LINENO"; then :
4874 else
4875 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4876 CXXFLAGS="-g"
4877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4878 /* end confdefs.h. */
4881 main ()
4885 return 0;
4887 _ACEOF
4888 if ac_fn_cxx_try_compile "$LINENO"; then :
4889 ac_cv_prog_cxx_g=yes
4891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4896 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4899 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4900 if test "$ac_test_CXXFLAGS" = set; then
4901 CXXFLAGS=$ac_save_CXXFLAGS
4902 elif test $ac_cv_prog_cxx_g = yes; then
4903 if test "$GXX" = yes; then
4904 CXXFLAGS="-g -O2"
4905 else
4906 CXXFLAGS="-g"
4908 else
4909 if test "$GXX" = yes; then
4910 CXXFLAGS="-O2"
4911 else
4912 CXXFLAGS=
4915 ac_ext=c
4916 ac_cpp='$CPP $CPPFLAGS'
4917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4921 if test -n "$ac_tool_prefix"; then
4922 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4923 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4925 $as_echo_n "checking for $ac_word... " >&6; }
4926 if ${ac_cv_prog_CPPBIN+:} false; then :
4927 $as_echo_n "(cached) " >&6
4928 else
4929 if test -n "$CPPBIN"; then
4930 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4931 else
4932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4933 for as_dir in $PATH
4935 IFS=$as_save_IFS
4936 test -z "$as_dir" && as_dir=.
4937 for ac_exec_ext in '' $ac_executable_extensions; do
4938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4939 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4941 break 2
4943 done
4944 done
4945 IFS=$as_save_IFS
4949 CPPBIN=$ac_cv_prog_CPPBIN
4950 if test -n "$CPPBIN"; then
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4952 $as_echo "$CPPBIN" >&6; }
4953 else
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955 $as_echo "no" >&6; }
4960 if test -z "$ac_cv_prog_CPPBIN"; then
4961 ac_ct_CPPBIN=$CPPBIN
4962 # Extract the first word of "cpp", so it can be a program name with args.
4963 set dummy cpp; ac_word=$2
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4965 $as_echo_n "checking for $ac_word... " >&6; }
4966 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4967 $as_echo_n "(cached) " >&6
4968 else
4969 if test -n "$ac_ct_CPPBIN"; then
4970 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4971 else
4972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4973 for as_dir in $PATH
4975 IFS=$as_save_IFS
4976 test -z "$as_dir" && as_dir=.
4977 for ac_exec_ext in '' $ac_executable_extensions; do
4978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4979 ac_cv_prog_ac_ct_CPPBIN="cpp"
4980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4981 break 2
4983 done
4984 done
4985 IFS=$as_save_IFS
4989 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4990 if test -n "$ac_ct_CPPBIN"; then
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4992 $as_echo "$ac_ct_CPPBIN" >&6; }
4993 else
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4995 $as_echo "no" >&6; }
4998 if test "x$ac_ct_CPPBIN" = x; then
4999 CPPBIN="cpp"
5000 else
5001 case $cross_compiling:$ac_tool_warned in
5002 yes:)
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5005 ac_tool_warned=yes ;;
5006 esac
5007 CPPBIN=$ac_ct_CPPBIN
5009 else
5010 CPPBIN="$ac_cv_prog_CPPBIN"
5014 cat >>confdefs.h <<_ACEOF
5015 #define EXEEXT "$ac_exeext"
5016 _ACEOF
5018 if test -n "$ac_tool_prefix"; then
5019 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5020 set dummy ${ac_tool_prefix}ld; ac_word=$2
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5022 $as_echo_n "checking for $ac_word... " >&6; }
5023 if ${ac_cv_prog_LD+:} false; then :
5024 $as_echo_n "(cached) " >&6
5025 else
5026 if test -n "$LD"; then
5027 ac_cv_prog_LD="$LD" # Let the user override the test.
5028 else
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5030 for as_dir in $PATH
5032 IFS=$as_save_IFS
5033 test -z "$as_dir" && as_dir=.
5034 for ac_exec_ext in '' $ac_executable_extensions; do
5035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5036 ac_cv_prog_LD="${ac_tool_prefix}ld"
5037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5038 break 2
5040 done
5041 done
5042 IFS=$as_save_IFS
5046 LD=$ac_cv_prog_LD
5047 if test -n "$LD"; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5049 $as_echo "$LD" >&6; }
5050 else
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5057 if test -z "$ac_cv_prog_LD"; then
5058 ac_ct_LD=$LD
5059 # Extract the first word of "ld", so it can be a program name with args.
5060 set dummy ld; ac_word=$2
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5062 $as_echo_n "checking for $ac_word... " >&6; }
5063 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5064 $as_echo_n "(cached) " >&6
5065 else
5066 if test -n "$ac_ct_LD"; then
5067 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5068 else
5069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5070 for as_dir in $PATH
5072 IFS=$as_save_IFS
5073 test -z "$as_dir" && as_dir=.
5074 for ac_exec_ext in '' $ac_executable_extensions; do
5075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5076 ac_cv_prog_ac_ct_LD="ld"
5077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5078 break 2
5080 done
5081 done
5082 IFS=$as_save_IFS
5086 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5087 if test -n "$ac_ct_LD"; then
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5089 $as_echo "$ac_ct_LD" >&6; }
5090 else
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5092 $as_echo "no" >&6; }
5095 if test "x$ac_ct_LD" = x; then
5096 LD=""
5097 else
5098 case $cross_compiling:$ac_tool_warned in
5099 yes:)
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5102 ac_tool_warned=yes ;;
5103 esac
5104 LD=$ac_ct_LD
5106 else
5107 LD="$ac_cv_prog_LD"
5111 case $host in
5112 *-darwin*)
5113 with_fontconfig=${with_fontconfig:-no}
5115 *-mingw32*|*-cygwin*)
5116 enable_win16=${enable_win16:-no}
5117 CFLAGS="$CFLAGS -D_WIN32"
5119 esac
5121 case $host in
5122 x86_64*|amd64*)
5123 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5124 then
5125 CC="$CC -m32"
5126 CXX="$CXX -m32"
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5128 $as_echo_n "checking whether $CC works... " >&6; }
5130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5131 /* end confdefs.h. */
5134 main ()
5138 return 0;
5140 _ACEOF
5141 if ac_fn_c_try_link "$LINENO"; then :
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5143 $as_echo "yes" >&6; }
5144 else
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5147 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5149 rm -f core conftest.err conftest.$ac_objext \
5150 conftest$ac_exeext conftest.$ac_ext
5151 host_cpu="i386"
5152 notice_platform="32-bit "
5153 TARGETFLAGS="-m32"
5155 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5156 export PKG_CONFIG_PATH
5157 enable_win16=${enable_win16:-yes}
5158 else
5159 if test "x${GCC}" = "xyes"
5160 then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5162 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5164 /* end confdefs.h. */
5165 #include <stdarg.h>
5167 main ()
5169 void func(__builtin_ms_va_list *args);
5171 return 0;
5173 _ACEOF
5174 if ac_fn_c_try_compile "$LINENO"; then :
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5176 $as_echo "yes" >&6; }
5177 else
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5180 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5184 CC="$CC -m64"
5185 CXX="$CXX -m64"
5186 host_cpu="x86_64"
5187 notice_platform="64-bit "
5188 TARGETFLAGS="-m64"
5192 arm*)
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5194 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5196 /* end confdefs.h. */
5197 int ac_test(int i) { return i; }
5199 main ()
5201 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5203 return 0;
5205 _ACEOF
5206 if ac_fn_c_try_link "$LINENO"; then :
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5208 $as_echo "yes" >&6; }
5209 else
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5212 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5214 rm -f core conftest.err conftest.$ac_objext \
5215 conftest$ac_exeext conftest.$ac_ext
5216 CFLAGS="$CFLAGS -marm"
5217 TARGETFLAGS="-marm"
5220 i[3456789]86*)
5221 enable_win16=${enable_win16:-yes}
5223 esac
5225 enable_win16=${enable_win16:-no}
5226 enable_win64=${enable_win64:-no}
5228 enable_winetest=${enable_winetest:-$enable_tests}
5230 if test -n "$with_wine64"
5231 then
5232 if test "x$enable_win64" = "xyes"
5233 then
5234 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5235 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5237 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5238 You should create a separate build directory and run configure from there." "$LINENO" 5
5239 enable_fonts=${enable_fonts:-no}
5240 enable_server=${enable_server:-no}
5241 elif test "x$enable_win64" = "xyes"
5242 then
5243 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5247 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5248 if ${wine_cv_toolsdir+:} false; then :
5249 $as_echo_n "(cached) " >&6
5250 else
5251 wine_cv_toolsdir="$with_wine_tools"
5252 if test -z "$with_wine_tools"; then
5253 if test "$cross_compiling" = "yes"; then
5254 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5255 elif test -n "$with_wine64"; then
5256 wine_cv_toolsdir="$with_wine64"
5259 if test -z "$wine_cv_toolsdir"; then
5260 wine_makedep=tools/makedep
5261 wine_cv_toolsdir="\$(top_builddir)"
5262 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5263 wine_makedep=$wine_cv_toolsdir/tools/makedep
5264 case "$wine_cv_toolsdir" in
5265 /*) ;;
5266 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5267 esac
5268 enable_tools=${enable_tools:-no}
5269 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5270 else
5271 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5275 $as_echo "$wine_cv_toolsdir" >&6; }
5276 TOOLSDIR=$wine_cv_toolsdir
5278 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5279 then
5280 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5284 for ac_prog in flex
5286 # Extract the first word of "$ac_prog", so it can be a program name with args.
5287 set dummy $ac_prog; ac_word=$2
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5289 $as_echo_n "checking for $ac_word... " >&6; }
5290 if ${ac_cv_prog_FLEX+:} false; then :
5291 $as_echo_n "(cached) " >&6
5292 else
5293 if test -n "$FLEX"; then
5294 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5295 else
5296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5297 for as_dir in $PATH
5299 IFS=$as_save_IFS
5300 test -z "$as_dir" && as_dir=.
5301 for ac_exec_ext in '' $ac_executable_extensions; do
5302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5303 ac_cv_prog_FLEX="$ac_prog"
5304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5305 break 2
5307 done
5308 done
5309 IFS=$as_save_IFS
5313 FLEX=$ac_cv_prog_FLEX
5314 if test -n "$FLEX"; then
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5316 $as_echo "$FLEX" >&6; }
5317 else
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5319 $as_echo "no" >&6; }
5323 test -n "$FLEX" && break
5324 done
5325 test -n "$FLEX" || FLEX="none"
5327 if test "$FLEX" = "none"
5328 then
5329 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5332 $as_echo_n "checking whether flex is recent enough... " >&6; }
5333 cat >conftest.l <<EOF
5334 %top{
5335 #include "prediluvian.h"
5339 if $FLEX -t conftest.l >/dev/null 2>&5
5340 then
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5342 $as_echo "yes" >&6; }
5343 else
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5345 $as_echo "no" >&6; }
5346 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5349 for ac_prog in bison
5351 # Extract the first word of "$ac_prog", so it can be a program name with args.
5352 set dummy $ac_prog; ac_word=$2
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5354 $as_echo_n "checking for $ac_word... " >&6; }
5355 if ${ac_cv_prog_BISON+:} false; then :
5356 $as_echo_n "(cached) " >&6
5357 else
5358 if test -n "$BISON"; then
5359 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5360 else
5361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5362 for as_dir in $PATH
5364 IFS=$as_save_IFS
5365 test -z "$as_dir" && as_dir=.
5366 for ac_exec_ext in '' $ac_executable_extensions; do
5367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5368 ac_cv_prog_BISON="$ac_prog"
5369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5370 break 2
5372 done
5373 done
5374 IFS=$as_save_IFS
5378 BISON=$ac_cv_prog_BISON
5379 if test -n "$BISON"; then
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5381 $as_echo "$BISON" >&6; }
5382 else
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5384 $as_echo "no" >&6; }
5388 test -n "$BISON" && break
5389 done
5390 test -n "$BISON" || BISON="none"
5392 if test "$BISON" = "none"
5393 then
5394 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5397 if test -n "$ac_tool_prefix"; then
5398 for ac_prog in ar gar
5400 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5401 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5403 $as_echo_n "checking for $ac_word... " >&6; }
5404 if ${ac_cv_prog_AR+:} false; then :
5405 $as_echo_n "(cached) " >&6
5406 else
5407 if test -n "$AR"; then
5408 ac_cv_prog_AR="$AR" # Let the user override the test.
5409 else
5410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5411 for as_dir in $PATH
5413 IFS=$as_save_IFS
5414 test -z "$as_dir" && as_dir=.
5415 for ac_exec_ext in '' $ac_executable_extensions; do
5416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5417 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 break 2
5421 done
5422 done
5423 IFS=$as_save_IFS
5427 AR=$ac_cv_prog_AR
5428 if test -n "$AR"; then
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5430 $as_echo "$AR" >&6; }
5431 else
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5433 $as_echo "no" >&6; }
5437 test -n "$AR" && break
5438 done
5440 if test -z "$AR"; then
5441 ac_ct_AR=$AR
5442 for ac_prog in ar gar
5444 # Extract the first word of "$ac_prog", so it can be a program name with args.
5445 set dummy $ac_prog; ac_word=$2
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5447 $as_echo_n "checking for $ac_word... " >&6; }
5448 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5449 $as_echo_n "(cached) " >&6
5450 else
5451 if test -n "$ac_ct_AR"; then
5452 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5453 else
5454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5455 for as_dir in $PATH
5457 IFS=$as_save_IFS
5458 test -z "$as_dir" && as_dir=.
5459 for ac_exec_ext in '' $ac_executable_extensions; do
5460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5461 ac_cv_prog_ac_ct_AR="$ac_prog"
5462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5463 break 2
5465 done
5466 done
5467 IFS=$as_save_IFS
5471 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5472 if test -n "$ac_ct_AR"; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5474 $as_echo "$ac_ct_AR" >&6; }
5475 else
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5477 $as_echo "no" >&6; }
5481 test -n "$ac_ct_AR" && break
5482 done
5484 if test "x$ac_ct_AR" = x; then
5485 AR="ar"
5486 else
5487 case $cross_compiling:$ac_tool_warned in
5488 yes:)
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5491 ac_tool_warned=yes ;;
5492 esac
5493 AR=$ac_ct_AR
5497 if test -n "$ac_tool_prefix"; then
5498 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5499 set dummy ${ac_tool_prefix}strip; ac_word=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if ${ac_cv_prog_STRIP+:} false; then :
5503 $as_echo_n "(cached) " >&6
5504 else
5505 if test -n "$STRIP"; then
5506 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5507 else
5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 for as_dir in $PATH
5511 IFS=$as_save_IFS
5512 test -z "$as_dir" && as_dir=.
5513 for ac_exec_ext in '' $ac_executable_extensions; do
5514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5515 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5517 break 2
5519 done
5520 done
5521 IFS=$as_save_IFS
5525 STRIP=$ac_cv_prog_STRIP
5526 if test -n "$STRIP"; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5528 $as_echo "$STRIP" >&6; }
5529 else
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531 $as_echo "no" >&6; }
5536 if test -z "$ac_cv_prog_STRIP"; then
5537 ac_ct_STRIP=$STRIP
5538 # Extract the first word of "strip", so it can be a program name with args.
5539 set dummy strip; ac_word=$2
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5543 $as_echo_n "(cached) " >&6
5544 else
5545 if test -n "$ac_ct_STRIP"; then
5546 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5547 else
5548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549 for as_dir in $PATH
5551 IFS=$as_save_IFS
5552 test -z "$as_dir" && as_dir=.
5553 for ac_exec_ext in '' $ac_executable_extensions; do
5554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5555 ac_cv_prog_ac_ct_STRIP="strip"
5556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5557 break 2
5559 done
5560 done
5561 IFS=$as_save_IFS
5565 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5566 if test -n "$ac_ct_STRIP"; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5568 $as_echo "$ac_ct_STRIP" >&6; }
5569 else
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5574 if test "x$ac_ct_STRIP" = x; then
5575 STRIP="strip"
5576 else
5577 case $cross_compiling:$ac_tool_warned in
5578 yes:)
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5581 ac_tool_warned=yes ;;
5582 esac
5583 STRIP=$ac_ct_STRIP
5585 else
5586 STRIP="$ac_cv_prog_STRIP"
5589 ARFLAGS=rc
5591 if test -n "$ac_tool_prefix"; then
5592 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5593 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5595 $as_echo_n "checking for $ac_word... " >&6; }
5596 if ${ac_cv_prog_RANLIB+:} false; then :
5597 $as_echo_n "(cached) " >&6
5598 else
5599 if test -n "$RANLIB"; then
5600 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5601 else
5602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5603 for as_dir in $PATH
5605 IFS=$as_save_IFS
5606 test -z "$as_dir" && as_dir=.
5607 for ac_exec_ext in '' $ac_executable_extensions; do
5608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5609 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5611 break 2
5613 done
5614 done
5615 IFS=$as_save_IFS
5619 RANLIB=$ac_cv_prog_RANLIB
5620 if test -n "$RANLIB"; then
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5622 $as_echo "$RANLIB" >&6; }
5623 else
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5625 $as_echo "no" >&6; }
5630 if test -z "$ac_cv_prog_RANLIB"; then
5631 ac_ct_RANLIB=$RANLIB
5632 # Extract the first word of "ranlib", so it can be a program name with args.
5633 set dummy ranlib; ac_word=$2
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5635 $as_echo_n "checking for $ac_word... " >&6; }
5636 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5637 $as_echo_n "(cached) " >&6
5638 else
5639 if test -n "$ac_ct_RANLIB"; then
5640 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5641 else
5642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5643 for as_dir in $PATH
5645 IFS=$as_save_IFS
5646 test -z "$as_dir" && as_dir=.
5647 for ac_exec_ext in '' $ac_executable_extensions; do
5648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5649 ac_cv_prog_ac_ct_RANLIB="ranlib"
5650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5651 break 2
5653 done
5654 done
5655 IFS=$as_save_IFS
5659 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5660 if test -n "$ac_ct_RANLIB"; then
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5662 $as_echo "$ac_ct_RANLIB" >&6; }
5663 else
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 $as_echo "no" >&6; }
5668 if test "x$ac_ct_RANLIB" = x; then
5669 RANLIB=":"
5670 else
5671 case $cross_compiling:$ac_tool_warned in
5672 yes:)
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5675 ac_tool_warned=yes ;;
5676 esac
5677 RANLIB=$ac_ct_RANLIB
5679 else
5680 RANLIB="$ac_cv_prog_RANLIB"
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5684 $as_echo_n "checking whether ln -s works... " >&6; }
5685 LN_S=$as_ln_s
5686 if test "$LN_S" = "ln -s"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5688 $as_echo "yes" >&6; }
5689 else
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5691 $as_echo "no, using $LN_S" >&6; }
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5695 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5696 if ${ac_cv_path_GREP+:} false; then :
5697 $as_echo_n "(cached) " >&6
5698 else
5699 if test -z "$GREP"; then
5700 ac_path_GREP_found=false
5701 # Loop through the user's path and test for each of PROGNAME-LIST
5702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5703 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5705 IFS=$as_save_IFS
5706 test -z "$as_dir" && as_dir=.
5707 for ac_prog in grep ggrep; do
5708 for ac_exec_ext in '' $ac_executable_extensions; do
5709 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5710 as_fn_executable_p "$ac_path_GREP" || continue
5711 # Check for GNU ac_path_GREP and select it if it is found.
5712 # Check for GNU $ac_path_GREP
5713 case `"$ac_path_GREP" --version 2>&1` in
5714 *GNU*)
5715 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5717 ac_count=0
5718 $as_echo_n 0123456789 >"conftest.in"
5719 while :
5721 cat "conftest.in" "conftest.in" >"conftest.tmp"
5722 mv "conftest.tmp" "conftest.in"
5723 cp "conftest.in" "conftest.nl"
5724 $as_echo 'GREP' >> "conftest.nl"
5725 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5726 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5727 as_fn_arith $ac_count + 1 && ac_count=$as_val
5728 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5729 # Best one so far, save it but keep looking for a better one
5730 ac_cv_path_GREP="$ac_path_GREP"
5731 ac_path_GREP_max=$ac_count
5733 # 10*(2^10) chars as input seems more than enough
5734 test $ac_count -gt 10 && break
5735 done
5736 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5737 esac
5739 $ac_path_GREP_found && break 3
5740 done
5741 done
5742 done
5743 IFS=$as_save_IFS
5744 if test -z "$ac_cv_path_GREP"; then
5745 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5747 else
5748 ac_cv_path_GREP=$GREP
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5753 $as_echo "$ac_cv_path_GREP" >&6; }
5754 GREP="$ac_cv_path_GREP"
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5758 $as_echo_n "checking for egrep... " >&6; }
5759 if ${ac_cv_path_EGREP+:} false; then :
5760 $as_echo_n "(cached) " >&6
5761 else
5762 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5763 then ac_cv_path_EGREP="$GREP -E"
5764 else
5765 if test -z "$EGREP"; then
5766 ac_path_EGREP_found=false
5767 # Loop through the user's path and test for each of PROGNAME-LIST
5768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5769 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5771 IFS=$as_save_IFS
5772 test -z "$as_dir" && as_dir=.
5773 for ac_prog in egrep; do
5774 for ac_exec_ext in '' $ac_executable_extensions; do
5775 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5776 as_fn_executable_p "$ac_path_EGREP" || continue
5777 # Check for GNU ac_path_EGREP and select it if it is found.
5778 # Check for GNU $ac_path_EGREP
5779 case `"$ac_path_EGREP" --version 2>&1` in
5780 *GNU*)
5781 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5783 ac_count=0
5784 $as_echo_n 0123456789 >"conftest.in"
5785 while :
5787 cat "conftest.in" "conftest.in" >"conftest.tmp"
5788 mv "conftest.tmp" "conftest.in"
5789 cp "conftest.in" "conftest.nl"
5790 $as_echo 'EGREP' >> "conftest.nl"
5791 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5792 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5793 as_fn_arith $ac_count + 1 && ac_count=$as_val
5794 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5795 # Best one so far, save it but keep looking for a better one
5796 ac_cv_path_EGREP="$ac_path_EGREP"
5797 ac_path_EGREP_max=$ac_count
5799 # 10*(2^10) chars as input seems more than enough
5800 test $ac_count -gt 10 && break
5801 done
5802 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5803 esac
5805 $ac_path_EGREP_found && break 3
5806 done
5807 done
5808 done
5809 IFS=$as_save_IFS
5810 if test -z "$ac_cv_path_EGREP"; then
5811 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5813 else
5814 ac_cv_path_EGREP=$EGREP
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5820 $as_echo "$ac_cv_path_EGREP" >&6; }
5821 EGREP="$ac_cv_path_EGREP"
5824 # Extract the first word of "ldconfig", so it can be a program name with args.
5825 set dummy ldconfig; ac_word=$2
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5827 $as_echo_n "checking for $ac_word... " >&6; }
5828 if ${ac_cv_path_LDCONFIG+:} false; then :
5829 $as_echo_n "(cached) " >&6
5830 else
5831 case $LDCONFIG in
5832 [\\/]* | ?:[\\/]*)
5833 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837 for as_dir in /sbin /usr/sbin $PATH
5839 IFS=$as_save_IFS
5840 test -z "$as_dir" && as_dir=.
5841 for ac_exec_ext in '' $ac_executable_extensions; do
5842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5843 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5845 break 2
5847 done
5848 done
5849 IFS=$as_save_IFS
5851 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5853 esac
5855 LDCONFIG=$ac_cv_path_LDCONFIG
5856 if test -n "$LDCONFIG"; then
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5858 $as_echo "$LDCONFIG" >&6; }
5859 else
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5861 $as_echo "no" >&6; }
5865 for ac_prog in msgfmt
5867 # Extract the first word of "$ac_prog", so it can be a program name with args.
5868 set dummy $ac_prog; ac_word=$2
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5870 $as_echo_n "checking for $ac_word... " >&6; }
5871 if ${ac_cv_prog_MSGFMT+:} false; then :
5872 $as_echo_n "(cached) " >&6
5873 else
5874 if test -n "$MSGFMT"; then
5875 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5876 else
5877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5878 for as_dir in $PATH
5880 IFS=$as_save_IFS
5881 test -z "$as_dir" && as_dir=.
5882 for ac_exec_ext in '' $ac_executable_extensions; do
5883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5884 ac_cv_prog_MSGFMT="$ac_prog"
5885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5886 break 2
5888 done
5889 done
5890 IFS=$as_save_IFS
5894 MSGFMT=$ac_cv_prog_MSGFMT
5895 if test -n "$MSGFMT"; then
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5897 $as_echo "$MSGFMT" >&6; }
5898 else
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5900 $as_echo "no" >&6; }
5904 test -n "$MSGFMT" && break
5905 done
5906 test -n "$MSGFMT" || MSGFMT="false"
5908 if ${ac_tool_prefix+:} false; then :
5909 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5910 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5914 $as_echo_n "(cached) " >&6
5915 else
5916 if test -n "$PKG_CONFIG"; then
5917 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5918 else
5919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 for as_dir in $PATH
5922 IFS=$as_save_IFS
5923 test -z "$as_dir" && as_dir=.
5924 for ac_exec_ext in '' $ac_executable_extensions; do
5925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5926 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5928 break 2
5930 done
5931 done
5932 IFS=$as_save_IFS
5936 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5937 if test -n "$PKG_CONFIG"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5939 $as_echo "$PKG_CONFIG" >&6; }
5940 else
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5947 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5948 if test "x$cross_compiling" = xyes; then :
5950 else
5951 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5952 # Extract the first word of "pkg-config", so it can be a program name with args.
5953 set dummy pkg-config; ac_word=$2
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5955 $as_echo_n "checking for $ac_word... " >&6; }
5956 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5957 $as_echo_n "(cached) " >&6
5958 else
5959 if test -n "$PKG_CONFIG"; then
5960 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5961 else
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 for as_dir in $PATH
5965 IFS=$as_save_IFS
5966 test -z "$as_dir" && as_dir=.
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5969 ac_cv_prog_PKG_CONFIG="pkg-config"
5970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5971 break 2
5973 done
5974 done
5975 IFS=$as_save_IFS
5979 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5980 if test -n "$PKG_CONFIG"; then
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5982 $as_echo "$PKG_CONFIG" >&6; }
5983 else
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5985 $as_echo "no" >&6; }
5990 else
5991 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5994 if test "x$enable_maintainer_mode" != "xyes"
5995 then
5996 FONTFORGE=""
5997 RSVG=""
5998 CONVERT=""
5999 ICOTOOL=""
6000 else
6001 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6002 for ac_prog in fontforge
6004 # Extract the first word of "$ac_prog", so it can be a program name with args.
6005 set dummy $ac_prog; ac_word=$2
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 $as_echo_n "checking for $ac_word... " >&6; }
6008 if ${ac_cv_prog_FONTFORGE+:} false; then :
6009 $as_echo_n "(cached) " >&6
6010 else
6011 if test -n "$FONTFORGE"; then
6012 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6013 else
6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 for as_dir in $PATH
6017 IFS=$as_save_IFS
6018 test -z "$as_dir" && as_dir=.
6019 for ac_exec_ext in '' $ac_executable_extensions; do
6020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6021 ac_cv_prog_FONTFORGE="$ac_prog"
6022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6023 break 2
6025 done
6026 done
6027 IFS=$as_save_IFS
6031 FONTFORGE=$ac_cv_prog_FONTFORGE
6032 if test -n "$FONTFORGE"; then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6034 $as_echo "$FONTFORGE" >&6; }
6035 else
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6037 $as_echo "no" >&6; }
6041 test -n "$FONTFORGE" && break
6042 done
6043 test -n "$FONTFORGE" || FONTFORGE="false"
6045 for ac_prog in rsvg-convert rsvg
6047 # Extract the first word of "$ac_prog", so it can be a program name with args.
6048 set dummy $ac_prog; ac_word=$2
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050 $as_echo_n "checking for $ac_word... " >&6; }
6051 if ${ac_cv_prog_RSVG+:} false; then :
6052 $as_echo_n "(cached) " >&6
6053 else
6054 if test -n "$RSVG"; then
6055 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6056 else
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058 for as_dir in $PATH
6060 IFS=$as_save_IFS
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6064 ac_cv_prog_RSVG="$ac_prog"
6065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6066 break 2
6068 done
6069 done
6070 IFS=$as_save_IFS
6074 RSVG=$ac_cv_prog_RSVG
6075 if test -n "$RSVG"; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6077 $as_echo "$RSVG" >&6; }
6078 else
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080 $as_echo "no" >&6; }
6084 test -n "$RSVG" && break
6085 done
6086 test -n "$RSVG" || RSVG="false"
6088 for ac_prog in convert
6090 # Extract the first word of "$ac_prog", so it can be a program name with args.
6091 set dummy $ac_prog; ac_word=$2
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6093 $as_echo_n "checking for $ac_word... " >&6; }
6094 if ${ac_cv_prog_CONVERT+:} false; then :
6095 $as_echo_n "(cached) " >&6
6096 else
6097 if test -n "$CONVERT"; then
6098 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6099 else
6100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6101 for as_dir in $PATH
6103 IFS=$as_save_IFS
6104 test -z "$as_dir" && as_dir=.
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6107 ac_cv_prog_CONVERT="$ac_prog"
6108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6109 break 2
6111 done
6112 done
6113 IFS=$as_save_IFS
6117 CONVERT=$ac_cv_prog_CONVERT
6118 if test -n "$CONVERT"; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6120 $as_echo "$CONVERT" >&6; }
6121 else
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6123 $as_echo "no" >&6; }
6127 test -n "$CONVERT" && break
6128 done
6129 test -n "$CONVERT" || CONVERT="false"
6131 for ac_prog in icotool
6133 # Extract the first word of "$ac_prog", so it can be a program name with args.
6134 set dummy $ac_prog; ac_word=$2
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6136 $as_echo_n "checking for $ac_word... " >&6; }
6137 if ${ac_cv_prog_ICOTOOL+:} false; then :
6138 $as_echo_n "(cached) " >&6
6139 else
6140 if test -n "$ICOTOOL"; then
6141 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6142 else
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 for as_dir in $PATH
6146 IFS=$as_save_IFS
6147 test -z "$as_dir" && as_dir=.
6148 for ac_exec_ext in '' $ac_executable_extensions; do
6149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6150 ac_cv_prog_ICOTOOL="$ac_prog"
6151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6152 break 2
6154 done
6155 done
6156 IFS=$as_save_IFS
6160 ICOTOOL=$ac_cv_prog_ICOTOOL
6161 if test -n "$ICOTOOL"; then
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6163 $as_echo "$ICOTOOL" >&6; }
6164 else
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6166 $as_echo "no" >&6; }
6170 test -n "$ICOTOOL" && break
6171 done
6172 test -n "$ICOTOOL" || ICOTOOL="false"
6174 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6175 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6177 if test "$CONVERT" = false
6178 then
6179 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6180 else
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6182 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6183 convert_version=`convert --version | head -n1`
6184 if test "x$convert_version" != "x"
6185 then
6186 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6187 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6188 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6189 then
6190 CONVERT=false
6193 if test "$CONVERT" = false
6194 then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6196 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6197 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6198 else
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6200 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6204 if test "$ICOTOOL" = false
6205 then
6206 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6207 else
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6209 $as_echo_n "checking for recent enough icotool... " >&6; }
6210 icotool_version=`icotool --version | head -n1`
6211 if test "x$icotool_version" != "x"
6212 then
6213 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6214 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6215 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6216 then
6217 ICOTOOL=false
6218 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6221 if test "$ICOTOOL" = false
6222 then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6224 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6225 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6226 else
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6228 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6232 with_gettext=yes
6233 with_gettextpo=yes
6234 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6237 test "x$with_gettext" != xno || MSGFMT=false
6238 if test "$MSGFMT" != "false"
6239 then
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6241 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6242 cat >conftest.po <<EOF
6243 # comment
6244 msgctxt "ctxt"
6245 msgid "id"
6246 msgstr "str"
6248 if $MSGFMT -o /dev/null conftest.po 2>&5
6249 then
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6251 $as_echo "yes" >&6; }
6252 else
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6254 $as_echo "no" >&6; }
6255 MSGFMT=false
6258 if test "$MSGFMT" = false; then :
6259 case "x$with_gettext" in
6260 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6261 xno) ;;
6262 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6263 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6264 esac
6265 enable_po=${enable_po:-no}
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6270 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6271 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6272 $as_echo_n "(cached) " >&6
6273 else
6274 ac_check_lib_save_LIBS=$LIBS
6275 LIBS="-li386 $LIBS"
6276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6277 /* end confdefs.h. */
6279 /* Override any GCC internal prototype to avoid an error.
6280 Use char because int might match the return type of a GCC
6281 builtin and then its argument prototype would still apply. */
6282 #ifdef __cplusplus
6283 extern "C"
6284 #endif
6285 char i386_set_ldt ();
6287 main ()
6289 return i386_set_ldt ();
6291 return 0;
6293 _ACEOF
6294 if ac_fn_c_try_link "$LINENO"; then :
6295 ac_cv_lib_i386_i386_set_ldt=yes
6296 else
6297 ac_cv_lib_i386_i386_set_ldt=no
6299 rm -f core conftest.err conftest.$ac_objext \
6300 conftest$ac_exeext conftest.$ac_ext
6301 LIBS=$ac_check_lib_save_LIBS
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6304 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6305 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6306 cat >>confdefs.h <<_ACEOF
6307 #define HAVE_LIBI386 1
6308 _ACEOF
6310 LIBS="-li386 $LIBS"
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6315 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6316 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6317 $as_echo_n "(cached) " >&6
6318 else
6319 ac_check_lib_save_LIBS=$LIBS
6320 LIBS="-lossaudio $LIBS"
6321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6322 /* end confdefs.h. */
6324 /* Override any GCC internal prototype to avoid an error.
6325 Use char because int might match the return type of a GCC
6326 builtin and then its argument prototype would still apply. */
6327 #ifdef __cplusplus
6328 extern "C"
6329 #endif
6330 char _oss_ioctl ();
6332 main ()
6334 return _oss_ioctl ();
6336 return 0;
6338 _ACEOF
6339 if ac_fn_c_try_link "$LINENO"; then :
6340 ac_cv_lib_ossaudio__oss_ioctl=yes
6341 else
6342 ac_cv_lib_ossaudio__oss_ioctl=no
6344 rm -f core conftest.err conftest.$ac_objext \
6345 conftest$ac_exeext conftest.$ac_ext
6346 LIBS=$ac_check_lib_save_LIBS
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6349 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6350 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6351 cat >>confdefs.h <<_ACEOF
6352 #define HAVE_LIBOSSAUDIO 1
6353 _ACEOF
6355 LIBS="-lossaudio $LIBS"
6360 OPENGL_LIBS=""
6364 # Check whether --enable-largefile was given.
6365 if test "${enable_largefile+set}" = set; then :
6366 enableval=$enable_largefile;
6369 if test "$enable_largefile" != no; then
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6372 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6373 if ${ac_cv_sys_largefile_CC+:} false; then :
6374 $as_echo_n "(cached) " >&6
6375 else
6376 ac_cv_sys_largefile_CC=no
6377 if test "$GCC" != yes; then
6378 ac_save_CC=$CC
6379 while :; do
6380 # IRIX 6.2 and later do not support large files by default,
6381 # so use the C compiler's -n32 option if that helps.
6382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6383 /* end confdefs.h. */
6384 #include <sys/types.h>
6385 /* Check that off_t can represent 2**63 - 1 correctly.
6386 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6387 since some C++ compilers masquerading as C compilers
6388 incorrectly reject 9223372036854775807. */
6389 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6390 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6391 && LARGE_OFF_T % 2147483647 == 1)
6392 ? 1 : -1];
6394 main ()
6398 return 0;
6400 _ACEOF
6401 if ac_fn_c_try_compile "$LINENO"; then :
6402 break
6404 rm -f core conftest.err conftest.$ac_objext
6405 CC="$CC -n32"
6406 if ac_fn_c_try_compile "$LINENO"; then :
6407 ac_cv_sys_largefile_CC=' -n32'; break
6409 rm -f core conftest.err conftest.$ac_objext
6410 break
6411 done
6412 CC=$ac_save_CC
6413 rm -f conftest.$ac_ext
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6417 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6418 if test "$ac_cv_sys_largefile_CC" != no; then
6419 CC=$CC$ac_cv_sys_largefile_CC
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6423 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6424 if ${ac_cv_sys_file_offset_bits+:} false; then :
6425 $as_echo_n "(cached) " >&6
6426 else
6427 while :; do
6428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6429 /* end confdefs.h. */
6430 #include <sys/types.h>
6431 /* Check that off_t can represent 2**63 - 1 correctly.
6432 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6433 since some C++ compilers masquerading as C compilers
6434 incorrectly reject 9223372036854775807. */
6435 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6436 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6437 && LARGE_OFF_T % 2147483647 == 1)
6438 ? 1 : -1];
6440 main ()
6444 return 0;
6446 _ACEOF
6447 if ac_fn_c_try_compile "$LINENO"; then :
6448 ac_cv_sys_file_offset_bits=no; break
6450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6452 /* end confdefs.h. */
6453 #define _FILE_OFFSET_BITS 64
6454 #include <sys/types.h>
6455 /* Check that off_t can represent 2**63 - 1 correctly.
6456 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6457 since some C++ compilers masquerading as C compilers
6458 incorrectly reject 9223372036854775807. */
6459 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6460 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6461 && LARGE_OFF_T % 2147483647 == 1)
6462 ? 1 : -1];
6464 main ()
6468 return 0;
6470 _ACEOF
6471 if ac_fn_c_try_compile "$LINENO"; then :
6472 ac_cv_sys_file_offset_bits=64; break
6474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6475 ac_cv_sys_file_offset_bits=unknown
6476 break
6477 done
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6480 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6481 case $ac_cv_sys_file_offset_bits in #(
6482 no | unknown) ;;
6484 cat >>confdefs.h <<_ACEOF
6485 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6486 _ACEOF
6488 esac
6489 rm -rf conftest*
6490 if test $ac_cv_sys_file_offset_bits = unknown; then
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6492 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6493 if ${ac_cv_sys_large_files+:} false; then :
6494 $as_echo_n "(cached) " >&6
6495 else
6496 while :; do
6497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6498 /* end confdefs.h. */
6499 #include <sys/types.h>
6500 /* Check that off_t can represent 2**63 - 1 correctly.
6501 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6502 since some C++ compilers masquerading as C compilers
6503 incorrectly reject 9223372036854775807. */
6504 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6505 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6506 && LARGE_OFF_T % 2147483647 == 1)
6507 ? 1 : -1];
6509 main ()
6513 return 0;
6515 _ACEOF
6516 if ac_fn_c_try_compile "$LINENO"; then :
6517 ac_cv_sys_large_files=no; break
6519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6521 /* end confdefs.h. */
6522 #define _LARGE_FILES 1
6523 #include <sys/types.h>
6524 /* Check that off_t can represent 2**63 - 1 correctly.
6525 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6526 since some C++ compilers masquerading as C compilers
6527 incorrectly reject 9223372036854775807. */
6528 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6529 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6530 && LARGE_OFF_T % 2147483647 == 1)
6531 ? 1 : -1];
6533 main ()
6537 return 0;
6539 _ACEOF
6540 if ac_fn_c_try_compile "$LINENO"; then :
6541 ac_cv_sys_large_files=1; break
6543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6544 ac_cv_sys_large_files=unknown
6545 break
6546 done
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6549 $as_echo "$ac_cv_sys_large_files" >&6; }
6550 case $ac_cv_sys_large_files in #(
6551 no | unknown) ;;
6553 cat >>confdefs.h <<_ACEOF
6554 #define _LARGE_FILES $ac_cv_sys_large_files
6555 _ACEOF
6557 esac
6558 rm -rf conftest*
6565 ac_ext=c
6566 ac_cpp='$CPP $CPPFLAGS'
6567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6571 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6572 # On Suns, sometimes $CPP names a directory.
6573 if test -n "$CPP" && test -d "$CPP"; then
6574 CPP=
6576 if test -z "$CPP"; then
6577 if ${ac_cv_prog_CPP+:} false; then :
6578 $as_echo_n "(cached) " >&6
6579 else
6580 # Double quotes because CPP needs to be expanded
6581 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6583 ac_preproc_ok=false
6584 for ac_c_preproc_warn_flag in '' yes
6586 # Use a header file that comes with gcc, so configuring glibc
6587 # with a fresh cross-compiler works.
6588 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6589 # <limits.h> exists even on freestanding compilers.
6590 # On the NeXT, cc -E runs the code through the compiler's parser,
6591 # not just through cpp. "Syntax error" is here to catch this case.
6592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6593 /* end confdefs.h. */
6594 #ifdef __STDC__
6595 # include <limits.h>
6596 #else
6597 # include <assert.h>
6598 #endif
6599 Syntax error
6600 _ACEOF
6601 if ac_fn_c_try_cpp "$LINENO"; then :
6603 else
6604 # Broken: fails on valid input.
6605 continue
6607 rm -f conftest.err conftest.i conftest.$ac_ext
6609 # OK, works on sane cases. Now check whether nonexistent headers
6610 # can be detected and how.
6611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6612 /* end confdefs.h. */
6613 #include <ac_nonexistent.h>
6614 _ACEOF
6615 if ac_fn_c_try_cpp "$LINENO"; then :
6616 # Broken: success on invalid input.
6617 continue
6618 else
6619 # Passes both tests.
6620 ac_preproc_ok=:
6621 break
6623 rm -f conftest.err conftest.i conftest.$ac_ext
6625 done
6626 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6627 rm -f conftest.i conftest.err conftest.$ac_ext
6628 if $ac_preproc_ok; then :
6629 break
6632 done
6633 ac_cv_prog_CPP=$CPP
6636 CPP=$ac_cv_prog_CPP
6637 else
6638 ac_cv_prog_CPP=$CPP
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6641 $as_echo "$CPP" >&6; }
6642 ac_preproc_ok=false
6643 for ac_c_preproc_warn_flag in '' yes
6645 # Use a header file that comes with gcc, so configuring glibc
6646 # with a fresh cross-compiler works.
6647 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6648 # <limits.h> exists even on freestanding compilers.
6649 # On the NeXT, cc -E runs the code through the compiler's parser,
6650 # not just through cpp. "Syntax error" is here to catch this case.
6651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6652 /* end confdefs.h. */
6653 #ifdef __STDC__
6654 # include <limits.h>
6655 #else
6656 # include <assert.h>
6657 #endif
6658 Syntax error
6659 _ACEOF
6660 if ac_fn_c_try_cpp "$LINENO"; then :
6662 else
6663 # Broken: fails on valid input.
6664 continue
6666 rm -f conftest.err conftest.i conftest.$ac_ext
6668 # OK, works on sane cases. Now check whether nonexistent headers
6669 # can be detected and how.
6670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6671 /* end confdefs.h. */
6672 #include <ac_nonexistent.h>
6673 _ACEOF
6674 if ac_fn_c_try_cpp "$LINENO"; then :
6675 # Broken: success on invalid input.
6676 continue
6677 else
6678 # Passes both tests.
6679 ac_preproc_ok=:
6680 break
6682 rm -f conftest.err conftest.i conftest.$ac_ext
6684 done
6685 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6686 rm -f conftest.i conftest.err conftest.$ac_ext
6687 if $ac_preproc_ok; then :
6689 else
6690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6692 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6693 See \`config.log' for more details" "$LINENO" 5; }
6696 ac_ext=c
6697 ac_cpp='$CPP $CPPFLAGS'
6698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6704 $as_echo_n "checking for ANSI C header files... " >&6; }
6705 if ${ac_cv_header_stdc+:} false; then :
6706 $as_echo_n "(cached) " >&6
6707 else
6708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6709 /* end confdefs.h. */
6710 #include <stdlib.h>
6711 #include <stdarg.h>
6712 #include <string.h>
6713 #include <float.h>
6716 main ()
6720 return 0;
6722 _ACEOF
6723 if ac_fn_c_try_compile "$LINENO"; then :
6724 ac_cv_header_stdc=yes
6725 else
6726 ac_cv_header_stdc=no
6728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6730 if test $ac_cv_header_stdc = yes; then
6731 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6733 /* end confdefs.h. */
6734 #include <string.h>
6736 _ACEOF
6737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6738 $EGREP "memchr" >/dev/null 2>&1; then :
6740 else
6741 ac_cv_header_stdc=no
6743 rm -f conftest*
6747 if test $ac_cv_header_stdc = yes; then
6748 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6750 /* end confdefs.h. */
6751 #include <stdlib.h>
6753 _ACEOF
6754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6755 $EGREP "free" >/dev/null 2>&1; then :
6757 else
6758 ac_cv_header_stdc=no
6760 rm -f conftest*
6764 if test $ac_cv_header_stdc = yes; then
6765 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6766 if test "$cross_compiling" = yes; then :
6768 else
6769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6770 /* end confdefs.h. */
6771 #include <ctype.h>
6772 #include <stdlib.h>
6773 #if ((' ' & 0x0FF) == 0x020)
6774 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6775 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6776 #else
6777 # define ISLOWER(c) \
6778 (('a' <= (c) && (c) <= 'i') \
6779 || ('j' <= (c) && (c) <= 'r') \
6780 || ('s' <= (c) && (c) <= 'z'))
6781 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6782 #endif
6784 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6786 main ()
6788 int i;
6789 for (i = 0; i < 256; i++)
6790 if (XOR (islower (i), ISLOWER (i))
6791 || toupper (i) != TOUPPER (i))
6792 return 2;
6793 return 0;
6795 _ACEOF
6796 if ac_fn_c_try_run "$LINENO"; then :
6798 else
6799 ac_cv_header_stdc=no
6801 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6802 conftest.$ac_objext conftest.beam conftest.$ac_ext
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6808 $as_echo "$ac_cv_header_stdc" >&6; }
6809 if test $ac_cv_header_stdc = yes; then
6811 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6815 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6816 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6817 inttypes.h stdint.h unistd.h
6818 do :
6819 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6820 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6822 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6823 cat >>confdefs.h <<_ACEOF
6824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6825 _ACEOF
6829 done
6832 for ac_header in \
6833 AL/al.h \
6834 ApplicationServices/ApplicationServices.h \
6835 AudioToolbox/AudioConverter.h \
6836 AudioUnit/AudioUnit.h \
6837 AudioUnit/AudioComponent.h \
6838 CL/cl.h \
6839 Carbon/Carbon.h \
6840 CommonCrypto/CommonDigest.h \
6841 CoreAudio/CoreAudio.h \
6842 CoreServices/CoreServices.h \
6843 DiskArbitration/DiskArbitration.h \
6844 EGL/egl.h \
6845 IOKit/IOKitLib.h \
6846 IOKit/hid/IOHIDLib.h \
6847 OpenAL/al.h \
6848 OpenCL/opencl.h \
6849 QuickTime/ImageCompression.h \
6850 Security/Security.h \
6851 alias.h \
6852 alsa/asoundlib.h \
6853 arpa/inet.h \
6854 arpa/nameser.h \
6855 asm/types.h \
6856 asm/user.h \
6857 curses.h \
6858 direct.h \
6859 dirent.h \
6860 dlfcn.h \
6861 elf.h \
6862 float.h \
6863 fnmatch.h \
6864 getopt.h \
6865 gettext-po.h \
6866 grp.h \
6867 gsm.h \
6868 gsm/gsm.h \
6869 ieeefp.h \
6870 inet/mib2.h \
6871 io.h \
6872 kstat.h \
6873 lber.h \
6874 ldap.h \
6875 libproc.h \
6876 link.h \
6877 linux/cdrom.h \
6878 linux/compiler.h \
6879 linux/filter.h \
6880 linux/hdreg.h \
6881 linux/hidraw.h \
6882 linux/input.h \
6883 linux/ioctl.h \
6884 linux/joystick.h \
6885 linux/major.h \
6886 linux/param.h \
6887 linux/serial.h \
6888 linux/types.h \
6889 linux/ucdrom.h \
6890 lwp.h \
6891 mach-o/nlist.h \
6892 mach-o/loader.h \
6893 mach/mach.h \
6894 mach/machine.h \
6895 machine/cpu.h \
6896 machine/limits.h \
6897 machine/sysarch.h \
6898 mntent.h \
6899 ncurses.h \
6900 netdb.h \
6901 netinet/in.h \
6902 netinet/in_systm.h \
6903 netinet/tcp.h \
6904 netinet/tcp_fsm.h \
6905 pcap/pcap.h \
6906 poll.h \
6907 port.h \
6908 process.h \
6909 pthread.h \
6910 pwd.h \
6911 sched.h \
6912 scsi/scsi.h \
6913 scsi/scsi_ioctl.h \
6914 scsi/sg.h \
6915 stdbool.h \
6916 stdint.h \
6917 stropts.h \
6918 sys/asoundlib.h \
6919 sys/attr.h \
6920 sys/auxv.h \
6921 sys/cdio.h \
6922 sys/elf32.h \
6923 sys/epoll.h \
6924 sys/event.h \
6925 sys/exec_elf.h \
6926 sys/filio.h \
6927 sys/inotify.h \
6928 sys/ioctl.h \
6929 sys/ipc.h \
6930 sys/limits.h \
6931 sys/link.h \
6932 sys/mman.h \
6933 sys/modem.h \
6934 sys/msg.h \
6935 sys/mtio.h \
6936 sys/param.h \
6937 sys/poll.h \
6938 sys/prctl.h \
6939 sys/protosw.h \
6940 sys/ptrace.h \
6941 sys/queue.h \
6942 sys/resource.h \
6943 sys/scsiio.h \
6944 sys/shm.h \
6945 sys/signal.h \
6946 sys/socket.h \
6947 sys/socketvar.h \
6948 sys/sockio.h \
6949 sys/statvfs.h \
6950 sys/strtio.h \
6951 sys/syscall.h \
6952 sys/sysinfo.h \
6953 sys/tihdr.h \
6954 sys/time.h \
6955 sys/timeout.h \
6956 sys/times.h \
6957 sys/uio.h \
6958 sys/user.h \
6959 sys/utsname.h \
6960 sys/vm86.h \
6961 sys/vnode.h \
6962 sys/wait.h \
6963 syscall.h \
6964 termios.h \
6965 unistd.h \
6966 utime.h \
6967 valgrind/memcheck.h \
6968 valgrind/valgrind.h \
6969 zlib.h
6971 do :
6972 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6973 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6974 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6975 cat >>confdefs.h <<_ACEOF
6976 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6977 _ACEOF
6981 done
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6984 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6985 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6986 $as_echo_n "(cached) " >&6
6987 else
6988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6989 /* end confdefs.h. */
6990 #include <sys/types.h>
6992 main ()
6994 return makedev(0, 0);
6996 return 0;
6998 _ACEOF
6999 if ac_fn_c_try_link "$LINENO"; then :
7000 ac_cv_header_sys_types_h_makedev=yes
7001 else
7002 ac_cv_header_sys_types_h_makedev=no
7004 rm -f core conftest.err conftest.$ac_objext \
7005 conftest$ac_exeext conftest.$ac_ext
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7009 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7011 if test $ac_cv_header_sys_types_h_makedev = no; then
7012 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7013 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7015 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7021 if test $ac_cv_header_sys_mkdev_h = no; then
7022 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7023 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7025 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7034 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7035 if ${ac_cv_header_stat_broken+:} false; then :
7036 $as_echo_n "(cached) " >&6
7037 else
7038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7039 /* end confdefs.h. */
7040 #include <sys/types.h>
7041 #include <sys/stat.h>
7043 #if defined S_ISBLK && defined S_IFDIR
7044 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7045 #endif
7047 #if defined S_ISBLK && defined S_IFCHR
7048 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7049 #endif
7051 #if defined S_ISLNK && defined S_IFREG
7052 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7053 #endif
7055 #if defined S_ISSOCK && defined S_IFREG
7056 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7057 #endif
7059 _ACEOF
7060 if ac_fn_c_try_compile "$LINENO"; then :
7061 ac_cv_header_stat_broken=no
7062 else
7063 ac_cv_header_stat_broken=yes
7065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7068 $as_echo "$ac_cv_header_stat_broken" >&6; }
7069 if test $ac_cv_header_stat_broken = yes; then
7071 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7077 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7078 do :
7079 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7080 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7081 #ifdef HAVE_SYS_PARAM_H
7082 # include <sys/param.h>
7083 #endif
7085 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7086 cat >>confdefs.h <<_ACEOF
7087 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7088 _ACEOF
7092 done
7095 for ac_header in \
7096 netinet/ip.h \
7097 net/if.h \
7098 net/if_arp.h \
7099 net/if_dl.h \
7100 net/if_types.h \
7101 net/route.h \
7102 netinet/if_ether.h \
7103 netinet/if_inarp.h \
7104 netinet/in_pcb.h \
7105 netinet/ip_icmp.h \
7106 netinet/ip_var.h \
7107 netinet/udp.h \
7108 netipx/ipx.h \
7109 sys/un.h \
7111 do :
7112 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7113 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7114 #ifdef HAVE_SYS_SOCKET_H
7115 # include <sys/socket.h>
7116 #endif
7117 #ifdef HAVE_SYS_SOCKETVAR_H
7118 # include <sys/socketvar.h>
7119 #endif
7120 #ifdef HAVE_NET_ROUTE_H
7121 # include <net/route.h>
7122 #endif
7123 #ifdef HAVE_NETINET_IN_H
7124 # include <netinet/in.h>
7125 #endif
7126 #ifdef HAVE_NETINET_IN_SYSTM_H
7127 # include <netinet/in_systm.h>
7128 #endif
7129 #ifdef HAVE_NET_IF_H
7130 # include <net/if.h>
7131 #endif
7132 #ifdef HAVE_NETINET_IP_H
7133 # include <netinet/ip.h>
7134 #endif
7136 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7137 cat >>confdefs.h <<_ACEOF
7138 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7139 _ACEOF
7143 done
7146 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7147 do :
7148 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7149 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7150 #ifdef HAVE_ALIAS_H
7151 # include <alias.h>
7152 #endif
7153 #ifdef HAVE_SYS_SOCKET_H
7154 # include <sys/socket.h>
7155 #endif
7156 #ifdef HAVE_SYS_SOCKETVAR_H
7157 # include <sys/socketvar.h>
7158 #endif
7159 #ifdef HAVE_SYS_TIMEOUT_H
7160 # include <sys/timeout.h>
7161 #endif
7162 #ifdef HAVE_NETINET_IN_H
7163 # include <netinet/in.h>
7164 #endif
7165 #ifdef HAVE_NETINET_IN_SYSTM_H
7166 # include <netinet/in_systm.h>
7167 #endif
7168 #ifdef HAVE_NETINET_IP_H
7169 # include <netinet/ip.h>
7170 #endif
7171 #ifdef HAVE_NETINET_IP_VAR_H
7172 # include <netinet/ip_var.h>
7173 #endif
7174 #ifdef HAVE_NETINET_IP_ICMP_H
7175 # include <netinet/ip_icmp.h>
7176 #endif
7177 #ifdef HAVE_NETINET_UDP_H
7178 # include <netinet/udp.h>
7179 #endif
7180 #ifdef HAVE_NETINET_TCP_H
7181 # include <netinet/tcp.h>
7182 #endif
7183 #ifdef HAVE_NETINET_TCP_TIMER_H
7184 #include <netinet/tcp_timer.h>
7185 #endif
7187 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7188 cat >>confdefs.h <<_ACEOF
7189 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7190 _ACEOF
7194 done
7197 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7198 do :
7199 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7200 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7201 #ifdef HAVE_ASM_TYPES_H
7202 # include <asm/types.h>
7203 #endif
7204 #ifdef HAVE_SYS_SOCKET_H
7205 # include <sys/socket.h>
7206 #endif
7207 #ifdef HAVE_LINUX_TYPES_H
7208 # include <linux/types.h>
7209 #endif
7211 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7212 cat >>confdefs.h <<_ACEOF
7213 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7214 _ACEOF
7218 done
7221 for ac_header in mach-o/dyld_images.h
7222 do :
7223 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7224 # include <stdbool.h>
7225 #endif
7226 #ifdef HAVE_STDINT_H
7227 # include <stdint.h>
7228 #endif
7230 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7231 cat >>confdefs.h <<_ACEOF
7232 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7233 _ACEOF
7237 done
7240 for ac_header in resolv.h
7241 do :
7242 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7243 #ifdef HAVE_SYS_SOCKET_H
7244 # include <sys/socket.h>
7245 #endif
7246 #ifdef HAVE_NETINET_IN_H
7247 # include <netinet/in.h>
7248 #endif
7249 #ifdef HAVE_ARPA_NAMESER_H
7250 # include <arpa/nameser.h>
7251 #endif
7253 if test "x$ac_cv_header_resolv_h" = xyes; then :
7254 cat >>confdefs.h <<_ACEOF
7255 #define HAVE_RESOLV_H 1
7256 _ACEOF
7260 done
7263 for ac_header in ifaddrs.h
7264 do :
7265 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7267 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7268 cat >>confdefs.h <<_ACEOF
7269 #define HAVE_IFADDRS_H 1
7270 _ACEOF
7274 done
7277 for ac_header in sys/ucontext.h
7278 do :
7279 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7281 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7282 cat >>confdefs.h <<_ACEOF
7283 #define HAVE_SYS_UCONTEXT_H 1
7284 _ACEOF
7288 done
7291 for ac_header in sys/thr.h
7292 do :
7293 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7294 #ifdef HAVE_SYS_UCONTEXT_H
7295 #include <sys/ucontext.h>
7296 #endif
7298 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7299 cat >>confdefs.h <<_ACEOF
7300 #define HAVE_SYS_THR_H 1
7301 _ACEOF
7305 done
7308 for ac_header in pthread_np.h
7309 do :
7310 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7311 #include <pthread.h>
7312 #endif
7314 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7315 cat >>confdefs.h <<_ACEOF
7316 #define HAVE_PTHREAD_NP_H 1
7317 _ACEOF
7321 done
7324 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7325 do :
7326 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7327 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7328 #include <sys/time.h>
7329 #endif
7330 #include <sys/types.h>
7331 #ifdef HAVE_ASM_TYPES_H
7332 #include <asm/types.h>
7333 #endif
7335 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7336 cat >>confdefs.h <<_ACEOF
7337 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7338 _ACEOF
7342 done
7345 for ac_header in libprocstat.h
7346 do :
7347 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7348 #include <sys/param.h>
7349 #endif
7350 #ifdef HAVE_SYS_QUEUE_H
7351 #include <sys/queue.h>
7352 #endif
7353 #ifdef HAVE_SYS_SOCKET_H
7354 #include <sys/socket.h>
7355 #endif
7357 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7358 cat >>confdefs.h <<_ACEOF
7359 #define HAVE_LIBPROCSTAT_H 1
7360 _ACEOF
7364 done
7368 dlldir="\${libdir}/wine"
7370 DLLFLAGS="-D_REENTRANT"
7372 LDRPATH_INSTALL=""
7374 LDRPATH_LOCAL=""
7376 LDEXECFLAGS=""
7378 WINELOADER_LDFLAGS=""
7380 LIBEXT="so"
7381 DLLEXT=".so"
7382 IMPLIBEXT="def"
7383 # Extract the first word of "ldd", so it can be a program name with args.
7384 set dummy ldd; ac_word=$2
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7386 $as_echo_n "checking for $ac_word... " >&6; }
7387 if ${ac_cv_path_LDD+:} false; then :
7388 $as_echo_n "(cached) " >&6
7389 else
7390 case $LDD in
7391 [\\/]* | ?:[\\/]*)
7392 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7396 as_dummy="/sbin:/usr/sbin:$PATH"
7397 for as_dir in $as_dummy
7399 IFS=$as_save_IFS
7400 test -z "$as_dir" && as_dir=.
7401 for ac_exec_ext in '' $ac_executable_extensions; do
7402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7403 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7405 break 2
7407 done
7408 done
7409 IFS=$as_save_IFS
7411 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7413 esac
7415 LDD=$ac_cv_path_LDD
7416 if test -n "$LDD"; then
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7418 $as_echo "$LDD" >&6; }
7419 else
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7421 $as_echo "no" >&6; }
7425 if test -n "$ac_tool_prefix"; then
7426 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7427 set dummy ${ac_tool_prefix}otool; ac_word=$2
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7429 $as_echo_n "checking for $ac_word... " >&6; }
7430 if ${ac_cv_prog_OTOOL+:} false; then :
7431 $as_echo_n "(cached) " >&6
7432 else
7433 if test -n "$OTOOL"; then
7434 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7435 else
7436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7437 for as_dir in $PATH
7439 IFS=$as_save_IFS
7440 test -z "$as_dir" && as_dir=.
7441 for ac_exec_ext in '' $ac_executable_extensions; do
7442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7443 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7445 break 2
7447 done
7448 done
7449 IFS=$as_save_IFS
7453 OTOOL=$ac_cv_prog_OTOOL
7454 if test -n "$OTOOL"; then
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7456 $as_echo "$OTOOL" >&6; }
7457 else
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7459 $as_echo "no" >&6; }
7464 if test -z "$ac_cv_prog_OTOOL"; then
7465 ac_ct_OTOOL=$OTOOL
7466 # Extract the first word of "otool", so it can be a program name with args.
7467 set dummy otool; ac_word=$2
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7469 $as_echo_n "checking for $ac_word... " >&6; }
7470 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7471 $as_echo_n "(cached) " >&6
7472 else
7473 if test -n "$ac_ct_OTOOL"; then
7474 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7475 else
7476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7477 for as_dir in $PATH
7479 IFS=$as_save_IFS
7480 test -z "$as_dir" && as_dir=.
7481 for ac_exec_ext in '' $ac_executable_extensions; do
7482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7483 ac_cv_prog_ac_ct_OTOOL="otool"
7484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7485 break 2
7487 done
7488 done
7489 IFS=$as_save_IFS
7493 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7494 if test -n "$ac_ct_OTOOL"; then
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7496 $as_echo "$ac_ct_OTOOL" >&6; }
7497 else
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7499 $as_echo "no" >&6; }
7502 if test "x$ac_ct_OTOOL" = x; then
7503 OTOOL="otool"
7504 else
7505 case $cross_compiling:$ac_tool_warned in
7506 yes:)
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7509 ac_tool_warned=yes ;;
7510 esac
7511 OTOOL=$ac_ct_OTOOL
7513 else
7514 OTOOL="$ac_cv_prog_OTOOL"
7517 if test -n "$ac_tool_prefix"; then
7518 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7519 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7521 $as_echo_n "checking for $ac_word... " >&6; }
7522 if ${ac_cv_prog_READELF+:} false; then :
7523 $as_echo_n "(cached) " >&6
7524 else
7525 if test -n "$READELF"; then
7526 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7527 else
7528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7529 for as_dir in $PATH
7531 IFS=$as_save_IFS
7532 test -z "$as_dir" && as_dir=.
7533 for ac_exec_ext in '' $ac_executable_extensions; do
7534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7535 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7537 break 2
7539 done
7540 done
7541 IFS=$as_save_IFS
7545 READELF=$ac_cv_prog_READELF
7546 if test -n "$READELF"; then
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7548 $as_echo "$READELF" >&6; }
7549 else
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7551 $as_echo "no" >&6; }
7556 if test -z "$ac_cv_prog_READELF"; then
7557 ac_ct_READELF=$READELF
7558 # Extract the first word of "readelf", so it can be a program name with args.
7559 set dummy readelf; ac_word=$2
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7561 $as_echo_n "checking for $ac_word... " >&6; }
7562 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7563 $as_echo_n "(cached) " >&6
7564 else
7565 if test -n "$ac_ct_READELF"; then
7566 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7567 else
7568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7569 for as_dir in $PATH
7571 IFS=$as_save_IFS
7572 test -z "$as_dir" && as_dir=.
7573 for ac_exec_ext in '' $ac_executable_extensions; do
7574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7575 ac_cv_prog_ac_ct_READELF="readelf"
7576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7577 break 2
7579 done
7580 done
7581 IFS=$as_save_IFS
7585 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7586 if test -n "$ac_ct_READELF"; then
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7588 $as_echo "$ac_ct_READELF" >&6; }
7589 else
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7591 $as_echo "no" >&6; }
7594 if test "x$ac_ct_READELF" = x; then
7595 READELF="true"
7596 else
7597 case $cross_compiling:$ac_tool_warned in
7598 yes:)
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7601 ac_tool_warned=yes ;;
7602 esac
7603 READELF=$ac_ct_READELF
7605 else
7606 READELF="$ac_cv_prog_READELF"
7609 wine_rules_file=conf$$rules.make
7610 rm -f $wine_rules_file
7611 SUBDIRS=""
7613 DISABLED_SUBDIRS=""
7615 CONFIGURE_TARGETS=""
7617 ALL_TEST_RESOURCES=""
7620 wine_fn_append_file ()
7622 as_fn_append $1 " \\$as_nl $2"
7625 wine_fn_append_rule ()
7627 $as_echo "$1" >>$wine_rules_file
7630 wine_fn_has_flag ()
7632 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7635 wine_fn_all_rules ()
7637 wine_fn_append_file SUBDIRS $ac_dir
7638 wine_fn_append_rule \
7639 "all: $ac_dir
7640 .PHONY: $ac_dir
7641 $ac_dir: dummy
7642 @cd $ac_dir && \$(MAKE)"
7645 wine_fn_install_rules ()
7647 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7649 wine_fn_append_rule \
7650 ".PHONY: $ac_dir/install $ac_dir/uninstall
7651 $ac_dir/install:: $ac_dir
7652 @cd $ac_dir && \$(MAKE) install
7653 $ac_dir/uninstall::
7654 @cd $ac_dir && \$(MAKE) uninstall
7655 install:: $ac_dir/install
7656 __uninstall__: $ac_dir/uninstall"
7658 if wine_fn_has_flag install-lib
7659 then
7660 wine_fn_append_rule \
7661 ".PHONY: $ac_dir/install-lib
7662 $ac_dir/install-lib:: $ac_dir
7663 @cd $ac_dir && \$(MAKE) install-lib
7664 install-lib:: $ac_dir/install-lib"
7667 if wine_fn_has_flag install-dev
7668 then
7669 wine_fn_append_rule \
7670 ".PHONY: $ac_dir/install-dev
7671 $ac_dir/install-dev:: $ac_dir
7672 @cd $ac_dir && \$(MAKE) install-dev
7673 install-dev:: $ac_dir/install-dev"
7677 wine_fn_clean_rules ()
7679 ac_clean=$@
7681 if wine_fn_has_flag clean
7682 then
7683 wine_fn_append_rule \
7684 "$ac_dir/clean: dummy
7685 @cd $ac_dir && \$(MAKE) clean"
7686 else
7687 wine_fn_append_rule \
7688 "$ac_dir/clean: dummy
7689 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7691 wine_fn_append_rule \
7692 "__clean__: $ac_dir/clean
7693 .PHONY: $ac_dir/clean"
7696 wine_fn_disabled_rules ()
7698 ac_clean=$@
7700 wine_fn_append_file SUBDIRS $ac_dir
7701 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7702 wine_fn_append_rule \
7703 "__clean__: $ac_dir/clean
7704 .PHONY: $ac_dir/clean
7705 $ac_dir/clean: dummy
7706 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7709 wine_fn_config_makefile ()
7711 ac_dir=$1
7712 ac_enable=$2
7713 ac_flags=$3
7715 case $ac_dir in
7716 fonts|server) test -z "$with_wine64" || return ;;
7717 esac
7718 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7719 wine_fn_disabled_rules; return
7721 wine_fn_all_rules
7722 wine_fn_install_rules
7723 wine_fn_clean_rules
7726 wine_fn_config_lib ()
7728 ac_name=$1
7729 ac_flags=$2
7730 ac_dir=dlls/$ac_name
7731 ac_deps="include"
7733 if test "x$enable_tools" = xno; then :
7735 else
7736 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7738 wine_fn_all_rules
7739 wine_fn_clean_rules
7741 wine_fn_append_rule \
7742 ".PHONY: $ac_dir/install $ac_dir/uninstall
7743 $ac_dir/install:: $ac_dir
7744 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7745 $ac_dir/uninstall::
7746 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7747 install install-dev:: $ac_dir/install
7748 __uninstall__: $ac_dir/uninstall
7749 __builddeps__: $ac_dir
7750 $ac_dir: $ac_deps"
7753 wine_fn_config_dll ()
7755 ac_name=$1
7756 ac_dir=dlls/$ac_name
7757 ac_enable=$2
7758 ac_flags=$3
7759 ac_implib=${4:-$ac_name}
7760 ac_file=$ac_dir/lib$ac_implib
7761 ac_dll=$ac_name
7762 ac_deps="include"
7763 ac_implibflags=""
7765 if test "x$enable_tools" = xno; then :
7767 else
7768 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7770 case $ac_name in
7771 *.*16) ac_implibflags=" -m16" ;;
7772 *.*) ;;
7773 *) ac_dll=$ac_dll.dll ;;
7774 esac
7776 ac_clean=
7777 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7778 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7780 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7781 if test "$ac_enable" != enable_win16
7782 then
7783 wine_fn_clean_rules $ac_clean
7784 wine_fn_append_file SUBDIRS $ac_dir
7785 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7786 else
7787 wine_fn_disabled_rules $ac_clean
7788 return
7790 else
7791 wine_fn_all_rules
7792 wine_fn_clean_rules $ac_clean
7793 wine_fn_append_rule \
7794 "$ac_dir: __builddeps__
7795 manpages htmlpages sgmlpages xmlpages::
7796 @cd $ac_dir && \$(MAKE) \$@
7797 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7798 install install-lib:: $ac_dir/install-lib
7799 __uninstall__: $ac_dir/uninstall"
7800 if test -n "$DLLEXT"
7801 then
7802 wine_fn_append_rule \
7803 "$ac_dir/install-lib:: $ac_dir
7804 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7805 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7806 $ac_dir/uninstall::
7807 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7808 else
7809 wine_fn_append_rule \
7810 "$ac_dir/install-lib:: $ac_dir
7811 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7812 $ac_dir/uninstall::
7813 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7817 if wine_fn_has_flag staticimplib
7818 then
7819 wine_fn_append_rule \
7820 "__builddeps__: $ac_file.a
7821 $ac_file.a $ac_file.cross.a: $ac_deps
7822 $ac_file.a: dummy
7823 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7824 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7825 $ac_dir/install-dev:: $ac_file.a
7826 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7827 $ac_dir/uninstall::
7828 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7829 install install-dev:: $ac_dir/install-dev
7830 __uninstall__: $ac_dir/uninstall"
7832 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7833 then
7834 wine_fn_append_rule \
7835 "__builddeps__: $ac_file.cross.a
7836 $ac_file.cross.a: dummy
7837 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7840 elif wine_fn_has_flag implib
7841 then
7842 wine_fn_append_rule \
7843 "__builddeps__: $ac_file.$IMPLIBEXT
7844 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7845 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7846 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7847 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7848 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7849 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7850 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7851 $ac_dir/uninstall::
7852 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7853 install install-dev:: $ac_dir/install-dev
7854 __uninstall__: $ac_dir/uninstall"
7855 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7856 then
7857 wine_fn_append_rule \
7858 "__builddeps__: $ac_file.cross.a
7859 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7860 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7865 wine_fn_config_program ()
7867 ac_name=$1
7868 ac_dir=programs/$ac_name
7869 ac_enable=$2
7870 ac_flags=$3
7871 ac_program=$ac_name
7873 case $ac_name in
7874 *.*) ;;
7875 *) ac_program=$ac_program.exe ;;
7876 esac
7878 ac_clean=
7879 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7880 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7882 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7883 wine_fn_disabled_rules $ac_clean; return
7886 wine_fn_all_rules
7887 wine_fn_clean_rules $ac_clean
7888 wine_fn_append_rule "$ac_dir: __builddeps__"
7890 wine_fn_has_flag install || return
7891 wine_fn_append_rule \
7892 ".PHONY: $ac_dir/install $ac_dir/uninstall
7893 install install-lib:: $ac_dir/install
7894 __uninstall__: $ac_dir/uninstall"
7896 if test -n "$DLLEXT"
7897 then
7898 wine_fn_append_rule \
7899 "$ac_dir/install:: $ac_dir
7900 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7901 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7902 $ac_dir/uninstall::
7903 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7905 if test -z "$with_wine64" && wine_fn_has_flag installbin
7906 then
7907 wine_fn_append_rule \
7908 "$ac_dir/install:: __tooldeps__
7909 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7910 $ac_dir/uninstall::
7911 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7913 else
7914 wine_fn_append_rule \
7915 "$ac_dir/install:: $ac_dir
7916 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7917 $ac_dir/uninstall::
7918 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7921 if test -z "$with_wine64" && wine_fn_has_flag manpage
7922 then
7923 wine_fn_append_rule \
7924 "$ac_dir/install:: $ac_dir
7925 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7926 $ac_dir/uninstall::
7927 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7931 wine_fn_config_test ()
7933 ac_dir=$1
7934 ac_name=$2
7935 ac_flags=$3
7937 ac_clean=
7938 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7939 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7941 if test "x$enable_tests" = xno; then :
7942 wine_fn_disabled_rules $ac_clean; return
7945 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7946 wine_fn_all_rules
7947 wine_fn_clean_rules $ac_clean
7949 wine_fn_append_rule \
7950 "$ac_dir: __builddeps__
7951 programs/winetest: $ac_dir
7952 check test: $ac_dir/test
7953 .PHONY: $ac_dir/test
7954 $ac_dir/test: dummy
7955 @cd $ac_dir && \$(MAKE) test
7956 testclean::
7957 \$(RM) $ac_dir/*.ok"
7959 if test -n "$CROSSTARGET"
7960 then
7961 wine_fn_append_rule \
7962 "crosstest: $ac_dir/crosstest
7963 .PHONY: $ac_dir/crosstest
7964 $ac_dir/crosstest: __builddeps__ dummy
7965 @cd $ac_dir && \$(MAKE) crosstest"
7969 wine_fn_config_tool ()
7971 ac_dir=$1
7972 ac_flags=$2
7973 if test "x$enable_tools" = xno; then :
7974 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7977 wine_fn_all_rules
7978 wine_fn_install_rules
7979 wine_fn_clean_rules
7981 wine_fn_append_rule "__tooldeps__: $ac_dir"
7982 wine_fn_append_rule "$ac_dir: libs/port"
7983 case $ac_dir in
7984 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7985 esac
7988 wine_fn_config_symlink ()
7990 ac_linkdir=
7991 if test "x$1" = "x-d"
7992 then
7993 ac_linkdir=$2
7994 shift; shift
7996 ac_links=$@
7997 wine_fn_append_rule \
7998 "$ac_links:
7999 @./config.status \$@"
8000 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8001 test -n "$ac_linkdir" || return
8002 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8005 wine_binary="wine"
8006 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8007 WINELOADER_PROGRAMS="$wine_binary"
8009 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8011 case $host_os in
8012 cygwin*|mingw32*)
8013 if test -n "$ac_tool_prefix"; then
8014 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8015 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8017 $as_echo_n "checking for $ac_word... " >&6; }
8018 if ${ac_cv_prog_DLLTOOL+:} false; then :
8019 $as_echo_n "(cached) " >&6
8020 else
8021 if test -n "$DLLTOOL"; then
8022 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8023 else
8024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8025 for as_dir in $PATH
8027 IFS=$as_save_IFS
8028 test -z "$as_dir" && as_dir=.
8029 for ac_exec_ext in '' $ac_executable_extensions; do
8030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8031 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8033 break 2
8035 done
8036 done
8037 IFS=$as_save_IFS
8041 DLLTOOL=$ac_cv_prog_DLLTOOL
8042 if test -n "$DLLTOOL"; then
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8044 $as_echo "$DLLTOOL" >&6; }
8045 else
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8047 $as_echo "no" >&6; }
8052 if test -z "$ac_cv_prog_DLLTOOL"; then
8053 ac_ct_DLLTOOL=$DLLTOOL
8054 # Extract the first word of "dlltool", so it can be a program name with args.
8055 set dummy dlltool; ac_word=$2
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8057 $as_echo_n "checking for $ac_word... " >&6; }
8058 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8059 $as_echo_n "(cached) " >&6
8060 else
8061 if test -n "$ac_ct_DLLTOOL"; then
8062 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8063 else
8064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8065 for as_dir in $PATH
8067 IFS=$as_save_IFS
8068 test -z "$as_dir" && as_dir=.
8069 for ac_exec_ext in '' $ac_executable_extensions; do
8070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8071 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8073 break 2
8075 done
8076 done
8077 IFS=$as_save_IFS
8081 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8082 if test -n "$ac_ct_DLLTOOL"; then
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8084 $as_echo "$ac_ct_DLLTOOL" >&6; }
8085 else
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8087 $as_echo "no" >&6; }
8090 if test "x$ac_ct_DLLTOOL" = x; then
8091 DLLTOOL="false"
8092 else
8093 case $cross_compiling:$ac_tool_warned in
8094 yes:)
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8097 ac_tool_warned=yes ;;
8098 esac
8099 DLLTOOL=$ac_ct_DLLTOOL
8101 else
8102 DLLTOOL="$ac_cv_prog_DLLTOOL"
8105 LIBEXT="dll"
8106 DLLEXT=""
8107 IMPLIBEXT="a"
8108 enable_iphlpapi=${enable_iphlpapi:-no}
8109 enable_kernel32=${enable_kernel32:-no}
8110 enable_msvcrt=${enable_msvcrt:-no}
8111 enable_ntdll=${enable_ntdll:-no}
8112 enable_ws2_32=${enable_ws2_32:-no}
8113 enable_loader=${enable_loader:-no}
8114 enable_server=${enable_server:-no}
8115 with_x=${with_x:-no}
8116 with_pthread=${with_pthread:-no}
8118 crtlibs=""
8119 case $host_os in
8120 mingw32*)
8121 crtlibs="-lmsvcrt"
8122 SOCKET_LIBS="-lws2_32"
8124 esac
8126 LIBWINE_SHAREDLIB="libwine.dll"
8128 LIBWINE_IMPORTLIB="libwine.a"
8130 LIBWINE_INSTALL_LIB="libwine.dll"
8132 LIBWINE_INSTALL_DEV="libwine.a"
8134 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8136 LIBWINE_DEPENDS="wine.def"
8140 darwin*|macosx*)
8141 for ac_header in libunwind.h
8142 do :
8143 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8145 cat >>confdefs.h <<_ACEOF
8146 #define HAVE_LIBUNWIND_H 1
8147 _ACEOF
8151 done
8153 LIBEXT="dylib"
8154 DLLFLAGS="$DLLFLAGS -fPIC"
8155 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8156 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8157 COREFOUNDATION_LIBS="-framework CoreFoundation"
8159 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8161 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8163 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8165 CORESERVICES_LIBS="-framework CoreServices"
8167 APPKIT_LIBS="-framework AppKit"
8169 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8171 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8172 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8173 $as_echo_n "(cached) " >&6
8174 else
8175 ac_wine_try_cflags_saved=$CFLAGS
8176 CFLAGS="$CFLAGS -Wl,-no_pie"
8177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8178 /* end confdefs.h. */
8179 int main(int argc, char **argv) { return 0; }
8180 _ACEOF
8181 if ac_fn_c_try_link "$LINENO"; then :
8182 ac_cv_cflags__Wl__no_pie=yes
8183 else
8184 ac_cv_cflags__Wl__no_pie=no
8186 rm -f core conftest.err conftest.$ac_objext \
8187 conftest$ac_exeext conftest.$ac_ext
8188 CFLAGS=$ac_wine_try_cflags_saved
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8191 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8192 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8193 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8195 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8196 then
8197 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8200 if test "$ac_cv_header_Security_Security_h" = "yes"
8201 then
8202 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8204 ac_save_LIBS="$LIBS"
8205 LIBS="$LIBS $SECURITY_LIBS"
8206 for ac_func in SSLCopyPeerCertificates
8207 do :
8208 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8209 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8210 cat >>confdefs.h <<_ACEOF
8211 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8212 _ACEOF
8215 done
8217 LIBS="$ac_save_LIBS"
8218 with_gnutls=${with_gnutls:-no}
8220 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8221 then
8222 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8223 then
8224 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8226 else
8227 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8230 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8231 ac_save_LIBS="$LIBS"
8232 LIBS="$LIBS $COREAUDIO_LIBS"
8233 for ac_func in AUGraphAddNode
8234 do :
8235 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8236 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8237 cat >>confdefs.h <<_ACEOF
8238 #define HAVE_AUGRAPHADDNODE 1
8239 _ACEOF
8242 done
8244 LIBS="$ac_save_LIBS"
8246 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8247 then
8248 OPENAL_LIBS="-framework OpenAL"
8251 cat >>confdefs.h <<_ACEOF
8252 #define HAVE_OPENAL 1
8253 _ACEOF
8255 ac_cv_lib_openal=yes
8257 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8258 then
8259 OPENCL_LIBS="-framework OpenCL"
8261 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8263 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8264 then
8265 ac_save_LIBS="$LIBS"
8266 LIBS="$LIBS $IOKIT_LIBS"
8267 for ac_func in IOHIDManagerCreate
8268 do :
8269 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8270 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8271 cat >>confdefs.h <<_ACEOF
8272 #define HAVE_IOHIDMANAGERCREATE 1
8273 _ACEOF
8276 done
8278 LIBS="$ac_save_LIBS"
8280 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8281 then
8282 ac_save_LIBS="$LIBS"
8283 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8285 $as_echo_n "checking for the QuickTime framework... " >&6; }
8286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8287 /* end confdefs.h. */
8288 #include <QuickTime/ImageCompression.h>
8290 main ()
8292 CodecManagerVersion(NULL);
8294 return 0;
8296 _ACEOF
8297 if ac_fn_c_try_link "$LINENO"; then :
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8299 $as_echo "yes" >&6; }
8300 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8302 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8303 else
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8305 $as_echo "no" >&6; }
8306 ac_cv_header_QuickTime_ImageCompression_h=no
8308 rm -f core conftest.err conftest.$ac_objext \
8309 conftest$ac_exeext conftest.$ac_ext
8310 LIBS="$ac_save_LIBS"
8312 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8313 then
8314 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8316 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8317 then
8318 CARBON_LIBS="-framework Carbon"
8322 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8323 then
8324 ac_save_LIBS="$LIBS"
8325 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8326 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8327 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8328 enable_winemac_drv=${enable_winemac_drv:-yes}
8331 LIBS="$ac_save_LIBS"
8334 if test "x$enable_win16" = "xyes"
8335 then
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8337 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8338 if test "$cross_compiling" = yes; then :
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8340 $as_echo "cross-compiling, assuming yes" >&6; }
8341 else
8342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8343 /* end confdefs.h. */
8344 asm(".text\n"
8345 "bad:\tnop;nop\n"
8346 "good:\tnop;nop\n\t"
8347 ".globl _testfunc\n"
8348 "_testfunc:\tcallw good");
8349 extern void testfunc();
8351 main ()
8353 unsigned short *p = (unsigned short *)testfunc;
8354 return p[0] != 0xe866 || p[1] != 0xfffa
8356 return 0;
8358 _ACEOF
8359 if ac_fn_c_try_run "$LINENO"; then :
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8361 $as_echo "yes" >&6; }
8362 else
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364 $as_echo "no" >&6; }
8365 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
8367 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8368 conftest.$ac_objext conftest.beam conftest.$ac_ext
8373 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8375 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8377 LIBWINE_INSTALL_DEV="libwine.dylib"
8379 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8381 WINELOADER_DEPENDS="wine_info.plist"
8385 linux-android*)
8386 DLLFLAGS="$DLLFLAGS -fPIC"
8387 LDEXECFLAGS="-Wl,-pie"
8388 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8390 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8391 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8392 $as_echo_n "(cached) " >&6
8393 else
8394 ac_wine_try_cflags_saved=$CFLAGS
8395 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8397 /* end confdefs.h. */
8398 int main(int argc, char **argv) { return 0; }
8399 _ACEOF
8400 if ac_fn_c_try_link "$LINENO"; then :
8401 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8402 else
8403 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8405 rm -f core conftest.err conftest.$ac_objext \
8406 conftest$ac_exeext conftest.$ac_ext
8407 CFLAGS=$ac_wine_try_cflags_saved
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8410 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8411 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8412 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8414 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8416 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8417 if eval \${$as_ac_var+:} false; then :
8418 $as_echo_n "(cached) " >&6
8419 else
8420 ac_wine_try_cflags_saved=$CFLAGS
8421 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8423 /* end confdefs.h. */
8424 int main(int argc, char **argv) { return 0; }
8425 _ACEOF
8426 if ac_fn_c_try_link "$LINENO"; then :
8427 eval "$as_ac_var=yes"
8428 else
8429 eval "$as_ac_var=no"
8431 rm -f core conftest.err conftest.$ac_objext \
8432 conftest$ac_exeext conftest.$ac_ext
8433 CFLAGS=$ac_wine_try_cflags_saved
8435 eval ac_res=\$$as_ac_var
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8437 $as_echo "$ac_res" >&6; }
8438 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8439 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8440 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8441 else
8442 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8444 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8445 if eval \${$as_ac_var+:} false; then :
8446 $as_echo_n "(cached) " >&6
8447 else
8448 ac_wine_try_cflags_saved=$CFLAGS
8449 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8451 /* end confdefs.h. */
8452 int main(int argc, char **argv) { return 0; }
8453 _ACEOF
8454 if ac_fn_c_try_link "$LINENO"; then :
8455 eval "$as_ac_var=yes"
8456 else
8457 eval "$as_ac_var=no"
8459 rm -f core conftest.err conftest.$ac_objext \
8460 conftest$ac_exeext conftest.$ac_ext
8461 CFLAGS=$ac_wine_try_cflags_saved
8463 eval ac_res=\$$as_ac_var
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8465 $as_echo "$ac_res" >&6; }
8466 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8467 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8468 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8472 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8473 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8474 $as_echo_n "(cached) " >&6
8475 else
8476 ac_wine_try_cflags_saved=$CFLAGS
8477 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8479 /* end confdefs.h. */
8480 int main(int argc, char **argv) { return 0; }
8481 _ACEOF
8482 if ac_fn_c_try_link "$LINENO"; then :
8483 ac_cv_cflags__Wl___enable_new_dtags=yes
8484 else
8485 ac_cv_cflags__Wl___enable_new_dtags=no
8487 rm -f core conftest.err conftest.$ac_objext \
8488 conftest$ac_exeext conftest.$ac_ext
8489 CFLAGS=$ac_wine_try_cflags_saved
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8492 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8493 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8494 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8497 LIBWINE_SHAREDLIB="libwine.so"
8499 LIBWINE_INSTALL_LIB="libwine.so"
8501 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8505 $as_echo_n "checking for -lEGL... " >&6; }
8506 if ${ac_cv_lib_soname_EGL+:} false; then :
8507 $as_echo_n "(cached) " >&6
8508 else
8509 ac_check_soname_save_LIBS=$LIBS
8510 LIBS="-lEGL $LIBS"
8511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8514 /* Override any GCC internal prototype to avoid an error.
8515 Use char because int might match the return type of a GCC
8516 builtin and then its argument prototype would still apply. */
8517 #ifdef __cplusplus
8518 extern "C"
8519 #endif
8520 char eglGetProcAddress ();
8522 main ()
8524 return eglGetProcAddress ();
8526 return 0;
8528 _ACEOF
8529 if ac_fn_c_try_link "$LINENO"; then :
8530 case "$LIBEXT" in
8531 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8532 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'` ;;
8533 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8534 if ${ac_cv_lib_soname_EGL:+false} :; then :
8535 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8536 fi ;;
8537 esac
8539 rm -f core conftest.err conftest.$ac_objext \
8540 conftest$ac_exeext conftest.$ac_ext
8541 LIBS=$ac_check_soname_save_LIBS
8543 if ${ac_cv_lib_soname_EGL:+false} :; then :
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8545 $as_echo "not found" >&6; }
8547 else
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8549 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8551 cat >>confdefs.h <<_ACEOF
8552 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8553 _ACEOF
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8558 $as_echo_n "checking for -lGLESv2... " >&6; }
8559 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8560 $as_echo_n "(cached) " >&6
8561 else
8562 ac_check_soname_save_LIBS=$LIBS
8563 LIBS="-lGLESv2 $LIBS"
8564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8565 /* end confdefs.h. */
8567 /* Override any GCC internal prototype to avoid an error.
8568 Use char because int might match the return type of a GCC
8569 builtin and then its argument prototype would still apply. */
8570 #ifdef __cplusplus
8571 extern "C"
8572 #endif
8573 char glFlush ();
8575 main ()
8577 return glFlush ();
8579 return 0;
8581 _ACEOF
8582 if ac_fn_c_try_link "$LINENO"; then :
8583 case "$LIBEXT" in
8584 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8585 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'` ;;
8586 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8587 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8588 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8589 fi ;;
8590 esac
8592 rm -f core conftest.err conftest.$ac_objext \
8593 conftest$ac_exeext conftest.$ac_ext
8594 LIBS=$ac_check_soname_save_LIBS
8596 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8598 $as_echo "not found" >&6; }
8600 else
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8602 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8604 cat >>confdefs.h <<_ACEOF
8605 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8606 _ACEOF
8611 if test "x$exec_prefix" = xNONE
8612 then
8613 case $host_cpu in
8614 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8615 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8616 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8617 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8618 esac
8623 DLLFLAGS="$DLLFLAGS -fPIC"
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8625 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8626 if ${ac_cv_c_dll_gnuelf+:} false; then :
8627 $as_echo_n "(cached) " >&6
8628 else
8629 ac_wine_try_cflags_saved=$CFLAGS
8630 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8632 /* end confdefs.h. */
8633 void myfunc() {}
8634 _ACEOF
8635 if ac_fn_c_try_link "$LINENO"; then :
8636 ac_cv_c_dll_gnuelf="yes"
8637 else
8638 ac_cv_c_dll_gnuelf="no"
8640 rm -f core conftest.err conftest.$ac_objext \
8641 conftest$ac_exeext conftest.$ac_ext
8642 CFLAGS=$ac_wine_try_cflags_saved
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8645 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8646 if test "$ac_cv_c_dll_gnuelf" = "yes"
8647 then
8648 LIBWINE_LDFLAGS="-shared"
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8650 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8651 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8652 $as_echo_n "(cached) " >&6
8653 else
8654 ac_wine_try_cflags_saved=$CFLAGS
8655 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8657 /* end confdefs.h. */
8658 int main(int argc, char **argv) { return 0; }
8659 _ACEOF
8660 if ac_fn_c_try_link "$LINENO"; then :
8661 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8662 else
8663 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8665 rm -f core conftest.err conftest.$ac_objext \
8666 conftest$ac_exeext conftest.$ac_ext
8667 CFLAGS=$ac_wine_try_cflags_saved
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8670 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8671 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8672 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8673 else
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8675 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8676 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8677 $as_echo_n "(cached) " >&6
8678 else
8679 ac_wine_try_cflags_saved=$CFLAGS
8680 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8682 /* end confdefs.h. */
8683 int main(int argc, char **argv) { return 0; }
8684 _ACEOF
8685 if ac_fn_c_try_link "$LINENO"; then :
8686 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8687 else
8688 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8690 rm -f core conftest.err conftest.$ac_objext \
8691 conftest$ac_exeext conftest.$ac_ext
8692 CFLAGS=$ac_wine_try_cflags_saved
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8695 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8696 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8697 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8701 echo '{ global: *; };' >conftest.map
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8703 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8704 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8705 $as_echo_n "(cached) " >&6
8706 else
8707 ac_wine_try_cflags_saved=$CFLAGS
8708 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8710 /* end confdefs.h. */
8711 int main(int argc, char **argv) { return 0; }
8712 _ACEOF
8713 if ac_fn_c_try_link "$LINENO"; then :
8714 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8715 else
8716 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8718 rm -f core conftest.err conftest.$ac_objext \
8719 conftest$ac_exeext conftest.$ac_ext
8720 CFLAGS=$ac_wine_try_cflags_saved
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8723 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8724 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8725 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8727 rm -f conftest.map
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8730 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8731 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8732 $as_echo_n "(cached) " >&6
8733 else
8734 ac_wine_try_cflags_saved=$CFLAGS
8735 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8737 /* end confdefs.h. */
8738 int main(int argc, char **argv) { return 0; }
8739 _ACEOF
8740 if ac_fn_c_try_link "$LINENO"; then :
8741 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8742 else
8743 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8745 rm -f core conftest.err conftest.$ac_objext \
8746 conftest$ac_exeext conftest.$ac_ext
8747 CFLAGS=$ac_wine_try_cflags_saved
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8750 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8751 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8752 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8755 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8757 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8758 if eval \${$as_ac_var+:} false; then :
8759 $as_echo_n "(cached) " >&6
8760 else
8761 ac_wine_try_cflags_saved=$CFLAGS
8762 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8764 /* end confdefs.h. */
8765 int main(int argc, char **argv) { return 0; }
8766 _ACEOF
8767 if ac_fn_c_try_link "$LINENO"; then :
8768 eval "$as_ac_var=yes"
8769 else
8770 eval "$as_ac_var=no"
8772 rm -f core conftest.err conftest.$ac_objext \
8773 conftest$ac_exeext conftest.$ac_ext
8774 CFLAGS=$ac_wine_try_cflags_saved
8776 eval ac_res=\$$as_ac_var
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8778 $as_echo "$ac_res" >&6; }
8779 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8780 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8781 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8782 else
8783 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8785 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8786 if eval \${$as_ac_var+:} false; then :
8787 $as_echo_n "(cached) " >&6
8788 else
8789 ac_wine_try_cflags_saved=$CFLAGS
8790 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8792 /* end confdefs.h. */
8793 int main(int argc, char **argv) { return 0; }
8794 _ACEOF
8795 if ac_fn_c_try_link "$LINENO"; then :
8796 eval "$as_ac_var=yes"
8797 else
8798 eval "$as_ac_var=no"
8800 rm -f core conftest.err conftest.$ac_objext \
8801 conftest$ac_exeext conftest.$ac_ext
8802 CFLAGS=$ac_wine_try_cflags_saved
8804 eval ac_res=\$$as_ac_var
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8806 $as_echo "$ac_res" >&6; }
8807 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8808 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8809 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8814 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8815 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8816 $as_echo_n "(cached) " >&6
8817 else
8818 ac_wine_try_cflags_saved=$CFLAGS
8819 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8821 /* end confdefs.h. */
8822 int main(int argc, char **argv) { return 0; }
8823 _ACEOF
8824 if ac_fn_c_try_link "$LINENO"; then :
8825 ac_cv_cflags__Wl___enable_new_dtags=yes
8826 else
8827 ac_cv_cflags__Wl___enable_new_dtags=no
8829 rm -f core conftest.err conftest.$ac_objext \
8830 conftest$ac_exeext conftest.$ac_ext
8831 CFLAGS=$ac_wine_try_cflags_saved
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8834 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8835 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8836 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8839 case $host_cpu in
8840 *i[3456789]86* | x86_64)
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8842 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8843 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8844 $as_echo_n "(cached) " >&6
8845 else
8846 ac_wine_try_cflags_saved=$CFLAGS
8847 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8849 /* end confdefs.h. */
8850 int main(int argc, char **argv) { return 0; }
8851 _ACEOF
8852 if ac_fn_c_try_link "$LINENO"; then :
8853 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8854 else
8855 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8857 rm -f core conftest.err conftest.$ac_objext \
8858 conftest$ac_exeext conftest.$ac_ext
8859 CFLAGS=$ac_wine_try_cflags_saved
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8862 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8863 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8864 case $host_os in
8865 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8866 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8867 esac
8868 else
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8870 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8871 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8872 $as_echo_n "(cached) " >&6
8873 else
8874 ac_wine_try_cflags_saved=$CFLAGS
8875 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8877 /* end confdefs.h. */
8878 int main(int argc, char **argv) { return 0; }
8879 _ACEOF
8880 if ac_fn_c_try_link "$LINENO"; then :
8881 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8882 else
8883 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8885 rm -f core conftest.err conftest.$ac_objext \
8886 conftest$ac_exeext conftest.$ac_ext
8887 CFLAGS=$ac_wine_try_cflags_saved
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8890 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8891 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8892 case $host_os in
8893 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8894 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8895 esac
8897 # Extract the first word of "prelink", so it can be a program name with args.
8898 set dummy prelink; ac_word=$2
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8900 $as_echo_n "checking for $ac_word... " >&6; }
8901 if ${ac_cv_path_PRELINK+:} false; then :
8902 $as_echo_n "(cached) " >&6
8903 else
8904 case $PRELINK in
8905 [\\/]* | ?:[\\/]*)
8906 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8910 for as_dir in /sbin /usr/sbin $PATH
8912 IFS=$as_save_IFS
8913 test -z "$as_dir" && as_dir=.
8914 for ac_exec_ext in '' $ac_executable_extensions; do
8915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8916 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8918 break 2
8920 done
8921 done
8922 IFS=$as_save_IFS
8924 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8926 esac
8928 PRELINK=$ac_cv_path_PRELINK
8929 if test -n "$PRELINK"; then
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8931 $as_echo "$PRELINK" >&6; }
8932 else
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8934 $as_echo "no" >&6; }
8938 if test "x$PRELINK" = xfalse
8939 then
8940 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8944 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8945 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8946 $as_echo_n "(cached) " >&6
8947 else
8948 ac_wine_try_cflags_saved=$CFLAGS
8949 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8951 /* end confdefs.h. */
8952 int main(int argc, char **argv) { return 0; }
8953 _ACEOF
8954 if ac_fn_c_try_link "$LINENO"; then :
8955 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8956 else
8957 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8959 rm -f core conftest.err conftest.$ac_objext \
8960 conftest$ac_exeext conftest.$ac_ext
8961 CFLAGS=$ac_wine_try_cflags_saved
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8964 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8965 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8966 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8969 esac
8971 else
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8973 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8974 if ${ac_cv_c_dll_unixware+:} false; then :
8975 $as_echo_n "(cached) " >&6
8976 else
8977 ac_wine_try_cflags_saved=$CFLAGS
8978 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8980 /* end confdefs.h. */
8981 void myfunc() {}
8982 _ACEOF
8983 if ac_fn_c_try_link "$LINENO"; then :
8984 ac_cv_c_dll_unixware="yes"
8985 else
8986 ac_cv_c_dll_unixware="no"
8988 rm -f core conftest.err conftest.$ac_objext \
8989 conftest$ac_exeext conftest.$ac_ext
8990 CFLAGS=$ac_wine_try_cflags_saved
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8993 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8994 if test "$ac_cv_c_dll_unixware" = "yes"
8995 then
8996 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8999 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9001 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9003 LIBWINE_INSTALL_DEV="libwine.so"
9005 LIBWINE_DEPENDS="wine.map"
9008 esac
9010 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9011 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9012 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9013 enable_winemac_drv=${enable_winemac_drv:-no}
9014 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9016 CROSSTARGET=""
9018 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9019 then
9020 case "$host_cpu" in
9021 arm*)
9022 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9023 i[3456789]86*)
9024 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
9025 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9026 mingw32-gcc" ;;
9027 x86_64)
9028 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
9029 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9031 ac_prefix_list="" ;;
9032 esac
9033 for ac_prog in $ac_prefix_list
9035 # Extract the first word of "$ac_prog", so it can be a program name with args.
9036 set dummy $ac_prog; ac_word=$2
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9038 $as_echo_n "checking for $ac_word... " >&6; }
9039 if ${ac_cv_prog_CROSSCC+:} false; then :
9040 $as_echo_n "(cached) " >&6
9041 else
9042 if test -n "$CROSSCC"; then
9043 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9044 else
9045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9046 for as_dir in $PATH
9048 IFS=$as_save_IFS
9049 test -z "$as_dir" && as_dir=.
9050 for ac_exec_ext in '' $ac_executable_extensions; do
9051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9052 ac_cv_prog_CROSSCC="$ac_prog"
9053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9054 break 2
9056 done
9057 done
9058 IFS=$as_save_IFS
9062 CROSSCC=$ac_cv_prog_CROSSCC
9063 if test -n "$CROSSCC"; then
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9065 $as_echo "$CROSSCC" >&6; }
9066 else
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9068 $as_echo "no" >&6; }
9072 test -n "$CROSSCC" && break
9073 done
9074 test -n "$CROSSCC" || CROSSCC="false"
9076 if test "$CROSSCC" != "false"
9077 then
9078 ac_save_CC="$CC"
9079 CC="$CROSSCC"
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9081 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9083 /* end confdefs.h. */
9086 main ()
9090 return 0;
9092 _ACEOF
9093 if ac_fn_c_try_compile "$LINENO"; then :
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9095 $as_echo "yes" >&6; }
9096 set x $CROSSCC
9097 shift
9098 while test $# -ge 1
9100 case "$1" in
9101 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9102 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9103 esac
9104 shift
9105 done
9106 else
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9108 $as_echo "no" >&6; }
9110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9111 CC="$ac_save_CC"
9112 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9118 if test "$ac_cv_header_pthread_h" = "yes"
9119 then
9120 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9121 if test "x$ac_cv_func_pthread_create" = xyes; then :
9123 else
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9125 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9126 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9127 $as_echo_n "(cached) " >&6
9128 else
9129 ac_check_lib_save_LIBS=$LIBS
9130 LIBS="-lpthread $LIBS"
9131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9132 /* end confdefs.h. */
9134 /* Override any GCC internal prototype to avoid an error.
9135 Use char because int might match the return type of a GCC
9136 builtin and then its argument prototype would still apply. */
9137 #ifdef __cplusplus
9138 extern "C"
9139 #endif
9140 char pthread_create ();
9142 main ()
9144 return pthread_create ();
9146 return 0;
9148 _ACEOF
9149 if ac_fn_c_try_link "$LINENO"; then :
9150 ac_cv_lib_pthread_pthread_create=yes
9151 else
9152 ac_cv_lib_pthread_pthread_create=no
9154 rm -f core conftest.err conftest.$ac_objext \
9155 conftest$ac_exeext conftest.$ac_ext
9156 LIBS=$ac_check_lib_save_LIBS
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9159 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9160 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9161 PTHREAD_LIBS="-lpthread"
9168 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9169 case "x$with_pthread" in
9170 xno) ;;
9171 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9172 Wine cannot support threads without libpthread.
9173 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9174 esac
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9180 $as_echo_n "checking for X... " >&6; }
9183 # Check whether --with-x was given.
9184 if test "${with_x+set}" = set; then :
9185 withval=$with_x;
9188 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9189 if test "x$with_x" = xno; then
9190 # The user explicitly disabled X.
9191 have_x=disabled
9192 else
9193 case $x_includes,$x_libraries in #(
9194 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9195 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9196 $as_echo_n "(cached) " >&6
9197 else
9198 # One or both of the vars are not set, and there is no cached value.
9199 ac_x_includes=no ac_x_libraries=no
9200 rm -f -r conftest.dir
9201 if mkdir conftest.dir; then
9202 cd conftest.dir
9203 cat >Imakefile <<'_ACEOF'
9204 incroot:
9205 @echo incroot='${INCROOT}'
9206 usrlibdir:
9207 @echo usrlibdir='${USRLIBDIR}'
9208 libdir:
9209 @echo libdir='${LIBDIR}'
9210 _ACEOF
9211 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9212 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9213 for ac_var in incroot usrlibdir libdir; do
9214 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9215 done
9216 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9217 for ac_extension in a so sl dylib la dll; do
9218 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9219 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9220 ac_im_usrlibdir=$ac_im_libdir; break
9222 done
9223 # Screen out bogus values from the imake configuration. They are
9224 # bogus both because they are the default anyway, and because
9225 # using them would break gcc on systems where it needs fixed includes.
9226 case $ac_im_incroot in
9227 /usr/include) ac_x_includes= ;;
9228 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9229 esac
9230 case $ac_im_usrlibdir in
9231 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9232 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9233 esac
9235 cd ..
9236 rm -f -r conftest.dir
9239 # Standard set of common directories for X headers.
9240 # Check X11 before X11Rn because it is often a symlink to the current release.
9241 ac_x_header_dirs='
9242 /usr/X11/include
9243 /usr/X11R7/include
9244 /usr/X11R6/include
9245 /usr/X11R5/include
9246 /usr/X11R4/include
9248 /usr/include/X11
9249 /usr/include/X11R7
9250 /usr/include/X11R6
9251 /usr/include/X11R5
9252 /usr/include/X11R4
9254 /usr/local/X11/include
9255 /usr/local/X11R7/include
9256 /usr/local/X11R6/include
9257 /usr/local/X11R5/include
9258 /usr/local/X11R4/include
9260 /usr/local/include/X11
9261 /usr/local/include/X11R7
9262 /usr/local/include/X11R6
9263 /usr/local/include/X11R5
9264 /usr/local/include/X11R4
9266 /usr/X386/include
9267 /usr/x386/include
9268 /usr/XFree86/include/X11
9270 /usr/include
9271 /usr/local/include
9272 /usr/unsupported/include
9273 /usr/athena/include
9274 /usr/local/x11r5/include
9275 /usr/lpp/Xamples/include
9277 /usr/openwin/include
9278 /usr/openwin/share/include'
9280 if test "$ac_x_includes" = no; then
9281 # Guess where to find include files, by looking for Xlib.h.
9282 # First, try using that file with no special directory specified.
9283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9284 /* end confdefs.h. */
9285 #include <X11/Xlib.h>
9286 _ACEOF
9287 if ac_fn_c_try_cpp "$LINENO"; then :
9288 # We can compile using X headers with no special include directory.
9289 ac_x_includes=
9290 else
9291 for ac_dir in $ac_x_header_dirs; do
9292 if test -r "$ac_dir/X11/Xlib.h"; then
9293 ac_x_includes=$ac_dir
9294 break
9296 done
9298 rm -f conftest.err conftest.i conftest.$ac_ext
9299 fi # $ac_x_includes = no
9301 if test "$ac_x_libraries" = no; then
9302 # Check for the libraries.
9303 # See if we find them without any special options.
9304 # Don't add to $LIBS permanently.
9305 ac_save_LIBS=$LIBS
9306 LIBS="-lX11 $LIBS"
9307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9308 /* end confdefs.h. */
9309 #include <X11/Xlib.h>
9311 main ()
9313 XrmInitialize ()
9315 return 0;
9317 _ACEOF
9318 if ac_fn_c_try_link "$LINENO"; then :
9319 LIBS=$ac_save_LIBS
9320 # We can link X programs with no special library path.
9321 ac_x_libraries=
9322 else
9323 LIBS=$ac_save_LIBS
9324 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9326 # Don't even attempt the hair of trying to link an X program!
9327 for ac_extension in a so sl dylib la dll; do
9328 if test -r "$ac_dir/libX11.$ac_extension"; then
9329 ac_x_libraries=$ac_dir
9330 break 2
9332 done
9333 done
9335 rm -f core conftest.err conftest.$ac_objext \
9336 conftest$ac_exeext conftest.$ac_ext
9337 fi # $ac_x_libraries = no
9339 case $ac_x_includes,$ac_x_libraries in #(
9340 no,* | *,no | *\'*)
9341 # Didn't find X, or a directory has "'" in its name.
9342 ac_cv_have_x="have_x=no";; #(
9344 # Record where we found X for the cache.
9345 ac_cv_have_x="have_x=yes\
9346 ac_x_includes='$ac_x_includes'\
9347 ac_x_libraries='$ac_x_libraries'"
9348 esac
9350 ;; #(
9351 *) have_x=yes;;
9352 esac
9353 eval "$ac_cv_have_x"
9354 fi # $with_x != no
9356 if test "$have_x" != yes; then
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9358 $as_echo "$have_x" >&6; }
9359 no_x=yes
9360 else
9361 # If each of the values was on the command line, it overrides each guess.
9362 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9363 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9364 # Update the cache value to reflect the command line values.
9365 ac_cv_have_x="have_x=yes\
9366 ac_x_includes='$x_includes'\
9367 ac_x_libraries='$x_libraries'"
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9369 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9372 if test "$no_x" = yes; then
9373 # Not all programs may use this symbol, but it does not hurt to define it.
9375 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9377 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9378 else
9379 if test -n "$x_includes"; then
9380 X_CFLAGS="$X_CFLAGS -I$x_includes"
9383 # It would also be nice to do this for all -L options, not just this one.
9384 if test -n "$x_libraries"; then
9385 X_LIBS="$X_LIBS -L$x_libraries"
9386 # For Solaris; some versions of Sun CC require a space after -R and
9387 # others require no space. Words are not sufficient . . . .
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9389 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9390 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9391 ac_xsave_c_werror_flag=$ac_c_werror_flag
9392 ac_c_werror_flag=yes
9393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9394 /* end confdefs.h. */
9397 main ()
9401 return 0;
9403 _ACEOF
9404 if ac_fn_c_try_link "$LINENO"; then :
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9406 $as_echo "no" >&6; }
9407 X_LIBS="$X_LIBS -R$x_libraries"
9408 else
9409 LIBS="$ac_xsave_LIBS -R $x_libraries"
9410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9411 /* end confdefs.h. */
9414 main ()
9418 return 0;
9420 _ACEOF
9421 if ac_fn_c_try_link "$LINENO"; then :
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9423 $as_echo "yes" >&6; }
9424 X_LIBS="$X_LIBS -R $x_libraries"
9425 else
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9427 $as_echo "neither works" >&6; }
9429 rm -f core conftest.err conftest.$ac_objext \
9430 conftest$ac_exeext conftest.$ac_ext
9432 rm -f core conftest.err conftest.$ac_objext \
9433 conftest$ac_exeext conftest.$ac_ext
9434 ac_c_werror_flag=$ac_xsave_c_werror_flag
9435 LIBS=$ac_xsave_LIBS
9438 # Check for system-dependent libraries X programs must link with.
9439 # Do this before checking for the system-independent R6 libraries
9440 # (-lICE), since we may need -lsocket or whatever for X linking.
9442 if test "$ISC" = yes; then
9443 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9444 else
9445 # Martyn Johnson says this is needed for Ultrix, if the X
9446 # libraries were built with DECnet support. And Karl Berry says
9447 # the Alpha needs dnet_stub (dnet does not exist).
9448 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9450 /* end confdefs.h. */
9452 /* Override any GCC internal prototype to avoid an error.
9453 Use char because int might match the return type of a GCC
9454 builtin and then its argument prototype would still apply. */
9455 #ifdef __cplusplus
9456 extern "C"
9457 #endif
9458 char XOpenDisplay ();
9460 main ()
9462 return XOpenDisplay ();
9464 return 0;
9466 _ACEOF
9467 if ac_fn_c_try_link "$LINENO"; then :
9469 else
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9471 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9472 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9473 $as_echo_n "(cached) " >&6
9474 else
9475 ac_check_lib_save_LIBS=$LIBS
9476 LIBS="-ldnet $LIBS"
9477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9478 /* end confdefs.h. */
9480 /* Override any GCC internal prototype to avoid an error.
9481 Use char because int might match the return type of a GCC
9482 builtin and then its argument prototype would still apply. */
9483 #ifdef __cplusplus
9484 extern "C"
9485 #endif
9486 char dnet_ntoa ();
9488 main ()
9490 return dnet_ntoa ();
9492 return 0;
9494 _ACEOF
9495 if ac_fn_c_try_link "$LINENO"; then :
9496 ac_cv_lib_dnet_dnet_ntoa=yes
9497 else
9498 ac_cv_lib_dnet_dnet_ntoa=no
9500 rm -f core conftest.err conftest.$ac_objext \
9501 conftest$ac_exeext conftest.$ac_ext
9502 LIBS=$ac_check_lib_save_LIBS
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9505 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9506 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9507 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9510 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9512 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9513 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9514 $as_echo_n "(cached) " >&6
9515 else
9516 ac_check_lib_save_LIBS=$LIBS
9517 LIBS="-ldnet_stub $LIBS"
9518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9519 /* end confdefs.h. */
9521 /* Override any GCC internal prototype to avoid an error.
9522 Use char because int might match the return type of a GCC
9523 builtin and then its argument prototype would still apply. */
9524 #ifdef __cplusplus
9525 extern "C"
9526 #endif
9527 char dnet_ntoa ();
9529 main ()
9531 return dnet_ntoa ();
9533 return 0;
9535 _ACEOF
9536 if ac_fn_c_try_link "$LINENO"; then :
9537 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9538 else
9539 ac_cv_lib_dnet_stub_dnet_ntoa=no
9541 rm -f core conftest.err conftest.$ac_objext \
9542 conftest$ac_exeext conftest.$ac_ext
9543 LIBS=$ac_check_lib_save_LIBS
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9546 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9547 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9548 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9553 rm -f core conftest.err conftest.$ac_objext \
9554 conftest$ac_exeext conftest.$ac_ext
9555 LIBS="$ac_xsave_LIBS"
9557 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9558 # to get the SysV transport functions.
9559 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9560 # needs -lnsl.
9561 # The nsl library prevents programs from opening the X display
9562 # on Irix 5.2, according to T.E. Dickey.
9563 # The functions gethostbyname, getservbyname, and inet_addr are
9564 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9565 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9566 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9570 if test $ac_cv_func_gethostbyname = no; then
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9572 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9573 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9574 $as_echo_n "(cached) " >&6
9575 else
9576 ac_check_lib_save_LIBS=$LIBS
9577 LIBS="-lnsl $LIBS"
9578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9579 /* end confdefs.h. */
9581 /* Override any GCC internal prototype to avoid an error.
9582 Use char because int might match the return type of a GCC
9583 builtin and then its argument prototype would still apply. */
9584 #ifdef __cplusplus
9585 extern "C"
9586 #endif
9587 char gethostbyname ();
9589 main ()
9591 return gethostbyname ();
9593 return 0;
9595 _ACEOF
9596 if ac_fn_c_try_link "$LINENO"; then :
9597 ac_cv_lib_nsl_gethostbyname=yes
9598 else
9599 ac_cv_lib_nsl_gethostbyname=no
9601 rm -f core conftest.err conftest.$ac_objext \
9602 conftest$ac_exeext conftest.$ac_ext
9603 LIBS=$ac_check_lib_save_LIBS
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9606 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9607 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9608 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9611 if test $ac_cv_lib_nsl_gethostbyname = no; then
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9613 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9614 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9615 $as_echo_n "(cached) " >&6
9616 else
9617 ac_check_lib_save_LIBS=$LIBS
9618 LIBS="-lbsd $LIBS"
9619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9620 /* end confdefs.h. */
9622 /* Override any GCC internal prototype to avoid an error.
9623 Use char because int might match the return type of a GCC
9624 builtin and then its argument prototype would still apply. */
9625 #ifdef __cplusplus
9626 extern "C"
9627 #endif
9628 char gethostbyname ();
9630 main ()
9632 return gethostbyname ();
9634 return 0;
9636 _ACEOF
9637 if ac_fn_c_try_link "$LINENO"; then :
9638 ac_cv_lib_bsd_gethostbyname=yes
9639 else
9640 ac_cv_lib_bsd_gethostbyname=no
9642 rm -f core conftest.err conftest.$ac_objext \
9643 conftest$ac_exeext conftest.$ac_ext
9644 LIBS=$ac_check_lib_save_LIBS
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9647 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9648 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9649 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9655 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9656 # socket/setsockopt and other routines are undefined under SCO ODT
9657 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9658 # on later versions), says Simon Leinen: it contains gethostby*
9659 # variants that don't use the name server (or something). -lsocket
9660 # must be given before -lnsl if both are needed. We assume that
9661 # if connect needs -lnsl, so does gethostbyname.
9662 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9663 if test "x$ac_cv_func_connect" = xyes; then :
9667 if test $ac_cv_func_connect = no; then
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9669 $as_echo_n "checking for connect in -lsocket... " >&6; }
9670 if ${ac_cv_lib_socket_connect+:} false; then :
9671 $as_echo_n "(cached) " >&6
9672 else
9673 ac_check_lib_save_LIBS=$LIBS
9674 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9676 /* end confdefs.h. */
9678 /* Override any GCC internal prototype to avoid an error.
9679 Use char because int might match the return type of a GCC
9680 builtin and then its argument prototype would still apply. */
9681 #ifdef __cplusplus
9682 extern "C"
9683 #endif
9684 char connect ();
9686 main ()
9688 return connect ();
9690 return 0;
9692 _ACEOF
9693 if ac_fn_c_try_link "$LINENO"; then :
9694 ac_cv_lib_socket_connect=yes
9695 else
9696 ac_cv_lib_socket_connect=no
9698 rm -f core conftest.err conftest.$ac_objext \
9699 conftest$ac_exeext conftest.$ac_ext
9700 LIBS=$ac_check_lib_save_LIBS
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9703 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9704 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9705 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9710 # Guillermo Gomez says -lposix is necessary on A/UX.
9711 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9712 if test "x$ac_cv_func_remove" = xyes; then :
9716 if test $ac_cv_func_remove = no; then
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9718 $as_echo_n "checking for remove in -lposix... " >&6; }
9719 if ${ac_cv_lib_posix_remove+:} false; then :
9720 $as_echo_n "(cached) " >&6
9721 else
9722 ac_check_lib_save_LIBS=$LIBS
9723 LIBS="-lposix $LIBS"
9724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9725 /* end confdefs.h. */
9727 /* Override any GCC internal prototype to avoid an error.
9728 Use char because int might match the return type of a GCC
9729 builtin and then its argument prototype would still apply. */
9730 #ifdef __cplusplus
9731 extern "C"
9732 #endif
9733 char remove ();
9735 main ()
9737 return remove ();
9739 return 0;
9741 _ACEOF
9742 if ac_fn_c_try_link "$LINENO"; then :
9743 ac_cv_lib_posix_remove=yes
9744 else
9745 ac_cv_lib_posix_remove=no
9747 rm -f core conftest.err conftest.$ac_objext \
9748 conftest$ac_exeext conftest.$ac_ext
9749 LIBS=$ac_check_lib_save_LIBS
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9752 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9753 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9754 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9759 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9760 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9761 if test "x$ac_cv_func_shmat" = xyes; then :
9765 if test $ac_cv_func_shmat = no; then
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9767 $as_echo_n "checking for shmat in -lipc... " >&6; }
9768 if ${ac_cv_lib_ipc_shmat+:} false; then :
9769 $as_echo_n "(cached) " >&6
9770 else
9771 ac_check_lib_save_LIBS=$LIBS
9772 LIBS="-lipc $LIBS"
9773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9774 /* end confdefs.h. */
9776 /* Override any GCC internal prototype to avoid an error.
9777 Use char because int might match the return type of a GCC
9778 builtin and then its argument prototype would still apply. */
9779 #ifdef __cplusplus
9780 extern "C"
9781 #endif
9782 char shmat ();
9784 main ()
9786 return shmat ();
9788 return 0;
9790 _ACEOF
9791 if ac_fn_c_try_link "$LINENO"; then :
9792 ac_cv_lib_ipc_shmat=yes
9793 else
9794 ac_cv_lib_ipc_shmat=no
9796 rm -f core conftest.err conftest.$ac_objext \
9797 conftest$ac_exeext conftest.$ac_ext
9798 LIBS=$ac_check_lib_save_LIBS
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9801 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9802 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9803 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9809 # Check for libraries that X11R6 Xt/Xaw programs need.
9810 ac_save_LDFLAGS=$LDFLAGS
9811 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9812 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9813 # check for ICE first), but we must link in the order -lSM -lICE or
9814 # we get undefined symbols. So assume we have SM if we have ICE.
9815 # These have to be linked with before -lX11, unlike the other
9816 # libraries we check for below, so use a different variable.
9817 # John Interrante, Karl Berry
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9819 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9820 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9821 $as_echo_n "(cached) " >&6
9822 else
9823 ac_check_lib_save_LIBS=$LIBS
9824 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9826 /* end confdefs.h. */
9828 /* Override any GCC internal prototype to avoid an error.
9829 Use char because int might match the return type of a GCC
9830 builtin and then its argument prototype would still apply. */
9831 #ifdef __cplusplus
9832 extern "C"
9833 #endif
9834 char IceConnectionNumber ();
9836 main ()
9838 return IceConnectionNumber ();
9840 return 0;
9842 _ACEOF
9843 if ac_fn_c_try_link "$LINENO"; then :
9844 ac_cv_lib_ICE_IceConnectionNumber=yes
9845 else
9846 ac_cv_lib_ICE_IceConnectionNumber=no
9848 rm -f core conftest.err conftest.$ac_objext \
9849 conftest$ac_exeext conftest.$ac_ext
9850 LIBS=$ac_check_lib_save_LIBS
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9853 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9854 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9855 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9858 LDFLAGS=$ac_save_LDFLAGS
9863 if test "$have_x" = "yes"
9864 then
9865 ac_save_CPPFLAGS="$CPPFLAGS"
9866 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9869 $as_echo_n "checking for -lX11... " >&6; }
9870 if ${ac_cv_lib_soname_X11+:} false; then :
9871 $as_echo_n "(cached) " >&6
9872 else
9873 ac_check_soname_save_LIBS=$LIBS
9874 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9876 /* end confdefs.h. */
9878 /* Override any GCC internal prototype to avoid an error.
9879 Use char because int might match the return type of a GCC
9880 builtin and then its argument prototype would still apply. */
9881 #ifdef __cplusplus
9882 extern "C"
9883 #endif
9884 char XCreateWindow ();
9886 main ()
9888 return XCreateWindow ();
9890 return 0;
9892 _ACEOF
9893 if ac_fn_c_try_link "$LINENO"; then :
9894 case "$LIBEXT" in
9895 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9896 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'` ;;
9897 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9898 if ${ac_cv_lib_soname_X11:+false} :; then :
9899 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9900 fi ;;
9901 esac
9903 rm -f core conftest.err conftest.$ac_objext \
9904 conftest$ac_exeext conftest.$ac_ext
9905 LIBS=$ac_check_soname_save_LIBS
9907 if ${ac_cv_lib_soname_X11:+false} :; then :
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9909 $as_echo "not found" >&6; }
9911 else
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9913 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9915 cat >>confdefs.h <<_ACEOF
9916 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9917 _ACEOF
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9922 $as_echo_n "checking for -lXext... " >&6; }
9923 if ${ac_cv_lib_soname_Xext+:} false; then :
9924 $as_echo_n "(cached) " >&6
9925 else
9926 ac_check_soname_save_LIBS=$LIBS
9927 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9929 /* end confdefs.h. */
9931 /* Override any GCC internal prototype to avoid an error.
9932 Use char because int might match the return type of a GCC
9933 builtin and then its argument prototype would still apply. */
9934 #ifdef __cplusplus
9935 extern "C"
9936 #endif
9937 char XextCreateExtension ();
9939 main ()
9941 return XextCreateExtension ();
9943 return 0;
9945 _ACEOF
9946 if ac_fn_c_try_link "$LINENO"; then :
9947 case "$LIBEXT" in
9948 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9949 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'` ;;
9950 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9951 if ${ac_cv_lib_soname_Xext:+false} :; then :
9952 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9953 fi ;;
9954 esac
9956 rm -f core conftest.err conftest.$ac_objext \
9957 conftest$ac_exeext conftest.$ac_ext
9958 LIBS=$ac_check_soname_save_LIBS
9960 if ${ac_cv_lib_soname_Xext:+false} :; then :
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9962 $as_echo "not found" >&6; }
9964 else
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9966 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9968 cat >>confdefs.h <<_ACEOF
9969 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9970 _ACEOF
9972 X_LIBS="$X_LIBS -lXext"
9974 X_LIBS="$X_LIBS -lX11"
9976 for ac_header in X11/Xlib.h \
9977 X11/XKBlib.h \
9978 X11/Xutil.h \
9979 X11/Xcursor/Xcursor.h \
9980 X11/extensions/shape.h \
9981 X11/extensions/XInput.h \
9982 X11/extensions/XInput2.h \
9983 X11/extensions/XShm.h \
9984 X11/extensions/Xcomposite.h \
9985 X11/extensions/Xfixes.h \
9986 X11/extensions/Xinerama.h \
9987 X11/extensions/Xrandr.h \
9988 X11/extensions/Xrender.h \
9989 X11/extensions/xf86vmode.h \
9990 X11/extensions/xf86vmproto.h
9991 do :
9992 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9993 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9994 # include <X11/Xlib.h>
9995 #endif
9996 #ifdef HAVE_X11_XUTIL_H
9997 # include <X11/Xutil.h>
9998 #endif
10000 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10001 cat >>confdefs.h <<_ACEOF
10002 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10003 _ACEOF
10007 done
10010 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10011 then
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10013 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10014 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10015 $as_echo_n "(cached) " >&6
10016 else
10017 ac_check_lib_save_LIBS=$LIBS
10018 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10020 /* end confdefs.h. */
10022 /* Override any GCC internal prototype to avoid an error.
10023 Use char because int might match the return type of a GCC
10024 builtin and then its argument prototype would still apply. */
10025 #ifdef __cplusplus
10026 extern "C"
10027 #endif
10028 char XkbQueryExtension ();
10030 main ()
10032 return XkbQueryExtension ();
10034 return 0;
10036 _ACEOF
10037 if ac_fn_c_try_link "$LINENO"; then :
10038 ac_cv_lib_X11_XkbQueryExtension=yes
10039 else
10040 ac_cv_lib_X11_XkbQueryExtension=no
10042 rm -f core conftest.err conftest.$ac_objext \
10043 conftest$ac_exeext conftest.$ac_ext
10044 LIBS=$ac_check_lib_save_LIBS
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10047 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10048 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10050 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10056 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10057 then
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10059 $as_echo_n "checking for -lXcursor... " >&6; }
10060 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10061 $as_echo_n "(cached) " >&6
10062 else
10063 ac_check_soname_save_LIBS=$LIBS
10064 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10066 /* end confdefs.h. */
10068 /* Override any GCC internal prototype to avoid an error.
10069 Use char because int might match the return type of a GCC
10070 builtin and then its argument prototype would still apply. */
10071 #ifdef __cplusplus
10072 extern "C"
10073 #endif
10074 char XcursorImageLoadCursor ();
10076 main ()
10078 return XcursorImageLoadCursor ();
10080 return 0;
10082 _ACEOF
10083 if ac_fn_c_try_link "$LINENO"; then :
10084 case "$LIBEXT" in
10085 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10086 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'` ;;
10087 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10088 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10089 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10090 fi ;;
10091 esac
10093 rm -f core conftest.err conftest.$ac_objext \
10094 conftest$ac_exeext conftest.$ac_ext
10095 LIBS=$ac_check_soname_save_LIBS
10097 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10099 $as_echo "not found" >&6; }
10101 else
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10103 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10105 cat >>confdefs.h <<_ACEOF
10106 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10107 _ACEOF
10112 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10113 case "x$with_xcursor" in
10114 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10115 xno) ;;
10116 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10117 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10118 esac
10122 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10123 then
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10125 $as_echo_n "checking for -lXi... " >&6; }
10126 if ${ac_cv_lib_soname_Xi+:} false; then :
10127 $as_echo_n "(cached) " >&6
10128 else
10129 ac_check_soname_save_LIBS=$LIBS
10130 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10132 /* end confdefs.h. */
10134 /* Override any GCC internal prototype to avoid an error.
10135 Use char because int might match the return type of a GCC
10136 builtin and then its argument prototype would still apply. */
10137 #ifdef __cplusplus
10138 extern "C"
10139 #endif
10140 char XOpenDevice ();
10142 main ()
10144 return XOpenDevice ();
10146 return 0;
10148 _ACEOF
10149 if ac_fn_c_try_link "$LINENO"; then :
10150 case "$LIBEXT" in
10151 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10152 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'` ;;
10153 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10154 if ${ac_cv_lib_soname_Xi:+false} :; then :
10155 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10156 fi ;;
10157 esac
10159 rm -f core conftest.err conftest.$ac_objext \
10160 conftest$ac_exeext conftest.$ac_ext
10161 LIBS=$ac_check_soname_save_LIBS
10163 if ${ac_cv_lib_soname_Xi:+false} :; then :
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10165 $as_echo "not found" >&6; }
10167 else
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10169 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10171 cat >>confdefs.h <<_ACEOF
10172 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10173 _ACEOF
10178 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10179 case "x$with_xinput" in
10180 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10181 xno) ;;
10182 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10183 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10184 esac
10188 if test "x$ac_cv_lib_soname_Xi" != x
10189 then
10190 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10191 case "x$with_xinput2" in
10192 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10193 xno) ;;
10194 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10195 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10196 esac
10201 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10202 then
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10204 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10205 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10206 $as_echo_n "(cached) " >&6
10207 else
10208 ac_check_lib_save_LIBS=$LIBS
10209 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10211 /* end confdefs.h. */
10213 /* Override any GCC internal prototype to avoid an error.
10214 Use char because int might match the return type of a GCC
10215 builtin and then its argument prototype would still apply. */
10216 #ifdef __cplusplus
10217 extern "C"
10218 #endif
10219 char XShmQueryExtension ();
10221 main ()
10223 return XShmQueryExtension ();
10225 return 0;
10227 _ACEOF
10228 if ac_fn_c_try_link "$LINENO"; then :
10229 ac_cv_lib_Xext_XShmQueryExtension=yes
10230 else
10231 ac_cv_lib_Xext_XShmQueryExtension=no
10233 rm -f core conftest.err conftest.$ac_objext \
10234 conftest$ac_exeext conftest.$ac_ext
10235 LIBS=$ac_check_lib_save_LIBS
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10238 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10239 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10241 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10246 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10247 case "x$with_xshm" in
10248 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10249 xno) ;;
10250 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10251 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10252 esac
10256 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10257 then
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10259 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10260 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10261 $as_echo_n "(cached) " >&6
10262 else
10263 ac_check_lib_save_LIBS=$LIBS
10264 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10268 /* Override any GCC internal prototype to avoid an error.
10269 Use char because int might match the return type of a GCC
10270 builtin and then its argument prototype would still apply. */
10271 #ifdef __cplusplus
10272 extern "C"
10273 #endif
10274 char XShapeQueryExtension ();
10276 main ()
10278 return XShapeQueryExtension ();
10280 return 0;
10282 _ACEOF
10283 if ac_fn_c_try_link "$LINENO"; then :
10284 ac_cv_lib_Xext_XShapeQueryExtension=yes
10285 else
10286 ac_cv_lib_Xext_XShapeQueryExtension=no
10288 rm -f core conftest.err conftest.$ac_objext \
10289 conftest$ac_exeext conftest.$ac_ext
10290 LIBS=$ac_check_lib_save_LIBS
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10293 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10294 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10296 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10301 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10302 case "x$with_xshape" in
10303 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10304 xno) ;;
10305 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10306 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10307 esac
10311 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10312 then
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10314 $as_echo_n "checking for -lXxf86vm... " >&6; }
10315 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10316 $as_echo_n "(cached) " >&6
10317 else
10318 ac_check_soname_save_LIBS=$LIBS
10319 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10321 /* end confdefs.h. */
10323 /* Override any GCC internal prototype to avoid an error.
10324 Use char because int might match the return type of a GCC
10325 builtin and then its argument prototype would still apply. */
10326 #ifdef __cplusplus
10327 extern "C"
10328 #endif
10329 char XF86VidModeQueryExtension ();
10331 main ()
10333 return XF86VidModeQueryExtension ();
10335 return 0;
10337 _ACEOF
10338 if ac_fn_c_try_link "$LINENO"; then :
10339 case "$LIBEXT" in
10340 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10341 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'` ;;
10342 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10343 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10344 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10345 fi ;;
10346 esac
10348 rm -f core conftest.err conftest.$ac_objext \
10349 conftest$ac_exeext conftest.$ac_ext
10350 LIBS=$ac_check_soname_save_LIBS
10352 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10354 $as_echo "not found" >&6; }
10356 else
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10358 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10360 cat >>confdefs.h <<_ACEOF
10361 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10362 _ACEOF
10367 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10368 case "x$with_xxf86vm" in
10369 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10370 xno) ;;
10371 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10372 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10373 esac
10377 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10378 then
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10380 $as_echo_n "checking for -lXrender... " >&6; }
10381 if ${ac_cv_lib_soname_Xrender+:} false; then :
10382 $as_echo_n "(cached) " >&6
10383 else
10384 ac_check_soname_save_LIBS=$LIBS
10385 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10387 /* end confdefs.h. */
10389 /* Override any GCC internal prototype to avoid an error.
10390 Use char because int might match the return type of a GCC
10391 builtin and then its argument prototype would still apply. */
10392 #ifdef __cplusplus
10393 extern "C"
10394 #endif
10395 char XRenderQueryExtension ();
10397 main ()
10399 return XRenderQueryExtension ();
10401 return 0;
10403 _ACEOF
10404 if ac_fn_c_try_link "$LINENO"; then :
10405 case "$LIBEXT" in
10406 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10407 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'` ;;
10408 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10409 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10410 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10411 fi ;;
10412 esac
10414 rm -f core conftest.err conftest.$ac_objext \
10415 conftest$ac_exeext conftest.$ac_ext
10416 LIBS=$ac_check_soname_save_LIBS
10418 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10420 $as_echo "not found" >&6; }
10422 else
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10424 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10426 cat >>confdefs.h <<_ACEOF
10427 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10428 _ACEOF
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10431 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10432 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10433 $as_echo_n "(cached) " >&6
10434 else
10435 ac_check_lib_save_LIBS=$LIBS
10436 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10438 /* end confdefs.h. */
10440 /* Override any GCC internal prototype to avoid an error.
10441 Use char because int might match the return type of a GCC
10442 builtin and then its argument prototype would still apply. */
10443 #ifdef __cplusplus
10444 extern "C"
10445 #endif
10446 char XRenderSetPictureTransform ();
10448 main ()
10450 return XRenderSetPictureTransform ();
10452 return 0;
10454 _ACEOF
10455 if ac_fn_c_try_link "$LINENO"; then :
10456 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10457 else
10458 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10460 rm -f core conftest.err conftest.$ac_objext \
10461 conftest$ac_exeext conftest.$ac_ext
10462 LIBS=$ac_check_lib_save_LIBS
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10465 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10466 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10468 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10473 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10474 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10475 $as_echo_n "(cached) " >&6
10476 else
10477 ac_check_lib_save_LIBS=$LIBS
10478 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10480 /* end confdefs.h. */
10482 /* Override any GCC internal prototype to avoid an error.
10483 Use char because int might match the return type of a GCC
10484 builtin and then its argument prototype would still apply. */
10485 #ifdef __cplusplus
10486 extern "C"
10487 #endif
10488 char XRenderCreateLinearGradient ();
10490 main ()
10492 return XRenderCreateLinearGradient ();
10494 return 0;
10496 _ACEOF
10497 if ac_fn_c_try_link "$LINENO"; then :
10498 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10499 else
10500 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10502 rm -f core conftest.err conftest.$ac_objext \
10503 conftest$ac_exeext conftest.$ac_ext
10504 LIBS=$ac_check_lib_save_LIBS
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10507 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10508 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10510 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10517 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10518 case "x$with_xrender" in
10519 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10520 xno) ;;
10521 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10522 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10523 esac
10527 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10528 then
10529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10530 /* end confdefs.h. */
10531 #include <X11/Xlib.h>
10532 #include <X11/extensions/Xrandr.h>
10534 main ()
10536 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10538 return 0;
10540 _ACEOF
10541 if ac_fn_c_try_compile "$LINENO"; then :
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10543 $as_echo_n "checking for -lXrandr... " >&6; }
10544 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10545 $as_echo_n "(cached) " >&6
10546 else
10547 ac_check_soname_save_LIBS=$LIBS
10548 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10550 /* end confdefs.h. */
10552 /* Override any GCC internal prototype to avoid an error.
10553 Use char because int might match the return type of a GCC
10554 builtin and then its argument prototype would still apply. */
10555 #ifdef __cplusplus
10556 extern "C"
10557 #endif
10558 char XRRQueryExtension ();
10560 main ()
10562 return XRRQueryExtension ();
10564 return 0;
10566 _ACEOF
10567 if ac_fn_c_try_link "$LINENO"; then :
10568 case "$LIBEXT" in
10569 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10570 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'` ;;
10571 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10572 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10573 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10574 fi ;;
10575 esac
10577 rm -f core conftest.err conftest.$ac_objext \
10578 conftest$ac_exeext conftest.$ac_ext
10579 LIBS=$ac_check_soname_save_LIBS
10581 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10583 $as_echo "not found" >&6; }
10585 else
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10587 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10589 cat >>confdefs.h <<_ACEOF
10590 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10591 _ACEOF
10593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10594 /* end confdefs.h. */
10595 #include <X11/Xlib.h>
10596 #include <X11/extensions/Xrandr.h>
10598 main ()
10600 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10602 return 0;
10604 _ACEOF
10605 if ac_fn_c_try_compile "$LINENO"; then :
10607 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10615 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10616 case "x$with_xrandr" in
10617 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10618 xno) ;;
10619 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10620 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10621 esac
10625 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10626 then
10627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10628 /* end confdefs.h. */
10629 #include <X11/Xlib.h>
10630 #include <X11/extensions/Xfixes.h>
10632 main ()
10634 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10636 return 0;
10638 _ACEOF
10639 if ac_fn_c_try_compile "$LINENO"; then :
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10641 $as_echo_n "checking for -lXfixes... " >&6; }
10642 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10643 $as_echo_n "(cached) " >&6
10644 else
10645 ac_check_soname_save_LIBS=$LIBS
10646 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10648 /* end confdefs.h. */
10650 /* Override any GCC internal prototype to avoid an error.
10651 Use char because int might match the return type of a GCC
10652 builtin and then its argument prototype would still apply. */
10653 #ifdef __cplusplus
10654 extern "C"
10655 #endif
10656 char XFixesQueryVersion ();
10658 main ()
10660 return XFixesQueryVersion ();
10662 return 0;
10664 _ACEOF
10665 if ac_fn_c_try_link "$LINENO"; then :
10666 case "$LIBEXT" in
10667 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10668 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'` ;;
10669 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10670 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10671 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10672 fi ;;
10673 esac
10675 rm -f core conftest.err conftest.$ac_objext \
10676 conftest$ac_exeext conftest.$ac_ext
10677 LIBS=$ac_check_soname_save_LIBS
10679 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10681 $as_echo "not found" >&6; }
10683 else
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10685 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10687 cat >>confdefs.h <<_ACEOF
10688 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10689 _ACEOF
10694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10696 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10697 case "x$with_xfixes" in
10698 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10699 xno) ;;
10700 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10701 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10702 esac
10706 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10707 then
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10710 #include <X11/Xlib.h>
10711 #include <X11/extensions/Xinerama.h>
10713 main ()
10715 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10717 return 0;
10719 _ACEOF
10720 if ac_fn_c_try_compile "$LINENO"; then :
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10722 $as_echo_n "checking for -lXinerama... " >&6; }
10723 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10724 $as_echo_n "(cached) " >&6
10725 else
10726 ac_check_soname_save_LIBS=$LIBS
10727 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10729 /* end confdefs.h. */
10731 /* Override any GCC internal prototype to avoid an error.
10732 Use char because int might match the return type of a GCC
10733 builtin and then its argument prototype would still apply. */
10734 #ifdef __cplusplus
10735 extern "C"
10736 #endif
10737 char XineramaQueryScreens ();
10739 main ()
10741 return XineramaQueryScreens ();
10743 return 0;
10745 _ACEOF
10746 if ac_fn_c_try_link "$LINENO"; then :
10747 case "$LIBEXT" in
10748 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10749 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'` ;;
10750 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10751 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10752 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10753 fi ;;
10754 esac
10756 rm -f core conftest.err conftest.$ac_objext \
10757 conftest$ac_exeext conftest.$ac_ext
10758 LIBS=$ac_check_soname_save_LIBS
10760 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10762 $as_echo "not found" >&6; }
10764 else
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10766 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10768 cat >>confdefs.h <<_ACEOF
10769 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10770 _ACEOF
10775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10777 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10778 case "x$with_xinerama" in
10779 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10780 xno) ;;
10781 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10782 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10783 esac
10787 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10788 then
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10790 $as_echo_n "checking for -lXcomposite... " >&6; }
10791 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10792 $as_echo_n "(cached) " >&6
10793 else
10794 ac_check_soname_save_LIBS=$LIBS
10795 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10797 /* end confdefs.h. */
10799 /* Override any GCC internal prototype to avoid an error.
10800 Use char because int might match the return type of a GCC
10801 builtin and then its argument prototype would still apply. */
10802 #ifdef __cplusplus
10803 extern "C"
10804 #endif
10805 char XCompositeRedirectWindow ();
10807 main ()
10809 return XCompositeRedirectWindow ();
10811 return 0;
10813 _ACEOF
10814 if ac_fn_c_try_link "$LINENO"; then :
10815 case "$LIBEXT" in
10816 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10817 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'` ;;
10818 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10819 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10820 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10821 fi ;;
10822 esac
10824 rm -f core conftest.err conftest.$ac_objext \
10825 conftest$ac_exeext conftest.$ac_ext
10826 LIBS=$ac_check_soname_save_LIBS
10828 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10830 $as_echo "not found" >&6; }
10832 else
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10834 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10836 cat >>confdefs.h <<_ACEOF
10837 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10838 _ACEOF
10843 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10844 case "x$with_xcomposite" in
10845 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10846 xno) ;;
10847 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10848 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10849 esac
10853 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10854 #include <X11/Xlib.h>
10855 #endif
10857 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10859 cat >>confdefs.h <<_ACEOF
10860 #define HAVE_XICCALLBACK_CALLBACK 1
10861 _ACEOF
10865 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10866 #include <X11/Xlib.h>
10867 #endif
10869 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10871 cat >>confdefs.h <<_ACEOF
10872 #define HAVE_XEVENT_XCOOKIE 1
10873 _ACEOF
10880 opengl_msg=""
10881 if test "x$with_opengl" != "xno"
10882 then
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10884 $as_echo_n "checking for -lGL... " >&6; }
10885 if ${ac_cv_lib_soname_GL+:} false; then :
10886 $as_echo_n "(cached) " >&6
10887 else
10888 ac_check_soname_save_LIBS=$LIBS
10889 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10891 /* end confdefs.h. */
10893 /* Override any GCC internal prototype to avoid an error.
10894 Use char because int might match the return type of a GCC
10895 builtin and then its argument prototype would still apply. */
10896 #ifdef __cplusplus
10897 extern "C"
10898 #endif
10899 char glXCreateContext ();
10901 main ()
10903 return glXCreateContext ();
10905 return 0;
10907 _ACEOF
10908 if ac_fn_c_try_link "$LINENO"; then :
10909 case "$LIBEXT" in
10910 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10911 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'` ;;
10912 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10913 if ${ac_cv_lib_soname_GL:+false} :; then :
10914 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10915 fi ;;
10916 esac
10918 rm -f core conftest.err conftest.$ac_objext \
10919 conftest$ac_exeext conftest.$ac_ext
10920 LIBS=$ac_check_soname_save_LIBS
10922 if ${ac_cv_lib_soname_GL:+false} :; then :
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10924 $as_echo "not found" >&6; }
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10926 $as_echo_n "checking for -lGL... " >&6; }
10927 if ${ac_cv_lib_soname_GL+:} false; then :
10928 $as_echo_n "(cached) " >&6
10929 else
10930 ac_check_soname_save_LIBS=$LIBS
10931 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"
10932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10933 /* end confdefs.h. */
10935 /* Override any GCC internal prototype to avoid an error.
10936 Use char because int might match the return type of a GCC
10937 builtin and then its argument prototype would still apply. */
10938 #ifdef __cplusplus
10939 extern "C"
10940 #endif
10941 char glXCreateContext ();
10943 main ()
10945 return glXCreateContext ();
10947 return 0;
10949 _ACEOF
10950 if ac_fn_c_try_link "$LINENO"; then :
10951 case "$LIBEXT" in
10952 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10953 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'` ;;
10954 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10955 if ${ac_cv_lib_soname_GL:+false} :; then :
10956 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10957 fi ;;
10958 esac
10960 rm -f core conftest.err conftest.$ac_objext \
10961 conftest$ac_exeext conftest.$ac_ext
10962 LIBS=$ac_check_soname_save_LIBS
10964 if ${ac_cv_lib_soname_GL:+false} :; then :
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10966 $as_echo "not found" >&6; }
10967 if test -f /usr/X11R6/lib/libGL.a
10968 then
10969 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10970 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10971 else
10972 opengl_msg="No OpenGL library found on this system."
10974 else
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10976 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10978 cat >>confdefs.h <<_ACEOF
10979 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10980 _ACEOF
10982 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"
10984 else
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10986 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10988 cat >>confdefs.h <<_ACEOF
10989 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10990 _ACEOF
10992 OPENGL_LIBS="-lGL"
10994 if test "x$with_glu" != "xno"
10995 then
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10997 $as_echo_n "checking for -lGLU... " >&6; }
10998 if ${ac_cv_lib_soname_GLU+:} false; then :
10999 $as_echo_n "(cached) " >&6
11000 else
11001 ac_check_soname_save_LIBS=$LIBS
11002 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11004 /* end confdefs.h. */
11006 /* Override any GCC internal prototype to avoid an error.
11007 Use char because int might match the return type of a GCC
11008 builtin and then its argument prototype would still apply. */
11009 #ifdef __cplusplus
11010 extern "C"
11011 #endif
11012 char gluLookAt ();
11014 main ()
11016 return gluLookAt ();
11018 return 0;
11020 _ACEOF
11021 if ac_fn_c_try_link "$LINENO"; then :
11022 case "$LIBEXT" in
11023 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11024 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'` ;;
11025 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11026 if ${ac_cv_lib_soname_GLU:+false} :; then :
11027 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11028 fi ;;
11029 esac
11031 rm -f core conftest.err conftest.$ac_objext \
11032 conftest$ac_exeext conftest.$ac_ext
11033 LIBS=$ac_check_soname_save_LIBS
11035 if ${ac_cv_lib_soname_GLU:+false} :; then :
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11037 $as_echo "not found" >&6; }
11039 else
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11041 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11043 cat >>confdefs.h <<_ACEOF
11044 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11045 _ACEOF
11049 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11050 case "x$with_glu" in
11051 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11052 xno) ;;
11053 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11054 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11055 esac
11060 if test "x$with_osmesa" != "xno"
11061 then
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11063 $as_echo_n "checking for -lOSMesa... " >&6; }
11064 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11065 $as_echo_n "(cached) " >&6
11066 else
11067 ac_check_soname_save_LIBS=$LIBS
11068 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11072 /* Override any GCC internal prototype to avoid an error.
11073 Use char because int might match the return type of a GCC
11074 builtin and then its argument prototype would still apply. */
11075 #ifdef __cplusplus
11076 extern "C"
11077 #endif
11078 char OSMesaGetProcAddress ();
11080 main ()
11082 return OSMesaGetProcAddress ();
11084 return 0;
11086 _ACEOF
11087 if ac_fn_c_try_link "$LINENO"; then :
11088 case "$LIBEXT" in
11089 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11090 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'` ;;
11091 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11092 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11093 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11094 fi ;;
11095 esac
11097 rm -f core conftest.err conftest.$ac_objext \
11098 conftest$ac_exeext conftest.$ac_ext
11099 LIBS=$ac_check_soname_save_LIBS
11101 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11103 $as_echo "not found" >&6; }
11105 else
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11107 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11109 cat >>confdefs.h <<_ACEOF
11110 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11111 _ACEOF
11115 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11116 case "x$with_osmesa" in
11117 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11118 xno) ;;
11119 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11120 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11121 esac
11126 if test -n "$opengl_msg"; then :
11127 case "x$with_opengl" in
11128 x) as_fn_append wine_warnings "|$opengl_msg
11129 OpenGL and Direct3D won't be supported." ;;
11130 xno) ;;
11131 *) as_fn_error $? "$opengl_msg
11132 OpenGL and Direct3D won't be supported.
11133 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11134 esac
11138 CPPFLAGS="$ac_save_CPPFLAGS"
11139 else
11140 X_CFLAGS=""
11141 X_LIBS=""
11144 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11145 then
11146 if test "x$X_LIBS" = "x"; then :
11147 case "x$with_x" in
11148 xno) ;;
11149 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11150 without X support, which probably isn't what you want. You will need
11151 to install ${notice_platform}development packages of Xlib at the very least.
11152 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11153 esac
11154 enable_winex11_drv=${enable_winex11_drv:-no}
11156 else
11157 if test "x$X_LIBS" = "x"; then :
11158 case "x$with_x" in
11159 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11160 xno) ;;
11161 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11162 This is an error since --with-x was requested." "$LINENO" 5 ;;
11163 esac
11164 enable_winex11_drv=${enable_winex11_drv:-no}
11168 if test "$ac_cv_header_CL_cl_h" = "yes"
11169 then
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11171 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11172 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11173 $as_echo_n "(cached) " >&6
11174 else
11175 ac_check_lib_save_LIBS=$LIBS
11176 LIBS="-lOpenCL $LIBS"
11177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11178 /* end confdefs.h. */
11180 /* Override any GCC internal prototype to avoid an error.
11181 Use char because int might match the return type of a GCC
11182 builtin and then its argument prototype would still apply. */
11183 #ifdef __cplusplus
11184 extern "C"
11185 #endif
11186 char clGetPlatformInfo ();
11188 main ()
11190 return clGetPlatformInfo ();
11192 return 0;
11194 _ACEOF
11195 if ac_fn_c_try_link "$LINENO"; then :
11196 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11197 else
11198 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11200 rm -f core conftest.err conftest.$ac_objext \
11201 conftest$ac_exeext conftest.$ac_ext
11202 LIBS=$ac_check_lib_save_LIBS
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11205 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11206 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11207 OPENCL_LIBS="-lOpenCL"
11212 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11213 case "x$with_opencl" in
11214 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11215 xno) ;;
11216 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11217 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11218 esac
11219 enable_opencl=${enable_opencl:-no}
11222 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11223 then
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11225 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11226 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11227 $as_echo_n "(cached) " >&6
11228 else
11229 ac_check_lib_save_LIBS=$LIBS
11230 LIBS="-lpcap $LIBS"
11231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h. */
11234 /* Override any GCC internal prototype to avoid an error.
11235 Use char because int might match the return type of a GCC
11236 builtin and then its argument prototype would still apply. */
11237 #ifdef __cplusplus
11238 extern "C"
11239 #endif
11240 char pcap_create ();
11242 main ()
11244 return pcap_create ();
11246 return 0;
11248 _ACEOF
11249 if ac_fn_c_try_link "$LINENO"; then :
11250 ac_cv_lib_pcap_pcap_create=yes
11251 else
11252 ac_cv_lib_pcap_pcap_create=no
11254 rm -f core conftest.err conftest.$ac_objext \
11255 conftest$ac_exeext conftest.$ac_ext
11256 LIBS=$ac_check_lib_save_LIBS
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11259 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11260 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11261 PCAP_LIBS="-lpcap"
11266 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11267 case "x$with_pcap" in
11268 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11269 xno) ;;
11270 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11271 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11272 esac
11273 enable_wpcap=${enable_wpcap:-no}
11277 if test "x$with_xml" != "xno"
11278 then
11279 if ${XML2_CFLAGS:+false} :; then :
11280 if ${PKG_CONFIG+:} false; then :
11281 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11284 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11285 if ${XML2_LIBS:+false} :; then :
11286 if ${PKG_CONFIG+:} false; then :
11287 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11290 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11291 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11292 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11293 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11294 ac_save_CPPFLAGS=$CPPFLAGS
11295 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11296 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11297 do :
11298 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11299 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11300 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11301 cat >>confdefs.h <<_ACEOF
11302 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11303 _ACEOF
11307 done
11309 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"
11310 then
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11312 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11313 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11314 $as_echo_n "(cached) " >&6
11315 else
11316 ac_check_lib_save_LIBS=$LIBS
11317 LIBS="-lxml2 $XML2_LIBS $LIBS"
11318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11319 /* end confdefs.h. */
11321 /* Override any GCC internal prototype to avoid an error.
11322 Use char because int might match the return type of a GCC
11323 builtin and then its argument prototype would still apply. */
11324 #ifdef __cplusplus
11325 extern "C"
11326 #endif
11327 char xmlParseMemory ();
11329 main ()
11331 return xmlParseMemory ();
11333 return 0;
11335 _ACEOF
11336 if ac_fn_c_try_link "$LINENO"; then :
11337 ac_cv_lib_xml2_xmlParseMemory=yes
11338 else
11339 ac_cv_lib_xml2_xmlParseMemory=no
11341 rm -f core conftest.err conftest.$ac_objext \
11342 conftest$ac_exeext conftest.$ac_ext
11343 LIBS=$ac_check_lib_save_LIBS
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11346 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11347 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11349 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11351 else
11352 XML2_LIBS=""
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11356 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11357 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11358 $as_echo_n "(cached) " >&6
11359 else
11360 ac_check_lib_save_LIBS=$LIBS
11361 LIBS="-lxml2 $XML2_LIBS $LIBS"
11362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11363 /* end confdefs.h. */
11365 /* Override any GCC internal prototype to avoid an error.
11366 Use char because int might match the return type of a GCC
11367 builtin and then its argument prototype would still apply. */
11368 #ifdef __cplusplus
11369 extern "C"
11370 #endif
11371 char xmlReadMemory ();
11373 main ()
11375 return xmlReadMemory ();
11377 return 0;
11379 _ACEOF
11380 if ac_fn_c_try_link "$LINENO"; then :
11381 ac_cv_lib_xml2_xmlReadMemory=yes
11382 else
11383 ac_cv_lib_xml2_xmlReadMemory=no
11385 rm -f core conftest.err conftest.$ac_objext \
11386 conftest$ac_exeext conftest.$ac_ext
11387 LIBS=$ac_check_lib_save_LIBS
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11390 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11391 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11393 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11398 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11399 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11400 $as_echo_n "(cached) " >&6
11401 else
11402 ac_check_lib_save_LIBS=$LIBS
11403 LIBS="-lxml2 $XML2_LIBS $LIBS"
11404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11405 /* end confdefs.h. */
11407 /* Override any GCC internal prototype to avoid an error.
11408 Use char because int might match the return type of a GCC
11409 builtin and then its argument prototype would still apply. */
11410 #ifdef __cplusplus
11411 extern "C"
11412 #endif
11413 char xmlNewDocPI ();
11415 main ()
11417 return xmlNewDocPI ();
11419 return 0;
11421 _ACEOF
11422 if ac_fn_c_try_link "$LINENO"; then :
11423 ac_cv_lib_xml2_xmlNewDocPI=yes
11424 else
11425 ac_cv_lib_xml2_xmlNewDocPI=no
11427 rm -f core conftest.err conftest.$ac_objext \
11428 conftest$ac_exeext conftest.$ac_ext
11429 LIBS=$ac_check_lib_save_LIBS
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11432 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11433 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11435 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11440 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11441 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11442 $as_echo_n "(cached) " >&6
11443 else
11444 ac_check_lib_save_LIBS=$LIBS
11445 LIBS="-lxml2 $XML2_LIBS $LIBS"
11446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11447 /* end confdefs.h. */
11449 /* Override any GCC internal prototype to avoid an error.
11450 Use char because int might match the return type of a GCC
11451 builtin and then its argument prototype would still apply. */
11452 #ifdef __cplusplus
11453 extern "C"
11454 #endif
11455 char xmlSchemaSetParserStructuredErrors ();
11457 main ()
11459 return xmlSchemaSetParserStructuredErrors ();
11461 return 0;
11463 _ACEOF
11464 if ac_fn_c_try_link "$LINENO"; then :
11465 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11466 else
11467 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11469 rm -f core conftest.err conftest.$ac_objext \
11470 conftest$ac_exeext conftest.$ac_ext
11471 LIBS=$ac_check_lib_save_LIBS
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11474 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11475 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11477 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11482 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11483 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11484 $as_echo_n "(cached) " >&6
11485 else
11486 ac_check_lib_save_LIBS=$LIBS
11487 LIBS="-lxml2 $XML2_LIBS $LIBS"
11488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11489 /* end confdefs.h. */
11491 /* Override any GCC internal prototype to avoid an error.
11492 Use char because int might match the return type of a GCC
11493 builtin and then its argument prototype would still apply. */
11494 #ifdef __cplusplus
11495 extern "C"
11496 #endif
11497 char xmlSchemaSetValidStructuredErrors ();
11499 main ()
11501 return xmlSchemaSetValidStructuredErrors ();
11503 return 0;
11505 _ACEOF
11506 if ac_fn_c_try_link "$LINENO"; then :
11507 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11508 else
11509 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11511 rm -f core conftest.err conftest.$ac_objext \
11512 conftest$ac_exeext conftest.$ac_ext
11513 LIBS=$ac_check_lib_save_LIBS
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11516 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11517 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11519 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11524 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11525 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11526 $as_echo_n "(cached) " >&6
11527 else
11528 ac_check_lib_save_LIBS=$LIBS
11529 LIBS="-lxml2 $XML2_LIBS $LIBS"
11530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11531 /* end confdefs.h. */
11533 /* Override any GCC internal prototype to avoid an error.
11534 Use char because int might match the return type of a GCC
11535 builtin and then its argument prototype would still apply. */
11536 #ifdef __cplusplus
11537 extern "C"
11538 #endif
11539 char xmlFirstElementChild ();
11541 main ()
11543 return xmlFirstElementChild ();
11545 return 0;
11547 _ACEOF
11548 if ac_fn_c_try_link "$LINENO"; then :
11549 ac_cv_lib_xml2_xmlFirstElementChild=yes
11550 else
11551 ac_cv_lib_xml2_xmlFirstElementChild=no
11553 rm -f core conftest.err conftest.$ac_objext \
11554 conftest$ac_exeext conftest.$ac_ext
11555 LIBS=$ac_check_lib_save_LIBS
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11558 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11559 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11561 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11565 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11567 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11569 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11573 else
11574 XML2_CFLAGS=""
11575 XML2_LIBS=""
11577 CPPFLAGS=$ac_save_CPPFLAGS
11578 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11579 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11582 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11583 case "x$with_xml" in
11584 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11585 xno) ;;
11586 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11587 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11588 esac
11592 if test "x$with_xslt" != "xno"
11593 then
11594 if ${XSLT_CFLAGS:+false} :; then :
11595 if ${PKG_CONFIG+:} false; then :
11596 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11599 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11600 if ${XSLT_LIBS:+false} :; then :
11601 if ${PKG_CONFIG+:} false; then :
11602 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11605 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11606 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11607 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11608 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11609 ac_save_CPPFLAGS=$CPPFLAGS
11610 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11611 for ac_header in libxslt/pattern.h libxslt/transform.h
11612 do :
11613 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11614 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11615 # include <libxslt/pattern.h>
11616 #endif
11618 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11619 cat >>confdefs.h <<_ACEOF
11620 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11621 _ACEOF
11625 done
11627 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11628 then
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11630 $as_echo_n "checking for -lxslt... " >&6; }
11631 if ${ac_cv_lib_soname_xslt+:} false; then :
11632 $as_echo_n "(cached) " >&6
11633 else
11634 ac_check_soname_save_LIBS=$LIBS
11635 LIBS="-lxslt $XSLT_LIBS $LIBS"
11636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11637 /* end confdefs.h. */
11639 /* Override any GCC internal prototype to avoid an error.
11640 Use char because int might match the return type of a GCC
11641 builtin and then its argument prototype would still apply. */
11642 #ifdef __cplusplus
11643 extern "C"
11644 #endif
11645 char xsltCompilePattern ();
11647 main ()
11649 return xsltCompilePattern ();
11651 return 0;
11653 _ACEOF
11654 if ac_fn_c_try_link "$LINENO"; then :
11655 case "$LIBEXT" in
11656 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11657 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'` ;;
11658 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11659 if ${ac_cv_lib_soname_xslt:+false} :; then :
11660 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11661 fi ;;
11662 esac
11664 rm -f core conftest.err conftest.$ac_objext \
11665 conftest$ac_exeext conftest.$ac_ext
11666 LIBS=$ac_check_soname_save_LIBS
11668 if ${ac_cv_lib_soname_xslt:+false} :; then :
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11670 $as_echo "not found" >&6; }
11672 else
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11674 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11676 cat >>confdefs.h <<_ACEOF
11677 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11678 _ACEOF
11682 else
11683 XSLT_CFLAGS=""
11685 CPPFLAGS=$ac_save_CPPFLAGS
11686 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11687 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11690 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11691 case "x$with_xslt" in
11692 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11693 xno) ;;
11694 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11695 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11696 esac
11700 if test "x$with_dbus" != "xno"
11701 then
11702 if ${DBUS_CFLAGS:+false} :; then :
11703 if ${PKG_CONFIG+:} false; then :
11704 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11708 if ${DBUS_LIBS:+false} :; then :
11709 if ${PKG_CONFIG+:} false; then :
11710 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11715 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11716 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11717 ac_save_CPPFLAGS=$CPPFLAGS
11718 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11719 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11720 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11722 $as_echo_n "checking for -ldbus-1... " >&6; }
11723 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11724 $as_echo_n "(cached) " >&6
11725 else
11726 ac_check_soname_save_LIBS=$LIBS
11727 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11729 /* end confdefs.h. */
11731 /* Override any GCC internal prototype to avoid an error.
11732 Use char because int might match the return type of a GCC
11733 builtin and then its argument prototype would still apply. */
11734 #ifdef __cplusplus
11735 extern "C"
11736 #endif
11737 char dbus_connection_close ();
11739 main ()
11741 return dbus_connection_close ();
11743 return 0;
11745 _ACEOF
11746 if ac_fn_c_try_link "$LINENO"; then :
11747 case "$LIBEXT" in
11748 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11749 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'` ;;
11750 *) 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'`
11751 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11752 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11753 fi ;;
11754 esac
11756 rm -f core conftest.err conftest.$ac_objext \
11757 conftest$ac_exeext conftest.$ac_ext
11758 LIBS=$ac_check_soname_save_LIBS
11760 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11762 $as_echo "not found" >&6; }
11763 DBUS_CFLAGS=""
11764 else
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11766 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11768 cat >>confdefs.h <<_ACEOF
11769 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11770 _ACEOF
11774 else
11775 DBUS_CFLAGS=""
11779 CPPFLAGS=$ac_save_CPPFLAGS
11780 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11781 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11784 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11785 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11786 case "x$with_dbus" in
11787 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11788 xno) ;;
11789 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11790 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11791 esac
11795 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11796 then
11797 if ${HAL_CFLAGS:+false} :; then :
11798 if ${PKG_CONFIG+:} false; then :
11799 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11803 if ${HAL_LIBS:+false} :; then :
11804 if ${PKG_CONFIG+:} false; then :
11805 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11809 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11810 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11811 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11812 ac_save_CPPFLAGS=$CPPFLAGS
11813 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11814 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11815 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11817 $as_echo_n "checking for -lhal... " >&6; }
11818 if ${ac_cv_lib_soname_hal+:} false; then :
11819 $as_echo_n "(cached) " >&6
11820 else
11821 ac_check_soname_save_LIBS=$LIBS
11822 LIBS="-lhal $HAL_LIBS $LIBS"
11823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11824 /* end confdefs.h. */
11826 /* Override any GCC internal prototype to avoid an error.
11827 Use char because int might match the return type of a GCC
11828 builtin and then its argument prototype would still apply. */
11829 #ifdef __cplusplus
11830 extern "C"
11831 #endif
11832 char libhal_ctx_new ();
11834 main ()
11836 return libhal_ctx_new ();
11838 return 0;
11840 _ACEOF
11841 if ac_fn_c_try_link "$LINENO"; then :
11842 case "$LIBEXT" in
11843 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11844 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'` ;;
11845 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11846 if ${ac_cv_lib_soname_hal:+false} :; then :
11847 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11848 fi ;;
11849 esac
11851 rm -f core conftest.err conftest.$ac_objext \
11852 conftest$ac_exeext conftest.$ac_ext
11853 LIBS=$ac_check_soname_save_LIBS
11855 if ${ac_cv_lib_soname_hal:+false} :; then :
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11857 $as_echo "not found" >&6; }
11858 HAL_CFLAGS=""
11859 else
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11861 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11863 cat >>confdefs.h <<_ACEOF
11864 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11865 _ACEOF
11869 else
11870 HAL_CFLAGS=""
11874 CPPFLAGS=$ac_save_CPPFLAGS
11875 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11876 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11878 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11879 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11880 case "x$with_hal" in
11881 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11882 xno) ;;
11883 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11884 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11885 esac
11890 if test "x$with_gnutls" != "xno"
11891 then
11892 if ${GNUTLS_CFLAGS:+false} :; then :
11893 if ${PKG_CONFIG+:} false; then :
11894 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11898 if ${GNUTLS_LIBS:+false} :; then :
11899 if ${PKG_CONFIG+:} false; then :
11900 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11905 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11906 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11907 ac_save_CPPFLAGS=$CPPFLAGS
11908 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11909 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11910 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11912 /* end confdefs.h. */
11913 #include <gnutls/gnutls.h>
11914 #include <gnutls/crypto.h>
11916 main ()
11918 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11920 return 0;
11922 _ACEOF
11923 if ac_fn_c_try_compile "$LINENO"; then :
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11925 $as_echo_n "checking for -lgnutls... " >&6; }
11926 if ${ac_cv_lib_soname_gnutls+:} false; then :
11927 $as_echo_n "(cached) " >&6
11928 else
11929 ac_check_soname_save_LIBS=$LIBS
11930 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11934 /* Override any GCC internal prototype to avoid an error.
11935 Use char because int might match the return type of a GCC
11936 builtin and then its argument prototype would still apply. */
11937 #ifdef __cplusplus
11938 extern "C"
11939 #endif
11940 char gnutls_global_init ();
11942 main ()
11944 return gnutls_global_init ();
11946 return 0;
11948 _ACEOF
11949 if ac_fn_c_try_link "$LINENO"; then :
11950 case "$LIBEXT" in
11951 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11952 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'` ;;
11953 *) 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'`
11954 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11955 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'`
11956 fi ;;
11957 esac
11959 rm -f core conftest.err conftest.$ac_objext \
11960 conftest$ac_exeext conftest.$ac_ext
11961 LIBS=$ac_check_soname_save_LIBS
11963 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11965 $as_echo "not found" >&6; }
11966 GNUTLS_CFLAGS=""
11967 else
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11969 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11971 cat >>confdefs.h <<_ACEOF
11972 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11973 _ACEOF
11977 ac_wine_check_funcs_save_LIBS="$LIBS"
11978 LIBS="$LIBS $GNUTLS_LIBS"
11979 for ac_func in gnutls_hash
11980 do :
11981 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11982 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11983 cat >>confdefs.h <<_ACEOF
11984 #define HAVE_GNUTLS_HASH 1
11985 _ACEOF
11987 else
11988 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt hashes won't be supported."
11990 done
11992 LIBS="$ac_wine_check_funcs_save_LIBS"
11994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11995 else
11996 GNUTLS_CFLAGS=""
12000 CPPFLAGS=$ac_save_CPPFLAGS
12001 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12002 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12005 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12006 case "x$with_gnutls" in
12007 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12008 xno) ;;
12009 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12010 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12011 esac
12015 CURSES_LIBS=""
12016 if test "$ac_cv_header_ncurses_h" = "yes"
12017 then
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12019 $as_echo_n "checking for -lncurses... " >&6; }
12020 if ${ac_cv_lib_soname_ncurses+:} false; then :
12021 $as_echo_n "(cached) " >&6
12022 else
12023 ac_check_soname_save_LIBS=$LIBS
12024 LIBS="-lncurses $LIBS"
12025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12026 /* end confdefs.h. */
12028 /* Override any GCC internal prototype to avoid an error.
12029 Use char because int might match the return type of a GCC
12030 builtin and then its argument prototype would still apply. */
12031 #ifdef __cplusplus
12032 extern "C"
12033 #endif
12034 char waddch ();
12036 main ()
12038 return waddch ();
12040 return 0;
12042 _ACEOF
12043 if ac_fn_c_try_link "$LINENO"; then :
12044 case "$LIBEXT" in
12045 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12046 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'` ;;
12047 *) 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'`
12048 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12049 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12050 fi ;;
12051 esac
12053 rm -f core conftest.err conftest.$ac_objext \
12054 conftest$ac_exeext conftest.$ac_ext
12055 LIBS=$ac_check_soname_save_LIBS
12057 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12059 $as_echo "not found" >&6; }
12061 else
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12063 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12065 cat >>confdefs.h <<_ACEOF
12066 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12067 _ACEOF
12069 CURSES_LIBS="-lncurses"
12071 elif test "$ac_cv_header_curses_h" = "yes"
12072 then
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12074 $as_echo_n "checking for -lcurses... " >&6; }
12075 if ${ac_cv_lib_soname_curses+:} false; then :
12076 $as_echo_n "(cached) " >&6
12077 else
12078 ac_check_soname_save_LIBS=$LIBS
12079 LIBS="-lcurses $LIBS"
12080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12081 /* end confdefs.h. */
12083 /* Override any GCC internal prototype to avoid an error.
12084 Use char because int might match the return type of a GCC
12085 builtin and then its argument prototype would still apply. */
12086 #ifdef __cplusplus
12087 extern "C"
12088 #endif
12089 char waddch ();
12091 main ()
12093 return waddch ();
12095 return 0;
12097 _ACEOF
12098 if ac_fn_c_try_link "$LINENO"; then :
12099 case "$LIBEXT" in
12100 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12101 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'` ;;
12102 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12103 if ${ac_cv_lib_soname_curses:+false} :; then :
12104 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12105 fi ;;
12106 esac
12108 rm -f core conftest.err conftest.$ac_objext \
12109 conftest$ac_exeext conftest.$ac_ext
12110 LIBS=$ac_check_soname_save_LIBS
12112 if ${ac_cv_lib_soname_curses:+false} :; then :
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12114 $as_echo "not found" >&6; }
12116 else
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12118 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12120 cat >>confdefs.h <<_ACEOF
12121 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12122 _ACEOF
12124 CURSES_LIBS="-lcurses"
12127 ac_save_LIBS="$LIBS"
12128 LIBS="$LIBS $CURSES_LIBS"
12129 for ac_func in mousemask
12130 do :
12131 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12132 if test "x$ac_cv_func_mousemask" = xyes; then :
12133 cat >>confdefs.h <<_ACEOF
12134 #define HAVE_MOUSEMASK 1
12135 _ACEOF
12138 done
12140 LIBS="$ac_save_LIBS"
12141 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12142 case "x$with_curses" in
12143 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12144 xno) ;;
12145 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12146 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12147 esac
12151 if test "x$with_sane" != "xno"
12152 then
12153 if ${SANE_CFLAGS:+false} :; then :
12154 if ${PKG_CONFIG+:} false; then :
12155 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12158 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12159 if ${SANE_LIBS:+false} :; then :
12160 if ${PKG_CONFIG+:} false; then :
12161 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12164 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12166 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12167 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12168 ac_save_CPPFLAGS=$CPPFLAGS
12169 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12170 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12171 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12173 $as_echo_n "checking for -lsane... " >&6; }
12174 if ${ac_cv_lib_soname_sane+:} false; then :
12175 $as_echo_n "(cached) " >&6
12176 else
12177 ac_check_soname_save_LIBS=$LIBS
12178 LIBS="-lsane $SANE_LIBS $LIBS"
12179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12180 /* end confdefs.h. */
12182 /* Override any GCC internal prototype to avoid an error.
12183 Use char because int might match the return type of a GCC
12184 builtin and then its argument prototype would still apply. */
12185 #ifdef __cplusplus
12186 extern "C"
12187 #endif
12188 char sane_init ();
12190 main ()
12192 return sane_init ();
12194 return 0;
12196 _ACEOF
12197 if ac_fn_c_try_link "$LINENO"; then :
12198 case "$LIBEXT" in
12199 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12200 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'` ;;
12201 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12202 if ${ac_cv_lib_soname_sane:+false} :; then :
12203 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12204 fi ;;
12205 esac
12207 rm -f core conftest.err conftest.$ac_objext \
12208 conftest$ac_exeext conftest.$ac_ext
12209 LIBS=$ac_check_soname_save_LIBS
12211 if ${ac_cv_lib_soname_sane:+false} :; then :
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12213 $as_echo "not found" >&6; }
12214 SANE_CFLAGS=""
12215 else
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12217 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12219 cat >>confdefs.h <<_ACEOF
12220 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12221 _ACEOF
12225 else
12226 SANE_CFLAGS=""
12230 CPPFLAGS=$ac_save_CPPFLAGS
12231 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12232 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12235 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12236 case "x$with_sane" in
12237 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12238 xno) ;;
12239 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12240 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12241 esac
12245 if test "x$with_v4l" != "xno"
12246 then
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12248 $as_echo_n "checking for -lv4l1... " >&6; }
12249 if ${ac_cv_lib_soname_v4l1+:} false; then :
12250 $as_echo_n "(cached) " >&6
12251 else
12252 ac_check_soname_save_LIBS=$LIBS
12253 LIBS="-lv4l1 $LIBS"
12254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12255 /* end confdefs.h. */
12257 /* Override any GCC internal prototype to avoid an error.
12258 Use char because int might match the return type of a GCC
12259 builtin and then its argument prototype would still apply. */
12260 #ifdef __cplusplus
12261 extern "C"
12262 #endif
12263 char v4l1_open ();
12265 main ()
12267 return v4l1_open ();
12269 return 0;
12271 _ACEOF
12272 if ac_fn_c_try_link "$LINENO"; then :
12273 case "$LIBEXT" in
12274 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12275 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'` ;;
12276 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12277 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12278 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12279 fi ;;
12280 esac
12282 rm -f core conftest.err conftest.$ac_objext \
12283 conftest$ac_exeext conftest.$ac_ext
12284 LIBS=$ac_check_soname_save_LIBS
12286 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12288 $as_echo "not found" >&6; }
12290 else
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12292 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12294 cat >>confdefs.h <<_ACEOF
12295 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12296 _ACEOF
12301 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12302 case "x$with_v4l" in
12303 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12304 xno) ;;
12305 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12306 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12307 esac
12311 if test "x$with_gphoto" != "xno"
12312 then
12313 if ${GPHOTO2_CFLAGS:+false} :; then :
12314 if ${PKG_CONFIG+:} false; then :
12315 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12318 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12319 if ${GPHOTO2_LIBS:+false} :; then :
12320 if ${PKG_CONFIG+:} false; then :
12321 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12324 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12325 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12326 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12327 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12328 ac_save_CPPFLAGS=$CPPFLAGS
12329 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12330 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12331 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12333 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12334 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12335 $as_echo_n "(cached) " >&6
12336 else
12337 ac_check_lib_save_LIBS=$LIBS
12338 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h. */
12342 /* Override any GCC internal prototype to avoid an error.
12343 Use char because int might match the return type of a GCC
12344 builtin and then its argument prototype would still apply. */
12345 #ifdef __cplusplus
12346 extern "C"
12347 #endif
12348 char gp_camera_new ();
12350 main ()
12352 return gp_camera_new ();
12354 return 0;
12356 _ACEOF
12357 if ac_fn_c_try_link "$LINENO"; then :
12358 ac_cv_lib_gphoto2_gp_camera_new=yes
12359 else
12360 ac_cv_lib_gphoto2_gp_camera_new=no
12362 rm -f core conftest.err conftest.$ac_objext \
12363 conftest$ac_exeext conftest.$ac_ext
12364 LIBS=$ac_check_lib_save_LIBS
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12367 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12368 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12370 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12372 else
12373 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12376 else
12377 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12381 CPPFLAGS=$ac_save_CPPFLAGS
12382 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12383 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12385 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12386 if ${PKG_CONFIG+:} false; then :
12387 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12390 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12391 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12392 if ${PKG_CONFIG+:} false; then :
12393 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12396 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12397 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12398 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12399 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12400 ac_save_CPPFLAGS=$CPPFLAGS
12401 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12402 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12403 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12405 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12406 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12407 $as_echo_n "(cached) " >&6
12408 else
12409 ac_check_lib_save_LIBS=$LIBS
12410 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12412 /* end confdefs.h. */
12414 /* Override any GCC internal prototype to avoid an error.
12415 Use char because int might match the return type of a GCC
12416 builtin and then its argument prototype would still apply. */
12417 #ifdef __cplusplus
12418 extern "C"
12419 #endif
12420 char gp_port_info_list_new ();
12422 main ()
12424 return gp_port_info_list_new ();
12426 return 0;
12428 _ACEOF
12429 if ac_fn_c_try_link "$LINENO"; then :
12430 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12431 else
12432 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12434 rm -f core conftest.err conftest.$ac_objext \
12435 conftest$ac_exeext conftest.$ac_ext
12436 LIBS=$ac_check_lib_save_LIBS
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12439 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12440 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12442 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12444 else
12445 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12448 else
12449 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12453 CPPFLAGS=$ac_save_CPPFLAGS
12454 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12455 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12458 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12459 case "x$with_gphoto" in
12460 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12461 xno) ;;
12462 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12463 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12464 esac
12467 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12468 case "x$with_gphoto" in
12469 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12470 xno) ;;
12471 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12472 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12473 esac
12478 if test "$ac_cv_header_resolv_h" = "yes"
12479 then
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12481 $as_echo_n "checking for resolver library... " >&6; }
12482 if ${ac_cv_have_resolv+:} false; then :
12483 $as_echo_n "(cached) " >&6
12484 else
12485 ac_save_LIBS="$LIBS"
12486 for lib in '' -lresolv
12488 LIBS="$lib $ac_save_LIBS"
12489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12490 /* end confdefs.h. */
12491 #ifdef HAVE_NETINET_IN_H
12492 #include <netinet/in.h>
12493 #endif
12494 #include <resolv.h>
12496 main ()
12498 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12500 return 0;
12502 _ACEOF
12503 if ac_fn_c_try_link "$LINENO"; then :
12504 ac_cv_have_resolv=${lib:-"none required"}
12505 else
12506 ac_cv_have_resolv="not found"
12508 rm -f core conftest.err conftest.$ac_objext \
12509 conftest$ac_exeext conftest.$ac_ext
12510 test "x$ac_cv_have_resolv" = "xnot found" || break
12511 done
12512 LIBS="$ac_save_LIBS"
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12515 $as_echo "$ac_cv_have_resolv" >&6; }
12517 case "$ac_cv_have_resolv" in
12518 "not found") ;;
12519 "none required")
12521 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12524 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12526 RESOLV_LIBS=$ac_cv_have_resolv
12528 esac
12531 if test "x$with_cms" != "xno"
12532 then
12533 if ${LCMS2_CFLAGS:+false} :; then :
12534 if ${PKG_CONFIG+:} false; then :
12535 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12539 if ${LCMS2_LIBS:+false} :; then :
12540 if ${PKG_CONFIG+:} false; then :
12541 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12545 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12546 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12547 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12548 ac_save_CPPFLAGS=$CPPFLAGS
12549 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12550 for ac_header in lcms2.h
12551 do :
12552 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12553 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12554 cat >>confdefs.h <<_ACEOF
12555 #define HAVE_LCMS2_H 1
12556 _ACEOF
12560 done
12562 if test "$ac_cv_header_lcms2_h" = "yes"
12563 then
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12565 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12566 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12567 $as_echo_n "(cached) " >&6
12568 else
12569 ac_check_lib_save_LIBS=$LIBS
12570 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12572 /* end confdefs.h. */
12574 /* Override any GCC internal prototype to avoid an error.
12575 Use char because int might match the return type of a GCC
12576 builtin and then its argument prototype would still apply. */
12577 #ifdef __cplusplus
12578 extern "C"
12579 #endif
12580 char cmsOpenProfileFromFile ();
12582 main ()
12584 return cmsOpenProfileFromFile ();
12586 return 0;
12588 _ACEOF
12589 if ac_fn_c_try_link "$LINENO"; then :
12590 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12591 else
12592 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12594 rm -f core conftest.err conftest.$ac_objext \
12595 conftest$ac_exeext conftest.$ac_ext
12596 LIBS=$ac_check_lib_save_LIBS
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12599 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12600 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12602 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12604 else
12605 LCMS2_LIBS=""
12608 else
12609 LCMS2_CFLAGS=""
12610 LCMS2_LIBS=""
12612 CPPFLAGS=$ac_save_CPPFLAGS
12613 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12614 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12617 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12618 case "x$with_cms" in
12619 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12620 xno) ;;
12621 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12622 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12623 esac
12627 if test "x$with_freetype" != "xno"
12628 then
12629 if ${FREETYPE_CFLAGS:+false} :; then :
12630 if ${PKG_CONFIG+:} false; then :
12631 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12634 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12635 if ${FREETYPE_LIBS:+false} :; then :
12636 if ${PKG_CONFIG+:} false; then :
12637 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12640 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12641 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12642 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12643 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12644 ac_save_CPPFLAGS=$CPPFLAGS
12645 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12646 for ac_header in ft2build.h
12647 do :
12648 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12649 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12650 cat >>confdefs.h <<_ACEOF
12651 #define HAVE_FT2BUILD_H 1
12652 _ACEOF
12656 done
12658 if test "$ac_cv_header_ft2build_h" = "yes"
12659 then
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12661 $as_echo_n "checking for -lfreetype... " >&6; }
12662 if ${ac_cv_lib_soname_freetype+:} false; then :
12663 $as_echo_n "(cached) " >&6
12664 else
12665 ac_check_soname_save_LIBS=$LIBS
12666 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12668 /* end confdefs.h. */
12670 /* Override any GCC internal prototype to avoid an error.
12671 Use char because int might match the return type of a GCC
12672 builtin and then its argument prototype would still apply. */
12673 #ifdef __cplusplus
12674 extern "C"
12675 #endif
12676 char FT_Init_FreeType ();
12678 main ()
12680 return FT_Init_FreeType ();
12682 return 0;
12684 _ACEOF
12685 if ac_fn_c_try_link "$LINENO"; then :
12686 case "$LIBEXT" in
12687 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12688 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'` ;;
12689 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12690 if ${ac_cv_lib_soname_freetype:+false} :; then :
12691 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12692 fi ;;
12693 esac
12695 rm -f core conftest.err conftest.$ac_objext \
12696 conftest$ac_exeext conftest.$ac_ext
12697 LIBS=$ac_check_soname_save_LIBS
12699 if ${ac_cv_lib_soname_freetype:+false} :; then :
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12701 $as_echo "not found" >&6; }
12702 FREETYPE_LIBS=""
12703 else
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12705 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12707 cat >>confdefs.h <<_ACEOF
12708 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12709 _ACEOF
12712 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12714 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12715 #include FT_MODULE_H
12717 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12719 cat >>confdefs.h <<_ACEOF
12720 #define HAVE_FT_TRUETYPEENGINETYPE 1
12721 _ACEOF
12727 else
12728 FREETYPE_CFLAGS=""
12729 FREETYPE_LIBS=""
12731 CPPFLAGS=$ac_save_CPPFLAGS
12732 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12733 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12736 if test "x$ac_cv_lib_soname_freetype" = x; then :
12737 case "x$with_freetype" in
12738 xno) ;;
12739 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12740 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12741 esac
12742 enable_fonts=${enable_fonts:-no}
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12746 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12747 if ${ac_cv_c_ppdev+:} false; then :
12748 $as_echo_n "(cached) " >&6
12749 else
12750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12751 /* end confdefs.h. */
12752 #ifdef HAVE_SYS_IOCTL_H
12753 # include <sys/ioctl.h>
12754 #endif
12755 #include <linux/ppdev.h>
12757 main ()
12759 ioctl (1,PPCLAIM,0)
12761 return 0;
12763 _ACEOF
12764 if ac_fn_c_try_compile "$LINENO"; then :
12765 ac_cv_c_ppdev="yes"
12766 else
12767 ac_cv_c_ppdev="no"
12769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12772 $as_echo "$ac_cv_c_ppdev" >&6; }
12773 if test "$ac_cv_c_ppdev" = "yes"
12774 then
12776 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12780 ac_wine_check_funcs_save_LIBS="$LIBS"
12781 LIBS="$LIBS $PTHREAD_LIBS"
12782 for ac_func in \
12783 pthread_attr_get_np \
12784 pthread_getattr_np \
12785 pthread_getthreadid_np \
12786 pthread_get_stackaddr_np \
12787 pthread_get_stacksize_np
12788 do :
12789 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12790 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12791 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12792 cat >>confdefs.h <<_ACEOF
12793 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12794 _ACEOF
12797 done
12799 LIBS="$ac_wine_check_funcs_save_LIBS"
12801 if test "$ac_cv_header_zlib_h" = "yes"
12802 then
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12804 $as_echo_n "checking for inflate in -lz... " >&6; }
12805 if ${ac_cv_lib_z_inflate+:} false; then :
12806 $as_echo_n "(cached) " >&6
12807 else
12808 ac_check_lib_save_LIBS=$LIBS
12809 LIBS="-lz $LIBS"
12810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12811 /* end confdefs.h. */
12813 /* Override any GCC internal prototype to avoid an error.
12814 Use char because int might match the return type of a GCC
12815 builtin and then its argument prototype would still apply. */
12816 #ifdef __cplusplus
12817 extern "C"
12818 #endif
12819 char inflate ();
12821 main ()
12823 return inflate ();
12825 return 0;
12827 _ACEOF
12828 if ac_fn_c_try_link "$LINENO"; then :
12829 ac_cv_lib_z_inflate=yes
12830 else
12831 ac_cv_lib_z_inflate=no
12833 rm -f core conftest.err conftest.$ac_objext \
12834 conftest$ac_exeext conftest.$ac_ext
12835 LIBS=$ac_check_lib_save_LIBS
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12838 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12839 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12841 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12843 Z_LIBS="-lz"
12848 if test "x$Z_LIBS" = "x"; then :
12849 case "x$with_zlib" in
12850 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12851 xno) ;;
12852 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12853 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12854 esac
12858 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12859 then
12860 if test "$ac_cv_header_gettext_po_h" = "yes"
12861 then
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12863 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12864 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12865 $as_echo_n "(cached) " >&6
12866 else
12867 ac_check_lib_save_LIBS=$LIBS
12868 LIBS="-lgettextpo $LIBS"
12869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12870 /* end confdefs.h. */
12872 /* Override any GCC internal prototype to avoid an error.
12873 Use char because int might match the return type of a GCC
12874 builtin and then its argument prototype would still apply. */
12875 #ifdef __cplusplus
12876 extern "C"
12877 #endif
12878 char po_message_msgctxt ();
12880 main ()
12882 return po_message_msgctxt ();
12884 return 0;
12886 _ACEOF
12887 if ac_fn_c_try_link "$LINENO"; then :
12888 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12889 else
12890 ac_cv_lib_gettextpo_po_message_msgctxt=no
12892 rm -f core conftest.err conftest.$ac_objext \
12893 conftest$ac_exeext conftest.$ac_ext
12894 LIBS=$ac_check_lib_save_LIBS
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12897 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12898 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12900 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12902 GETTEXTPO_LIBS="-lgettextpo"
12907 if test "x$GETTEXTPO_LIBS" = "x"; then :
12908 case "x$with_gettextpo" in
12909 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12910 xno) ;;
12911 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12912 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12913 esac
12916 if test "$srcdir" != .; then :
12917 case "x$with_gettextpo" in
12918 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12919 xno) ;;
12920 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12921 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12922 esac
12927 if test "x$with_pulse" != "xno";
12928 then
12929 if ${PULSE_CFLAGS:+false} :; then :
12930 if ${PKG_CONFIG+:} false; then :
12931 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12935 if ${PULSE_LIBS:+false} :; then :
12936 if ${PKG_CONFIG+:} false; then :
12937 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12942 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12943 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12944 ac_save_CPPFLAGS=$CPPFLAGS
12945 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12946 for ac_header in pulse/pulseaudio.h
12947 do :
12948 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12949 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12950 cat >>confdefs.h <<_ACEOF
12951 #define HAVE_PULSE_PULSEAUDIO_H 1
12952 _ACEOF
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12954 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12955 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12956 $as_echo_n "(cached) " >&6
12957 else
12958 ac_check_lib_save_LIBS=$LIBS
12959 LIBS="-lpulse $PULSE_LIBS $LIBS"
12960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12961 /* end confdefs.h. */
12963 /* Override any GCC internal prototype to avoid an error.
12964 Use char because int might match the return type of a GCC
12965 builtin and then its argument prototype would still apply. */
12966 #ifdef __cplusplus
12967 extern "C"
12968 #endif
12969 char pa_stream_is_corked ();
12971 main ()
12973 return pa_stream_is_corked ();
12975 return 0;
12977 _ACEOF
12978 if ac_fn_c_try_link "$LINENO"; then :
12979 ac_cv_lib_pulse_pa_stream_is_corked=yes
12980 else
12981 ac_cv_lib_pulse_pa_stream_is_corked=no
12983 rm -f core conftest.err conftest.$ac_objext \
12984 conftest$ac_exeext conftest.$ac_ext
12985 LIBS=$ac_check_lib_save_LIBS
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12988 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12989 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12991 else
12992 PULSE_LIBS=""
12995 else
12996 PULSE_LIBS=""
12999 done
13001 CPPFLAGS=$ac_save_CPPFLAGS
13002 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13003 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13006 if test -z "$PULSE_LIBS"; then :
13007 case "x$with_pulse" in
13008 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13009 xno) ;;
13010 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13011 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13012 esac
13013 enable_winepulse_drv=${enable_winepulse_drv:-no}
13016 if test "x$with_gstreamer" != "xno"
13017 then
13018 if ${GSTREAMER_CFLAGS:+false} :; then :
13019 if ${PKG_CONFIG+:} false; then :
13020 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13024 if ${GSTREAMER_LIBS:+false} :; then :
13025 if ${PKG_CONFIG+:} false; then :
13026 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13031 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13032 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13033 ac_save_CPPFLAGS=$CPPFLAGS
13034 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13035 ac_gst_incl=""
13036 for i in $GSTREAMER_CFLAGS
13038 case "$i" in
13039 -I*) ac_gst_incl="$ac_gst_incl $i";;
13040 esac
13041 done
13042 GSTREAMER_CFLAGS=$ac_gst_incl
13043 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13044 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13045 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13047 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13049 /* end confdefs.h. */
13050 #include <gst/gst.h>
13052 main ()
13054 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13056 return 0;
13058 _ACEOF
13059 if ac_fn_c_try_compile "$LINENO"; then :
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13061 $as_echo "yes" >&6; }
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13063 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13064 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13065 $as_echo_n "(cached) " >&6
13066 else
13067 ac_check_lib_save_LIBS=$LIBS
13068 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13070 /* end confdefs.h. */
13072 /* Override any GCC internal prototype to avoid an error.
13073 Use char because int might match the return type of a GCC
13074 builtin and then its argument prototype would still apply. */
13075 #ifdef __cplusplus
13076 extern "C"
13077 #endif
13078 char gst_pad_new ();
13080 main ()
13082 return gst_pad_new ();
13084 return 0;
13086 _ACEOF
13087 if ac_fn_c_try_link "$LINENO"; then :
13088 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13089 else
13090 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13092 rm -f core conftest.err conftest.$ac_objext \
13093 conftest$ac_exeext conftest.$ac_ext
13094 LIBS=$ac_check_lib_save_LIBS
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13097 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13098 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13102 else
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13104 $as_echo "no" >&6; }
13105 ac_glib2_broken=yes
13106 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13112 CPPFLAGS=$ac_save_CPPFLAGS
13113 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13114 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13117 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 :
13118 case "x$with_gstreamer" in
13119 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13120 xno) ;;
13121 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13122 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13123 esac
13126 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13128 ALSA_LIBS=""
13130 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13131 then
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13133 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13134 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13135 $as_echo_n "(cached) " >&6
13136 else
13137 ac_check_lib_save_LIBS=$LIBS
13138 LIBS="-lasound $LIBS"
13139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13140 /* end confdefs.h. */
13142 /* Override any GCC internal prototype to avoid an error.
13143 Use char because int might match the return type of a GCC
13144 builtin and then its argument prototype would still apply. */
13145 #ifdef __cplusplus
13146 extern "C"
13147 #endif
13148 char snd_pcm_hw_params_get_access_mask ();
13150 main ()
13152 return snd_pcm_hw_params_get_access_mask ();
13154 return 0;
13156 _ACEOF
13157 if ac_fn_c_try_link "$LINENO"; then :
13158 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13159 else
13160 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13162 rm -f core conftest.err conftest.$ac_objext \
13163 conftest$ac_exeext conftest.$ac_ext
13164 LIBS=$ac_check_lib_save_LIBS
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13167 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13168 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13170 /* end confdefs.h. */
13171 #ifdef HAVE_ALSA_ASOUNDLIB_H
13172 #include <alsa/asoundlib.h>
13173 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13174 #include <sys/asoundlib.h>
13175 #endif
13177 main ()
13179 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13181 return 0;
13183 _ACEOF
13184 if ac_fn_c_try_compile "$LINENO"; then :
13185 ALSA_LIBS="-lasound"
13187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13191 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13193 if test "x$with_oss" != xno
13194 then
13195 ac_save_CPPFLAGS="$CPPFLAGS"
13196 if test -f /etc/oss.conf
13197 then
13198 . /etc/oss.conf
13200 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13201 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13202 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13203 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13204 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13206 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13208 cat >>confdefs.h <<_ACEOF
13209 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13210 _ACEOF
13212 OSS4_CFLAGS="$ac_oss_incl"
13219 CPPFLAGS="$ac_save_CPPFLAGS"
13221 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13222 case "x$with_oss" in
13223 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13224 xno) ;;
13225 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13226 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13227 esac
13228 enable_wineoss_drv=${enable_wineoss_drv:-no}
13231 if test "x$with_udev" != "xno"
13232 then
13233 if ${UDEV_CFLAGS:+false} :; then :
13234 if ${PKG_CONFIG+:} false; then :
13235 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13239 if ${UDEV_LIBS:+false} :; then :
13240 if ${PKG_CONFIG+:} false; then :
13241 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13245 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13246 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13247 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13248 ac_save_CPPFLAGS=$CPPFLAGS
13249 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13250 for ac_header in libudev.h
13251 do :
13252 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13253 if test "x$ac_cv_header_libudev_h" = xyes; then :
13254 cat >>confdefs.h <<_ACEOF
13255 #define HAVE_LIBUDEV_H 1
13256 _ACEOF
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13258 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13259 if ${ac_cv_lib_udev_udev_new+:} false; then :
13260 $as_echo_n "(cached) " >&6
13261 else
13262 ac_check_lib_save_LIBS=$LIBS
13263 LIBS="-ludev $UDEV_LIBS $LIBS"
13264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13265 /* end confdefs.h. */
13267 /* Override any GCC internal prototype to avoid an error.
13268 Use char because int might match the return type of a GCC
13269 builtin and then its argument prototype would still apply. */
13270 #ifdef __cplusplus
13271 extern "C"
13272 #endif
13273 char udev_new ();
13275 main ()
13277 return udev_new ();
13279 return 0;
13281 _ACEOF
13282 if ac_fn_c_try_link "$LINENO"; then :
13283 ac_cv_lib_udev_udev_new=yes
13284 else
13285 ac_cv_lib_udev_udev_new=no
13287 rm -f core conftest.err conftest.$ac_objext \
13288 conftest$ac_exeext conftest.$ac_ext
13289 LIBS=$ac_check_lib_save_LIBS
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13292 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13293 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13295 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13297 else
13298 UDEV_LIBS=""
13301 else
13302 UDEV_LIBS=""
13305 done
13307 CPPFLAGS=$ac_save_CPPFLAGS
13308 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13309 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13312 if test "x$UDEV_LIBS" = "x"; then :
13313 case "x$with_udev" in
13314 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13315 xno) ;;
13316 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13317 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13318 esac
13322 if test "x$with_capi" != "xno"
13323 then
13324 if ${CAPI20_CFLAGS:+false} :; then :
13325 if ${PKG_CONFIG+:} false; then :
13326 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13330 if ${CAPI20_LIBS:+false} :; then :
13331 if ${PKG_CONFIG+:} false; then :
13332 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13337 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13338 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13339 ac_save_CPPFLAGS=$CPPFLAGS
13340 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13341 for ac_header in capi20.h linux/capi.h
13342 do :
13343 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13344 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13346 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13347 cat >>confdefs.h <<_ACEOF
13348 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13349 _ACEOF
13353 done
13355 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13356 then
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13358 $as_echo_n "checking for -lcapi20... " >&6; }
13359 if ${ac_cv_lib_soname_capi20+:} false; then :
13360 $as_echo_n "(cached) " >&6
13361 else
13362 ac_check_soname_save_LIBS=$LIBS
13363 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13365 /* end confdefs.h. */
13367 /* Override any GCC internal prototype to avoid an error.
13368 Use char because int might match the return type of a GCC
13369 builtin and then its argument prototype would still apply. */
13370 #ifdef __cplusplus
13371 extern "C"
13372 #endif
13373 char capi20_register ();
13375 main ()
13377 return capi20_register ();
13379 return 0;
13381 _ACEOF
13382 if ac_fn_c_try_link "$LINENO"; then :
13383 case "$LIBEXT" in
13384 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13385 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'` ;;
13386 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13387 if ${ac_cv_lib_soname_capi20:+false} :; then :
13388 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13389 fi ;;
13390 esac
13392 rm -f core conftest.err conftest.$ac_objext \
13393 conftest$ac_exeext conftest.$ac_ext
13394 LIBS=$ac_check_soname_save_LIBS
13396 if ${ac_cv_lib_soname_capi20:+false} :; then :
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13398 $as_echo "not found" >&6; }
13400 else
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13402 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13404 cat >>confdefs.h <<_ACEOF
13405 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13406 _ACEOF
13411 CPPFLAGS=$ac_save_CPPFLAGS
13412 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13413 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13416 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13417 case "x$with_capi" in
13418 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13419 xno) ;;
13420 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13421 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13422 esac
13426 CUPS_CFLAGS=""
13428 if test "x$with_cups" != "xno"
13429 then
13430 ac_save_CPPFLAGS="$CPPFLAGS"
13431 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13432 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13433 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13434 for ac_header in cups/cups.h
13435 do :
13436 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13437 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13438 cat >>confdefs.h <<_ACEOF
13439 #define HAVE_CUPS_CUPS_H 1
13440 _ACEOF
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13442 $as_echo_n "checking for -lcups... " >&6; }
13443 if ${ac_cv_lib_soname_cups+:} false; then :
13444 $as_echo_n "(cached) " >&6
13445 else
13446 ac_check_soname_save_LIBS=$LIBS
13447 LIBS="-lcups $ac_cups_libs $LIBS"
13448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13449 /* end confdefs.h. */
13451 /* Override any GCC internal prototype to avoid an error.
13452 Use char because int might match the return type of a GCC
13453 builtin and then its argument prototype would still apply. */
13454 #ifdef __cplusplus
13455 extern "C"
13456 #endif
13457 char cupsGetDefault ();
13459 main ()
13461 return cupsGetDefault ();
13463 return 0;
13465 _ACEOF
13466 if ac_fn_c_try_link "$LINENO"; then :
13467 case "$LIBEXT" in
13468 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13469 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'` ;;
13470 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13471 if ${ac_cv_lib_soname_cups:+false} :; then :
13472 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13473 fi ;;
13474 esac
13476 rm -f core conftest.err conftest.$ac_objext \
13477 conftest$ac_exeext conftest.$ac_ext
13478 LIBS=$ac_check_soname_save_LIBS
13480 if ${ac_cv_lib_soname_cups:+false} :; then :
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13482 $as_echo "not found" >&6; }
13484 else
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13486 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13488 cat >>confdefs.h <<_ACEOF
13489 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13490 _ACEOF
13492 CUPS_CFLAGS="$ac_cups_cflags"
13494 for ac_header in cups/ppd.h
13495 do :
13496 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13497 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13498 cat >>confdefs.h <<_ACEOF
13499 #define HAVE_CUPS_PPD_H 1
13500 _ACEOF
13504 done
13508 done
13510 CPPFLAGS="$ac_save_CPPFLAGS"
13512 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13513 case "x$with_cups" in
13514 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13515 xno) ;;
13516 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13517 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13518 esac
13522 if test "x$with_fontconfig" != "xno"
13523 then
13524 if ${FONTCONFIG_CFLAGS:+false} :; then :
13525 if ${PKG_CONFIG+:} false; then :
13526 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13529 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13530 if ${FONTCONFIG_LIBS:+false} :; then :
13531 if ${PKG_CONFIG+:} false; then :
13532 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13535 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13537 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13538 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13539 ac_save_CPPFLAGS=$CPPFLAGS
13540 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13541 for ac_header in fontconfig/fontconfig.h
13542 do :
13543 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13544 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13545 cat >>confdefs.h <<_ACEOF
13546 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13547 _ACEOF
13551 done
13553 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13554 then
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13556 $as_echo_n "checking for -lfontconfig... " >&6; }
13557 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13558 $as_echo_n "(cached) " >&6
13559 else
13560 ac_check_soname_save_LIBS=$LIBS
13561 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13563 /* end confdefs.h. */
13565 /* Override any GCC internal prototype to avoid an error.
13566 Use char because int might match the return type of a GCC
13567 builtin and then its argument prototype would still apply. */
13568 #ifdef __cplusplus
13569 extern "C"
13570 #endif
13571 char FcInit ();
13573 main ()
13575 return FcInit ();
13577 return 0;
13579 _ACEOF
13580 if ac_fn_c_try_link "$LINENO"; then :
13581 case "$LIBEXT" in
13582 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13583 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'` ;;
13584 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13585 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13586 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13587 fi ;;
13588 esac
13590 rm -f core conftest.err conftest.$ac_objext \
13591 conftest$ac_exeext conftest.$ac_ext
13592 LIBS=$ac_check_soname_save_LIBS
13594 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13596 $as_echo "not found" >&6; }
13597 FONTCONFIG_CFLAGS=""
13598 else
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13600 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13602 cat >>confdefs.h <<_ACEOF
13603 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13604 _ACEOF
13608 else
13609 FONTCONFIG_CFLAGS=""
13611 CPPFLAGS=$ac_save_CPPFLAGS
13612 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13613 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13616 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13617 case "x$with_fontconfig" in
13618 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13619 xno) ;;
13620 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13621 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13622 esac
13626 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13627 then
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13629 $as_echo_n "checking for -lgsm... " >&6; }
13630 if ${ac_cv_lib_soname_gsm+:} false; then :
13631 $as_echo_n "(cached) " >&6
13632 else
13633 ac_check_soname_save_LIBS=$LIBS
13634 LIBS="-lgsm $LIBS"
13635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13636 /* end confdefs.h. */
13638 /* Override any GCC internal prototype to avoid an error.
13639 Use char because int might match the return type of a GCC
13640 builtin and then its argument prototype would still apply. */
13641 #ifdef __cplusplus
13642 extern "C"
13643 #endif
13644 char gsm_create ();
13646 main ()
13648 return gsm_create ();
13650 return 0;
13652 _ACEOF
13653 if ac_fn_c_try_link "$LINENO"; then :
13654 case "$LIBEXT" in
13655 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13656 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'` ;;
13657 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13658 if ${ac_cv_lib_soname_gsm:+false} :; then :
13659 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13660 fi ;;
13661 esac
13663 rm -f core conftest.err conftest.$ac_objext \
13664 conftest$ac_exeext conftest.$ac_ext
13665 LIBS=$ac_check_soname_save_LIBS
13667 if ${ac_cv_lib_soname_gsm:+false} :; then :
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13669 $as_echo "not found" >&6; }
13671 else
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13673 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13675 cat >>confdefs.h <<_ACEOF
13676 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13677 _ACEOF
13682 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13683 case "x$with_gsm" in
13684 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13685 xno) ;;
13686 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13687 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13688 esac
13692 if test "x$with_jpeg" != "xno"
13693 then
13694 if ${JPEG_CFLAGS:+false} :; then :
13695 if ${PKG_CONFIG+:} false; then :
13696 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13700 if ${JPEG_LIBS:+false} :; then :
13701 if ${PKG_CONFIG+:} false; then :
13702 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13707 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13708 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13709 ac_save_CPPFLAGS=$CPPFLAGS
13710 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13711 for ac_header in jpeglib.h
13712 do :
13713 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13714 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13715 cat >>confdefs.h <<_ACEOF
13716 #define HAVE_JPEGLIB_H 1
13717 _ACEOF
13721 done
13723 if test "$ac_cv_header_jpeglib_h" = "yes"
13724 then
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13726 $as_echo_n "checking for -ljpeg... " >&6; }
13727 if ${ac_cv_lib_soname_jpeg+:} false; then :
13728 $as_echo_n "(cached) " >&6
13729 else
13730 ac_check_soname_save_LIBS=$LIBS
13731 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13733 /* end confdefs.h. */
13735 /* Override any GCC internal prototype to avoid an error.
13736 Use char because int might match the return type of a GCC
13737 builtin and then its argument prototype would still apply. */
13738 #ifdef __cplusplus
13739 extern "C"
13740 #endif
13741 char jpeg_start_decompress ();
13743 main ()
13745 return jpeg_start_decompress ();
13747 return 0;
13749 _ACEOF
13750 if ac_fn_c_try_link "$LINENO"; then :
13751 case "$LIBEXT" in
13752 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13753 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'` ;;
13754 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13755 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13756 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13757 fi ;;
13758 esac
13760 rm -f core conftest.err conftest.$ac_objext \
13761 conftest$ac_exeext conftest.$ac_ext
13762 LIBS=$ac_check_soname_save_LIBS
13764 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13766 $as_echo "not found" >&6; }
13767 JPEG_CFLAGS=""
13768 else
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13770 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13772 cat >>confdefs.h <<_ACEOF
13773 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13774 _ACEOF
13778 else
13779 JPEG_CFLAGS=""
13781 CPPFLAGS=$ac_save_CPPFLAGS
13782 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13783 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13786 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13787 case "x$with_jpeg" in
13788 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13789 xno) ;;
13790 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13791 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13792 esac
13796 if test "x$with_png" != "xno"
13797 then
13798 if ${PNG_CFLAGS:+false} :; then :
13799 if ${PKG_CONFIG+:} false; then :
13800 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13803 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13804 if ${PNG_LIBS:+false} :; then :
13805 if ${PKG_CONFIG+:} false; then :
13806 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13809 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13811 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13812 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13813 ac_save_CPPFLAGS=$CPPFLAGS
13814 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13815 for ac_header in png.h
13816 do :
13817 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13818 if test "x$ac_cv_header_png_h" = xyes; then :
13819 cat >>confdefs.h <<_ACEOF
13820 #define HAVE_PNG_H 1
13821 _ACEOF
13825 done
13827 if test "$ac_cv_header_png_h" = "yes"
13828 then
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13830 $as_echo_n "checking for -lpng... " >&6; }
13831 if ${ac_cv_lib_soname_png+:} false; then :
13832 $as_echo_n "(cached) " >&6
13833 else
13834 ac_check_soname_save_LIBS=$LIBS
13835 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13837 /* end confdefs.h. */
13839 /* Override any GCC internal prototype to avoid an error.
13840 Use char because int might match the return type of a GCC
13841 builtin and then its argument prototype would still apply. */
13842 #ifdef __cplusplus
13843 extern "C"
13844 #endif
13845 char png_create_read_struct ();
13847 main ()
13849 return png_create_read_struct ();
13851 return 0;
13853 _ACEOF
13854 if ac_fn_c_try_link "$LINENO"; then :
13855 case "$LIBEXT" in
13856 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13857 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'` ;;
13858 *) 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'`
13859 if ${ac_cv_lib_soname_png:+false} :; then :
13860 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13861 fi ;;
13862 esac
13864 rm -f core conftest.err conftest.$ac_objext \
13865 conftest$ac_exeext conftest.$ac_ext
13866 LIBS=$ac_check_soname_save_LIBS
13868 if ${ac_cv_lib_soname_png:+false} :; then :
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13870 $as_echo "not found" >&6; }
13871 PNG_CFLAGS=""
13872 else
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13874 $as_echo "$ac_cv_lib_soname_png" >&6; }
13876 cat >>confdefs.h <<_ACEOF
13877 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13878 _ACEOF
13880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13882 #include <png.h>
13884 main ()
13886 typeof(png_set_expand_gray_1_2_4_to_8) *p
13888 return 0;
13890 _ACEOF
13891 if ac_fn_c_try_compile "$LINENO"; then :
13893 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13898 else
13899 PNG_CFLAGS=""
13901 CPPFLAGS=$ac_save_CPPFLAGS
13902 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13903 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13906 if test "x$ac_cv_lib_soname_png" = "x"; then :
13907 case "x$with_png" in
13908 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13909 xno) ;;
13910 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13911 This is an error since --with-png was requested." "$LINENO" 5 ;;
13912 esac
13916 if test "x$with_tiff" != "xno"
13917 then
13918 if ${TIFF_CFLAGS:+false} :; then :
13919 if ${PKG_CONFIG+:} false; then :
13920 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13924 if ${TIFF_LIBS:+false} :; then :
13925 if ${PKG_CONFIG+:} false; then :
13926 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13931 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13932 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13933 ac_save_CPPFLAGS=$CPPFLAGS
13934 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13935 for ac_header in tiffio.h
13936 do :
13937 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13938 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13939 cat >>confdefs.h <<_ACEOF
13940 #define HAVE_TIFFIO_H 1
13941 _ACEOF
13945 done
13947 if test "$ac_cv_header_tiffio_h" = "yes"
13948 then
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13950 $as_echo_n "checking for -ltiff... " >&6; }
13951 if ${ac_cv_lib_soname_tiff+:} false; then :
13952 $as_echo_n "(cached) " >&6
13953 else
13954 ac_check_soname_save_LIBS=$LIBS
13955 LIBS="-ltiff $TIFF_LIBS $LIBS"
13956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13957 /* end confdefs.h. */
13959 /* Override any GCC internal prototype to avoid an error.
13960 Use char because int might match the return type of a GCC
13961 builtin and then its argument prototype would still apply. */
13962 #ifdef __cplusplus
13963 extern "C"
13964 #endif
13965 char TIFFClientOpen ();
13967 main ()
13969 return TIFFClientOpen ();
13971 return 0;
13973 _ACEOF
13974 if ac_fn_c_try_link "$LINENO"; then :
13975 case "$LIBEXT" in
13976 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13977 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'` ;;
13978 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13979 if ${ac_cv_lib_soname_tiff:+false} :; then :
13980 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13981 fi ;;
13982 esac
13984 rm -f core conftest.err conftest.$ac_objext \
13985 conftest$ac_exeext conftest.$ac_ext
13986 LIBS=$ac_check_soname_save_LIBS
13988 if ${ac_cv_lib_soname_tiff:+false} :; then :
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13990 $as_echo "not found" >&6; }
13992 else
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13994 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13996 cat >>confdefs.h <<_ACEOF
13997 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13998 _ACEOF
14003 CPPFLAGS=$ac_save_CPPFLAGS
14004 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14005 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14008 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14009 case "x$with_tiff" in
14010 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14011 xno) ;;
14012 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14013 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14014 esac
14018 if test "x$with_mpg123" != "xno"
14019 then
14020 if ${MPG123_CFLAGS:+false} :; then :
14021 if ${PKG_CONFIG+:} false; then :
14022 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14026 if ${MPG123_LIBS:+false} :; then :
14027 if ${PKG_CONFIG+:} false; then :
14028 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14032 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14033 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14034 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14035 ac_save_CPPFLAGS=$CPPFLAGS
14036 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14037 for ac_header in mpg123.h
14038 do :
14039 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14040 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14041 cat >>confdefs.h <<_ACEOF
14042 #define HAVE_MPG123_H 1
14043 _ACEOF
14047 done
14049 if test "$ac_cv_header_mpg123_h" = "yes"
14050 then
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14052 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14053 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14054 $as_echo_n "(cached) " >&6
14055 else
14056 ac_check_lib_save_LIBS=$LIBS
14057 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14059 /* end confdefs.h. */
14061 /* Override any GCC internal prototype to avoid an error.
14062 Use char because int might match the return type of a GCC
14063 builtin and then its argument prototype would still apply. */
14064 #ifdef __cplusplus
14065 extern "C"
14066 #endif
14067 char mpg123_feed ();
14069 main ()
14071 return mpg123_feed ();
14073 return 0;
14075 _ACEOF
14076 if ac_fn_c_try_link "$LINENO"; then :
14077 ac_cv_lib_mpg123_mpg123_feed=yes
14078 else
14079 ac_cv_lib_mpg123_mpg123_feed=no
14081 rm -f core conftest.err conftest.$ac_objext \
14082 conftest$ac_exeext conftest.$ac_ext
14083 LIBS=$ac_check_lib_save_LIBS
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14086 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14087 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14089 else
14090 MPG123_LIBS=""
14093 else
14094 MPG123_CFLAGS=""
14095 MPG123_LIBS=""
14097 CPPFLAGS=$ac_save_CPPFLAGS
14098 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14099 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14102 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14103 case "x$with_mpg123" in
14104 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14105 xno) ;;
14106 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14107 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14108 esac
14109 enable_winemp3_acm=${enable_winemp3_acm:-no}
14112 if test "$ac_cv_header_AL_al_h" = "yes"
14113 then
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14115 $as_echo_n "checking for -lopenal... " >&6; }
14116 if ${ac_cv_lib_soname_openal+:} false; then :
14117 $as_echo_n "(cached) " >&6
14118 else
14119 ac_check_soname_save_LIBS=$LIBS
14120 LIBS="-lopenal $LIBS"
14121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14122 /* end confdefs.h. */
14124 /* Override any GCC internal prototype to avoid an error.
14125 Use char because int might match the return type of a GCC
14126 builtin and then its argument prototype would still apply. */
14127 #ifdef __cplusplus
14128 extern "C"
14129 #endif
14130 char alGetSource3i ();
14132 main ()
14134 return alGetSource3i ();
14136 return 0;
14138 _ACEOF
14139 if ac_fn_c_try_link "$LINENO"; then :
14140 case "$LIBEXT" in
14141 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14142 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'` ;;
14143 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14144 if ${ac_cv_lib_soname_openal:+false} :; then :
14145 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14146 fi ;;
14147 esac
14149 rm -f core conftest.err conftest.$ac_objext \
14150 conftest$ac_exeext conftest.$ac_ext
14151 LIBS=$ac_check_soname_save_LIBS
14153 if ${ac_cv_lib_soname_openal:+false} :; then :
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14155 $as_echo "not found" >&6; }
14157 else
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14159 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14161 cat >>confdefs.h <<_ACEOF
14162 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14163 _ACEOF
14165 OPENAL_LIBS="-lopenal"
14167 ac_cv_lib_openal=yes
14169 cat >>confdefs.h <<_ACEOF
14170 #define HAVE_OPENAL 1
14171 _ACEOF
14175 if test "x$ac_cv_lib_openal" != xyes; then :
14176 case "x$with_openal" in
14177 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14178 xno) ;;
14179 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14180 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14181 esac
14182 enable_openal32=${enable_openal32:-no}
14185 if test "x$ac_cv_lib_openal" = xyes
14186 then
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14188 $as_echo_n "checking for openal-soft... " >&6; }
14189 if ${ac_cv_have_openalsoft+:} false; then :
14190 $as_echo_n "(cached) " >&6
14191 else
14192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14193 /* end confdefs.h. */
14194 #include <AL/al.h>
14195 #include <AL/alc.h>
14196 #include <AL/alext.h>
14197 LPALCRENDERSAMPLESSOFT x;
14199 main ()
14203 return 0;
14205 _ACEOF
14206 if ac_fn_c_try_compile "$LINENO"; then :
14207 ac_cv_have_openalsoft=yes
14208 else
14209 ac_cv_have_openalsoft=no
14211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14214 $as_echo "$ac_cv_have_openalsoft" >&6; }
14216 if test "x$ac_cv_have_openalsoft" != xyes
14217 then
14218 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14219 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14220 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14221 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14222 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14223 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14224 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14225 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14226 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14227 enable_xapofx1_1=${enable_xapofx1_1:-no}
14228 enable_xapofx1_2=${enable_xapofx1_2:-no}
14229 enable_xapofx1_3=${enable_xapofx1_3:-no}
14230 enable_xapofx1_4=${enable_xapofx1_4:-no}
14231 enable_xapofx1_5=${enable_xapofx1_5:-no}
14232 enable_xaudio2_0=${enable_xaudio2_0:-no}
14233 enable_xaudio2_1=${enable_xaudio2_1:-no}
14234 enable_xaudio2_2=${enable_xaudio2_2:-no}
14235 enable_xaudio2_3=${enable_xaudio2_3:-no}
14236 enable_xaudio2_4=${enable_xaudio2_4:-no}
14237 enable_xaudio2_5=${enable_xaudio2_5:-no}
14238 enable_xaudio2_6=${enable_xaudio2_6:-no}
14239 enable_xaudio2_7=${enable_xaudio2_7:-no}
14240 enable_xaudio2_8=${enable_xaudio2_8:-no}
14241 enable_xaudio2_9=${enable_xaudio2_9:-no}
14244 if test "$ac_cv_header_kstat_h" = "yes"
14245 then
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14247 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14248 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14249 $as_echo_n "(cached) " >&6
14250 else
14251 ac_check_lib_save_LIBS=$LIBS
14252 LIBS="-lkstat $LIBS"
14253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14254 /* end confdefs.h. */
14256 /* Override any GCC internal prototype to avoid an error.
14257 Use char because int might match the return type of a GCC
14258 builtin and then its argument prototype would still apply. */
14259 #ifdef __cplusplus
14260 extern "C"
14261 #endif
14262 char kstat_open ();
14264 main ()
14266 return kstat_open ();
14268 return 0;
14270 _ACEOF
14271 if ac_fn_c_try_link "$LINENO"; then :
14272 ac_cv_lib_kstat_kstat_open=yes
14273 else
14274 ac_cv_lib_kstat_kstat_open=no
14276 rm -f core conftest.err conftest.$ac_objext \
14277 conftest$ac_exeext conftest.$ac_ext
14278 LIBS=$ac_check_lib_save_LIBS
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14281 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14282 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14284 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14286 KSTAT_LIBS="-lkstat"
14292 if test "$ac_cv_header_libprocstat_h" = "yes"
14293 then
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14295 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14296 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14297 $as_echo_n "(cached) " >&6
14298 else
14299 ac_check_lib_save_LIBS=$LIBS
14300 LIBS="-lprocstat $LIBS"
14301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14302 /* end confdefs.h. */
14304 /* Override any GCC internal prototype to avoid an error.
14305 Use char because int might match the return type of a GCC
14306 builtin and then its argument prototype would still apply. */
14307 #ifdef __cplusplus
14308 extern "C"
14309 #endif
14310 char procstat_open_sysctl ();
14312 main ()
14314 return procstat_open_sysctl ();
14316 return 0;
14318 _ACEOF
14319 if ac_fn_c_try_link "$LINENO"; then :
14320 ac_cv_lib_procstat_procstat_open_sysctl=yes
14321 else
14322 ac_cv_lib_procstat_procstat_open_sysctl=no
14324 rm -f core conftest.err conftest.$ac_objext \
14325 conftest$ac_exeext conftest.$ac_ext
14326 LIBS=$ac_check_lib_save_LIBS
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14329 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14330 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14332 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14334 PROCSTAT_LIBS="-lprocstat"
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14341 $as_echo_n "checking for -lodbc... " >&6; }
14342 if ${ac_cv_lib_soname_odbc+:} false; then :
14343 $as_echo_n "(cached) " >&6
14344 else
14345 ac_check_soname_save_LIBS=$LIBS
14346 LIBS="-lodbc $LIBS"
14347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14348 /* end confdefs.h. */
14350 /* Override any GCC internal prototype to avoid an error.
14351 Use char because int might match the return type of a GCC
14352 builtin and then its argument prototype would still apply. */
14353 #ifdef __cplusplus
14354 extern "C"
14355 #endif
14356 char SQLConnect ();
14358 main ()
14360 return SQLConnect ();
14362 return 0;
14364 _ACEOF
14365 if ac_fn_c_try_link "$LINENO"; then :
14366 case "$LIBEXT" in
14367 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14368 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'` ;;
14369 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14370 if ${ac_cv_lib_soname_odbc:+false} :; then :
14371 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14372 fi ;;
14373 esac
14375 rm -f core conftest.err conftest.$ac_objext \
14376 conftest$ac_exeext conftest.$ac_ext
14377 LIBS=$ac_check_soname_save_LIBS
14379 if ${ac_cv_lib_soname_odbc:+false} :; then :
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14381 $as_echo "not found" >&6; }
14382 cat >>confdefs.h <<_ACEOF
14383 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14384 _ACEOF
14386 else
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14388 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14390 cat >>confdefs.h <<_ACEOF
14391 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14392 _ACEOF
14397 if test "x$with_netapi" != "xno"
14398 then
14399 if ${NETAPI_CFLAGS:+false} :; then :
14400 if ${PKG_CONFIG+:} false; then :
14401 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14405 if ${NETAPI_LIBS:+false} :; then :
14406 if ${PKG_CONFIG+:} false; then :
14407 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14412 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14413 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14414 ac_save_CPPFLAGS=$CPPFLAGS
14415 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14417 $as_echo_n "checking for -lnetapi... " >&6; }
14418 if ${ac_cv_lib_soname_netapi+:} false; then :
14419 $as_echo_n "(cached) " >&6
14420 else
14421 ac_check_soname_save_LIBS=$LIBS
14422 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14424 /* end confdefs.h. */
14426 /* Override any GCC internal prototype to avoid an error.
14427 Use char because int might match the return type of a GCC
14428 builtin and then its argument prototype would still apply. */
14429 #ifdef __cplusplus
14430 extern "C"
14431 #endif
14432 char libnetapi_init ();
14434 main ()
14436 return libnetapi_init ();
14438 return 0;
14440 _ACEOF
14441 if ac_fn_c_try_link "$LINENO"; then :
14442 case "$LIBEXT" in
14443 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14444 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'` ;;
14445 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14446 if ${ac_cv_lib_soname_netapi:+false} :; then :
14447 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14448 fi ;;
14449 esac
14451 rm -f core conftest.err conftest.$ac_objext \
14452 conftest$ac_exeext conftest.$ac_ext
14453 LIBS=$ac_check_soname_save_LIBS
14455 if ${ac_cv_lib_soname_netapi:+false} :; then :
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14457 $as_echo "not found" >&6; }
14458 cat >>confdefs.h <<_ACEOF
14459 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14460 _ACEOF
14462 else
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14464 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14466 cat >>confdefs.h <<_ACEOF
14467 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14468 _ACEOF
14472 CPPFLAGS=$ac_save_CPPFLAGS
14473 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14474 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14478 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14479 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14480 then
14481 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14485 EXTRACFLAGS=""
14487 if test "x${GCC}" = "xyes"
14488 then
14489 EXTRACFLAGS="-Wall -pipe"
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14492 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14493 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14494 $as_echo_n "(cached) " >&6
14495 else
14496 if test "$cross_compiling" = yes; then :
14497 ac_cv_c_gcc_strength_bug="no"
14498 else
14499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14500 /* end confdefs.h. */
14501 int L[4] = {0,1,2,3};
14503 main ()
14505 static int Array[3];
14506 unsigned int B = 3;
14507 int i;
14508 for(i=0; i<B; i++) Array[i] = i - 3;
14509 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14510 L[i] = 4;
14511 return (Array[1] != -2 || L[2] != 3)
14513 return 0;
14515 _ACEOF
14516 if ac_fn_c_try_run "$LINENO"; then :
14517 ac_cv_c_gcc_strength_bug="no"
14518 else
14519 ac_cv_c_gcc_strength_bug="yes"
14521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14522 conftest.$ac_objext conftest.beam conftest.$ac_ext
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14527 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14528 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14529 then
14530 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14534 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14535 if ${ac_cv_cflags__fno_builtin+:} false; then :
14536 $as_echo_n "(cached) " >&6
14537 else
14538 ac_wine_try_cflags_saved=$CFLAGS
14539 CFLAGS="$CFLAGS -fno-builtin"
14540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14541 /* end confdefs.h. */
14542 int main(int argc, char **argv) { return 0; }
14543 _ACEOF
14544 if ac_fn_c_try_link "$LINENO"; then :
14545 ac_cv_cflags__fno_builtin=yes
14546 else
14547 ac_cv_cflags__fno_builtin=no
14549 rm -f core conftest.err conftest.$ac_objext \
14550 conftest$ac_exeext conftest.$ac_ext
14551 CFLAGS=$ac_wine_try_cflags_saved
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14554 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14555 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14556 BUILTINFLAG="-fno-builtin"
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14560 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14561 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14562 $as_echo_n "(cached) " >&6
14563 else
14564 ac_wine_try_cflags_saved=$CFLAGS
14565 CFLAGS="$CFLAGS -fno-strict-aliasing"
14566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14567 /* end confdefs.h. */
14568 int main(int argc, char **argv) { return 0; }
14569 _ACEOF
14570 if ac_fn_c_try_link "$LINENO"; then :
14571 ac_cv_cflags__fno_strict_aliasing=yes
14572 else
14573 ac_cv_cflags__fno_strict_aliasing=no
14575 rm -f core conftest.err conftest.$ac_objext \
14576 conftest$ac_exeext conftest.$ac_ext
14577 CFLAGS=$ac_wine_try_cflags_saved
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14580 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14581 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14582 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14585 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14586 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14587 $as_echo_n "(cached) " >&6
14588 else
14589 ac_wine_try_cflags_saved=$CFLAGS
14590 CFLAGS="$CFLAGS -fexcess-precision=standard"
14591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14592 /* end confdefs.h. */
14593 int main(int argc, char **argv) { return 0; }
14594 _ACEOF
14595 if ac_fn_c_try_link "$LINENO"; then :
14596 ac_cv_cflags__fexcess_precision_standard=yes
14597 else
14598 ac_cv_cflags__fexcess_precision_standard=no
14600 rm -f core conftest.err conftest.$ac_objext \
14601 conftest$ac_exeext conftest.$ac_ext
14602 CFLAGS=$ac_wine_try_cflags_saved
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14605 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14606 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14607 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14610 saved_CFLAGS=$CFLAGS
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14612 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14613 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14614 $as_echo_n "(cached) " >&6
14615 else
14616 ac_wine_try_cflags_saved=$CFLAGS
14617 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14619 /* end confdefs.h. */
14620 int main(int argc, char **argv) { return 0; }
14621 _ACEOF
14622 if ac_fn_c_try_link "$LINENO"; then :
14623 ac_cv_cflags__Werror_unknown_warning_option=yes
14624 else
14625 ac_cv_cflags__Werror_unknown_warning_option=no
14627 rm -f core conftest.err conftest.$ac_objext \
14628 conftest$ac_exeext conftest.$ac_ext
14629 CFLAGS=$ac_wine_try_cflags_saved
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14632 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14633 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14634 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14637 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14638 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14639 $as_echo_n "(cached) " >&6
14640 else
14641 ac_wine_try_cflags_saved=$CFLAGS
14642 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14645 int main(int argc, char **argv) { return 0; }
14646 _ACEOF
14647 if ac_fn_c_try_link "$LINENO"; then :
14648 ac_cv_cflags__Wdeclaration_after_statement=yes
14649 else
14650 ac_cv_cflags__Wdeclaration_after_statement=no
14652 rm -f core conftest.err conftest.$ac_objext \
14653 conftest$ac_exeext conftest.$ac_ext
14654 CFLAGS=$ac_wine_try_cflags_saved
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14657 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14658 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14659 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14662 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14663 if ${ac_cv_cflags__Wempty_body+:} false; then :
14664 $as_echo_n "(cached) " >&6
14665 else
14666 ac_wine_try_cflags_saved=$CFLAGS
14667 CFLAGS="$CFLAGS -Wempty-body"
14668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14669 /* end confdefs.h. */
14670 int main(int argc, char **argv) { return 0; }
14671 _ACEOF
14672 if ac_fn_c_try_link "$LINENO"; then :
14673 ac_cv_cflags__Wempty_body=yes
14674 else
14675 ac_cv_cflags__Wempty_body=no
14677 rm -f core conftest.err conftest.$ac_objext \
14678 conftest$ac_exeext conftest.$ac_ext
14679 CFLAGS=$ac_wine_try_cflags_saved
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14682 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14683 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14684 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14687 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14688 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14689 $as_echo_n "(cached) " >&6
14690 else
14691 ac_wine_try_cflags_saved=$CFLAGS
14692 CFLAGS="$CFLAGS -Wignored-qualifiers"
14693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14694 /* end confdefs.h. */
14695 int main(int argc, char **argv) { return 0; }
14696 _ACEOF
14697 if ac_fn_c_try_link "$LINENO"; then :
14698 ac_cv_cflags__Wignored_qualifiers=yes
14699 else
14700 ac_cv_cflags__Wignored_qualifiers=no
14702 rm -f core conftest.err conftest.$ac_objext \
14703 conftest$ac_exeext conftest.$ac_ext
14704 CFLAGS=$ac_wine_try_cflags_saved
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14707 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14708 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14709 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14712 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14713 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14714 $as_echo_n "(cached) " >&6
14715 else
14716 ac_wine_try_cflags_saved=$CFLAGS
14717 CFLAGS="$CFLAGS -Wshift-overflow=2"
14718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14719 /* end confdefs.h. */
14720 int main(int argc, char **argv) { return 0; }
14721 _ACEOF
14722 if ac_fn_c_try_link "$LINENO"; then :
14723 ac_cv_cflags__Wshift_overflow_2=yes
14724 else
14725 ac_cv_cflags__Wshift_overflow_2=no
14727 rm -f core conftest.err conftest.$ac_objext \
14728 conftest$ac_exeext conftest.$ac_ext
14729 CFLAGS=$ac_wine_try_cflags_saved
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14732 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14733 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14734 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14737 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14738 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14739 $as_echo_n "(cached) " >&6
14740 else
14741 ac_wine_try_cflags_saved=$CFLAGS
14742 CFLAGS="$CFLAGS -Wstrict-prototypes"
14743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14744 /* end confdefs.h. */
14745 int main(int argc, char **argv) { return 0; }
14746 _ACEOF
14747 if ac_fn_c_try_link "$LINENO"; then :
14748 ac_cv_cflags__Wstrict_prototypes=yes
14749 else
14750 ac_cv_cflags__Wstrict_prototypes=no
14752 rm -f core conftest.err conftest.$ac_objext \
14753 conftest$ac_exeext conftest.$ac_ext
14754 CFLAGS=$ac_wine_try_cflags_saved
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14757 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14758 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14759 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14762 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14763 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14764 $as_echo_n "(cached) " >&6
14765 else
14766 ac_wine_try_cflags_saved=$CFLAGS
14767 CFLAGS="$CFLAGS -Wtype-limits"
14768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14769 /* end confdefs.h. */
14770 int main(int argc, char **argv) { return 0; }
14771 _ACEOF
14772 if ac_fn_c_try_link "$LINENO"; then :
14773 ac_cv_cflags__Wtype_limits=yes
14774 else
14775 ac_cv_cflags__Wtype_limits=no
14777 rm -f core conftest.err conftest.$ac_objext \
14778 conftest$ac_exeext conftest.$ac_ext
14779 CFLAGS=$ac_wine_try_cflags_saved
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14782 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14783 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14784 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14787 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14788 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14789 $as_echo_n "(cached) " >&6
14790 else
14791 ac_wine_try_cflags_saved=$CFLAGS
14792 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14794 /* end confdefs.h. */
14795 int main(int argc, char **argv) { return 0; }
14796 _ACEOF
14797 if ac_fn_c_try_link "$LINENO"; then :
14798 ac_cv_cflags__Wunused_but_set_parameter=yes
14799 else
14800 ac_cv_cflags__Wunused_but_set_parameter=no
14802 rm -f core conftest.err conftest.$ac_objext \
14803 conftest$ac_exeext conftest.$ac_ext
14804 CFLAGS=$ac_wine_try_cflags_saved
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14807 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14808 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14809 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14812 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14813 if ${ac_cv_cflags__Wvla+:} false; then :
14814 $as_echo_n "(cached) " >&6
14815 else
14816 ac_wine_try_cflags_saved=$CFLAGS
14817 CFLAGS="$CFLAGS -Wvla"
14818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h. */
14820 int main(int argc, char **argv) { return 0; }
14821 _ACEOF
14822 if ac_fn_c_try_link "$LINENO"; then :
14823 ac_cv_cflags__Wvla=yes
14824 else
14825 ac_cv_cflags__Wvla=no
14827 rm -f core conftest.err conftest.$ac_objext \
14828 conftest$ac_exeext conftest.$ac_ext
14829 CFLAGS=$ac_wine_try_cflags_saved
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14832 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14833 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14834 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14837 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14838 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14839 $as_echo_n "(cached) " >&6
14840 else
14841 ac_wine_try_cflags_saved=$CFLAGS
14842 CFLAGS="$CFLAGS -Wwrite-strings"
14843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14844 /* end confdefs.h. */
14845 int main(int argc, char **argv) { return 0; }
14846 _ACEOF
14847 if ac_fn_c_try_link "$LINENO"; then :
14848 ac_cv_cflags__Wwrite_strings=yes
14849 else
14850 ac_cv_cflags__Wwrite_strings=no
14852 rm -f core conftest.err conftest.$ac_objext \
14853 conftest$ac_exeext conftest.$ac_ext
14854 CFLAGS=$ac_wine_try_cflags_saved
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14857 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14858 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14859 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14863 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14864 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14865 $as_echo_n "(cached) " >&6
14866 else
14867 ac_wine_try_cflags_saved=$CFLAGS
14868 CFLAGS="$CFLAGS -Wpointer-arith"
14869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14870 /* end confdefs.h. */
14871 int main(int argc, char **argv) { return 0; }
14872 _ACEOF
14873 if ac_fn_c_try_link "$LINENO"; then :
14874 ac_cv_cflags__Wpointer_arith=yes
14875 else
14876 ac_cv_cflags__Wpointer_arith=no
14878 rm -f core conftest.err conftest.$ac_objext \
14879 conftest$ac_exeext conftest.$ac_ext
14880 CFLAGS=$ac_wine_try_cflags_saved
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14883 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14884 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14885 saved_string_h_CFLAGS=$CFLAGS
14886 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14888 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14889 if ${ac_cv_c_string_h_warnings+:} false; then :
14890 $as_echo_n "(cached) " >&6
14891 else
14892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14893 /* end confdefs.h. */
14894 #include <string.h>
14896 main ()
14900 return 0;
14902 _ACEOF
14903 if ac_fn_c_try_compile "$LINENO"; then :
14904 ac_cv_c_string_h_warnings=no
14905 else
14906 ac_cv_c_string_h_warnings=yes
14908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14911 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14912 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14913 CFLAGS=$saved_string_h_CFLAGS
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14917 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14918 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14919 $as_echo_n "(cached) " >&6
14920 else
14921 ac_wine_try_cflags_saved=$CFLAGS
14922 CFLAGS="$CFLAGS -Wlogical-op"
14923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14924 /* end confdefs.h. */
14925 int main(int argc, char **argv) { return 0; }
14926 _ACEOF
14927 if ac_fn_c_try_link "$LINENO"; then :
14928 ac_cv_cflags__Wlogical_op=yes
14929 else
14930 ac_cv_cflags__Wlogical_op=no
14932 rm -f core conftest.err conftest.$ac_objext \
14933 conftest$ac_exeext conftest.$ac_ext
14934 CFLAGS=$ac_wine_try_cflags_saved
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14937 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14938 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14939 saved_string_h_CFLAGS=$CFLAGS
14940 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14942 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14943 if ${ac_cv_c_logicalop_noisy+:} false; then :
14944 $as_echo_n "(cached) " >&6
14945 else
14946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14947 /* end confdefs.h. */
14948 #include <string.h>
14949 char*f(const char *h,char n) {return strchr(h,n);}
14951 main ()
14955 return 0;
14957 _ACEOF
14958 if ac_fn_c_try_compile "$LINENO"; then :
14959 ac_cv_c_logicalop_noisy=no
14960 else
14961 ac_cv_c_logicalop_noisy=yes
14963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14966 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14967 CFLAGS=$saved_string_h_CFLAGS
14968 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14971 CFLAGS=$saved_CFLAGS
14973 for ac_flag in $CFLAGS; do
14974 case $ac_flag in
14975 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14976 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14977 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14978 $as_echo_n "(cached) " >&6
14979 else
14980 ac_wine_try_cflags_saved=$CFLAGS
14981 CFLAGS="$CFLAGS -gdwarf-2"
14982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14983 /* end confdefs.h. */
14984 int main(int argc, char **argv) { return 0; }
14985 _ACEOF
14986 if ac_fn_c_try_link "$LINENO"; then :
14987 ac_cv_cflags__gdwarf_2=yes
14988 else
14989 ac_cv_cflags__gdwarf_2=no
14991 rm -f core conftest.err conftest.$ac_objext \
14992 conftest$ac_exeext conftest.$ac_ext
14993 CFLAGS=$ac_wine_try_cflags_saved
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14996 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14997 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14998 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15001 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15002 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15003 $as_echo_n "(cached) " >&6
15004 else
15005 ac_wine_try_cflags_saved=$CFLAGS
15006 CFLAGS="$CFLAGS -gstrict-dwarf"
15007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15008 /* end confdefs.h. */
15009 int main(int argc, char **argv) { return 0; }
15010 _ACEOF
15011 if ac_fn_c_try_link "$LINENO"; then :
15012 ac_cv_cflags__gstrict_dwarf=yes
15013 else
15014 ac_cv_cflags__gstrict_dwarf=no
15016 rm -f core conftest.err conftest.$ac_objext \
15017 conftest$ac_exeext conftest.$ac_ext
15018 CFLAGS=$ac_wine_try_cflags_saved
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15021 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15022 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15023 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15024 fi ;;
15025 esac
15026 done
15028 case $host_cpu in
15029 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15030 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15031 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15032 $as_echo_n "(cached) " >&6
15033 else
15034 ac_wine_try_cflags_saved=$CFLAGS
15035 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15037 /* end confdefs.h. */
15038 int main(int argc, char **argv) { return 0; }
15039 _ACEOF
15040 if ac_fn_c_try_link "$LINENO"; then :
15041 ac_cv_cflags__fno_omit_frame_pointer=yes
15042 else
15043 ac_cv_cflags__fno_omit_frame_pointer=no
15045 rm -f core conftest.err conftest.$ac_objext \
15046 conftest$ac_exeext conftest.$ac_ext
15047 CFLAGS=$ac_wine_try_cflags_saved
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15050 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15051 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15052 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15053 fi ;;
15054 esac
15056 case $host in
15057 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15058 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15059 if ${ac_cv_cflags__Wno_format+:} false; then :
15060 $as_echo_n "(cached) " >&6
15061 else
15062 ac_wine_try_cflags_saved=$CFLAGS
15063 CFLAGS="$CFLAGS -Wno-format"
15064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15065 /* end confdefs.h. */
15066 int main(int argc, char **argv) { return 0; }
15067 _ACEOF
15068 if ac_fn_c_try_link "$LINENO"; then :
15069 ac_cv_cflags__Wno_format=yes
15070 else
15071 ac_cv_cflags__Wno_format=no
15073 rm -f core conftest.err conftest.$ac_objext \
15074 conftest$ac_exeext conftest.$ac_ext
15075 CFLAGS=$ac_wine_try_cflags_saved
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15078 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15079 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15080 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15081 fi ;;
15082 esac
15084 if test "x$enable_maintainer_mode" = "xyes"
15085 then
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15087 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15088 if ${ac_cv_cflags__Werror+:} false; then :
15089 $as_echo_n "(cached) " >&6
15090 else
15091 ac_wine_try_cflags_saved=$CFLAGS
15092 CFLAGS="$CFLAGS -Werror"
15093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15095 int main(int argc, char **argv) { return 0; }
15096 _ACEOF
15097 if ac_fn_c_try_link "$LINENO"; then :
15098 ac_cv_cflags__Werror=yes
15099 else
15100 ac_cv_cflags__Werror=no
15102 rm -f core conftest.err conftest.$ac_objext \
15103 conftest$ac_exeext conftest.$ac_ext
15104 CFLAGS=$ac_wine_try_cflags_saved
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15107 $as_echo "$ac_cv_cflags__Werror" >&6; }
15108 if test "x$ac_cv_cflags__Werror" = xyes; then :
15109 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15113 saved_CFLAGS="$CFLAGS"
15114 CFLAGS="$CFLAGS -Werror"
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15116 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15117 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15118 $as_echo_n "(cached) " >&6
15119 else
15120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h. */
15122 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15124 main ()
15128 return 0;
15130 _ACEOF
15131 if ac_fn_c_try_compile "$LINENO"; then :
15132 ac_cv_have_ms_hook_prologue="yes"
15133 else
15134 ac_cv_have_ms_hook_prologue="no"
15136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15139 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15140 CFLAGS="$saved_CFLAGS"
15141 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15142 then
15144 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15146 else
15147 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15154 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15155 if ${ac_cv_c_fortify_enabled+:} false; then :
15156 $as_echo_n "(cached) " >&6
15157 else
15158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15159 /* end confdefs.h. */
15160 #include <string.h>
15162 main ()
15164 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15165 #error Fortify enabled
15166 #endif
15168 return 0;
15170 _ACEOF
15171 if ac_fn_c_try_compile "$LINENO"; then :
15172 ac_cv_c_fortify_enabled=no
15173 else
15174 ac_cv_c_fortify_enabled=yes
15176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15179 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15180 if test "$ac_cv_c_fortify_enabled" = yes
15181 then
15182 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15187 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15188 if ${ac_cv_c_extern_prefix+:} false; then :
15189 $as_echo_n "(cached) " >&6
15190 else
15191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15192 /* end confdefs.h. */
15193 extern int ac_test;
15195 main ()
15197 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15199 return 0;
15201 _ACEOF
15202 if ac_fn_c_try_link "$LINENO"; then :
15203 ac_cv_c_extern_prefix="yes"
15204 else
15205 ac_cv_c_extern_prefix="no"
15207 rm -f core conftest.err conftest.$ac_objext \
15208 conftest$ac_exeext conftest.$ac_ext
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15211 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15213 case $host_cpu in
15214 *i[3456789]86*)
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15216 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15217 if ${ac_cv_c_stdcall_suffix+:} false; then :
15218 $as_echo_n "(cached) " >&6
15219 else
15220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15222 #ifndef _MSC_VER
15223 #define __stdcall __attribute__((__stdcall__))
15224 #endif
15225 int __stdcall ac_test(int i) { return i; }
15227 main ()
15229 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15231 return 0;
15233 _ACEOF
15234 if ac_fn_c_try_link "$LINENO"; then :
15235 ac_cv_c_stdcall_suffix="yes"
15236 else
15237 ac_cv_c_stdcall_suffix="no"
15239 rm -f core conftest.err conftest.$ac_objext \
15240 conftest$ac_exeext conftest.$ac_ext
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15243 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15244 *) ac_cv_c_stdcall_suffix="no" ;;
15245 esac
15248 if test "$ac_cv_c_extern_prefix" = "yes"
15249 then
15250 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15252 asm_name_prefix="_"
15253 else
15254 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15256 asm_name_prefix=""
15260 if test "$ac_cv_c_stdcall_suffix" = "yes"
15261 then
15262 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15264 else
15265 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15271 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15272 if ${ac_cv_asm_func_def+:} false; then :
15273 $as_echo_n "(cached) " >&6
15274 else
15275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h. */
15279 main ()
15281 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15283 return 0;
15285 _ACEOF
15286 if ac_fn_c_try_link "$LINENO"; then :
15287 ac_cv_asm_func_def=".def"
15288 else
15289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15290 /* end confdefs.h. */
15293 main ()
15295 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15297 return 0;
15299 _ACEOF
15300 if ac_fn_c_try_link "$LINENO"; then :
15301 ac_cv_asm_func_def=".type @function"
15302 else
15303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15304 /* end confdefs.h. */
15307 main ()
15309 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15311 return 0;
15313 _ACEOF
15314 if ac_fn_c_try_link "$LINENO"; then :
15315 ac_cv_asm_func_def=".type 2"
15316 else
15317 ac_cv_asm_func_def="unknown"
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 rm -f core conftest.err conftest.$ac_objext \
15326 conftest$ac_exeext conftest.$ac_ext
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15329 $as_echo "$ac_cv_asm_func_def" >&6; }
15332 case "$ac_cv_asm_func_def" in
15333 ".def")
15334 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15336 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15337 ".type @function")
15338 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15340 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15341 ".type 2")
15342 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15344 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15346 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15348 asm_func_header="" ;;
15349 esac
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15352 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15353 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15354 $as_echo_n "(cached) " >&6
15355 else
15356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15357 /* end confdefs.h. */
15358 asm(".text\n\t.long 0");
15360 main ()
15364 return 0;
15366 _ACEOF
15367 if ac_fn_c_try_compile "$LINENO"; then :
15368 ac_cv_c_asm_outside_funcs="yes"
15369 else
15370 ac_cv_c_asm_outside_funcs="no"
15372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15375 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15378 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15379 if ${ac_cv_c_dot_previous+:} false; then :
15380 $as_echo_n "(cached) " >&6
15381 else
15382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15383 /* end confdefs.h. */
15386 main ()
15388 asm(".text\nac_test:\t.long 0\n\t.previous");
15390 return 0;
15392 _ACEOF
15393 if ac_fn_c_try_link "$LINENO"; then :
15394 ac_cv_c_dot_previous="yes"
15395 else
15396 ac_cv_c_dot_previous="no"
15398 rm -f core conftest.err conftest.$ac_objext \
15399 conftest$ac_exeext conftest.$ac_ext
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15402 $as_echo "$ac_cv_c_dot_previous" >&6; }
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15405 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15406 if ${ac_cv_c_cfi_support+:} false; then :
15407 $as_echo_n "(cached) " >&6
15408 else
15409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15410 /* end confdefs.h. */
15411 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15413 main ()
15417 return 0;
15419 _ACEOF
15420 if ac_fn_c_try_compile "$LINENO"; then :
15421 ac_cv_c_cfi_support="yes"
15422 else
15423 ac_cv_c_cfi_support="no"
15425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15428 $as_echo "$ac_cv_c_cfi_support" >&6; }
15430 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15431 asm_func_trailer=""
15432 if test "$ac_cv_c_dot_previous" = "yes"
15433 then
15434 asm_func_trailer="\\n\\t.previous"
15436 if test "$ac_cv_c_cfi_support" = "yes"
15437 then
15438 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15439 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15441 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15443 UNWINDFLAGS=-fasynchronous-unwind-tables
15445 else
15446 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15448 if test "x$enable_win64" = "xyes"
15449 then
15450 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15454 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15457 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15458 then
15459 cat >>confdefs.h <<_ACEOF
15460 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15461 _ACEOF
15463 else
15464 cat >>confdefs.h <<_ACEOF
15465 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15466 _ACEOF
15470 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15473 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15477 case $build_os in
15478 cygwin*|mingw32*) TOOLSEXT=".exe"
15480 esac
15482 case $host_os in
15483 linux*)
15484 case $host_cpu in
15485 *i[3456789]86*|x86_64*)
15486 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15487 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15489 esac
15491 esac
15494 ac_save_CFLAGS="$CFLAGS"
15495 CFLAGS="$CFLAGS $BUILTINFLAG"
15496 for ac_func in \
15497 __res_get_state \
15498 __res_getservers \
15499 _finite \
15500 _isnan \
15501 _pclose \
15502 _popen \
15503 _snprintf \
15504 _spawnvp \
15505 _strdup \
15506 _stricmp \
15507 _strnicmp \
15508 _strtoi64 \
15509 _strtoui64 \
15510 _vsnprintf \
15511 asctime_r \
15512 chsize \
15513 dlopen \
15514 epoll_create \
15515 ffs \
15516 finitef \
15517 fnmatch \
15518 fork \
15519 fpclass \
15520 fstatfs \
15521 fstatvfs \
15522 ftruncate \
15523 futimens \
15524 futimes \
15525 futimesat \
15526 getattrlist \
15527 getauxval \
15528 getifaddrs \
15529 getopt_long_only \
15530 getpwuid \
15531 gettimeofday \
15532 getuid \
15533 isnanf \
15534 kqueue \
15535 lstat \
15536 memmove \
15537 mmap \
15538 pclose \
15539 pipe2 \
15540 poll \
15541 popen \
15542 port_create \
15543 prctl \
15544 pread \
15545 proc_pidinfo \
15546 pwrite \
15547 readdir \
15548 readlink \
15549 sched_yield \
15550 select \
15551 setproctitle \
15552 setprogname \
15553 setrlimit \
15554 settimeofday \
15555 sigaltstack \
15556 sigprocmask \
15557 snprintf \
15558 statfs \
15559 statvfs \
15560 strcasecmp \
15561 strdup \
15562 strerror \
15563 strncasecmp \
15564 strtold \
15565 strtoll \
15566 strtoull \
15567 symlink \
15568 sysinfo \
15569 tcdrain \
15570 thr_kill2 \
15571 timegm \
15572 usleep \
15573 vsnprintf
15575 do :
15576 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15577 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15578 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15579 cat >>confdefs.h <<_ACEOF
15580 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15581 _ACEOF
15584 done
15586 CFLAGS="$ac_save_CFLAGS"
15588 if test "$ac_cv_func_dlopen" = no
15589 then
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15591 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15592 if ${ac_cv_lib_dl_dlopen+:} false; then :
15593 $as_echo_n "(cached) " >&6
15594 else
15595 ac_check_lib_save_LIBS=$LIBS
15596 LIBS="-ldl $LIBS"
15597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15598 /* end confdefs.h. */
15600 /* Override any GCC internal prototype to avoid an error.
15601 Use char because int might match the return type of a GCC
15602 builtin and then its argument prototype would still apply. */
15603 #ifdef __cplusplus
15604 extern "C"
15605 #endif
15606 char dlopen ();
15608 main ()
15610 return dlopen ();
15612 return 0;
15614 _ACEOF
15615 if ac_fn_c_try_link "$LINENO"; then :
15616 ac_cv_lib_dl_dlopen=yes
15617 else
15618 ac_cv_lib_dl_dlopen=no
15620 rm -f core conftest.err conftest.$ac_objext \
15621 conftest$ac_exeext conftest.$ac_ext
15622 LIBS=$ac_check_lib_save_LIBS
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15625 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15626 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15627 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15628 DL_LIBS="-ldl"
15633 ac_wine_check_funcs_save_LIBS="$LIBS"
15634 LIBS="$LIBS $DL_LIBS"
15635 for ac_func in dladdr
15636 do :
15637 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15638 if test "x$ac_cv_func_dladdr" = xyes; then :
15639 cat >>confdefs.h <<_ACEOF
15640 #define HAVE_DLADDR 1
15641 _ACEOF
15644 done
15646 LIBS="$ac_wine_check_funcs_save_LIBS"
15648 if test "$ac_cv_func_poll" = no
15649 then
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15651 $as_echo_n "checking for poll in -lpoll... " >&6; }
15652 if ${ac_cv_lib_poll_poll+:} false; then :
15653 $as_echo_n "(cached) " >&6
15654 else
15655 ac_check_lib_save_LIBS=$LIBS
15656 LIBS="-lpoll $LIBS"
15657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15658 /* end confdefs.h. */
15660 /* Override any GCC internal prototype to avoid an error.
15661 Use char because int might match the return type of a GCC
15662 builtin and then its argument prototype would still apply. */
15663 #ifdef __cplusplus
15664 extern "C"
15665 #endif
15666 char poll ();
15668 main ()
15670 return poll ();
15672 return 0;
15674 _ACEOF
15675 if ac_fn_c_try_link "$LINENO"; then :
15676 ac_cv_lib_poll_poll=yes
15677 else
15678 ac_cv_lib_poll_poll=no
15680 rm -f core conftest.err conftest.$ac_objext \
15681 conftest$ac_exeext conftest.$ac_ext
15682 LIBS=$ac_check_lib_save_LIBS
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15685 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15686 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15687 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15688 POLL_LIBS="-lpoll"
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15695 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15696 if ${ac_cv_search_gethostbyname+:} false; then :
15697 $as_echo_n "(cached) " >&6
15698 else
15699 ac_func_search_save_LIBS=$LIBS
15700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15701 /* end confdefs.h. */
15703 /* Override any GCC internal prototype to avoid an error.
15704 Use char because int might match the return type of a GCC
15705 builtin and then its argument prototype would still apply. */
15706 #ifdef __cplusplus
15707 extern "C"
15708 #endif
15709 char gethostbyname ();
15711 main ()
15713 return gethostbyname ();
15715 return 0;
15717 _ACEOF
15718 for ac_lib in '' nsl; do
15719 if test -z "$ac_lib"; then
15720 ac_res="none required"
15721 else
15722 ac_res=-l$ac_lib
15723 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15725 if ac_fn_c_try_link "$LINENO"; then :
15726 ac_cv_search_gethostbyname=$ac_res
15728 rm -f core conftest.err conftest.$ac_objext \
15729 conftest$ac_exeext
15730 if ${ac_cv_search_gethostbyname+:} false; then :
15731 break
15733 done
15734 if ${ac_cv_search_gethostbyname+:} false; then :
15736 else
15737 ac_cv_search_gethostbyname=no
15739 rm conftest.$ac_ext
15740 LIBS=$ac_func_search_save_LIBS
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15743 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15744 ac_res=$ac_cv_search_gethostbyname
15745 if test "$ac_res" != no; then :
15746 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15752 $as_echo_n "checking for library containing connect... " >&6; }
15753 if ${ac_cv_search_connect+:} false; then :
15754 $as_echo_n "(cached) " >&6
15755 else
15756 ac_func_search_save_LIBS=$LIBS
15757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15758 /* end confdefs.h. */
15760 /* Override any GCC internal prototype to avoid an error.
15761 Use char because int might match the return type of a GCC
15762 builtin and then its argument prototype would still apply. */
15763 #ifdef __cplusplus
15764 extern "C"
15765 #endif
15766 char connect ();
15768 main ()
15770 return connect ();
15772 return 0;
15774 _ACEOF
15775 for ac_lib in '' socket; do
15776 if test -z "$ac_lib"; then
15777 ac_res="none required"
15778 else
15779 ac_res=-l$ac_lib
15780 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15782 if ac_fn_c_try_link "$LINENO"; then :
15783 ac_cv_search_connect=$ac_res
15785 rm -f core conftest.err conftest.$ac_objext \
15786 conftest$ac_exeext
15787 if ${ac_cv_search_connect+:} false; then :
15788 break
15790 done
15791 if ${ac_cv_search_connect+:} false; then :
15793 else
15794 ac_cv_search_connect=no
15796 rm conftest.$ac_ext
15797 LIBS=$ac_func_search_save_LIBS
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15800 $as_echo "$ac_cv_search_connect" >&6; }
15801 ac_res=$ac_cv_search_connect
15802 if test "$ac_res" != no; then :
15803 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15809 $as_echo_n "checking for library containing inet_aton... " >&6; }
15810 if ${ac_cv_search_inet_aton+:} false; then :
15811 $as_echo_n "(cached) " >&6
15812 else
15813 ac_func_search_save_LIBS=$LIBS
15814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15815 /* end confdefs.h. */
15817 /* Override any GCC internal prototype to avoid an error.
15818 Use char because int might match the return type of a GCC
15819 builtin and then its argument prototype would still apply. */
15820 #ifdef __cplusplus
15821 extern "C"
15822 #endif
15823 char inet_aton ();
15825 main ()
15827 return inet_aton ();
15829 return 0;
15831 _ACEOF
15832 for ac_lib in '' resolv; do
15833 if test -z "$ac_lib"; then
15834 ac_res="none required"
15835 else
15836 ac_res=-l$ac_lib
15837 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15839 if ac_fn_c_try_link "$LINENO"; then :
15840 ac_cv_search_inet_aton=$ac_res
15842 rm -f core conftest.err conftest.$ac_objext \
15843 conftest$ac_exeext
15844 if ${ac_cv_search_inet_aton+:} false; then :
15845 break
15847 done
15848 if ${ac_cv_search_inet_aton+:} false; then :
15850 else
15851 ac_cv_search_inet_aton=no
15853 rm conftest.$ac_ext
15854 LIBS=$ac_func_search_save_LIBS
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15857 $as_echo "$ac_cv_search_inet_aton" >&6; }
15858 ac_res=$ac_cv_search_inet_aton
15859 if test "$ac_res" != no; then :
15860 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15865 for ac_func in \
15866 getaddrinfo \
15867 getnameinfo \
15868 getnetbyname \
15869 getprotobyname \
15870 getprotobynumber \
15871 getservbyport \
15872 inet_addr \
15873 inet_network \
15874 inet_ntop \
15875 inet_pton \
15876 sendmsg \
15877 socketpair \
15879 do :
15880 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15881 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15882 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15883 cat >>confdefs.h <<_ACEOF
15884 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15885 _ACEOF
15888 done
15891 ac_save_LIBS=$LIBS
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15893 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15894 if ${ac_cv_search_clock_gettime+:} false; then :
15895 $as_echo_n "(cached) " >&6
15896 else
15897 ac_func_search_save_LIBS=$LIBS
15898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15899 /* end confdefs.h. */
15901 /* Override any GCC internal prototype to avoid an error.
15902 Use char because int might match the return type of a GCC
15903 builtin and then its argument prototype would still apply. */
15904 #ifdef __cplusplus
15905 extern "C"
15906 #endif
15907 char clock_gettime ();
15909 main ()
15911 return clock_gettime ();
15913 return 0;
15915 _ACEOF
15916 for ac_lib in '' rt; do
15917 if test -z "$ac_lib"; then
15918 ac_res="none required"
15919 else
15920 ac_res=-l$ac_lib
15921 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15923 if ac_fn_c_try_link "$LINENO"; then :
15924 ac_cv_search_clock_gettime=$ac_res
15926 rm -f core conftest.err conftest.$ac_objext \
15927 conftest$ac_exeext
15928 if ${ac_cv_search_clock_gettime+:} false; then :
15929 break
15931 done
15932 if ${ac_cv_search_clock_gettime+:} false; then :
15934 else
15935 ac_cv_search_clock_gettime=no
15937 rm conftest.$ac_ext
15938 LIBS=$ac_func_search_save_LIBS
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15941 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15942 ac_res=$ac_cv_search_clock_gettime
15943 if test "$ac_res" != no; then :
15944 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15946 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15948 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15952 LIBS=$ac_save_LIBS
15954 LDAP_LIBS=""
15956 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15957 then
15958 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15960 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15962 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15963 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15964 $as_echo_n "(cached) " >&6
15965 else
15966 ac_check_lib_save_LIBS=$LIBS
15967 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15969 /* end confdefs.h. */
15971 /* Override any GCC internal prototype to avoid an error.
15972 Use char because int might match the return type of a GCC
15973 builtin and then its argument prototype would still apply. */
15974 #ifdef __cplusplus
15975 extern "C"
15976 #endif
15977 char ldap_initialize ();
15979 main ()
15981 return ldap_initialize ();
15983 return 0;
15985 _ACEOF
15986 if ac_fn_c_try_link "$LINENO"; then :
15987 ac_cv_lib_ldap_r_ldap_initialize=yes
15988 else
15989 ac_cv_lib_ldap_r_ldap_initialize=no
15991 rm -f core conftest.err conftest.$ac_objext \
15992 conftest$ac_exeext conftest.$ac_ext
15993 LIBS=$ac_check_lib_save_LIBS
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15996 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15997 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15999 $as_echo_n "checking for ber_init in -llber... " >&6; }
16000 if ${ac_cv_lib_lber_ber_init+:} false; then :
16001 $as_echo_n "(cached) " >&6
16002 else
16003 ac_check_lib_save_LIBS=$LIBS
16004 LIBS="-llber $PTHREAD_LIBS $LIBS"
16005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16006 /* end confdefs.h. */
16008 /* Override any GCC internal prototype to avoid an error.
16009 Use char because int might match the return type of a GCC
16010 builtin and then its argument prototype would still apply. */
16011 #ifdef __cplusplus
16012 extern "C"
16013 #endif
16014 char ber_init ();
16016 main ()
16018 return ber_init ();
16020 return 0;
16022 _ACEOF
16023 if ac_fn_c_try_link "$LINENO"; then :
16024 ac_cv_lib_lber_ber_init=yes
16025 else
16026 ac_cv_lib_lber_ber_init=no
16028 rm -f core conftest.err conftest.$ac_objext \
16029 conftest$ac_exeext conftest.$ac_ext
16030 LIBS=$ac_check_lib_save_LIBS
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16033 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16034 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16036 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16038 LDAP_LIBS="-lldap_r -llber"
16045 ac_wine_check_funcs_save_LIBS="$LIBS"
16046 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16047 for ac_func in \
16048 ldap_count_references \
16049 ldap_first_reference \
16050 ldap_next_reference \
16051 ldap_parse_reference \
16052 ldap_parse_sort_control \
16053 ldap_parse_sortresponse_control \
16054 ldap_parse_vlv_control \
16055 ldap_parse_vlvresponse_control
16056 do :
16057 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16058 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16059 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16060 cat >>confdefs.h <<_ACEOF
16061 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16062 _ACEOF
16065 done
16067 LIBS="$ac_wine_check_funcs_save_LIBS"
16069 if test "x$LDAP_LIBS" = "x"; then :
16070 case "x$with_ldap" in
16071 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16072 xno) ;;
16073 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16074 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16075 esac
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16080 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16081 if ${wine_cv_one_arg_mkdir+:} false; then :
16082 $as_echo_n "(cached) " >&6
16083 else
16084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16085 /* end confdefs.h. */
16086 #include <sys/stat.h>
16088 main ()
16090 mkdir("foo");
16092 return 0;
16094 _ACEOF
16095 if ac_fn_c_try_compile "$LINENO"; then :
16096 wine_cv_one_arg_mkdir=yes
16097 else
16098 wine_cv_one_arg_mkdir=no
16100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16103 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16104 if test "$wine_cv_one_arg_mkdir" = "yes"
16105 then
16107 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16112 $as_echo_n "checking for sched_setaffinity... " >&6; }
16113 if ${wine_cv_have_sched_setaffinity+:} false; then :
16114 $as_echo_n "(cached) " >&6
16115 else
16116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16117 /* end confdefs.h. */
16118 #define _GNU_SOURCE
16119 #include <sched.h>
16121 main ()
16123 sched_setaffinity(0, 0, 0);
16125 return 0;
16127 _ACEOF
16128 if ac_fn_c_try_link "$LINENO"; then :
16129 wine_cv_have_sched_setaffinity=yes
16130 else
16131 wine_cv_have_sched_setaffinity=no
16133 rm -f core conftest.err conftest.$ac_objext \
16134 conftest$ac_exeext conftest.$ac_ext
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16137 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16138 if test "$wine_cv_have_sched_setaffinity" = "yes"
16139 then
16141 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16146 $as_echo_n "checking for fallocate... " >&6; }
16147 if ${wine_cv_have_fallocate+:} false; then :
16148 $as_echo_n "(cached) " >&6
16149 else
16150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16151 /* end confdefs.h. */
16152 #define _GNU_SOURCE
16153 #include <fcntl.h>
16155 main ()
16157 fallocate(-1, 0, 0, 0);
16159 return 0;
16161 _ACEOF
16162 if ac_fn_c_try_link "$LINENO"; then :
16163 wine_cv_have_fallocate=yes
16164 else
16165 wine_cv_have_fallocate=no
16167 rm -f core conftest.err conftest.$ac_objext \
16168 conftest$ac_exeext conftest.$ac_ext
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16171 $as_echo "$wine_cv_have_fallocate" >&6; }
16172 if test "$wine_cv_have_fallocate" = "yes"
16173 then
16175 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16181 $as_echo_n "checking for inline... " >&6; }
16182 if ${ac_cv_c_inline+:} false; then :
16183 $as_echo_n "(cached) " >&6
16184 else
16185 ac_cv_c_inline=no
16186 for ac_kw in inline __inline__ __inline; do
16187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16188 /* end confdefs.h. */
16189 #ifndef __cplusplus
16190 typedef int foo_t;
16191 static $ac_kw foo_t static_foo () {return 0; }
16192 $ac_kw foo_t foo () {return 0; }
16193 #endif
16195 _ACEOF
16196 if ac_fn_c_try_compile "$LINENO"; then :
16197 ac_cv_c_inline=$ac_kw
16199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16200 test "$ac_cv_c_inline" != no && break
16201 done
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16205 $as_echo "$ac_cv_c_inline" >&6; }
16207 case $ac_cv_c_inline in
16208 inline | yes) ;;
16210 case $ac_cv_c_inline in
16211 no) ac_val=;;
16212 *) ac_val=$ac_cv_c_inline;;
16213 esac
16214 cat >>confdefs.h <<_ACEOF
16215 #ifndef __cplusplus
16216 #define inline $ac_val
16217 #endif
16218 _ACEOF
16220 esac
16222 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16223 if test "x$ac_cv_type_mode_t" = xyes; then :
16225 cat >>confdefs.h <<_ACEOF
16226 #define HAVE_MODE_T 1
16227 _ACEOF
16231 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16232 if test "x$ac_cv_type_off_t" = xyes; then :
16234 cat >>confdefs.h <<_ACEOF
16235 #define HAVE_OFF_T 1
16236 _ACEOF
16240 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16241 if test "x$ac_cv_type_pid_t" = xyes; then :
16243 cat >>confdefs.h <<_ACEOF
16244 #define HAVE_PID_T 1
16245 _ACEOF
16249 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16250 if test "x$ac_cv_type_size_t" = xyes; then :
16252 cat >>confdefs.h <<_ACEOF
16253 #define HAVE_SIZE_T 1
16254 _ACEOF
16258 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16259 if test "x$ac_cv_type_ssize_t" = xyes; then :
16261 cat >>confdefs.h <<_ACEOF
16262 #define HAVE_SSIZE_T 1
16263 _ACEOF
16267 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16268 if test "x$ac_cv_type_long_long" = xyes; then :
16270 cat >>confdefs.h <<_ACEOF
16271 #define HAVE_LONG_LONG 1
16272 _ACEOF
16276 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16277 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16279 cat >>confdefs.h <<_ACEOF
16280 #define HAVE_FSBLKCNT_T 1
16281 _ACEOF
16285 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16286 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16288 cat >>confdefs.h <<_ACEOF
16289 #define HAVE_FSFILCNT_T 1
16290 _ACEOF
16295 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16296 #include <signal.h>
16298 if test "x$ac_cv_type_sigset_t" = xyes; then :
16300 cat >>confdefs.h <<_ACEOF
16301 #define HAVE_SIGSET_T 1
16302 _ACEOF
16307 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16309 if test "x$ac_cv_type_request_sense" = xyes; then :
16311 cat >>confdefs.h <<_ACEOF
16312 #define HAVE_REQUEST_SENSE 1
16313 _ACEOF
16319 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16320 #ifdef HAVE_SYS_SOCKET_H
16321 #include <sys/socket.h>
16322 #endif
16323 #ifdef HAVE_SYS_SOCKETVAR_H
16324 #include <sys/socketvar.h>
16325 #endif
16326 #ifdef HAVE_NET_ROUTE_H
16327 #include <net/route.h>
16328 #endif
16329 #ifdef HAVE_NETINET_IN_H
16330 #include <netinet/in.h>
16331 #endif
16332 #ifdef HAVE_NETINET_IN_SYSTM_H
16333 #include <netinet/in_systm.h>
16334 #endif
16335 #ifdef HAVE_NETINET_IP_H
16336 #include <netinet/ip.h>
16337 #endif
16338 #ifdef HAVE_NETINET_IN_PCB_H
16339 #include <netinet/in_pcb.h>
16340 #endif
16342 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16344 cat >>confdefs.h <<_ACEOF
16345 #define HAVE_STRUCT_XINPGEN 1
16346 _ACEOF
16352 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16353 #include <link.h>
16354 #endif
16355 #ifdef HAVE_SYS_LINK_H
16356 #include <sys/link.h>
16357 #endif
16359 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16361 cat >>confdefs.h <<_ACEOF
16362 #define HAVE_STRUCT_R_DEBUG 1
16363 _ACEOF
16367 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16368 #include <link.h>
16369 #endif
16370 #ifdef HAVE_SYS_LINK_H
16371 #include <sys/link.h>
16372 #endif
16374 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_STRUCT_LINK_MAP 1
16378 _ACEOF
16384 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16385 #include <linux/input.h>
16386 #endif
16388 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16390 cat >>confdefs.h <<_ACEOF
16391 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16392 _ACEOF
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16399 $as_echo_n "checking for if_nameindex... " >&6; }
16400 if ${wine_cv_have_if_nameindex+:} false; then :
16401 $as_echo_n "(cached) " >&6
16402 else
16403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16404 /* end confdefs.h. */
16405 #ifdef HAVE_SYS_TYPES_H
16406 #include <sys/types.h>
16407 #endif
16408 #ifdef HAVE_NET_IF_H
16409 # include <net/if.h>
16410 #endif
16412 main ()
16414 struct if_nameindex *p = if_nameindex(); return p->if_index;
16416 return 0;
16418 _ACEOF
16419 if ac_fn_c_try_link "$LINENO"; then :
16420 wine_cv_have_if_nameindex=yes
16421 else
16422 wine_cv_have_if_nameindex=no
16424 rm -f core conftest.err conftest.$ac_objext \
16425 conftest$ac_exeext conftest.$ac_ext
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16428 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16429 if test "$wine_cv_have_if_nameindex" = "yes"
16430 then
16432 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16437 $as_echo_n "checking for sigaddset... " >&6; }
16438 if ${wine_cv_have_sigaddset+:} false; then :
16439 $as_echo_n "(cached) " >&6
16440 else
16441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16442 /* end confdefs.h. */
16443 #include <signal.h>
16445 main ()
16447 sigset_t set; sigaddset(&set,SIGTERM);
16449 return 0;
16451 _ACEOF
16452 if ac_fn_c_try_link "$LINENO"; then :
16453 wine_cv_have_sigaddset=yes
16454 else
16455 wine_cv_have_sigaddset=no
16457 rm -f core conftest.err conftest.$ac_objext \
16458 conftest$ac_exeext conftest.$ac_ext
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16461 $as_echo "$wine_cv_have_sigaddset" >&6; }
16462 if test "$wine_cv_have_sigaddset" = "yes"
16463 then
16465 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16471 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16472 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16473 $as_echo_n "(cached) " >&6
16474 else
16475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16476 /* end confdefs.h. */
16477 #include <netdb.h>
16479 main ()
16482 char *name=0;
16483 struct hostent he;
16484 struct hostent *result;
16485 char *buf=0;
16486 int bufsize=0;
16487 int errnr;
16488 char *addr=0;
16489 int addrlen=0;
16490 int addrtype=0;
16491 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16492 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16495 return 0;
16497 _ACEOF
16498 if ac_fn_c_try_link "$LINENO"; then :
16499 wine_cv_linux_gethostbyname_r_6=yes
16500 else
16501 wine_cv_linux_gethostbyname_r_6=no
16504 rm -f core conftest.err conftest.$ac_objext \
16505 conftest$ac_exeext conftest.$ac_ext
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16509 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16510 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16511 then
16513 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16517 if test "$ac_cv_header_linux_joystick_h" = "yes"
16518 then
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16520 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16521 if ${wine_cv_linux_joystick_22_api+:} false; then :
16522 $as_echo_n "(cached) " >&6
16523 else
16524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16525 /* end confdefs.h. */
16527 #include <sys/ioctl.h>
16528 #include <sys/types.h>
16529 #include <linux/joystick.h>
16531 struct js_event blub;
16532 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16533 #error "no 2.2 header"
16534 #endif
16537 main ()
16539 /*empty*/
16541 return 0;
16543 _ACEOF
16544 if ac_fn_c_try_compile "$LINENO"; then :
16545 wine_cv_linux_joystick_22_api=yes
16546 else
16547 wine_cv_linux_joystick_22_api=no
16549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16553 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16554 if test "$wine_cv_linux_joystick_22_api" = "yes"
16555 then
16557 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16563 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16564 #ifdef HAVE_SYS_PARAM_H
16565 # include <sys/param.h>
16566 #endif
16567 #ifdef HAVE_SYS_MOUNT_H
16568 # include <sys/mount.h>
16569 #endif
16570 #ifdef HAVE_SYS_VFS_H
16571 # include <sys/vfs.h>
16572 #endif
16573 #ifdef HAVE_SYS_STATFS_H
16574 # include <sys/statfs.h>
16575 #endif
16577 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16579 cat >>confdefs.h <<_ACEOF
16580 #define HAVE_STRUCT_STATFS_F_BFREE 1
16581 _ACEOF
16585 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16586 #ifdef HAVE_SYS_PARAM_H
16587 # include <sys/param.h>
16588 #endif
16589 #ifdef HAVE_SYS_MOUNT_H
16590 # include <sys/mount.h>
16591 #endif
16592 #ifdef HAVE_SYS_VFS_H
16593 # include <sys/vfs.h>
16594 #endif
16595 #ifdef HAVE_SYS_STATFS_H
16596 # include <sys/statfs.h>
16597 #endif
16599 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16601 cat >>confdefs.h <<_ACEOF
16602 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16603 _ACEOF
16607 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16608 #ifdef HAVE_SYS_PARAM_H
16609 # include <sys/param.h>
16610 #endif
16611 #ifdef HAVE_SYS_MOUNT_H
16612 # include <sys/mount.h>
16613 #endif
16614 #ifdef HAVE_SYS_VFS_H
16615 # include <sys/vfs.h>
16616 #endif
16617 #ifdef HAVE_SYS_STATFS_H
16618 # include <sys/statfs.h>
16619 #endif
16621 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16623 cat >>confdefs.h <<_ACEOF
16624 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16625 _ACEOF
16629 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16630 #ifdef HAVE_SYS_PARAM_H
16631 # include <sys/param.h>
16632 #endif
16633 #ifdef HAVE_SYS_MOUNT_H
16634 # include <sys/mount.h>
16635 #endif
16636 #ifdef HAVE_SYS_VFS_H
16637 # include <sys/vfs.h>
16638 #endif
16639 #ifdef HAVE_SYS_STATFS_H
16640 # include <sys/statfs.h>
16641 #endif
16643 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16645 cat >>confdefs.h <<_ACEOF
16646 #define HAVE_STRUCT_STATFS_F_FFREE 1
16647 _ACEOF
16651 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16652 #ifdef HAVE_SYS_PARAM_H
16653 # include <sys/param.h>
16654 #endif
16655 #ifdef HAVE_SYS_MOUNT_H
16656 # include <sys/mount.h>
16657 #endif
16658 #ifdef HAVE_SYS_VFS_H
16659 # include <sys/vfs.h>
16660 #endif
16661 #ifdef HAVE_SYS_STATFS_H
16662 # include <sys/statfs.h>
16663 #endif
16665 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16667 cat >>confdefs.h <<_ACEOF
16668 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16669 _ACEOF
16673 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16674 #ifdef HAVE_SYS_PARAM_H
16675 # include <sys/param.h>
16676 #endif
16677 #ifdef HAVE_SYS_MOUNT_H
16678 # include <sys/mount.h>
16679 #endif
16680 #ifdef HAVE_SYS_VFS_H
16681 # include <sys/vfs.h>
16682 #endif
16683 #ifdef HAVE_SYS_STATFS_H
16684 # include <sys/statfs.h>
16685 #endif
16687 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16689 cat >>confdefs.h <<_ACEOF
16690 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16691 _ACEOF
16697 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16698 #include <sys/statvfs.h>
16699 #endif
16701 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16703 cat >>confdefs.h <<_ACEOF
16704 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16705 _ACEOF
16711 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16712 #include <dirent.h>
16713 #endif
16715 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16717 cat >>confdefs.h <<_ACEOF
16718 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16719 _ACEOF
16725 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16726 #ifdef HAVE_SYS_SOCKET_H
16727 # include <sys/socket.h>
16728 #endif
16729 #ifdef HAVE_SYS_UN_H
16730 # include <sys/un.h>
16731 #endif
16733 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16735 cat >>confdefs.h <<_ACEOF
16736 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16737 _ACEOF
16741 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16742 #ifdef HAVE_SYS_SOCKET_H
16743 # include <sys/socket.h>
16744 #endif
16745 #ifdef HAVE_SYS_UN_H
16746 # include <sys/un.h>
16747 #endif
16749 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16751 cat >>confdefs.h <<_ACEOF
16752 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16753 _ACEOF
16757 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16758 #ifdef HAVE_SYS_SOCKET_H
16759 # include <sys/socket.h>
16760 #endif
16761 #ifdef HAVE_SYS_UN_H
16762 # include <sys/un.h>
16763 #endif
16765 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16767 cat >>confdefs.h <<_ACEOF
16768 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16769 _ACEOF
16775 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16776 #ifdef HAVE_SCSI_SG_H
16777 #include <scsi/sg.h>
16778 #endif
16780 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16782 cat >>confdefs.h <<_ACEOF
16783 #define HAVE_SCSIREQ_T_CMD 1
16784 _ACEOF
16788 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>
16789 #ifdef HAVE_SCSI_SG_H
16790 #include <scsi/sg.h>
16791 #endif
16793 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16795 cat >>confdefs.h <<_ACEOF
16796 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16797 _ACEOF
16803 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16805 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16807 cat >>confdefs.h <<_ACEOF
16808 #define HAVE_SIGINFO_T_SI_FD 1
16809 _ACEOF
16815 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16816 #ifdef HAVE_SYS_MTIO_H
16817 #include <sys/mtio.h>
16818 #endif
16820 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16822 cat >>confdefs.h <<_ACEOF
16823 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16824 _ACEOF
16828 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16829 #ifdef HAVE_SYS_MTIO_H
16830 #include <sys/mtio.h>
16831 #endif
16833 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16835 cat >>confdefs.h <<_ACEOF
16836 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16837 _ACEOF
16841 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16842 #ifdef HAVE_SYS_MTIO_H
16843 #include <sys/mtio.h>
16844 #endif
16846 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16848 cat >>confdefs.h <<_ACEOF
16849 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16850 _ACEOF
16856 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16857 #include <getopt.h>
16858 #endif
16860 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16862 cat >>confdefs.h <<_ACEOF
16863 #define HAVE_STRUCT_OPTION_NAME 1
16864 _ACEOF
16870 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16871 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16873 cat >>confdefs.h <<_ACEOF
16874 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16875 _ACEOF
16879 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16880 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16882 cat >>confdefs.h <<_ACEOF
16883 #define HAVE_STRUCT_STAT_ST_MTIM 1
16884 _ACEOF
16888 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16889 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16891 cat >>confdefs.h <<_ACEOF
16892 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16893 _ACEOF
16897 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16898 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16900 cat >>confdefs.h <<_ACEOF
16901 #define HAVE_STRUCT_STAT_ST_CTIM 1
16902 _ACEOF
16906 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16907 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16909 cat >>confdefs.h <<_ACEOF
16910 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16911 _ACEOF
16915 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16916 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16918 cat >>confdefs.h <<_ACEOF
16919 #define HAVE_STRUCT_STAT_ST_ATIM 1
16920 _ACEOF
16924 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16925 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16927 cat >>confdefs.h <<_ACEOF
16928 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16929 _ACEOF
16933 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16934 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16936 cat >>confdefs.h <<_ACEOF
16937 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16938 _ACEOF
16942 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16943 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16945 cat >>confdefs.h <<_ACEOF
16946 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16947 _ACEOF
16951 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16952 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16954 cat >>confdefs.h <<_ACEOF
16955 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16956 _ACEOF
16960 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16961 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16963 cat >>confdefs.h <<_ACEOF
16964 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16965 _ACEOF
16969 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16970 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16972 cat >>confdefs.h <<_ACEOF
16973 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16974 _ACEOF
16980 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
16981 #include <sys/types.h>
16982 #endif
16983 #ifdef HAVE_NETINET_IN_H
16984 #include <netinet/in.h>
16985 #endif
16987 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16989 cat >>confdefs.h <<_ACEOF
16990 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16991 _ACEOF
16997 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16998 #include <sys/types.h>
16999 #endif
17000 #ifdef HAVE_NETINET_IN_H
17001 #include <netinet/in.h>
17002 #endif
17003 #ifdef HAVE_RESOLV_H
17004 #include <resolv.h>
17005 #endif
17007 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17009 cat >>confdefs.h <<_ACEOF
17010 #define HAVE_STRUCT___RES_STATE 1
17011 _ACEOF
17017 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
17018 #include <resolv.h>
17019 #endif
17021 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17023 cat >>confdefs.h <<_ACEOF
17024 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17025 _ACEOF
17031 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17032 #include <sys/types.h>
17033 #endif
17034 #ifdef HAVE_NETINET_IN_H
17035 # include <netinet/in.h>
17036 #endif
17037 #ifdef HAVE_ARPA_NAMESER_H
17038 # include <arpa/nameser.h>
17039 #endif
17041 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17043 cat >>confdefs.h <<_ACEOF
17044 #define HAVE_NS_MSG__MSG_PTR 1
17045 _ACEOF
17051 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17052 #include <sys/types.h>
17053 #endif
17054 #ifdef HAVE_NETINET_IN_H
17055 #include <netinet/in.h>
17056 #endif
17057 #ifdef HAVE_NETINET_IP_H
17058 #include <netinet/ip.h>
17059 #endif
17060 #ifdef HAVE_NETINET_IP_ICMP_H
17061 #include <netinet/ip_icmp.h>
17062 #endif
17063 #ifdef HAVE_NETINET_ICMP_VAR_H
17064 #include <netinet/icmp_var.h>
17065 #endif
17067 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17069 cat >>confdefs.h <<_ACEOF
17070 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17071 _ACEOF
17077 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17078 #include <sys/types.h>
17079 #endif
17080 #ifdef HAVE_ALIAS_H
17081 #include <alias.h>
17082 #endif
17083 #ifdef HAVE_SYS_SOCKET_H
17084 #include <sys/socket.h>
17085 #endif
17086 #ifdef HAVE_SYS_SOCKETVAR_H
17087 #include <sys/socketvar.h>
17088 #endif
17089 #ifdef HAVE_SYS_TIMEOUT_H
17090 #include <sys/timeout.h>
17091 #endif
17092 #ifdef HAVE_NETINET_IN_H
17093 #include <netinet/in.h>
17094 #endif
17095 #ifdef HAVE_NETINET_IN_SYSTM_H
17096 #include <netinet/in_systm.h>
17097 #endif
17098 #ifdef HAVE_NETINET_IP_H
17099 #include <netinet/ip.h>
17100 #endif
17101 #ifdef HAVE_NETINET_IP_VAR_H
17102 #include <netinet/ip_var.h>
17103 #endif
17104 #ifdef HAVE_NETINET_IP_ICMP_H
17105 #include <netinet/ip_icmp.h>
17106 #endif
17107 #ifdef HAVE_NETINET_ICMP_VAR_H
17108 #include <netinet/icmp_var.h>
17109 #endif
17111 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17113 cat >>confdefs.h <<_ACEOF
17114 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17115 _ACEOF
17121 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17122 #include <sys/types.h>
17123 #endif
17124 #ifdef HAVE_SYS_SOCKETVAR_H
17125 #include <sys/socketvar.h>
17126 #endif
17127 #ifdef HAVE_NETINET_IN_H
17128 #include <netinet/in.h>
17129 #endif
17130 #ifdef HAVE_NETINET_IP_VAR_H
17131 #include <netinet/ip_var.h>
17132 #endif
17134 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17136 cat >>confdefs.h <<_ACEOF
17137 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17138 _ACEOF
17144 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
17145 #include <netinet/ip_var.h>
17146 #endif
17148 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17150 cat >>confdefs.h <<_ACEOF
17151 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17152 _ACEOF
17158 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17159 #include <sys/types.h>
17160 #endif
17161 #ifdef HAVE_SYS_SOCKETVAR_H
17162 #include <sys/socketvar.h>
17163 #endif
17164 #ifdef HAVE_NETINET_IN_H
17165 #include <netinet/in.h>
17166 #endif
17167 #ifdef HAVE_NETINET_TCP_H
17168 #include <netinet/tcp.h>
17169 #endif
17170 #ifdef HAVE_NETINET_TCP_VAR_H
17171 #include <netinet/tcp_var.h>
17172 #endif
17174 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17176 cat >>confdefs.h <<_ACEOF
17177 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17178 _ACEOF
17184 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
17185 #include <netinet/tcp_var.h>
17186 #endif
17188 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17190 cat >>confdefs.h <<_ACEOF
17191 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17192 _ACEOF
17198 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17199 #include <sys/types.h>
17200 #endif
17201 #ifdef HAVE_NETINET_IN_H
17202 #include <netinet/in.h>
17203 #endif
17204 #ifdef HAVE_NETINET_IP_VAR_H
17205 #include <netinet/ip_var.h>
17206 #endif
17207 #ifdef HAVE_NETINET_UDP_H
17208 #include <netinet/udp.h>
17209 #endif
17210 #ifdef HAVE_NETINET_UDP_VAR_H
17211 #include <netinet/udp_var.h>
17212 #endif
17214 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17216 cat >>confdefs.h <<_ACEOF
17217 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17218 _ACEOF
17224 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17225 #include <sys/types.h>
17226 #endif
17227 #ifdef HAVE_NET_IF_H
17228 # include <net/if.h>
17229 #endif
17231 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17233 cat >>confdefs.h <<_ACEOF
17234 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17235 _ACEOF
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17242 $as_echo_n "checking for timezone variable... " >&6; }
17243 if ${ac_cv_have_timezone+:} false; then :
17244 $as_echo_n "(cached) " >&6
17245 else
17246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17248 #include <time.h>
17250 main ()
17252 timezone = 1
17254 return 0;
17256 _ACEOF
17257 if ac_fn_c_try_link "$LINENO"; then :
17258 ac_cv_have_timezone="yes"
17259 else
17260 ac_cv_have_timezone="no"
17262 rm -f core conftest.err conftest.$ac_objext \
17263 conftest$ac_exeext conftest.$ac_ext
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17266 $as_echo "$ac_cv_have_timezone" >&6; }
17267 if test "$ac_cv_have_timezone" = "yes"
17268 then
17270 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17274 $as_echo_n "checking for daylight variable... " >&6; }
17275 if ${ac_cv_have_daylight+:} false; then :
17276 $as_echo_n "(cached) " >&6
17277 else
17278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17279 /* end confdefs.h. */
17280 #include <time.h>
17282 main ()
17284 daylight = 1
17286 return 0;
17288 _ACEOF
17289 if ac_fn_c_try_link "$LINENO"; then :
17290 ac_cv_have_daylight="yes"
17291 else
17292 ac_cv_have_daylight="no"
17294 rm -f core conftest.err conftest.$ac_objext \
17295 conftest$ac_exeext conftest.$ac_ext
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17298 $as_echo "$ac_cv_have_daylight" >&6; }
17299 if test "$ac_cv_have_daylight" = "yes"
17300 then
17302 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17306 ac_save_LIBS="$LIBS"
17307 LIBS="$LIBS -lm"
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17309 $as_echo_n "checking for isfinite... " >&6; }
17310 if ${ac_cv_have_isfinite+:} false; then :
17311 $as_echo_n "(cached) " >&6
17312 else
17313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17314 /* end confdefs.h. */
17315 #define _GNU_SOURCE
17316 #include <math.h>
17318 main ()
17320 float f = 0.0; return isfinite(f)
17322 return 0;
17324 _ACEOF
17325 if ac_fn_c_try_link "$LINENO"; then :
17326 ac_cv_have_isfinite="yes"
17327 else
17328 ac_cv_have_isfinite="no"
17330 rm -f core conftest.err conftest.$ac_objext \
17331 conftest$ac_exeext conftest.$ac_ext
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17334 $as_echo "$ac_cv_have_isfinite" >&6; }
17335 if test "$ac_cv_have_isfinite" = "yes"
17336 then
17338 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17343 $as_echo_n "checking for isinf... " >&6; }
17344 if ${ac_cv_have_isinf+:} false; then :
17345 $as_echo_n "(cached) " >&6
17346 else
17347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17348 /* end confdefs.h. */
17349 #include <math.h>
17351 main ()
17353 float f = 0.0; return isinf(f)
17355 return 0;
17357 _ACEOF
17358 if ac_fn_c_try_link "$LINENO"; then :
17359 ac_cv_have_isinf="yes"
17360 else
17361 ac_cv_have_isinf="no"
17363 rm -f core conftest.err conftest.$ac_objext \
17364 conftest$ac_exeext conftest.$ac_ext
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17367 $as_echo "$ac_cv_have_isinf" >&6; }
17368 if test "$ac_cv_have_isinf" = "yes"
17369 then
17371 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17376 $as_echo_n "checking for isnan... " >&6; }
17377 if ${ac_cv_have_isnan+:} false; then :
17378 $as_echo_n "(cached) " >&6
17379 else
17380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17381 /* end confdefs.h. */
17382 #include <math.h>
17384 main ()
17386 float f = 0.0; return isnan(f)
17388 return 0;
17390 _ACEOF
17391 if ac_fn_c_try_link "$LINENO"; then :
17392 ac_cv_have_isnan="yes"
17393 else
17394 ac_cv_have_isnan="no"
17396 rm -f core conftest.err conftest.$ac_objext \
17397 conftest$ac_exeext conftest.$ac_ext
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17400 $as_echo "$ac_cv_have_isnan" >&6; }
17401 if test "$ac_cv_have_isnan" = "yes"
17402 then
17404 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17408 for ac_func in \
17409 asinh \
17410 asinhf \
17411 cbrt \
17412 cbrtf \
17413 erf \
17414 erff \
17415 exp2 \
17416 exp2f \
17417 lgamma \
17418 lgammaf \
17419 llrint \
17420 llrintf \
17421 llround \
17422 llroundf \
17423 log2 \
17424 log2f \
17425 lrint \
17426 lrintf \
17427 lround \
17428 lroundf \
17429 nearbyint \
17430 nearbyintf \
17431 powl \
17432 remainder \
17433 remainderf \
17434 rint \
17435 rintf \
17436 round \
17437 roundf \
17438 trunc \
17439 truncf
17441 do :
17442 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17443 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17444 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17445 cat >>confdefs.h <<_ACEOF
17446 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17447 _ACEOF
17450 done
17452 LIBS="$ac_save_LIBS"
17454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17455 $as_echo_n "checking for __builtin_clz... " >&6; }
17456 if ${ac_cv_have___builtin_clz+:} false; then :
17457 $as_echo_n "(cached) " >&6
17458 else
17459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17460 /* end confdefs.h. */
17463 main ()
17465 return __builtin_clz(1)
17467 return 0;
17469 _ACEOF
17470 if ac_fn_c_try_link "$LINENO"; then :
17471 ac_cv_have___builtin_clz="yes"
17472 else
17473 ac_cv_have___builtin_clz="no"
17475 rm -f core conftest.err conftest.$ac_objext \
17476 conftest$ac_exeext conftest.$ac_ext
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17479 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17480 if test "$ac_cv_have___builtin_clz" = "yes"
17481 then
17483 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17488 $as_echo_n "checking for __builtin_popcount... " >&6; }
17489 if ${ac_cv_have___builtin_popcount+:} false; then :
17490 $as_echo_n "(cached) " >&6
17491 else
17492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17493 /* end confdefs.h. */
17496 main ()
17498 return __builtin_popcount(1)
17500 return 0;
17502 _ACEOF
17503 if ac_fn_c_try_link "$LINENO"; then :
17504 ac_cv_have___builtin_popcount="yes"
17505 else
17506 ac_cv_have___builtin_popcount="no"
17508 rm -f core conftest.err conftest.$ac_objext \
17509 conftest$ac_exeext conftest.$ac_ext
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17512 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17513 if test "$ac_cv_have___builtin_popcount" = "yes"
17514 then
17516 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17521 case $host_cpu in
17522 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17523 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17524 if ${ac_cv_cpp_def___i386__+:} false; then :
17525 $as_echo_n "(cached) " >&6
17526 else
17527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17528 /* end confdefs.h. */
17529 #ifndef __i386__
17531 #endif
17532 _ACEOF
17533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17534 $EGREP "yes" >/dev/null 2>&1; then :
17535 ac_cv_cpp_def___i386__=yes
17536 else
17537 ac_cv_cpp_def___i386__=no
17539 rm -f conftest*
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17543 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17544 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17545 CFLAGS="$CFLAGS -D__i386__"
17546 LINTFLAGS="$LINTFLAGS -D__i386__"
17547 fi ;;
17548 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17549 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17550 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17551 $as_echo_n "(cached) " >&6
17552 else
17553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17554 /* end confdefs.h. */
17555 #ifndef __x86_64__
17557 #endif
17558 _ACEOF
17559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17560 $EGREP "yes" >/dev/null 2>&1; then :
17561 ac_cv_cpp_def___x86_64__=yes
17562 else
17563 ac_cv_cpp_def___x86_64__=no
17565 rm -f conftest*
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17569 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17570 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17571 CFLAGS="$CFLAGS -D__x86_64__"
17572 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17573 fi ;;
17574 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17575 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17576 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17577 $as_echo_n "(cached) " >&6
17578 else
17579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17580 /* end confdefs.h. */
17581 #ifndef __sparc64__
17583 #endif
17584 _ACEOF
17585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17586 $EGREP "yes" >/dev/null 2>&1; then :
17587 ac_cv_cpp_def___sparc64__=yes
17588 else
17589 ac_cv_cpp_def___sparc64__=no
17591 rm -f conftest*
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17595 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17596 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17597 CFLAGS="$CFLAGS -D__sparc64__"
17598 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17599 fi ;;
17600 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17601 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17602 if ${ac_cv_cpp_def___sparc__+:} false; then :
17603 $as_echo_n "(cached) " >&6
17604 else
17605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17606 /* end confdefs.h. */
17607 #ifndef __sparc__
17609 #endif
17610 _ACEOF
17611 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17612 $EGREP "yes" >/dev/null 2>&1; then :
17613 ac_cv_cpp_def___sparc__=yes
17614 else
17615 ac_cv_cpp_def___sparc__=no
17617 rm -f conftest*
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17621 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17622 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17623 CFLAGS="$CFLAGS -D__sparc__"
17624 LINTFLAGS="$LINTFLAGS -D__sparc__"
17625 fi ;;
17626 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17627 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17628 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17629 $as_echo_n "(cached) " >&6
17630 else
17631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17632 /* end confdefs.h. */
17633 #ifndef __powerpc64__
17635 #endif
17636 _ACEOF
17637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17638 $EGREP "yes" >/dev/null 2>&1; then :
17639 ac_cv_cpp_def___powerpc64__=yes
17640 else
17641 ac_cv_cpp_def___powerpc64__=no
17643 rm -f conftest*
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17647 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17648 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17649 CFLAGS="$CFLAGS -D__powerpc64__"
17650 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17651 fi ;;
17652 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17653 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17654 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17655 $as_echo_n "(cached) " >&6
17656 else
17657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17658 /* end confdefs.h. */
17659 #ifndef __powerpc__
17661 #endif
17662 _ACEOF
17663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17664 $EGREP "yes" >/dev/null 2>&1; then :
17665 ac_cv_cpp_def___powerpc__=yes
17666 else
17667 ac_cv_cpp_def___powerpc__=no
17669 rm -f conftest*
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17673 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17674 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17675 CFLAGS="$CFLAGS -D__powerpc__"
17676 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17677 fi ;;
17678 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17679 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17680 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17681 $as_echo_n "(cached) " >&6
17682 else
17683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17684 /* end confdefs.h. */
17685 #ifndef __aarch64__
17687 #endif
17688 _ACEOF
17689 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17690 $EGREP "yes" >/dev/null 2>&1; then :
17691 ac_cv_cpp_def___aarch64__=yes
17692 else
17693 ac_cv_cpp_def___aarch64__=no
17695 rm -f conftest*
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17699 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17700 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17701 CFLAGS="$CFLAGS -D__aarch64__"
17702 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17703 fi ;;
17704 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17705 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17706 if ${ac_cv_cpp_def___arm__+:} false; then :
17707 $as_echo_n "(cached) " >&6
17708 else
17709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17710 /* end confdefs.h. */
17711 #ifndef __arm__
17713 #endif
17714 _ACEOF
17715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17716 $EGREP "yes" >/dev/null 2>&1; then :
17717 ac_cv_cpp_def___arm__=yes
17718 else
17719 ac_cv_cpp_def___arm__=no
17721 rm -f conftest*
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17725 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17726 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17727 CFLAGS="$CFLAGS -D__arm__"
17728 LINTFLAGS="$LINTFLAGS -D__arm__"
17729 fi ;;
17730 esac
17732 case $host_vendor in
17733 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17734 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17735 if ${ac_cv_cpp_def___sun__+:} false; then :
17736 $as_echo_n "(cached) " >&6
17737 else
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17740 #ifndef __sun__
17742 #endif
17743 _ACEOF
17744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17745 $EGREP "yes" >/dev/null 2>&1; then :
17746 ac_cv_cpp_def___sun__=yes
17747 else
17748 ac_cv_cpp_def___sun__=no
17750 rm -f conftest*
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17754 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17755 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17756 CFLAGS="$CFLAGS -D__sun__"
17757 LINTFLAGS="$LINTFLAGS -D__sun__"
17758 fi ;;
17759 esac
17765 ac_config_commands="$ac_config_commands include/stamp-h"
17767 $as_echo_n "creating Makefile rules..." >&6
17769 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17770 SOCKET_LIBS = $SOCKET_LIBS
17771 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17772 IOKIT_LIBS = $IOKIT_LIBS
17773 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17774 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17775 CORESERVICES_LIBS = $CORESERVICES_LIBS
17776 APPKIT_LIBS = $APPKIT_LIBS
17777 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17778 SECURITY_LIBS = $SECURITY_LIBS
17779 COREAUDIO_LIBS = $COREAUDIO_LIBS
17780 OPENAL_LIBS = $OPENAL_LIBS
17781 OPENCL_LIBS = $OPENCL_LIBS
17782 QUICKTIME_LIBS = $QUICKTIME_LIBS
17783 CARBON_LIBS = $CARBON_LIBS
17784 PTHREAD_LIBS = $PTHREAD_LIBS
17785 X_CFLAGS = $X_CFLAGS
17786 X_PRE_LIBS = $X_PRE_LIBS
17787 X_LIBS = $X_LIBS
17788 X_EXTRA_LIBS = $X_EXTRA_LIBS
17789 PCAP_LIBS = $PCAP_LIBS
17790 XML2_CFLAGS = $XML2_CFLAGS
17791 XML2_LIBS = $XML2_LIBS
17792 XSLT_CFLAGS = $XSLT_CFLAGS
17793 XSLT_LIBS = $XSLT_LIBS
17794 DBUS_CFLAGS = $DBUS_CFLAGS
17795 DBUS_LIBS = $DBUS_LIBS
17796 HAL_CFLAGS = $HAL_CFLAGS
17797 HAL_LIBS = $HAL_LIBS
17798 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17799 GNUTLS_LIBS = $GNUTLS_LIBS
17800 SANE_CFLAGS = $SANE_CFLAGS
17801 SANE_LIBS = $SANE_LIBS
17802 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17803 GPHOTO2_LIBS = $GPHOTO2_LIBS
17804 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17805 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17806 RESOLV_LIBS = $RESOLV_LIBS
17807 LCMS2_CFLAGS = $LCMS2_CFLAGS
17808 LCMS2_LIBS = $LCMS2_LIBS
17809 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17810 FREETYPE_LIBS = $FREETYPE_LIBS
17811 Z_LIBS = $Z_LIBS
17812 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17813 PULSE_CFLAGS = $PULSE_CFLAGS
17814 PULSE_LIBS = $PULSE_LIBS
17815 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17816 GSTREAMER_LIBS = $GSTREAMER_LIBS
17817 ALSA_LIBS = $ALSA_LIBS
17818 OSS4_CFLAGS = $OSS4_CFLAGS
17819 UDEV_CFLAGS = $UDEV_CFLAGS
17820 UDEV_LIBS = $UDEV_LIBS
17821 CAPI20_CFLAGS = $CAPI20_CFLAGS
17822 CAPI20_LIBS = $CAPI20_LIBS
17823 CUPS_CFLAGS = $CUPS_CFLAGS
17824 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17825 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17826 JPEG_CFLAGS = $JPEG_CFLAGS
17827 JPEG_LIBS = $JPEG_LIBS
17828 PNG_CFLAGS = $PNG_CFLAGS
17829 PNG_LIBS = $PNG_LIBS
17830 TIFF_CFLAGS = $TIFF_CFLAGS
17831 TIFF_LIBS = $TIFF_LIBS
17832 MPG123_CFLAGS = $MPG123_CFLAGS
17833 MPG123_LIBS = $MPG123_LIBS
17834 KSTAT_LIBS = $KSTAT_LIBS
17835 PROCSTAT_LIBS = $PROCSTAT_LIBS
17836 NETAPI_CFLAGS = $NETAPI_CFLAGS
17837 NETAPI_LIBS = $NETAPI_LIBS
17838 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17839 DL_LIBS = $DL_LIBS
17840 POLL_LIBS = $POLL_LIBS
17841 RT_LIBS = $RT_LIBS
17842 LDAP_LIBS = $LDAP_LIBS
17847 wine_fn_append_rule "
17848 # Rules automatically generated by configure
17850 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17852 .INIT: Makefile
17853 .MAKEFILEDEPS:
17854 all: Makefile
17855 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17856 @./config.status Make.tmp Makefile
17857 depend: \$(MAKEDEP) dummy
17858 \$(MAKEDEP)"
17860 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17861 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17863 if test "x$enable_fonts" != xno; then
17864 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17865 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17866 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17867 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17868 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17869 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17871 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17872 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17873 ac_config_links="$ac_config_links wine:tools/winewrapper"
17874 wine_fn_config_symlink wine
17875 if test "x$enable_win64" != xno; then
17876 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17877 wine_fn_config_symlink wine64
17880 wine_fn_config_dll acledit enable_acledit
17881 wine_fn_config_dll aclui enable_aclui implib
17882 wine_fn_config_dll activeds enable_activeds implib
17883 wine_fn_config_dll actxprxy enable_actxprxy clean
17884 wine_fn_config_lib adsiid
17885 wine_fn_config_dll adsldpc enable_adsldpc
17886 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17887 wine_fn_config_test dlls/advapi32/tests advapi32_test
17888 wine_fn_config_dll advpack enable_advpack implib
17889 wine_fn_config_test dlls/advpack/tests advpack_test
17890 wine_fn_config_dll amstream enable_amstream clean
17891 wine_fn_config_test dlls/amstream/tests amstream_test
17892 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17893 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17894 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17895 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17896 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17897 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17898 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17899 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17900 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17901 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17902 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17903 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17904 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17905 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17906 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17907 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17908 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17909 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17910 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17911 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17912 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17913 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17914 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17915 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17916 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17917 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17918 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17919 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17920 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17921 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17922 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17923 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17924 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17925 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17926 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17927 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17928 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17929 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17930 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17931 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17932 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17933 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17934 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17935 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17936 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17937 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17938 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17939 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17940 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17941 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17942 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17943 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17944 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17945 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17946 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17947 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17948 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17949 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17950 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17951 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17952 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17953 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17954 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17955 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17956 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17957 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17958 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17959 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17960 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17961 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17962 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17963 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
17964 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17965 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17966 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17967 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17968 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17969 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17970 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17971 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17972 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17973 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17974 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17975 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17976 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17977 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17978 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17979 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17980 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17981 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17982 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17983 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17984 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17985 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17986 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17987 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17988 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17989 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17990 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17991 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17992 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17993 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17994 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17995 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17996 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17997 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17998 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17999 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18000 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18001 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18002 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18003 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18004 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18005 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18006 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18007 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18008 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18009 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18010 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18011 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18012 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18013 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18014 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18015 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18016 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18017 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18018 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18019 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18020 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18021 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18022 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18023 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18024 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18025 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18026 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18027 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18028 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18029 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18030 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18031 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18032 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18033 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18034 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18035 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18036 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18037 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18038 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18039 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18040 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18041 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18042 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18043 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18044 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18045 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18046 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18047 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18048 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18049 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18050 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18051 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18052 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18053 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18054 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18055 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18056 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18057 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18058 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18059 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18060 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18061 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18062 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18063 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18064 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18065 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18066 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18067 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18068 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18069 wine_fn_config_dll apphelp enable_apphelp
18070 wine_fn_config_test dlls/apphelp/tests apphelp_test
18071 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18072 wine_fn_config_dll atl enable_atl clean,implib
18073 wine_fn_config_test dlls/atl/tests atl_test
18074 wine_fn_config_dll atl100 enable_atl100 clean,implib
18075 wine_fn_config_test dlls/atl100/tests atl100_test
18076 wine_fn_config_dll atl110 enable_atl110 clean
18077 wine_fn_config_dll atl80 enable_atl80 clean,implib
18078 wine_fn_config_test dlls/atl80/tests atl80_test
18079 wine_fn_config_dll atl90 enable_atl90 clean
18080 wine_fn_config_dll authz enable_authz
18081 wine_fn_config_dll avicap32 enable_avicap32 implib
18082 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18083 wine_fn_config_test dlls/avifil32/tests avifil32_test
18084 wine_fn_config_dll avifile.dll16 enable_win16
18085 wine_fn_config_dll avrt enable_avrt implib
18086 wine_fn_config_dll bcrypt enable_bcrypt implib
18087 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18088 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18089 wine_fn_config_dll browseui enable_browseui clean
18090 wine_fn_config_test dlls/browseui/tests browseui_test
18091 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18092 wine_fn_config_dll cabinet enable_cabinet implib
18093 wine_fn_config_test dlls/cabinet/tests cabinet_test
18094 wine_fn_config_dll capi2032 enable_capi2032 implib
18095 wine_fn_config_dll cards enable_cards implib
18096 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18097 wine_fn_config_dll clusapi enable_clusapi implib
18098 wine_fn_config_dll combase enable_combase
18099 wine_fn_config_test dlls/combase/tests combase_test
18100 wine_fn_config_dll comcat enable_comcat
18101 wine_fn_config_test dlls/comcat/tests comcat_test
18102 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18103 wine_fn_config_test dlls/comctl32/tests comctl32_test
18104 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18105 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18106 wine_fn_config_dll comm.drv16 enable_win16
18107 wine_fn_config_dll commdlg.dll16 enable_win16
18108 wine_fn_config_dll compobj.dll16 enable_win16
18109 wine_fn_config_dll compstui enable_compstui implib
18110 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18111 wine_fn_config_dll concrt140 enable_concrt140
18112 wine_fn_config_dll connect enable_connect
18113 wine_fn_config_dll credui enable_credui clean,implib
18114 wine_fn_config_test dlls/credui/tests credui_test
18115 wine_fn_config_dll crtdll enable_crtdll
18116 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18117 wine_fn_config_test dlls/crypt32/tests crypt32_test
18118 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18119 wine_fn_config_dll cryptdll enable_cryptdll implib
18120 wine_fn_config_dll cryptext enable_cryptext
18121 wine_fn_config_dll cryptnet enable_cryptnet implib
18122 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18123 wine_fn_config_dll cryptui enable_cryptui clean,implib
18124 wine_fn_config_test dlls/cryptui/tests cryptui_test
18125 wine_fn_config_dll ctapi32 enable_ctapi32
18126 wine_fn_config_dll ctl3d.dll16 enable_win16
18127 wine_fn_config_dll ctl3d32 enable_ctl3d32
18128 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18129 wine_fn_config_dll d2d1 enable_d2d1 implib
18130 wine_fn_config_test dlls/d2d1/tests d2d1_test
18131 wine_fn_config_dll d3d10 enable_d3d10 implib
18132 wine_fn_config_test dlls/d3d10/tests d3d10_test
18133 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18134 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18135 wine_fn_config_dll d3d10core enable_d3d10core implib
18136 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18137 wine_fn_config_dll d3d11 enable_d3d11 implib
18138 wine_fn_config_test dlls/d3d11/tests d3d11_test
18139 wine_fn_config_dll d3d8 enable_d3d8 implib
18140 wine_fn_config_test dlls/d3d8/tests d3d8_test
18141 wine_fn_config_dll d3d9 enable_d3d9 implib
18142 wine_fn_config_test dlls/d3d9/tests d3d9_test
18143 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18144 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18145 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18146 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18147 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18148 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18149 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18150 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18151 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18152 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18153 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18154 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18155 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18156 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18157 wine_fn_config_dll d3dim enable_d3dim
18158 wine_fn_config_dll d3drm enable_d3drm implib
18159 wine_fn_config_test dlls/d3drm/tests d3drm_test
18160 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18161 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18162 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18163 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18164 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18165 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18166 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18167 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18168 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18169 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18170 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18171 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18172 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18173 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18174 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18175 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18176 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18177 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18178 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18179 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18180 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18181 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18182 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18183 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18184 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18185 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18186 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18187 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18188 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18189 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18190 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18191 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18192 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18193 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18194 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18195 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18196 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18197 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18198 wine_fn_config_dll davclnt enable_davclnt
18199 wine_fn_config_dll dbgeng enable_dbgeng implib
18200 wine_fn_config_dll dbghelp enable_dbghelp implib
18201 wine_fn_config_dll dciman32 enable_dciman32 implib
18202 wine_fn_config_dll ddeml.dll16 enable_win16
18203 wine_fn_config_dll ddraw enable_ddraw clean,implib
18204 wine_fn_config_test dlls/ddraw/tests ddraw_test
18205 wine_fn_config_dll ddrawex enable_ddrawex clean
18206 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18207 wine_fn_config_dll devenum enable_devenum clean
18208 wine_fn_config_test dlls/devenum/tests devenum_test
18209 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18210 wine_fn_config_dll difxapi enable_difxapi
18211 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18212 wine_fn_config_test dlls/dinput/tests dinput_test
18213 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18214 wine_fn_config_test dlls/dinput8/tests dinput8_test
18215 wine_fn_config_dll dispdib.dll16 enable_win16
18216 wine_fn_config_dll dispex enable_dispex clean
18217 wine_fn_config_test dlls/dispex/tests dispex_test
18218 wine_fn_config_dll display.drv16 enable_win16
18219 wine_fn_config_dll dmband enable_dmband clean
18220 wine_fn_config_test dlls/dmband/tests dmband_test
18221 wine_fn_config_dll dmcompos enable_dmcompos clean
18222 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18223 wine_fn_config_dll dmime enable_dmime clean
18224 wine_fn_config_test dlls/dmime/tests dmime_test
18225 wine_fn_config_dll dmloader enable_dmloader clean
18226 wine_fn_config_test dlls/dmloader/tests dmloader_test
18227 wine_fn_config_dll dmscript enable_dmscript clean
18228 wine_fn_config_test dlls/dmscript/tests dmscript_test
18229 wine_fn_config_dll dmstyle enable_dmstyle clean
18230 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18231 wine_fn_config_dll dmsynth enable_dmsynth clean
18232 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18233 wine_fn_config_dll dmusic enable_dmusic clean
18234 wine_fn_config_test dlls/dmusic/tests dmusic_test
18235 wine_fn_config_dll dmusic32 enable_dmusic32
18236 wine_fn_config_dll dnsapi enable_dnsapi implib
18237 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18238 wine_fn_config_dll dplay enable_dplay
18239 wine_fn_config_dll dplayx enable_dplayx clean,implib
18240 wine_fn_config_test dlls/dplayx/tests dplayx_test
18241 wine_fn_config_dll dpnaddr enable_dpnaddr
18242 wine_fn_config_dll dpnet enable_dpnet clean,implib
18243 wine_fn_config_test dlls/dpnet/tests dpnet_test
18244 wine_fn_config_dll dpnhpast enable_dpnhpast
18245 wine_fn_config_dll dpnlobby enable_dpnlobby
18246 wine_fn_config_dll dpvoice enable_dpvoice clean
18247 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18248 wine_fn_config_dll dpwsockx enable_dpwsockx
18249 wine_fn_config_dll drmclien enable_drmclien
18250 wine_fn_config_dll dsound enable_dsound clean,implib
18251 wine_fn_config_test dlls/dsound/tests dsound_test
18252 wine_fn_config_dll dssenh enable_dssenh
18253 wine_fn_config_test dlls/dssenh/tests dssenh_test
18254 wine_fn_config_dll dswave enable_dswave clean
18255 wine_fn_config_test dlls/dswave/tests dswave_test
18256 wine_fn_config_dll dwmapi enable_dwmapi implib
18257 wine_fn_config_dll dwrite enable_dwrite implib
18258 wine_fn_config_test dlls/dwrite/tests dwrite_test
18259 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18260 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18261 wine_fn_config_lib dxerr8
18262 wine_fn_config_lib dxerr9
18263 wine_fn_config_dll dxgi enable_dxgi implib
18264 wine_fn_config_test dlls/dxgi/tests dxgi_test
18265 wine_fn_config_lib dxguid
18266 wine_fn_config_dll dxva2 enable_dxva2
18267 wine_fn_config_dll esent enable_esent
18268 wine_fn_config_dll evr enable_evr
18269 wine_fn_config_dll explorerframe enable_explorerframe clean
18270 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18271 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18272 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18273 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18274 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18275 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18276 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18277 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18278 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18279 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18280 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18281 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18282 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18283 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18284 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18285 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18286 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18287 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18288 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18289 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
18290 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18291 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18292 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18293 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18294 wine_fn_config_dll faultrep enable_faultrep implib
18295 wine_fn_config_test dlls/faultrep/tests faultrep_test
18296 wine_fn_config_dll fltlib enable_fltlib
18297 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18298 wine_fn_config_dll fntcache enable_fntcache
18299 wine_fn_config_dll fontsub enable_fontsub
18300 wine_fn_config_dll fusion enable_fusion
18301 wine_fn_config_test dlls/fusion/tests fusion_test
18302 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18303 wine_fn_config_dll gameux enable_gameux clean
18304 wine_fn_config_test dlls/gameux/tests gameux_test
18305 wine_fn_config_dll gdi.exe16 enable_win16
18306 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18307 wine_fn_config_test dlls/gdi32/tests gdi32_test
18308 wine_fn_config_dll gdiplus enable_gdiplus implib
18309 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18310 wine_fn_config_dll glu32 enable_glu32 implib
18311 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18312 wine_fn_config_dll gpkcsp enable_gpkcsp
18313 wine_fn_config_dll hal enable_hal
18314 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18315 wine_fn_config_dll hid enable_hid implib
18316 wine_fn_config_test dlls/hid/tests hid_test
18317 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18318 wine_fn_config_dll hlink enable_hlink clean,implib
18319 wine_fn_config_test dlls/hlink/tests hlink_test
18320 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18321 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18322 wine_fn_config_dll httpapi enable_httpapi
18323 wine_fn_config_dll iccvid enable_iccvid clean
18324 wine_fn_config_dll icmp enable_icmp
18325 wine_fn_config_dll ieframe enable_ieframe clean,implib
18326 wine_fn_config_test dlls/ieframe/tests ieframe_test
18327 wine_fn_config_dll ifsmgr.vxd enable_win16
18328 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18329 wine_fn_config_dll imagehlp enable_imagehlp implib
18330 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18331 wine_fn_config_dll imm.dll16 enable_win16
18332 wine_fn_config_dll imm32 enable_imm32 implib
18333 wine_fn_config_test dlls/imm32/tests imm32_test
18334 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18335 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18336 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18337 wine_fn_config_dll inetmib1 enable_inetmib1
18338 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18339 wine_fn_config_dll infosoft enable_infosoft clean
18340 wine_fn_config_test dlls/infosoft/tests infosoft_test
18341 wine_fn_config_dll initpki enable_initpki
18342 wine_fn_config_dll inkobj enable_inkobj
18343 wine_fn_config_dll inseng enable_inseng clean
18344 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18345 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18346 wine_fn_config_dll iprop enable_iprop
18347 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18348 wine_fn_config_dll itircl enable_itircl
18349 wine_fn_config_dll itss enable_itss clean
18350 wine_fn_config_test dlls/itss/tests itss_test
18351 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18352 wine_fn_config_dll jscript enable_jscript clean
18353 wine_fn_config_test dlls/jscript/tests jscript_test
18354 wine_fn_config_dll jsproxy enable_jsproxy implib
18355 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18356 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18357 wine_fn_config_test dlls/kernel32/tests kernel32_test
18358 wine_fn_config_dll kernelbase enable_kernelbase
18359 wine_fn_config_dll keyboard.drv16 enable_win16
18360 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18361 wine_fn_config_dll ksuser enable_ksuser
18362 wine_fn_config_dll ktmw32 enable_ktmw32
18363 wine_fn_config_dll loadperf enable_loadperf implib
18364 wine_fn_config_dll localspl enable_localspl clean
18365 wine_fn_config_test dlls/localspl/tests localspl_test
18366 wine_fn_config_dll localui enable_localui clean
18367 wine_fn_config_test dlls/localui/tests localui_test
18368 wine_fn_config_dll lz32 enable_lz32 implib
18369 wine_fn_config_test dlls/lz32/tests lz32_test
18370 wine_fn_config_dll lzexpand.dll16 enable_win16
18371 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18372 wine_fn_config_test dlls/mapi32/tests mapi32_test
18373 wine_fn_config_dll mapistub enable_mapistub
18374 wine_fn_config_dll mciavi32 enable_mciavi32
18375 wine_fn_config_dll mcicda enable_mcicda
18376 wine_fn_config_dll mciqtz32 enable_mciqtz32
18377 wine_fn_config_dll mciseq enable_mciseq
18378 wine_fn_config_dll mciwave enable_mciwave
18379 wine_fn_config_dll mf enable_mf implib
18380 wine_fn_config_test dlls/mf/tests mf_test
18381 wine_fn_config_dll mf3216 enable_mf3216
18382 wine_fn_config_dll mfplat enable_mfplat implib
18383 wine_fn_config_test dlls/mfplat/tests mfplat_test
18384 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18385 wine_fn_config_dll mgmtapi enable_mgmtapi
18386 wine_fn_config_dll midimap enable_midimap
18387 wine_fn_config_dll mlang enable_mlang clean,implib
18388 wine_fn_config_test dlls/mlang/tests mlang_test
18389 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18390 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18391 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18392 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18393 wine_fn_config_dll mmdevldr.vxd enable_win16
18394 wine_fn_config_dll mmsystem.dll16 enable_win16
18395 wine_fn_config_dll monodebg.vxd enable_win16
18396 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18397 wine_fn_config_dll mouse.drv16 enable_win16
18398 wine_fn_config_dll mpr enable_mpr clean,implib
18399 wine_fn_config_test dlls/mpr/tests mpr_test
18400 wine_fn_config_dll mprapi enable_mprapi implib
18401 wine_fn_config_dll msacm.dll16 enable_win16
18402 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18403 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18404 wine_fn_config_test dlls/msacm32/tests msacm32_test
18405 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18406 wine_fn_config_dll msasn1 enable_msasn1 implib
18407 wine_fn_config_dll mscat32 enable_mscat32
18408 wine_fn_config_dll mscms enable_mscms implib
18409 wine_fn_config_test dlls/mscms/tests mscms_test
18410 wine_fn_config_dll mscoree enable_mscoree clean
18411 wine_fn_config_test dlls/mscoree/tests mscoree_test
18412 wine_fn_config_dll msctf enable_msctf clean
18413 wine_fn_config_test dlls/msctf/tests msctf_test
18414 wine_fn_config_dll msctfp enable_msctfp clean
18415 wine_fn_config_dll msdaps enable_msdaps clean
18416 wine_fn_config_dll msdelta enable_msdelta
18417 wine_fn_config_dll msdmo enable_msdmo implib
18418 wine_fn_config_test dlls/msdmo/tests msdmo_test
18419 wine_fn_config_dll msdrm enable_msdrm
18420 wine_fn_config_dll msftedit enable_msftedit
18421 wine_fn_config_dll msg711.acm enable_msg711_acm
18422 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18423 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18424 wine_fn_config_dll mshtml enable_mshtml clean,implib
18425 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18426 wine_fn_config_dll msi enable_msi clean,implib
18427 wine_fn_config_test dlls/msi/tests msi_test
18428 wine_fn_config_dll msident enable_msident clean
18429 wine_fn_config_dll msimg32 enable_msimg32 implib
18430 wine_fn_config_dll msimsg enable_msimsg
18431 wine_fn_config_dll msimtf enable_msimtf clean
18432 wine_fn_config_dll msisip enable_msisip
18433 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18434 wine_fn_config_dll msls31 enable_msls31
18435 wine_fn_config_dll msnet32 enable_msnet32
18436 wine_fn_config_dll mspatcha enable_mspatcha implib
18437 wine_fn_config_dll msports enable_msports
18438 wine_fn_config_dll msrle32 enable_msrle32 clean
18439 wine_fn_config_test dlls/msrle32/tests msrle32_test
18440 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18441 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18442 wine_fn_config_dll mssign32 enable_mssign32
18443 wine_fn_config_dll mssip32 enable_mssip32
18444 wine_fn_config_dll mstask enable_mstask clean
18445 wine_fn_config_test dlls/mstask/tests mstask_test
18446 wine_fn_config_dll msvcirt enable_msvcirt
18447 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18448 wine_fn_config_dll msvcm80 enable_msvcm80
18449 wine_fn_config_dll msvcm90 enable_msvcm90
18450 wine_fn_config_dll msvcp100 enable_msvcp100
18451 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18452 wine_fn_config_dll msvcp110 enable_msvcp110
18453 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18454 wine_fn_config_dll msvcp120 enable_msvcp120
18455 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18456 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18457 wine_fn_config_dll msvcp140 enable_msvcp140
18458 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18459 wine_fn_config_dll msvcp60 enable_msvcp60
18460 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18461 wine_fn_config_dll msvcp70 enable_msvcp70
18462 wine_fn_config_dll msvcp71 enable_msvcp71
18463 wine_fn_config_dll msvcp80 enable_msvcp80
18464 wine_fn_config_dll msvcp90 enable_msvcp90
18465 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18466 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18467 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18468 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18469 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18470 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18471 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18472 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18473 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18474 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18475 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18476 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18477 wine_fn_config_dll msvcrt enable_msvcrt implib
18478 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18479 wine_fn_config_dll msvcrt20 enable_msvcrt20
18480 wine_fn_config_dll msvcrt40 enable_msvcrt40
18481 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18482 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18483 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18484 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18485 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18486 wine_fn_config_dll msvideo.dll16 enable_win16
18487 wine_fn_config_dll mswsock enable_mswsock implib
18488 wine_fn_config_dll msxml enable_msxml clean
18489 wine_fn_config_dll msxml2 enable_msxml2 clean
18490 wine_fn_config_dll msxml3 enable_msxml3 clean
18491 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18492 wine_fn_config_dll msxml4 enable_msxml4 clean
18493 wine_fn_config_dll msxml6 enable_msxml6 clean
18494 wine_fn_config_dll mtxdm enable_mtxdm
18495 wine_fn_config_dll ncrypt enable_ncrypt
18496 wine_fn_config_dll nddeapi enable_nddeapi implib
18497 wine_fn_config_dll ndis.sys enable_ndis_sys
18498 wine_fn_config_dll netapi32 enable_netapi32 implib
18499 wine_fn_config_test dlls/netapi32/tests netapi32_test
18500 wine_fn_config_dll netcfgx enable_netcfgx clean
18501 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18502 wine_fn_config_dll netprofm enable_netprofm clean
18503 wine_fn_config_test dlls/netprofm/tests netprofm_test
18504 wine_fn_config_dll newdev enable_newdev implib
18505 wine_fn_config_dll normaliz enable_normaliz implib
18506 wine_fn_config_dll npmshtml enable_npmshtml
18507 wine_fn_config_dll npptools enable_npptools
18508 wine_fn_config_dll ntdll enable_ntdll implib
18509 wine_fn_config_test dlls/ntdll/tests ntdll_test
18510 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18511 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18512 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18513 wine_fn_config_dll ntprint enable_ntprint
18514 wine_fn_config_test dlls/ntprint/tests ntprint_test
18515 wine_fn_config_dll objsel enable_objsel clean
18516 wine_fn_config_dll odbc32 enable_odbc32 implib
18517 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18518 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18519 wine_fn_config_dll odbccu32 enable_odbccu32
18520 wine_fn_config_dll ole2.dll16 enable_win16
18521 wine_fn_config_dll ole2conv.dll16 enable_win16
18522 wine_fn_config_dll ole2disp.dll16 enable_win16
18523 wine_fn_config_dll ole2nls.dll16 enable_win16
18524 wine_fn_config_dll ole2prox.dll16 enable_win16
18525 wine_fn_config_dll ole2thk.dll16 enable_win16
18526 wine_fn_config_dll ole32 enable_ole32 clean,implib
18527 wine_fn_config_test dlls/ole32/tests ole32_test
18528 wine_fn_config_dll oleacc enable_oleacc clean,implib
18529 wine_fn_config_test dlls/oleacc/tests oleacc_test
18530 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18531 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18532 wine_fn_config_dll olecli.dll16 enable_win16
18533 wine_fn_config_dll olecli32 enable_olecli32 implib
18534 wine_fn_config_dll oledb32 enable_oledb32 clean
18535 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18536 wine_fn_config_dll oledlg enable_oledlg clean,implib
18537 wine_fn_config_test dlls/oledlg/tests oledlg_test
18538 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18539 wine_fn_config_dll olesvr.dll16 enable_win16
18540 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18541 wine_fn_config_dll olethk32 enable_olethk32
18542 wine_fn_config_dll openal32 enable_openal32
18543 wine_fn_config_dll opencl enable_opencl
18544 wine_fn_config_dll opengl32 enable_opengl32 implib
18545 wine_fn_config_test dlls/opengl32/tests opengl32_test
18546 wine_fn_config_dll packager enable_packager clean
18547 wine_fn_config_test dlls/packager/tests packager_test
18548 wine_fn_config_dll pdh enable_pdh implib
18549 wine_fn_config_test dlls/pdh/tests pdh_test
18550 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18551 wine_fn_config_dll pidgen enable_pidgen
18552 wine_fn_config_dll powrprof enable_powrprof implib
18553 wine_fn_config_dll printui enable_printui
18554 wine_fn_config_dll prntvpt enable_prntvpt
18555 wine_fn_config_dll propsys enable_propsys clean,implib
18556 wine_fn_config_test dlls/propsys/tests propsys_test
18557 wine_fn_config_dll psapi enable_psapi implib
18558 wine_fn_config_test dlls/psapi/tests psapi_test
18559 wine_fn_config_dll pstorec enable_pstorec clean
18560 wine_fn_config_test dlls/pstorec/tests pstorec_test
18561 wine_fn_config_dll qcap enable_qcap
18562 wine_fn_config_test dlls/qcap/tests qcap_test
18563 wine_fn_config_dll qedit enable_qedit clean
18564 wine_fn_config_test dlls/qedit/tests qedit_test
18565 wine_fn_config_dll qmgr enable_qmgr clean
18566 wine_fn_config_test dlls/qmgr/tests qmgr_test
18567 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18568 wine_fn_config_dll quartz enable_quartz clean,implib
18569 wine_fn_config_test dlls/quartz/tests quartz_test clean
18570 wine_fn_config_dll query enable_query
18571 wine_fn_config_dll rasapi16.dll16 enable_win16
18572 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18573 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18574 wine_fn_config_dll rasdlg enable_rasdlg implib
18575 wine_fn_config_dll regapi enable_regapi
18576 wine_fn_config_dll resutils enable_resutils implib
18577 wine_fn_config_dll riched20 enable_riched20 clean,implib
18578 wine_fn_config_test dlls/riched20/tests riched20_test
18579 wine_fn_config_dll riched32 enable_riched32
18580 wine_fn_config_test dlls/riched32/tests riched32_test
18581 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18582 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18583 wine_fn_config_dll rsabase enable_rsabase
18584 wine_fn_config_dll rsaenh enable_rsaenh implib
18585 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18586 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18587 wine_fn_config_dll rtutils enable_rtutils implib
18588 wine_fn_config_dll samlib enable_samlib
18589 wine_fn_config_dll sane.ds enable_sane_ds clean
18590 wine_fn_config_dll scarddlg enable_scarddlg
18591 wine_fn_config_dll sccbase enable_sccbase
18592 wine_fn_config_dll schannel enable_schannel
18593 wine_fn_config_test dlls/schannel/tests schannel_test
18594 wine_fn_config_dll schedsvc enable_schedsvc clean
18595 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18596 wine_fn_config_dll scrobj enable_scrobj clean
18597 wine_fn_config_dll scrrun enable_scrrun clean
18598 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18599 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18600 wine_fn_config_dll secur32 enable_secur32 implib
18601 wine_fn_config_test dlls/secur32/tests secur32_test
18602 wine_fn_config_dll security enable_security
18603 wine_fn_config_dll sensapi enable_sensapi implib
18604 wine_fn_config_dll serialui enable_serialui clean
18605 wine_fn_config_test dlls/serialui/tests serialui_test
18606 wine_fn_config_dll setupapi enable_setupapi clean,implib
18607 wine_fn_config_test dlls/setupapi/tests setupapi_test
18608 wine_fn_config_dll setupx.dll16 enable_win16
18609 wine_fn_config_dll sfc enable_sfc implib
18610 wine_fn_config_dll sfc_os enable_sfc_os implib
18611 wine_fn_config_dll shdoclc enable_shdoclc clean
18612 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18613 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18614 wine_fn_config_dll shell.dll16 enable_win16
18615 wine_fn_config_dll shell32 enable_shell32 clean,implib
18616 wine_fn_config_test dlls/shell32/tests shell32_test
18617 wine_fn_config_dll shfolder enable_shfolder implib
18618 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18619 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18620 wine_fn_config_dll slbcsp enable_slbcsp
18621 wine_fn_config_dll slc enable_slc implib
18622 wine_fn_config_test dlls/slc/tests slc_test
18623 wine_fn_config_dll snmpapi enable_snmpapi implib
18624 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18625 wine_fn_config_dll softpub enable_softpub
18626 wine_fn_config_dll sound.drv16 enable_win16
18627 wine_fn_config_dll spoolss enable_spoolss implib
18628 wine_fn_config_test dlls/spoolss/tests spoolss_test
18629 wine_fn_config_dll sspicli enable_sspicli
18630 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18631 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18632 wine_fn_config_dll sti enable_sti clean,implib
18633 wine_fn_config_test dlls/sti/tests sti_test
18634 wine_fn_config_dll storage.dll16 enable_win16
18635 wine_fn_config_dll stress.dll16 enable_win16
18636 wine_fn_config_lib strmbase
18637 wine_fn_config_lib strmiids
18638 wine_fn_config_dll svrapi enable_svrapi
18639 wine_fn_config_dll sxs enable_sxs implib
18640 wine_fn_config_test dlls/sxs/tests sxs_test
18641 wine_fn_config_dll system.drv16 enable_win16
18642 wine_fn_config_dll t2embed enable_t2embed implib
18643 wine_fn_config_test dlls/t2embed/tests t2embed_test
18644 wine_fn_config_dll tapi32 enable_tapi32 implib
18645 wine_fn_config_dll taskschd enable_taskschd clean
18646 wine_fn_config_test dlls/taskschd/tests taskschd_test
18647 wine_fn_config_dll tdh enable_tdh
18648 wine_fn_config_dll tdi.sys enable_tdi_sys
18649 wine_fn_config_dll toolhelp.dll16 enable_win16
18650 wine_fn_config_dll traffic enable_traffic
18651 wine_fn_config_dll twain.dll16 enable_win16
18652 wine_fn_config_dll twain_32 enable_twain_32
18653 wine_fn_config_test dlls/twain_32/tests twain_32_test
18654 wine_fn_config_dll typelib.dll16 enable_win16
18655 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18656 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18657 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18658 wine_fn_config_dll unicows enable_unicows implib
18659 wine_fn_config_dll updspapi enable_updspapi
18660 wine_fn_config_dll url enable_url implib
18661 wine_fn_config_dll urlmon enable_urlmon clean,implib
18662 wine_fn_config_test dlls/urlmon/tests urlmon_test
18663 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18664 wine_fn_config_dll user.exe16 enable_win16
18665 wine_fn_config_dll user32 enable_user32 clean,implib
18666 wine_fn_config_test dlls/user32/tests user32_test
18667 wine_fn_config_dll userenv enable_userenv implib
18668 wine_fn_config_test dlls/userenv/tests userenv_test
18669 wine_fn_config_dll usp10 enable_usp10 implib
18670 wine_fn_config_test dlls/usp10/tests usp10_test
18671 wine_fn_config_lib uuid
18672 wine_fn_config_dll uxtheme enable_uxtheme implib
18673 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18674 wine_fn_config_dll vbscript enable_vbscript clean
18675 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18676 wine_fn_config_dll vcomp enable_vcomp
18677 wine_fn_config_test dlls/vcomp/tests vcomp_test
18678 wine_fn_config_dll vcomp100 enable_vcomp100
18679 wine_fn_config_dll vcomp110 enable_vcomp110
18680 wine_fn_config_dll vcomp120 enable_vcomp120
18681 wine_fn_config_dll vcomp140 enable_vcomp140
18682 wine_fn_config_dll vcomp90 enable_vcomp90
18683 wine_fn_config_dll vcruntime140 enable_vcruntime140
18684 wine_fn_config_dll vdhcp.vxd enable_win16
18685 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18686 wine_fn_config_dll ver.dll16 enable_win16
18687 wine_fn_config_dll version enable_version implib
18688 wine_fn_config_test dlls/version/tests version_test
18689 wine_fn_config_dll virtdisk enable_virtdisk
18690 wine_fn_config_dll vmm.vxd enable_win16
18691 wine_fn_config_dll vnbt.vxd enable_win16
18692 wine_fn_config_dll vnetbios.vxd enable_win16
18693 wine_fn_config_dll vssapi enable_vssapi
18694 wine_fn_config_dll vtdapi.vxd enable_win16
18695 wine_fn_config_dll vwin32.vxd enable_win16
18696 wine_fn_config_dll w32skrnl enable_win16
18697 wine_fn_config_dll w32sys.dll16 enable_win16
18698 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18699 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18700 wine_fn_config_dll wbemprox enable_wbemprox clean
18701 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18702 wine_fn_config_dll webservices enable_webservices implib
18703 wine_fn_config_test dlls/webservices/tests webservices_test
18704 wine_fn_config_dll wer enable_wer implib
18705 wine_fn_config_test dlls/wer/tests wer_test
18706 wine_fn_config_dll wevtapi enable_wevtapi
18707 wine_fn_config_dll wiaservc enable_wiaservc clean
18708 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18709 wine_fn_config_dll wimgapi enable_wimgapi
18710 wine_fn_config_dll win32s16.dll16 enable_win16
18711 wine_fn_config_dll win87em.dll16 enable_win16
18712 wine_fn_config_dll winaspi.dll16 enable_win16
18713 wine_fn_config_dll windebug.dll16 enable_win16
18714 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18715 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18716 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18717 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18718 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18719 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18720 wine_fn_config_dll winebus.sys enable_winebus_sys
18721 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18722 wine_fn_config_lib winecrt0
18723 wine_fn_config_dll wined3d enable_wined3d implib
18724 wine_fn_config_dll winegstreamer enable_winegstreamer
18725 wine_fn_config_dll winehid.sys enable_winehid_sys
18726 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18727 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18728 wine_fn_config_dll winemapi enable_winemapi
18729 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18730 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18731 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18732 wine_fn_config_dll wineps16.drv16 enable_win16
18733 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18734 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18735 wine_fn_config_dll winex11.drv enable_winex11_drv
18736 wine_fn_config_dll wing.dll16 enable_win16
18737 wine_fn_config_dll wing32 enable_wing32
18738 wine_fn_config_dll winhttp enable_winhttp clean,implib
18739 wine_fn_config_test dlls/winhttp/tests winhttp_test
18740 wine_fn_config_dll wininet enable_wininet clean,implib
18741 wine_fn_config_test dlls/wininet/tests wininet_test
18742 wine_fn_config_dll winmm enable_winmm clean,implib
18743 wine_fn_config_test dlls/winmm/tests winmm_test
18744 wine_fn_config_dll winnls.dll16 enable_win16
18745 wine_fn_config_dll winnls32 enable_winnls32 implib
18746 wine_fn_config_dll winscard enable_winscard implib
18747 wine_fn_config_dll winsock.dll16 enable_win16
18748 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18749 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18750 wine_fn_config_dll winsta enable_winsta
18751 wine_fn_config_dll wintab.dll16 enable_win16
18752 wine_fn_config_dll wintab32 enable_wintab32 implib
18753 wine_fn_config_test dlls/wintab32/tests wintab32_test
18754 wine_fn_config_dll wintrust enable_wintrust implib
18755 wine_fn_config_test dlls/wintrust/tests wintrust_test
18756 wine_fn_config_dll winusb enable_winusb
18757 wine_fn_config_dll wlanapi enable_wlanapi implib
18758 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18759 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18760 wine_fn_config_test dlls/wldap32/tests wldap32_test
18761 wine_fn_config_dll wmasf enable_wmasf
18762 wine_fn_config_dll wmi enable_wmi
18763 wine_fn_config_dll wmiutils enable_wmiutils clean
18764 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18765 wine_fn_config_dll wmp enable_wmp clean
18766 wine_fn_config_test dlls/wmp/tests wmp_test
18767 wine_fn_config_dll wmvcore enable_wmvcore implib
18768 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18769 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18770 wine_fn_config_dll wow32 enable_win16 implib
18771 wine_fn_config_dll wpc enable_wpc clean
18772 wine_fn_config_test dlls/wpc/tests wpc_test
18773 wine_fn_config_dll wpcap enable_wpcap
18774 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18775 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18776 wine_fn_config_dll wsdapi enable_wsdapi implib
18777 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18778 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18779 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18780 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18781 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18782 wine_fn_config_dll wsock32 enable_wsock32 implib
18783 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18784 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18785 wine_fn_config_dll wuapi enable_wuapi clean
18786 wine_fn_config_dll wuaueng enable_wuaueng
18787 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18788 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18789 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18790 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18791 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18792 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18793 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18794 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18795 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18796 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18797 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18798 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18799 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18800 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18801 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18802 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18803 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18804 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18805 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18806 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18807 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18808 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18809 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18810 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18811 wine_fn_config_dll xinput1_1 enable_xinput1_1
18812 wine_fn_config_dll xinput1_2 enable_xinput1_2
18813 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18814 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18815 wine_fn_config_dll xinput1_4 enable_xinput1_4
18816 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18817 wine_fn_config_dll xmllite enable_xmllite implib
18818 wine_fn_config_test dlls/xmllite/tests xmllite_test
18819 wine_fn_config_dll xolehlp enable_xolehlp
18820 wine_fn_config_dll xpsprint enable_xpsprint
18821 wine_fn_config_dll xpssvcs enable_xpssvcs
18822 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18823 wine_fn_config_makefile include enable_include clean,install-dev
18824 wine_fn_config_makefile libs/port enable_libs_port
18825 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18826 wine_fn_config_makefile libs/wpp enable_libs_wpp
18827 wine_fn_config_makefile loader enable_loader clean,install-lib
18828 wine_fn_config_makefile po enable_po clean
18829 wine_fn_config_program arp enable_arp install
18830 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18831 wine_fn_config_program attrib enable_attrib clean,install
18832 wine_fn_config_program cabarc enable_cabarc install
18833 wine_fn_config_program cacls enable_cacls install
18834 wine_fn_config_program clock enable_clock clean,install
18835 wine_fn_config_program cmd enable_cmd clean,install
18836 wine_fn_config_test programs/cmd/tests cmd.exe_test
18837 wine_fn_config_program conhost enable_conhost install
18838 wine_fn_config_program control enable_control install
18839 wine_fn_config_program cscript enable_cscript clean,install
18840 wine_fn_config_program dpnsvr enable_dpnsvr install
18841 wine_fn_config_program dxdiag enable_dxdiag clean,install
18842 wine_fn_config_program eject enable_eject install
18843 wine_fn_config_program expand enable_expand install
18844 wine_fn_config_program explorer enable_explorer clean,install
18845 wine_fn_config_program extrac32 enable_extrac32 install
18846 wine_fn_config_program findstr enable_findstr install
18847 wine_fn_config_program fsutil enable_fsutil install
18848 wine_fn_config_program hh enable_hh install
18849 wine_fn_config_program hostname enable_hostname clean,install
18850 wine_fn_config_program icacls enable_icacls install
18851 wine_fn_config_program icinfo enable_icinfo install
18852 wine_fn_config_program iexplore enable_iexplore install
18853 wine_fn_config_program ipconfig enable_ipconfig clean,install
18854 wine_fn_config_program lodctr enable_lodctr install
18855 wine_fn_config_program mofcomp enable_mofcomp install
18856 wine_fn_config_program mshta enable_mshta install
18857 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18858 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18859 wine_fn_config_program net enable_net clean,install
18860 wine_fn_config_program netsh enable_netsh install
18861 wine_fn_config_program netstat enable_netstat clean,install
18862 wine_fn_config_program ngen enable_ngen install
18863 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18864 wine_fn_config_program oleview enable_oleview clean,install
18865 wine_fn_config_program ping enable_ping install
18866 wine_fn_config_program plugplay enable_plugplay install
18867 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18868 wine_fn_config_program progman enable_progman clean,install
18869 wine_fn_config_program reg enable_reg clean,install
18870 wine_fn_config_test programs/reg/tests reg.exe_test
18871 wine_fn_config_program regasm enable_regasm install
18872 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18873 wine_fn_config_test programs/regedit/tests regedit.exe_test
18874 wine_fn_config_program regsvcs enable_regsvcs install
18875 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18876 wine_fn_config_program rpcss enable_rpcss clean,install
18877 wine_fn_config_program rundll.exe16 enable_win16 install
18878 wine_fn_config_program rundll32 enable_rundll32 install
18879 wine_fn_config_program sc enable_sc install
18880 wine_fn_config_program schtasks enable_schtasks install
18881 wine_fn_config_program sdbinst enable_sdbinst install
18882 wine_fn_config_program secedit enable_secedit install
18883 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18884 wine_fn_config_program services enable_services clean,install
18885 wine_fn_config_test programs/services/tests services.exe_test
18886 wine_fn_config_program shutdown enable_shutdown install
18887 wine_fn_config_program spoolsv enable_spoolsv install
18888 wine_fn_config_program start enable_start clean,install
18889 wine_fn_config_program subst enable_subst install
18890 wine_fn_config_program svchost enable_svchost install
18891 wine_fn_config_program systeminfo enable_systeminfo install
18892 wine_fn_config_program taskkill enable_taskkill clean,install
18893 wine_fn_config_program tasklist enable_tasklist install
18894 wine_fn_config_program taskmgr enable_taskmgr clean,install
18895 wine_fn_config_program termsv enable_termsv install
18896 wine_fn_config_program uninstaller enable_uninstaller clean,install
18897 wine_fn_config_program unlodctr enable_unlodctr install
18898 wine_fn_config_program view enable_view clean,install
18899 wine_fn_config_program wevtutil enable_wevtutil install
18900 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18901 wine_fn_config_program winebrowser enable_winebrowser install
18902 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18903 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18904 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18905 wine_fn_config_program winedevice enable_winedevice install
18906 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18907 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18908 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18909 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18910 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18911 wine_fn_config_program winetest enable_winetest clean
18912 wine_fn_config_program winevdm enable_win16 install
18913 wine_fn_config_program winhelp.exe16 enable_win16 install
18914 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18915 wine_fn_config_program winoldap.mod16 enable_win16 install
18916 wine_fn_config_program winver enable_winver install
18917 wine_fn_config_program wmic enable_wmic clean,install
18918 wine_fn_config_program wmplayer enable_wmplayer install
18919 wine_fn_config_program wordpad enable_wordpad clean,install
18920 wine_fn_config_program write enable_write clean,install
18921 wine_fn_config_program wscript enable_wscript clean,install
18922 wine_fn_config_test programs/wscript/tests wscript.exe_test
18923 wine_fn_config_program wusa enable_wusa install
18924 wine_fn_config_program xcopy enable_xcopy clean,install
18925 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18926 wine_fn_config_makefile server enable_server clean,install-lib
18927 wine_fn_config_tool tools clean
18928 wine_fn_config_tool tools/sfnt2fon clean
18929 wine_fn_config_tool tools/widl clean,install-dev
18930 wine_fn_config_tool tools/winebuild clean,install-dev
18931 wine_fn_config_tool tools/winedump clean,install-dev
18932 wine_fn_config_tool tools/winegcc clean,install-dev
18933 wine_fn_config_tool tools/winemaker clean,install-dev
18934 wine_fn_config_tool tools/wmc clean,install-dev
18935 wine_fn_config_tool tools/wrc clean,install-dev
18938 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18939 wine_fn_append_file CONFIGURE_TARGETS "tags"
18940 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18941 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18942 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18943 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18944 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18945 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18947 if test "x$enable_tools" != xno
18948 then
18949 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18950 ac_config_commands="$ac_config_commands tools/makedep"
18954 ac_config_commands="$ac_config_commands Makefile"
18957 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18961 if test "x$enable_maintainer_mode" = xyes
18962 then
18963 wine_fn_append_rule "configure: configure.ac aclocal.m4
18964 autoconf --warnings=all
18965 include/config.h.in: include/stamp-h.in
18966 include/stamp-h.in: configure.ac aclocal.m4
18967 autoheader --warnings=all
18968 @echo timestamp > \$@"
18971 if test "x$enable_tools" != xno
18972 then
18973 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18974 @./config.status tools/makedep
18975 Makefile: tools/makedep$ac_exeext"
18976 else
18977 wine_fn_append_rule "\$(MAKEDEP):
18978 @echo \"You need to run make in $TOOLSDIR first\" && false"
18981 if test -n "$with_wine64"
18982 then
18983 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18984 fonts server:
18985 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18986 $with_wine64/loader/wine:
18987 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18988 $with_wine64/loader/wine-preloader:
18989 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18990 clean::
18991 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18992 else
18993 WINELOADER_INSTALL="wine.inf"
18995 wine_fn_append_rule "install install-lib::
18996 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18997 uninstall::
18998 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18999 case $host_os in
19000 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19001 *) wine_fn_append_rule "install install-lib::
19002 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19003 uninstall::
19004 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19005 esac
19008 $as_echo " done" >&6
19009 cat >confcache <<\_ACEOF
19010 # This file is a shell script that caches the results of configure
19011 # tests run on this system so they can be shared between configure
19012 # scripts and configure runs, see configure's option --config-cache.
19013 # It is not useful on other systems. If it contains results you don't
19014 # want to keep, you may remove or edit it.
19016 # config.status only pays attention to the cache file if you give it
19017 # the --recheck option to rerun configure.
19019 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19020 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19021 # following values.
19023 _ACEOF
19025 # The following way of writing the cache mishandles newlines in values,
19026 # but we know of no workaround that is simple, portable, and efficient.
19027 # So, we kill variables containing newlines.
19028 # Ultrix sh set writes to stderr and can't be redirected directly,
19029 # and sets the high bit in the cache file unless we assign to the vars.
19031 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19032 eval ac_val=\$$ac_var
19033 case $ac_val in #(
19034 *${as_nl}*)
19035 case $ac_var in #(
19036 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19037 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19038 esac
19039 case $ac_var in #(
19040 _ | IFS | as_nl) ;; #(
19041 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19042 *) { eval $ac_var=; unset $ac_var;} ;;
19043 esac ;;
19044 esac
19045 done
19047 (set) 2>&1 |
19048 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19049 *${as_nl}ac_space=\ *)
19050 # `set' does not quote correctly, so add quotes: double-quote
19051 # substitution turns \\\\ into \\, and sed turns \\ into \.
19052 sed -n \
19053 "s/'/'\\\\''/g;
19054 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19055 ;; #(
19057 # `set' quotes correctly as required by POSIX, so do not add quotes.
19058 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19060 esac |
19061 sort
19063 sed '
19064 /^ac_cv_env_/b end
19065 t clear
19066 :clear
19067 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19068 t end
19069 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19070 :end' >>confcache
19071 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19072 if test -w "$cache_file"; then
19073 if test "x$cache_file" != "x/dev/null"; then
19074 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19075 $as_echo "$as_me: updating cache $cache_file" >&6;}
19076 if test ! -f "$cache_file" || test -h "$cache_file"; then
19077 cat confcache >"$cache_file"
19078 else
19079 case $cache_file in #(
19080 */* | ?:*)
19081 mv -f confcache "$cache_file"$$ &&
19082 mv -f "$cache_file"$$ "$cache_file" ;; #(
19084 mv -f confcache "$cache_file" ;;
19085 esac
19088 else
19089 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19090 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19093 rm -f confcache
19095 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19096 # Let make expand exec_prefix.
19097 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19099 DEFS=-DHAVE_CONFIG_H
19101 ac_libobjs=
19102 ac_ltlibobjs=
19104 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19105 # 1. Remove the extension, and $U if already installed.
19106 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19107 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19108 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19109 # will be set to the directory where LIBOBJS objects are built.
19110 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19111 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19112 done
19113 LIBOBJS=$ac_libobjs
19115 LTLIBOBJS=$ac_ltlibobjs
19119 : "${CONFIG_STATUS=./config.status}"
19120 ac_write_fail=0
19121 ac_clean_files_save=$ac_clean_files
19122 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19124 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19125 as_write_fail=0
19126 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19127 #! $SHELL
19128 # Generated by $as_me.
19129 # Run this file to recreate the current configuration.
19130 # Compiler output produced by configure, useful for debugging
19131 # configure, is in config.log if it exists.
19133 debug=false
19134 ac_cs_recheck=false
19135 ac_cs_silent=false
19137 SHELL=\${CONFIG_SHELL-$SHELL}
19138 export SHELL
19139 _ASEOF
19140 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19141 ## -------------------- ##
19142 ## M4sh Initialization. ##
19143 ## -------------------- ##
19145 # Be more Bourne compatible
19146 DUALCASE=1; export DUALCASE # for MKS sh
19147 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19148 emulate sh
19149 NULLCMD=:
19150 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19151 # is contrary to our usage. Disable this feature.
19152 alias -g '${1+"$@"}'='"$@"'
19153 setopt NO_GLOB_SUBST
19154 else
19155 case `(set -o) 2>/dev/null` in #(
19156 *posix*) :
19157 set -o posix ;; #(
19158 *) :
19160 esac
19164 as_nl='
19166 export as_nl
19167 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19168 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19169 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19170 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19171 # Prefer a ksh shell builtin over an external printf program on Solaris,
19172 # but without wasting forks for bash or zsh.
19173 if test -z "$BASH_VERSION$ZSH_VERSION" \
19174 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19175 as_echo='print -r --'
19176 as_echo_n='print -rn --'
19177 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19178 as_echo='printf %s\n'
19179 as_echo_n='printf %s'
19180 else
19181 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19182 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19183 as_echo_n='/usr/ucb/echo -n'
19184 else
19185 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19186 as_echo_n_body='eval
19187 arg=$1;
19188 case $arg in #(
19189 *"$as_nl"*)
19190 expr "X$arg" : "X\\(.*\\)$as_nl";
19191 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19192 esac;
19193 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19195 export as_echo_n_body
19196 as_echo_n='sh -c $as_echo_n_body as_echo'
19198 export as_echo_body
19199 as_echo='sh -c $as_echo_body as_echo'
19202 # The user is always right.
19203 if test "${PATH_SEPARATOR+set}" != set; then
19204 PATH_SEPARATOR=:
19205 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19206 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19207 PATH_SEPARATOR=';'
19212 # IFS
19213 # We need space, tab and new line, in precisely that order. Quoting is
19214 # there to prevent editors from complaining about space-tab.
19215 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19216 # splitting by setting IFS to empty value.)
19217 IFS=" "" $as_nl"
19219 # Find who we are. Look in the path if we contain no directory separator.
19220 as_myself=
19221 case $0 in #((
19222 *[\\/]* ) as_myself=$0 ;;
19223 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19224 for as_dir in $PATH
19226 IFS=$as_save_IFS
19227 test -z "$as_dir" && as_dir=.
19228 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19229 done
19230 IFS=$as_save_IFS
19233 esac
19234 # We did not find ourselves, most probably we were run as `sh COMMAND'
19235 # in which case we are not to be found in the path.
19236 if test "x$as_myself" = x; then
19237 as_myself=$0
19239 if test ! -f "$as_myself"; then
19240 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19241 exit 1
19244 # Unset variables that we do not need and which cause bugs (e.g. in
19245 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19246 # suppresses any "Segmentation fault" message there. '((' could
19247 # trigger a bug in pdksh 5.2.14.
19248 for as_var in BASH_ENV ENV MAIL MAILPATH
19249 do eval test x\${$as_var+set} = xset \
19250 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19251 done
19252 PS1='$ '
19253 PS2='> '
19254 PS4='+ '
19256 # NLS nuisances.
19257 LC_ALL=C
19258 export LC_ALL
19259 LANGUAGE=C
19260 export LANGUAGE
19262 # CDPATH.
19263 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19266 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19267 # ----------------------------------------
19268 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19269 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19270 # script with STATUS, using 1 if that was 0.
19271 as_fn_error ()
19273 as_status=$1; test $as_status -eq 0 && as_status=1
19274 if test "$4"; then
19275 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19276 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19278 $as_echo "$as_me: error: $2" >&2
19279 as_fn_exit $as_status
19280 } # as_fn_error
19283 # as_fn_set_status STATUS
19284 # -----------------------
19285 # Set $? to STATUS, without forking.
19286 as_fn_set_status ()
19288 return $1
19289 } # as_fn_set_status
19291 # as_fn_exit STATUS
19292 # -----------------
19293 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19294 as_fn_exit ()
19296 set +e
19297 as_fn_set_status $1
19298 exit $1
19299 } # as_fn_exit
19301 # as_fn_unset VAR
19302 # ---------------
19303 # Portably unset VAR.
19304 as_fn_unset ()
19306 { eval $1=; unset $1;}
19308 as_unset=as_fn_unset
19309 # as_fn_append VAR VALUE
19310 # ----------------------
19311 # Append the text in VALUE to the end of the definition contained in VAR. Take
19312 # advantage of any shell optimizations that allow amortized linear growth over
19313 # repeated appends, instead of the typical quadratic growth present in naive
19314 # implementations.
19315 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19316 eval 'as_fn_append ()
19318 eval $1+=\$2
19320 else
19321 as_fn_append ()
19323 eval $1=\$$1\$2
19325 fi # as_fn_append
19327 # as_fn_arith ARG...
19328 # ------------------
19329 # Perform arithmetic evaluation on the ARGs, and store the result in the
19330 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19331 # must be portable across $(()) and expr.
19332 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19333 eval 'as_fn_arith ()
19335 as_val=$(( $* ))
19337 else
19338 as_fn_arith ()
19340 as_val=`expr "$@" || test $? -eq 1`
19342 fi # as_fn_arith
19345 if expr a : '\(a\)' >/dev/null 2>&1 &&
19346 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19347 as_expr=expr
19348 else
19349 as_expr=false
19352 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19353 as_basename=basename
19354 else
19355 as_basename=false
19358 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19359 as_dirname=dirname
19360 else
19361 as_dirname=false
19364 as_me=`$as_basename -- "$0" ||
19365 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19366 X"$0" : 'X\(//\)$' \| \
19367 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19368 $as_echo X/"$0" |
19369 sed '/^.*\/\([^/][^/]*\)\/*$/{
19370 s//\1/
19373 /^X\/\(\/\/\)$/{
19374 s//\1/
19377 /^X\/\(\/\).*/{
19378 s//\1/
19381 s/.*/./; q'`
19383 # Avoid depending upon Character Ranges.
19384 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19385 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19386 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19387 as_cr_digits='0123456789'
19388 as_cr_alnum=$as_cr_Letters$as_cr_digits
19390 ECHO_C= ECHO_N= ECHO_T=
19391 case `echo -n x` in #(((((
19392 -n*)
19393 case `echo 'xy\c'` in
19394 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19395 xy) ECHO_C='\c';;
19396 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19397 ECHO_T=' ';;
19398 esac;;
19400 ECHO_N='-n';;
19401 esac
19403 rm -f conf$$ conf$$.exe conf$$.file
19404 if test -d conf$$.dir; then
19405 rm -f conf$$.dir/conf$$.file
19406 else
19407 rm -f conf$$.dir
19408 mkdir conf$$.dir 2>/dev/null
19410 if (echo >conf$$.file) 2>/dev/null; then
19411 if ln -s conf$$.file conf$$ 2>/dev/null; then
19412 as_ln_s='ln -s'
19413 # ... but there are two gotchas:
19414 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19415 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19416 # In both cases, we have to default to `cp -pR'.
19417 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19418 as_ln_s='cp -pR'
19419 elif ln conf$$.file conf$$ 2>/dev/null; then
19420 as_ln_s=ln
19421 else
19422 as_ln_s='cp -pR'
19424 else
19425 as_ln_s='cp -pR'
19427 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19428 rmdir conf$$.dir 2>/dev/null
19431 # as_fn_mkdir_p
19432 # -------------
19433 # Create "$as_dir" as a directory, including parents if necessary.
19434 as_fn_mkdir_p ()
19437 case $as_dir in #(
19438 -*) as_dir=./$as_dir;;
19439 esac
19440 test -d "$as_dir" || eval $as_mkdir_p || {
19441 as_dirs=
19442 while :; do
19443 case $as_dir in #(
19444 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19445 *) as_qdir=$as_dir;;
19446 esac
19447 as_dirs="'$as_qdir' $as_dirs"
19448 as_dir=`$as_dirname -- "$as_dir" ||
19449 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19450 X"$as_dir" : 'X\(//\)[^/]' \| \
19451 X"$as_dir" : 'X\(//\)$' \| \
19452 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19453 $as_echo X"$as_dir" |
19454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19455 s//\1/
19458 /^X\(\/\/\)[^/].*/{
19459 s//\1/
19462 /^X\(\/\/\)$/{
19463 s//\1/
19466 /^X\(\/\).*/{
19467 s//\1/
19470 s/.*/./; q'`
19471 test -d "$as_dir" && break
19472 done
19473 test -z "$as_dirs" || eval "mkdir $as_dirs"
19474 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19477 } # as_fn_mkdir_p
19478 if mkdir -p . 2>/dev/null; then
19479 as_mkdir_p='mkdir -p "$as_dir"'
19480 else
19481 test -d ./-p && rmdir ./-p
19482 as_mkdir_p=false
19486 # as_fn_executable_p FILE
19487 # -----------------------
19488 # Test if FILE is an executable regular file.
19489 as_fn_executable_p ()
19491 test -f "$1" && test -x "$1"
19492 } # as_fn_executable_p
19493 as_test_x='test -x'
19494 as_executable_p=as_fn_executable_p
19496 # Sed expression to map a string onto a valid CPP name.
19497 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19499 # Sed expression to map a string onto a valid variable name.
19500 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19503 exec 6>&1
19504 ## ----------------------------------- ##
19505 ## Main body of $CONFIG_STATUS script. ##
19506 ## ----------------------------------- ##
19507 _ASEOF
19508 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19511 # Save the log message, to keep $0 and so on meaningful, and to
19512 # report actual input values of CONFIG_FILES etc. instead of their
19513 # values after options handling.
19514 ac_log="
19515 This file was extended by Wine $as_me 2.12, which was
19516 generated by GNU Autoconf 2.69. Invocation command line was
19518 CONFIG_FILES = $CONFIG_FILES
19519 CONFIG_HEADERS = $CONFIG_HEADERS
19520 CONFIG_LINKS = $CONFIG_LINKS
19521 CONFIG_COMMANDS = $CONFIG_COMMANDS
19522 $ $0 $@
19524 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19527 _ACEOF
19529 case $ac_config_files in *"
19530 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19531 esac
19533 case $ac_config_headers in *"
19534 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19535 esac
19538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19539 # Files that config.status was made for.
19540 config_files="$ac_config_files"
19541 config_headers="$ac_config_headers"
19542 config_links="$ac_config_links"
19543 config_commands="$ac_config_commands"
19545 _ACEOF
19547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19548 ac_cs_usage="\
19549 \`$as_me' instantiates files and other configuration actions
19550 from templates according to the current configuration. Unless the files
19551 and actions are specified as TAGs, all are instantiated by default.
19553 Usage: $0 [OPTION]... [TAG]...
19555 -h, --help print this help, then exit
19556 -V, --version print version number and configuration settings, then exit
19557 --config print configuration, then exit
19558 -q, --quiet, --silent
19559 do not print progress messages
19560 -d, --debug don't remove temporary files
19561 --recheck update $as_me by reconfiguring in the same conditions
19562 --file=FILE[:TEMPLATE]
19563 instantiate the configuration file FILE
19564 --header=FILE[:TEMPLATE]
19565 instantiate the configuration header FILE
19567 Configuration files:
19568 $config_files
19570 Configuration headers:
19571 $config_headers
19573 Configuration links:
19574 $config_links
19576 Configuration commands:
19577 $config_commands
19579 Report bugs to <wine-devel@winehq.org>.
19580 Wine home page: <http://www.winehq.org>."
19582 _ACEOF
19583 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19584 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19585 ac_cs_version="\\
19586 Wine config.status 2.12
19587 configured by $0, generated by GNU Autoconf 2.69,
19588 with options \\"\$ac_cs_config\\"
19590 Copyright (C) 2012 Free Software Foundation, Inc.
19591 This config.status script is free software; the Free Software Foundation
19592 gives unlimited permission to copy, distribute and modify it."
19594 ac_pwd='$ac_pwd'
19595 srcdir='$srcdir'
19596 test -n "\$AWK" || AWK=awk
19597 _ACEOF
19599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19600 # The default lists apply if the user does not specify any file.
19601 ac_need_defaults=:
19602 while test $# != 0
19604 case $1 in
19605 --*=?*)
19606 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19607 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19608 ac_shift=:
19610 --*=)
19611 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19612 ac_optarg=
19613 ac_shift=:
19616 ac_option=$1
19617 ac_optarg=$2
19618 ac_shift=shift
19620 esac
19622 case $ac_option in
19623 # Handling of the options.
19624 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19625 ac_cs_recheck=: ;;
19626 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19627 $as_echo "$ac_cs_version"; exit ;;
19628 --config | --confi | --conf | --con | --co | --c )
19629 $as_echo "$ac_cs_config"; exit ;;
19630 --debug | --debu | --deb | --de | --d | -d )
19631 debug=: ;;
19632 --file | --fil | --fi | --f )
19633 $ac_shift
19634 case $ac_optarg in
19635 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19636 '') as_fn_error $? "missing file argument" ;;
19637 esac
19638 as_fn_append CONFIG_FILES " '$ac_optarg'"
19639 ac_need_defaults=false;;
19640 --header | --heade | --head | --hea )
19641 $ac_shift
19642 case $ac_optarg in
19643 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19644 esac
19645 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19646 ac_need_defaults=false;;
19647 --he | --h)
19648 # Conflict between --help and --header
19649 as_fn_error $? "ambiguous option: \`$1'
19650 Try \`$0 --help' for more information.";;
19651 --help | --hel | -h )
19652 $as_echo "$ac_cs_usage"; exit ;;
19653 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19654 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19655 ac_cs_silent=: ;;
19657 # This is an error.
19658 -*) as_fn_error $? "unrecognized option: \`$1'
19659 Try \`$0 --help' for more information." ;;
19661 *) as_fn_append ac_config_targets " $1"
19662 ac_need_defaults=false ;;
19664 esac
19665 shift
19666 done
19668 ac_configure_extra_args=
19670 if $ac_cs_silent; then
19671 exec 6>/dev/null
19672 ac_configure_extra_args="$ac_configure_extra_args --silent"
19675 _ACEOF
19676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19677 if \$ac_cs_recheck; then
19678 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19679 shift
19680 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19681 CONFIG_SHELL='$SHELL'
19682 export CONFIG_SHELL
19683 exec "\$@"
19686 _ACEOF
19687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19688 exec 5>>config.log
19690 echo
19691 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19692 ## Running $as_me. ##
19693 _ASBOX
19694 $as_echo "$ac_log"
19695 } >&5
19697 _ACEOF
19698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19700 # INIT-COMMANDS
19702 wine_fn_output_makedep ()
19704 as_dir=tools; as_fn_mkdir_p
19705 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19707 wine_fn_output_makefile ()
19709 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19710 `cat $wine_rules_file`
19711 _WINE_EOF
19712 as_fn_error $? "could not create Makefile" "$LINENO" 5
19715 _ACEOF
19717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19719 # Handling of arguments.
19720 for ac_config_target in $ac_config_targets
19722 case $ac_config_target in
19723 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19724 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19725 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19726 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19727 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19728 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19729 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19730 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19731 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19732 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19733 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19734 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19735 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19737 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19738 esac
19739 done
19742 # If the user did not use the arguments to specify the items to instantiate,
19743 # then the envvar interface is used. Set only those that are not.
19744 # We use the long form for the default assignment because of an extremely
19745 # bizarre bug on SunOS 4.1.3.
19746 if $ac_need_defaults; then
19747 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19748 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19749 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19750 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19753 # Have a temporary directory for convenience. Make it in the build tree
19754 # simply because there is no reason against having it here, and in addition,
19755 # creating and moving files from /tmp can sometimes cause problems.
19756 # Hook for its removal unless debugging.
19757 # Note that there is a small window in which the directory will not be cleaned:
19758 # after its creation but before its name has been assigned to `$tmp'.
19759 $debug ||
19761 tmp= ac_tmp=
19762 trap 'exit_status=$?
19763 : "${ac_tmp:=$tmp}"
19764 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19766 trap 'as_fn_exit 1' 1 2 13 15
19768 # Create a (secure) tmp directory for tmp files.
19771 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19772 test -d "$tmp"
19773 } ||
19775 tmp=./conf$$-$RANDOM
19776 (umask 077 && mkdir "$tmp")
19777 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19778 ac_tmp=$tmp
19780 # Set up the scripts for CONFIG_FILES section.
19781 # No need to generate them if there are no CONFIG_FILES.
19782 # This happens for instance with `./config.status config.h'.
19783 if test -n "$CONFIG_FILES"; then
19786 ac_cr=`echo X | tr X '\015'`
19787 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19788 # But we know of no other shell where ac_cr would be empty at this
19789 # point, so we can use a bashism as a fallback.
19790 if test "x$ac_cr" = x; then
19791 eval ac_cr=\$\'\\r\'
19793 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19794 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19795 ac_cs_awk_cr='\\r'
19796 else
19797 ac_cs_awk_cr=$ac_cr
19800 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19801 _ACEOF
19805 echo "cat >conf$$subs.awk <<_ACEOF" &&
19806 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19807 echo "_ACEOF"
19808 } >conf$$subs.sh ||
19809 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19810 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19811 ac_delim='%!_!# '
19812 for ac_last_try in false false false false false :; do
19813 . ./conf$$subs.sh ||
19814 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19816 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19817 if test $ac_delim_n = $ac_delim_num; then
19818 break
19819 elif $ac_last_try; then
19820 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19821 else
19822 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19824 done
19825 rm -f conf$$subs.sh
19827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19828 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19829 _ACEOF
19830 sed -n '
19832 s/^/S["/; s/!.*/"]=/
19835 s/^[^!]*!//
19836 :repl
19837 t repl
19838 s/'"$ac_delim"'$//
19839 t delim
19842 s/\(.\{148\}\)..*/\1/
19843 t more1
19844 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19847 b repl
19848 :more1
19849 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19852 s/.\{148\}//
19853 t nl
19854 :delim
19856 s/\(.\{148\}\)..*/\1/
19857 t more2
19858 s/["\\]/\\&/g; s/^/"/; s/$/"/
19861 :more2
19862 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19865 s/.\{148\}//
19866 t delim
19867 ' <conf$$subs.awk | sed '
19868 /^[^""]/{
19870 s/\n//
19872 ' >>$CONFIG_STATUS || ac_write_fail=1
19873 rm -f conf$$subs.awk
19874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19875 _ACAWK
19876 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19877 for (key in S) S_is_set[key] = 1
19878 FS = "\a"
19882 line = $ 0
19883 nfields = split(line, field, "@")
19884 substed = 0
19885 len = length(field[1])
19886 for (i = 2; i < nfields; i++) {
19887 key = field[i]
19888 keylen = length(key)
19889 if (S_is_set[key]) {
19890 value = S[key]
19891 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19892 len += length(value) + length(field[++i])
19893 substed = 1
19894 } else
19895 len += 1 + keylen
19898 print line
19901 _ACAWK
19902 _ACEOF
19903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19904 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19905 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19906 else
19908 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19909 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19910 _ACEOF
19912 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19913 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19914 # trailing colons and then remove the whole line if VPATH becomes empty
19915 # (actually we leave an empty line to preserve line numbers).
19916 if test "x$srcdir" = x.; then
19917 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19919 s///
19920 s/^/:/
19921 s/[ ]*$/:/
19922 s/:\$(srcdir):/:/g
19923 s/:\${srcdir}:/:/g
19924 s/:@srcdir@:/:/g
19925 s/^:*//
19926 s/:*$//
19928 s/\(=[ ]*\).*/\1/
19930 s/\n//
19931 s/^[^=]*=[ ]*$//
19935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19936 fi # test -n "$CONFIG_FILES"
19938 # Set up the scripts for CONFIG_HEADERS section.
19939 # No need to generate them if there are no CONFIG_HEADERS.
19940 # This happens for instance with `./config.status Makefile'.
19941 if test -n "$CONFIG_HEADERS"; then
19942 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19943 BEGIN {
19944 _ACEOF
19946 # Transform confdefs.h into an awk script `defines.awk', embedded as
19947 # here-document in config.status, that substitutes the proper values into
19948 # config.h.in to produce config.h.
19950 # Create a delimiter string that does not exist in confdefs.h, to ease
19951 # handling of long lines.
19952 ac_delim='%!_!# '
19953 for ac_last_try in false false :; do
19954 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19955 if test -z "$ac_tt"; then
19956 break
19957 elif $ac_last_try; then
19958 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19959 else
19960 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19962 done
19964 # For the awk script, D is an array of macro values keyed by name,
19965 # likewise P contains macro parameters if any. Preserve backslash
19966 # newline sequences.
19968 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19969 sed -n '
19970 s/.\{148\}/&'"$ac_delim"'/g
19971 t rset
19972 :rset
19973 s/^[ ]*#[ ]*define[ ][ ]*/ /
19974 t def
19976 :def
19977 s/\\$//
19978 t bsnl
19979 s/["\\]/\\&/g
19980 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19981 D["\1"]=" \3"/p
19982 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19984 :bsnl
19985 s/["\\]/\\&/g
19986 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19987 D["\1"]=" \3\\\\\\n"\\/p
19988 t cont
19989 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19990 t cont
19992 :cont
19994 s/.\{148\}/&'"$ac_delim"'/g
19995 t clear
19996 :clear
19997 s/\\$//
19998 t bsnlc
19999 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20001 :bsnlc
20002 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20003 b cont
20004 ' <confdefs.h | sed '
20005 s/'"$ac_delim"'/"\\\
20006 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20009 for (key in D) D_is_set[key] = 1
20010 FS = "\a"
20012 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20013 line = \$ 0
20014 split(line, arg, " ")
20015 if (arg[1] == "#") {
20016 defundef = arg[2]
20017 mac1 = arg[3]
20018 } else {
20019 defundef = substr(arg[1], 2)
20020 mac1 = arg[2]
20022 split(mac1, mac2, "(") #)
20023 macro = mac2[1]
20024 prefix = substr(line, 1, index(line, defundef) - 1)
20025 if (D_is_set[macro]) {
20026 # Preserve the white space surrounding the "#".
20027 print prefix "define", macro P[macro] D[macro]
20028 next
20029 } else {
20030 # Replace #undef with comments. This is necessary, for example,
20031 # in the case of _POSIX_SOURCE, which is predefined and required
20032 # on some systems where configure will not decide to define it.
20033 if (defundef == "undef") {
20034 print "/*", prefix defundef, macro, "*/"
20035 next
20039 { print }
20040 _ACAWK
20041 _ACEOF
20042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20043 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20044 fi # test -n "$CONFIG_HEADERS"
20047 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20048 shift
20049 for ac_tag
20051 case $ac_tag in
20052 :[FHLC]) ac_mode=$ac_tag; continue;;
20053 esac
20054 case $ac_mode$ac_tag in
20055 :[FHL]*:*);;
20056 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20057 :[FH]-) ac_tag=-:-;;
20058 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20059 esac
20060 ac_save_IFS=$IFS
20061 IFS=:
20062 set x $ac_tag
20063 IFS=$ac_save_IFS
20064 shift
20065 ac_file=$1
20066 shift
20068 case $ac_mode in
20069 :L) ac_source=$1;;
20070 :[FH])
20071 ac_file_inputs=
20072 for ac_f
20074 case $ac_f in
20075 -) ac_f="$ac_tmp/stdin";;
20076 *) # Look for the file first in the build tree, then in the source tree
20077 # (if the path is not absolute). The absolute path cannot be DOS-style,
20078 # because $ac_f cannot contain `:'.
20079 test -f "$ac_f" ||
20080 case $ac_f in
20081 [\\/$]*) false;;
20082 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20083 esac ||
20084 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20085 esac
20086 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20087 as_fn_append ac_file_inputs " '$ac_f'"
20088 done
20090 # Let's still pretend it is `configure' which instantiates (i.e., don't
20091 # use $as_me), people would be surprised to read:
20092 # /* config.h. Generated by config.status. */
20093 configure_input='Generated from '`
20094 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20095 `' by configure.'
20096 if test x"$ac_file" != x-; then
20097 configure_input="$ac_file. $configure_input"
20098 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20099 $as_echo "$as_me: creating $ac_file" >&6;}
20101 # Neutralize special characters interpreted by sed in replacement strings.
20102 case $configure_input in #(
20103 *\&* | *\|* | *\\* )
20104 ac_sed_conf_input=`$as_echo "$configure_input" |
20105 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20106 *) ac_sed_conf_input=$configure_input;;
20107 esac
20109 case $ac_tag in
20110 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20111 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20112 esac
20114 esac
20116 ac_dir=`$as_dirname -- "$ac_file" ||
20117 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20118 X"$ac_file" : 'X\(//\)[^/]' \| \
20119 X"$ac_file" : 'X\(//\)$' \| \
20120 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20121 $as_echo X"$ac_file" |
20122 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20123 s//\1/
20126 /^X\(\/\/\)[^/].*/{
20127 s//\1/
20130 /^X\(\/\/\)$/{
20131 s//\1/
20134 /^X\(\/\).*/{
20135 s//\1/
20138 s/.*/./; q'`
20139 as_dir="$ac_dir"; as_fn_mkdir_p
20140 ac_builddir=.
20142 case "$ac_dir" in
20143 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20145 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20146 # A ".." for each directory in $ac_dir_suffix.
20147 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20148 case $ac_top_builddir_sub in
20149 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20150 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20151 esac ;;
20152 esac
20153 ac_abs_top_builddir=$ac_pwd
20154 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20155 # for backward compatibility:
20156 ac_top_builddir=$ac_top_build_prefix
20158 case $srcdir in
20159 .) # We are building in place.
20160 ac_srcdir=.
20161 ac_top_srcdir=$ac_top_builddir_sub
20162 ac_abs_top_srcdir=$ac_pwd ;;
20163 [\\/]* | ?:[\\/]* ) # Absolute name.
20164 ac_srcdir=$srcdir$ac_dir_suffix;
20165 ac_top_srcdir=$srcdir
20166 ac_abs_top_srcdir=$srcdir ;;
20167 *) # Relative name.
20168 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20169 ac_top_srcdir=$ac_top_build_prefix$srcdir
20170 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20171 esac
20172 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20175 case $ac_mode in
20178 # CONFIG_FILE
20181 _ACEOF
20183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20184 # If the template does not know about datarootdir, expand it.
20185 # FIXME: This hack should be removed a few years after 2.60.
20186 ac_datarootdir_hack=; ac_datarootdir_seen=
20187 ac_sed_dataroot='
20188 /datarootdir/ {
20192 /@datadir@/p
20193 /@docdir@/p
20194 /@infodir@/p
20195 /@localedir@/p
20196 /@mandir@/p'
20197 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20198 *datarootdir*) ac_datarootdir_seen=yes;;
20199 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20201 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20202 _ACEOF
20203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20204 ac_datarootdir_hack='
20205 s&@datadir@&$datadir&g
20206 s&@docdir@&$docdir&g
20207 s&@infodir@&$infodir&g
20208 s&@localedir@&$localedir&g
20209 s&@mandir@&$mandir&g
20210 s&\\\${datarootdir}&$datarootdir&g' ;;
20211 esac
20212 _ACEOF
20214 # Neutralize VPATH when `$srcdir' = `.'.
20215 # Shell code in configure.ac might set extrasub.
20216 # FIXME: do we really want to maintain this feature?
20217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20218 ac_sed_extra="$ac_vpsub
20219 $extrasub
20220 _ACEOF
20221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20223 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20224 s|@configure_input@|$ac_sed_conf_input|;t t
20225 s&@top_builddir@&$ac_top_builddir_sub&;t t
20226 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20227 s&@srcdir@&$ac_srcdir&;t t
20228 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20229 s&@top_srcdir@&$ac_top_srcdir&;t t
20230 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20231 s&@builddir@&$ac_builddir&;t t
20232 s&@abs_builddir@&$ac_abs_builddir&;t t
20233 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20234 $ac_datarootdir_hack
20236 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20237 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20239 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20240 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20241 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20242 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20244 which seems to be undefined. Please make sure it is defined" >&5
20245 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20246 which seems to be undefined. Please make sure it is defined" >&2;}
20248 rm -f "$ac_tmp/stdin"
20249 case $ac_file in
20250 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20251 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20252 esac \
20253 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20257 # CONFIG_HEADER
20259 if test x"$ac_file" != x-; then
20261 $as_echo "/* $configure_input */" \
20262 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20263 } >"$ac_tmp/config.h" \
20264 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20265 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20266 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20267 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20268 else
20269 rm -f "$ac_file"
20270 mv "$ac_tmp/config.h" "$ac_file" \
20271 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20273 else
20274 $as_echo "/* $configure_input */" \
20275 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20276 || as_fn_error $? "could not create -" "$LINENO" 5
20281 # CONFIG_LINK
20284 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20286 else
20287 # Prefer the file from the source tree if names are identical.
20288 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20289 ac_source=$srcdir/$ac_source
20292 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20293 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20295 if test ! -r "$ac_source"; then
20296 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20298 rm -f "$ac_file"
20300 # Try a relative symlink, then a hard link, then a copy.
20301 case $ac_source in
20302 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20303 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20304 esac
20305 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20306 ln "$ac_source" "$ac_file" 2>/dev/null ||
20307 cp -p "$ac_source" "$ac_file" ||
20308 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20311 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20312 $as_echo "$as_me: executing $ac_file commands" >&6;}
20314 esac
20317 case $ac_file$ac_mode in
20318 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20319 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20320 "Makefile":C) wine_fn_output_makefile Makefile ;;
20322 esac
20323 done # for ac_tag
20326 as_fn_exit 0
20327 _ACEOF
20328 ac_clean_files=$ac_clean_files_save
20330 test $ac_write_fail = 0 ||
20331 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20334 # configure is writing to config.log, and then calls config.status.
20335 # config.status does its own redirection, appending to config.log.
20336 # Unfortunately, on DOS this fails, as config.log is still kept open
20337 # by configure, so config.status won't be able to write to it; its
20338 # output is simply discarded. So we exec the FD to /dev/null,
20339 # effectively closing config.log, so it can be properly (re)opened and
20340 # appended to by config.status. When coming back to configure, we
20341 # need to make the FD available again.
20342 if test "$no_create" != yes; then
20343 ac_cs_success=:
20344 ac_config_status_args=
20345 test "$silent" = yes &&
20346 ac_config_status_args="$ac_config_status_args --quiet"
20347 exec 5>/dev/null
20348 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20349 exec 5>>config.log
20350 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20351 # would make configure fail if this is the last instruction.
20352 $ac_cs_success || as_fn_exit 1
20354 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20356 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20360 if test "$no_create" = "yes"
20361 then
20362 exit 0
20365 ac_save_IFS="$IFS"
20366 if test "x$wine_notices" != x; then
20367 echo >&6
20368 IFS="|"
20369 for msg in $wine_notices; do
20370 IFS="$ac_save_IFS"
20371 if ${msg:+false} :; then :
20373 else
20374 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20375 $as_echo "$as_me: $msg" >&6;}
20377 done
20379 IFS="|"
20380 for msg in $wine_warnings; do
20381 IFS="$ac_save_IFS"
20382 if ${msg:+false} :; then :
20384 else
20385 echo >&2
20386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20387 $as_echo "$as_me: WARNING: $msg" >&2;}
20389 done
20390 IFS="$ac_save_IFS"
20392 $as_echo "
20393 $as_me: Finished. Do '${ac_make}' to compile Wine.
20394 " >&6