winex11: Add helper functions to find and register X11 clipboard formats.
[wine.git] / configure
blob809116fdada0ab83a84c47000ad1d4f7272f8d20
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.19.
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='1.9.19'
584 PACKAGE_STRING='Wine 1.9.19'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 LDEXECFLAGS
727 LDRPATH_LOCAL
728 LDRPATH_INSTALL
729 DLLFLAGS
730 dlldir
732 OPENGL_LIBS
733 ICOTOOL
734 CONVERT
735 RSVG
736 FONTFORGE
737 PKG_CONFIG
738 MSGFMT
739 LDCONFIG
740 EGREP
741 GREP
742 LN_S
743 RANLIB
744 ARFLAGS
745 STRIP
746 ac_ct_AR
748 BISON
749 FLEX
750 TOOLSDIR
751 TARGETFLAGS
753 CPPBIN
754 ac_ct_CXX
755 CXXFLAGS
757 OBJEXT
758 EXEEXT
759 ac_ct_CC
760 CPPFLAGS
761 LDFLAGS
762 CFLAGS
764 SET_MAKE
765 host_os
766 host_vendor
767 host_cpu
768 host
769 build_os
770 build_vendor
771 build_cpu
772 build
773 target_alias
774 host_alias
775 build_alias
776 LIBS
777 ECHO_T
778 ECHO_N
779 ECHO_C
780 DEFS
781 mandir
782 localedir
783 libdir
784 psdir
785 pdfdir
786 dvidir
787 htmldir
788 infodir
789 docdir
790 oldincludedir
791 includedir
792 runstatedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_win16
816 enable_win64
817 enable_tests
818 enable_maintainer_mode
819 with_alsa
820 with_capi
821 with_cms
822 with_coreaudio
823 with_cups
824 with_curses
825 with_dbus
826 with_fontconfig
827 with_freetype
828 with_gettext
829 with_gettextpo
830 with_gphoto
831 with_glu
832 with_gnutls
833 with_gsm
834 with_gstreamer
835 with_hal
836 with_jpeg
837 with_ldap
838 with_mpg123
839 with_netapi
840 with_openal
841 with_opencl
842 with_opengl
843 with_osmesa
844 with_oss
845 with_pcap
846 with_png
847 with_pthread
848 with_pulse
849 with_sane
850 with_tiff
851 with_udev
852 with_v4l
853 with_xcomposite
854 with_xcursor
855 with_xinerama
856 with_xinput
857 with_xinput2
858 with_xml
859 with_xrandr
860 with_xrender
861 with_xshape
862 with_xshm
863 with_xslt
864 with_xxf86vm
865 with_zlib
866 with_wine_tools
867 with_wine64
868 enable_largefile
869 with_x
870 enable_acledit
871 enable_aclui
872 enable_activeds
873 enable_actxprxy
874 enable_advapi32
875 enable_advpack
876 enable_amstream
877 enable_api_ms_win_core_apiquery_l1_1_0
878 enable_api_ms_win_core_atoms_l1_1_0
879 enable_api_ms_win_core_com_l1_1_0
880 enable_api_ms_win_core_com_l1_1_1
881 enable_api_ms_win_core_console_l1_1_0
882 enable_api_ms_win_core_console_l2_1_0
883 enable_api_ms_win_core_datetime_l1_1_0
884 enable_api_ms_win_core_datetime_l1_1_1
885 enable_api_ms_win_core_debug_l1_1_0
886 enable_api_ms_win_core_debug_l1_1_1
887 enable_api_ms_win_core_delayload_l1_1_0
888 enable_api_ms_win_core_delayload_l1_1_1
889 enable_api_ms_win_core_errorhandling_l1_1_0
890 enable_api_ms_win_core_errorhandling_l1_1_1
891 enable_api_ms_win_core_errorhandling_l1_1_2
892 enable_api_ms_win_core_fibers_l1_1_0
893 enable_api_ms_win_core_fibers_l1_1_1
894 enable_api_ms_win_core_file_l1_1_0
895 enable_api_ms_win_core_file_l1_2_0
896 enable_api_ms_win_core_file_l1_2_1
897 enable_api_ms_win_core_file_l2_1_0
898 enable_api_ms_win_core_file_l2_1_1
899 enable_api_ms_win_core_handle_l1_1_0
900 enable_api_ms_win_core_heap_l1_1_0
901 enable_api_ms_win_core_heap_l1_2_0
902 enable_api_ms_win_core_heap_obsolete_l1_1_0
903 enable_api_ms_win_core_interlocked_l1_1_0
904 enable_api_ms_win_core_interlocked_l1_2_0
905 enable_api_ms_win_core_io_l1_1_1
906 enable_api_ms_win_core_job_l1_1_0
907 enable_api_ms_win_core_job_l2_1_0
908 enable_api_ms_win_core_kernel32_legacy_l1_1_0
909 enable_api_ms_win_core_kernel32_legacy_l1_1_1
910 enable_api_ms_win_core_kernel32_private_l1_1_1
911 enable_api_ms_win_core_libraryloader_l1_1_0
912 enable_api_ms_win_core_libraryloader_l1_1_1
913 enable_api_ms_win_core_libraryloader_l1_2_0
914 enable_api_ms_win_core_localization_l1_1_0
915 enable_api_ms_win_core_localization_l1_2_0
916 enable_api_ms_win_core_localization_l1_2_1
917 enable_api_ms_win_core_localization_l2_1_0
918 enable_api_ms_win_core_localization_obsolete_l1_1_0
919 enable_api_ms_win_core_localization_obsolete_l1_2_0
920 enable_api_ms_win_core_localization_private_l1_1_0
921 enable_api_ms_win_core_localregistry_l1_1_0
922 enable_api_ms_win_core_memory_l1_1_0
923 enable_api_ms_win_core_memory_l1_1_1
924 enable_api_ms_win_core_memory_l1_1_2
925 enable_api_ms_win_core_misc_l1_1_0
926 enable_api_ms_win_core_namedpipe_l1_1_0
927 enable_api_ms_win_core_namedpipe_l1_2_0
928 enable_api_ms_win_core_namespace_l1_1_0
929 enable_api_ms_win_core_normalization_l1_1_0
930 enable_api_ms_win_core_path_l1_1_0
931 enable_api_ms_win_core_privateprofile_l1_1_1
932 enable_api_ms_win_core_processenvironment_l1_1_0
933 enable_api_ms_win_core_processenvironment_l1_2_0
934 enable_api_ms_win_core_processthreads_l1_1_0
935 enable_api_ms_win_core_processthreads_l1_1_1
936 enable_api_ms_win_core_processthreads_l1_1_2
937 enable_api_ms_win_core_profile_l1_1_0
938 enable_api_ms_win_core_psapi_l1_1_0
939 enable_api_ms_win_core_realtime_l1_1_0
940 enable_api_ms_win_core_registry_l1_1_0
941 enable_api_ms_win_core_registryuserspecific_l1_1_0
942 enable_api_ms_win_core_rtlsupport_l1_1_0
943 enable_api_ms_win_core_rtlsupport_l1_2_0
944 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
945 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
946 enable_api_ms_win_core_sidebyside_l1_1_0
947 enable_api_ms_win_core_string_l1_1_0
948 enable_api_ms_win_core_string_l2_1_0
949 enable_api_ms_win_core_string_obsolete_l1_1_0
950 enable_api_ms_win_core_stringansi_l1_1_0
951 enable_api_ms_win_core_synch_l1_1_0
952 enable_api_ms_win_core_synch_l1_2_0
953 enable_api_ms_win_core_sysinfo_l1_1_0
954 enable_api_ms_win_core_sysinfo_l1_2_0
955 enable_api_ms_win_core_sysinfo_l1_2_1
956 enable_api_ms_win_core_threadpool_l1_1_0
957 enable_api_ms_win_core_threadpool_l1_2_0
958 enable_api_ms_win_core_threadpool_legacy_l1_1_0
959 enable_api_ms_win_core_timezone_l1_1_0
960 enable_api_ms_win_core_toolhelp_l1_1_0
961 enable_api_ms_win_core_url_l1_1_0
962 enable_api_ms_win_core_util_l1_1_0
963 enable_api_ms_win_core_version_l1_1_0
964 enable_api_ms_win_core_versionansi_l1_1_0
965 enable_api_ms_win_core_windowserrorreporting_l1_1_0
966 enable_api_ms_win_core_winrt_error_l1_1_0
967 enable_api_ms_win_core_winrt_error_l1_1_1
968 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
969 enable_api_ms_win_core_winrt_l1_1_0
970 enable_api_ms_win_core_winrt_registration_l1_1_0
971 enable_api_ms_win_core_winrt_string_l1_1_0
972 enable_api_ms_win_core_wow64_l1_1_0
973 enable_api_ms_win_core_xstate_l2_1_0
974 enable_api_ms_win_crt_conio_l1_1_0
975 enable_api_ms_win_crt_convert_l1_1_0
976 enable_api_ms_win_crt_environment_l1_1_0
977 enable_api_ms_win_crt_filesystem_l1_1_0
978 enable_api_ms_win_crt_heap_l1_1_0
979 enable_api_ms_win_crt_locale_l1_1_0
980 enable_api_ms_win_crt_math_l1_1_0
981 enable_api_ms_win_crt_multibyte_l1_1_0
982 enable_api_ms_win_crt_private_l1_1_0
983 enable_api_ms_win_crt_process_l1_1_0
984 enable_api_ms_win_crt_runtime_l1_1_0
985 enable_api_ms_win_crt_stdio_l1_1_0
986 enable_api_ms_win_crt_string_l1_1_0
987 enable_api_ms_win_crt_time_l1_1_0
988 enable_api_ms_win_crt_utility_l1_1_0
989 enable_api_ms_win_downlevel_advapi32_l1_1_0
990 enable_api_ms_win_downlevel_advapi32_l2_1_0
991 enable_api_ms_win_downlevel_normaliz_l1_1_0
992 enable_api_ms_win_downlevel_ole32_l1_1_0
993 enable_api_ms_win_downlevel_shell32_l1_1_0
994 enable_api_ms_win_downlevel_shlwapi_l1_1_0
995 enable_api_ms_win_downlevel_shlwapi_l2_1_0
996 enable_api_ms_win_downlevel_user32_l1_1_0
997 enable_api_ms_win_downlevel_version_l1_1_0
998 enable_api_ms_win_eventing_classicprovider_l1_1_0
999 enable_api_ms_win_eventing_provider_l1_1_0
1000 enable_api_ms_win_eventlog_legacy_l1_1_0
1001 enable_api_ms_win_ntuser_dc_access_l1_1_0
1002 enable_api_ms_win_security_base_l1_1_0
1003 enable_api_ms_win_security_base_l1_2_0
1004 enable_api_ms_win_security_lsalookup_l1_1_0
1005 enable_api_ms_win_security_lsalookup_l1_1_1
1006 enable_api_ms_win_security_sddl_l1_1_0
1007 enable_api_ms_win_service_core_l1_1_1
1008 enable_api_ms_win_service_management_l1_1_0
1009 enable_api_ms_win_service_winsvc_l1_2_0
1010 enable_api_ms_win_shell_shellcom_l1_1_0
1011 enable_api_ms_win_shell_shellfolders_l1_1_0
1012 enable_apphelp
1013 enable_appwiz_cpl
1014 enable_atl
1015 enable_atl100
1016 enable_atl110
1017 enable_atl80
1018 enable_atl90
1019 enable_authz
1020 enable_avicap32
1021 enable_avifil32
1022 enable_avrt
1023 enable_bcrypt
1024 enable_bluetoothapis
1025 enable_browseui
1026 enable_bthprops_cpl
1027 enable_cabinet
1028 enable_capi2032
1029 enable_cards
1030 enable_cfgmgr32
1031 enable_clusapi
1032 enable_combase
1033 enable_comcat
1034 enable_comctl32
1035 enable_comdlg32
1036 enable_compstui
1037 enable_comsvcs
1038 enable_concrt140
1039 enable_connect
1040 enable_credui
1041 enable_crtdll
1042 enable_crypt32
1043 enable_cryptdlg
1044 enable_cryptdll
1045 enable_cryptext
1046 enable_cryptnet
1047 enable_cryptui
1048 enable_ctapi32
1049 enable_ctl3d32
1050 enable_d2d1
1051 enable_d3d10
1052 enable_d3d10_1
1053 enable_d3d10core
1054 enable_d3d11
1055 enable_d3d8
1056 enable_d3d9
1057 enable_d3dcompiler_33
1058 enable_d3dcompiler_34
1059 enable_d3dcompiler_35
1060 enable_d3dcompiler_36
1061 enable_d3dcompiler_37
1062 enable_d3dcompiler_38
1063 enable_d3dcompiler_39
1064 enable_d3dcompiler_40
1065 enable_d3dcompiler_41
1066 enable_d3dcompiler_42
1067 enable_d3dcompiler_43
1068 enable_d3dcompiler_46
1069 enable_d3dcompiler_47
1070 enable_d3dim
1071 enable_d3drm
1072 enable_d3dx10_33
1073 enable_d3dx10_34
1074 enable_d3dx10_35
1075 enable_d3dx10_36
1076 enable_d3dx10_37
1077 enable_d3dx10_38
1078 enable_d3dx10_39
1079 enable_d3dx10_40
1080 enable_d3dx10_41
1081 enable_d3dx10_42
1082 enable_d3dx10_43
1083 enable_d3dx11_42
1084 enable_d3dx11_43
1085 enable_d3dx9_24
1086 enable_d3dx9_25
1087 enable_d3dx9_26
1088 enable_d3dx9_27
1089 enable_d3dx9_28
1090 enable_d3dx9_29
1091 enable_d3dx9_30
1092 enable_d3dx9_31
1093 enable_d3dx9_32
1094 enable_d3dx9_33
1095 enable_d3dx9_34
1096 enable_d3dx9_35
1097 enable_d3dx9_36
1098 enable_d3dx9_37
1099 enable_d3dx9_38
1100 enable_d3dx9_39
1101 enable_d3dx9_40
1102 enable_d3dx9_41
1103 enable_d3dx9_42
1104 enable_d3dx9_43
1105 enable_d3dxof
1106 enable_davclnt
1107 enable_dbgeng
1108 enable_dbghelp
1109 enable_dciman32
1110 enable_ddraw
1111 enable_ddrawex
1112 enable_devenum
1113 enable_dhcpcsvc
1114 enable_difxapi
1115 enable_dinput
1116 enable_dinput8
1117 enable_dispex
1118 enable_dmband
1119 enable_dmcompos
1120 enable_dmime
1121 enable_dmloader
1122 enable_dmscript
1123 enable_dmstyle
1124 enable_dmsynth
1125 enable_dmusic
1126 enable_dmusic32
1127 enable_dnsapi
1128 enable_dplay
1129 enable_dplayx
1130 enable_dpnaddr
1131 enable_dpnet
1132 enable_dpnhpast
1133 enable_dpnlobby
1134 enable_dpvoice
1135 enable_dpwsockx
1136 enable_drmclien
1137 enable_dsound
1138 enable_dssenh
1139 enable_dswave
1140 enable_dwmapi
1141 enable_dwrite
1142 enable_dxdiagn
1143 enable_dxgi
1144 enable_dxva2
1145 enable_esent
1146 enable_evr
1147 enable_explorerframe
1148 enable_ext_ms_win_gdi_devcaps_l1_1_0
1149 enable_faultrep
1150 enable_fltlib
1151 enable_fltmgr_sys
1152 enable_fntcache
1153 enable_fontsub
1154 enable_fusion
1155 enable_fwpuclnt
1156 enable_gameux
1157 enable_gdi32
1158 enable_gdiplus
1159 enable_glu32
1160 enable_gphoto2_ds
1161 enable_gpkcsp
1162 enable_hal
1163 enable_hhctrl_ocx
1164 enable_hid
1165 enable_hidclass_sys
1166 enable_hlink
1167 enable_hnetcfg
1168 enable_httpapi
1169 enable_iccvid
1170 enable_icmp
1171 enable_ieframe
1172 enable_imaadp32_acm
1173 enable_imagehlp
1174 enable_imm32
1175 enable_inetcomm
1176 enable_inetcpl_cpl
1177 enable_inetmib1
1178 enable_infosoft
1179 enable_initpki
1180 enable_inkobj
1181 enable_inseng
1182 enable_iphlpapi
1183 enable_iprop
1184 enable_irprops_cpl
1185 enable_itircl
1186 enable_itss
1187 enable_joy_cpl
1188 enable_jscript
1189 enable_jsproxy
1190 enable_kernel32
1191 enable_kernelbase
1192 enable_ksuser
1193 enable_ktmw32
1194 enable_loadperf
1195 enable_localspl
1196 enable_localui
1197 enable_lz32
1198 enable_mapi32
1199 enable_mapistub
1200 enable_mciavi32
1201 enable_mcicda
1202 enable_mciqtz32
1203 enable_mciseq
1204 enable_mciwave
1205 enable_mf
1206 enable_mfplat
1207 enable_mfreadwrite
1208 enable_mgmtapi
1209 enable_midimap
1210 enable_mlang
1211 enable_mmcndmgr
1212 enable_mmdevapi
1213 enable_mountmgr_sys
1214 enable_mpr
1215 enable_mprapi
1216 enable_msacm32_drv
1217 enable_msacm32
1218 enable_msadp32_acm
1219 enable_msasn1
1220 enable_mscat32
1221 enable_mscms
1222 enable_mscoree
1223 enable_msctf
1224 enable_msctfp
1225 enable_msdaps
1226 enable_msdelta
1227 enable_msdmo
1228 enable_msdrm
1229 enable_msftedit
1230 enable_msg711_acm
1231 enable_msgsm32_acm
1232 enable_mshtml_tlb
1233 enable_mshtml
1234 enable_msi
1235 enable_msident
1236 enable_msimg32
1237 enable_msimsg
1238 enable_msimtf
1239 enable_msisip
1240 enable_msisys_ocx
1241 enable_msls31
1242 enable_msnet32
1243 enable_mspatcha
1244 enable_msports
1245 enable_msrle32
1246 enable_msscript_ocx
1247 enable_mssign32
1248 enable_mssip32
1249 enable_mstask
1250 enable_msvcirt
1251 enable_msvcm80
1252 enable_msvcm90
1253 enable_msvcp100
1254 enable_msvcp110
1255 enable_msvcp120
1256 enable_msvcp120_app
1257 enable_msvcp140
1258 enable_msvcp60
1259 enable_msvcp70
1260 enable_msvcp71
1261 enable_msvcp80
1262 enable_msvcp90
1263 enable_msvcr100
1264 enable_msvcr110
1265 enable_msvcr120
1266 enable_msvcr120_app
1267 enable_msvcr70
1268 enable_msvcr71
1269 enable_msvcr80
1270 enable_msvcr90
1271 enable_msvcrt
1272 enable_msvcrt20
1273 enable_msvcrt40
1274 enable_msvcrtd
1275 enable_msvfw32
1276 enable_msvidc32
1277 enable_mswsock
1278 enable_msxml
1279 enable_msxml2
1280 enable_msxml3
1281 enable_msxml4
1282 enable_msxml6
1283 enable_ncrypt
1284 enable_nddeapi
1285 enable_ndis_sys
1286 enable_netapi32
1287 enable_netcfgx
1288 enable_netprofm
1289 enable_newdev
1290 enable_normaliz
1291 enable_npmshtml
1292 enable_npptools
1293 enable_ntdll
1294 enable_ntdsapi
1295 enable_ntoskrnl_exe
1296 enable_ntprint
1297 enable_objsel
1298 enable_odbc32
1299 enable_odbccp32
1300 enable_odbccu32
1301 enable_ole32
1302 enable_oleacc
1303 enable_oleaut32
1304 enable_olecli32
1305 enable_oledb32
1306 enable_oledlg
1307 enable_olepro32
1308 enable_olesvr32
1309 enable_olethk32
1310 enable_openal32
1311 enable_opencl
1312 enable_opengl32
1313 enable_packager
1314 enable_pdh
1315 enable_photometadatahandler
1316 enable_pidgen
1317 enable_powrprof
1318 enable_printui
1319 enable_prntvpt
1320 enable_propsys
1321 enable_psapi
1322 enable_pstorec
1323 enable_qcap
1324 enable_qedit
1325 enable_qmgr
1326 enable_qmgrprxy
1327 enable_quartz
1328 enable_query
1329 enable_rasapi32
1330 enable_rasdlg
1331 enable_regapi
1332 enable_resutils
1333 enable_riched20
1334 enable_riched32
1335 enable_rpcrt4
1336 enable_rsabase
1337 enable_rsaenh
1338 enable_rstrtmgr
1339 enable_rtutils
1340 enable_samlib
1341 enable_sane_ds
1342 enable_scarddlg
1343 enable_sccbase
1344 enable_schannel
1345 enable_schedsvc
1346 enable_scrrun
1347 enable_scsiport_sys
1348 enable_secur32
1349 enable_security
1350 enable_sensapi
1351 enable_serialui
1352 enable_setupapi
1353 enable_sfc
1354 enable_sfc_os
1355 enable_shdoclc
1356 enable_shdocvw
1357 enable_shell32
1358 enable_shfolder
1359 enable_shlwapi
1360 enable_slbcsp
1361 enable_slc
1362 enable_snmpapi
1363 enable_softpub
1364 enable_spoolss
1365 enable_sspicli
1366 enable_stdole2_tlb
1367 enable_stdole32_tlb
1368 enable_sti
1369 enable_svrapi
1370 enable_sxs
1371 enable_t2embed
1372 enable_tapi32
1373 enable_taskschd
1374 enable_tdi_sys
1375 enable_traffic
1376 enable_twain_32
1377 enable_ucrtbase
1378 enable_unicows
1379 enable_updspapi
1380 enable_url
1381 enable_urlmon
1382 enable_usbd_sys
1383 enable_user32
1384 enable_userenv
1385 enable_usp10
1386 enable_uxtheme
1387 enable_vbscript
1388 enable_vcomp
1389 enable_vcomp100
1390 enable_vcomp110
1391 enable_vcomp120
1392 enable_vcomp140
1393 enable_vcomp90
1394 enable_vcruntime140
1395 enable_vdmdbg
1396 enable_version
1397 enable_vssapi
1398 enable_wbemdisp
1399 enable_wbemprox
1400 enable_webservices
1401 enable_wer
1402 enable_wevtapi
1403 enable_wiaservc
1404 enable_wimgapi
1405 enable_windowscodecs
1406 enable_windowscodecsext
1407 enable_winealsa_drv
1408 enable_winebus_sys
1409 enable_winecoreaudio_drv
1410 enable_wined3d
1411 enable_winegstreamer
1412 enable_winejoystick_drv
1413 enable_winemac_drv
1414 enable_winemapi
1415 enable_winemp3_acm
1416 enable_wineoss_drv
1417 enable_wineps_drv
1418 enable_winepulse_drv
1419 enable_wineqtdecoder
1420 enable_winex11_drv
1421 enable_wing32
1422 enable_winhttp
1423 enable_wininet
1424 enable_winmm
1425 enable_winnls32
1426 enable_winscard
1427 enable_winspool_drv
1428 enable_winsta
1429 enable_wintab32
1430 enable_wintrust
1431 enable_wlanapi
1432 enable_wldap32
1433 enable_wmasf
1434 enable_wmi
1435 enable_wmiutils
1436 enable_wmp
1437 enable_wmvcore
1438 enable_wnaspi32
1439 enable_wpc
1440 enable_wpcap
1441 enable_ws2_32
1442 enable_wshom_ocx
1443 enable_wsnmp32
1444 enable_wsock32
1445 enable_wtsapi32
1446 enable_wuapi
1447 enable_wuaueng
1448 enable_x3daudio1_0
1449 enable_x3daudio1_1
1450 enable_x3daudio1_2
1451 enable_x3daudio1_3
1452 enable_x3daudio1_4
1453 enable_x3daudio1_5
1454 enable_x3daudio1_6
1455 enable_x3daudio1_7
1456 enable_xapofx1_1
1457 enable_xapofx1_2
1458 enable_xapofx1_3
1459 enable_xapofx1_4
1460 enable_xapofx1_5
1461 enable_xaudio2_0
1462 enable_xaudio2_1
1463 enable_xaudio2_2
1464 enable_xaudio2_3
1465 enable_xaudio2_4
1466 enable_xaudio2_5
1467 enable_xaudio2_6
1468 enable_xaudio2_7
1469 enable_xaudio2_8
1470 enable_xaudio2_9
1471 enable_xinput1_1
1472 enable_xinput1_2
1473 enable_xinput1_3
1474 enable_xinput1_4
1475 enable_xinput9_1_0
1476 enable_xmllite
1477 enable_xolehlp
1478 enable_xpsprint
1479 enable_xpssvcs
1480 enable_fonts
1481 enable_include
1482 enable_libs_port
1483 enable_libs_wine
1484 enable_libs_wpp
1485 enable_loader
1486 enable_po
1487 enable_arp
1488 enable_aspnet_regiis
1489 enable_attrib
1490 enable_cabarc
1491 enable_cacls
1492 enable_clock
1493 enable_cmd
1494 enable_conhost
1495 enable_control
1496 enable_cscript
1497 enable_dpnsvr
1498 enable_dxdiag
1499 enable_eject
1500 enable_expand
1501 enable_explorer
1502 enable_extrac32
1503 enable_findstr
1504 enable_fsutil
1505 enable_hh
1506 enable_hostname
1507 enable_icacls
1508 enable_icinfo
1509 enable_iexplore
1510 enable_ipconfig
1511 enable_lodctr
1512 enable_mofcomp
1513 enable_mshta
1514 enable_msiexec
1515 enable_msinfo32
1516 enable_net
1517 enable_netsh
1518 enable_netstat
1519 enable_ngen
1520 enable_notepad
1521 enable_oleview
1522 enable_ping
1523 enable_plugplay
1524 enable_presentationfontcache
1525 enable_progman
1526 enable_reg
1527 enable_regasm
1528 enable_regedit
1529 enable_regsvcs
1530 enable_regsvr32
1531 enable_rpcss
1532 enable_rundll32
1533 enable_sc
1534 enable_schtasks
1535 enable_sdbinst
1536 enable_secedit
1537 enable_servicemodelreg
1538 enable_services
1539 enable_shutdown
1540 enable_spoolsv
1541 enable_start
1542 enable_svchost
1543 enable_systeminfo
1544 enable_taskkill
1545 enable_tasklist
1546 enable_taskmgr
1547 enable_termsv
1548 enable_uninstaller
1549 enable_unlodctr
1550 enable_view
1551 enable_wevtutil
1552 enable_wineboot
1553 enable_winebrowser
1554 enable_winecfg
1555 enable_wineconsole
1556 enable_winedbg
1557 enable_winedevice
1558 enable_winefile
1559 enable_winemenubuilder
1560 enable_winemine
1561 enable_winemsibuilder
1562 enable_winepath
1563 enable_winetest
1564 enable_winhlp32
1565 enable_winver
1566 enable_wmic
1567 enable_wmplayer
1568 enable_wordpad
1569 enable_write
1570 enable_wscript
1571 enable_wusa
1572 enable_xcopy
1573 enable_server
1574 enable_tools
1576 ac_precious_vars='build_alias
1577 host_alias
1578 target_alias
1580 CFLAGS
1581 LDFLAGS
1582 LIBS
1583 CPPFLAGS
1585 CXXFLAGS
1588 XMKMF
1589 XML2_CFLAGS
1590 XML2_LIBS
1591 XSLT_CFLAGS
1592 XSLT_LIBS
1593 DBUS_CFLAGS
1594 DBUS_LIBS
1595 HAL_CFLAGS
1596 HAL_LIBS
1597 GNUTLS_CFLAGS
1598 GNUTLS_LIBS
1599 SANE_CFLAGS
1600 SANE_LIBS
1601 GPHOTO2_CFLAGS
1602 GPHOTO2_LIBS
1603 GPHOTO2_PORT_CFLAGS
1604 GPHOTO2_PORT_LIBS
1605 LCMS2_CFLAGS
1606 LCMS2_LIBS
1607 FREETYPE_CFLAGS
1608 FREETYPE_LIBS
1609 PULSE_CFLAGS
1610 PULSE_LIBS
1611 GSTREAMER_CFLAGS
1612 GSTREAMER_LIBS
1613 UDEV_CFLAGS
1614 UDEV_LIBS
1615 CAPI20_CFLAGS
1616 CAPI20_LIBS
1617 FONTCONFIG_CFLAGS
1618 FONTCONFIG_LIBS
1619 JPEG_CFLAGS
1620 JPEG_LIBS
1621 PNG_CFLAGS
1622 PNG_LIBS
1623 TIFF_CFLAGS
1624 TIFF_LIBS
1625 MPG123_CFLAGS
1626 MPG123_LIBS
1627 NETAPI_CFLAGS
1628 NETAPI_LIBS'
1631 # Initialize some variables set by options.
1632 ac_init_help=
1633 ac_init_version=false
1634 ac_unrecognized_opts=
1635 ac_unrecognized_sep=
1636 # The variables have the same names as the options, with
1637 # dashes changed to underlines.
1638 cache_file=/dev/null
1639 exec_prefix=NONE
1640 no_create=
1641 no_recursion=
1642 prefix=NONE
1643 program_prefix=NONE
1644 program_suffix=NONE
1645 program_transform_name=s,x,x,
1646 silent=
1647 site=
1648 srcdir=
1649 verbose=
1650 x_includes=NONE
1651 x_libraries=NONE
1653 # Installation directory options.
1654 # These are left unexpanded so users can "make install exec_prefix=/foo"
1655 # and all the variables that are supposed to be based on exec_prefix
1656 # by default will actually change.
1657 # Use braces instead of parens because sh, perl, etc. also accept them.
1658 # (The list follows the same order as the GNU Coding Standards.)
1659 bindir='${exec_prefix}/bin'
1660 sbindir='${exec_prefix}/sbin'
1661 libexecdir='${exec_prefix}/libexec'
1662 datarootdir='${prefix}/share'
1663 datadir='${datarootdir}'
1664 sysconfdir='${prefix}/etc'
1665 sharedstatedir='${prefix}/com'
1666 localstatedir='${prefix}/var'
1667 runstatedir='${localstatedir}/run'
1668 includedir='${prefix}/include'
1669 oldincludedir='/usr/include'
1670 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1671 infodir='${datarootdir}/info'
1672 htmldir='${docdir}'
1673 dvidir='${docdir}'
1674 pdfdir='${docdir}'
1675 psdir='${docdir}'
1676 libdir='${exec_prefix}/lib'
1677 localedir='${datarootdir}/locale'
1678 mandir='${datarootdir}/man'
1680 ac_prev=
1681 ac_dashdash=
1682 for ac_option
1684 # If the previous option needs an argument, assign it.
1685 if test -n "$ac_prev"; then
1686 eval $ac_prev=\$ac_option
1687 ac_prev=
1688 continue
1691 case $ac_option in
1692 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1693 *=) ac_optarg= ;;
1694 *) ac_optarg=yes ;;
1695 esac
1697 # Accept the important Cygnus configure options, so we can diagnose typos.
1699 case $ac_dashdash$ac_option in
1701 ac_dashdash=yes ;;
1703 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1704 ac_prev=bindir ;;
1705 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1706 bindir=$ac_optarg ;;
1708 -build | --build | --buil | --bui | --bu)
1709 ac_prev=build_alias ;;
1710 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1711 build_alias=$ac_optarg ;;
1713 -cache-file | --cache-file | --cache-fil | --cache-fi \
1714 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1715 ac_prev=cache_file ;;
1716 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1717 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1718 cache_file=$ac_optarg ;;
1720 --config-cache | -C)
1721 cache_file=config.cache ;;
1723 -datadir | --datadir | --datadi | --datad)
1724 ac_prev=datadir ;;
1725 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1726 datadir=$ac_optarg ;;
1728 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1729 | --dataroo | --dataro | --datar)
1730 ac_prev=datarootdir ;;
1731 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1732 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1733 datarootdir=$ac_optarg ;;
1735 -disable-* | --disable-*)
1736 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1737 # Reject names that are not valid shell variable names.
1738 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1739 as_fn_error $? "invalid feature name: $ac_useropt"
1740 ac_useropt_orig=$ac_useropt
1741 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1742 case $ac_user_opts in
1744 "enable_$ac_useropt"
1745 "*) ;;
1746 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1747 ac_unrecognized_sep=', ';;
1748 esac
1749 eval enable_$ac_useropt=no ;;
1751 -docdir | --docdir | --docdi | --doc | --do)
1752 ac_prev=docdir ;;
1753 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1754 docdir=$ac_optarg ;;
1756 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1757 ac_prev=dvidir ;;
1758 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1759 dvidir=$ac_optarg ;;
1761 -enable-* | --enable-*)
1762 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1763 # Reject names that are not valid shell variable names.
1764 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1765 as_fn_error $? "invalid feature name: $ac_useropt"
1766 ac_useropt_orig=$ac_useropt
1767 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1768 case $ac_user_opts in
1770 "enable_$ac_useropt"
1771 "*) ;;
1772 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1773 ac_unrecognized_sep=', ';;
1774 esac
1775 eval enable_$ac_useropt=\$ac_optarg ;;
1777 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1778 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1779 | --exec | --exe | --ex)
1780 ac_prev=exec_prefix ;;
1781 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1782 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1783 | --exec=* | --exe=* | --ex=*)
1784 exec_prefix=$ac_optarg ;;
1786 -gas | --gas | --ga | --g)
1787 # Obsolete; use --with-gas.
1788 with_gas=yes ;;
1790 -help | --help | --hel | --he | -h)
1791 ac_init_help=long ;;
1792 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1793 ac_init_help=recursive ;;
1794 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1795 ac_init_help=short ;;
1797 -host | --host | --hos | --ho)
1798 ac_prev=host_alias ;;
1799 -host=* | --host=* | --hos=* | --ho=*)
1800 host_alias=$ac_optarg ;;
1802 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1803 ac_prev=htmldir ;;
1804 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1805 | --ht=*)
1806 htmldir=$ac_optarg ;;
1808 -includedir | --includedir | --includedi | --included | --include \
1809 | --includ | --inclu | --incl | --inc)
1810 ac_prev=includedir ;;
1811 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1812 | --includ=* | --inclu=* | --incl=* | --inc=*)
1813 includedir=$ac_optarg ;;
1815 -infodir | --infodir | --infodi | --infod | --info | --inf)
1816 ac_prev=infodir ;;
1817 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1818 infodir=$ac_optarg ;;
1820 -libdir | --libdir | --libdi | --libd)
1821 ac_prev=libdir ;;
1822 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1823 libdir=$ac_optarg ;;
1825 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1826 | --libexe | --libex | --libe)
1827 ac_prev=libexecdir ;;
1828 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1829 | --libexe=* | --libex=* | --libe=*)
1830 libexecdir=$ac_optarg ;;
1832 -localedir | --localedir | --localedi | --localed | --locale)
1833 ac_prev=localedir ;;
1834 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1835 localedir=$ac_optarg ;;
1837 -localstatedir | --localstatedir | --localstatedi | --localstated \
1838 | --localstate | --localstat | --localsta | --localst | --locals)
1839 ac_prev=localstatedir ;;
1840 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1841 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1842 localstatedir=$ac_optarg ;;
1844 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1845 ac_prev=mandir ;;
1846 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1847 mandir=$ac_optarg ;;
1849 -nfp | --nfp | --nf)
1850 # Obsolete; use --without-fp.
1851 with_fp=no ;;
1853 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1854 | --no-cr | --no-c | -n)
1855 no_create=yes ;;
1857 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1858 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1859 no_recursion=yes ;;
1861 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1862 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1863 | --oldin | --oldi | --old | --ol | --o)
1864 ac_prev=oldincludedir ;;
1865 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1866 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1867 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1868 oldincludedir=$ac_optarg ;;
1870 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1871 ac_prev=prefix ;;
1872 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1873 prefix=$ac_optarg ;;
1875 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1876 | --program-pre | --program-pr | --program-p)
1877 ac_prev=program_prefix ;;
1878 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1879 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1880 program_prefix=$ac_optarg ;;
1882 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1883 | --program-suf | --program-su | --program-s)
1884 ac_prev=program_suffix ;;
1885 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1886 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1887 program_suffix=$ac_optarg ;;
1889 -program-transform-name | --program-transform-name \
1890 | --program-transform-nam | --program-transform-na \
1891 | --program-transform-n | --program-transform- \
1892 | --program-transform | --program-transfor \
1893 | --program-transfo | --program-transf \
1894 | --program-trans | --program-tran \
1895 | --progr-tra | --program-tr | --program-t)
1896 ac_prev=program_transform_name ;;
1897 -program-transform-name=* | --program-transform-name=* \
1898 | --program-transform-nam=* | --program-transform-na=* \
1899 | --program-transform-n=* | --program-transform-=* \
1900 | --program-transform=* | --program-transfor=* \
1901 | --program-transfo=* | --program-transf=* \
1902 | --program-trans=* | --program-tran=* \
1903 | --progr-tra=* | --program-tr=* | --program-t=*)
1904 program_transform_name=$ac_optarg ;;
1906 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1907 ac_prev=pdfdir ;;
1908 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1909 pdfdir=$ac_optarg ;;
1911 -psdir | --psdir | --psdi | --psd | --ps)
1912 ac_prev=psdir ;;
1913 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1914 psdir=$ac_optarg ;;
1916 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1917 | -silent | --silent | --silen | --sile | --sil)
1918 silent=yes ;;
1920 -runstatedir | --runstatedir | --runstatedi | --runstated \
1921 | --runstate | --runstat | --runsta | --runst | --runs \
1922 | --run | --ru | --r)
1923 ac_prev=runstatedir ;;
1924 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1925 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1926 | --run=* | --ru=* | --r=*)
1927 runstatedir=$ac_optarg ;;
1929 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1930 ac_prev=sbindir ;;
1931 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1932 | --sbi=* | --sb=*)
1933 sbindir=$ac_optarg ;;
1935 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1936 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1937 | --sharedst | --shareds | --shared | --share | --shar \
1938 | --sha | --sh)
1939 ac_prev=sharedstatedir ;;
1940 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1941 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1942 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1943 | --sha=* | --sh=*)
1944 sharedstatedir=$ac_optarg ;;
1946 -site | --site | --sit)
1947 ac_prev=site ;;
1948 -site=* | --site=* | --sit=*)
1949 site=$ac_optarg ;;
1951 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1952 ac_prev=srcdir ;;
1953 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1954 srcdir=$ac_optarg ;;
1956 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1957 | --syscon | --sysco | --sysc | --sys | --sy)
1958 ac_prev=sysconfdir ;;
1959 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1960 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1961 sysconfdir=$ac_optarg ;;
1963 -target | --target | --targe | --targ | --tar | --ta | --t)
1964 ac_prev=target_alias ;;
1965 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1966 target_alias=$ac_optarg ;;
1968 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1969 verbose=yes ;;
1971 -version | --version | --versio | --versi | --vers | -V)
1972 ac_init_version=: ;;
1974 -with-* | --with-*)
1975 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1976 # Reject names that are not valid shell variable names.
1977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1978 as_fn_error $? "invalid package name: $ac_useropt"
1979 ac_useropt_orig=$ac_useropt
1980 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1981 case $ac_user_opts in
1983 "with_$ac_useropt"
1984 "*) ;;
1985 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1986 ac_unrecognized_sep=', ';;
1987 esac
1988 eval with_$ac_useropt=\$ac_optarg ;;
1990 -without-* | --without-*)
1991 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1992 # Reject names that are not valid shell variable names.
1993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1994 as_fn_error $? "invalid package name: $ac_useropt"
1995 ac_useropt_orig=$ac_useropt
1996 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1997 case $ac_user_opts in
1999 "with_$ac_useropt"
2000 "*) ;;
2001 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2002 ac_unrecognized_sep=', ';;
2003 esac
2004 eval with_$ac_useropt=no ;;
2006 --x)
2007 # Obsolete; use --with-x.
2008 with_x=yes ;;
2010 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2011 | --x-incl | --x-inc | --x-in | --x-i)
2012 ac_prev=x_includes ;;
2013 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2014 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2015 x_includes=$ac_optarg ;;
2017 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2018 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2019 ac_prev=x_libraries ;;
2020 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2021 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2022 x_libraries=$ac_optarg ;;
2024 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2025 Try \`$0 --help' for more information"
2028 *=*)
2029 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2030 # Reject names that are not valid shell variable names.
2031 case $ac_envvar in #(
2032 '' | [0-9]* | *[!_$as_cr_alnum]* )
2033 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2034 esac
2035 eval $ac_envvar=\$ac_optarg
2036 export $ac_envvar ;;
2039 # FIXME: should be removed in autoconf 3.0.
2040 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2041 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2042 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2043 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2046 esac
2047 done
2049 if test -n "$ac_prev"; then
2050 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2051 as_fn_error $? "missing argument to $ac_option"
2054 if test -n "$ac_unrecognized_opts"; then
2055 case $enable_option_checking in
2056 no) ;;
2057 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2058 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2059 esac
2062 # Check all directory arguments for consistency.
2063 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2064 datadir sysconfdir sharedstatedir localstatedir includedir \
2065 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2066 libdir localedir mandir runstatedir
2068 eval ac_val=\$$ac_var
2069 # Remove trailing slashes.
2070 case $ac_val in
2071 */ )
2072 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2073 eval $ac_var=\$ac_val;;
2074 esac
2075 # Be sure to have absolute directory names.
2076 case $ac_val in
2077 [\\/$]* | ?:[\\/]* ) continue;;
2078 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2079 esac
2080 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2081 done
2083 # There might be people who depend on the old broken behavior: `$host'
2084 # used to hold the argument of --host etc.
2085 # FIXME: To remove some day.
2086 build=$build_alias
2087 host=$host_alias
2088 target=$target_alias
2090 # FIXME: To remove some day.
2091 if test "x$host_alias" != x; then
2092 if test "x$build_alias" = x; then
2093 cross_compiling=maybe
2094 elif test "x$build_alias" != "x$host_alias"; then
2095 cross_compiling=yes
2099 ac_tool_prefix=
2100 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2102 test "$silent" = yes && exec 6>/dev/null
2105 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2106 ac_ls_di=`ls -di .` &&
2107 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2108 as_fn_error $? "working directory cannot be determined"
2109 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2110 as_fn_error $? "pwd does not report name of working directory"
2113 # Find the source files, if location was not specified.
2114 if test -z "$srcdir"; then
2115 ac_srcdir_defaulted=yes
2116 # Try the directory containing this script, then the parent directory.
2117 ac_confdir=`$as_dirname -- "$as_myself" ||
2118 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2119 X"$as_myself" : 'X\(//\)[^/]' \| \
2120 X"$as_myself" : 'X\(//\)$' \| \
2121 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2122 $as_echo X"$as_myself" |
2123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2124 s//\1/
2127 /^X\(\/\/\)[^/].*/{
2128 s//\1/
2131 /^X\(\/\/\)$/{
2132 s//\1/
2135 /^X\(\/\).*/{
2136 s//\1/
2139 s/.*/./; q'`
2140 srcdir=$ac_confdir
2141 if test ! -r "$srcdir/$ac_unique_file"; then
2142 srcdir=..
2144 else
2145 ac_srcdir_defaulted=no
2147 if test ! -r "$srcdir/$ac_unique_file"; then
2148 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2149 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2151 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2152 ac_abs_confdir=`(
2153 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2154 pwd)`
2155 # When building in place, set srcdir=.
2156 if test "$ac_abs_confdir" = "$ac_pwd"; then
2157 srcdir=.
2159 # Remove unnecessary trailing slashes from srcdir.
2160 # Double slashes in file names in object file debugging info
2161 # mess up M-x gdb in Emacs.
2162 case $srcdir in
2163 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2164 esac
2165 for ac_var in $ac_precious_vars; do
2166 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2167 eval ac_env_${ac_var}_value=\$${ac_var}
2168 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2169 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2170 done
2173 # Report the --help message.
2175 if test "$ac_init_help" = "long"; then
2176 # Omit some internal or obsolete options to make the list less imposing.
2177 # This message is too long to be a string in the A/UX 3.1 sh.
2178 cat <<_ACEOF
2179 \`configure' configures Wine 1.9.19 to adapt to many kinds of systems.
2181 Usage: $0 [OPTION]... [VAR=VALUE]...
2183 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2184 VAR=VALUE. See below for descriptions of some of the useful variables.
2186 Defaults for the options are specified in brackets.
2188 Configuration:
2189 -h, --help display this help and exit
2190 --help=short display options specific to this package
2191 --help=recursive display the short help of all the included packages
2192 -V, --version display version information and exit
2193 -q, --quiet, --silent do not print \`checking ...' messages
2194 --cache-file=FILE cache test results in FILE [disabled]
2195 -C, --config-cache alias for \`--cache-file=config.cache'
2196 -n, --no-create do not create output files
2197 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2199 Installation directories:
2200 --prefix=PREFIX install architecture-independent files in PREFIX
2201 [$ac_default_prefix]
2202 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2203 [PREFIX]
2205 By default, \`make install' will install all the files in
2206 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2207 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2208 for instance \`--prefix=\$HOME'.
2210 For better control, use the options below.
2212 Fine tuning of the installation directories:
2213 --bindir=DIR user executables [EPREFIX/bin]
2214 --sbindir=DIR system admin executables [EPREFIX/sbin]
2215 --libexecdir=DIR program executables [EPREFIX/libexec]
2216 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2217 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2218 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2219 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2220 --libdir=DIR object code libraries [EPREFIX/lib]
2221 --includedir=DIR C header files [PREFIX/include]
2222 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2223 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2224 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2225 --infodir=DIR info documentation [DATAROOTDIR/info]
2226 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2227 --mandir=DIR man documentation [DATAROOTDIR/man]
2228 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2229 --htmldir=DIR html documentation [DOCDIR]
2230 --dvidir=DIR dvi documentation [DOCDIR]
2231 --pdfdir=DIR pdf documentation [DOCDIR]
2232 --psdir=DIR ps documentation [DOCDIR]
2233 _ACEOF
2235 cat <<\_ACEOF
2237 X features:
2238 --x-includes=DIR X include files are in DIR
2239 --x-libraries=DIR X library files are in DIR
2241 System types:
2242 --build=BUILD configure for building on BUILD [guessed]
2243 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2244 _ACEOF
2247 if test -n "$ac_init_help"; then
2248 case $ac_init_help in
2249 short | recursive ) echo "Configuration of Wine 1.9.19:";;
2250 esac
2251 cat <<\_ACEOF
2253 Optional Features:
2254 --disable-option-checking ignore unrecognized --enable/--with options
2255 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2256 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2257 --disable-win16 do not include Win16 support
2258 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2259 binaries)
2260 --disable-tests do not build the regression tests
2261 --enable-maintainer-mode
2262 enable maintainer-specific build rules
2263 --disable-largefile omit support for large files
2265 Optional Packages:
2266 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2267 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2268 --without-alsa do not use the Alsa sound support
2269 --without-capi do not use CAPI (ISDN support)
2270 --without-cms do not use CMS (color management support)
2271 --without-coreaudio do not use the CoreAudio sound support
2272 --without-cups do not use CUPS
2273 --without-curses do not use (n)curses
2274 --without-dbus do not use DBus (dynamic device support)
2275 --without-fontconfig do not use fontconfig
2276 --without-freetype do not use the FreeType library
2277 --without-gettext do not use gettext
2278 --with-gettextpo use the GetTextPO library to rebuild po files
2279 --without-gphoto do not use gphoto (Digital Camera support)
2280 --without-glu do not use the GLU library
2281 --without-gnutls do not use GnuTLS (schannel support)
2282 --without-gsm do not use libgsm (GSM 06.10 codec support)
2283 --without-gstreamer do not use GStreamer (codecs support)
2284 --without-hal do not use HAL (dynamic device support)
2285 --without-jpeg do not use JPEG
2286 --without-ldap do not use LDAP
2287 --without-mpg123 do not use the mpg123 library
2288 --without-netapi do not use the Samba NetAPI library
2289 --without-openal do not use OpenAL
2290 --without-opencl do not use OpenCL
2291 --without-opengl do not use OpenGL
2292 --without-osmesa do not use the OSMesa library
2293 --without-oss do not use the OSS sound support
2294 --without-pcap do not use the Packet Capture library
2295 --without-png do not use PNG
2296 --without-pthread do not use the pthread library
2297 --without-pulse do not use PulseAudio sound support
2298 --without-sane do not use SANE (scanner support)
2299 --without-tiff do not use TIFF
2300 --without-udev do not use udev (plug and play support)
2301 --without-v4l do not use v4l1 (v4l support)
2302 --without-xcomposite do not use the Xcomposite extension
2303 --without-xcursor do not use the Xcursor extension
2304 --without-xinerama do not use Xinerama (multi-monitor support)
2305 --without-xinput do not use the Xinput extension
2306 --without-xinput2 do not use the Xinput 2 extension
2307 --without-xml do not use XML
2308 --without-xrandr do not use Xrandr (resolution changes)
2309 --without-xrender do not use the Xrender extension
2310 --without-xshape do not use the Xshape extension
2311 --without-xshm do not use XShm (shared memory extension)
2312 --without-xslt do not use XSLT
2313 --without-xxf86vm do not use XFree video mode extension
2314 --without-zlib do not use Zlib (data compression)
2315 --with-wine-tools=DIR use Wine tools from directory DIR
2316 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2317 --with-x use the X Window System
2319 Some influential environment variables:
2320 CC C compiler command
2321 CFLAGS C compiler flags
2322 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2323 nonstandard directory <lib dir>
2324 LIBS libraries to pass to the linker, e.g. -l<library>
2325 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2326 you have headers in a nonstandard directory <include dir>
2327 CXX C++ compiler command
2328 CXXFLAGS C++ compiler flags
2329 CPP C preprocessor
2330 XMKMF Path to xmkmf, Makefile generator for X Window System
2331 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2332 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2333 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2334 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2335 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2336 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2337 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2338 HAL_LIBS Linker flags for hal, overriding pkg-config
2339 GNUTLS_CFLAGS
2340 C compiler flags for gnutls, overriding pkg-config
2341 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2342 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2343 SANE_LIBS Linker flags for libsane, overriding pkg-config
2344 GPHOTO2_CFLAGS
2345 C compiler flags for libgphoto2, overriding pkg-config
2346 GPHOTO2_LIBS
2347 Linker flags for libgphoto2, overriding pkg-config
2348 GPHOTO2_PORT_CFLAGS
2349 C compiler flags for libgphoto2_port, overriding pkg-config
2350 GPHOTO2_PORT_LIBS
2351 Linker flags for libgphoto2_port, overriding pkg-config
2352 LCMS2_CFLAGS
2353 C compiler flags for lcms2, overriding pkg-config
2354 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2355 FREETYPE_CFLAGS
2356 C compiler flags for freetype2, overriding pkg-config
2357 FREETYPE_LIBS
2358 Linker flags for freetype2, overriding pkg-config
2359 PULSE_CFLAGS
2360 C compiler flags for libpulse, overriding pkg-config
2361 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2362 GSTREAMER_CFLAGS
2363 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2364 gstreamer-audio-1.0, overriding pkg-config
2365 GSTREAMER_LIBS
2366 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2367 gstreamer-audio-1.0, overriding pkg-config
2368 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2369 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2370 CAPI20_CFLAGS
2371 C compiler flags for capi20, overriding pkg-config
2372 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2373 FONTCONFIG_CFLAGS
2374 C compiler flags for fontconfig, overriding pkg-config
2375 FONTCONFIG_LIBS
2376 Linker flags for fontconfig, overriding pkg-config
2377 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2378 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2379 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2380 PNG_LIBS Linker flags for libpng, overriding pkg-config
2381 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2382 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2383 MPG123_CFLAGS
2384 C compiler flags for libmpg123, overriding pkg-config
2385 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2386 NETAPI_CFLAGS
2387 C compiler flags for netapi, overriding pkg-config
2388 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2390 Use these variables to override the choices made by `configure' or to help
2391 it to find libraries and programs with nonstandard names/locations.
2393 Report bugs to <wine-devel@winehq.org>.
2394 Wine home page: <http://www.winehq.org>.
2395 _ACEOF
2396 ac_status=$?
2399 if test "$ac_init_help" = "recursive"; then
2400 # If there are subdirs, report their specific --help.
2401 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2402 test -d "$ac_dir" ||
2403 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2404 continue
2405 ac_builddir=.
2407 case "$ac_dir" in
2408 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2410 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2411 # A ".." for each directory in $ac_dir_suffix.
2412 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2413 case $ac_top_builddir_sub in
2414 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2415 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2416 esac ;;
2417 esac
2418 ac_abs_top_builddir=$ac_pwd
2419 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2420 # for backward compatibility:
2421 ac_top_builddir=$ac_top_build_prefix
2423 case $srcdir in
2424 .) # We are building in place.
2425 ac_srcdir=.
2426 ac_top_srcdir=$ac_top_builddir_sub
2427 ac_abs_top_srcdir=$ac_pwd ;;
2428 [\\/]* | ?:[\\/]* ) # Absolute name.
2429 ac_srcdir=$srcdir$ac_dir_suffix;
2430 ac_top_srcdir=$srcdir
2431 ac_abs_top_srcdir=$srcdir ;;
2432 *) # Relative name.
2433 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2434 ac_top_srcdir=$ac_top_build_prefix$srcdir
2435 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2436 esac
2437 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2439 cd "$ac_dir" || { ac_status=$?; continue; }
2440 # Check for guested configure.
2441 if test -f "$ac_srcdir/configure.gnu"; then
2442 echo &&
2443 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2444 elif test -f "$ac_srcdir/configure"; then
2445 echo &&
2446 $SHELL "$ac_srcdir/configure" --help=recursive
2447 else
2448 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2449 fi || ac_status=$?
2450 cd "$ac_pwd" || { ac_status=$?; break; }
2451 done
2454 test -n "$ac_init_help" && exit $ac_status
2455 if $ac_init_version; then
2456 cat <<\_ACEOF
2457 Wine configure 1.9.19
2458 generated by GNU Autoconf 2.69
2460 Copyright (C) 2012 Free Software Foundation, Inc.
2461 This configure script is free software; the Free Software Foundation
2462 gives unlimited permission to copy, distribute and modify it.
2463 _ACEOF
2464 exit
2467 ## ------------------------ ##
2468 ## Autoconf initialization. ##
2469 ## ------------------------ ##
2471 # ac_fn_c_try_compile LINENO
2472 # --------------------------
2473 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2474 ac_fn_c_try_compile ()
2476 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2477 rm -f conftest.$ac_objext
2478 if { { ac_try="$ac_compile"
2479 case "(($ac_try" in
2480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2481 *) ac_try_echo=$ac_try;;
2482 esac
2483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2484 $as_echo "$ac_try_echo"; } >&5
2485 (eval "$ac_compile") 2>conftest.err
2486 ac_status=$?
2487 if test -s conftest.err; then
2488 grep -v '^ *+' conftest.err >conftest.er1
2489 cat conftest.er1 >&5
2490 mv -f conftest.er1 conftest.err
2492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2493 test $ac_status = 0; } && {
2494 test -z "$ac_c_werror_flag" ||
2495 test ! -s conftest.err
2496 } && test -s conftest.$ac_objext; then :
2497 ac_retval=0
2498 else
2499 $as_echo "$as_me: failed program was:" >&5
2500 sed 's/^/| /' conftest.$ac_ext >&5
2502 ac_retval=1
2504 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2505 as_fn_set_status $ac_retval
2507 } # ac_fn_c_try_compile
2509 # ac_fn_cxx_try_compile LINENO
2510 # ----------------------------
2511 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2512 ac_fn_cxx_try_compile ()
2514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2515 rm -f conftest.$ac_objext
2516 if { { ac_try="$ac_compile"
2517 case "(($ac_try" in
2518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2519 *) ac_try_echo=$ac_try;;
2520 esac
2521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2522 $as_echo "$ac_try_echo"; } >&5
2523 (eval "$ac_compile") 2>conftest.err
2524 ac_status=$?
2525 if test -s conftest.err; then
2526 grep -v '^ *+' conftest.err >conftest.er1
2527 cat conftest.er1 >&5
2528 mv -f conftest.er1 conftest.err
2530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2531 test $ac_status = 0; } && {
2532 test -z "$ac_cxx_werror_flag" ||
2533 test ! -s conftest.err
2534 } && test -s conftest.$ac_objext; then :
2535 ac_retval=0
2536 else
2537 $as_echo "$as_me: failed program was:" >&5
2538 sed 's/^/| /' conftest.$ac_ext >&5
2540 ac_retval=1
2542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2543 as_fn_set_status $ac_retval
2545 } # ac_fn_cxx_try_compile
2547 # ac_fn_c_try_link LINENO
2548 # -----------------------
2549 # Try to link conftest.$ac_ext, and return whether this succeeded.
2550 ac_fn_c_try_link ()
2552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2553 rm -f conftest.$ac_objext conftest$ac_exeext
2554 if { { ac_try="$ac_link"
2555 case "(($ac_try" in
2556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2557 *) ac_try_echo=$ac_try;;
2558 esac
2559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2560 $as_echo "$ac_try_echo"; } >&5
2561 (eval "$ac_link") 2>conftest.err
2562 ac_status=$?
2563 if test -s conftest.err; then
2564 grep -v '^ *+' conftest.err >conftest.er1
2565 cat conftest.er1 >&5
2566 mv -f conftest.er1 conftest.err
2568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2569 test $ac_status = 0; } && {
2570 test -z "$ac_c_werror_flag" ||
2571 test ! -s conftest.err
2572 } && test -s conftest$ac_exeext && {
2573 test "$cross_compiling" = yes ||
2574 test -x conftest$ac_exeext
2575 }; then :
2576 ac_retval=0
2577 else
2578 $as_echo "$as_me: failed program was:" >&5
2579 sed 's/^/| /' conftest.$ac_ext >&5
2581 ac_retval=1
2583 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2584 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2585 # interfere with the next link command; also delete a directory that is
2586 # left behind by Apple's compiler. We do this before executing the actions.
2587 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2589 as_fn_set_status $ac_retval
2591 } # ac_fn_c_try_link
2593 # ac_fn_c_try_cpp LINENO
2594 # ----------------------
2595 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2596 ac_fn_c_try_cpp ()
2598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2599 if { { ac_try="$ac_cpp conftest.$ac_ext"
2600 case "(($ac_try" in
2601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2603 esac
2604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2605 $as_echo "$ac_try_echo"; } >&5
2606 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2607 ac_status=$?
2608 if test -s conftest.err; then
2609 grep -v '^ *+' conftest.err >conftest.er1
2610 cat conftest.er1 >&5
2611 mv -f conftest.er1 conftest.err
2613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2614 test $ac_status = 0; } > conftest.i && {
2615 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2616 test ! -s conftest.err
2617 }; then :
2618 ac_retval=0
2619 else
2620 $as_echo "$as_me: failed program was:" >&5
2621 sed 's/^/| /' conftest.$ac_ext >&5
2623 ac_retval=1
2625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2626 as_fn_set_status $ac_retval
2628 } # ac_fn_c_try_cpp
2630 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2631 # -------------------------------------------------------
2632 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2633 # the include files in INCLUDES and setting the cache variable VAR
2634 # accordingly.
2635 ac_fn_c_check_header_mongrel ()
2637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2638 if eval \${$3+:} false; then :
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2640 $as_echo_n "checking for $2... " >&6; }
2641 if eval \${$3+:} false; then :
2642 $as_echo_n "(cached) " >&6
2644 eval ac_res=\$$3
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2646 $as_echo "$ac_res" >&6; }
2647 else
2648 # Is the header compilable?
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2650 $as_echo_n "checking $2 usability... " >&6; }
2651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2652 /* end confdefs.h. */
2654 #include <$2>
2655 _ACEOF
2656 if ac_fn_c_try_compile "$LINENO"; then :
2657 ac_header_compiler=yes
2658 else
2659 ac_header_compiler=no
2661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2663 $as_echo "$ac_header_compiler" >&6; }
2665 # Is the header present?
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2667 $as_echo_n "checking $2 presence... " >&6; }
2668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2669 /* end confdefs.h. */
2670 #include <$2>
2671 _ACEOF
2672 if ac_fn_c_try_cpp "$LINENO"; then :
2673 ac_header_preproc=yes
2674 else
2675 ac_header_preproc=no
2677 rm -f conftest.err conftest.i conftest.$ac_ext
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2679 $as_echo "$ac_header_preproc" >&6; }
2681 # So? What about this header?
2682 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2683 yes:no: )
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2685 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2687 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2689 no:yes:* )
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2691 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2693 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2695 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2697 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2699 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2700 ( $as_echo "## ------------------------------------ ##
2701 ## Report this to wine-devel@winehq.org ##
2702 ## ------------------------------------ ##"
2703 ) | sed "s/^/$as_me: WARNING: /" >&2
2705 esac
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2707 $as_echo_n "checking for $2... " >&6; }
2708 if eval \${$3+:} false; then :
2709 $as_echo_n "(cached) " >&6
2710 else
2711 eval "$3=\$ac_header_compiler"
2713 eval ac_res=\$$3
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2715 $as_echo "$ac_res" >&6; }
2717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2719 } # ac_fn_c_check_header_mongrel
2721 # ac_fn_c_try_run LINENO
2722 # ----------------------
2723 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2724 # that executables *can* be run.
2725 ac_fn_c_try_run ()
2727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2728 if { { ac_try="$ac_link"
2729 case "(($ac_try" in
2730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2731 *) ac_try_echo=$ac_try;;
2732 esac
2733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2734 $as_echo "$ac_try_echo"; } >&5
2735 (eval "$ac_link") 2>&5
2736 ac_status=$?
2737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2738 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2739 { { case "(($ac_try" in
2740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2741 *) ac_try_echo=$ac_try;;
2742 esac
2743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2744 $as_echo "$ac_try_echo"; } >&5
2745 (eval "$ac_try") 2>&5
2746 ac_status=$?
2747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2748 test $ac_status = 0; }; }; then :
2749 ac_retval=0
2750 else
2751 $as_echo "$as_me: program exited with status $ac_status" >&5
2752 $as_echo "$as_me: failed program was:" >&5
2753 sed 's/^/| /' conftest.$ac_ext >&5
2755 ac_retval=$ac_status
2757 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2759 as_fn_set_status $ac_retval
2761 } # ac_fn_c_try_run
2763 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2764 # -------------------------------------------------------
2765 # Tests whether HEADER exists and can be compiled using the include files in
2766 # INCLUDES, setting the cache variable VAR accordingly.
2767 ac_fn_c_check_header_compile ()
2769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2771 $as_echo_n "checking for $2... " >&6; }
2772 if eval \${$3+:} false; then :
2773 $as_echo_n "(cached) " >&6
2774 else
2775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2776 /* end confdefs.h. */
2778 #include <$2>
2779 _ACEOF
2780 if ac_fn_c_try_compile "$LINENO"; then :
2781 eval "$3=yes"
2782 else
2783 eval "$3=no"
2785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2787 eval ac_res=\$$3
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2789 $as_echo "$ac_res" >&6; }
2790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2792 } # ac_fn_c_check_header_compile
2794 # ac_fn_c_check_func LINENO FUNC VAR
2795 # ----------------------------------
2796 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2797 ac_fn_c_check_func ()
2799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2801 $as_echo_n "checking for $2... " >&6; }
2802 if eval \${$3+:} false; then :
2803 $as_echo_n "(cached) " >&6
2804 else
2805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2806 /* end confdefs.h. */
2807 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2809 #define $2 innocuous_$2
2811 /* System header to define __stub macros and hopefully few prototypes,
2812 which can conflict with char $2 (); below.
2813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2814 <limits.h> exists even on freestanding compilers. */
2816 #ifdef __STDC__
2817 # include <limits.h>
2818 #else
2819 # include <assert.h>
2820 #endif
2822 #undef $2
2824 /* Override any GCC internal prototype to avoid an error.
2825 Use char because int might match the return type of a GCC
2826 builtin and then its argument prototype would still apply. */
2827 #ifdef __cplusplus
2828 extern "C"
2829 #endif
2830 char $2 ();
2831 /* The GNU C library defines this for functions which it implements
2832 to always fail with ENOSYS. Some functions are actually named
2833 something starting with __ and the normal name is an alias. */
2834 #if defined __stub_$2 || defined __stub___$2
2835 choke me
2836 #endif
2839 main ()
2841 return $2 ();
2843 return 0;
2845 _ACEOF
2846 if ac_fn_c_try_link "$LINENO"; then :
2847 eval "$3=yes"
2848 else
2849 eval "$3=no"
2851 rm -f core conftest.err conftest.$ac_objext \
2852 conftest$ac_exeext conftest.$ac_ext
2854 eval ac_res=\$$3
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2856 $as_echo "$ac_res" >&6; }
2857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2859 } # ac_fn_c_check_func
2861 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2862 # ----------------------------------------------------
2863 # Tries to find if the field MEMBER exists in type AGGR, after including
2864 # INCLUDES, setting cache variable VAR accordingly.
2865 ac_fn_c_check_member ()
2867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2869 $as_echo_n "checking for $2.$3... " >&6; }
2870 if eval \${$4+:} false; then :
2871 $as_echo_n "(cached) " >&6
2872 else
2873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2874 /* end confdefs.h. */
2877 main ()
2879 static $2 ac_aggr;
2880 if (ac_aggr.$3)
2881 return 0;
2883 return 0;
2885 _ACEOF
2886 if ac_fn_c_try_compile "$LINENO"; then :
2887 eval "$4=yes"
2888 else
2889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2890 /* end confdefs.h. */
2893 main ()
2895 static $2 ac_aggr;
2896 if (sizeof ac_aggr.$3)
2897 return 0;
2899 return 0;
2901 _ACEOF
2902 if ac_fn_c_try_compile "$LINENO"; then :
2903 eval "$4=yes"
2904 else
2905 eval "$4=no"
2907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911 eval ac_res=\$$4
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2913 $as_echo "$ac_res" >&6; }
2914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2916 } # ac_fn_c_check_member
2918 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2919 # -------------------------------------------
2920 # Tests whether TYPE exists after having included INCLUDES, setting cache
2921 # variable VAR accordingly.
2922 ac_fn_c_check_type ()
2924 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2926 $as_echo_n "checking for $2... " >&6; }
2927 if eval \${$3+:} false; then :
2928 $as_echo_n "(cached) " >&6
2929 else
2930 eval "$3=no"
2931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2932 /* end confdefs.h. */
2935 main ()
2937 if (sizeof ($2))
2938 return 0;
2940 return 0;
2942 _ACEOF
2943 if ac_fn_c_try_compile "$LINENO"; then :
2944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2945 /* end confdefs.h. */
2948 main ()
2950 if (sizeof (($2)))
2951 return 0;
2953 return 0;
2955 _ACEOF
2956 if ac_fn_c_try_compile "$LINENO"; then :
2958 else
2959 eval "$3=yes"
2961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2965 eval ac_res=\$$3
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2967 $as_echo "$ac_res" >&6; }
2968 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2970 } # ac_fn_c_check_type
2971 cat >config.log <<_ACEOF
2972 This file contains any messages produced by compilers while
2973 running configure, to aid debugging if configure makes a mistake.
2975 It was created by Wine $as_me 1.9.19, which was
2976 generated by GNU Autoconf 2.69. Invocation command line was
2978 $ $0 $@
2980 _ACEOF
2981 exec 5>>config.log
2983 cat <<_ASUNAME
2984 ## --------- ##
2985 ## Platform. ##
2986 ## --------- ##
2988 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2989 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2990 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2991 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2992 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2994 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2995 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2997 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2998 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2999 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3000 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3001 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3002 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3003 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3005 _ASUNAME
3007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3008 for as_dir in $PATH
3010 IFS=$as_save_IFS
3011 test -z "$as_dir" && as_dir=.
3012 $as_echo "PATH: $as_dir"
3013 done
3014 IFS=$as_save_IFS
3016 } >&5
3018 cat >&5 <<_ACEOF
3021 ## ----------- ##
3022 ## Core tests. ##
3023 ## ----------- ##
3025 _ACEOF
3028 # Keep a trace of the command line.
3029 # Strip out --no-create and --no-recursion so they do not pile up.
3030 # Strip out --silent because we don't want to record it for future runs.
3031 # Also quote any args containing shell meta-characters.
3032 # Make two passes to allow for proper duplicate-argument suppression.
3033 ac_configure_args=
3034 ac_configure_args0=
3035 ac_configure_args1=
3036 ac_must_keep_next=false
3037 for ac_pass in 1 2
3039 for ac_arg
3041 case $ac_arg in
3042 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3043 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3044 | -silent | --silent | --silen | --sile | --sil)
3045 continue ;;
3046 *\'*)
3047 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3048 esac
3049 case $ac_pass in
3050 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3052 as_fn_append ac_configure_args1 " '$ac_arg'"
3053 if test $ac_must_keep_next = true; then
3054 ac_must_keep_next=false # Got value, back to normal.
3055 else
3056 case $ac_arg in
3057 *=* | --config-cache | -C | -disable-* | --disable-* \
3058 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3059 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3060 | -with-* | --with-* | -without-* | --without-* | --x)
3061 case "$ac_configure_args0 " in
3062 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3063 esac
3065 -* ) ac_must_keep_next=true ;;
3066 esac
3068 as_fn_append ac_configure_args " '$ac_arg'"
3070 esac
3071 done
3072 done
3073 { ac_configure_args0=; unset ac_configure_args0;}
3074 { ac_configure_args1=; unset ac_configure_args1;}
3076 # When interrupted or exit'd, cleanup temporary files, and complete
3077 # config.log. We remove comments because anyway the quotes in there
3078 # would cause problems or look ugly.
3079 # WARNING: Use '\'' to represent an apostrophe within the trap.
3080 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3081 trap 'exit_status=$?
3082 # Save into config.log some information that might help in debugging.
3084 echo
3086 $as_echo "## ---------------- ##
3087 ## Cache variables. ##
3088 ## ---------------- ##"
3089 echo
3090 # The following way of writing the cache mishandles newlines in values,
3092 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3093 eval ac_val=\$$ac_var
3094 case $ac_val in #(
3095 *${as_nl}*)
3096 case $ac_var in #(
3097 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3098 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3099 esac
3100 case $ac_var in #(
3101 _ | IFS | as_nl) ;; #(
3102 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3103 *) { eval $ac_var=; unset $ac_var;} ;;
3104 esac ;;
3105 esac
3106 done
3107 (set) 2>&1 |
3108 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3109 *${as_nl}ac_space=\ *)
3110 sed -n \
3111 "s/'\''/'\''\\\\'\'''\''/g;
3112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3113 ;; #(
3115 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3117 esac |
3118 sort
3120 echo
3122 $as_echo "## ----------------- ##
3123 ## Output variables. ##
3124 ## ----------------- ##"
3125 echo
3126 for ac_var in $ac_subst_vars
3128 eval ac_val=\$$ac_var
3129 case $ac_val in
3130 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3131 esac
3132 $as_echo "$ac_var='\''$ac_val'\''"
3133 done | sort
3134 echo
3136 if test -n "$ac_subst_files"; then
3137 $as_echo "## ------------------- ##
3138 ## File substitutions. ##
3139 ## ------------------- ##"
3140 echo
3141 for ac_var in $ac_subst_files
3143 eval ac_val=\$$ac_var
3144 case $ac_val in
3145 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3146 esac
3147 $as_echo "$ac_var='\''$ac_val'\''"
3148 done | sort
3149 echo
3152 if test -s confdefs.h; then
3153 $as_echo "## ----------- ##
3154 ## confdefs.h. ##
3155 ## ----------- ##"
3156 echo
3157 cat confdefs.h
3158 echo
3160 test "$ac_signal" != 0 &&
3161 $as_echo "$as_me: caught signal $ac_signal"
3162 $as_echo "$as_me: exit $exit_status"
3163 } >&5
3164 rm -f core *.core core.conftest.* &&
3165 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3166 exit $exit_status
3168 for ac_signal in 1 2 13 15; do
3169 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3170 done
3171 ac_signal=0
3173 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3174 rm -f -r conftest* confdefs.h
3176 $as_echo "/* confdefs.h */" > confdefs.h
3178 # Predefined preprocessor variables.
3180 cat >>confdefs.h <<_ACEOF
3181 #define PACKAGE_NAME "$PACKAGE_NAME"
3182 _ACEOF
3184 cat >>confdefs.h <<_ACEOF
3185 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3186 _ACEOF
3188 cat >>confdefs.h <<_ACEOF
3189 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3190 _ACEOF
3192 cat >>confdefs.h <<_ACEOF
3193 #define PACKAGE_STRING "$PACKAGE_STRING"
3194 _ACEOF
3196 cat >>confdefs.h <<_ACEOF
3197 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3198 _ACEOF
3200 cat >>confdefs.h <<_ACEOF
3201 #define PACKAGE_URL "$PACKAGE_URL"
3202 _ACEOF
3205 # Let the site file select an alternate cache file if it wants to.
3206 # Prefer an explicitly selected file to automatically selected ones.
3207 ac_site_file1=NONE
3208 ac_site_file2=NONE
3209 if test -n "$CONFIG_SITE"; then
3210 # We do not want a PATH search for config.site.
3211 case $CONFIG_SITE in #((
3212 -*) ac_site_file1=./$CONFIG_SITE;;
3213 */*) ac_site_file1=$CONFIG_SITE;;
3214 *) ac_site_file1=./$CONFIG_SITE;;
3215 esac
3216 elif test "x$prefix" != xNONE; then
3217 ac_site_file1=$prefix/share/config.site
3218 ac_site_file2=$prefix/etc/config.site
3219 else
3220 ac_site_file1=$ac_default_prefix/share/config.site
3221 ac_site_file2=$ac_default_prefix/etc/config.site
3223 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3225 test "x$ac_site_file" = xNONE && continue
3226 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3228 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3229 sed 's/^/| /' "$ac_site_file" >&5
3230 . "$ac_site_file" \
3231 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3233 as_fn_error $? "failed to load site script $ac_site_file
3234 See \`config.log' for more details" "$LINENO" 5; }
3236 done
3238 if test -r "$cache_file"; then
3239 # Some versions of bash will fail to source /dev/null (special files
3240 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3241 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3243 $as_echo "$as_me: loading cache $cache_file" >&6;}
3244 case $cache_file in
3245 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3246 *) . "./$cache_file";;
3247 esac
3249 else
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3251 $as_echo "$as_me: creating cache $cache_file" >&6;}
3252 >$cache_file
3255 # Check that the precious variables saved in the cache have kept the same
3256 # value.
3257 ac_cache_corrupted=false
3258 for ac_var in $ac_precious_vars; do
3259 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3260 eval ac_new_set=\$ac_env_${ac_var}_set
3261 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3262 eval ac_new_val=\$ac_env_${ac_var}_value
3263 case $ac_old_set,$ac_new_set in
3264 set,)
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3266 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3267 ac_cache_corrupted=: ;;
3268 ,set)
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3270 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3271 ac_cache_corrupted=: ;;
3272 ,);;
3274 if test "x$ac_old_val" != "x$ac_new_val"; then
3275 # differences in whitespace do not lead to failure.
3276 ac_old_val_w=`echo x $ac_old_val`
3277 ac_new_val_w=`echo x $ac_new_val`
3278 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3280 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3281 ac_cache_corrupted=:
3282 else
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3284 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3285 eval $ac_var=\$ac_old_val
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3288 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3290 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3291 fi;;
3292 esac
3293 # Pass precious variables to config.status.
3294 if test "$ac_new_set" = set; then
3295 case $ac_new_val in
3296 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3297 *) ac_arg=$ac_var=$ac_new_val ;;
3298 esac
3299 case " $ac_configure_args " in
3300 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3301 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3302 esac
3304 done
3305 if $ac_cache_corrupted; then
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3309 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3310 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3312 ## -------------------- ##
3313 ## Main body of script. ##
3314 ## -------------------- ##
3316 ac_ext=c
3317 ac_cpp='$CPP $CPPFLAGS'
3318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3324 ac_config_headers="$ac_config_headers include/config.h"
3326 ac_aux_dir=
3327 for ac_dir in tools "$srcdir"/tools; do
3328 if test -f "$ac_dir/install-sh"; then
3329 ac_aux_dir=$ac_dir
3330 ac_install_sh="$ac_aux_dir/install-sh -c"
3331 break
3332 elif test -f "$ac_dir/install.sh"; then
3333 ac_aux_dir=$ac_dir
3334 ac_install_sh="$ac_aux_dir/install.sh -c"
3335 break
3336 elif test -f "$ac_dir/shtool"; then
3337 ac_aux_dir=$ac_dir
3338 ac_install_sh="$ac_aux_dir/shtool install -c"
3339 break
3341 done
3342 if test -z "$ac_aux_dir"; then
3343 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3346 # These three variables are undocumented and unsupported,
3347 # and are intended to be withdrawn in a future Autoconf release.
3348 # They can cause serious problems if a builder's source tree is in a directory
3349 # whose full name contains unusual characters.
3350 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3351 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3352 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3356 libwine_version="1.0"
3360 # Check whether --enable-win16 was given.
3361 if test "${enable_win16+set}" = set; then :
3362 enableval=$enable_win16;
3365 # Check whether --enable-win64 was given.
3366 if test "${enable_win64+set}" = set; then :
3367 enableval=$enable_win64;
3370 # Check whether --enable-tests was given.
3371 if test "${enable_tests+set}" = set; then :
3372 enableval=$enable_tests;
3375 # Check whether --enable-maintainer-mode was given.
3376 if test "${enable_maintainer_mode+set}" = set; then :
3377 enableval=$enable_maintainer_mode;
3382 # Check whether --with-alsa was given.
3383 if test "${with_alsa+set}" = set; then :
3384 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3388 # Check whether --with-capi was given.
3389 if test "${with_capi+set}" = set; then :
3390 withval=$with_capi;
3394 # Check whether --with-cms was given.
3395 if test "${with_cms+set}" = set; then :
3396 withval=$with_cms;
3400 # Check whether --with-coreaudio was given.
3401 if test "${with_coreaudio+set}" = set; then :
3402 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3406 # Check whether --with-cups was given.
3407 if test "${with_cups+set}" = set; then :
3408 withval=$with_cups;
3412 # Check whether --with-curses was given.
3413 if test "${with_curses+set}" = set; then :
3414 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3418 # Check whether --with-dbus was given.
3419 if test "${with_dbus+set}" = set; then :
3420 withval=$with_dbus;
3424 # Check whether --with-fontconfig was given.
3425 if test "${with_fontconfig+set}" = set; then :
3426 withval=$with_fontconfig;
3430 # Check whether --with-freetype was given.
3431 if test "${with_freetype+set}" = set; then :
3432 withval=$with_freetype;
3436 # Check whether --with-gettext was given.
3437 if test "${with_gettext+set}" = set; then :
3438 withval=$with_gettext;
3442 # Check whether --with-gettextpo was given.
3443 if test "${with_gettextpo+set}" = set; then :
3444 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3448 # Check whether --with-gphoto was given.
3449 if test "${with_gphoto+set}" = set; then :
3450 withval=$with_gphoto;
3454 # Check whether --with-glu was given.
3455 if test "${with_glu+set}" = set; then :
3456 withval=$with_glu;
3460 # Check whether --with-gnutls was given.
3461 if test "${with_gnutls+set}" = set; then :
3462 withval=$with_gnutls;
3466 # Check whether --with-gsm was given.
3467 if test "${with_gsm+set}" = set; then :
3468 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3472 # Check whether --with-gstreamer was given.
3473 if test "${with_gstreamer+set}" = set; then :
3474 withval=$with_gstreamer;
3478 # Check whether --with-hal was given.
3479 if test "${with_hal+set}" = set; then :
3480 withval=$with_hal;
3484 # Check whether --with-jpeg was given.
3485 if test "${with_jpeg+set}" = set; then :
3486 withval=$with_jpeg;
3490 # Check whether --with-ldap was given.
3491 if test "${with_ldap+set}" = set; then :
3492 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3496 # Check whether --with-mpg123 was given.
3497 if test "${with_mpg123+set}" = set; then :
3498 withval=$with_mpg123;
3502 # Check whether --with-netapi was given.
3503 if test "${with_netapi+set}" = set; then :
3504 withval=$with_netapi;
3508 # Check whether --with-openal was given.
3509 if test "${with_openal+set}" = set; then :
3510 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3514 # Check whether --with-opencl was given.
3515 if test "${with_opencl+set}" = set; then :
3516 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3520 # Check whether --with-opengl was given.
3521 if test "${with_opengl+set}" = set; then :
3522 withval=$with_opengl;
3526 # Check whether --with-osmesa was given.
3527 if test "${with_osmesa+set}" = set; then :
3528 withval=$with_osmesa;
3532 # Check whether --with-oss was given.
3533 if test "${with_oss+set}" = set; then :
3534 withval=$with_oss;
3538 # Check whether --with-pcap was given.
3539 if test "${with_pcap+set}" = set; then :
3540 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3544 # Check whether --with-png was given.
3545 if test "${with_png+set}" = set; then :
3546 withval=$with_png;
3550 # Check whether --with-pthread was given.
3551 if test "${with_pthread+set}" = set; then :
3552 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3556 # Check whether --with-pulse was given.
3557 if test "${with_pulse+set}" = set; then :
3558 withval=$with_pulse;
3562 # Check whether --with-sane was given.
3563 if test "${with_sane+set}" = set; then :
3564 withval=$with_sane;
3568 # Check whether --with-tiff was given.
3569 if test "${with_tiff+set}" = set; then :
3570 withval=$with_tiff;
3574 # Check whether --with-udev was given.
3575 if test "${with_udev+set}" = set; then :
3576 withval=$with_udev;
3580 # Check whether --with-v4l was given.
3581 if test "${with_v4l+set}" = set; then :
3582 withval=$with_v4l;
3586 # Check whether --with-xcomposite was given.
3587 if test "${with_xcomposite+set}" = set; then :
3588 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3592 # Check whether --with-xcursor was given.
3593 if test "${with_xcursor+set}" = set; then :
3594 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3598 # Check whether --with-xinerama was given.
3599 if test "${with_xinerama+set}" = set; then :
3600 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3604 # Check whether --with-xinput was given.
3605 if test "${with_xinput+set}" = set; then :
3606 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3610 # Check whether --with-xinput2 was given.
3611 if test "${with_xinput2+set}" = set; then :
3612 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3616 # Check whether --with-xml was given.
3617 if test "${with_xml+set}" = set; then :
3618 withval=$with_xml;
3622 # Check whether --with-xrandr was given.
3623 if test "${with_xrandr+set}" = set; then :
3624 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3628 # Check whether --with-xrender was given.
3629 if test "${with_xrender+set}" = set; then :
3630 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3634 # Check whether --with-xshape was given.
3635 if test "${with_xshape+set}" = set; then :
3636 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3640 # Check whether --with-xshm was given.
3641 if test "${with_xshm+set}" = set; then :
3642 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3646 # Check whether --with-xslt was given.
3647 if test "${with_xslt+set}" = set; then :
3648 withval=$with_xslt;
3652 # Check whether --with-xxf86vm was given.
3653 if test "${with_xxf86vm+set}" = set; then :
3654 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
3658 # Check whether --with-zlib was given.
3659 if test "${with_zlib+set}" = set; then :
3660 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3665 # Check whether --with-wine-tools was given.
3666 if test "${with_wine_tools+set}" = set; then :
3667 withval=$with_wine_tools;
3671 # Check whether --with-wine64 was given.
3672 if test "${with_wine64+set}" = set; then :
3673 withval=$with_wine64;
3677 # Make sure we can run config.sub.
3678 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3679 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3682 $as_echo_n "checking build system type... " >&6; }
3683 if ${ac_cv_build+:} false; then :
3684 $as_echo_n "(cached) " >&6
3685 else
3686 ac_build_alias=$build_alias
3687 test "x$ac_build_alias" = x &&
3688 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3689 test "x$ac_build_alias" = x &&
3690 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3691 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3692 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3696 $as_echo "$ac_cv_build" >&6; }
3697 case $ac_cv_build in
3698 *-*-*) ;;
3699 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3700 esac
3701 build=$ac_cv_build
3702 ac_save_IFS=$IFS; IFS='-'
3703 set x $ac_cv_build
3704 shift
3705 build_cpu=$1
3706 build_vendor=$2
3707 shift; shift
3708 # Remember, the first character of IFS is used to create $*,
3709 # except with old shells:
3710 build_os=$*
3711 IFS=$ac_save_IFS
3712 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3716 $as_echo_n "checking host system type... " >&6; }
3717 if ${ac_cv_host+:} false; then :
3718 $as_echo_n "(cached) " >&6
3719 else
3720 if test "x$host_alias" = x; then
3721 ac_cv_host=$ac_cv_build
3722 else
3723 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3724 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3729 $as_echo "$ac_cv_host" >&6; }
3730 case $ac_cv_host in
3731 *-*-*) ;;
3732 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3733 esac
3734 host=$ac_cv_host
3735 ac_save_IFS=$IFS; IFS='-'
3736 set x $ac_cv_host
3737 shift
3738 host_cpu=$1
3739 host_vendor=$2
3740 shift; shift
3741 # Remember, the first character of IFS is used to create $*,
3742 # except with old shells:
3743 host_os=$*
3744 IFS=$ac_save_IFS
3745 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3749 case "$srcdir" in
3750 .) ;;
3751 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3752 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3753 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3754 fi ;;
3755 esac
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3759 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3760 set x ${MAKE-make}
3761 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3762 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3763 $as_echo_n "(cached) " >&6
3764 else
3765 cat >conftest.make <<\_ACEOF
3766 SHELL = /bin/sh
3767 all:
3768 @echo '@@@%%%=$(MAKE)=@@@%%%'
3769 _ACEOF
3770 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3771 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3772 *@@@%%%=?*=@@@%%%*)
3773 eval ac_cv_prog_make_${ac_make}_set=yes;;
3775 eval ac_cv_prog_make_${ac_make}_set=no;;
3776 esac
3777 rm -f conftest.make
3779 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3781 $as_echo "yes" >&6; }
3782 SET_MAKE=
3783 else
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3785 $as_echo "no" >&6; }
3786 SET_MAKE="MAKE=${MAKE-make}"
3789 ac_ext=c
3790 ac_cpp='$CPP $CPPFLAGS'
3791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3794 if test -n "$ac_tool_prefix"; then
3795 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3796 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3798 $as_echo_n "checking for $ac_word... " >&6; }
3799 if ${ac_cv_prog_CC+:} false; then :
3800 $as_echo_n "(cached) " >&6
3801 else
3802 if test -n "$CC"; then
3803 ac_cv_prog_CC="$CC" # Let the user override the test.
3804 else
3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3806 for as_dir in $PATH
3808 IFS=$as_save_IFS
3809 test -z "$as_dir" && as_dir=.
3810 for ac_exec_ext in '' $ac_executable_extensions; do
3811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3812 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3814 break 2
3816 done
3817 done
3818 IFS=$as_save_IFS
3822 CC=$ac_cv_prog_CC
3823 if test -n "$CC"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3825 $as_echo "$CC" >&6; }
3826 else
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3833 if test -z "$ac_cv_prog_CC"; then
3834 ac_ct_CC=$CC
3835 # Extract the first word of "gcc", so it can be a program name with args.
3836 set dummy gcc; ac_word=$2
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3838 $as_echo_n "checking for $ac_word... " >&6; }
3839 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3840 $as_echo_n "(cached) " >&6
3841 else
3842 if test -n "$ac_ct_CC"; then
3843 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3844 else
3845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3846 for as_dir in $PATH
3848 IFS=$as_save_IFS
3849 test -z "$as_dir" && as_dir=.
3850 for ac_exec_ext in '' $ac_executable_extensions; do
3851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3852 ac_cv_prog_ac_ct_CC="gcc"
3853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 break 2
3856 done
3857 done
3858 IFS=$as_save_IFS
3862 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3863 if test -n "$ac_ct_CC"; then
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3865 $as_echo "$ac_ct_CC" >&6; }
3866 else
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3868 $as_echo "no" >&6; }
3871 if test "x$ac_ct_CC" = x; then
3872 CC=""
3873 else
3874 case $cross_compiling:$ac_tool_warned in
3875 yes:)
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3878 ac_tool_warned=yes ;;
3879 esac
3880 CC=$ac_ct_CC
3882 else
3883 CC="$ac_cv_prog_CC"
3886 if test -z "$CC"; then
3887 if test -n "$ac_tool_prefix"; then
3888 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3889 set dummy ${ac_tool_prefix}cc; ac_word=$2
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3891 $as_echo_n "checking for $ac_word... " >&6; }
3892 if ${ac_cv_prog_CC+:} false; then :
3893 $as_echo_n "(cached) " >&6
3894 else
3895 if test -n "$CC"; then
3896 ac_cv_prog_CC="$CC" # Let the user override the test.
3897 else
3898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3899 for as_dir in $PATH
3901 IFS=$as_save_IFS
3902 test -z "$as_dir" && as_dir=.
3903 for ac_exec_ext in '' $ac_executable_extensions; do
3904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3905 ac_cv_prog_CC="${ac_tool_prefix}cc"
3906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3907 break 2
3909 done
3910 done
3911 IFS=$as_save_IFS
3915 CC=$ac_cv_prog_CC
3916 if test -n "$CC"; then
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3918 $as_echo "$CC" >&6; }
3919 else
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3921 $as_echo "no" >&6; }
3927 if test -z "$CC"; then
3928 # Extract the first word of "cc", so it can be a program name with args.
3929 set dummy cc; ac_word=$2
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3931 $as_echo_n "checking for $ac_word... " >&6; }
3932 if ${ac_cv_prog_CC+:} false; then :
3933 $as_echo_n "(cached) " >&6
3934 else
3935 if test -n "$CC"; then
3936 ac_cv_prog_CC="$CC" # Let the user override the test.
3937 else
3938 ac_prog_rejected=no
3939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3940 for as_dir in $PATH
3942 IFS=$as_save_IFS
3943 test -z "$as_dir" && as_dir=.
3944 for ac_exec_ext in '' $ac_executable_extensions; do
3945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3946 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3947 ac_prog_rejected=yes
3948 continue
3950 ac_cv_prog_CC="cc"
3951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3952 break 2
3954 done
3955 done
3956 IFS=$as_save_IFS
3958 if test $ac_prog_rejected = yes; then
3959 # We found a bogon in the path, so make sure we never use it.
3960 set dummy $ac_cv_prog_CC
3961 shift
3962 if test $# != 0; then
3963 # We chose a different compiler from the bogus one.
3964 # However, it has the same basename, so the bogon will be chosen
3965 # first if we set CC to just the basename; use the full file name.
3966 shift
3967 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3972 CC=$ac_cv_prog_CC
3973 if test -n "$CC"; then
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3975 $as_echo "$CC" >&6; }
3976 else
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978 $as_echo "no" >&6; }
3983 if test -z "$CC"; then
3984 if test -n "$ac_tool_prefix"; then
3985 for ac_prog in cl.exe
3987 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3988 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3990 $as_echo_n "checking for $ac_word... " >&6; }
3991 if ${ac_cv_prog_CC+:} false; then :
3992 $as_echo_n "(cached) " >&6
3993 else
3994 if test -n "$CC"; then
3995 ac_cv_prog_CC="$CC" # Let the user override the test.
3996 else
3997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998 for as_dir in $PATH
4000 IFS=$as_save_IFS
4001 test -z "$as_dir" && as_dir=.
4002 for ac_exec_ext in '' $ac_executable_extensions; do
4003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4004 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4006 break 2
4008 done
4009 done
4010 IFS=$as_save_IFS
4014 CC=$ac_cv_prog_CC
4015 if test -n "$CC"; then
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4017 $as_echo "$CC" >&6; }
4018 else
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4020 $as_echo "no" >&6; }
4024 test -n "$CC" && break
4025 done
4027 if test -z "$CC"; then
4028 ac_ct_CC=$CC
4029 for ac_prog in cl.exe
4031 # Extract the first word of "$ac_prog", so it can be a program name with args.
4032 set dummy $ac_prog; ac_word=$2
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4034 $as_echo_n "checking for $ac_word... " >&6; }
4035 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4036 $as_echo_n "(cached) " >&6
4037 else
4038 if test -n "$ac_ct_CC"; then
4039 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4040 else
4041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4042 for as_dir in $PATH
4044 IFS=$as_save_IFS
4045 test -z "$as_dir" && as_dir=.
4046 for ac_exec_ext in '' $ac_executable_extensions; do
4047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4048 ac_cv_prog_ac_ct_CC="$ac_prog"
4049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4050 break 2
4052 done
4053 done
4054 IFS=$as_save_IFS
4058 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4059 if test -n "$ac_ct_CC"; then
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4061 $as_echo "$ac_ct_CC" >&6; }
4062 else
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4064 $as_echo "no" >&6; }
4068 test -n "$ac_ct_CC" && break
4069 done
4071 if test "x$ac_ct_CC" = x; then
4072 CC=""
4073 else
4074 case $cross_compiling:$ac_tool_warned in
4075 yes:)
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4078 ac_tool_warned=yes ;;
4079 esac
4080 CC=$ac_ct_CC
4087 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4089 as_fn_error $? "no acceptable C compiler found in \$PATH
4090 See \`config.log' for more details" "$LINENO" 5; }
4092 # Provide some information about the compiler.
4093 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4094 set X $ac_compile
4095 ac_compiler=$2
4096 for ac_option in --version -v -V -qversion; do
4097 { { ac_try="$ac_compiler $ac_option >&5"
4098 case "(($ac_try" in
4099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4100 *) ac_try_echo=$ac_try;;
4101 esac
4102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4103 $as_echo "$ac_try_echo"; } >&5
4104 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4105 ac_status=$?
4106 if test -s conftest.err; then
4107 sed '10a\
4108 ... rest of stderr output deleted ...
4109 10q' conftest.err >conftest.er1
4110 cat conftest.er1 >&5
4112 rm -f conftest.er1 conftest.err
4113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4114 test $ac_status = 0; }
4115 done
4117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4121 main ()
4125 return 0;
4127 _ACEOF
4128 ac_clean_files_save=$ac_clean_files
4129 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4130 # Try to create an executable without -o first, disregard a.out.
4131 # It will help us diagnose broken compilers, and finding out an intuition
4132 # of exeext.
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4134 $as_echo_n "checking whether the C compiler works... " >&6; }
4135 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4137 # The possible output files:
4138 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4140 ac_rmfiles=
4141 for ac_file in $ac_files
4143 case $ac_file in
4144 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4145 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4146 esac
4147 done
4148 rm -f $ac_rmfiles
4150 if { { ac_try="$ac_link_default"
4151 case "(($ac_try" in
4152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4153 *) ac_try_echo=$ac_try;;
4154 esac
4155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4156 $as_echo "$ac_try_echo"; } >&5
4157 (eval "$ac_link_default") 2>&5
4158 ac_status=$?
4159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4160 test $ac_status = 0; }; then :
4161 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4162 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4163 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4164 # so that the user can short-circuit this test for compilers unknown to
4165 # Autoconf.
4166 for ac_file in $ac_files ''
4168 test -f "$ac_file" || continue
4169 case $ac_file in
4170 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4172 [ab].out )
4173 # We found the default executable, but exeext='' is most
4174 # certainly right.
4175 break;;
4176 *.* )
4177 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4178 then :; else
4179 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4181 # We set ac_cv_exeext here because the later test for it is not
4182 # safe: cross compilers may not add the suffix if given an `-o'
4183 # argument, so we may need to know it at that point already.
4184 # Even if this section looks crufty: it has the advantage of
4185 # actually working.
4186 break;;
4188 break;;
4189 esac
4190 done
4191 test "$ac_cv_exeext" = no && ac_cv_exeext=
4193 else
4194 ac_file=''
4196 if test -z "$ac_file"; then :
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4198 $as_echo "no" >&6; }
4199 $as_echo "$as_me: failed program was:" >&5
4200 sed 's/^/| /' conftest.$ac_ext >&5
4202 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4204 as_fn_error 77 "C compiler cannot create executables
4205 See \`config.log' for more details" "$LINENO" 5; }
4206 else
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4208 $as_echo "yes" >&6; }
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4211 $as_echo_n "checking for C compiler default output file name... " >&6; }
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4213 $as_echo "$ac_file" >&6; }
4214 ac_exeext=$ac_cv_exeext
4216 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4217 ac_clean_files=$ac_clean_files_save
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4219 $as_echo_n "checking for suffix of executables... " >&6; }
4220 if { { ac_try="$ac_link"
4221 case "(($ac_try" in
4222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4223 *) ac_try_echo=$ac_try;;
4224 esac
4225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4226 $as_echo "$ac_try_echo"; } >&5
4227 (eval "$ac_link") 2>&5
4228 ac_status=$?
4229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4230 test $ac_status = 0; }; then :
4231 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4232 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4233 # work properly (i.e., refer to `conftest.exe'), while it won't with
4234 # `rm'.
4235 for ac_file in conftest.exe conftest conftest.*; do
4236 test -f "$ac_file" || continue
4237 case $ac_file in
4238 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4239 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4240 break;;
4241 * ) break;;
4242 esac
4243 done
4244 else
4245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4247 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4248 See \`config.log' for more details" "$LINENO" 5; }
4250 rm -f conftest conftest$ac_cv_exeext
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4252 $as_echo "$ac_cv_exeext" >&6; }
4254 rm -f conftest.$ac_ext
4255 EXEEXT=$ac_cv_exeext
4256 ac_exeext=$EXEEXT
4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4259 #include <stdio.h>
4261 main ()
4263 FILE *f = fopen ("conftest.out", "w");
4264 return ferror (f) || fclose (f) != 0;
4267 return 0;
4269 _ACEOF
4270 ac_clean_files="$ac_clean_files conftest.out"
4271 # Check that the compiler produces executables we can run. If not, either
4272 # the compiler is broken, or we cross compile.
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4274 $as_echo_n "checking whether we are cross compiling... " >&6; }
4275 if test "$cross_compiling" != yes; then
4276 { { ac_try="$ac_link"
4277 case "(($ac_try" in
4278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4279 *) ac_try_echo=$ac_try;;
4280 esac
4281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4282 $as_echo "$ac_try_echo"; } >&5
4283 (eval "$ac_link") 2>&5
4284 ac_status=$?
4285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4286 test $ac_status = 0; }
4287 if { ac_try='./conftest$ac_cv_exeext'
4288 { { case "(($ac_try" in
4289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4290 *) ac_try_echo=$ac_try;;
4291 esac
4292 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4293 $as_echo "$ac_try_echo"; } >&5
4294 (eval "$ac_try") 2>&5
4295 ac_status=$?
4296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4297 test $ac_status = 0; }; }; then
4298 cross_compiling=no
4299 else
4300 if test "$cross_compiling" = maybe; then
4301 cross_compiling=yes
4302 else
4303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4305 as_fn_error $? "cannot run C compiled programs.
4306 If you meant to cross compile, use \`--host'.
4307 See \`config.log' for more details" "$LINENO" 5; }
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4312 $as_echo "$cross_compiling" >&6; }
4314 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4315 ac_clean_files=$ac_clean_files_save
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4317 $as_echo_n "checking for suffix of object files... " >&6; }
4318 if ${ac_cv_objext+:} false; then :
4319 $as_echo_n "(cached) " >&6
4320 else
4321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4322 /* end confdefs.h. */
4325 main ()
4329 return 0;
4331 _ACEOF
4332 rm -f conftest.o conftest.obj
4333 if { { ac_try="$ac_compile"
4334 case "(($ac_try" in
4335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4336 *) ac_try_echo=$ac_try;;
4337 esac
4338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4339 $as_echo "$ac_try_echo"; } >&5
4340 (eval "$ac_compile") 2>&5
4341 ac_status=$?
4342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4343 test $ac_status = 0; }; then :
4344 for ac_file in conftest.o conftest.obj conftest.*; do
4345 test -f "$ac_file" || continue;
4346 case $ac_file in
4347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4348 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4349 break;;
4350 esac
4351 done
4352 else
4353 $as_echo "$as_me: failed program was:" >&5
4354 sed 's/^/| /' conftest.$ac_ext >&5
4356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4358 as_fn_error $? "cannot compute suffix of object files: cannot compile
4359 See \`config.log' for more details" "$LINENO" 5; }
4361 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4364 $as_echo "$ac_cv_objext" >&6; }
4365 OBJEXT=$ac_cv_objext
4366 ac_objext=$OBJEXT
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4368 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4369 if ${ac_cv_c_compiler_gnu+:} false; then :
4370 $as_echo_n "(cached) " >&6
4371 else
4372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4373 /* end confdefs.h. */
4376 main ()
4378 #ifndef __GNUC__
4379 choke me
4380 #endif
4383 return 0;
4385 _ACEOF
4386 if ac_fn_c_try_compile "$LINENO"; then :
4387 ac_compiler_gnu=yes
4388 else
4389 ac_compiler_gnu=no
4391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4392 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4396 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4397 if test $ac_compiler_gnu = yes; then
4398 GCC=yes
4399 else
4400 GCC=
4402 ac_test_CFLAGS=${CFLAGS+set}
4403 ac_save_CFLAGS=$CFLAGS
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4405 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4406 if ${ac_cv_prog_cc_g+:} false; then :
4407 $as_echo_n "(cached) " >&6
4408 else
4409 ac_save_c_werror_flag=$ac_c_werror_flag
4410 ac_c_werror_flag=yes
4411 ac_cv_prog_cc_g=no
4412 CFLAGS="-g"
4413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4414 /* end confdefs.h. */
4417 main ()
4421 return 0;
4423 _ACEOF
4424 if ac_fn_c_try_compile "$LINENO"; then :
4425 ac_cv_prog_cc_g=yes
4426 else
4427 CFLAGS=""
4428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4432 main ()
4436 return 0;
4438 _ACEOF
4439 if ac_fn_c_try_compile "$LINENO"; then :
4441 else
4442 ac_c_werror_flag=$ac_save_c_werror_flag
4443 CFLAGS="-g"
4444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4445 /* end confdefs.h. */
4448 main ()
4452 return 0;
4454 _ACEOF
4455 if ac_fn_c_try_compile "$LINENO"; then :
4456 ac_cv_prog_cc_g=yes
4458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4463 ac_c_werror_flag=$ac_save_c_werror_flag
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4466 $as_echo "$ac_cv_prog_cc_g" >&6; }
4467 if test "$ac_test_CFLAGS" = set; then
4468 CFLAGS=$ac_save_CFLAGS
4469 elif test $ac_cv_prog_cc_g = yes; then
4470 if test "$GCC" = yes; then
4471 CFLAGS="-g -O2"
4472 else
4473 CFLAGS="-g"
4475 else
4476 if test "$GCC" = yes; then
4477 CFLAGS="-O2"
4478 else
4479 CFLAGS=
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4483 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4484 if ${ac_cv_prog_cc_c89+:} false; then :
4485 $as_echo_n "(cached) " >&6
4486 else
4487 ac_cv_prog_cc_c89=no
4488 ac_save_CC=$CC
4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490 /* end confdefs.h. */
4491 #include <stdarg.h>
4492 #include <stdio.h>
4493 struct stat;
4494 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4495 struct buf { int x; };
4496 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4497 static char *e (p, i)
4498 char **p;
4499 int i;
4501 return p[i];
4503 static char *f (char * (*g) (char **, int), char **p, ...)
4505 char *s;
4506 va_list v;
4507 va_start (v,p);
4508 s = g (p, va_arg (v,int));
4509 va_end (v);
4510 return s;
4513 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4514 function prototypes and stuff, but not '\xHH' hex character constants.
4515 These don't provoke an error unfortunately, instead are silently treated
4516 as 'x'. The following induces an error, until -std is added to get
4517 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4518 array size at least. It's necessary to write '\x00'==0 to get something
4519 that's true only with -std. */
4520 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4522 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4523 inside strings and character constants. */
4524 #define FOO(x) 'x'
4525 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4527 int test (int i, double x);
4528 struct s1 {int (*f) (int a);};
4529 struct s2 {int (*f) (double a);};
4530 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4531 int argc;
4532 char **argv;
4534 main ()
4536 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4538 return 0;
4540 _ACEOF
4541 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4542 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4544 CC="$ac_save_CC $ac_arg"
4545 if ac_fn_c_try_compile "$LINENO"; then :
4546 ac_cv_prog_cc_c89=$ac_arg
4548 rm -f core conftest.err conftest.$ac_objext
4549 test "x$ac_cv_prog_cc_c89" != "xno" && break
4550 done
4551 rm -f conftest.$ac_ext
4552 CC=$ac_save_CC
4555 # AC_CACHE_VAL
4556 case "x$ac_cv_prog_cc_c89" in
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4559 $as_echo "none needed" >&6; } ;;
4560 xno)
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4562 $as_echo "unsupported" >&6; } ;;
4564 CC="$CC $ac_cv_prog_cc_c89"
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4566 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4567 esac
4568 if test "x$ac_cv_prog_cc_c89" != xno; then :
4572 ac_ext=c
4573 ac_cpp='$CPP $CPPFLAGS'
4574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4578 ac_ext=cpp
4579 ac_cpp='$CXXCPP $CPPFLAGS'
4580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4583 if test -z "$CXX"; then
4584 if test -n "$CCC"; then
4585 CXX=$CCC
4586 else
4587 if test -n "$ac_tool_prefix"; then
4588 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4590 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4591 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4593 $as_echo_n "checking for $ac_word... " >&6; }
4594 if ${ac_cv_prog_CXX+:} false; then :
4595 $as_echo_n "(cached) " >&6
4596 else
4597 if test -n "$CXX"; then
4598 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4599 else
4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4601 for as_dir in $PATH
4603 IFS=$as_save_IFS
4604 test -z "$as_dir" && as_dir=.
4605 for ac_exec_ext in '' $ac_executable_extensions; do
4606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4607 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4609 break 2
4611 done
4612 done
4613 IFS=$as_save_IFS
4617 CXX=$ac_cv_prog_CXX
4618 if test -n "$CXX"; then
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4620 $as_echo "$CXX" >&6; }
4621 else
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4623 $as_echo "no" >&6; }
4627 test -n "$CXX" && break
4628 done
4630 if test -z "$CXX"; then
4631 ac_ct_CXX=$CXX
4632 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4634 # Extract the first word of "$ac_prog", so it can be a program name with args.
4635 set dummy $ac_prog; ac_word=$2
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4637 $as_echo_n "checking for $ac_word... " >&6; }
4638 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4639 $as_echo_n "(cached) " >&6
4640 else
4641 if test -n "$ac_ct_CXX"; then
4642 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4643 else
4644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4645 for as_dir in $PATH
4647 IFS=$as_save_IFS
4648 test -z "$as_dir" && as_dir=.
4649 for ac_exec_ext in '' $ac_executable_extensions; do
4650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4651 ac_cv_prog_ac_ct_CXX="$ac_prog"
4652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4653 break 2
4655 done
4656 done
4657 IFS=$as_save_IFS
4661 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4662 if test -n "$ac_ct_CXX"; then
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4664 $as_echo "$ac_ct_CXX" >&6; }
4665 else
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4667 $as_echo "no" >&6; }
4671 test -n "$ac_ct_CXX" && break
4672 done
4674 if test "x$ac_ct_CXX" = x; then
4675 CXX="g++"
4676 else
4677 case $cross_compiling:$ac_tool_warned in
4678 yes:)
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4681 ac_tool_warned=yes ;;
4682 esac
4683 CXX=$ac_ct_CXX
4689 # Provide some information about the compiler.
4690 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4691 set X $ac_compile
4692 ac_compiler=$2
4693 for ac_option in --version -v -V -qversion; do
4694 { { ac_try="$ac_compiler $ac_option >&5"
4695 case "(($ac_try" in
4696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4697 *) ac_try_echo=$ac_try;;
4698 esac
4699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4700 $as_echo "$ac_try_echo"; } >&5
4701 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4702 ac_status=$?
4703 if test -s conftest.err; then
4704 sed '10a\
4705 ... rest of stderr output deleted ...
4706 10q' conftest.err >conftest.er1
4707 cat conftest.er1 >&5
4709 rm -f conftest.er1 conftest.err
4710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4711 test $ac_status = 0; }
4712 done
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4715 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4716 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4717 $as_echo_n "(cached) " >&6
4718 else
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4723 main ()
4725 #ifndef __GNUC__
4726 choke me
4727 #endif
4730 return 0;
4732 _ACEOF
4733 if ac_fn_cxx_try_compile "$LINENO"; then :
4734 ac_compiler_gnu=yes
4735 else
4736 ac_compiler_gnu=no
4738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4739 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4743 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4744 if test $ac_compiler_gnu = yes; then
4745 GXX=yes
4746 else
4747 GXX=
4749 ac_test_CXXFLAGS=${CXXFLAGS+set}
4750 ac_save_CXXFLAGS=$CXXFLAGS
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4752 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4753 if ${ac_cv_prog_cxx_g+:} false; then :
4754 $as_echo_n "(cached) " >&6
4755 else
4756 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4757 ac_cxx_werror_flag=yes
4758 ac_cv_prog_cxx_g=no
4759 CXXFLAGS="-g"
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4764 main ()
4768 return 0;
4770 _ACEOF
4771 if ac_fn_cxx_try_compile "$LINENO"; then :
4772 ac_cv_prog_cxx_g=yes
4773 else
4774 CXXFLAGS=""
4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4779 main ()
4783 return 0;
4785 _ACEOF
4786 if ac_fn_cxx_try_compile "$LINENO"; then :
4788 else
4789 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4790 CXXFLAGS="-g"
4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h. */
4795 main ()
4799 return 0;
4801 _ACEOF
4802 if ac_fn_cxx_try_compile "$LINENO"; then :
4803 ac_cv_prog_cxx_g=yes
4805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4810 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4813 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4814 if test "$ac_test_CXXFLAGS" = set; then
4815 CXXFLAGS=$ac_save_CXXFLAGS
4816 elif test $ac_cv_prog_cxx_g = yes; then
4817 if test "$GXX" = yes; then
4818 CXXFLAGS="-g -O2"
4819 else
4820 CXXFLAGS="-g"
4822 else
4823 if test "$GXX" = yes; then
4824 CXXFLAGS="-O2"
4825 else
4826 CXXFLAGS=
4829 ac_ext=c
4830 ac_cpp='$CPP $CPPFLAGS'
4831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4835 if test -n "$ac_tool_prefix"; then
4836 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4837 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4839 $as_echo_n "checking for $ac_word... " >&6; }
4840 if ${ac_cv_prog_CPPBIN+:} false; then :
4841 $as_echo_n "(cached) " >&6
4842 else
4843 if test -n "$CPPBIN"; then
4844 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4845 else
4846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4847 for as_dir in $PATH
4849 IFS=$as_save_IFS
4850 test -z "$as_dir" && as_dir=.
4851 for ac_exec_ext in '' $ac_executable_extensions; do
4852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4853 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4855 break 2
4857 done
4858 done
4859 IFS=$as_save_IFS
4863 CPPBIN=$ac_cv_prog_CPPBIN
4864 if test -n "$CPPBIN"; then
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4866 $as_echo "$CPPBIN" >&6; }
4867 else
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4869 $as_echo "no" >&6; }
4874 if test -z "$ac_cv_prog_CPPBIN"; then
4875 ac_ct_CPPBIN=$CPPBIN
4876 # Extract the first word of "cpp", so it can be a program name with args.
4877 set dummy cpp; ac_word=$2
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 $as_echo_n "checking for $ac_word... " >&6; }
4880 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4881 $as_echo_n "(cached) " >&6
4882 else
4883 if test -n "$ac_ct_CPPBIN"; then
4884 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4885 else
4886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4887 for as_dir in $PATH
4889 IFS=$as_save_IFS
4890 test -z "$as_dir" && as_dir=.
4891 for ac_exec_ext in '' $ac_executable_extensions; do
4892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4893 ac_cv_prog_ac_ct_CPPBIN="cpp"
4894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4895 break 2
4897 done
4898 done
4899 IFS=$as_save_IFS
4903 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4904 if test -n "$ac_ct_CPPBIN"; then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4906 $as_echo "$ac_ct_CPPBIN" >&6; }
4907 else
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 $as_echo "no" >&6; }
4912 if test "x$ac_ct_CPPBIN" = x; then
4913 CPPBIN="cpp"
4914 else
4915 case $cross_compiling:$ac_tool_warned in
4916 yes:)
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4919 ac_tool_warned=yes ;;
4920 esac
4921 CPPBIN=$ac_ct_CPPBIN
4923 else
4924 CPPBIN="$ac_cv_prog_CPPBIN"
4928 cat >>confdefs.h <<_ACEOF
4929 #define EXEEXT "$ac_exeext"
4930 _ACEOF
4932 if test -n "$ac_tool_prefix"; then
4933 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4934 set dummy ${ac_tool_prefix}ld; ac_word=$2
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4936 $as_echo_n "checking for $ac_word... " >&6; }
4937 if ${ac_cv_prog_LD+:} false; then :
4938 $as_echo_n "(cached) " >&6
4939 else
4940 if test -n "$LD"; then
4941 ac_cv_prog_LD="$LD" # Let the user override the test.
4942 else
4943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4944 for as_dir in $PATH
4946 IFS=$as_save_IFS
4947 test -z "$as_dir" && as_dir=.
4948 for ac_exec_ext in '' $ac_executable_extensions; do
4949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4950 ac_cv_prog_LD="${ac_tool_prefix}ld"
4951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4952 break 2
4954 done
4955 done
4956 IFS=$as_save_IFS
4960 LD=$ac_cv_prog_LD
4961 if test -n "$LD"; then
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4963 $as_echo "$LD" >&6; }
4964 else
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 $as_echo "no" >&6; }
4971 if test -z "$ac_cv_prog_LD"; then
4972 ac_ct_LD=$LD
4973 # Extract the first word of "ld", so it can be a program name with args.
4974 set dummy ld; ac_word=$2
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 $as_echo_n "checking for $ac_word... " >&6; }
4977 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4978 $as_echo_n "(cached) " >&6
4979 else
4980 if test -n "$ac_ct_LD"; then
4981 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4982 else
4983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4984 for as_dir in $PATH
4986 IFS=$as_save_IFS
4987 test -z "$as_dir" && as_dir=.
4988 for ac_exec_ext in '' $ac_executable_extensions; do
4989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4990 ac_cv_prog_ac_ct_LD="ld"
4991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4992 break 2
4994 done
4995 done
4996 IFS=$as_save_IFS
5000 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5001 if test -n "$ac_ct_LD"; then
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5003 $as_echo "$ac_ct_LD" >&6; }
5004 else
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 $as_echo "no" >&6; }
5009 if test "x$ac_ct_LD" = x; then
5010 LD=""
5011 else
5012 case $cross_compiling:$ac_tool_warned in
5013 yes:)
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5016 ac_tool_warned=yes ;;
5017 esac
5018 LD=$ac_ct_LD
5020 else
5021 LD="$ac_cv_prog_LD"
5025 case $host in
5026 *-darwin*)
5027 with_fontconfig=${with_fontconfig:-no}
5029 *-mingw32*|*-cygwin*)
5030 enable_win16=${enable_win16:-no}
5031 CFLAGS="$CFLAGS -D_WIN32"
5033 esac
5035 case $host in
5036 x86_64*|amd64*)
5037 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5038 then
5039 CC="$CC -m32"
5040 CXX="$CXX -m32"
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5042 $as_echo_n "checking whether $CC works... " >&6; }
5044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5045 /* end confdefs.h. */
5048 main ()
5052 return 0;
5054 _ACEOF
5055 if ac_fn_c_try_link "$LINENO"; then :
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5057 $as_echo "yes" >&6; }
5058 else
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 $as_echo "no" >&6; }
5061 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5063 rm -f core conftest.err conftest.$ac_objext \
5064 conftest$ac_exeext conftest.$ac_ext
5065 host_cpu="i386"
5066 notice_platform="32-bit "
5067 TARGETFLAGS="-m32"
5069 enable_win16=${enable_win16:-yes}
5070 else
5071 if test "x${GCC}" = "xyes"
5072 then
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5074 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5076 /* end confdefs.h. */
5077 #include <stdarg.h>
5079 main ()
5081 void func(__builtin_ms_va_list *args);
5083 return 0;
5085 _ACEOF
5086 if ac_fn_c_try_compile "$LINENO"; then :
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5088 $as_echo "yes" >&6; }
5089 else
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5091 $as_echo "no" >&6; }
5092 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5096 CC="$CC -m64"
5097 CXX="$CXX -m64"
5098 host_cpu="x86_64"
5099 notice_platform="64-bit "
5100 TARGETFLAGS="-m64"
5104 arm*)
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5106 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5108 /* end confdefs.h. */
5109 int ac_test(int i) { return i; }
5111 main ()
5113 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5115 return 0;
5117 _ACEOF
5118 if ac_fn_c_try_link "$LINENO"; then :
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5120 $as_echo "yes" >&6; }
5121 else
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5123 $as_echo "no" >&6; }
5124 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5126 rm -f core conftest.err conftest.$ac_objext \
5127 conftest$ac_exeext conftest.$ac_ext
5128 CFLAGS="$CFLAGS -marm"
5129 TARGETFLAGS="-marm"
5132 i[3456789]86*)
5133 enable_win16=${enable_win16:-yes}
5135 esac
5137 enable_win16=${enable_win16:-no}
5138 enable_win64=${enable_win64:-no}
5140 enable_winetest=${enable_winetest:-$enable_tests}
5142 if test -n "$with_wine64"
5143 then
5144 if test "x$enable_win64" = "xyes"
5145 then
5146 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5147 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5149 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5150 You should create a separate build directory and run configure from there." "$LINENO" 5
5151 enable_fonts=${enable_fonts:-no}
5152 enable_server=${enable_server:-no}
5153 elif test "x$enable_win64" = "xyes"
5154 then
5155 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5159 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5160 if ${wine_cv_toolsdir+:} false; then :
5161 $as_echo_n "(cached) " >&6
5162 else
5163 wine_cv_toolsdir="$with_wine_tools"
5164 if test -z "$with_wine_tools"; then
5165 if test "$cross_compiling" = "yes"; then
5166 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5167 elif test -n "$with_wine64"; then
5168 wine_cv_toolsdir="$with_wine64"
5171 if test -z "$wine_cv_toolsdir"; then
5172 wine_makedep=tools/makedep
5173 wine_cv_toolsdir="\$(top_builddir)"
5174 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5175 wine_makedep=$wine_cv_toolsdir/tools/makedep
5176 case "$wine_cv_toolsdir" in
5177 /*) ;;
5178 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5179 esac
5180 enable_tools=${enable_tools:-no}
5181 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5182 else
5183 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5187 $as_echo "$wine_cv_toolsdir" >&6; }
5188 TOOLSDIR=$wine_cv_toolsdir
5190 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5191 then
5192 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5196 for ac_prog in flex
5198 # Extract the first word of "$ac_prog", so it can be a program name with args.
5199 set dummy $ac_prog; ac_word=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if ${ac_cv_prog_FLEX+:} false; then :
5203 $as_echo_n "(cached) " >&6
5204 else
5205 if test -n "$FLEX"; then
5206 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5207 else
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 for as_dir in $PATH
5211 IFS=$as_save_IFS
5212 test -z "$as_dir" && as_dir=.
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5215 ac_cv_prog_FLEX="$ac_prog"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5217 break 2
5219 done
5220 done
5221 IFS=$as_save_IFS
5225 FLEX=$ac_cv_prog_FLEX
5226 if test -n "$FLEX"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5228 $as_echo "$FLEX" >&6; }
5229 else
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5235 test -n "$FLEX" && break
5236 done
5237 test -n "$FLEX" || FLEX="none"
5239 if test "$FLEX" = "none"
5240 then
5241 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5244 $as_echo_n "checking whether flex is recent enough... " >&6; }
5245 cat >conftest.l <<EOF
5246 %top{
5247 #include "prediluvian.h"
5251 if $FLEX -t conftest.l >/dev/null 2>&5
5252 then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5254 $as_echo "yes" >&6; }
5255 else
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5258 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5261 for ac_prog in bison
5263 # Extract the first word of "$ac_prog", so it can be a program name with args.
5264 set dummy $ac_prog; ac_word=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if ${ac_cv_prog_BISON+:} false; then :
5268 $as_echo_n "(cached) " >&6
5269 else
5270 if test -n "$BISON"; then
5271 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5272 else
5273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274 for as_dir in $PATH
5276 IFS=$as_save_IFS
5277 test -z "$as_dir" && as_dir=.
5278 for ac_exec_ext in '' $ac_executable_extensions; do
5279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5280 ac_cv_prog_BISON="$ac_prog"
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 break 2
5284 done
5285 done
5286 IFS=$as_save_IFS
5290 BISON=$ac_cv_prog_BISON
5291 if test -n "$BISON"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5293 $as_echo "$BISON" >&6; }
5294 else
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5300 test -n "$BISON" && break
5301 done
5302 test -n "$BISON" || BISON="none"
5304 if test "$BISON" = "none"
5305 then
5306 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5309 if test -n "$ac_tool_prefix"; then
5310 for ac_prog in ar gar
5312 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5313 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5315 $as_echo_n "checking for $ac_word... " >&6; }
5316 if ${ac_cv_prog_AR+:} false; then :
5317 $as_echo_n "(cached) " >&6
5318 else
5319 if test -n "$AR"; then
5320 ac_cv_prog_AR="$AR" # Let the user override the test.
5321 else
5322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5323 for as_dir in $PATH
5325 IFS=$as_save_IFS
5326 test -z "$as_dir" && as_dir=.
5327 for ac_exec_ext in '' $ac_executable_extensions; do
5328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5329 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5331 break 2
5333 done
5334 done
5335 IFS=$as_save_IFS
5339 AR=$ac_cv_prog_AR
5340 if test -n "$AR"; then
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5342 $as_echo "$AR" >&6; }
5343 else
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5345 $as_echo "no" >&6; }
5349 test -n "$AR" && break
5350 done
5352 if test -z "$AR"; then
5353 ac_ct_AR=$AR
5354 for ac_prog in ar gar
5356 # Extract the first word of "$ac_prog", so it can be a program name with args.
5357 set dummy $ac_prog; ac_word=$2
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5359 $as_echo_n "checking for $ac_word... " >&6; }
5360 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5361 $as_echo_n "(cached) " >&6
5362 else
5363 if test -n "$ac_ct_AR"; then
5364 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5365 else
5366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5367 for as_dir in $PATH
5369 IFS=$as_save_IFS
5370 test -z "$as_dir" && as_dir=.
5371 for ac_exec_ext in '' $ac_executable_extensions; do
5372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5373 ac_cv_prog_ac_ct_AR="$ac_prog"
5374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5375 break 2
5377 done
5378 done
5379 IFS=$as_save_IFS
5383 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5384 if test -n "$ac_ct_AR"; then
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5386 $as_echo "$ac_ct_AR" >&6; }
5387 else
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5389 $as_echo "no" >&6; }
5393 test -n "$ac_ct_AR" && break
5394 done
5396 if test "x$ac_ct_AR" = x; then
5397 AR="ar"
5398 else
5399 case $cross_compiling:$ac_tool_warned in
5400 yes:)
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5403 ac_tool_warned=yes ;;
5404 esac
5405 AR=$ac_ct_AR
5409 if test -n "$ac_tool_prefix"; then
5410 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5411 set dummy ${ac_tool_prefix}strip; ac_word=$2
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5413 $as_echo_n "checking for $ac_word... " >&6; }
5414 if ${ac_cv_prog_STRIP+:} false; then :
5415 $as_echo_n "(cached) " >&6
5416 else
5417 if test -n "$STRIP"; then
5418 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5419 else
5420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5421 for as_dir in $PATH
5423 IFS=$as_save_IFS
5424 test -z "$as_dir" && as_dir=.
5425 for ac_exec_ext in '' $ac_executable_extensions; do
5426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5427 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5429 break 2
5431 done
5432 done
5433 IFS=$as_save_IFS
5437 STRIP=$ac_cv_prog_STRIP
5438 if test -n "$STRIP"; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5440 $as_echo "$STRIP" >&6; }
5441 else
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5448 if test -z "$ac_cv_prog_STRIP"; then
5449 ac_ct_STRIP=$STRIP
5450 # Extract the first word of "strip", so it can be a program name with args.
5451 set dummy strip; ac_word=$2
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5453 $as_echo_n "checking for $ac_word... " >&6; }
5454 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5455 $as_echo_n "(cached) " >&6
5456 else
5457 if test -n "$ac_ct_STRIP"; then
5458 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5459 else
5460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5461 for as_dir in $PATH
5463 IFS=$as_save_IFS
5464 test -z "$as_dir" && as_dir=.
5465 for ac_exec_ext in '' $ac_executable_extensions; do
5466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5467 ac_cv_prog_ac_ct_STRIP="strip"
5468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5469 break 2
5471 done
5472 done
5473 IFS=$as_save_IFS
5477 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5478 if test -n "$ac_ct_STRIP"; then
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5480 $as_echo "$ac_ct_STRIP" >&6; }
5481 else
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5483 $as_echo "no" >&6; }
5486 if test "x$ac_ct_STRIP" = x; then
5487 STRIP="strip"
5488 else
5489 case $cross_compiling:$ac_tool_warned in
5490 yes:)
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5493 ac_tool_warned=yes ;;
5494 esac
5495 STRIP=$ac_ct_STRIP
5497 else
5498 STRIP="$ac_cv_prog_STRIP"
5501 ARFLAGS=rc
5503 if test -n "$ac_tool_prefix"; then
5504 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5505 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5507 $as_echo_n "checking for $ac_word... " >&6; }
5508 if ${ac_cv_prog_RANLIB+:} false; then :
5509 $as_echo_n "(cached) " >&6
5510 else
5511 if test -n "$RANLIB"; then
5512 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5513 else
5514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5515 for as_dir in $PATH
5517 IFS=$as_save_IFS
5518 test -z "$as_dir" && as_dir=.
5519 for ac_exec_ext in '' $ac_executable_extensions; do
5520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5521 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5523 break 2
5525 done
5526 done
5527 IFS=$as_save_IFS
5531 RANLIB=$ac_cv_prog_RANLIB
5532 if test -n "$RANLIB"; then
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5534 $as_echo "$RANLIB" >&6; }
5535 else
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5542 if test -z "$ac_cv_prog_RANLIB"; then
5543 ac_ct_RANLIB=$RANLIB
5544 # Extract the first word of "ranlib", so it can be a program name with args.
5545 set dummy ranlib; ac_word=$2
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547 $as_echo_n "checking for $ac_word... " >&6; }
5548 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5549 $as_echo_n "(cached) " >&6
5550 else
5551 if test -n "$ac_ct_RANLIB"; then
5552 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5553 else
5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5555 for as_dir in $PATH
5557 IFS=$as_save_IFS
5558 test -z "$as_dir" && as_dir=.
5559 for ac_exec_ext in '' $ac_executable_extensions; do
5560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5561 ac_cv_prog_ac_ct_RANLIB="ranlib"
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5563 break 2
5565 done
5566 done
5567 IFS=$as_save_IFS
5571 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5572 if test -n "$ac_ct_RANLIB"; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5574 $as_echo "$ac_ct_RANLIB" >&6; }
5575 else
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5577 $as_echo "no" >&6; }
5580 if test "x$ac_ct_RANLIB" = x; then
5581 RANLIB=":"
5582 else
5583 case $cross_compiling:$ac_tool_warned in
5584 yes:)
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5587 ac_tool_warned=yes ;;
5588 esac
5589 RANLIB=$ac_ct_RANLIB
5591 else
5592 RANLIB="$ac_cv_prog_RANLIB"
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5596 $as_echo_n "checking whether ln -s works... " >&6; }
5597 LN_S=$as_ln_s
5598 if test "$LN_S" = "ln -s"; then
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5600 $as_echo "yes" >&6; }
5601 else
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5603 $as_echo "no, using $LN_S" >&6; }
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5607 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5608 if ${ac_cv_path_GREP+:} false; then :
5609 $as_echo_n "(cached) " >&6
5610 else
5611 if test -z "$GREP"; then
5612 ac_path_GREP_found=false
5613 # Loop through the user's path and test for each of PROGNAME-LIST
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5617 IFS=$as_save_IFS
5618 test -z "$as_dir" && as_dir=.
5619 for ac_prog in grep ggrep; do
5620 for ac_exec_ext in '' $ac_executable_extensions; do
5621 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5622 as_fn_executable_p "$ac_path_GREP" || continue
5623 # Check for GNU ac_path_GREP and select it if it is found.
5624 # Check for GNU $ac_path_GREP
5625 case `"$ac_path_GREP" --version 2>&1` in
5626 *GNU*)
5627 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5629 ac_count=0
5630 $as_echo_n 0123456789 >"conftest.in"
5631 while :
5633 cat "conftest.in" "conftest.in" >"conftest.tmp"
5634 mv "conftest.tmp" "conftest.in"
5635 cp "conftest.in" "conftest.nl"
5636 $as_echo 'GREP' >> "conftest.nl"
5637 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5638 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5639 as_fn_arith $ac_count + 1 && ac_count=$as_val
5640 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5641 # Best one so far, save it but keep looking for a better one
5642 ac_cv_path_GREP="$ac_path_GREP"
5643 ac_path_GREP_max=$ac_count
5645 # 10*(2^10) chars as input seems more than enough
5646 test $ac_count -gt 10 && break
5647 done
5648 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5649 esac
5651 $ac_path_GREP_found && break 3
5652 done
5653 done
5654 done
5655 IFS=$as_save_IFS
5656 if test -z "$ac_cv_path_GREP"; then
5657 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5659 else
5660 ac_cv_path_GREP=$GREP
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5665 $as_echo "$ac_cv_path_GREP" >&6; }
5666 GREP="$ac_cv_path_GREP"
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5670 $as_echo_n "checking for egrep... " >&6; }
5671 if ${ac_cv_path_EGREP+:} false; then :
5672 $as_echo_n "(cached) " >&6
5673 else
5674 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5675 then ac_cv_path_EGREP="$GREP -E"
5676 else
5677 if test -z "$EGREP"; then
5678 ac_path_EGREP_found=false
5679 # Loop through the user's path and test for each of PROGNAME-LIST
5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5683 IFS=$as_save_IFS
5684 test -z "$as_dir" && as_dir=.
5685 for ac_prog in egrep; do
5686 for ac_exec_ext in '' $ac_executable_extensions; do
5687 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5688 as_fn_executable_p "$ac_path_EGREP" || continue
5689 # Check for GNU ac_path_EGREP and select it if it is found.
5690 # Check for GNU $ac_path_EGREP
5691 case `"$ac_path_EGREP" --version 2>&1` in
5692 *GNU*)
5693 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5695 ac_count=0
5696 $as_echo_n 0123456789 >"conftest.in"
5697 while :
5699 cat "conftest.in" "conftest.in" >"conftest.tmp"
5700 mv "conftest.tmp" "conftest.in"
5701 cp "conftest.in" "conftest.nl"
5702 $as_echo 'EGREP' >> "conftest.nl"
5703 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5704 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5705 as_fn_arith $ac_count + 1 && ac_count=$as_val
5706 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5707 # Best one so far, save it but keep looking for a better one
5708 ac_cv_path_EGREP="$ac_path_EGREP"
5709 ac_path_EGREP_max=$ac_count
5711 # 10*(2^10) chars as input seems more than enough
5712 test $ac_count -gt 10 && break
5713 done
5714 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5715 esac
5717 $ac_path_EGREP_found && break 3
5718 done
5719 done
5720 done
5721 IFS=$as_save_IFS
5722 if test -z "$ac_cv_path_EGREP"; then
5723 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5725 else
5726 ac_cv_path_EGREP=$EGREP
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5732 $as_echo "$ac_cv_path_EGREP" >&6; }
5733 EGREP="$ac_cv_path_EGREP"
5736 # Extract the first word of "ldconfig", so it can be a program name with args.
5737 set dummy ldconfig; ac_word=$2
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5739 $as_echo_n "checking for $ac_word... " >&6; }
5740 if ${ac_cv_path_LDCONFIG+:} false; then :
5741 $as_echo_n "(cached) " >&6
5742 else
5743 case $LDCONFIG in
5744 [\\/]* | ?:[\\/]*)
5745 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5749 for as_dir in /sbin /usr/sbin $PATH
5751 IFS=$as_save_IFS
5752 test -z "$as_dir" && as_dir=.
5753 for ac_exec_ext in '' $ac_executable_extensions; do
5754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5755 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5757 break 2
5759 done
5760 done
5761 IFS=$as_save_IFS
5763 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5765 esac
5767 LDCONFIG=$ac_cv_path_LDCONFIG
5768 if test -n "$LDCONFIG"; then
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5770 $as_echo "$LDCONFIG" >&6; }
5771 else
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5773 $as_echo "no" >&6; }
5777 for ac_prog in msgfmt
5779 # Extract the first word of "$ac_prog", so it can be a program name with args.
5780 set dummy $ac_prog; ac_word=$2
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5782 $as_echo_n "checking for $ac_word... " >&6; }
5783 if ${ac_cv_prog_MSGFMT+:} false; then :
5784 $as_echo_n "(cached) " >&6
5785 else
5786 if test -n "$MSGFMT"; then
5787 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5788 else
5789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790 for as_dir in $PATH
5792 IFS=$as_save_IFS
5793 test -z "$as_dir" && as_dir=.
5794 for ac_exec_ext in '' $ac_executable_extensions; do
5795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5796 ac_cv_prog_MSGFMT="$ac_prog"
5797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5798 break 2
5800 done
5801 done
5802 IFS=$as_save_IFS
5806 MSGFMT=$ac_cv_prog_MSGFMT
5807 if test -n "$MSGFMT"; then
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5809 $as_echo "$MSGFMT" >&6; }
5810 else
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5812 $as_echo "no" >&6; }
5816 test -n "$MSGFMT" && break
5817 done
5818 test -n "$MSGFMT" || MSGFMT="false"
5820 if ${ac_tool_prefix+:} false; then :
5821 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5822 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5824 $as_echo_n "checking for $ac_word... " >&6; }
5825 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5826 $as_echo_n "(cached) " >&6
5827 else
5828 if test -n "$PKG_CONFIG"; then
5829 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5830 else
5831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5832 for as_dir in $PATH
5834 IFS=$as_save_IFS
5835 test -z "$as_dir" && as_dir=.
5836 for ac_exec_ext in '' $ac_executable_extensions; do
5837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5838 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5840 break 2
5842 done
5843 done
5844 IFS=$as_save_IFS
5848 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5849 if test -n "$PKG_CONFIG"; then
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5851 $as_echo "$PKG_CONFIG" >&6; }
5852 else
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5854 $as_echo "no" >&6; }
5859 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5860 if test "x$cross_compiling" = xyes; then :
5862 else
5863 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5864 # Extract the first word of "pkg-config", so it can be a program name with args.
5865 set dummy pkg-config; ac_word=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867 $as_echo_n "checking for $ac_word... " >&6; }
5868 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 if test -n "$PKG_CONFIG"; then
5872 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5873 else
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 for as_dir in $PATH
5877 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5881 ac_cv_prog_PKG_CONFIG="pkg-config"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 break 2
5885 done
5886 done
5887 IFS=$as_save_IFS
5891 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5892 if test -n "$PKG_CONFIG"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5894 $as_echo "$PKG_CONFIG" >&6; }
5895 else
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5902 else
5903 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5906 if test "x$enable_maintainer_mode" != "xyes"
5907 then
5908 FONTFORGE=""
5909 RSVG=""
5910 CONVERT=""
5911 ICOTOOL=""
5912 else
5913 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5914 for ac_prog in fontforge
5916 # Extract the first word of "$ac_prog", so it can be a program name with args.
5917 set dummy $ac_prog; ac_word=$2
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5919 $as_echo_n "checking for $ac_word... " >&6; }
5920 if ${ac_cv_prog_FONTFORGE+:} false; then :
5921 $as_echo_n "(cached) " >&6
5922 else
5923 if test -n "$FONTFORGE"; then
5924 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5925 else
5926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927 for as_dir in $PATH
5929 IFS=$as_save_IFS
5930 test -z "$as_dir" && as_dir=.
5931 for ac_exec_ext in '' $ac_executable_extensions; do
5932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5933 ac_cv_prog_FONTFORGE="$ac_prog"
5934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5935 break 2
5937 done
5938 done
5939 IFS=$as_save_IFS
5943 FONTFORGE=$ac_cv_prog_FONTFORGE
5944 if test -n "$FONTFORGE"; then
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5946 $as_echo "$FONTFORGE" >&6; }
5947 else
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5949 $as_echo "no" >&6; }
5953 test -n "$FONTFORGE" && break
5954 done
5955 test -n "$FONTFORGE" || FONTFORGE="false"
5957 for ac_prog in rsvg-convert rsvg
5959 # Extract the first word of "$ac_prog", so it can be a program name with args.
5960 set dummy $ac_prog; ac_word=$2
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5962 $as_echo_n "checking for $ac_word... " >&6; }
5963 if ${ac_cv_prog_RSVG+:} false; then :
5964 $as_echo_n "(cached) " >&6
5965 else
5966 if test -n "$RSVG"; then
5967 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5968 else
5969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5970 for as_dir in $PATH
5972 IFS=$as_save_IFS
5973 test -z "$as_dir" && as_dir=.
5974 for ac_exec_ext in '' $ac_executable_extensions; do
5975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5976 ac_cv_prog_RSVG="$ac_prog"
5977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5978 break 2
5980 done
5981 done
5982 IFS=$as_save_IFS
5986 RSVG=$ac_cv_prog_RSVG
5987 if test -n "$RSVG"; then
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5989 $as_echo "$RSVG" >&6; }
5990 else
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5992 $as_echo "no" >&6; }
5996 test -n "$RSVG" && break
5997 done
5998 test -n "$RSVG" || RSVG="false"
6000 for ac_prog in convert
6002 # Extract the first word of "$ac_prog", so it can be a program name with args.
6003 set dummy $ac_prog; ac_word=$2
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005 $as_echo_n "checking for $ac_word... " >&6; }
6006 if ${ac_cv_prog_CONVERT+:} false; then :
6007 $as_echo_n "(cached) " >&6
6008 else
6009 if test -n "$CONVERT"; then
6010 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6011 else
6012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013 for as_dir in $PATH
6015 IFS=$as_save_IFS
6016 test -z "$as_dir" && as_dir=.
6017 for ac_exec_ext in '' $ac_executable_extensions; do
6018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6019 ac_cv_prog_CONVERT="$ac_prog"
6020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021 break 2
6023 done
6024 done
6025 IFS=$as_save_IFS
6029 CONVERT=$ac_cv_prog_CONVERT
6030 if test -n "$CONVERT"; then
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6032 $as_echo "$CONVERT" >&6; }
6033 else
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6035 $as_echo "no" >&6; }
6039 test -n "$CONVERT" && break
6040 done
6041 test -n "$CONVERT" || CONVERT="false"
6043 for ac_prog in icotool
6045 # Extract the first word of "$ac_prog", so it can be a program name with args.
6046 set dummy $ac_prog; ac_word=$2
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6048 $as_echo_n "checking for $ac_word... " >&6; }
6049 if ${ac_cv_prog_ICOTOOL+:} false; then :
6050 $as_echo_n "(cached) " >&6
6051 else
6052 if test -n "$ICOTOOL"; then
6053 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6054 else
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 for as_dir in $PATH
6058 IFS=$as_save_IFS
6059 test -z "$as_dir" && as_dir=.
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6062 ac_cv_prog_ICOTOOL="$ac_prog"
6063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6064 break 2
6066 done
6067 done
6068 IFS=$as_save_IFS
6072 ICOTOOL=$ac_cv_prog_ICOTOOL
6073 if test -n "$ICOTOOL"; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6075 $as_echo "$ICOTOOL" >&6; }
6076 else
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6078 $as_echo "no" >&6; }
6082 test -n "$ICOTOOL" && break
6083 done
6084 test -n "$ICOTOOL" || ICOTOOL="false"
6086 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6087 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6089 if test "$CONVERT" = false
6090 then
6091 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6092 else
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6094 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6095 convert_version=`convert --version | head -n1`
6096 if test "x$convert_version" != "x"
6097 then
6098 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6099 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6100 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6101 then
6102 CONVERT=false
6105 if test "$CONVERT" = false
6106 then
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6108 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6109 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6110 else
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6112 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6116 if test "$ICOTOOL" = false
6117 then
6118 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6119 else
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6121 $as_echo_n "checking for recent enough icotool... " >&6; }
6122 icotool_version=`icotool --version | head -n1`
6123 if test "x$icotool_version" != "x"
6124 then
6125 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6126 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6127 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6128 then
6129 ICOTOOL=false
6130 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6133 if test "$ICOTOOL" = false
6134 then
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6136 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6137 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6138 else
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6140 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6144 with_gettext=yes
6145 with_gettextpo=yes
6146 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6149 test "x$with_gettext" != xno || MSGFMT=false
6150 if test "$MSGFMT" != "false"
6151 then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6153 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6154 cat >conftest.po <<EOF
6155 # comment
6156 msgctxt "ctxt"
6157 msgid "id"
6158 msgstr "str"
6160 if $MSGFMT -o /dev/null conftest.po 2>&5
6161 then
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6163 $as_echo "yes" >&6; }
6164 else
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6166 $as_echo "no" >&6; }
6167 MSGFMT=false
6170 if test "$MSGFMT" = false; then :
6171 case "x$with_gettext" in
6172 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6173 xno) ;;
6174 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6175 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6176 esac
6177 enable_po=${enable_po:-no}
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6182 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6183 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6184 $as_echo_n "(cached) " >&6
6185 else
6186 ac_check_lib_save_LIBS=$LIBS
6187 LIBS="-li386 $LIBS"
6188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6191 /* Override any GCC internal prototype to avoid an error.
6192 Use char because int might match the return type of a GCC
6193 builtin and then its argument prototype would still apply. */
6194 #ifdef __cplusplus
6195 extern "C"
6196 #endif
6197 char i386_set_ldt ();
6199 main ()
6201 return i386_set_ldt ();
6203 return 0;
6205 _ACEOF
6206 if ac_fn_c_try_link "$LINENO"; then :
6207 ac_cv_lib_i386_i386_set_ldt=yes
6208 else
6209 ac_cv_lib_i386_i386_set_ldt=no
6211 rm -f core conftest.err conftest.$ac_objext \
6212 conftest$ac_exeext conftest.$ac_ext
6213 LIBS=$ac_check_lib_save_LIBS
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6216 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6217 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6218 cat >>confdefs.h <<_ACEOF
6219 #define HAVE_LIBI386 1
6220 _ACEOF
6222 LIBS="-li386 $LIBS"
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6227 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6228 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6229 $as_echo_n "(cached) " >&6
6230 else
6231 ac_check_lib_save_LIBS=$LIBS
6232 LIBS="-lossaudio $LIBS"
6233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6234 /* end confdefs.h. */
6236 /* Override any GCC internal prototype to avoid an error.
6237 Use char because int might match the return type of a GCC
6238 builtin and then its argument prototype would still apply. */
6239 #ifdef __cplusplus
6240 extern "C"
6241 #endif
6242 char _oss_ioctl ();
6244 main ()
6246 return _oss_ioctl ();
6248 return 0;
6250 _ACEOF
6251 if ac_fn_c_try_link "$LINENO"; then :
6252 ac_cv_lib_ossaudio__oss_ioctl=yes
6253 else
6254 ac_cv_lib_ossaudio__oss_ioctl=no
6256 rm -f core conftest.err conftest.$ac_objext \
6257 conftest$ac_exeext conftest.$ac_ext
6258 LIBS=$ac_check_lib_save_LIBS
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6261 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6262 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6263 cat >>confdefs.h <<_ACEOF
6264 #define HAVE_LIBOSSAUDIO 1
6265 _ACEOF
6267 LIBS="-lossaudio $LIBS"
6272 OPENGL_LIBS=""
6276 # Check whether --enable-largefile was given.
6277 if test "${enable_largefile+set}" = set; then :
6278 enableval=$enable_largefile;
6281 if test "$enable_largefile" != no; then
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6284 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6285 if ${ac_cv_sys_largefile_CC+:} false; then :
6286 $as_echo_n "(cached) " >&6
6287 else
6288 ac_cv_sys_largefile_CC=no
6289 if test "$GCC" != yes; then
6290 ac_save_CC=$CC
6291 while :; do
6292 # IRIX 6.2 and later do not support large files by default,
6293 # so use the C compiler's -n32 option if that helps.
6294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6295 /* end confdefs.h. */
6296 #include <sys/types.h>
6297 /* Check that off_t can represent 2**63 - 1 correctly.
6298 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6299 since some C++ compilers masquerading as C compilers
6300 incorrectly reject 9223372036854775807. */
6301 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6302 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6303 && LARGE_OFF_T % 2147483647 == 1)
6304 ? 1 : -1];
6306 main ()
6310 return 0;
6312 _ACEOF
6313 if ac_fn_c_try_compile "$LINENO"; then :
6314 break
6316 rm -f core conftest.err conftest.$ac_objext
6317 CC="$CC -n32"
6318 if ac_fn_c_try_compile "$LINENO"; then :
6319 ac_cv_sys_largefile_CC=' -n32'; break
6321 rm -f core conftest.err conftest.$ac_objext
6322 break
6323 done
6324 CC=$ac_save_CC
6325 rm -f conftest.$ac_ext
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6329 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6330 if test "$ac_cv_sys_largefile_CC" != no; then
6331 CC=$CC$ac_cv_sys_largefile_CC
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6335 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6336 if ${ac_cv_sys_file_offset_bits+:} false; then :
6337 $as_echo_n "(cached) " >&6
6338 else
6339 while :; do
6340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6342 #include <sys/types.h>
6343 /* Check that off_t can represent 2**63 - 1 correctly.
6344 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6345 since some C++ compilers masquerading as C compilers
6346 incorrectly reject 9223372036854775807. */
6347 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6348 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6349 && LARGE_OFF_T % 2147483647 == 1)
6350 ? 1 : -1];
6352 main ()
6356 return 0;
6358 _ACEOF
6359 if ac_fn_c_try_compile "$LINENO"; then :
6360 ac_cv_sys_file_offset_bits=no; break
6362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6364 /* end confdefs.h. */
6365 #define _FILE_OFFSET_BITS 64
6366 #include <sys/types.h>
6367 /* Check that off_t can represent 2**63 - 1 correctly.
6368 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6369 since some C++ compilers masquerading as C compilers
6370 incorrectly reject 9223372036854775807. */
6371 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6372 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6373 && LARGE_OFF_T % 2147483647 == 1)
6374 ? 1 : -1];
6376 main ()
6380 return 0;
6382 _ACEOF
6383 if ac_fn_c_try_compile "$LINENO"; then :
6384 ac_cv_sys_file_offset_bits=64; break
6386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6387 ac_cv_sys_file_offset_bits=unknown
6388 break
6389 done
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6392 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6393 case $ac_cv_sys_file_offset_bits in #(
6394 no | unknown) ;;
6396 cat >>confdefs.h <<_ACEOF
6397 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6398 _ACEOF
6400 esac
6401 rm -rf conftest*
6402 if test $ac_cv_sys_file_offset_bits = unknown; then
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6404 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6405 if ${ac_cv_sys_large_files+:} false; then :
6406 $as_echo_n "(cached) " >&6
6407 else
6408 while :; do
6409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6410 /* end confdefs.h. */
6411 #include <sys/types.h>
6412 /* Check that off_t can represent 2**63 - 1 correctly.
6413 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6414 since some C++ compilers masquerading as C compilers
6415 incorrectly reject 9223372036854775807. */
6416 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6417 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6418 && LARGE_OFF_T % 2147483647 == 1)
6419 ? 1 : -1];
6421 main ()
6425 return 0;
6427 _ACEOF
6428 if ac_fn_c_try_compile "$LINENO"; then :
6429 ac_cv_sys_large_files=no; break
6431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6433 /* end confdefs.h. */
6434 #define _LARGE_FILES 1
6435 #include <sys/types.h>
6436 /* Check that off_t can represent 2**63 - 1 correctly.
6437 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6438 since some C++ compilers masquerading as C compilers
6439 incorrectly reject 9223372036854775807. */
6440 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6441 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6442 && LARGE_OFF_T % 2147483647 == 1)
6443 ? 1 : -1];
6445 main ()
6449 return 0;
6451 _ACEOF
6452 if ac_fn_c_try_compile "$LINENO"; then :
6453 ac_cv_sys_large_files=1; break
6455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6456 ac_cv_sys_large_files=unknown
6457 break
6458 done
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6461 $as_echo "$ac_cv_sys_large_files" >&6; }
6462 case $ac_cv_sys_large_files in #(
6463 no | unknown) ;;
6465 cat >>confdefs.h <<_ACEOF
6466 #define _LARGE_FILES $ac_cv_sys_large_files
6467 _ACEOF
6469 esac
6470 rm -rf conftest*
6477 ac_ext=c
6478 ac_cpp='$CPP $CPPFLAGS'
6479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6483 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6484 # On Suns, sometimes $CPP names a directory.
6485 if test -n "$CPP" && test -d "$CPP"; then
6486 CPP=
6488 if test -z "$CPP"; then
6489 if ${ac_cv_prog_CPP+:} false; then :
6490 $as_echo_n "(cached) " >&6
6491 else
6492 # Double quotes because CPP needs to be expanded
6493 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6495 ac_preproc_ok=false
6496 for ac_c_preproc_warn_flag in '' yes
6498 # Use a header file that comes with gcc, so configuring glibc
6499 # with a fresh cross-compiler works.
6500 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6501 # <limits.h> exists even on freestanding compilers.
6502 # On the NeXT, cc -E runs the code through the compiler's parser,
6503 # not just through cpp. "Syntax error" is here to catch this case.
6504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6505 /* end confdefs.h. */
6506 #ifdef __STDC__
6507 # include <limits.h>
6508 #else
6509 # include <assert.h>
6510 #endif
6511 Syntax error
6512 _ACEOF
6513 if ac_fn_c_try_cpp "$LINENO"; then :
6515 else
6516 # Broken: fails on valid input.
6517 continue
6519 rm -f conftest.err conftest.i conftest.$ac_ext
6521 # OK, works on sane cases. Now check whether nonexistent headers
6522 # can be detected and how.
6523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6524 /* end confdefs.h. */
6525 #include <ac_nonexistent.h>
6526 _ACEOF
6527 if ac_fn_c_try_cpp "$LINENO"; then :
6528 # Broken: success on invalid input.
6529 continue
6530 else
6531 # Passes both tests.
6532 ac_preproc_ok=:
6533 break
6535 rm -f conftest.err conftest.i conftest.$ac_ext
6537 done
6538 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6539 rm -f conftest.i conftest.err conftest.$ac_ext
6540 if $ac_preproc_ok; then :
6541 break
6544 done
6545 ac_cv_prog_CPP=$CPP
6548 CPP=$ac_cv_prog_CPP
6549 else
6550 ac_cv_prog_CPP=$CPP
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6553 $as_echo "$CPP" >&6; }
6554 ac_preproc_ok=false
6555 for ac_c_preproc_warn_flag in '' yes
6557 # Use a header file that comes with gcc, so configuring glibc
6558 # with a fresh cross-compiler works.
6559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6560 # <limits.h> exists even on freestanding compilers.
6561 # On the NeXT, cc -E runs the code through the compiler's parser,
6562 # not just through cpp. "Syntax error" is here to catch this case.
6563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6564 /* end confdefs.h. */
6565 #ifdef __STDC__
6566 # include <limits.h>
6567 #else
6568 # include <assert.h>
6569 #endif
6570 Syntax error
6571 _ACEOF
6572 if ac_fn_c_try_cpp "$LINENO"; then :
6574 else
6575 # Broken: fails on valid input.
6576 continue
6578 rm -f conftest.err conftest.i conftest.$ac_ext
6580 # OK, works on sane cases. Now check whether nonexistent headers
6581 # can be detected and how.
6582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6583 /* end confdefs.h. */
6584 #include <ac_nonexistent.h>
6585 _ACEOF
6586 if ac_fn_c_try_cpp "$LINENO"; then :
6587 # Broken: success on invalid input.
6588 continue
6589 else
6590 # Passes both tests.
6591 ac_preproc_ok=:
6592 break
6594 rm -f conftest.err conftest.i conftest.$ac_ext
6596 done
6597 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6598 rm -f conftest.i conftest.err conftest.$ac_ext
6599 if $ac_preproc_ok; then :
6601 else
6602 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6604 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6605 See \`config.log' for more details" "$LINENO" 5; }
6608 ac_ext=c
6609 ac_cpp='$CPP $CPPFLAGS'
6610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6616 $as_echo_n "checking for ANSI C header files... " >&6; }
6617 if ${ac_cv_header_stdc+:} false; then :
6618 $as_echo_n "(cached) " >&6
6619 else
6620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6621 /* end confdefs.h. */
6622 #include <stdlib.h>
6623 #include <stdarg.h>
6624 #include <string.h>
6625 #include <float.h>
6628 main ()
6632 return 0;
6634 _ACEOF
6635 if ac_fn_c_try_compile "$LINENO"; then :
6636 ac_cv_header_stdc=yes
6637 else
6638 ac_cv_header_stdc=no
6640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6642 if test $ac_cv_header_stdc = yes; then
6643 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6645 /* end confdefs.h. */
6646 #include <string.h>
6648 _ACEOF
6649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6650 $EGREP "memchr" >/dev/null 2>&1; then :
6652 else
6653 ac_cv_header_stdc=no
6655 rm -f conftest*
6659 if test $ac_cv_header_stdc = yes; then
6660 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6662 /* end confdefs.h. */
6663 #include <stdlib.h>
6665 _ACEOF
6666 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6667 $EGREP "free" >/dev/null 2>&1; then :
6669 else
6670 ac_cv_header_stdc=no
6672 rm -f conftest*
6676 if test $ac_cv_header_stdc = yes; then
6677 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6678 if test "$cross_compiling" = yes; then :
6680 else
6681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6682 /* end confdefs.h. */
6683 #include <ctype.h>
6684 #include <stdlib.h>
6685 #if ((' ' & 0x0FF) == 0x020)
6686 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6687 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6688 #else
6689 # define ISLOWER(c) \
6690 (('a' <= (c) && (c) <= 'i') \
6691 || ('j' <= (c) && (c) <= 'r') \
6692 || ('s' <= (c) && (c) <= 'z'))
6693 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6694 #endif
6696 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6698 main ()
6700 int i;
6701 for (i = 0; i < 256; i++)
6702 if (XOR (islower (i), ISLOWER (i))
6703 || toupper (i) != TOUPPER (i))
6704 return 2;
6705 return 0;
6707 _ACEOF
6708 if ac_fn_c_try_run "$LINENO"; then :
6710 else
6711 ac_cv_header_stdc=no
6713 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6714 conftest.$ac_objext conftest.beam conftest.$ac_ext
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6720 $as_echo "$ac_cv_header_stdc" >&6; }
6721 if test $ac_cv_header_stdc = yes; then
6723 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6727 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6728 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6729 inttypes.h stdint.h unistd.h
6730 do :
6731 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6732 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6734 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6735 cat >>confdefs.h <<_ACEOF
6736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6737 _ACEOF
6741 done
6744 for ac_header in \
6745 AL/al.h \
6746 ApplicationServices/ApplicationServices.h \
6747 AudioToolbox/AudioConverter.h \
6748 AudioUnit/AudioUnit.h \
6749 AudioUnit/AudioComponent.h \
6750 CL/cl.h \
6751 Carbon/Carbon.h \
6752 CommonCrypto/CommonDigest.h \
6753 CoreAudio/CoreAudio.h \
6754 CoreServices/CoreServices.h \
6755 DiskArbitration/DiskArbitration.h \
6756 IOKit/IOKitLib.h \
6757 IOKit/hid/IOHIDLib.h \
6758 OpenAL/al.h \
6759 OpenCL/opencl.h \
6760 QuickTime/ImageCompression.h \
6761 Security/Security.h \
6762 alias.h \
6763 alsa/asoundlib.h \
6764 arpa/inet.h \
6765 arpa/nameser.h \
6766 asm/types.h \
6767 asm/user.h \
6768 curses.h \
6769 direct.h \
6770 dirent.h \
6771 dlfcn.h \
6772 elf.h \
6773 float.h \
6774 fnmatch.h \
6775 getopt.h \
6776 gettext-po.h \
6777 grp.h \
6778 gsm.h \
6779 gsm/gsm.h \
6780 ieeefp.h \
6781 inet/mib2.h \
6782 io.h \
6783 kstat.h \
6784 lber.h \
6785 ldap.h \
6786 libproc.h \
6787 link.h \
6788 linux/cdrom.h \
6789 linux/compiler.h \
6790 linux/filter.h \
6791 linux/hdreg.h \
6792 linux/input.h \
6793 linux/ioctl.h \
6794 linux/joystick.h \
6795 linux/major.h \
6796 linux/param.h \
6797 linux/serial.h \
6798 linux/types.h \
6799 linux/ucdrom.h \
6800 lwp.h \
6801 mach-o/nlist.h \
6802 mach-o/loader.h \
6803 mach/mach.h \
6804 mach/machine.h \
6805 machine/cpu.h \
6806 machine/limits.h \
6807 machine/sysarch.h \
6808 mntent.h \
6809 ncurses.h \
6810 netdb.h \
6811 netinet/in.h \
6812 netinet/in_systm.h \
6813 netinet/tcp.h \
6814 netinet/tcp_fsm.h \
6815 pcap/pcap.h \
6816 poll.h \
6817 port.h \
6818 process.h \
6819 pthread.h \
6820 pwd.h \
6821 sched.h \
6822 scsi/scsi.h \
6823 scsi/scsi_ioctl.h \
6824 scsi/sg.h \
6825 stdbool.h \
6826 stdint.h \
6827 stropts.h \
6828 sys/asoundlib.h \
6829 sys/attr.h \
6830 sys/cdio.h \
6831 sys/elf32.h \
6832 sys/epoll.h \
6833 sys/event.h \
6834 sys/exec_elf.h \
6835 sys/filio.h \
6836 sys/inotify.h \
6837 sys/ioctl.h \
6838 sys/ipc.h \
6839 sys/limits.h \
6840 sys/link.h \
6841 sys/mman.h \
6842 sys/modem.h \
6843 sys/msg.h \
6844 sys/mtio.h \
6845 sys/param.h \
6846 sys/poll.h \
6847 sys/prctl.h \
6848 sys/protosw.h \
6849 sys/ptrace.h \
6850 sys/queue.h \
6851 sys/resource.h \
6852 sys/scsiio.h \
6853 sys/shm.h \
6854 sys/signal.h \
6855 sys/socket.h \
6856 sys/socketvar.h \
6857 sys/sockio.h \
6858 sys/statvfs.h \
6859 sys/strtio.h \
6860 sys/syscall.h \
6861 sys/sysinfo.h \
6862 sys/tihdr.h \
6863 sys/time.h \
6864 sys/timeout.h \
6865 sys/times.h \
6866 sys/uio.h \
6867 sys/user.h \
6868 sys/utsname.h \
6869 sys/vm86.h \
6870 sys/vnode.h \
6871 sys/wait.h \
6872 syscall.h \
6873 termios.h \
6874 unistd.h \
6875 utime.h \
6876 valgrind/memcheck.h \
6877 valgrind/valgrind.h \
6878 zlib.h
6880 do :
6881 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6882 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6883 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6884 cat >>confdefs.h <<_ACEOF
6885 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6886 _ACEOF
6890 done
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6893 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6894 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6895 $as_echo_n "(cached) " >&6
6896 else
6897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6898 /* end confdefs.h. */
6899 #include <sys/types.h>
6901 main ()
6903 return makedev(0, 0);
6905 return 0;
6907 _ACEOF
6908 if ac_fn_c_try_link "$LINENO"; then :
6909 ac_cv_header_sys_types_h_makedev=yes
6910 else
6911 ac_cv_header_sys_types_h_makedev=no
6913 rm -f core conftest.err conftest.$ac_objext \
6914 conftest$ac_exeext conftest.$ac_ext
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6918 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6920 if test $ac_cv_header_sys_types_h_makedev = no; then
6921 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6922 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6924 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6930 if test $ac_cv_header_sys_mkdev_h = no; then
6931 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6932 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6934 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6943 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6944 if ${ac_cv_header_stat_broken+:} false; then :
6945 $as_echo_n "(cached) " >&6
6946 else
6947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6948 /* end confdefs.h. */
6949 #include <sys/types.h>
6950 #include <sys/stat.h>
6952 #if defined S_ISBLK && defined S_IFDIR
6953 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6954 #endif
6956 #if defined S_ISBLK && defined S_IFCHR
6957 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6958 #endif
6960 #if defined S_ISLNK && defined S_IFREG
6961 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6962 #endif
6964 #if defined S_ISSOCK && defined S_IFREG
6965 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6966 #endif
6968 _ACEOF
6969 if ac_fn_c_try_compile "$LINENO"; then :
6970 ac_cv_header_stat_broken=no
6971 else
6972 ac_cv_header_stat_broken=yes
6974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6977 $as_echo "$ac_cv_header_stat_broken" >&6; }
6978 if test $ac_cv_header_stat_broken = yes; then
6980 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6986 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6987 do :
6988 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6989 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6990 #ifdef HAVE_SYS_PARAM_H
6991 # include <sys/param.h>
6992 #endif
6994 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6995 cat >>confdefs.h <<_ACEOF
6996 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6997 _ACEOF
7001 done
7004 for ac_header in \
7005 netinet/ip.h \
7006 net/if.h \
7007 net/if_arp.h \
7008 net/if_dl.h \
7009 net/if_types.h \
7010 net/route.h \
7011 netinet/if_ether.h \
7012 netinet/if_inarp.h \
7013 netinet/in_pcb.h \
7014 netinet/ip_icmp.h \
7015 netinet/ip_var.h \
7016 netinet/udp.h \
7017 netipx/ipx.h \
7018 sys/un.h \
7020 do :
7021 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7022 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7023 #ifdef HAVE_SYS_SOCKET_H
7024 # include <sys/socket.h>
7025 #endif
7026 #ifdef HAVE_SYS_SOCKETVAR_H
7027 # include <sys/socketvar.h>
7028 #endif
7029 #ifdef HAVE_NET_ROUTE_H
7030 # include <net/route.h>
7031 #endif
7032 #ifdef HAVE_NETINET_IN_H
7033 # include <netinet/in.h>
7034 #endif
7035 #ifdef HAVE_NETINET_IN_SYSTM_H
7036 # include <netinet/in_systm.h>
7037 #endif
7038 #ifdef HAVE_NET_IF_H
7039 # include <net/if.h>
7040 #endif
7041 #ifdef HAVE_NETINET_IP_H
7042 # include <netinet/ip.h>
7043 #endif
7045 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7046 cat >>confdefs.h <<_ACEOF
7047 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7048 _ACEOF
7052 done
7055 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7056 do :
7057 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7058 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7059 #ifdef HAVE_ALIAS_H
7060 # include <alias.h>
7061 #endif
7062 #ifdef HAVE_SYS_SOCKET_H
7063 # include <sys/socket.h>
7064 #endif
7065 #ifdef HAVE_SYS_SOCKETVAR_H
7066 # include <sys/socketvar.h>
7067 #endif
7068 #ifdef HAVE_SYS_TIMEOUT_H
7069 # include <sys/timeout.h>
7070 #endif
7071 #ifdef HAVE_NETINET_IN_H
7072 # include <netinet/in.h>
7073 #endif
7074 #ifdef HAVE_NETINET_IN_SYSTM_H
7075 # include <netinet/in_systm.h>
7076 #endif
7077 #ifdef HAVE_NETINET_IP_H
7078 # include <netinet/ip.h>
7079 #endif
7080 #ifdef HAVE_NETINET_IP_VAR_H
7081 # include <netinet/ip_var.h>
7082 #endif
7083 #ifdef HAVE_NETINET_IP_ICMP_H
7084 # include <netinet/ip_icmp.h>
7085 #endif
7086 #ifdef HAVE_NETINET_UDP_H
7087 # include <netinet/udp.h>
7088 #endif
7089 #ifdef HAVE_NETINET_TCP_H
7090 # include <netinet/tcp.h>
7091 #endif
7092 #ifdef HAVE_NETINET_TCP_TIMER_H
7093 #include <netinet/tcp_timer.h>
7094 #endif
7096 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7097 cat >>confdefs.h <<_ACEOF
7098 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7099 _ACEOF
7103 done
7106 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7107 do :
7108 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7109 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7110 #ifdef HAVE_ASM_TYPES_H
7111 # include <asm/types.h>
7112 #endif
7113 #ifdef HAVE_SYS_SOCKET_H
7114 # include <sys/socket.h>
7115 #endif
7116 #ifdef HAVE_LINUX_TYPES_H
7117 # include <linux/types.h>
7118 #endif
7120 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7121 cat >>confdefs.h <<_ACEOF
7122 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7123 _ACEOF
7127 done
7130 for ac_header in mach-o/dyld_images.h
7131 do :
7132 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7133 # include <stdbool.h>
7134 #endif
7135 #ifdef HAVE_STDINT_H
7136 # include <stdint.h>
7137 #endif
7139 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7140 cat >>confdefs.h <<_ACEOF
7141 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7142 _ACEOF
7146 done
7149 for ac_header in resolv.h
7150 do :
7151 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7152 #ifdef HAVE_SYS_SOCKET_H
7153 # include <sys/socket.h>
7154 #endif
7155 #ifdef HAVE_NETINET_IN_H
7156 # include <netinet/in.h>
7157 #endif
7158 #ifdef HAVE_ARPA_NAMESER_H
7159 # include <arpa/nameser.h>
7160 #endif
7162 if test "x$ac_cv_header_resolv_h" = xyes; then :
7163 cat >>confdefs.h <<_ACEOF
7164 #define HAVE_RESOLV_H 1
7165 _ACEOF
7169 done
7172 for ac_header in ifaddrs.h
7173 do :
7174 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7176 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7177 cat >>confdefs.h <<_ACEOF
7178 #define HAVE_IFADDRS_H 1
7179 _ACEOF
7183 done
7186 for ac_header in sys/ucontext.h
7187 do :
7188 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7190 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7191 cat >>confdefs.h <<_ACEOF
7192 #define HAVE_SYS_UCONTEXT_H 1
7193 _ACEOF
7197 done
7200 for ac_header in sys/thr.h
7201 do :
7202 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7203 #ifdef HAVE_SYS_UCONTEXT_H
7204 #include <sys/ucontext.h>
7205 #endif
7207 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7208 cat >>confdefs.h <<_ACEOF
7209 #define HAVE_SYS_THR_H 1
7210 _ACEOF
7214 done
7217 for ac_header in pthread_np.h
7218 do :
7219 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7220 #include <pthread.h>
7221 #endif
7223 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7224 cat >>confdefs.h <<_ACEOF
7225 #define HAVE_PTHREAD_NP_H 1
7226 _ACEOF
7230 done
7233 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7234 do :
7235 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7236 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7237 #include <sys/time.h>
7238 #endif
7239 #include <sys/types.h>
7240 #ifdef HAVE_ASM_TYPES_H
7241 #include <asm/types.h>
7242 #endif
7244 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7245 cat >>confdefs.h <<_ACEOF
7246 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7247 _ACEOF
7251 done
7254 for ac_header in libprocstat.h
7255 do :
7256 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7257 #include <sys/param.h>
7258 #endif
7259 #ifdef HAVE_SYS_QUEUE_H
7260 #include <sys/queue.h>
7261 #endif
7262 #ifdef HAVE_SYS_SOCKET_H
7263 #include <sys/socket.h>
7264 #endif
7266 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7267 cat >>confdefs.h <<_ACEOF
7268 #define HAVE_LIBPROCSTAT_H 1
7269 _ACEOF
7273 done
7277 dlldir="\${libdir}/wine"
7279 DLLFLAGS="-D_REENTRANT"
7281 LDRPATH_INSTALL=""
7283 LDRPATH_LOCAL=""
7285 LDEXECFLAGS=""
7287 LIBEXT="so"
7288 DLLEXT=".so"
7289 IMPLIBEXT="def"
7290 # Extract the first word of "ldd", so it can be a program name with args.
7291 set dummy ldd; ac_word=$2
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7293 $as_echo_n "checking for $ac_word... " >&6; }
7294 if ${ac_cv_path_LDD+:} false; then :
7295 $as_echo_n "(cached) " >&6
7296 else
7297 case $LDD in
7298 [\\/]* | ?:[\\/]*)
7299 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7303 as_dummy="/sbin:/usr/sbin:$PATH"
7304 for as_dir in $as_dummy
7306 IFS=$as_save_IFS
7307 test -z "$as_dir" && as_dir=.
7308 for ac_exec_ext in '' $ac_executable_extensions; do
7309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7310 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7312 break 2
7314 done
7315 done
7316 IFS=$as_save_IFS
7318 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7320 esac
7322 LDD=$ac_cv_path_LDD
7323 if test -n "$LDD"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7325 $as_echo "$LDD" >&6; }
7326 else
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7332 if test -n "$ac_tool_prefix"; then
7333 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7334 set dummy ${ac_tool_prefix}otool; ac_word=$2
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7336 $as_echo_n "checking for $ac_word... " >&6; }
7337 if ${ac_cv_prog_OTOOL+:} false; then :
7338 $as_echo_n "(cached) " >&6
7339 else
7340 if test -n "$OTOOL"; then
7341 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7342 else
7343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7344 for as_dir in $PATH
7346 IFS=$as_save_IFS
7347 test -z "$as_dir" && as_dir=.
7348 for ac_exec_ext in '' $ac_executable_extensions; do
7349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7350 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7352 break 2
7354 done
7355 done
7356 IFS=$as_save_IFS
7360 OTOOL=$ac_cv_prog_OTOOL
7361 if test -n "$OTOOL"; then
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7363 $as_echo "$OTOOL" >&6; }
7364 else
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7366 $as_echo "no" >&6; }
7371 if test -z "$ac_cv_prog_OTOOL"; then
7372 ac_ct_OTOOL=$OTOOL
7373 # Extract the first word of "otool", so it can be a program name with args.
7374 set dummy otool; ac_word=$2
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7376 $as_echo_n "checking for $ac_word... " >&6; }
7377 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7378 $as_echo_n "(cached) " >&6
7379 else
7380 if test -n "$ac_ct_OTOOL"; then
7381 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7382 else
7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7384 for as_dir in $PATH
7386 IFS=$as_save_IFS
7387 test -z "$as_dir" && as_dir=.
7388 for ac_exec_ext in '' $ac_executable_extensions; do
7389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7390 ac_cv_prog_ac_ct_OTOOL="otool"
7391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7392 break 2
7394 done
7395 done
7396 IFS=$as_save_IFS
7400 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7401 if test -n "$ac_ct_OTOOL"; then
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7403 $as_echo "$ac_ct_OTOOL" >&6; }
7404 else
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7406 $as_echo "no" >&6; }
7409 if test "x$ac_ct_OTOOL" = x; then
7410 OTOOL="otool"
7411 else
7412 case $cross_compiling:$ac_tool_warned in
7413 yes:)
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7416 ac_tool_warned=yes ;;
7417 esac
7418 OTOOL=$ac_ct_OTOOL
7420 else
7421 OTOOL="$ac_cv_prog_OTOOL"
7424 if test -n "$ac_tool_prefix"; then
7425 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7426 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7428 $as_echo_n "checking for $ac_word... " >&6; }
7429 if ${ac_cv_prog_READELF+:} false; then :
7430 $as_echo_n "(cached) " >&6
7431 else
7432 if test -n "$READELF"; then
7433 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7434 else
7435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7436 for as_dir in $PATH
7438 IFS=$as_save_IFS
7439 test -z "$as_dir" && as_dir=.
7440 for ac_exec_ext in '' $ac_executable_extensions; do
7441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7442 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7444 break 2
7446 done
7447 done
7448 IFS=$as_save_IFS
7452 READELF=$ac_cv_prog_READELF
7453 if test -n "$READELF"; then
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7455 $as_echo "$READELF" >&6; }
7456 else
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7458 $as_echo "no" >&6; }
7463 if test -z "$ac_cv_prog_READELF"; then
7464 ac_ct_READELF=$READELF
7465 # Extract the first word of "readelf", so it can be a program name with args.
7466 set dummy readelf; ac_word=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 $as_echo_n "checking for $ac_word... " >&6; }
7469 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7470 $as_echo_n "(cached) " >&6
7471 else
7472 if test -n "$ac_ct_READELF"; then
7473 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7474 else
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7476 for as_dir in $PATH
7478 IFS=$as_save_IFS
7479 test -z "$as_dir" && as_dir=.
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7482 ac_cv_prog_ac_ct_READELF="readelf"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484 break 2
7486 done
7487 done
7488 IFS=$as_save_IFS
7492 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7493 if test -n "$ac_ct_READELF"; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7495 $as_echo "$ac_ct_READELF" >&6; }
7496 else
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 $as_echo "no" >&6; }
7501 if test "x$ac_ct_READELF" = x; then
7502 READELF="true"
7503 else
7504 case $cross_compiling:$ac_tool_warned in
7505 yes:)
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7508 ac_tool_warned=yes ;;
7509 esac
7510 READELF=$ac_ct_READELF
7512 else
7513 READELF="$ac_cv_prog_READELF"
7516 wine_rules_file=conf$$rules.make
7517 rm -f $wine_rules_file
7518 SUBDIRS=""
7520 DISABLED_SUBDIRS=""
7522 CONFIGURE_TARGETS=""
7524 ALL_TEST_RESOURCES=""
7527 wine_fn_append_file ()
7529 as_fn_append $1 " \\$as_nl $2"
7532 wine_fn_append_rule ()
7534 $as_echo "$1" >>$wine_rules_file
7537 wine_fn_has_flag ()
7539 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7542 wine_fn_all_rules ()
7544 wine_fn_append_file SUBDIRS $ac_dir
7545 wine_fn_append_rule \
7546 "all: $ac_dir
7547 .PHONY: $ac_dir
7548 $ac_dir: dummy
7549 @cd $ac_dir && \$(MAKE)"
7552 wine_fn_install_rules ()
7554 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7556 wine_fn_append_rule \
7557 ".PHONY: $ac_dir/install $ac_dir/uninstall
7558 $ac_dir/install:: $ac_dir
7559 @cd $ac_dir && \$(MAKE) install
7560 $ac_dir/uninstall::
7561 @cd $ac_dir && \$(MAKE) uninstall
7562 install:: $ac_dir/install
7563 __uninstall__: $ac_dir/uninstall"
7565 if wine_fn_has_flag install-lib
7566 then
7567 wine_fn_append_rule \
7568 ".PHONY: $ac_dir/install-lib
7569 $ac_dir/install-lib:: $ac_dir
7570 @cd $ac_dir && \$(MAKE) install-lib
7571 install-lib:: $ac_dir/install-lib"
7574 if wine_fn_has_flag install-dev
7575 then
7576 wine_fn_append_rule \
7577 ".PHONY: $ac_dir/install-dev
7578 $ac_dir/install-dev:: $ac_dir
7579 @cd $ac_dir && \$(MAKE) install-dev
7580 install-dev:: $ac_dir/install-dev"
7584 wine_fn_clean_rules ()
7586 ac_clean=$@
7588 if wine_fn_has_flag clean
7589 then
7590 wine_fn_append_rule \
7591 "$ac_dir/clean: dummy
7592 @cd $ac_dir && \$(MAKE) clean"
7593 else
7594 wine_fn_append_rule \
7595 "$ac_dir/clean: dummy
7596 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7598 wine_fn_append_rule \
7599 "__clean__: $ac_dir/clean
7600 .PHONY: $ac_dir/clean"
7603 wine_fn_disabled_rules ()
7605 ac_clean=$@
7607 wine_fn_append_file SUBDIRS $ac_dir
7608 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7609 wine_fn_append_rule \
7610 "__clean__: $ac_dir/clean
7611 .PHONY: $ac_dir/clean
7612 $ac_dir/clean: dummy
7613 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7616 wine_fn_config_makefile ()
7618 ac_dir=$1
7619 ac_enable=$2
7620 ac_flags=$3
7622 case $ac_dir in
7623 fonts|server) test -z "$with_wine64" || return ;;
7624 esac
7625 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7626 wine_fn_disabled_rules; return
7628 wine_fn_all_rules
7629 wine_fn_install_rules
7630 wine_fn_clean_rules
7633 wine_fn_config_lib ()
7635 ac_name=$1
7636 ac_flags=$2
7637 ac_dir=dlls/$ac_name
7638 ac_deps="include"
7640 if test "x$enable_tools" = xno; then :
7642 else
7643 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7645 wine_fn_all_rules
7646 wine_fn_clean_rules
7648 wine_fn_append_rule \
7649 ".PHONY: $ac_dir/install $ac_dir/uninstall
7650 $ac_dir/install:: $ac_dir
7651 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7652 $ac_dir/uninstall::
7653 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7654 install install-dev:: $ac_dir/install
7655 __uninstall__: $ac_dir/uninstall
7656 __builddeps__: $ac_dir
7657 $ac_dir: $ac_deps"
7660 wine_fn_config_dll ()
7662 ac_name=$1
7663 ac_dir=dlls/$ac_name
7664 ac_enable=$2
7665 ac_flags=$3
7666 ac_implib=${4:-$ac_name}
7667 ac_file=$ac_dir/lib$ac_implib
7668 ac_dll=$ac_name
7669 ac_deps="include"
7670 ac_implibflags=""
7672 if test "x$enable_tools" = xno; then :
7674 else
7675 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7677 case $ac_name in
7678 *16) ac_implibflags=" -m16" ;;
7679 *.*) ;;
7680 *) ac_dll=$ac_dll.dll ;;
7681 esac
7683 ac_clean=
7684 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7685 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7687 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7688 if test "$ac_enable" != enable_win16
7689 then
7690 wine_fn_clean_rules $ac_clean
7691 wine_fn_append_file SUBDIRS $ac_dir
7692 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7693 else
7694 wine_fn_disabled_rules $ac_clean
7695 return
7697 else
7698 wine_fn_all_rules
7699 wine_fn_clean_rules $ac_clean
7700 wine_fn_append_rule \
7701 "$ac_dir: __builddeps__
7702 manpages htmlpages sgmlpages xmlpages::
7703 @cd $ac_dir && \$(MAKE) \$@
7704 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7705 install install-lib:: $ac_dir/install-lib
7706 __uninstall__: $ac_dir/uninstall"
7707 if test -n "$DLLEXT"
7708 then
7709 wine_fn_append_rule \
7710 "$ac_dir/install-lib:: $ac_dir
7711 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7712 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7713 $ac_dir/uninstall::
7714 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7715 else
7716 wine_fn_append_rule \
7717 "$ac_dir/install-lib:: $ac_dir
7718 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7719 $ac_dir/uninstall::
7720 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7724 if wine_fn_has_flag staticimplib
7725 then
7726 wine_fn_append_rule \
7727 "__builddeps__: $ac_file.a
7728 $ac_file.a $ac_file.cross.a: $ac_deps
7729 $ac_file.a: dummy
7730 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7731 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7732 $ac_dir/install-dev:: $ac_file.a
7733 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7734 $ac_dir/uninstall::
7735 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7736 install install-dev:: $ac_dir/install-dev
7737 __uninstall__: $ac_dir/uninstall"
7739 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7740 then
7741 wine_fn_append_rule \
7742 "__builddeps__: $ac_file.cross.a
7743 $ac_file.cross.a: dummy
7744 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7747 elif wine_fn_has_flag implib
7748 then
7749 wine_fn_append_rule \
7750 "__builddeps__: $ac_file.$IMPLIBEXT
7751 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7752 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7753 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7754 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7755 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7756 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7757 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7758 $ac_dir/uninstall::
7759 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7760 install install-dev:: $ac_dir/install-dev
7761 __uninstall__: $ac_dir/uninstall"
7762 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7763 then
7764 wine_fn_append_rule \
7765 "__builddeps__: $ac_file.cross.a
7766 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7767 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7772 wine_fn_config_program ()
7774 ac_name=$1
7775 ac_dir=programs/$ac_name
7776 ac_enable=$2
7777 ac_flags=$3
7778 ac_program=$ac_name
7780 case $ac_name in
7781 *.*) ;;
7782 *) ac_program=$ac_program.exe ;;
7783 esac
7785 ac_clean=
7786 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7787 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7789 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7790 wine_fn_disabled_rules $ac_clean; return
7793 wine_fn_all_rules
7794 wine_fn_clean_rules $ac_clean
7795 wine_fn_append_rule "$ac_dir: __builddeps__"
7797 wine_fn_has_flag install || return
7798 wine_fn_append_rule \
7799 ".PHONY: $ac_dir/install $ac_dir/uninstall
7800 install install-lib:: $ac_dir/install
7801 __uninstall__: $ac_dir/uninstall"
7803 if test -n "$DLLEXT"
7804 then
7805 wine_fn_append_rule \
7806 "$ac_dir/install:: $ac_dir
7807 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7808 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7809 $ac_dir/uninstall::
7810 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7812 if test -z "$with_wine64" && wine_fn_has_flag installbin
7813 then
7814 wine_fn_append_rule \
7815 "$ac_dir/install:: __tooldeps__
7816 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7817 $ac_dir/uninstall::
7818 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7820 else
7821 wine_fn_append_rule \
7822 "$ac_dir/install:: $ac_dir
7823 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7824 $ac_dir/uninstall::
7825 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7828 if test -z "$with_wine64" && wine_fn_has_flag manpage
7829 then
7830 wine_fn_append_rule \
7831 "$ac_dir/install:: $ac_dir
7832 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7833 $ac_dir/uninstall::
7834 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7838 wine_fn_config_test ()
7840 ac_dir=$1
7841 ac_name=$2
7842 ac_flags=$3
7844 ac_clean=
7845 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7846 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7848 if test "x$enable_tests" = xno; then :
7849 wine_fn_disabled_rules $ac_clean; return
7852 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7853 wine_fn_all_rules
7854 wine_fn_clean_rules $ac_clean
7856 wine_fn_append_rule \
7857 "$ac_dir: __builddeps__
7858 programs/winetest: $ac_dir
7859 check test: $ac_dir/test
7860 .PHONY: $ac_dir/test
7861 $ac_dir/test: dummy
7862 @cd $ac_dir && \$(MAKE) test
7863 testclean::
7864 \$(RM) $ac_dir/*.ok"
7866 if test -n "$CROSSTARGET"
7867 then
7868 wine_fn_append_rule \
7869 "crosstest: $ac_dir/crosstest
7870 .PHONY: $ac_dir/crosstest
7871 $ac_dir/crosstest: __builddeps__ dummy
7872 @cd $ac_dir && \$(MAKE) crosstest"
7876 wine_fn_config_tool ()
7878 ac_dir=$1
7879 ac_flags=$2
7880 if test "x$enable_tools" = xno; then :
7881 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7884 wine_fn_all_rules
7885 wine_fn_install_rules
7886 wine_fn_clean_rules
7888 wine_fn_append_rule "__tooldeps__: $ac_dir"
7889 wine_fn_append_rule "$ac_dir: libs/port"
7890 case $ac_dir in
7891 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7892 esac
7895 wine_fn_config_symlink ()
7897 ac_linkdir=
7898 if test "x$1" = "x-d"
7899 then
7900 ac_linkdir=$2
7901 shift; shift
7903 ac_links=$@
7904 wine_fn_append_rule \
7905 "$ac_links:
7906 @./config.status \$@"
7907 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7908 test -n "$ac_linkdir" || return
7909 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7912 wine_binary="wine"
7913 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7914 WINELOADER_PROGRAMS="$wine_binary"
7916 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7918 case $host_os in
7919 cygwin*|mingw32*)
7920 if test -n "$ac_tool_prefix"; then
7921 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7922 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7924 $as_echo_n "checking for $ac_word... " >&6; }
7925 if ${ac_cv_prog_DLLTOOL+:} false; then :
7926 $as_echo_n "(cached) " >&6
7927 else
7928 if test -n "$DLLTOOL"; then
7929 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7930 else
7931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7932 for as_dir in $PATH
7934 IFS=$as_save_IFS
7935 test -z "$as_dir" && as_dir=.
7936 for ac_exec_ext in '' $ac_executable_extensions; do
7937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7938 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7940 break 2
7942 done
7943 done
7944 IFS=$as_save_IFS
7948 DLLTOOL=$ac_cv_prog_DLLTOOL
7949 if test -n "$DLLTOOL"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7951 $as_echo "$DLLTOOL" >&6; }
7952 else
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7954 $as_echo "no" >&6; }
7959 if test -z "$ac_cv_prog_DLLTOOL"; then
7960 ac_ct_DLLTOOL=$DLLTOOL
7961 # Extract the first word of "dlltool", so it can be a program name with args.
7962 set dummy dlltool; ac_word=$2
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7964 $as_echo_n "checking for $ac_word... " >&6; }
7965 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7966 $as_echo_n "(cached) " >&6
7967 else
7968 if test -n "$ac_ct_DLLTOOL"; then
7969 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7970 else
7971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7972 for as_dir in $PATH
7974 IFS=$as_save_IFS
7975 test -z "$as_dir" && as_dir=.
7976 for ac_exec_ext in '' $ac_executable_extensions; do
7977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7978 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7980 break 2
7982 done
7983 done
7984 IFS=$as_save_IFS
7988 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7989 if test -n "$ac_ct_DLLTOOL"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7991 $as_echo "$ac_ct_DLLTOOL" >&6; }
7992 else
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7994 $as_echo "no" >&6; }
7997 if test "x$ac_ct_DLLTOOL" = x; then
7998 DLLTOOL="false"
7999 else
8000 case $cross_compiling:$ac_tool_warned in
8001 yes:)
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8004 ac_tool_warned=yes ;;
8005 esac
8006 DLLTOOL=$ac_ct_DLLTOOL
8008 else
8009 DLLTOOL="$ac_cv_prog_DLLTOOL"
8012 LIBEXT="dll"
8013 DLLEXT=""
8014 IMPLIBEXT="a"
8015 enable_iphlpapi=${enable_iphlpapi:-no}
8016 enable_kernel32=${enable_kernel32:-no}
8017 enable_msvcrt=${enable_msvcrt:-no}
8018 enable_ntdll=${enable_ntdll:-no}
8019 enable_ws2_32=${enable_ws2_32:-no}
8020 enable_loader=${enable_loader:-no}
8021 enable_server=${enable_server:-no}
8022 with_x=${with_x:-no}
8023 with_pthread=${with_pthread:-no}
8025 crtlibs=""
8026 case $host_os in
8027 mingw32*)
8028 crtlibs="-lmsvcrt"
8029 SOCKET_LIBS="-lws2_32"
8031 esac
8033 LIBWINE_SHAREDLIB="libwine.dll"
8035 LIBWINE_IMPORTLIB="libwine.a"
8037 LIBWINE_INSTALL_LIB="libwine.dll"
8039 LIBWINE_INSTALL_DEV="libwine.a"
8041 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8043 LIBWINE_DEPENDS="wine.def"
8047 darwin*|macosx*)
8048 for ac_header in libunwind.h
8049 do :
8050 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8052 cat >>confdefs.h <<_ACEOF
8053 #define HAVE_LIBUNWIND_H 1
8054 _ACEOF
8058 done
8060 LIBEXT="dylib"
8061 DLLFLAGS="$DLLFLAGS -fPIC"
8062 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8063 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8064 COREFOUNDATION_LIBS="-framework CoreFoundation"
8066 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8068 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8070 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8072 CORESERVICES_LIBS="-framework CoreServices"
8074 APPKIT_LIBS="-framework AppKit"
8076 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8078 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8079 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8080 $as_echo_n "(cached) " >&6
8081 else
8082 ac_wine_try_cflags_saved=$CFLAGS
8083 CFLAGS="$CFLAGS -Wl,-no_pie"
8084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8085 /* end confdefs.h. */
8086 int main(int argc, char **argv) { return 0; }
8087 _ACEOF
8088 if ac_fn_c_try_link "$LINENO"; then :
8089 ac_cv_cflags__Wl__no_pie=yes
8090 else
8091 ac_cv_cflags__Wl__no_pie=no
8093 rm -f core conftest.err conftest.$ac_objext \
8094 conftest$ac_exeext conftest.$ac_ext
8095 CFLAGS=$ac_wine_try_cflags_saved
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8098 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8099 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8100 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8102 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8103 then
8104 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8107 if test "$ac_cv_header_Security_Security_h" = "yes"
8108 then
8109 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8111 ac_save_LIBS="$LIBS"
8112 LIBS="$LIBS $SECURITY_LIBS"
8113 for ac_func in SSLCopyPeerCertificates
8114 do :
8115 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8116 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8117 cat >>confdefs.h <<_ACEOF
8118 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8119 _ACEOF
8122 done
8124 LIBS="$ac_save_LIBS"
8125 with_gnutls=${with_gnutls:-no}
8127 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8128 then
8129 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8130 then
8131 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8133 else
8134 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8137 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8138 ac_save_LIBS="$LIBS"
8139 LIBS="$LIBS $COREAUDIO_LIBS"
8140 for ac_func in AUGraphAddNode
8141 do :
8142 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8143 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8144 cat >>confdefs.h <<_ACEOF
8145 #define HAVE_AUGRAPHADDNODE 1
8146 _ACEOF
8149 done
8151 LIBS="$ac_save_LIBS"
8153 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8154 then
8155 OPENAL_LIBS="-framework OpenAL"
8158 cat >>confdefs.h <<_ACEOF
8159 #define HAVE_OPENAL 1
8160 _ACEOF
8162 ac_cv_lib_openal=yes
8164 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8165 then
8166 OPENCL_LIBS="-framework OpenCL"
8168 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8170 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8171 then
8172 ac_save_LIBS="$LIBS"
8173 LIBS="$LIBS $IOKIT_LIBS"
8174 for ac_func in IOHIDManagerCreate
8175 do :
8176 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8177 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8178 cat >>confdefs.h <<_ACEOF
8179 #define HAVE_IOHIDMANAGERCREATE 1
8180 _ACEOF
8183 done
8185 LIBS="$ac_save_LIBS"
8187 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8188 then
8189 ac_save_LIBS="$LIBS"
8190 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8192 $as_echo_n "checking for the QuickTime framework... " >&6; }
8193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8194 /* end confdefs.h. */
8195 #include <QuickTime/ImageCompression.h>
8197 main ()
8199 CodecManagerVersion(NULL);
8201 return 0;
8203 _ACEOF
8204 if ac_fn_c_try_link "$LINENO"; then :
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8206 $as_echo "yes" >&6; }
8207 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8209 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8210 else
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8212 $as_echo "no" >&6; }
8213 ac_cv_header_QuickTime_ImageCompression_h=no
8215 rm -f core conftest.err conftest.$ac_objext \
8216 conftest$ac_exeext conftest.$ac_ext
8217 LIBS="$ac_save_LIBS"
8219 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8220 then
8221 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8223 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8224 then
8225 CARBON_LIBS="-framework Carbon"
8229 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8230 then
8231 ac_save_LIBS="$LIBS"
8232 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8233 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8234 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8235 enable_winemac_drv=${enable_winemac_drv:-yes}
8238 LIBS="$ac_save_LIBS"
8241 if test "x$enable_win16" = "xyes"
8242 then
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8244 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8245 if test "$cross_compiling" = yes; then :
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8247 $as_echo "cross-compiling, assuming yes" >&6; }
8248 else
8249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8250 /* end confdefs.h. */
8251 asm(".text\n"
8252 "bad:\tnop;nop\n"
8253 "good:\tnop;nop\n\t"
8254 ".globl _testfunc\n"
8255 "_testfunc:\tcallw good");
8256 extern void testfunc();
8258 main ()
8260 unsigned short *p = (unsigned short *)testfunc;
8261 return p[0] != 0xe866 || p[1] != 0xfffa
8263 return 0;
8265 _ACEOF
8266 if ac_fn_c_try_run "$LINENO"; then :
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8268 $as_echo "yes" >&6; }
8269 else
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8271 $as_echo "no" >&6; }
8272 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
8274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8275 conftest.$ac_objext conftest.beam conftest.$ac_ext
8280 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8282 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8284 LIBWINE_INSTALL_DEV="libwine.dylib"
8286 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8288 WINELOADER_DEPENDS="wine_info.plist"
8292 linux-android*)
8293 DLLFLAGS="$DLLFLAGS -fPIC"
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8295 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8296 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8297 $as_echo_n "(cached) " >&6
8298 else
8299 ac_wine_try_cflags_saved=$CFLAGS
8300 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8302 /* end confdefs.h. */
8303 int main(int argc, char **argv) { return 0; }
8304 _ACEOF
8305 if ac_fn_c_try_link "$LINENO"; then :
8306 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8307 else
8308 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8310 rm -f core conftest.err conftest.$ac_objext \
8311 conftest$ac_exeext conftest.$ac_ext
8312 CFLAGS=$ac_wine_try_cflags_saved
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8315 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8316 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8317 LDEXECFLAGS="-Wl,--export-dynamic"
8319 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8321 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8322 if eval \${$as_ac_var+:} false; then :
8323 $as_echo_n "(cached) " >&6
8324 else
8325 ac_wine_try_cflags_saved=$CFLAGS
8326 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8328 /* end confdefs.h. */
8329 int main(int argc, char **argv) { return 0; }
8330 _ACEOF
8331 if ac_fn_c_try_link "$LINENO"; then :
8332 eval "$as_ac_var=yes"
8333 else
8334 eval "$as_ac_var=no"
8336 rm -f core conftest.err conftest.$ac_objext \
8337 conftest$ac_exeext conftest.$ac_ext
8338 CFLAGS=$ac_wine_try_cflags_saved
8340 eval ac_res=\$$as_ac_var
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8342 $as_echo "$ac_res" >&6; }
8343 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8344 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8345 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8346 else
8347 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8349 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8350 if eval \${$as_ac_var+:} false; then :
8351 $as_echo_n "(cached) " >&6
8352 else
8353 ac_wine_try_cflags_saved=$CFLAGS
8354 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8356 /* end confdefs.h. */
8357 int main(int argc, char **argv) { return 0; }
8358 _ACEOF
8359 if ac_fn_c_try_link "$LINENO"; then :
8360 eval "$as_ac_var=yes"
8361 else
8362 eval "$as_ac_var=no"
8364 rm -f core conftest.err conftest.$ac_objext \
8365 conftest$ac_exeext conftest.$ac_ext
8366 CFLAGS=$ac_wine_try_cflags_saved
8368 eval ac_res=\$$as_ac_var
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8370 $as_echo "$ac_res" >&6; }
8371 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8372 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8373 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8378 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8379 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8380 $as_echo_n "(cached) " >&6
8381 else
8382 ac_wine_try_cflags_saved=$CFLAGS
8383 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8385 /* end confdefs.h. */
8386 int main(int argc, char **argv) { return 0; }
8387 _ACEOF
8388 if ac_fn_c_try_link "$LINENO"; then :
8389 ac_cv_cflags__Wl___enable_new_dtags=yes
8390 else
8391 ac_cv_cflags__Wl___enable_new_dtags=no
8393 rm -f core conftest.err conftest.$ac_objext \
8394 conftest$ac_exeext conftest.$ac_ext
8395 CFLAGS=$ac_wine_try_cflags_saved
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8398 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8399 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8400 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8403 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8404 if ${ac_cv_cflags__Wl__pie+:} false; then :
8405 $as_echo_n "(cached) " >&6
8406 else
8407 ac_wine_try_cflags_saved=$CFLAGS
8408 CFLAGS="$CFLAGS -Wl,-pie"
8409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8410 /* end confdefs.h. */
8411 int main(int argc, char **argv) { return 0; }
8412 _ACEOF
8413 if ac_fn_c_try_link "$LINENO"; then :
8414 ac_cv_cflags__Wl__pie=yes
8415 else
8416 ac_cv_cflags__Wl__pie=no
8418 rm -f core conftest.err conftest.$ac_objext \
8419 conftest$ac_exeext conftest.$ac_ext
8420 CFLAGS=$ac_wine_try_cflags_saved
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8423 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8424 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8425 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8428 LIBWINE_SHAREDLIB="libwine.so"
8430 LIBWINE_INSTALL_LIB="libwine.so"
8432 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8437 DLLFLAGS="$DLLFLAGS -fPIC"
8438 LDEXECFLAGS=""
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8440 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8441 if ${ac_cv_c_dll_gnuelf+:} false; then :
8442 $as_echo_n "(cached) " >&6
8443 else
8444 ac_wine_try_cflags_saved=$CFLAGS
8445 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8447 /* end confdefs.h. */
8448 void myfunc() {}
8449 _ACEOF
8450 if ac_fn_c_try_link "$LINENO"; then :
8451 ac_cv_c_dll_gnuelf="yes"
8452 else
8453 ac_cv_c_dll_gnuelf="no"
8455 rm -f core conftest.err conftest.$ac_objext \
8456 conftest$ac_exeext conftest.$ac_ext
8457 CFLAGS=$ac_wine_try_cflags_saved
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8460 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8461 if test "$ac_cv_c_dll_gnuelf" = "yes"
8462 then
8463 LIBWINE_LDFLAGS="-shared"
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8465 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8466 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8467 $as_echo_n "(cached) " >&6
8468 else
8469 ac_wine_try_cflags_saved=$CFLAGS
8470 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8472 /* end confdefs.h. */
8473 int main(int argc, char **argv) { return 0; }
8474 _ACEOF
8475 if ac_fn_c_try_link "$LINENO"; then :
8476 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8477 else
8478 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8480 rm -f core conftest.err conftest.$ac_objext \
8481 conftest$ac_exeext conftest.$ac_ext
8482 CFLAGS=$ac_wine_try_cflags_saved
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8485 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8486 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8487 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8488 else
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8490 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8491 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8492 $as_echo_n "(cached) " >&6
8493 else
8494 ac_wine_try_cflags_saved=$CFLAGS
8495 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8498 int main(int argc, char **argv) { return 0; }
8499 _ACEOF
8500 if ac_fn_c_try_link "$LINENO"; then :
8501 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8502 else
8503 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8505 rm -f core conftest.err conftest.$ac_objext \
8506 conftest$ac_exeext conftest.$ac_ext
8507 CFLAGS=$ac_wine_try_cflags_saved
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8510 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8511 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8512 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8516 echo '{ global: *; };' >conftest.map
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8518 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8519 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8520 $as_echo_n "(cached) " >&6
8521 else
8522 ac_wine_try_cflags_saved=$CFLAGS
8523 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8525 /* end confdefs.h. */
8526 int main(int argc, char **argv) { return 0; }
8527 _ACEOF
8528 if ac_fn_c_try_link "$LINENO"; then :
8529 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8530 else
8531 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8533 rm -f core conftest.err conftest.$ac_objext \
8534 conftest$ac_exeext conftest.$ac_ext
8535 CFLAGS=$ac_wine_try_cflags_saved
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8538 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8539 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8540 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8542 rm -f conftest.map
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8545 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8546 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8547 $as_echo_n "(cached) " >&6
8548 else
8549 ac_wine_try_cflags_saved=$CFLAGS
8550 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8552 /* end confdefs.h. */
8553 int main(int argc, char **argv) { return 0; }
8554 _ACEOF
8555 if ac_fn_c_try_link "$LINENO"; then :
8556 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8557 else
8558 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8560 rm -f core conftest.err conftest.$ac_objext \
8561 conftest$ac_exeext conftest.$ac_ext
8562 CFLAGS=$ac_wine_try_cflags_saved
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8565 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8566 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8567 LDEXECFLAGS="-Wl,--export-dynamic"
8570 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8572 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8573 if eval \${$as_ac_var+:} false; then :
8574 $as_echo_n "(cached) " >&6
8575 else
8576 ac_wine_try_cflags_saved=$CFLAGS
8577 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8579 /* end confdefs.h. */
8580 int main(int argc, char **argv) { return 0; }
8581 _ACEOF
8582 if ac_fn_c_try_link "$LINENO"; then :
8583 eval "$as_ac_var=yes"
8584 else
8585 eval "$as_ac_var=no"
8587 rm -f core conftest.err conftest.$ac_objext \
8588 conftest$ac_exeext conftest.$ac_ext
8589 CFLAGS=$ac_wine_try_cflags_saved
8591 eval ac_res=\$$as_ac_var
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8593 $as_echo "$ac_res" >&6; }
8594 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8595 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8596 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8597 else
8598 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8600 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8601 if eval \${$as_ac_var+:} false; then :
8602 $as_echo_n "(cached) " >&6
8603 else
8604 ac_wine_try_cflags_saved=$CFLAGS
8605 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8607 /* end confdefs.h. */
8608 int main(int argc, char **argv) { return 0; }
8609 _ACEOF
8610 if ac_fn_c_try_link "$LINENO"; then :
8611 eval "$as_ac_var=yes"
8612 else
8613 eval "$as_ac_var=no"
8615 rm -f core conftest.err conftest.$ac_objext \
8616 conftest$ac_exeext conftest.$ac_ext
8617 CFLAGS=$ac_wine_try_cflags_saved
8619 eval ac_res=\$$as_ac_var
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8621 $as_echo "$ac_res" >&6; }
8622 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8623 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8624 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8629 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8630 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8631 $as_echo_n "(cached) " >&6
8632 else
8633 ac_wine_try_cflags_saved=$CFLAGS
8634 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8636 /* end confdefs.h. */
8637 int main(int argc, char **argv) { return 0; }
8638 _ACEOF
8639 if ac_fn_c_try_link "$LINENO"; then :
8640 ac_cv_cflags__Wl___enable_new_dtags=yes
8641 else
8642 ac_cv_cflags__Wl___enable_new_dtags=no
8644 rm -f core conftest.err conftest.$ac_objext \
8645 conftest$ac_exeext conftest.$ac_ext
8646 CFLAGS=$ac_wine_try_cflags_saved
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8649 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8650 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8651 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8654 case $host_cpu in
8655 *i[3456789]86* | x86_64)
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8657 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8658 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8659 $as_echo_n "(cached) " >&6
8660 else
8661 ac_wine_try_cflags_saved=$CFLAGS
8662 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8664 /* end confdefs.h. */
8665 int main(int argc, char **argv) { return 0; }
8666 _ACEOF
8667 if ac_fn_c_try_link "$LINENO"; then :
8668 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8669 else
8670 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8672 rm -f core conftest.err conftest.$ac_objext \
8673 conftest$ac_exeext conftest.$ac_ext
8674 CFLAGS=$ac_wine_try_cflags_saved
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8677 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8678 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8679 case $host_os in
8680 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8681 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8682 esac
8683 else
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8685 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8686 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8687 $as_echo_n "(cached) " >&6
8688 else
8689 ac_wine_try_cflags_saved=$CFLAGS
8690 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8692 /* end confdefs.h. */
8693 int main(int argc, char **argv) { return 0; }
8694 _ACEOF
8695 if ac_fn_c_try_link "$LINENO"; then :
8696 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8697 else
8698 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8700 rm -f core conftest.err conftest.$ac_objext \
8701 conftest$ac_exeext conftest.$ac_ext
8702 CFLAGS=$ac_wine_try_cflags_saved
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8705 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8706 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8707 case $host_os in
8708 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8709 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8710 esac
8712 # Extract the first word of "prelink", so it can be a program name with args.
8713 set dummy prelink; ac_word=$2
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8715 $as_echo_n "checking for $ac_word... " >&6; }
8716 if ${ac_cv_path_PRELINK+:} false; then :
8717 $as_echo_n "(cached) " >&6
8718 else
8719 case $PRELINK in
8720 [\\/]* | ?:[\\/]*)
8721 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8725 for as_dir in /sbin /usr/sbin $PATH
8727 IFS=$as_save_IFS
8728 test -z "$as_dir" && as_dir=.
8729 for ac_exec_ext in '' $ac_executable_extensions; do
8730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8731 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8733 break 2
8735 done
8736 done
8737 IFS=$as_save_IFS
8739 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8741 esac
8743 PRELINK=$ac_cv_path_PRELINK
8744 if test -n "$PRELINK"; then
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8746 $as_echo "$PRELINK" >&6; }
8747 else
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8749 $as_echo "no" >&6; }
8753 if test "x$PRELINK" = xfalse
8754 then
8755 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8759 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8760 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8761 $as_echo_n "(cached) " >&6
8762 else
8763 ac_wine_try_cflags_saved=$CFLAGS
8764 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8766 /* end confdefs.h. */
8767 int main(int argc, char **argv) { return 0; }
8768 _ACEOF
8769 if ac_fn_c_try_link "$LINENO"; then :
8770 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8771 else
8772 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8774 rm -f core conftest.err conftest.$ac_objext \
8775 conftest$ac_exeext conftest.$ac_ext
8776 CFLAGS=$ac_wine_try_cflags_saved
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8779 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8780 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8781 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8784 esac
8786 else
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8788 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8789 if ${ac_cv_c_dll_unixware+:} false; then :
8790 $as_echo_n "(cached) " >&6
8791 else
8792 ac_wine_try_cflags_saved=$CFLAGS
8793 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8795 /* end confdefs.h. */
8796 void myfunc() {}
8797 _ACEOF
8798 if ac_fn_c_try_link "$LINENO"; then :
8799 ac_cv_c_dll_unixware="yes"
8800 else
8801 ac_cv_c_dll_unixware="no"
8803 rm -f core conftest.err conftest.$ac_objext \
8804 conftest$ac_exeext conftest.$ac_ext
8805 CFLAGS=$ac_wine_try_cflags_saved
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8808 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8809 if test "$ac_cv_c_dll_unixware" = "yes"
8810 then
8811 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8814 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8816 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8818 LIBWINE_INSTALL_DEV="libwine.so"
8820 LIBWINE_DEPENDS="wine.map"
8823 esac
8825 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8826 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8827 enable_winemac_drv=${enable_winemac_drv:-no}
8828 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8830 CROSSTARGET=""
8832 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8833 then
8834 case "$host_cpu" in
8835 arm*)
8836 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8837 i[3456789]86*)
8838 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
8839 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8840 mingw32-gcc" ;;
8841 x86_64)
8842 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
8843 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8845 ac_prefix_list="" ;;
8846 esac
8847 for ac_prog in $ac_prefix_list
8849 # Extract the first word of "$ac_prog", so it can be a program name with args.
8850 set dummy $ac_prog; ac_word=$2
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8852 $as_echo_n "checking for $ac_word... " >&6; }
8853 if ${ac_cv_prog_CROSSCC+:} false; then :
8854 $as_echo_n "(cached) " >&6
8855 else
8856 if test -n "$CROSSCC"; then
8857 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8858 else
8859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8860 for as_dir in $PATH
8862 IFS=$as_save_IFS
8863 test -z "$as_dir" && as_dir=.
8864 for ac_exec_ext in '' $ac_executable_extensions; do
8865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8866 ac_cv_prog_CROSSCC="$ac_prog"
8867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8868 break 2
8870 done
8871 done
8872 IFS=$as_save_IFS
8876 CROSSCC=$ac_cv_prog_CROSSCC
8877 if test -n "$CROSSCC"; then
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8879 $as_echo "$CROSSCC" >&6; }
8880 else
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8882 $as_echo "no" >&6; }
8886 test -n "$CROSSCC" && break
8887 done
8888 test -n "$CROSSCC" || CROSSCC="false"
8890 if test "$CROSSCC" != "false"
8891 then
8892 ac_save_CC="$CC"
8893 CC="$CROSSCC"
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8895 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8897 /* end confdefs.h. */
8900 main ()
8904 return 0;
8906 _ACEOF
8907 if ac_fn_c_try_compile "$LINENO"; then :
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8909 $as_echo "yes" >&6; }
8910 set x $CROSSCC
8911 shift
8912 while test $# -ge 1
8914 case "$1" in
8915 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8916 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8917 esac
8918 shift
8919 done
8920 else
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8922 $as_echo "no" >&6; }
8924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8925 CC="$ac_save_CC"
8930 if test "$ac_cv_header_pthread_h" = "yes"
8931 then
8932 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8933 if test "x$ac_cv_func_pthread_create" = xyes; then :
8935 else
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8937 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8938 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8939 $as_echo_n "(cached) " >&6
8940 else
8941 ac_check_lib_save_LIBS=$LIBS
8942 LIBS="-lpthread $LIBS"
8943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8944 /* end confdefs.h. */
8946 /* Override any GCC internal prototype to avoid an error.
8947 Use char because int might match the return type of a GCC
8948 builtin and then its argument prototype would still apply. */
8949 #ifdef __cplusplus
8950 extern "C"
8951 #endif
8952 char pthread_create ();
8954 main ()
8956 return pthread_create ();
8958 return 0;
8960 _ACEOF
8961 if ac_fn_c_try_link "$LINENO"; then :
8962 ac_cv_lib_pthread_pthread_create=yes
8963 else
8964 ac_cv_lib_pthread_pthread_create=no
8966 rm -f core conftest.err conftest.$ac_objext \
8967 conftest$ac_exeext conftest.$ac_ext
8968 LIBS=$ac_check_lib_save_LIBS
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8971 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8972 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8973 PTHREAD_LIBS="-lpthread"
8980 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8981 case "x$with_pthread" in
8982 xno) ;;
8983 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8984 Wine cannot support threads without libpthread.
8985 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8986 esac
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8992 $as_echo_n "checking for X... " >&6; }
8995 # Check whether --with-x was given.
8996 if test "${with_x+set}" = set; then :
8997 withval=$with_x;
9000 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9001 if test "x$with_x" = xno; then
9002 # The user explicitly disabled X.
9003 have_x=disabled
9004 else
9005 case $x_includes,$x_libraries in #(
9006 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9007 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9008 $as_echo_n "(cached) " >&6
9009 else
9010 # One or both of the vars are not set, and there is no cached value.
9011 ac_x_includes=no ac_x_libraries=no
9012 rm -f -r conftest.dir
9013 if mkdir conftest.dir; then
9014 cd conftest.dir
9015 cat >Imakefile <<'_ACEOF'
9016 incroot:
9017 @echo incroot='${INCROOT}'
9018 usrlibdir:
9019 @echo usrlibdir='${USRLIBDIR}'
9020 libdir:
9021 @echo libdir='${LIBDIR}'
9022 _ACEOF
9023 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9024 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9025 for ac_var in incroot usrlibdir libdir; do
9026 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9027 done
9028 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9029 for ac_extension in a so sl dylib la dll; do
9030 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9031 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9032 ac_im_usrlibdir=$ac_im_libdir; break
9034 done
9035 # Screen out bogus values from the imake configuration. They are
9036 # bogus both because they are the default anyway, and because
9037 # using them would break gcc on systems where it needs fixed includes.
9038 case $ac_im_incroot in
9039 /usr/include) ac_x_includes= ;;
9040 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9041 esac
9042 case $ac_im_usrlibdir in
9043 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9044 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9045 esac
9047 cd ..
9048 rm -f -r conftest.dir
9051 # Standard set of common directories for X headers.
9052 # Check X11 before X11Rn because it is often a symlink to the current release.
9053 ac_x_header_dirs='
9054 /usr/X11/include
9055 /usr/X11R7/include
9056 /usr/X11R6/include
9057 /usr/X11R5/include
9058 /usr/X11R4/include
9060 /usr/include/X11
9061 /usr/include/X11R7
9062 /usr/include/X11R6
9063 /usr/include/X11R5
9064 /usr/include/X11R4
9066 /usr/local/X11/include
9067 /usr/local/X11R7/include
9068 /usr/local/X11R6/include
9069 /usr/local/X11R5/include
9070 /usr/local/X11R4/include
9072 /usr/local/include/X11
9073 /usr/local/include/X11R7
9074 /usr/local/include/X11R6
9075 /usr/local/include/X11R5
9076 /usr/local/include/X11R4
9078 /usr/X386/include
9079 /usr/x386/include
9080 /usr/XFree86/include/X11
9082 /usr/include
9083 /usr/local/include
9084 /usr/unsupported/include
9085 /usr/athena/include
9086 /usr/local/x11r5/include
9087 /usr/lpp/Xamples/include
9089 /usr/openwin/include
9090 /usr/openwin/share/include'
9092 if test "$ac_x_includes" = no; then
9093 # Guess where to find include files, by looking for Xlib.h.
9094 # First, try using that file with no special directory specified.
9095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9096 /* end confdefs.h. */
9097 #include <X11/Xlib.h>
9098 _ACEOF
9099 if ac_fn_c_try_cpp "$LINENO"; then :
9100 # We can compile using X headers with no special include directory.
9101 ac_x_includes=
9102 else
9103 for ac_dir in $ac_x_header_dirs; do
9104 if test -r "$ac_dir/X11/Xlib.h"; then
9105 ac_x_includes=$ac_dir
9106 break
9108 done
9110 rm -f conftest.err conftest.i conftest.$ac_ext
9111 fi # $ac_x_includes = no
9113 if test "$ac_x_libraries" = no; then
9114 # Check for the libraries.
9115 # See if we find them without any special options.
9116 # Don't add to $LIBS permanently.
9117 ac_save_LIBS=$LIBS
9118 LIBS="-lX11 $LIBS"
9119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9120 /* end confdefs.h. */
9121 #include <X11/Xlib.h>
9123 main ()
9125 XrmInitialize ()
9127 return 0;
9129 _ACEOF
9130 if ac_fn_c_try_link "$LINENO"; then :
9131 LIBS=$ac_save_LIBS
9132 # We can link X programs with no special library path.
9133 ac_x_libraries=
9134 else
9135 LIBS=$ac_save_LIBS
9136 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9138 # Don't even attempt the hair of trying to link an X program!
9139 for ac_extension in a so sl dylib la dll; do
9140 if test -r "$ac_dir/libX11.$ac_extension"; then
9141 ac_x_libraries=$ac_dir
9142 break 2
9144 done
9145 done
9147 rm -f core conftest.err conftest.$ac_objext \
9148 conftest$ac_exeext conftest.$ac_ext
9149 fi # $ac_x_libraries = no
9151 case $ac_x_includes,$ac_x_libraries in #(
9152 no,* | *,no | *\'*)
9153 # Didn't find X, or a directory has "'" in its name.
9154 ac_cv_have_x="have_x=no";; #(
9156 # Record where we found X for the cache.
9157 ac_cv_have_x="have_x=yes\
9158 ac_x_includes='$ac_x_includes'\
9159 ac_x_libraries='$ac_x_libraries'"
9160 esac
9162 ;; #(
9163 *) have_x=yes;;
9164 esac
9165 eval "$ac_cv_have_x"
9166 fi # $with_x != no
9168 if test "$have_x" != yes; then
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9170 $as_echo "$have_x" >&6; }
9171 no_x=yes
9172 else
9173 # If each of the values was on the command line, it overrides each guess.
9174 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9175 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9176 # Update the cache value to reflect the command line values.
9177 ac_cv_have_x="have_x=yes\
9178 ac_x_includes='$x_includes'\
9179 ac_x_libraries='$x_libraries'"
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9181 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9184 if test "$no_x" = yes; then
9185 # Not all programs may use this symbol, but it does not hurt to define it.
9187 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9189 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9190 else
9191 if test -n "$x_includes"; then
9192 X_CFLAGS="$X_CFLAGS -I$x_includes"
9195 # It would also be nice to do this for all -L options, not just this one.
9196 if test -n "$x_libraries"; then
9197 X_LIBS="$X_LIBS -L$x_libraries"
9198 # For Solaris; some versions of Sun CC require a space after -R and
9199 # others require no space. Words are not sufficient . . . .
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9201 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9202 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9203 ac_xsave_c_werror_flag=$ac_c_werror_flag
9204 ac_c_werror_flag=yes
9205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9206 /* end confdefs.h. */
9209 main ()
9213 return 0;
9215 _ACEOF
9216 if ac_fn_c_try_link "$LINENO"; then :
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9218 $as_echo "no" >&6; }
9219 X_LIBS="$X_LIBS -R$x_libraries"
9220 else
9221 LIBS="$ac_xsave_LIBS -R $x_libraries"
9222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9223 /* end confdefs.h. */
9226 main ()
9230 return 0;
9232 _ACEOF
9233 if ac_fn_c_try_link "$LINENO"; then :
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9235 $as_echo "yes" >&6; }
9236 X_LIBS="$X_LIBS -R $x_libraries"
9237 else
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9239 $as_echo "neither works" >&6; }
9241 rm -f core conftest.err conftest.$ac_objext \
9242 conftest$ac_exeext conftest.$ac_ext
9244 rm -f core conftest.err conftest.$ac_objext \
9245 conftest$ac_exeext conftest.$ac_ext
9246 ac_c_werror_flag=$ac_xsave_c_werror_flag
9247 LIBS=$ac_xsave_LIBS
9250 # Check for system-dependent libraries X programs must link with.
9251 # Do this before checking for the system-independent R6 libraries
9252 # (-lICE), since we may need -lsocket or whatever for X linking.
9254 if test "$ISC" = yes; then
9255 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9256 else
9257 # Martyn Johnson says this is needed for Ultrix, if the X
9258 # libraries were built with DECnet support. And Karl Berry says
9259 # the Alpha needs dnet_stub (dnet does not exist).
9260 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9262 /* end confdefs.h. */
9264 /* Override any GCC internal prototype to avoid an error.
9265 Use char because int might match the return type of a GCC
9266 builtin and then its argument prototype would still apply. */
9267 #ifdef __cplusplus
9268 extern "C"
9269 #endif
9270 char XOpenDisplay ();
9272 main ()
9274 return XOpenDisplay ();
9276 return 0;
9278 _ACEOF
9279 if ac_fn_c_try_link "$LINENO"; then :
9281 else
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9283 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9284 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9285 $as_echo_n "(cached) " >&6
9286 else
9287 ac_check_lib_save_LIBS=$LIBS
9288 LIBS="-ldnet $LIBS"
9289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9290 /* end confdefs.h. */
9292 /* Override any GCC internal prototype to avoid an error.
9293 Use char because int might match the return type of a GCC
9294 builtin and then its argument prototype would still apply. */
9295 #ifdef __cplusplus
9296 extern "C"
9297 #endif
9298 char dnet_ntoa ();
9300 main ()
9302 return dnet_ntoa ();
9304 return 0;
9306 _ACEOF
9307 if ac_fn_c_try_link "$LINENO"; then :
9308 ac_cv_lib_dnet_dnet_ntoa=yes
9309 else
9310 ac_cv_lib_dnet_dnet_ntoa=no
9312 rm -f core conftest.err conftest.$ac_objext \
9313 conftest$ac_exeext conftest.$ac_ext
9314 LIBS=$ac_check_lib_save_LIBS
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9317 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9318 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9319 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9322 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9324 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9325 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9326 $as_echo_n "(cached) " >&6
9327 else
9328 ac_check_lib_save_LIBS=$LIBS
9329 LIBS="-ldnet_stub $LIBS"
9330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9331 /* end confdefs.h. */
9333 /* Override any GCC internal prototype to avoid an error.
9334 Use char because int might match the return type of a GCC
9335 builtin and then its argument prototype would still apply. */
9336 #ifdef __cplusplus
9337 extern "C"
9338 #endif
9339 char dnet_ntoa ();
9341 main ()
9343 return dnet_ntoa ();
9345 return 0;
9347 _ACEOF
9348 if ac_fn_c_try_link "$LINENO"; then :
9349 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9350 else
9351 ac_cv_lib_dnet_stub_dnet_ntoa=no
9353 rm -f core conftest.err conftest.$ac_objext \
9354 conftest$ac_exeext conftest.$ac_ext
9355 LIBS=$ac_check_lib_save_LIBS
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9358 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9359 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9360 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9365 rm -f core conftest.err conftest.$ac_objext \
9366 conftest$ac_exeext conftest.$ac_ext
9367 LIBS="$ac_xsave_LIBS"
9369 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9370 # to get the SysV transport functions.
9371 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9372 # needs -lnsl.
9373 # The nsl library prevents programs from opening the X display
9374 # on Irix 5.2, according to T.E. Dickey.
9375 # The functions gethostbyname, getservbyname, and inet_addr are
9376 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9377 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9378 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9382 if test $ac_cv_func_gethostbyname = no; then
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9384 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9385 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9386 $as_echo_n "(cached) " >&6
9387 else
9388 ac_check_lib_save_LIBS=$LIBS
9389 LIBS="-lnsl $LIBS"
9390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9393 /* Override any GCC internal prototype to avoid an error.
9394 Use char because int might match the return type of a GCC
9395 builtin and then its argument prototype would still apply. */
9396 #ifdef __cplusplus
9397 extern "C"
9398 #endif
9399 char gethostbyname ();
9401 main ()
9403 return gethostbyname ();
9405 return 0;
9407 _ACEOF
9408 if ac_fn_c_try_link "$LINENO"; then :
9409 ac_cv_lib_nsl_gethostbyname=yes
9410 else
9411 ac_cv_lib_nsl_gethostbyname=no
9413 rm -f core conftest.err conftest.$ac_objext \
9414 conftest$ac_exeext conftest.$ac_ext
9415 LIBS=$ac_check_lib_save_LIBS
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9418 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9419 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9420 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9423 if test $ac_cv_lib_nsl_gethostbyname = no; then
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9425 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9426 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9427 $as_echo_n "(cached) " >&6
9428 else
9429 ac_check_lib_save_LIBS=$LIBS
9430 LIBS="-lbsd $LIBS"
9431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9432 /* end confdefs.h. */
9434 /* Override any GCC internal prototype to avoid an error.
9435 Use char because int might match the return type of a GCC
9436 builtin and then its argument prototype would still apply. */
9437 #ifdef __cplusplus
9438 extern "C"
9439 #endif
9440 char gethostbyname ();
9442 main ()
9444 return gethostbyname ();
9446 return 0;
9448 _ACEOF
9449 if ac_fn_c_try_link "$LINENO"; then :
9450 ac_cv_lib_bsd_gethostbyname=yes
9451 else
9452 ac_cv_lib_bsd_gethostbyname=no
9454 rm -f core conftest.err conftest.$ac_objext \
9455 conftest$ac_exeext conftest.$ac_ext
9456 LIBS=$ac_check_lib_save_LIBS
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9459 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9460 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9461 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9467 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9468 # socket/setsockopt and other routines are undefined under SCO ODT
9469 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9470 # on later versions), says Simon Leinen: it contains gethostby*
9471 # variants that don't use the name server (or something). -lsocket
9472 # must be given before -lnsl if both are needed. We assume that
9473 # if connect needs -lnsl, so does gethostbyname.
9474 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9475 if test "x$ac_cv_func_connect" = xyes; then :
9479 if test $ac_cv_func_connect = no; then
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9481 $as_echo_n "checking for connect in -lsocket... " >&6; }
9482 if ${ac_cv_lib_socket_connect+:} false; then :
9483 $as_echo_n "(cached) " >&6
9484 else
9485 ac_check_lib_save_LIBS=$LIBS
9486 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9488 /* end confdefs.h. */
9490 /* Override any GCC internal prototype to avoid an error.
9491 Use char because int might match the return type of a GCC
9492 builtin and then its argument prototype would still apply. */
9493 #ifdef __cplusplus
9494 extern "C"
9495 #endif
9496 char connect ();
9498 main ()
9500 return connect ();
9502 return 0;
9504 _ACEOF
9505 if ac_fn_c_try_link "$LINENO"; then :
9506 ac_cv_lib_socket_connect=yes
9507 else
9508 ac_cv_lib_socket_connect=no
9510 rm -f core conftest.err conftest.$ac_objext \
9511 conftest$ac_exeext conftest.$ac_ext
9512 LIBS=$ac_check_lib_save_LIBS
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9515 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9516 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9517 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9522 # Guillermo Gomez says -lposix is necessary on A/UX.
9523 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9524 if test "x$ac_cv_func_remove" = xyes; then :
9528 if test $ac_cv_func_remove = no; then
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9530 $as_echo_n "checking for remove in -lposix... " >&6; }
9531 if ${ac_cv_lib_posix_remove+:} false; then :
9532 $as_echo_n "(cached) " >&6
9533 else
9534 ac_check_lib_save_LIBS=$LIBS
9535 LIBS="-lposix $LIBS"
9536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h. */
9539 /* Override any GCC internal prototype to avoid an error.
9540 Use char because int might match the return type of a GCC
9541 builtin and then its argument prototype would still apply. */
9542 #ifdef __cplusplus
9543 extern "C"
9544 #endif
9545 char remove ();
9547 main ()
9549 return remove ();
9551 return 0;
9553 _ACEOF
9554 if ac_fn_c_try_link "$LINENO"; then :
9555 ac_cv_lib_posix_remove=yes
9556 else
9557 ac_cv_lib_posix_remove=no
9559 rm -f core conftest.err conftest.$ac_objext \
9560 conftest$ac_exeext conftest.$ac_ext
9561 LIBS=$ac_check_lib_save_LIBS
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9564 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9565 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9566 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9571 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9572 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9573 if test "x$ac_cv_func_shmat" = xyes; then :
9577 if test $ac_cv_func_shmat = no; then
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9579 $as_echo_n "checking for shmat in -lipc... " >&6; }
9580 if ${ac_cv_lib_ipc_shmat+:} false; then :
9581 $as_echo_n "(cached) " >&6
9582 else
9583 ac_check_lib_save_LIBS=$LIBS
9584 LIBS="-lipc $LIBS"
9585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9586 /* end confdefs.h. */
9588 /* Override any GCC internal prototype to avoid an error.
9589 Use char because int might match the return type of a GCC
9590 builtin and then its argument prototype would still apply. */
9591 #ifdef __cplusplus
9592 extern "C"
9593 #endif
9594 char shmat ();
9596 main ()
9598 return shmat ();
9600 return 0;
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9604 ac_cv_lib_ipc_shmat=yes
9605 else
9606 ac_cv_lib_ipc_shmat=no
9608 rm -f core conftest.err conftest.$ac_objext \
9609 conftest$ac_exeext conftest.$ac_ext
9610 LIBS=$ac_check_lib_save_LIBS
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9613 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9614 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9615 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9621 # Check for libraries that X11R6 Xt/Xaw programs need.
9622 ac_save_LDFLAGS=$LDFLAGS
9623 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9624 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9625 # check for ICE first), but we must link in the order -lSM -lICE or
9626 # we get undefined symbols. So assume we have SM if we have ICE.
9627 # These have to be linked with before -lX11, unlike the other
9628 # libraries we check for below, so use a different variable.
9629 # John Interrante, Karl Berry
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9631 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9632 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9633 $as_echo_n "(cached) " >&6
9634 else
9635 ac_check_lib_save_LIBS=$LIBS
9636 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9638 /* end confdefs.h. */
9640 /* Override any GCC internal prototype to avoid an error.
9641 Use char because int might match the return type of a GCC
9642 builtin and then its argument prototype would still apply. */
9643 #ifdef __cplusplus
9644 extern "C"
9645 #endif
9646 char IceConnectionNumber ();
9648 main ()
9650 return IceConnectionNumber ();
9652 return 0;
9654 _ACEOF
9655 if ac_fn_c_try_link "$LINENO"; then :
9656 ac_cv_lib_ICE_IceConnectionNumber=yes
9657 else
9658 ac_cv_lib_ICE_IceConnectionNumber=no
9660 rm -f core conftest.err conftest.$ac_objext \
9661 conftest$ac_exeext conftest.$ac_ext
9662 LIBS=$ac_check_lib_save_LIBS
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9665 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9666 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9667 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9670 LDFLAGS=$ac_save_LDFLAGS
9675 if test "$have_x" = "yes"
9676 then
9677 ac_save_CPPFLAGS="$CPPFLAGS"
9678 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9681 $as_echo_n "checking for -lX11... " >&6; }
9682 if ${ac_cv_lib_soname_X11+:} false; then :
9683 $as_echo_n "(cached) " >&6
9684 else
9685 ac_check_soname_save_LIBS=$LIBS
9686 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9688 /* end confdefs.h. */
9690 /* Override any GCC internal prototype to avoid an error.
9691 Use char because int might match the return type of a GCC
9692 builtin and then its argument prototype would still apply. */
9693 #ifdef __cplusplus
9694 extern "C"
9695 #endif
9696 char XCreateWindow ();
9698 main ()
9700 return XCreateWindow ();
9702 return 0;
9704 _ACEOF
9705 if ac_fn_c_try_link "$LINENO"; then :
9706 case "$LIBEXT" in
9707 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9708 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'` ;;
9709 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9710 if ${ac_cv_lib_soname_X11:+false} :; then :
9711 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9712 fi ;;
9713 esac
9715 rm -f core conftest.err conftest.$ac_objext \
9716 conftest$ac_exeext conftest.$ac_ext
9717 LIBS=$ac_check_soname_save_LIBS
9719 if ${ac_cv_lib_soname_X11:+false} :; then :
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9721 $as_echo "not found" >&6; }
9723 else
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9725 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9727 cat >>confdefs.h <<_ACEOF
9728 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9729 _ACEOF
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9734 $as_echo_n "checking for -lXext... " >&6; }
9735 if ${ac_cv_lib_soname_Xext+:} false; then :
9736 $as_echo_n "(cached) " >&6
9737 else
9738 ac_check_soname_save_LIBS=$LIBS
9739 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9741 /* end confdefs.h. */
9743 /* Override any GCC internal prototype to avoid an error.
9744 Use char because int might match the return type of a GCC
9745 builtin and then its argument prototype would still apply. */
9746 #ifdef __cplusplus
9747 extern "C"
9748 #endif
9749 char XextCreateExtension ();
9751 main ()
9753 return XextCreateExtension ();
9755 return 0;
9757 _ACEOF
9758 if ac_fn_c_try_link "$LINENO"; then :
9759 case "$LIBEXT" in
9760 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9761 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'` ;;
9762 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9763 if ${ac_cv_lib_soname_Xext:+false} :; then :
9764 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9765 fi ;;
9766 esac
9768 rm -f core conftest.err conftest.$ac_objext \
9769 conftest$ac_exeext conftest.$ac_ext
9770 LIBS=$ac_check_soname_save_LIBS
9772 if ${ac_cv_lib_soname_Xext:+false} :; then :
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9774 $as_echo "not found" >&6; }
9776 else
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9778 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9780 cat >>confdefs.h <<_ACEOF
9781 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9782 _ACEOF
9784 X_LIBS="$X_LIBS -lXext"
9786 X_LIBS="$X_LIBS -lX11"
9788 for ac_header in X11/Xlib.h \
9789 X11/XKBlib.h \
9790 X11/Xutil.h \
9791 X11/Xcursor/Xcursor.h \
9792 X11/extensions/shape.h \
9793 X11/extensions/XInput.h \
9794 X11/extensions/XInput2.h \
9795 X11/extensions/XShm.h \
9796 X11/extensions/Xcomposite.h \
9797 X11/extensions/Xinerama.h \
9798 X11/extensions/Xrandr.h \
9799 X11/extensions/Xrender.h \
9800 X11/extensions/xf86vmode.h \
9801 X11/extensions/xf86vmproto.h
9802 do :
9803 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9804 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9805 # include <X11/Xlib.h>
9806 #endif
9807 #ifdef HAVE_X11_XUTIL_H
9808 # include <X11/Xutil.h>
9809 #endif
9811 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9812 cat >>confdefs.h <<_ACEOF
9813 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9814 _ACEOF
9818 done
9821 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9822 then
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9824 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9825 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9826 $as_echo_n "(cached) " >&6
9827 else
9828 ac_check_lib_save_LIBS=$LIBS
9829 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9831 /* end confdefs.h. */
9833 /* Override any GCC internal prototype to avoid an error.
9834 Use char because int might match the return type of a GCC
9835 builtin and then its argument prototype would still apply. */
9836 #ifdef __cplusplus
9837 extern "C"
9838 #endif
9839 char XkbQueryExtension ();
9841 main ()
9843 return XkbQueryExtension ();
9845 return 0;
9847 _ACEOF
9848 if ac_fn_c_try_link "$LINENO"; then :
9849 ac_cv_lib_X11_XkbQueryExtension=yes
9850 else
9851 ac_cv_lib_X11_XkbQueryExtension=no
9853 rm -f core conftest.err conftest.$ac_objext \
9854 conftest$ac_exeext conftest.$ac_ext
9855 LIBS=$ac_check_lib_save_LIBS
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9858 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9859 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9861 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9867 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9868 then
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9870 $as_echo_n "checking for -lXcursor... " >&6; }
9871 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9872 $as_echo_n "(cached) " >&6
9873 else
9874 ac_check_soname_save_LIBS=$LIBS
9875 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9879 /* Override any GCC internal prototype to avoid an error.
9880 Use char because int might match the return type of a GCC
9881 builtin and then its argument prototype would still apply. */
9882 #ifdef __cplusplus
9883 extern "C"
9884 #endif
9885 char XcursorImageLoadCursor ();
9887 main ()
9889 return XcursorImageLoadCursor ();
9891 return 0;
9893 _ACEOF
9894 if ac_fn_c_try_link "$LINENO"; then :
9895 case "$LIBEXT" in
9896 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9897 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'` ;;
9898 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9899 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9900 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9901 fi ;;
9902 esac
9904 rm -f core conftest.err conftest.$ac_objext \
9905 conftest$ac_exeext conftest.$ac_ext
9906 LIBS=$ac_check_soname_save_LIBS
9908 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9910 $as_echo "not found" >&6; }
9912 else
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9914 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9916 cat >>confdefs.h <<_ACEOF
9917 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9918 _ACEOF
9923 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9924 case "x$with_xcursor" in
9925 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9926 xno) ;;
9927 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9928 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9929 esac
9933 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9934 then
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9936 $as_echo_n "checking for -lXi... " >&6; }
9937 if ${ac_cv_lib_soname_Xi+:} false; then :
9938 $as_echo_n "(cached) " >&6
9939 else
9940 ac_check_soname_save_LIBS=$LIBS
9941 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9943 /* end confdefs.h. */
9945 /* Override any GCC internal prototype to avoid an error.
9946 Use char because int might match the return type of a GCC
9947 builtin and then its argument prototype would still apply. */
9948 #ifdef __cplusplus
9949 extern "C"
9950 #endif
9951 char XOpenDevice ();
9953 main ()
9955 return XOpenDevice ();
9957 return 0;
9959 _ACEOF
9960 if ac_fn_c_try_link "$LINENO"; then :
9961 case "$LIBEXT" in
9962 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9963 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'` ;;
9964 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9965 if ${ac_cv_lib_soname_Xi:+false} :; then :
9966 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9967 fi ;;
9968 esac
9970 rm -f core conftest.err conftest.$ac_objext \
9971 conftest$ac_exeext conftest.$ac_ext
9972 LIBS=$ac_check_soname_save_LIBS
9974 if ${ac_cv_lib_soname_Xi:+false} :; then :
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9976 $as_echo "not found" >&6; }
9978 else
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9980 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9982 cat >>confdefs.h <<_ACEOF
9983 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9984 _ACEOF
9989 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9990 case "x$with_xinput" in
9991 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9992 xno) ;;
9993 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9994 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9995 esac
9999 if test "x$ac_cv_lib_soname_Xi" != x
10000 then
10001 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10002 case "x$with_xinput2" in
10003 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10004 xno) ;;
10005 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10006 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10007 esac
10012 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10013 then
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10015 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10016 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10017 $as_echo_n "(cached) " >&6
10018 else
10019 ac_check_lib_save_LIBS=$LIBS
10020 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10022 /* end confdefs.h. */
10024 /* Override any GCC internal prototype to avoid an error.
10025 Use char because int might match the return type of a GCC
10026 builtin and then its argument prototype would still apply. */
10027 #ifdef __cplusplus
10028 extern "C"
10029 #endif
10030 char XShmQueryExtension ();
10032 main ()
10034 return XShmQueryExtension ();
10036 return 0;
10038 _ACEOF
10039 if ac_fn_c_try_link "$LINENO"; then :
10040 ac_cv_lib_Xext_XShmQueryExtension=yes
10041 else
10042 ac_cv_lib_Xext_XShmQueryExtension=no
10044 rm -f core conftest.err conftest.$ac_objext \
10045 conftest$ac_exeext conftest.$ac_ext
10046 LIBS=$ac_check_lib_save_LIBS
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10049 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10050 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10052 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10057 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10058 case "x$with_xshm" in
10059 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10060 xno) ;;
10061 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10062 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10063 esac
10067 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10068 then
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10070 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10071 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10072 $as_echo_n "(cached) " >&6
10073 else
10074 ac_check_lib_save_LIBS=$LIBS
10075 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10077 /* end confdefs.h. */
10079 /* Override any GCC internal prototype to avoid an error.
10080 Use char because int might match the return type of a GCC
10081 builtin and then its argument prototype would still apply. */
10082 #ifdef __cplusplus
10083 extern "C"
10084 #endif
10085 char XShapeQueryExtension ();
10087 main ()
10089 return XShapeQueryExtension ();
10091 return 0;
10093 _ACEOF
10094 if ac_fn_c_try_link "$LINENO"; then :
10095 ac_cv_lib_Xext_XShapeQueryExtension=yes
10096 else
10097 ac_cv_lib_Xext_XShapeQueryExtension=no
10099 rm -f core conftest.err conftest.$ac_objext \
10100 conftest$ac_exeext conftest.$ac_ext
10101 LIBS=$ac_check_lib_save_LIBS
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10104 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10105 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10107 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10112 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10113 case "x$with_xshape" in
10114 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10115 xno) ;;
10116 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10117 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10118 esac
10122 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10123 then
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10125 $as_echo_n "checking for -lXxf86vm... " >&6; }
10126 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10127 $as_echo_n "(cached) " >&6
10128 else
10129 ac_check_soname_save_LIBS=$LIBS
10130 LIBS="-lXxf86vm $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 XF86VidModeQueryExtension ();
10142 main ()
10144 return XF86VidModeQueryExtension ();
10146 return 0;
10148 _ACEOF
10149 if ac_fn_c_try_link "$LINENO"; then :
10150 case "$LIBEXT" in
10151 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10152 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'` ;;
10153 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10154 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10155 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$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_Xxf86vm:+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_Xxf86vm" >&5
10169 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10171 cat >>confdefs.h <<_ACEOF
10172 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10173 _ACEOF
10178 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10179 case "x$with_xxf86vm" in
10180 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10181 xno) ;;
10182 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10183 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10184 esac
10188 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10189 then
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10191 $as_echo_n "checking for -lXrender... " >&6; }
10192 if ${ac_cv_lib_soname_Xrender+:} false; then :
10193 $as_echo_n "(cached) " >&6
10194 else
10195 ac_check_soname_save_LIBS=$LIBS
10196 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10198 /* end confdefs.h. */
10200 /* Override any GCC internal prototype to avoid an error.
10201 Use char because int might match the return type of a GCC
10202 builtin and then its argument prototype would still apply. */
10203 #ifdef __cplusplus
10204 extern "C"
10205 #endif
10206 char XRenderQueryExtension ();
10208 main ()
10210 return XRenderQueryExtension ();
10212 return 0;
10214 _ACEOF
10215 if ac_fn_c_try_link "$LINENO"; then :
10216 case "$LIBEXT" in
10217 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10218 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'` ;;
10219 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10220 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10221 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10222 fi ;;
10223 esac
10225 rm -f core conftest.err conftest.$ac_objext \
10226 conftest$ac_exeext conftest.$ac_ext
10227 LIBS=$ac_check_soname_save_LIBS
10229 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10231 $as_echo "not found" >&6; }
10233 else
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10235 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10237 cat >>confdefs.h <<_ACEOF
10238 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10239 _ACEOF
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10242 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10243 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10244 $as_echo_n "(cached) " >&6
10245 else
10246 ac_check_lib_save_LIBS=$LIBS
10247 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */
10251 /* Override any GCC internal prototype to avoid an error.
10252 Use char because int might match the return type of a GCC
10253 builtin and then its argument prototype would still apply. */
10254 #ifdef __cplusplus
10255 extern "C"
10256 #endif
10257 char XRenderSetPictureTransform ();
10259 main ()
10261 return XRenderSetPictureTransform ();
10263 return 0;
10265 _ACEOF
10266 if ac_fn_c_try_link "$LINENO"; then :
10267 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10268 else
10269 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10271 rm -f core conftest.err conftest.$ac_objext \
10272 conftest$ac_exeext conftest.$ac_ext
10273 LIBS=$ac_check_lib_save_LIBS
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10276 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10277 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10279 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10284 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10285 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10286 $as_echo_n "(cached) " >&6
10287 else
10288 ac_check_lib_save_LIBS=$LIBS
10289 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */
10293 /* Override any GCC internal prototype to avoid an error.
10294 Use char because int might match the return type of a GCC
10295 builtin and then its argument prototype would still apply. */
10296 #ifdef __cplusplus
10297 extern "C"
10298 #endif
10299 char XRenderCreateLinearGradient ();
10301 main ()
10303 return XRenderCreateLinearGradient ();
10305 return 0;
10307 _ACEOF
10308 if ac_fn_c_try_link "$LINENO"; then :
10309 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10310 else
10311 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10313 rm -f core conftest.err conftest.$ac_objext \
10314 conftest$ac_exeext conftest.$ac_ext
10315 LIBS=$ac_check_lib_save_LIBS
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10318 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10319 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10321 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10328 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10329 case "x$with_xrender" in
10330 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10331 xno) ;;
10332 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10333 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10334 esac
10338 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10339 then
10340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10341 /* end confdefs.h. */
10342 #include <X11/Xlib.h>
10343 #include <X11/extensions/Xrandr.h>
10345 main ()
10347 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10349 return 0;
10351 _ACEOF
10352 if ac_fn_c_try_compile "$LINENO"; then :
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10354 $as_echo_n "checking for -lXrandr... " >&6; }
10355 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10356 $as_echo_n "(cached) " >&6
10357 else
10358 ac_check_soname_save_LIBS=$LIBS
10359 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10361 /* end confdefs.h. */
10363 /* Override any GCC internal prototype to avoid an error.
10364 Use char because int might match the return type of a GCC
10365 builtin and then its argument prototype would still apply. */
10366 #ifdef __cplusplus
10367 extern "C"
10368 #endif
10369 char XRRQueryExtension ();
10371 main ()
10373 return XRRQueryExtension ();
10375 return 0;
10377 _ACEOF
10378 if ac_fn_c_try_link "$LINENO"; then :
10379 case "$LIBEXT" in
10380 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10381 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'` ;;
10382 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10383 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10384 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10385 fi ;;
10386 esac
10388 rm -f core conftest.err conftest.$ac_objext \
10389 conftest$ac_exeext conftest.$ac_ext
10390 LIBS=$ac_check_soname_save_LIBS
10392 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10394 $as_echo "not found" >&6; }
10396 else
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10398 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10400 cat >>confdefs.h <<_ACEOF
10401 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10402 _ACEOF
10404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10405 /* end confdefs.h. */
10406 #include <X11/Xlib.h>
10407 #include <X11/extensions/Xrandr.h>
10409 main ()
10411 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10413 return 0;
10415 _ACEOF
10416 if ac_fn_c_try_compile "$LINENO"; then :
10418 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10426 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10427 case "x$with_xrandr" in
10428 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10429 xno) ;;
10430 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10431 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10432 esac
10436 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10437 then
10438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10440 #include <X11/Xlib.h>
10441 #include <X11/extensions/Xinerama.h>
10443 main ()
10445 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10447 return 0;
10449 _ACEOF
10450 if ac_fn_c_try_compile "$LINENO"; then :
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10452 $as_echo_n "checking for -lXinerama... " >&6; }
10453 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10454 $as_echo_n "(cached) " >&6
10455 else
10456 ac_check_soname_save_LIBS=$LIBS
10457 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10459 /* end confdefs.h. */
10461 /* Override any GCC internal prototype to avoid an error.
10462 Use char because int might match the return type of a GCC
10463 builtin and then its argument prototype would still apply. */
10464 #ifdef __cplusplus
10465 extern "C"
10466 #endif
10467 char XineramaQueryScreens ();
10469 main ()
10471 return XineramaQueryScreens ();
10473 return 0;
10475 _ACEOF
10476 if ac_fn_c_try_link "$LINENO"; then :
10477 case "$LIBEXT" in
10478 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10479 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'` ;;
10480 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10481 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10482 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10483 fi ;;
10484 esac
10486 rm -f core conftest.err conftest.$ac_objext \
10487 conftest$ac_exeext conftest.$ac_ext
10488 LIBS=$ac_check_soname_save_LIBS
10490 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10492 $as_echo "not found" >&6; }
10494 else
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10496 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10498 cat >>confdefs.h <<_ACEOF
10499 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10500 _ACEOF
10505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10507 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10508 case "x$with_xinerama" in
10509 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10510 xno) ;;
10511 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10512 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10513 esac
10517 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10518 then
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10520 $as_echo_n "checking for -lXcomposite... " >&6; }
10521 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10522 $as_echo_n "(cached) " >&6
10523 else
10524 ac_check_soname_save_LIBS=$LIBS
10525 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10527 /* end confdefs.h. */
10529 /* Override any GCC internal prototype to avoid an error.
10530 Use char because int might match the return type of a GCC
10531 builtin and then its argument prototype would still apply. */
10532 #ifdef __cplusplus
10533 extern "C"
10534 #endif
10535 char XCompositeRedirectWindow ();
10537 main ()
10539 return XCompositeRedirectWindow ();
10541 return 0;
10543 _ACEOF
10544 if ac_fn_c_try_link "$LINENO"; then :
10545 case "$LIBEXT" in
10546 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10547 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'` ;;
10548 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10549 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10550 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10551 fi ;;
10552 esac
10554 rm -f core conftest.err conftest.$ac_objext \
10555 conftest$ac_exeext conftest.$ac_ext
10556 LIBS=$ac_check_soname_save_LIBS
10558 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10560 $as_echo "not found" >&6; }
10562 else
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10564 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10566 cat >>confdefs.h <<_ACEOF
10567 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10568 _ACEOF
10573 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10574 case "x$with_xcomposite" in
10575 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10576 xno) ;;
10577 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10578 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10579 esac
10583 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10584 #include <X11/Xlib.h>
10585 #endif
10587 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10589 cat >>confdefs.h <<_ACEOF
10590 #define HAVE_XICCALLBACK_CALLBACK 1
10591 _ACEOF
10595 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10596 #include <X11/Xlib.h>
10597 #endif
10599 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10601 cat >>confdefs.h <<_ACEOF
10602 #define HAVE_XEVENT_XCOOKIE 1
10603 _ACEOF
10610 opengl_msg=""
10611 if test "x$with_opengl" != "xno"
10612 then
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10614 $as_echo_n "checking for -lGL... " >&6; }
10615 if ${ac_cv_lib_soname_GL+:} false; then :
10616 $as_echo_n "(cached) " >&6
10617 else
10618 ac_check_soname_save_LIBS=$LIBS
10619 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10621 /* end confdefs.h. */
10623 /* Override any GCC internal prototype to avoid an error.
10624 Use char because int might match the return type of a GCC
10625 builtin and then its argument prototype would still apply. */
10626 #ifdef __cplusplus
10627 extern "C"
10628 #endif
10629 char glXCreateContext ();
10631 main ()
10633 return glXCreateContext ();
10635 return 0;
10637 _ACEOF
10638 if ac_fn_c_try_link "$LINENO"; then :
10639 case "$LIBEXT" in
10640 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10641 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'` ;;
10642 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10643 if ${ac_cv_lib_soname_GL:+false} :; then :
10644 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10645 fi ;;
10646 esac
10648 rm -f core conftest.err conftest.$ac_objext \
10649 conftest$ac_exeext conftest.$ac_ext
10650 LIBS=$ac_check_soname_save_LIBS
10652 if ${ac_cv_lib_soname_GL:+false} :; then :
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10654 $as_echo "not found" >&6; }
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10656 $as_echo_n "checking for -lGL... " >&6; }
10657 if ${ac_cv_lib_soname_GL+:} false; then :
10658 $as_echo_n "(cached) " >&6
10659 else
10660 ac_check_soname_save_LIBS=$LIBS
10661 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"
10662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10663 /* end confdefs.h. */
10665 /* Override any GCC internal prototype to avoid an error.
10666 Use char because int might match the return type of a GCC
10667 builtin and then its argument prototype would still apply. */
10668 #ifdef __cplusplus
10669 extern "C"
10670 #endif
10671 char glXCreateContext ();
10673 main ()
10675 return glXCreateContext ();
10677 return 0;
10679 _ACEOF
10680 if ac_fn_c_try_link "$LINENO"; then :
10681 case "$LIBEXT" in
10682 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10683 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'` ;;
10684 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10685 if ${ac_cv_lib_soname_GL:+false} :; then :
10686 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10687 fi ;;
10688 esac
10690 rm -f core conftest.err conftest.$ac_objext \
10691 conftest$ac_exeext conftest.$ac_ext
10692 LIBS=$ac_check_soname_save_LIBS
10694 if ${ac_cv_lib_soname_GL:+false} :; then :
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10696 $as_echo "not found" >&6; }
10697 if test -f /usr/X11R6/lib/libGL.a
10698 then
10699 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10700 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10701 else
10702 opengl_msg="No OpenGL library found on this system."
10704 else
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10706 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10708 cat >>confdefs.h <<_ACEOF
10709 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10710 _ACEOF
10712 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"
10714 else
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10716 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10718 cat >>confdefs.h <<_ACEOF
10719 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10720 _ACEOF
10722 OPENGL_LIBS="-lGL"
10724 if test "x$with_glu" != "xno"
10725 then
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10727 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10728 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10729 $as_echo_n "(cached) " >&6
10730 else
10731 ac_check_lib_save_LIBS=$LIBS
10732 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10734 /* end confdefs.h. */
10736 /* Override any GCC internal prototype to avoid an error.
10737 Use char because int might match the return type of a GCC
10738 builtin and then its argument prototype would still apply. */
10739 #ifdef __cplusplus
10740 extern "C"
10741 #endif
10742 char gluLookAt ();
10744 main ()
10746 return gluLookAt ();
10748 return 0;
10750 _ACEOF
10751 if ac_fn_c_try_link "$LINENO"; then :
10752 ac_cv_lib_GLU_gluLookAt=yes
10753 else
10754 ac_cv_lib_GLU_gluLookAt=no
10756 rm -f core conftest.err conftest.$ac_objext \
10757 conftest$ac_exeext conftest.$ac_ext
10758 LIBS=$ac_check_lib_save_LIBS
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10761 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10762 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10766 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10767 case "x$with_glu" in
10768 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10769 xno) ;;
10770 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10771 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10772 esac
10777 if test "x$with_osmesa" != "xno"
10778 then
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10780 $as_echo_n "checking for -lOSMesa... " >&6; }
10781 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10782 $as_echo_n "(cached) " >&6
10783 else
10784 ac_check_soname_save_LIBS=$LIBS
10785 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10787 /* end confdefs.h. */
10789 /* Override any GCC internal prototype to avoid an error.
10790 Use char because int might match the return type of a GCC
10791 builtin and then its argument prototype would still apply. */
10792 #ifdef __cplusplus
10793 extern "C"
10794 #endif
10795 char glAccum ();
10797 main ()
10799 return glAccum ();
10801 return 0;
10803 _ACEOF
10804 if ac_fn_c_try_link "$LINENO"; then :
10805 case "$LIBEXT" in
10806 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10807 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'` ;;
10808 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10809 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10810 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10811 fi ;;
10812 esac
10814 rm -f core conftest.err conftest.$ac_objext \
10815 conftest$ac_exeext conftest.$ac_ext
10816 LIBS=$ac_check_soname_save_LIBS
10818 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10820 $as_echo "not found" >&6; }
10822 else
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10824 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10826 cat >>confdefs.h <<_ACEOF
10827 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10828 _ACEOF
10832 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10833 case "x$with_osmesa" in
10834 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10835 xno) ;;
10836 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10837 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10838 esac
10843 if test -n "$opengl_msg"; then :
10844 case "x$with_opengl" in
10845 x) as_fn_append wine_warnings "|$opengl_msg
10846 OpenGL and Direct3D won't be supported." ;;
10847 xno) ;;
10848 *) as_fn_error $? "$opengl_msg
10849 OpenGL and Direct3D won't be supported.
10850 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10851 esac
10855 CPPFLAGS="$ac_save_CPPFLAGS"
10856 else
10857 X_CFLAGS=""
10858 X_LIBS=""
10860 if test "x$X_LIBS" = "x"; then :
10861 case "x$with_x" in
10862 xno) ;;
10863 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10864 without X support, which probably isn't what you want. You will need
10865 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10866 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10867 esac
10868 enable_winex11_drv=${enable_winex11_drv:-no}
10871 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10873 if test "$ac_cv_header_CL_cl_h" = "yes"
10874 then
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10876 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10877 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10878 $as_echo_n "(cached) " >&6
10879 else
10880 ac_check_lib_save_LIBS=$LIBS
10881 LIBS="-lOpenCL $LIBS"
10882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h. */
10885 /* Override any GCC internal prototype to avoid an error.
10886 Use char because int might match the return type of a GCC
10887 builtin and then its argument prototype would still apply. */
10888 #ifdef __cplusplus
10889 extern "C"
10890 #endif
10891 char clGetPlatformInfo ();
10893 main ()
10895 return clGetPlatformInfo ();
10897 return 0;
10899 _ACEOF
10900 if ac_fn_c_try_link "$LINENO"; then :
10901 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10902 else
10903 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10905 rm -f core conftest.err conftest.$ac_objext \
10906 conftest$ac_exeext conftest.$ac_ext
10907 LIBS=$ac_check_lib_save_LIBS
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10910 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10911 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10912 OPENCL_LIBS="-lOpenCL"
10917 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10918 case "x$with_opencl" in
10919 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10920 xno) ;;
10921 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10922 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10923 esac
10924 enable_opencl=${enable_opencl:-no}
10927 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10928 then
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10930 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10931 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10932 $as_echo_n "(cached) " >&6
10933 else
10934 ac_check_lib_save_LIBS=$LIBS
10935 LIBS="-lpcap $LIBS"
10936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10937 /* end confdefs.h. */
10939 /* Override any GCC internal prototype to avoid an error.
10940 Use char because int might match the return type of a GCC
10941 builtin and then its argument prototype would still apply. */
10942 #ifdef __cplusplus
10943 extern "C"
10944 #endif
10945 char pcap_create ();
10947 main ()
10949 return pcap_create ();
10951 return 0;
10953 _ACEOF
10954 if ac_fn_c_try_link "$LINENO"; then :
10955 ac_cv_lib_pcap_pcap_create=yes
10956 else
10957 ac_cv_lib_pcap_pcap_create=no
10959 rm -f core conftest.err conftest.$ac_objext \
10960 conftest$ac_exeext conftest.$ac_ext
10961 LIBS=$ac_check_lib_save_LIBS
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10964 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10965 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10966 PCAP_LIBS="-lpcap"
10971 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10972 case "x$with_pcap" in
10973 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10974 xno) ;;
10975 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10976 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10977 esac
10978 enable_wpcap=${enable_wpcap:-no}
10982 if test "x$with_xml" != "xno"
10983 then
10984 if ${XML2_CFLAGS:+false} :; then :
10985 if ${PKG_CONFIG+:} false; then :
10986 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10989 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10990 if ${XML2_LIBS:+false} :; then :
10991 if ${PKG_CONFIG+:} false; then :
10992 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10995 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10996 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10997 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10998 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10999 ac_save_CPPFLAGS=$CPPFLAGS
11000 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11001 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11002 do :
11003 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11004 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11005 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11006 cat >>confdefs.h <<_ACEOF
11007 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11008 _ACEOF
11012 done
11014 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"
11015 then
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11017 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11018 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11019 $as_echo_n "(cached) " >&6
11020 else
11021 ac_check_lib_save_LIBS=$LIBS
11022 LIBS="-lxml2 $XML2_LIBS $LIBS"
11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11024 /* end confdefs.h. */
11026 /* Override any GCC internal prototype to avoid an error.
11027 Use char because int might match the return type of a GCC
11028 builtin and then its argument prototype would still apply. */
11029 #ifdef __cplusplus
11030 extern "C"
11031 #endif
11032 char xmlParseMemory ();
11034 main ()
11036 return xmlParseMemory ();
11038 return 0;
11040 _ACEOF
11041 if ac_fn_c_try_link "$LINENO"; then :
11042 ac_cv_lib_xml2_xmlParseMemory=yes
11043 else
11044 ac_cv_lib_xml2_xmlParseMemory=no
11046 rm -f core conftest.err conftest.$ac_objext \
11047 conftest$ac_exeext conftest.$ac_ext
11048 LIBS=$ac_check_lib_save_LIBS
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11051 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11052 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11054 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11056 else
11057 XML2_LIBS=""
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11061 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11062 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11063 $as_echo_n "(cached) " >&6
11064 else
11065 ac_check_lib_save_LIBS=$LIBS
11066 LIBS="-lxml2 $XML2_LIBS $LIBS"
11067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11068 /* end confdefs.h. */
11070 /* Override any GCC internal prototype to avoid an error.
11071 Use char because int might match the return type of a GCC
11072 builtin and then its argument prototype would still apply. */
11073 #ifdef __cplusplus
11074 extern "C"
11075 #endif
11076 char xmlReadMemory ();
11078 main ()
11080 return xmlReadMemory ();
11082 return 0;
11084 _ACEOF
11085 if ac_fn_c_try_link "$LINENO"; then :
11086 ac_cv_lib_xml2_xmlReadMemory=yes
11087 else
11088 ac_cv_lib_xml2_xmlReadMemory=no
11090 rm -f core conftest.err conftest.$ac_objext \
11091 conftest$ac_exeext conftest.$ac_ext
11092 LIBS=$ac_check_lib_save_LIBS
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11095 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11096 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11098 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11103 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11104 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11105 $as_echo_n "(cached) " >&6
11106 else
11107 ac_check_lib_save_LIBS=$LIBS
11108 LIBS="-lxml2 $XML2_LIBS $LIBS"
11109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11110 /* end confdefs.h. */
11112 /* Override any GCC internal prototype to avoid an error.
11113 Use char because int might match the return type of a GCC
11114 builtin and then its argument prototype would still apply. */
11115 #ifdef __cplusplus
11116 extern "C"
11117 #endif
11118 char xmlNewDocPI ();
11120 main ()
11122 return xmlNewDocPI ();
11124 return 0;
11126 _ACEOF
11127 if ac_fn_c_try_link "$LINENO"; then :
11128 ac_cv_lib_xml2_xmlNewDocPI=yes
11129 else
11130 ac_cv_lib_xml2_xmlNewDocPI=no
11132 rm -f core conftest.err conftest.$ac_objext \
11133 conftest$ac_exeext conftest.$ac_ext
11134 LIBS=$ac_check_lib_save_LIBS
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11137 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11138 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11140 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11145 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11146 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11147 $as_echo_n "(cached) " >&6
11148 else
11149 ac_check_lib_save_LIBS=$LIBS
11150 LIBS="-lxml2 $XML2_LIBS $LIBS"
11151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11152 /* end confdefs.h. */
11154 /* Override any GCC internal prototype to avoid an error.
11155 Use char because int might match the return type of a GCC
11156 builtin and then its argument prototype would still apply. */
11157 #ifdef __cplusplus
11158 extern "C"
11159 #endif
11160 char xmlSchemaSetParserStructuredErrors ();
11162 main ()
11164 return xmlSchemaSetParserStructuredErrors ();
11166 return 0;
11168 _ACEOF
11169 if ac_fn_c_try_link "$LINENO"; then :
11170 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11171 else
11172 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11174 rm -f core conftest.err conftest.$ac_objext \
11175 conftest$ac_exeext conftest.$ac_ext
11176 LIBS=$ac_check_lib_save_LIBS
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11179 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11180 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11182 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11187 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11188 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11189 $as_echo_n "(cached) " >&6
11190 else
11191 ac_check_lib_save_LIBS=$LIBS
11192 LIBS="-lxml2 $XML2_LIBS $LIBS"
11193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11194 /* end confdefs.h. */
11196 /* Override any GCC internal prototype to avoid an error.
11197 Use char because int might match the return type of a GCC
11198 builtin and then its argument prototype would still apply. */
11199 #ifdef __cplusplus
11200 extern "C"
11201 #endif
11202 char xmlSchemaSetValidStructuredErrors ();
11204 main ()
11206 return xmlSchemaSetValidStructuredErrors ();
11208 return 0;
11210 _ACEOF
11211 if ac_fn_c_try_link "$LINENO"; then :
11212 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11213 else
11214 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11216 rm -f core conftest.err conftest.$ac_objext \
11217 conftest$ac_exeext conftest.$ac_ext
11218 LIBS=$ac_check_lib_save_LIBS
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11221 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11222 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11224 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11229 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11230 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11231 $as_echo_n "(cached) " >&6
11232 else
11233 ac_check_lib_save_LIBS=$LIBS
11234 LIBS="-lxml2 $XML2_LIBS $LIBS"
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11238 /* Override any GCC internal prototype to avoid an error.
11239 Use char because int might match the return type of a GCC
11240 builtin and then its argument prototype would still apply. */
11241 #ifdef __cplusplus
11242 extern "C"
11243 #endif
11244 char xmlFirstElementChild ();
11246 main ()
11248 return xmlFirstElementChild ();
11250 return 0;
11252 _ACEOF
11253 if ac_fn_c_try_link "$LINENO"; then :
11254 ac_cv_lib_xml2_xmlFirstElementChild=yes
11255 else
11256 ac_cv_lib_xml2_xmlFirstElementChild=no
11258 rm -f core conftest.err conftest.$ac_objext \
11259 conftest$ac_exeext conftest.$ac_ext
11260 LIBS=$ac_check_lib_save_LIBS
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11263 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11264 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11266 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11270 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11272 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11274 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11278 else
11279 XML2_CFLAGS=""
11280 XML2_LIBS=""
11282 CPPFLAGS=$ac_save_CPPFLAGS
11283 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11284 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11287 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11288 case "x$with_xml" in
11289 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11290 xno) ;;
11291 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11292 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11293 esac
11297 if test "x$with_xslt" != "xno"
11298 then
11299 if ${XSLT_CFLAGS:+false} :; then :
11300 if ${PKG_CONFIG+:} false; then :
11301 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11304 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11305 if ${XSLT_LIBS:+false} :; then :
11306 if ${PKG_CONFIG+:} false; then :
11307 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11310 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11311 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11312 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11313 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11314 ac_save_CPPFLAGS=$CPPFLAGS
11315 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11316 for ac_header in libxslt/pattern.h libxslt/transform.h
11317 do :
11318 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11319 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11320 # include <libxslt/pattern.h>
11321 #endif
11323 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11324 cat >>confdefs.h <<_ACEOF
11325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11326 _ACEOF
11330 done
11332 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11333 then
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11335 $as_echo_n "checking for -lxslt... " >&6; }
11336 if ${ac_cv_lib_soname_xslt+:} false; then :
11337 $as_echo_n "(cached) " >&6
11338 else
11339 ac_check_soname_save_LIBS=$LIBS
11340 LIBS="-lxslt $XSLT_LIBS $LIBS"
11341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11344 /* Override any GCC internal prototype to avoid an error.
11345 Use char because int might match the return type of a GCC
11346 builtin and then its argument prototype would still apply. */
11347 #ifdef __cplusplus
11348 extern "C"
11349 #endif
11350 char xsltCompilePattern ();
11352 main ()
11354 return xsltCompilePattern ();
11356 return 0;
11358 _ACEOF
11359 if ac_fn_c_try_link "$LINENO"; then :
11360 case "$LIBEXT" in
11361 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11362 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'` ;;
11363 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11364 if ${ac_cv_lib_soname_xslt:+false} :; then :
11365 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11366 fi ;;
11367 esac
11369 rm -f core conftest.err conftest.$ac_objext \
11370 conftest$ac_exeext conftest.$ac_ext
11371 LIBS=$ac_check_soname_save_LIBS
11373 if ${ac_cv_lib_soname_xslt:+false} :; then :
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11375 $as_echo "not found" >&6; }
11377 else
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11379 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11381 cat >>confdefs.h <<_ACEOF
11382 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11383 _ACEOF
11387 else
11388 XSLT_CFLAGS=""
11390 CPPFLAGS=$ac_save_CPPFLAGS
11391 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11392 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11395 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11396 case "x$with_xslt" in
11397 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11398 xno) ;;
11399 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11400 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11401 esac
11405 if test "x$with_dbus" != "xno"
11406 then
11407 if ${DBUS_CFLAGS:+false} :; then :
11408 if ${PKG_CONFIG+:} false; then :
11409 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11413 if ${DBUS_LIBS:+false} :; then :
11414 if ${PKG_CONFIG+:} false; then :
11415 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11420 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11421 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11422 ac_save_CPPFLAGS=$CPPFLAGS
11423 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11424 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11425 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11427 $as_echo_n "checking for -ldbus-1... " >&6; }
11428 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11429 $as_echo_n "(cached) " >&6
11430 else
11431 ac_check_soname_save_LIBS=$LIBS
11432 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11436 /* Override any GCC internal prototype to avoid an error.
11437 Use char because int might match the return type of a GCC
11438 builtin and then its argument prototype would still apply. */
11439 #ifdef __cplusplus
11440 extern "C"
11441 #endif
11442 char dbus_connection_close ();
11444 main ()
11446 return dbus_connection_close ();
11448 return 0;
11450 _ACEOF
11451 if ac_fn_c_try_link "$LINENO"; then :
11452 case "$LIBEXT" in
11453 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11454 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'` ;;
11455 *) 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'`
11456 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11457 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11458 fi ;;
11459 esac
11461 rm -f core conftest.err conftest.$ac_objext \
11462 conftest$ac_exeext conftest.$ac_ext
11463 LIBS=$ac_check_soname_save_LIBS
11465 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11467 $as_echo "not found" >&6; }
11468 DBUS_CFLAGS=""
11469 else
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11471 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11473 cat >>confdefs.h <<_ACEOF
11474 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11475 _ACEOF
11479 else
11480 DBUS_CFLAGS=""
11484 CPPFLAGS=$ac_save_CPPFLAGS
11485 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11486 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11489 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11490 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11491 case "x$with_dbus" in
11492 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11493 xno) ;;
11494 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11495 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11496 esac
11500 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11501 then
11502 if ${HAL_CFLAGS:+false} :; then :
11503 if ${PKG_CONFIG+:} false; then :
11504 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11508 if ${HAL_LIBS:+false} :; then :
11509 if ${PKG_CONFIG+:} false; then :
11510 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11514 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11515 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11516 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11517 ac_save_CPPFLAGS=$CPPFLAGS
11518 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11519 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11520 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11522 $as_echo_n "checking for -lhal... " >&6; }
11523 if ${ac_cv_lib_soname_hal+:} false; then :
11524 $as_echo_n "(cached) " >&6
11525 else
11526 ac_check_soname_save_LIBS=$LIBS
11527 LIBS="-lhal $HAL_LIBS $LIBS"
11528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11529 /* end confdefs.h. */
11531 /* Override any GCC internal prototype to avoid an error.
11532 Use char because int might match the return type of a GCC
11533 builtin and then its argument prototype would still apply. */
11534 #ifdef __cplusplus
11535 extern "C"
11536 #endif
11537 char libhal_ctx_new ();
11539 main ()
11541 return libhal_ctx_new ();
11543 return 0;
11545 _ACEOF
11546 if ac_fn_c_try_link "$LINENO"; then :
11547 case "$LIBEXT" in
11548 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11549 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'` ;;
11550 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11551 if ${ac_cv_lib_soname_hal:+false} :; then :
11552 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11553 fi ;;
11554 esac
11556 rm -f core conftest.err conftest.$ac_objext \
11557 conftest$ac_exeext conftest.$ac_ext
11558 LIBS=$ac_check_soname_save_LIBS
11560 if ${ac_cv_lib_soname_hal:+false} :; then :
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11562 $as_echo "not found" >&6; }
11563 HAL_CFLAGS=""
11564 else
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11566 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11568 cat >>confdefs.h <<_ACEOF
11569 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11570 _ACEOF
11574 else
11575 HAL_CFLAGS=""
11579 CPPFLAGS=$ac_save_CPPFLAGS
11580 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11581 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11583 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11584 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11585 case "x$with_hal" in
11586 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11587 xno) ;;
11588 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11589 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11590 esac
11595 if test "x$with_gnutls" != "xno"
11596 then
11597 if ${GNUTLS_CFLAGS:+false} :; then :
11598 if ${PKG_CONFIG+:} false; then :
11599 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11603 if ${GNUTLS_LIBS:+false} :; then :
11604 if ${PKG_CONFIG+:} false; then :
11605 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11610 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11611 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11612 ac_save_CPPFLAGS=$CPPFLAGS
11613 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11614 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11615 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h. */
11618 #include <gnutls/gnutls.h>
11619 #include <gnutls/crypto.h>
11621 main ()
11623 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11625 return 0;
11627 _ACEOF
11628 if ac_fn_c_try_compile "$LINENO"; then :
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11630 $as_echo_n "checking for -lgnutls... " >&6; }
11631 if ${ac_cv_lib_soname_gnutls+:} false; then :
11632 $as_echo_n "(cached) " >&6
11633 else
11634 ac_check_soname_save_LIBS=$LIBS
11635 LIBS="-lgnutls $GNUTLS_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 gnutls_global_init ();
11647 main ()
11649 return gnutls_global_init ();
11651 return 0;
11653 _ACEOF
11654 if ac_fn_c_try_link "$LINENO"; then :
11655 case "$LIBEXT" in
11656 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11657 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'` ;;
11658 *) 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'`
11659 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11660 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'`
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_gnutls:+false} :; then :
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11670 $as_echo "not found" >&6; }
11671 GNUTLS_CFLAGS=""
11672 else
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11674 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11676 cat >>confdefs.h <<_ACEOF
11677 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11678 _ACEOF
11682 ac_wine_check_funcs_save_LIBS="$LIBS"
11683 LIBS="$LIBS $GNUTLS_LIBS"
11684 for ac_func in gnutls_hash
11685 do :
11686 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11687 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11688 cat >>confdefs.h <<_ACEOF
11689 #define HAVE_GNUTLS_HASH 1
11690 _ACEOF
11692 else
11693 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11695 done
11697 LIBS="$ac_wine_check_funcs_save_LIBS"
11699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11700 else
11701 GNUTLS_CFLAGS=""
11705 CPPFLAGS=$ac_save_CPPFLAGS
11706 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11707 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11710 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11711 case "x$with_gnutls" in
11712 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11713 xno) ;;
11714 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11715 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11716 esac
11720 CURSES_LIBS=""
11721 if test "$ac_cv_header_ncurses_h" = "yes"
11722 then
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11724 $as_echo_n "checking for -lncurses... " >&6; }
11725 if ${ac_cv_lib_soname_ncurses+:} false; then :
11726 $as_echo_n "(cached) " >&6
11727 else
11728 ac_check_soname_save_LIBS=$LIBS
11729 LIBS="-lncurses $LIBS"
11730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11731 /* end confdefs.h. */
11733 /* Override any GCC internal prototype to avoid an error.
11734 Use char because int might match the return type of a GCC
11735 builtin and then its argument prototype would still apply. */
11736 #ifdef __cplusplus
11737 extern "C"
11738 #endif
11739 char waddch ();
11741 main ()
11743 return waddch ();
11745 return 0;
11747 _ACEOF
11748 if ac_fn_c_try_link "$LINENO"; then :
11749 case "$LIBEXT" in
11750 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11751 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'` ;;
11752 *) 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'`
11753 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11754 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11755 fi ;;
11756 esac
11758 rm -f core conftest.err conftest.$ac_objext \
11759 conftest$ac_exeext conftest.$ac_ext
11760 LIBS=$ac_check_soname_save_LIBS
11762 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11764 $as_echo "not found" >&6; }
11766 else
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11768 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11770 cat >>confdefs.h <<_ACEOF
11771 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11772 _ACEOF
11774 CURSES_LIBS="-lncurses"
11776 elif test "$ac_cv_header_curses_h" = "yes"
11777 then
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11779 $as_echo_n "checking for -lcurses... " >&6; }
11780 if ${ac_cv_lib_soname_curses+:} false; then :
11781 $as_echo_n "(cached) " >&6
11782 else
11783 ac_check_soname_save_LIBS=$LIBS
11784 LIBS="-lcurses $LIBS"
11785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11786 /* end confdefs.h. */
11788 /* Override any GCC internal prototype to avoid an error.
11789 Use char because int might match the return type of a GCC
11790 builtin and then its argument prototype would still apply. */
11791 #ifdef __cplusplus
11792 extern "C"
11793 #endif
11794 char waddch ();
11796 main ()
11798 return waddch ();
11800 return 0;
11802 _ACEOF
11803 if ac_fn_c_try_link "$LINENO"; then :
11804 case "$LIBEXT" in
11805 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11806 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'` ;;
11807 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11808 if ${ac_cv_lib_soname_curses:+false} :; then :
11809 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11810 fi ;;
11811 esac
11813 rm -f core conftest.err conftest.$ac_objext \
11814 conftest$ac_exeext conftest.$ac_ext
11815 LIBS=$ac_check_soname_save_LIBS
11817 if ${ac_cv_lib_soname_curses:+false} :; then :
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11819 $as_echo "not found" >&6; }
11821 else
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11823 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11825 cat >>confdefs.h <<_ACEOF
11826 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11827 _ACEOF
11829 CURSES_LIBS="-lcurses"
11832 ac_save_LIBS="$LIBS"
11833 LIBS="$LIBS $CURSES_LIBS"
11834 for ac_func in mousemask
11835 do :
11836 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11837 if test "x$ac_cv_func_mousemask" = xyes; then :
11838 cat >>confdefs.h <<_ACEOF
11839 #define HAVE_MOUSEMASK 1
11840 _ACEOF
11843 done
11845 LIBS="$ac_save_LIBS"
11846 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11847 case "x$with_curses" in
11848 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11849 xno) ;;
11850 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11851 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11852 esac
11856 if test "x$with_sane" != "xno"
11857 then
11858 if ${SANE_CFLAGS:+false} :; then :
11859 if ${PKG_CONFIG+:} false; then :
11860 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11863 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11864 if ${SANE_LIBS:+false} :; then :
11865 if ${PKG_CONFIG+:} false; then :
11866 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11869 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11871 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11872 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11873 ac_save_CPPFLAGS=$CPPFLAGS
11874 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11875 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11876 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11878 $as_echo_n "checking for -lsane... " >&6; }
11879 if ${ac_cv_lib_soname_sane+:} false; then :
11880 $as_echo_n "(cached) " >&6
11881 else
11882 ac_check_soname_save_LIBS=$LIBS
11883 LIBS="-lsane $SANE_LIBS $LIBS"
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11887 /* Override any GCC internal prototype to avoid an error.
11888 Use char because int might match the return type of a GCC
11889 builtin and then its argument prototype would still apply. */
11890 #ifdef __cplusplus
11891 extern "C"
11892 #endif
11893 char sane_init ();
11895 main ()
11897 return sane_init ();
11899 return 0;
11901 _ACEOF
11902 if ac_fn_c_try_link "$LINENO"; then :
11903 case "$LIBEXT" in
11904 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11905 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'` ;;
11906 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11907 if ${ac_cv_lib_soname_sane:+false} :; then :
11908 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11909 fi ;;
11910 esac
11912 rm -f core conftest.err conftest.$ac_objext \
11913 conftest$ac_exeext conftest.$ac_ext
11914 LIBS=$ac_check_soname_save_LIBS
11916 if ${ac_cv_lib_soname_sane:+false} :; then :
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11918 $as_echo "not found" >&6; }
11919 SANE_CFLAGS=""
11920 else
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11922 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11924 cat >>confdefs.h <<_ACEOF
11925 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11926 _ACEOF
11930 else
11931 SANE_CFLAGS=""
11935 CPPFLAGS=$ac_save_CPPFLAGS
11936 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11937 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11940 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11941 case "x$with_sane" in
11942 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11943 xno) ;;
11944 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11945 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11946 esac
11950 if test "x$with_v4l" != "xno"
11951 then
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11953 $as_echo_n "checking for -lv4l1... " >&6; }
11954 if ${ac_cv_lib_soname_v4l1+:} false; then :
11955 $as_echo_n "(cached) " >&6
11956 else
11957 ac_check_soname_save_LIBS=$LIBS
11958 LIBS="-lv4l1 $LIBS"
11959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11960 /* end confdefs.h. */
11962 /* Override any GCC internal prototype to avoid an error.
11963 Use char because int might match the return type of a GCC
11964 builtin and then its argument prototype would still apply. */
11965 #ifdef __cplusplus
11966 extern "C"
11967 #endif
11968 char v4l1_open ();
11970 main ()
11972 return v4l1_open ();
11974 return 0;
11976 _ACEOF
11977 if ac_fn_c_try_link "$LINENO"; then :
11978 case "$LIBEXT" in
11979 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11980 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'` ;;
11981 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11982 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11983 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11984 fi ;;
11985 esac
11987 rm -f core conftest.err conftest.$ac_objext \
11988 conftest$ac_exeext conftest.$ac_ext
11989 LIBS=$ac_check_soname_save_LIBS
11991 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11993 $as_echo "not found" >&6; }
11995 else
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11997 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11999 cat >>confdefs.h <<_ACEOF
12000 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12001 _ACEOF
12006 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12007 case "x$with_v4l" in
12008 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12009 xno) ;;
12010 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12011 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12012 esac
12016 if test "x$with_gphoto" != "xno"
12017 then
12018 if ${GPHOTO2_CFLAGS:+false} :; then :
12019 if ${PKG_CONFIG+:} false; then :
12020 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12023 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12024 if ${GPHOTO2_LIBS:+false} :; then :
12025 if ${PKG_CONFIG+:} false; then :
12026 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12029 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12030 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12031 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12032 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12033 ac_save_CPPFLAGS=$CPPFLAGS
12034 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12035 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12036 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12038 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12039 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12040 $as_echo_n "(cached) " >&6
12041 else
12042 ac_check_lib_save_LIBS=$LIBS
12043 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12045 /* end confdefs.h. */
12047 /* Override any GCC internal prototype to avoid an error.
12048 Use char because int might match the return type of a GCC
12049 builtin and then its argument prototype would still apply. */
12050 #ifdef __cplusplus
12051 extern "C"
12052 #endif
12053 char gp_camera_new ();
12055 main ()
12057 return gp_camera_new ();
12059 return 0;
12061 _ACEOF
12062 if ac_fn_c_try_link "$LINENO"; then :
12063 ac_cv_lib_gphoto2_gp_camera_new=yes
12064 else
12065 ac_cv_lib_gphoto2_gp_camera_new=no
12067 rm -f core conftest.err conftest.$ac_objext \
12068 conftest$ac_exeext conftest.$ac_ext
12069 LIBS=$ac_check_lib_save_LIBS
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12072 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12073 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12075 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12077 else
12078 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12081 else
12082 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12086 CPPFLAGS=$ac_save_CPPFLAGS
12087 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12088 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12090 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12091 if ${PKG_CONFIG+:} false; then :
12092 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12095 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12096 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12097 if ${PKG_CONFIG+:} false; then :
12098 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12101 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12102 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12103 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12104 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12105 ac_save_CPPFLAGS=$CPPFLAGS
12106 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12107 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12108 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12110 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12111 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12112 $as_echo_n "(cached) " >&6
12113 else
12114 ac_check_lib_save_LIBS=$LIBS
12115 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12117 /* end confdefs.h. */
12119 /* Override any GCC internal prototype to avoid an error.
12120 Use char because int might match the return type of a GCC
12121 builtin and then its argument prototype would still apply. */
12122 #ifdef __cplusplus
12123 extern "C"
12124 #endif
12125 char gp_port_info_list_new ();
12127 main ()
12129 return gp_port_info_list_new ();
12131 return 0;
12133 _ACEOF
12134 if ac_fn_c_try_link "$LINENO"; then :
12135 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12136 else
12137 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12139 rm -f core conftest.err conftest.$ac_objext \
12140 conftest$ac_exeext conftest.$ac_ext
12141 LIBS=$ac_check_lib_save_LIBS
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12144 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12145 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12147 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12149 else
12150 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12153 else
12154 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12158 CPPFLAGS=$ac_save_CPPFLAGS
12159 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12160 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12163 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12164 case "x$with_gphoto" in
12165 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12166 xno) ;;
12167 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12168 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12169 esac
12172 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12173 case "x$with_gphoto" in
12174 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12175 xno) ;;
12176 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12177 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12178 esac
12183 if test "$ac_cv_header_resolv_h" = "yes"
12184 then
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12186 $as_echo_n "checking for resolver library... " >&6; }
12187 if ${ac_cv_have_resolv+:} false; then :
12188 $as_echo_n "(cached) " >&6
12189 else
12190 ac_save_LIBS="$LIBS"
12191 for lib in '' -lresolv
12193 LIBS="$lib $ac_save_LIBS"
12194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12195 /* end confdefs.h. */
12196 #ifdef HAVE_NETINET_IN_H
12197 #include <netinet/in.h>
12198 #endif
12199 #include <resolv.h>
12201 main ()
12203 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12205 return 0;
12207 _ACEOF
12208 if ac_fn_c_try_link "$LINENO"; then :
12209 ac_cv_have_resolv=${lib:-"none required"}
12210 else
12211 ac_cv_have_resolv="not found"
12213 rm -f core conftest.err conftest.$ac_objext \
12214 conftest$ac_exeext conftest.$ac_ext
12215 test "x$ac_cv_have_resolv" = "xnot found" || break
12216 done
12217 LIBS="$ac_save_LIBS"
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12220 $as_echo "$ac_cv_have_resolv" >&6; }
12222 case "$ac_cv_have_resolv" in
12223 "not found") ;;
12224 "none required")
12226 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12229 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12231 RESOLV_LIBS=$ac_cv_have_resolv
12233 esac
12236 if test "x$with_cms" != "xno"
12237 then
12238 if ${LCMS2_CFLAGS:+false} :; then :
12239 if ${PKG_CONFIG+:} false; then :
12240 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12244 if ${LCMS2_LIBS:+false} :; then :
12245 if ${PKG_CONFIG+:} false; then :
12246 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12250 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12251 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12252 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12253 ac_save_CPPFLAGS=$CPPFLAGS
12254 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12255 for ac_header in lcms2.h
12256 do :
12257 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12258 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12259 cat >>confdefs.h <<_ACEOF
12260 #define HAVE_LCMS2_H 1
12261 _ACEOF
12265 done
12267 if test "$ac_cv_header_lcms2_h" = "yes"
12268 then
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12270 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12271 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12272 $as_echo_n "(cached) " >&6
12273 else
12274 ac_check_lib_save_LIBS=$LIBS
12275 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12277 /* end confdefs.h. */
12279 /* Override any GCC internal prototype to avoid an error.
12280 Use char because int might match the return type of a GCC
12281 builtin and then its argument prototype would still apply. */
12282 #ifdef __cplusplus
12283 extern "C"
12284 #endif
12285 char cmsOpenProfileFromFile ();
12287 main ()
12289 return cmsOpenProfileFromFile ();
12291 return 0;
12293 _ACEOF
12294 if ac_fn_c_try_link "$LINENO"; then :
12295 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12296 else
12297 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12299 rm -f core conftest.err conftest.$ac_objext \
12300 conftest$ac_exeext conftest.$ac_ext
12301 LIBS=$ac_check_lib_save_LIBS
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12304 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12305 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12307 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12309 else
12310 LCMS2_LIBS=""
12313 else
12314 LCMS2_CFLAGS=""
12315 LCMS2_LIBS=""
12317 CPPFLAGS=$ac_save_CPPFLAGS
12318 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12319 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12322 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12323 case "x$with_cms" in
12324 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12325 xno) ;;
12326 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12327 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12328 esac
12332 if test "x$with_freetype" != "xno"
12333 then
12334 if ${FREETYPE_CFLAGS:+false} :; then :
12335 if ${PKG_CONFIG+:} false; then :
12336 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12339 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12340 if ${FREETYPE_LIBS:+false} :; then :
12341 if ${PKG_CONFIG+:} false; then :
12342 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12345 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12346 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12347 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12348 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12349 ac_save_CPPFLAGS=$CPPFLAGS
12350 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12351 for ac_header in ft2build.h
12352 do :
12353 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12354 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12355 cat >>confdefs.h <<_ACEOF
12356 #define HAVE_FT2BUILD_H 1
12357 _ACEOF
12361 done
12363 if test "$ac_cv_header_ft2build_h" = "yes"
12364 then
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12366 $as_echo_n "checking for -lfreetype... " >&6; }
12367 if ${ac_cv_lib_soname_freetype+:} false; then :
12368 $as_echo_n "(cached) " >&6
12369 else
12370 ac_check_soname_save_LIBS=$LIBS
12371 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12373 /* end confdefs.h. */
12375 /* Override any GCC internal prototype to avoid an error.
12376 Use char because int might match the return type of a GCC
12377 builtin and then its argument prototype would still apply. */
12378 #ifdef __cplusplus
12379 extern "C"
12380 #endif
12381 char FT_Init_FreeType ();
12383 main ()
12385 return FT_Init_FreeType ();
12387 return 0;
12389 _ACEOF
12390 if ac_fn_c_try_link "$LINENO"; then :
12391 case "$LIBEXT" in
12392 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12393 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'` ;;
12394 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12395 if ${ac_cv_lib_soname_freetype:+false} :; then :
12396 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12397 fi ;;
12398 esac
12400 rm -f core conftest.err conftest.$ac_objext \
12401 conftest$ac_exeext conftest.$ac_ext
12402 LIBS=$ac_check_soname_save_LIBS
12404 if ${ac_cv_lib_soname_freetype:+false} :; then :
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12406 $as_echo "not found" >&6; }
12407 FREETYPE_LIBS=""
12408 else
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12410 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12412 cat >>confdefs.h <<_ACEOF
12413 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12414 _ACEOF
12417 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12419 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12420 #include FT_MODULE_H
12422 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12424 cat >>confdefs.h <<_ACEOF
12425 #define HAVE_FT_TRUETYPEENGINETYPE 1
12426 _ACEOF
12432 else
12433 FREETYPE_CFLAGS=""
12434 FREETYPE_LIBS=""
12436 CPPFLAGS=$ac_save_CPPFLAGS
12437 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12438 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12441 if test "x$ac_cv_lib_soname_freetype" = x; then :
12442 case "x$with_freetype" in
12443 xno) ;;
12444 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12445 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12446 esac
12447 enable_fonts=${enable_fonts:-no}
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12451 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12452 if ${ac_cv_c_ppdev+:} false; then :
12453 $as_echo_n "(cached) " >&6
12454 else
12455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12456 /* end confdefs.h. */
12457 #ifdef HAVE_SYS_IOCTL_H
12458 # include <sys/ioctl.h>
12459 #endif
12460 #include <linux/ppdev.h>
12462 main ()
12464 ioctl (1,PPCLAIM,0)
12466 return 0;
12468 _ACEOF
12469 if ac_fn_c_try_compile "$LINENO"; then :
12470 ac_cv_c_ppdev="yes"
12471 else
12472 ac_cv_c_ppdev="no"
12474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12477 $as_echo "$ac_cv_c_ppdev" >&6; }
12478 if test "$ac_cv_c_ppdev" = "yes"
12479 then
12481 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12485 ac_wine_check_funcs_save_LIBS="$LIBS"
12486 LIBS="$LIBS $PTHREAD_LIBS"
12487 for ac_func in \
12488 pthread_attr_get_np \
12489 pthread_getattr_np \
12490 pthread_getthreadid_np \
12491 pthread_get_stackaddr_np \
12492 pthread_get_stacksize_np
12493 do :
12494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12495 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12496 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12497 cat >>confdefs.h <<_ACEOF
12498 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12499 _ACEOF
12502 done
12504 LIBS="$ac_wine_check_funcs_save_LIBS"
12506 if test "$ac_cv_header_zlib_h" = "yes"
12507 then
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12509 $as_echo_n "checking for inflate in -lz... " >&6; }
12510 if ${ac_cv_lib_z_inflate+:} false; then :
12511 $as_echo_n "(cached) " >&6
12512 else
12513 ac_check_lib_save_LIBS=$LIBS
12514 LIBS="-lz $LIBS"
12515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12516 /* end confdefs.h. */
12518 /* Override any GCC internal prototype to avoid an error.
12519 Use char because int might match the return type of a GCC
12520 builtin and then its argument prototype would still apply. */
12521 #ifdef __cplusplus
12522 extern "C"
12523 #endif
12524 char inflate ();
12526 main ()
12528 return inflate ();
12530 return 0;
12532 _ACEOF
12533 if ac_fn_c_try_link "$LINENO"; then :
12534 ac_cv_lib_z_inflate=yes
12535 else
12536 ac_cv_lib_z_inflate=no
12538 rm -f core conftest.err conftest.$ac_objext \
12539 conftest$ac_exeext conftest.$ac_ext
12540 LIBS=$ac_check_lib_save_LIBS
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12543 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12544 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12546 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12548 Z_LIBS="-lz"
12553 if test "x$Z_LIBS" = "x"; then :
12554 case "x$with_zlib" in
12555 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12556 xno) ;;
12557 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12558 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12559 esac
12563 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12564 then
12565 if test "$ac_cv_header_gettext_po_h" = "yes"
12566 then
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12568 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12569 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12570 $as_echo_n "(cached) " >&6
12571 else
12572 ac_check_lib_save_LIBS=$LIBS
12573 LIBS="-lgettextpo $LIBS"
12574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12577 /* Override any GCC internal prototype to avoid an error.
12578 Use char because int might match the return type of a GCC
12579 builtin and then its argument prototype would still apply. */
12580 #ifdef __cplusplus
12581 extern "C"
12582 #endif
12583 char po_message_msgctxt ();
12585 main ()
12587 return po_message_msgctxt ();
12589 return 0;
12591 _ACEOF
12592 if ac_fn_c_try_link "$LINENO"; then :
12593 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12594 else
12595 ac_cv_lib_gettextpo_po_message_msgctxt=no
12597 rm -f core conftest.err conftest.$ac_objext \
12598 conftest$ac_exeext conftest.$ac_ext
12599 LIBS=$ac_check_lib_save_LIBS
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12602 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12603 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12605 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12607 GETTEXTPO_LIBS="-lgettextpo"
12612 if test "x$GETTEXTPO_LIBS" = "x"; then :
12613 case "x$with_gettextpo" in
12614 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12615 xno) ;;
12616 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12617 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12618 esac
12621 if test "$srcdir" != .; then :
12622 case "x$with_gettextpo" in
12623 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12624 xno) ;;
12625 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12626 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12627 esac
12632 if test "x$with_pulse" != "xno";
12633 then
12634 if ${PULSE_CFLAGS:+false} :; then :
12635 if ${PKG_CONFIG+:} false; then :
12636 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12640 if ${PULSE_LIBS:+false} :; then :
12641 if ${PKG_CONFIG+:} false; then :
12642 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12647 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12648 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12649 ac_save_CPPFLAGS=$CPPFLAGS
12650 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12651 for ac_header in pulse/pulseaudio.h
12652 do :
12653 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12654 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12655 cat >>confdefs.h <<_ACEOF
12656 #define HAVE_PULSE_PULSEAUDIO_H 1
12657 _ACEOF
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12659 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12660 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12661 $as_echo_n "(cached) " >&6
12662 else
12663 ac_check_lib_save_LIBS=$LIBS
12664 LIBS="-lpulse $PULSE_LIBS $LIBS"
12665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12666 /* end confdefs.h. */
12668 /* Override any GCC internal prototype to avoid an error.
12669 Use char because int might match the return type of a GCC
12670 builtin and then its argument prototype would still apply. */
12671 #ifdef __cplusplus
12672 extern "C"
12673 #endif
12674 char pa_stream_is_corked ();
12676 main ()
12678 return pa_stream_is_corked ();
12680 return 0;
12682 _ACEOF
12683 if ac_fn_c_try_link "$LINENO"; then :
12684 ac_cv_lib_pulse_pa_stream_is_corked=yes
12685 else
12686 ac_cv_lib_pulse_pa_stream_is_corked=no
12688 rm -f core conftest.err conftest.$ac_objext \
12689 conftest$ac_exeext conftest.$ac_ext
12690 LIBS=$ac_check_lib_save_LIBS
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12693 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12694 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12696 else
12697 PULSE_LIBS=""
12700 else
12701 PULSE_LIBS=""
12704 done
12706 CPPFLAGS=$ac_save_CPPFLAGS
12707 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12708 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12711 if test -z "$PULSE_LIBS"; then :
12712 case "x$with_pulse" in
12713 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12714 xno) ;;
12715 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12716 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12717 esac
12718 enable_winepulse_drv=${enable_winepulse_drv:-no}
12721 if test "x$with_gstreamer" != "xno"
12722 then
12723 if ${GSTREAMER_CFLAGS:+false} :; then :
12724 if ${PKG_CONFIG+:} false; then :
12725 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12729 if ${GSTREAMER_LIBS:+false} :; then :
12730 if ${PKG_CONFIG+:} false; then :
12731 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12736 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12737 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12738 ac_save_CPPFLAGS=$CPPFLAGS
12739 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12740 ac_gst_incl=""
12741 for i in $GSTREAMER_CFLAGS
12743 case "$i" in
12744 -I*) ac_gst_incl="$ac_gst_incl $i";;
12745 esac
12746 done
12747 GSTREAMER_CFLAGS=$ac_gst_incl
12748 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12749 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12750 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12752 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h. */
12755 #include <gst/gst.h>
12757 main ()
12759 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12761 return 0;
12763 _ACEOF
12764 if ac_fn_c_try_compile "$LINENO"; then :
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12766 $as_echo "yes" >&6; }
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12768 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12769 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12770 $as_echo_n "(cached) " >&6
12771 else
12772 ac_check_lib_save_LIBS=$LIBS
12773 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12775 /* end confdefs.h. */
12777 /* Override any GCC internal prototype to avoid an error.
12778 Use char because int might match the return type of a GCC
12779 builtin and then its argument prototype would still apply. */
12780 #ifdef __cplusplus
12781 extern "C"
12782 #endif
12783 char gst_pad_new ();
12785 main ()
12787 return gst_pad_new ();
12789 return 0;
12791 _ACEOF
12792 if ac_fn_c_try_link "$LINENO"; then :
12793 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12794 else
12795 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12797 rm -f core conftest.err conftest.$ac_objext \
12798 conftest$ac_exeext conftest.$ac_ext
12799 LIBS=$ac_check_lib_save_LIBS
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12802 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12803 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12807 else
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12809 $as_echo "no" >&6; }
12810 ac_glib2_broken=yes
12811 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12817 CPPFLAGS=$ac_save_CPPFLAGS
12818 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12819 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12822 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 :
12823 case "x$with_gstreamer" in
12824 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12825 xno) ;;
12826 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12827 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12828 esac
12831 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12833 ALSA_LIBS=""
12835 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12836 then
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12838 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12839 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12840 $as_echo_n "(cached) " >&6
12841 else
12842 ac_check_lib_save_LIBS=$LIBS
12843 LIBS="-lasound $LIBS"
12844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12845 /* end confdefs.h. */
12847 /* Override any GCC internal prototype to avoid an error.
12848 Use char because int might match the return type of a GCC
12849 builtin and then its argument prototype would still apply. */
12850 #ifdef __cplusplus
12851 extern "C"
12852 #endif
12853 char snd_pcm_hw_params_get_access_mask ();
12855 main ()
12857 return snd_pcm_hw_params_get_access_mask ();
12859 return 0;
12861 _ACEOF
12862 if ac_fn_c_try_link "$LINENO"; then :
12863 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12864 else
12865 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12867 rm -f core conftest.err conftest.$ac_objext \
12868 conftest$ac_exeext conftest.$ac_ext
12869 LIBS=$ac_check_lib_save_LIBS
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12872 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12873 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12875 /* end confdefs.h. */
12876 #ifdef HAVE_ALSA_ASOUNDLIB_H
12877 #include <alsa/asoundlib.h>
12878 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12879 #include <sys/asoundlib.h>
12880 #endif
12882 main ()
12884 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12886 return 0;
12888 _ACEOF
12889 if ac_fn_c_try_compile "$LINENO"; then :
12890 ALSA_LIBS="-lasound"
12892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12896 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12898 if test "x$with_oss" != xno
12899 then
12900 ac_save_CPPFLAGS="$CPPFLAGS"
12901 if test -f /etc/oss.conf
12902 then
12903 . /etc/oss.conf
12905 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12906 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12907 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12908 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12909 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12911 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12913 cat >>confdefs.h <<_ACEOF
12914 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12915 _ACEOF
12917 OSS4_CFLAGS="$ac_oss_incl"
12924 CPPFLAGS="$ac_save_CPPFLAGS"
12926 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12927 case "x$with_oss" in
12928 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12929 xno) ;;
12930 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12931 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12932 esac
12933 enable_wineoss_drv=${enable_wineoss_drv:-no}
12936 if test "x$with_udev" != "xno"
12937 then
12938 if ${UDEV_CFLAGS:+false} :; then :
12939 if ${PKG_CONFIG+:} false; then :
12940 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12944 if ${UDEV_LIBS:+false} :; then :
12945 if ${PKG_CONFIG+:} false; then :
12946 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12951 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12952 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12953 ac_save_CPPFLAGS=$CPPFLAGS
12954 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12955 for ac_header in libudev.h
12956 do :
12957 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12958 if test "x$ac_cv_header_libudev_h" = xyes; then :
12959 cat >>confdefs.h <<_ACEOF
12960 #define HAVE_LIBUDEV_H 1
12961 _ACEOF
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12963 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12964 if ${ac_cv_lib_udev_udev_new+:} false; then :
12965 $as_echo_n "(cached) " >&6
12966 else
12967 ac_check_lib_save_LIBS=$LIBS
12968 LIBS="-ludev $UDEV_LIBS $LIBS"
12969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12970 /* end confdefs.h. */
12972 /* Override any GCC internal prototype to avoid an error.
12973 Use char because int might match the return type of a GCC
12974 builtin and then its argument prototype would still apply. */
12975 #ifdef __cplusplus
12976 extern "C"
12977 #endif
12978 char udev_new ();
12980 main ()
12982 return udev_new ();
12984 return 0;
12986 _ACEOF
12987 if ac_fn_c_try_link "$LINENO"; then :
12988 ac_cv_lib_udev_udev_new=yes
12989 else
12990 ac_cv_lib_udev_udev_new=no
12992 rm -f core conftest.err conftest.$ac_objext \
12993 conftest$ac_exeext conftest.$ac_ext
12994 LIBS=$ac_check_lib_save_LIBS
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
12997 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
12998 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13000 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13002 else
13003 UDEV_LIBS=""
13006 else
13007 UDEV_LIBS=""
13010 done
13012 CPPFLAGS=$ac_save_CPPFLAGS
13013 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13014 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13017 if test "x$UDEV_LIBS" = "x"; then :
13018 case "x$with_udev" in
13019 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13020 xno) ;;
13021 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13022 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13023 esac
13027 if test "x$with_capi" != "xno"
13028 then
13029 if ${CAPI20_CFLAGS:+false} :; then :
13030 if ${PKG_CONFIG+:} false; then :
13031 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13035 if ${CAPI20_LIBS:+false} :; then :
13036 if ${PKG_CONFIG+:} false; then :
13037 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13042 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13043 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13044 ac_save_CPPFLAGS=$CPPFLAGS
13045 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13046 for ac_header in capi20.h linux/capi.h
13047 do :
13048 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13049 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13051 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13052 cat >>confdefs.h <<_ACEOF
13053 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13054 _ACEOF
13058 done
13060 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13061 then
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13063 $as_echo_n "checking for -lcapi20... " >&6; }
13064 if ${ac_cv_lib_soname_capi20+:} false; then :
13065 $as_echo_n "(cached) " >&6
13066 else
13067 ac_check_soname_save_LIBS=$LIBS
13068 LIBS="-lcapi20 $CAPI20_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 capi20_register ();
13080 main ()
13082 return capi20_register ();
13084 return 0;
13086 _ACEOF
13087 if ac_fn_c_try_link "$LINENO"; then :
13088 case "$LIBEXT" in
13089 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13090 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'` ;;
13091 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13092 if ${ac_cv_lib_soname_capi20:+false} :; then :
13093 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13094 fi ;;
13095 esac
13097 rm -f core conftest.err conftest.$ac_objext \
13098 conftest$ac_exeext conftest.$ac_ext
13099 LIBS=$ac_check_soname_save_LIBS
13101 if ${ac_cv_lib_soname_capi20:+false} :; then :
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13103 $as_echo "not found" >&6; }
13105 else
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13107 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13109 cat >>confdefs.h <<_ACEOF
13110 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13111 _ACEOF
13116 CPPFLAGS=$ac_save_CPPFLAGS
13117 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13118 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13121 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13122 case "x$with_capi" in
13123 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13124 xno) ;;
13125 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13126 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13127 esac
13131 CUPS_CFLAGS=""
13133 if test "x$with_cups" != "xno"
13134 then
13135 ac_save_CPPFLAGS="$CPPFLAGS"
13136 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13137 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13138 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13139 for ac_header in cups/cups.h
13140 do :
13141 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13142 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13143 cat >>confdefs.h <<_ACEOF
13144 #define HAVE_CUPS_CUPS_H 1
13145 _ACEOF
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13147 $as_echo_n "checking for -lcups... " >&6; }
13148 if ${ac_cv_lib_soname_cups+:} false; then :
13149 $as_echo_n "(cached) " >&6
13150 else
13151 ac_check_soname_save_LIBS=$LIBS
13152 LIBS="-lcups $ac_cups_libs $LIBS"
13153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13154 /* end confdefs.h. */
13156 /* Override any GCC internal prototype to avoid an error.
13157 Use char because int might match the return type of a GCC
13158 builtin and then its argument prototype would still apply. */
13159 #ifdef __cplusplus
13160 extern "C"
13161 #endif
13162 char cupsGetDefault ();
13164 main ()
13166 return cupsGetDefault ();
13168 return 0;
13170 _ACEOF
13171 if ac_fn_c_try_link "$LINENO"; then :
13172 case "$LIBEXT" in
13173 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13174 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'` ;;
13175 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13176 if ${ac_cv_lib_soname_cups:+false} :; then :
13177 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13178 fi ;;
13179 esac
13181 rm -f core conftest.err conftest.$ac_objext \
13182 conftest$ac_exeext conftest.$ac_ext
13183 LIBS=$ac_check_soname_save_LIBS
13185 if ${ac_cv_lib_soname_cups:+false} :; then :
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13187 $as_echo "not found" >&6; }
13189 else
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13191 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13193 cat >>confdefs.h <<_ACEOF
13194 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13195 _ACEOF
13197 CUPS_CFLAGS="$ac_cups_cflags"
13199 for ac_header in cups/ppd.h
13200 do :
13201 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13202 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13203 cat >>confdefs.h <<_ACEOF
13204 #define HAVE_CUPS_PPD_H 1
13205 _ACEOF
13209 done
13213 done
13215 CPPFLAGS="$ac_save_CPPFLAGS"
13217 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13218 case "x$with_cups" in
13219 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13220 xno) ;;
13221 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13222 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13223 esac
13227 if test "x$with_fontconfig" != "xno"
13228 then
13229 if ${FONTCONFIG_CFLAGS:+false} :; then :
13230 if ${PKG_CONFIG+:} false; then :
13231 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13234 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13235 if ${FONTCONFIG_LIBS:+false} :; then :
13236 if ${PKG_CONFIG+:} false; then :
13237 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13240 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13242 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13243 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13244 ac_save_CPPFLAGS=$CPPFLAGS
13245 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13246 for ac_header in fontconfig/fontconfig.h
13247 do :
13248 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13249 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13250 cat >>confdefs.h <<_ACEOF
13251 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13252 _ACEOF
13256 done
13258 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13259 then
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13261 $as_echo_n "checking for -lfontconfig... " >&6; }
13262 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13263 $as_echo_n "(cached) " >&6
13264 else
13265 ac_check_soname_save_LIBS=$LIBS
13266 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13268 /* end confdefs.h. */
13270 /* Override any GCC internal prototype to avoid an error.
13271 Use char because int might match the return type of a GCC
13272 builtin and then its argument prototype would still apply. */
13273 #ifdef __cplusplus
13274 extern "C"
13275 #endif
13276 char FcInit ();
13278 main ()
13280 return FcInit ();
13282 return 0;
13284 _ACEOF
13285 if ac_fn_c_try_link "$LINENO"; then :
13286 case "$LIBEXT" in
13287 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13288 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'` ;;
13289 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13290 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13291 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13292 fi ;;
13293 esac
13295 rm -f core conftest.err conftest.$ac_objext \
13296 conftest$ac_exeext conftest.$ac_ext
13297 LIBS=$ac_check_soname_save_LIBS
13299 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13301 $as_echo "not found" >&6; }
13302 FONTCONFIG_CFLAGS=""
13303 else
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13305 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13307 cat >>confdefs.h <<_ACEOF
13308 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13309 _ACEOF
13313 else
13314 FONTCONFIG_CFLAGS=""
13316 CPPFLAGS=$ac_save_CPPFLAGS
13317 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13318 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13321 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13322 case "x$with_fontconfig" in
13323 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13324 xno) ;;
13325 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13326 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13327 esac
13331 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13332 then
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13334 $as_echo_n "checking for -lgsm... " >&6; }
13335 if ${ac_cv_lib_soname_gsm+:} false; then :
13336 $as_echo_n "(cached) " >&6
13337 else
13338 ac_check_soname_save_LIBS=$LIBS
13339 LIBS="-lgsm $LIBS"
13340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13341 /* end confdefs.h. */
13343 /* Override any GCC internal prototype to avoid an error.
13344 Use char because int might match the return type of a GCC
13345 builtin and then its argument prototype would still apply. */
13346 #ifdef __cplusplus
13347 extern "C"
13348 #endif
13349 char gsm_create ();
13351 main ()
13353 return gsm_create ();
13355 return 0;
13357 _ACEOF
13358 if ac_fn_c_try_link "$LINENO"; then :
13359 case "$LIBEXT" in
13360 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13361 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'` ;;
13362 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13363 if ${ac_cv_lib_soname_gsm:+false} :; then :
13364 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13365 fi ;;
13366 esac
13368 rm -f core conftest.err conftest.$ac_objext \
13369 conftest$ac_exeext conftest.$ac_ext
13370 LIBS=$ac_check_soname_save_LIBS
13372 if ${ac_cv_lib_soname_gsm:+false} :; then :
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13374 $as_echo "not found" >&6; }
13376 else
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13378 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13380 cat >>confdefs.h <<_ACEOF
13381 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13382 _ACEOF
13387 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13388 case "x$with_gsm" in
13389 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13390 xno) ;;
13391 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13392 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13393 esac
13397 if test "x$with_jpeg" != "xno"
13398 then
13399 if ${JPEG_CFLAGS:+false} :; then :
13400 if ${PKG_CONFIG+:} false; then :
13401 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13405 if ${JPEG_LIBS:+false} :; then :
13406 if ${PKG_CONFIG+:} false; then :
13407 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13412 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13413 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13414 ac_save_CPPFLAGS=$CPPFLAGS
13415 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13416 for ac_header in jpeglib.h
13417 do :
13418 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13419 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13420 cat >>confdefs.h <<_ACEOF
13421 #define HAVE_JPEGLIB_H 1
13422 _ACEOF
13426 done
13428 if test "$ac_cv_header_jpeglib_h" = "yes"
13429 then
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13431 $as_echo_n "checking for -ljpeg... " >&6; }
13432 if ${ac_cv_lib_soname_jpeg+:} false; then :
13433 $as_echo_n "(cached) " >&6
13434 else
13435 ac_check_soname_save_LIBS=$LIBS
13436 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13438 /* end confdefs.h. */
13440 /* Override any GCC internal prototype to avoid an error.
13441 Use char because int might match the return type of a GCC
13442 builtin and then its argument prototype would still apply. */
13443 #ifdef __cplusplus
13444 extern "C"
13445 #endif
13446 char jpeg_start_decompress ();
13448 main ()
13450 return jpeg_start_decompress ();
13452 return 0;
13454 _ACEOF
13455 if ac_fn_c_try_link "$LINENO"; then :
13456 case "$LIBEXT" in
13457 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13458 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'` ;;
13459 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13460 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13461 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13462 fi ;;
13463 esac
13465 rm -f core conftest.err conftest.$ac_objext \
13466 conftest$ac_exeext conftest.$ac_ext
13467 LIBS=$ac_check_soname_save_LIBS
13469 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13471 $as_echo "not found" >&6; }
13472 JPEG_CFLAGS=""
13473 else
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13475 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13477 cat >>confdefs.h <<_ACEOF
13478 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13479 _ACEOF
13483 else
13484 JPEG_CFLAGS=""
13486 CPPFLAGS=$ac_save_CPPFLAGS
13487 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13488 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13491 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13492 case "x$with_jpeg" in
13493 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13494 xno) ;;
13495 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13496 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13497 esac
13501 if test "x$with_png" != "xno"
13502 then
13503 if ${PNG_CFLAGS:+false} :; then :
13504 if ${PKG_CONFIG+:} false; then :
13505 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13508 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13509 if ${PNG_LIBS:+false} :; then :
13510 if ${PKG_CONFIG+:} false; then :
13511 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13514 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13516 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13517 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13518 ac_save_CPPFLAGS=$CPPFLAGS
13519 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13520 for ac_header in png.h
13521 do :
13522 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13523 if test "x$ac_cv_header_png_h" = xyes; then :
13524 cat >>confdefs.h <<_ACEOF
13525 #define HAVE_PNG_H 1
13526 _ACEOF
13530 done
13532 if test "$ac_cv_header_png_h" = "yes"
13533 then
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13535 $as_echo_n "checking for -lpng... " >&6; }
13536 if ${ac_cv_lib_soname_png+:} false; then :
13537 $as_echo_n "(cached) " >&6
13538 else
13539 ac_check_soname_save_LIBS=$LIBS
13540 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13542 /* end confdefs.h. */
13544 /* Override any GCC internal prototype to avoid an error.
13545 Use char because int might match the return type of a GCC
13546 builtin and then its argument prototype would still apply. */
13547 #ifdef __cplusplus
13548 extern "C"
13549 #endif
13550 char png_create_read_struct ();
13552 main ()
13554 return png_create_read_struct ();
13556 return 0;
13558 _ACEOF
13559 if ac_fn_c_try_link "$LINENO"; then :
13560 case "$LIBEXT" in
13561 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13562 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'` ;;
13563 *) 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'`
13564 if ${ac_cv_lib_soname_png:+false} :; then :
13565 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13566 fi ;;
13567 esac
13569 rm -f core conftest.err conftest.$ac_objext \
13570 conftest$ac_exeext conftest.$ac_ext
13571 LIBS=$ac_check_soname_save_LIBS
13573 if ${ac_cv_lib_soname_png:+false} :; then :
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13575 $as_echo "not found" >&6; }
13576 PNG_CFLAGS=""
13577 else
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13579 $as_echo "$ac_cv_lib_soname_png" >&6; }
13581 cat >>confdefs.h <<_ACEOF
13582 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13583 _ACEOF
13585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13586 /* end confdefs.h. */
13587 #include <png.h>
13589 main ()
13591 typeof(png_set_expand_gray_1_2_4_to_8) *p
13593 return 0;
13595 _ACEOF
13596 if ac_fn_c_try_compile "$LINENO"; then :
13598 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13603 else
13604 PNG_CFLAGS=""
13606 CPPFLAGS=$ac_save_CPPFLAGS
13607 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13608 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13611 if test "x$ac_cv_lib_soname_png" = "x"; then :
13612 case "x$with_png" in
13613 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13614 xno) ;;
13615 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13616 This is an error since --with-png was requested." "$LINENO" 5 ;;
13617 esac
13621 if test "x$with_tiff" != "xno"
13622 then
13623 if ${TIFF_CFLAGS:+false} :; then :
13624 if ${PKG_CONFIG+:} false; then :
13625 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13629 if ${TIFF_LIBS:+false} :; then :
13630 if ${PKG_CONFIG+:} false; then :
13631 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13636 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13637 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13638 ac_save_CPPFLAGS=$CPPFLAGS
13639 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13640 for ac_header in tiffio.h
13641 do :
13642 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13643 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13644 cat >>confdefs.h <<_ACEOF
13645 #define HAVE_TIFFIO_H 1
13646 _ACEOF
13650 done
13652 if test "$ac_cv_header_tiffio_h" = "yes"
13653 then
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13655 $as_echo_n "checking for -ltiff... " >&6; }
13656 if ${ac_cv_lib_soname_tiff+:} false; then :
13657 $as_echo_n "(cached) " >&6
13658 else
13659 ac_check_soname_save_LIBS=$LIBS
13660 LIBS="-ltiff $TIFF_LIBS $LIBS"
13661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13662 /* end confdefs.h. */
13664 /* Override any GCC internal prototype to avoid an error.
13665 Use char because int might match the return type of a GCC
13666 builtin and then its argument prototype would still apply. */
13667 #ifdef __cplusplus
13668 extern "C"
13669 #endif
13670 char TIFFClientOpen ();
13672 main ()
13674 return TIFFClientOpen ();
13676 return 0;
13678 _ACEOF
13679 if ac_fn_c_try_link "$LINENO"; then :
13680 case "$LIBEXT" in
13681 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13682 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'` ;;
13683 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13684 if ${ac_cv_lib_soname_tiff:+false} :; then :
13685 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13686 fi ;;
13687 esac
13689 rm -f core conftest.err conftest.$ac_objext \
13690 conftest$ac_exeext conftest.$ac_ext
13691 LIBS=$ac_check_soname_save_LIBS
13693 if ${ac_cv_lib_soname_tiff:+false} :; then :
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13695 $as_echo "not found" >&6; }
13697 else
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13699 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13701 cat >>confdefs.h <<_ACEOF
13702 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13703 _ACEOF
13708 CPPFLAGS=$ac_save_CPPFLAGS
13709 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13710 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13713 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13714 case "x$with_tiff" in
13715 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13716 xno) ;;
13717 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13718 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13719 esac
13723 if test "x$with_mpg123" != "xno"
13724 then
13725 if ${MPG123_CFLAGS:+false} :; then :
13726 if ${PKG_CONFIG+:} false; then :
13727 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13731 if ${MPG123_LIBS:+false} :; then :
13732 if ${PKG_CONFIG+:} false; then :
13733 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13737 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13738 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13739 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13740 ac_save_CPPFLAGS=$CPPFLAGS
13741 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13742 for ac_header in mpg123.h
13743 do :
13744 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13745 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13746 cat >>confdefs.h <<_ACEOF
13747 #define HAVE_MPG123_H 1
13748 _ACEOF
13752 done
13754 if test "$ac_cv_header_mpg123_h" = "yes"
13755 then
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13757 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13758 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13759 $as_echo_n "(cached) " >&6
13760 else
13761 ac_check_lib_save_LIBS=$LIBS
13762 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13764 /* end confdefs.h. */
13766 /* Override any GCC internal prototype to avoid an error.
13767 Use char because int might match the return type of a GCC
13768 builtin and then its argument prototype would still apply. */
13769 #ifdef __cplusplus
13770 extern "C"
13771 #endif
13772 char mpg123_feed ();
13774 main ()
13776 return mpg123_feed ();
13778 return 0;
13780 _ACEOF
13781 if ac_fn_c_try_link "$LINENO"; then :
13782 ac_cv_lib_mpg123_mpg123_feed=yes
13783 else
13784 ac_cv_lib_mpg123_mpg123_feed=no
13786 rm -f core conftest.err conftest.$ac_objext \
13787 conftest$ac_exeext conftest.$ac_ext
13788 LIBS=$ac_check_lib_save_LIBS
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13791 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13792 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13794 else
13795 MPG123_LIBS=""
13798 else
13799 MPG123_CFLAGS=""
13800 MPG123_LIBS=""
13802 CPPFLAGS=$ac_save_CPPFLAGS
13803 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13804 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13807 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13808 case "x$with_mpg123" in
13809 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13810 xno) ;;
13811 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13812 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13813 esac
13814 enable_winemp3_acm=${enable_winemp3_acm:-no}
13817 if test "$ac_cv_header_AL_al_h" = "yes"
13818 then
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13820 $as_echo_n "checking for -lopenal... " >&6; }
13821 if ${ac_cv_lib_soname_openal+:} false; then :
13822 $as_echo_n "(cached) " >&6
13823 else
13824 ac_check_soname_save_LIBS=$LIBS
13825 LIBS="-lopenal $LIBS"
13826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h. */
13829 /* Override any GCC internal prototype to avoid an error.
13830 Use char because int might match the return type of a GCC
13831 builtin and then its argument prototype would still apply. */
13832 #ifdef __cplusplus
13833 extern "C"
13834 #endif
13835 char alGetSource3i ();
13837 main ()
13839 return alGetSource3i ();
13841 return 0;
13843 _ACEOF
13844 if ac_fn_c_try_link "$LINENO"; then :
13845 case "$LIBEXT" in
13846 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13847 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'` ;;
13848 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13849 if ${ac_cv_lib_soname_openal:+false} :; then :
13850 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13851 fi ;;
13852 esac
13854 rm -f core conftest.err conftest.$ac_objext \
13855 conftest$ac_exeext conftest.$ac_ext
13856 LIBS=$ac_check_soname_save_LIBS
13858 if ${ac_cv_lib_soname_openal:+false} :; then :
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13860 $as_echo "not found" >&6; }
13862 else
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13864 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13866 cat >>confdefs.h <<_ACEOF
13867 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13868 _ACEOF
13870 OPENAL_LIBS="-lopenal"
13872 ac_cv_lib_openal=yes
13874 cat >>confdefs.h <<_ACEOF
13875 #define HAVE_OPENAL 1
13876 _ACEOF
13880 if test "x$ac_cv_lib_openal" != xyes; then :
13881 case "x$with_openal" in
13882 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13883 xno) ;;
13884 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13885 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13886 esac
13887 enable_openal32=${enable_openal32:-no}
13890 if test "x$ac_cv_lib_openal" = xyes
13891 then
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13893 $as_echo_n "checking for openal-soft... " >&6; }
13894 if ${ac_cv_have_openalsoft+:} false; then :
13895 $as_echo_n "(cached) " >&6
13896 else
13897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13899 #include <AL/al.h>
13900 #include <AL/alc.h>
13901 #include <AL/alext.h>
13902 LPALCRENDERSAMPLESSOFT x;
13904 main ()
13908 return 0;
13910 _ACEOF
13911 if ac_fn_c_try_compile "$LINENO"; then :
13912 ac_cv_have_openalsoft=yes
13913 else
13914 ac_cv_have_openalsoft=no
13916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13919 $as_echo "$ac_cv_have_openalsoft" >&6; }
13921 if test "x$ac_cv_have_openalsoft" != xyes
13922 then
13923 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13924 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13925 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13926 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13927 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13928 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13929 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13930 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13931 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13932 enable_xapofx1_1=${enable_xapofx1_1:-no}
13933 enable_xapofx1_2=${enable_xapofx1_2:-no}
13934 enable_xapofx1_3=${enable_xapofx1_3:-no}
13935 enable_xapofx1_4=${enable_xapofx1_4:-no}
13936 enable_xapofx1_5=${enable_xapofx1_5:-no}
13937 enable_xaudio2_0=${enable_xaudio2_0:-no}
13938 enable_xaudio2_1=${enable_xaudio2_1:-no}
13939 enable_xaudio2_2=${enable_xaudio2_2:-no}
13940 enable_xaudio2_3=${enable_xaudio2_3:-no}
13941 enable_xaudio2_4=${enable_xaudio2_4:-no}
13942 enable_xaudio2_5=${enable_xaudio2_5:-no}
13943 enable_xaudio2_6=${enable_xaudio2_6:-no}
13944 enable_xaudio2_7=${enable_xaudio2_7:-no}
13945 enable_xaudio2_8=${enable_xaudio2_8:-no}
13946 enable_xaudio2_9=${enable_xaudio2_9:-no}
13949 if test "$ac_cv_header_kstat_h" = "yes"
13950 then
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13952 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13953 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13954 $as_echo_n "(cached) " >&6
13955 else
13956 ac_check_lib_save_LIBS=$LIBS
13957 LIBS="-lkstat $LIBS"
13958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13959 /* end confdefs.h. */
13961 /* Override any GCC internal prototype to avoid an error.
13962 Use char because int might match the return type of a GCC
13963 builtin and then its argument prototype would still apply. */
13964 #ifdef __cplusplus
13965 extern "C"
13966 #endif
13967 char kstat_open ();
13969 main ()
13971 return kstat_open ();
13973 return 0;
13975 _ACEOF
13976 if ac_fn_c_try_link "$LINENO"; then :
13977 ac_cv_lib_kstat_kstat_open=yes
13978 else
13979 ac_cv_lib_kstat_kstat_open=no
13981 rm -f core conftest.err conftest.$ac_objext \
13982 conftest$ac_exeext conftest.$ac_ext
13983 LIBS=$ac_check_lib_save_LIBS
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13986 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13987 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13989 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13991 KSTAT_LIBS="-lkstat"
13997 if test "$ac_cv_header_libprocstat_h" = "yes"
13998 then
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14000 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14001 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14002 $as_echo_n "(cached) " >&6
14003 else
14004 ac_check_lib_save_LIBS=$LIBS
14005 LIBS="-lprocstat $LIBS"
14006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14009 /* Override any GCC internal prototype to avoid an error.
14010 Use char because int might match the return type of a GCC
14011 builtin and then its argument prototype would still apply. */
14012 #ifdef __cplusplus
14013 extern "C"
14014 #endif
14015 char procstat_open_sysctl ();
14017 main ()
14019 return procstat_open_sysctl ();
14021 return 0;
14023 _ACEOF
14024 if ac_fn_c_try_link "$LINENO"; then :
14025 ac_cv_lib_procstat_procstat_open_sysctl=yes
14026 else
14027 ac_cv_lib_procstat_procstat_open_sysctl=no
14029 rm -f core conftest.err conftest.$ac_objext \
14030 conftest$ac_exeext conftest.$ac_ext
14031 LIBS=$ac_check_lib_save_LIBS
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14034 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14035 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14037 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14039 PROCSTAT_LIBS="-lprocstat"
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14046 $as_echo_n "checking for -lodbc... " >&6; }
14047 if ${ac_cv_lib_soname_odbc+:} false; then :
14048 $as_echo_n "(cached) " >&6
14049 else
14050 ac_check_soname_save_LIBS=$LIBS
14051 LIBS="-lodbc $LIBS"
14052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14053 /* end confdefs.h. */
14055 /* Override any GCC internal prototype to avoid an error.
14056 Use char because int might match the return type of a GCC
14057 builtin and then its argument prototype would still apply. */
14058 #ifdef __cplusplus
14059 extern "C"
14060 #endif
14061 char SQLConnect ();
14063 main ()
14065 return SQLConnect ();
14067 return 0;
14069 _ACEOF
14070 if ac_fn_c_try_link "$LINENO"; then :
14071 case "$LIBEXT" in
14072 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14073 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'` ;;
14074 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14075 if ${ac_cv_lib_soname_odbc:+false} :; then :
14076 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14077 fi ;;
14078 esac
14080 rm -f core conftest.err conftest.$ac_objext \
14081 conftest$ac_exeext conftest.$ac_ext
14082 LIBS=$ac_check_soname_save_LIBS
14084 if ${ac_cv_lib_soname_odbc:+false} :; then :
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14086 $as_echo "not found" >&6; }
14087 cat >>confdefs.h <<_ACEOF
14088 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14089 _ACEOF
14091 else
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14093 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14095 cat >>confdefs.h <<_ACEOF
14096 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14097 _ACEOF
14102 if test "x$with_netapi" != "xno"
14103 then
14104 if ${NETAPI_CFLAGS:+false} :; then :
14105 if ${PKG_CONFIG+:} false; then :
14106 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14110 if ${NETAPI_LIBS:+false} :; then :
14111 if ${PKG_CONFIG+:} false; then :
14112 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14117 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14118 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14119 ac_save_CPPFLAGS=$CPPFLAGS
14120 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14122 $as_echo_n "checking for -lnetapi... " >&6; }
14123 if ${ac_cv_lib_soname_netapi+:} false; then :
14124 $as_echo_n "(cached) " >&6
14125 else
14126 ac_check_soname_save_LIBS=$LIBS
14127 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14129 /* end confdefs.h. */
14131 /* Override any GCC internal prototype to avoid an error.
14132 Use char because int might match the return type of a GCC
14133 builtin and then its argument prototype would still apply. */
14134 #ifdef __cplusplus
14135 extern "C"
14136 #endif
14137 char libnetapi_init ();
14139 main ()
14141 return libnetapi_init ();
14143 return 0;
14145 _ACEOF
14146 if ac_fn_c_try_link "$LINENO"; then :
14147 case "$LIBEXT" in
14148 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14149 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'` ;;
14150 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14151 if ${ac_cv_lib_soname_netapi:+false} :; then :
14152 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14153 fi ;;
14154 esac
14156 rm -f core conftest.err conftest.$ac_objext \
14157 conftest$ac_exeext conftest.$ac_ext
14158 LIBS=$ac_check_soname_save_LIBS
14160 if ${ac_cv_lib_soname_netapi:+false} :; then :
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14162 $as_echo "not found" >&6; }
14163 cat >>confdefs.h <<_ACEOF
14164 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14165 _ACEOF
14167 else
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14169 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14171 cat >>confdefs.h <<_ACEOF
14172 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14173 _ACEOF
14177 CPPFLAGS=$ac_save_CPPFLAGS
14178 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14179 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14183 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14184 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14185 then
14186 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14190 EXTRACFLAGS=""
14192 if test "x${GCC}" = "xyes"
14193 then
14194 EXTRACFLAGS="-Wall -pipe"
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14197 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14198 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14199 $as_echo_n "(cached) " >&6
14200 else
14201 if test "$cross_compiling" = yes; then :
14202 ac_cv_c_gcc_strength_bug="no"
14203 else
14204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14205 /* end confdefs.h. */
14206 int L[4] = {0,1,2,3};
14208 main ()
14210 static int Array[3];
14211 unsigned int B = 3;
14212 int i;
14213 for(i=0; i<B; i++) Array[i] = i - 3;
14214 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14215 L[i] = 4;
14216 return (Array[1] != -2 || L[2] != 3)
14218 return 0;
14220 _ACEOF
14221 if ac_fn_c_try_run "$LINENO"; then :
14222 ac_cv_c_gcc_strength_bug="no"
14223 else
14224 ac_cv_c_gcc_strength_bug="yes"
14226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14227 conftest.$ac_objext conftest.beam conftest.$ac_ext
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14232 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14233 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14234 then
14235 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14239 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14240 if ${ac_cv_cflags__fno_builtin+:} false; then :
14241 $as_echo_n "(cached) " >&6
14242 else
14243 ac_wine_try_cflags_saved=$CFLAGS
14244 CFLAGS="$CFLAGS -fno-builtin"
14245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14246 /* end confdefs.h. */
14247 int main(int argc, char **argv) { return 0; }
14248 _ACEOF
14249 if ac_fn_c_try_link "$LINENO"; then :
14250 ac_cv_cflags__fno_builtin=yes
14251 else
14252 ac_cv_cflags__fno_builtin=no
14254 rm -f core conftest.err conftest.$ac_objext \
14255 conftest$ac_exeext conftest.$ac_ext
14256 CFLAGS=$ac_wine_try_cflags_saved
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14259 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14260 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14261 BUILTINFLAG="-fno-builtin"
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14265 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14266 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14267 $as_echo_n "(cached) " >&6
14268 else
14269 ac_wine_try_cflags_saved=$CFLAGS
14270 CFLAGS="$CFLAGS -fno-strict-aliasing"
14271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14272 /* end confdefs.h. */
14273 int main(int argc, char **argv) { return 0; }
14274 _ACEOF
14275 if ac_fn_c_try_link "$LINENO"; then :
14276 ac_cv_cflags__fno_strict_aliasing=yes
14277 else
14278 ac_cv_cflags__fno_strict_aliasing=no
14280 rm -f core conftest.err conftest.$ac_objext \
14281 conftest$ac_exeext conftest.$ac_ext
14282 CFLAGS=$ac_wine_try_cflags_saved
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14285 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14286 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14287 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14290 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14291 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14292 $as_echo_n "(cached) " >&6
14293 else
14294 ac_wine_try_cflags_saved=$CFLAGS
14295 CFLAGS="$CFLAGS -fexcess-precision=standard"
14296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14297 /* end confdefs.h. */
14298 int main(int argc, char **argv) { return 0; }
14299 _ACEOF
14300 if ac_fn_c_try_link "$LINENO"; then :
14301 ac_cv_cflags__fexcess_precision_standard=yes
14302 else
14303 ac_cv_cflags__fexcess_precision_standard=no
14305 rm -f core conftest.err conftest.$ac_objext \
14306 conftest$ac_exeext conftest.$ac_ext
14307 CFLAGS=$ac_wine_try_cflags_saved
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14310 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14311 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14312 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14315 saved_CFLAGS=$CFLAGS
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14317 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14318 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14319 $as_echo_n "(cached) " >&6
14320 else
14321 ac_wine_try_cflags_saved=$CFLAGS
14322 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14324 /* end confdefs.h. */
14325 int main(int argc, char **argv) { return 0; }
14326 _ACEOF
14327 if ac_fn_c_try_link "$LINENO"; then :
14328 ac_cv_cflags__Werror_unknown_warning_option=yes
14329 else
14330 ac_cv_cflags__Werror_unknown_warning_option=no
14332 rm -f core conftest.err conftest.$ac_objext \
14333 conftest$ac_exeext conftest.$ac_ext
14334 CFLAGS=$ac_wine_try_cflags_saved
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14337 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14338 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14339 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14342 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14343 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14344 $as_echo_n "(cached) " >&6
14345 else
14346 ac_wine_try_cflags_saved=$CFLAGS
14347 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14349 /* end confdefs.h. */
14350 int main(int argc, char **argv) { return 0; }
14351 _ACEOF
14352 if ac_fn_c_try_link "$LINENO"; then :
14353 ac_cv_cflags__Wdeclaration_after_statement=yes
14354 else
14355 ac_cv_cflags__Wdeclaration_after_statement=no
14357 rm -f core conftest.err conftest.$ac_objext \
14358 conftest$ac_exeext conftest.$ac_ext
14359 CFLAGS=$ac_wine_try_cflags_saved
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14362 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14363 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14364 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14367 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14368 if ${ac_cv_cflags__Wempty_body+:} false; then :
14369 $as_echo_n "(cached) " >&6
14370 else
14371 ac_wine_try_cflags_saved=$CFLAGS
14372 CFLAGS="$CFLAGS -Wempty-body"
14373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h. */
14375 int main(int argc, char **argv) { return 0; }
14376 _ACEOF
14377 if ac_fn_c_try_link "$LINENO"; then :
14378 ac_cv_cflags__Wempty_body=yes
14379 else
14380 ac_cv_cflags__Wempty_body=no
14382 rm -f core conftest.err conftest.$ac_objext \
14383 conftest$ac_exeext conftest.$ac_ext
14384 CFLAGS=$ac_wine_try_cflags_saved
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14387 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14388 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14389 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14392 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14393 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14394 $as_echo_n "(cached) " >&6
14395 else
14396 ac_wine_try_cflags_saved=$CFLAGS
14397 CFLAGS="$CFLAGS -Wignored-qualifiers"
14398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14399 /* end confdefs.h. */
14400 int main(int argc, char **argv) { return 0; }
14401 _ACEOF
14402 if ac_fn_c_try_link "$LINENO"; then :
14403 ac_cv_cflags__Wignored_qualifiers=yes
14404 else
14405 ac_cv_cflags__Wignored_qualifiers=no
14407 rm -f core conftest.err conftest.$ac_objext \
14408 conftest$ac_exeext conftest.$ac_ext
14409 CFLAGS=$ac_wine_try_cflags_saved
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14412 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14413 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14414 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14417 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14418 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14419 $as_echo_n "(cached) " >&6
14420 else
14421 ac_wine_try_cflags_saved=$CFLAGS
14422 CFLAGS="$CFLAGS -Wshift-overflow=2"
14423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14424 /* end confdefs.h. */
14425 int main(int argc, char **argv) { return 0; }
14426 _ACEOF
14427 if ac_fn_c_try_link "$LINENO"; then :
14428 ac_cv_cflags__Wshift_overflow_2=yes
14429 else
14430 ac_cv_cflags__Wshift_overflow_2=no
14432 rm -f core conftest.err conftest.$ac_objext \
14433 conftest$ac_exeext conftest.$ac_ext
14434 CFLAGS=$ac_wine_try_cflags_saved
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14437 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14438 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14439 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14442 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14443 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14444 $as_echo_n "(cached) " >&6
14445 else
14446 ac_wine_try_cflags_saved=$CFLAGS
14447 CFLAGS="$CFLAGS -Wstrict-prototypes"
14448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h. */
14450 int main(int argc, char **argv) { return 0; }
14451 _ACEOF
14452 if ac_fn_c_try_link "$LINENO"; then :
14453 ac_cv_cflags__Wstrict_prototypes=yes
14454 else
14455 ac_cv_cflags__Wstrict_prototypes=no
14457 rm -f core conftest.err conftest.$ac_objext \
14458 conftest$ac_exeext conftest.$ac_ext
14459 CFLAGS=$ac_wine_try_cflags_saved
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14462 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14463 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14464 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14467 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14468 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14469 $as_echo_n "(cached) " >&6
14470 else
14471 ac_wine_try_cflags_saved=$CFLAGS
14472 CFLAGS="$CFLAGS -Wtype-limits"
14473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14474 /* end confdefs.h. */
14475 int main(int argc, char **argv) { return 0; }
14476 _ACEOF
14477 if ac_fn_c_try_link "$LINENO"; then :
14478 ac_cv_cflags__Wtype_limits=yes
14479 else
14480 ac_cv_cflags__Wtype_limits=no
14482 rm -f core conftest.err conftest.$ac_objext \
14483 conftest$ac_exeext conftest.$ac_ext
14484 CFLAGS=$ac_wine_try_cflags_saved
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14487 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14488 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14489 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14492 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14493 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14494 $as_echo_n "(cached) " >&6
14495 else
14496 ac_wine_try_cflags_saved=$CFLAGS
14497 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h. */
14500 int main(int argc, char **argv) { return 0; }
14501 _ACEOF
14502 if ac_fn_c_try_link "$LINENO"; then :
14503 ac_cv_cflags__Wunused_but_set_parameter=yes
14504 else
14505 ac_cv_cflags__Wunused_but_set_parameter=no
14507 rm -f core conftest.err conftest.$ac_objext \
14508 conftest$ac_exeext conftest.$ac_ext
14509 CFLAGS=$ac_wine_try_cflags_saved
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14512 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14513 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14514 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14517 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14518 if ${ac_cv_cflags__Wvla+:} false; then :
14519 $as_echo_n "(cached) " >&6
14520 else
14521 ac_wine_try_cflags_saved=$CFLAGS
14522 CFLAGS="$CFLAGS -Wvla"
14523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14524 /* end confdefs.h. */
14525 int main(int argc, char **argv) { return 0; }
14526 _ACEOF
14527 if ac_fn_c_try_link "$LINENO"; then :
14528 ac_cv_cflags__Wvla=yes
14529 else
14530 ac_cv_cflags__Wvla=no
14532 rm -f core conftest.err conftest.$ac_objext \
14533 conftest$ac_exeext conftest.$ac_ext
14534 CFLAGS=$ac_wine_try_cflags_saved
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14537 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14538 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14539 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14542 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14543 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14544 $as_echo_n "(cached) " >&6
14545 else
14546 ac_wine_try_cflags_saved=$CFLAGS
14547 CFLAGS="$CFLAGS -Wwrite-strings"
14548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 int main(int argc, char **argv) { return 0; }
14551 _ACEOF
14552 if ac_fn_c_try_link "$LINENO"; then :
14553 ac_cv_cflags__Wwrite_strings=yes
14554 else
14555 ac_cv_cflags__Wwrite_strings=no
14557 rm -f core conftest.err conftest.$ac_objext \
14558 conftest$ac_exeext conftest.$ac_ext
14559 CFLAGS=$ac_wine_try_cflags_saved
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14562 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14563 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14564 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14568 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14569 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14570 $as_echo_n "(cached) " >&6
14571 else
14572 ac_wine_try_cflags_saved=$CFLAGS
14573 CFLAGS="$CFLAGS -Wpointer-arith"
14574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h. */
14576 int main(int argc, char **argv) { return 0; }
14577 _ACEOF
14578 if ac_fn_c_try_link "$LINENO"; then :
14579 ac_cv_cflags__Wpointer_arith=yes
14580 else
14581 ac_cv_cflags__Wpointer_arith=no
14583 rm -f core conftest.err conftest.$ac_objext \
14584 conftest$ac_exeext conftest.$ac_ext
14585 CFLAGS=$ac_wine_try_cflags_saved
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14588 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14589 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14590 saved_string_h_CFLAGS=$CFLAGS
14591 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14593 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14594 if ${ac_cv_c_string_h_warnings+:} false; then :
14595 $as_echo_n "(cached) " >&6
14596 else
14597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14598 /* end confdefs.h. */
14599 #include <string.h>
14601 main ()
14605 return 0;
14607 _ACEOF
14608 if ac_fn_c_try_compile "$LINENO"; then :
14609 ac_cv_c_string_h_warnings=no
14610 else
14611 ac_cv_c_string_h_warnings=yes
14613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14616 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14617 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14618 CFLAGS=$saved_string_h_CFLAGS
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14622 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14623 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14624 $as_echo_n "(cached) " >&6
14625 else
14626 ac_wine_try_cflags_saved=$CFLAGS
14627 CFLAGS="$CFLAGS -Wlogical-op"
14628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14629 /* end confdefs.h. */
14630 int main(int argc, char **argv) { return 0; }
14631 _ACEOF
14632 if ac_fn_c_try_link "$LINENO"; then :
14633 ac_cv_cflags__Wlogical_op=yes
14634 else
14635 ac_cv_cflags__Wlogical_op=no
14637 rm -f core conftest.err conftest.$ac_objext \
14638 conftest$ac_exeext conftest.$ac_ext
14639 CFLAGS=$ac_wine_try_cflags_saved
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14642 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14643 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14644 saved_string_h_CFLAGS=$CFLAGS
14645 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14647 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14648 if ${ac_cv_c_logicalop_noisy+:} false; then :
14649 $as_echo_n "(cached) " >&6
14650 else
14651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14652 /* end confdefs.h. */
14653 #include <string.h>
14654 char*f(const char *h,char n) {return strchr(h,n);}
14656 main ()
14660 return 0;
14662 _ACEOF
14663 if ac_fn_c_try_compile "$LINENO"; then :
14664 ac_cv_c_logicalop_noisy=no
14665 else
14666 ac_cv_c_logicalop_noisy=yes
14668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14671 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14672 CFLAGS=$saved_string_h_CFLAGS
14673 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14676 CFLAGS=$saved_CFLAGS
14678 for ac_flag in $CFLAGS; do
14679 case $ac_flag in
14680 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14681 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14682 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14683 $as_echo_n "(cached) " >&6
14684 else
14685 ac_wine_try_cflags_saved=$CFLAGS
14686 CFLAGS="$CFLAGS -gdwarf-2"
14687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14688 /* end confdefs.h. */
14689 int main(int argc, char **argv) { return 0; }
14690 _ACEOF
14691 if ac_fn_c_try_link "$LINENO"; then :
14692 ac_cv_cflags__gdwarf_2=yes
14693 else
14694 ac_cv_cflags__gdwarf_2=no
14696 rm -f core conftest.err conftest.$ac_objext \
14697 conftest$ac_exeext conftest.$ac_ext
14698 CFLAGS=$ac_wine_try_cflags_saved
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14701 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14702 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14703 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14706 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14707 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14708 $as_echo_n "(cached) " >&6
14709 else
14710 ac_wine_try_cflags_saved=$CFLAGS
14711 CFLAGS="$CFLAGS -gstrict-dwarf"
14712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14713 /* end confdefs.h. */
14714 int main(int argc, char **argv) { return 0; }
14715 _ACEOF
14716 if ac_fn_c_try_link "$LINENO"; then :
14717 ac_cv_cflags__gstrict_dwarf=yes
14718 else
14719 ac_cv_cflags__gstrict_dwarf=no
14721 rm -f core conftest.err conftest.$ac_objext \
14722 conftest$ac_exeext conftest.$ac_ext
14723 CFLAGS=$ac_wine_try_cflags_saved
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14726 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14727 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14728 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14729 fi ;;
14730 esac
14731 done
14733 case $host_cpu in
14734 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14735 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14736 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14737 $as_echo_n "(cached) " >&6
14738 else
14739 ac_wine_try_cflags_saved=$CFLAGS
14740 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14742 /* end confdefs.h. */
14743 int main(int argc, char **argv) { return 0; }
14744 _ACEOF
14745 if ac_fn_c_try_link "$LINENO"; then :
14746 ac_cv_cflags__fno_omit_frame_pointer=yes
14747 else
14748 ac_cv_cflags__fno_omit_frame_pointer=no
14750 rm -f core conftest.err conftest.$ac_objext \
14751 conftest$ac_exeext conftest.$ac_ext
14752 CFLAGS=$ac_wine_try_cflags_saved
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14755 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14756 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14757 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14758 fi ;;
14759 esac
14761 case $host in
14762 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14763 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14764 if ${ac_cv_cflags__Wno_format+:} false; then :
14765 $as_echo_n "(cached) " >&6
14766 else
14767 ac_wine_try_cflags_saved=$CFLAGS
14768 CFLAGS="$CFLAGS -Wno-format"
14769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14770 /* end confdefs.h. */
14771 int main(int argc, char **argv) { return 0; }
14772 _ACEOF
14773 if ac_fn_c_try_link "$LINENO"; then :
14774 ac_cv_cflags__Wno_format=yes
14775 else
14776 ac_cv_cflags__Wno_format=no
14778 rm -f core conftest.err conftest.$ac_objext \
14779 conftest$ac_exeext conftest.$ac_ext
14780 CFLAGS=$ac_wine_try_cflags_saved
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14783 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14784 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14785 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14786 fi ;;
14787 esac
14789 if test "x$enable_maintainer_mode" = "xyes"
14790 then
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14792 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14793 if ${ac_cv_cflags__Werror+:} false; then :
14794 $as_echo_n "(cached) " >&6
14795 else
14796 ac_wine_try_cflags_saved=$CFLAGS
14797 CFLAGS="$CFLAGS -Werror"
14798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14799 /* end confdefs.h. */
14800 int main(int argc, char **argv) { return 0; }
14801 _ACEOF
14802 if ac_fn_c_try_link "$LINENO"; then :
14803 ac_cv_cflags__Werror=yes
14804 else
14805 ac_cv_cflags__Werror=no
14807 rm -f core conftest.err conftest.$ac_objext \
14808 conftest$ac_exeext conftest.$ac_ext
14809 CFLAGS=$ac_wine_try_cflags_saved
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14812 $as_echo "$ac_cv_cflags__Werror" >&6; }
14813 if test "x$ac_cv_cflags__Werror" = xyes; then :
14814 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14818 saved_CFLAGS="$CFLAGS"
14819 CFLAGS="$CFLAGS -Werror"
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14821 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14822 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14823 $as_echo_n "(cached) " >&6
14824 else
14825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14826 /* end confdefs.h. */
14827 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14829 main ()
14833 return 0;
14835 _ACEOF
14836 if ac_fn_c_try_compile "$LINENO"; then :
14837 ac_cv_have_ms_hook_prologue="yes"
14838 else
14839 ac_cv_have_ms_hook_prologue="no"
14841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14844 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14845 CFLAGS="$saved_CFLAGS"
14846 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14847 then
14849 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14851 else
14852 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14859 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14860 if ${ac_cv_c_fortify_enabled+:} false; then :
14861 $as_echo_n "(cached) " >&6
14862 else
14863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14864 /* end confdefs.h. */
14865 #include <string.h>
14867 main ()
14869 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14870 #error Fortify enabled
14871 #endif
14873 return 0;
14875 _ACEOF
14876 if ac_fn_c_try_compile "$LINENO"; then :
14877 ac_cv_c_fortify_enabled=no
14878 else
14879 ac_cv_c_fortify_enabled=yes
14881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14884 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14885 if test "$ac_cv_c_fortify_enabled" = yes
14886 then
14887 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14892 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14893 if ${ac_cv_c_extern_prefix+:} false; then :
14894 $as_echo_n "(cached) " >&6
14895 else
14896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14897 /* end confdefs.h. */
14898 extern int ac_test;
14900 main ()
14902 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14904 return 0;
14906 _ACEOF
14907 if ac_fn_c_try_link "$LINENO"; then :
14908 ac_cv_c_extern_prefix="yes"
14909 else
14910 ac_cv_c_extern_prefix="no"
14912 rm -f core conftest.err conftest.$ac_objext \
14913 conftest$ac_exeext conftest.$ac_ext
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14916 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14918 case $host_cpu in
14919 *i[3456789]86*)
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14921 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14922 if ${ac_cv_c_stdcall_suffix+:} false; then :
14923 $as_echo_n "(cached) " >&6
14924 else
14925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14926 /* end confdefs.h. */
14927 #ifndef _MSC_VER
14928 #define __stdcall __attribute__((__stdcall__))
14929 #endif
14930 int __stdcall ac_test(int i) { return i; }
14932 main ()
14934 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14936 return 0;
14938 _ACEOF
14939 if ac_fn_c_try_link "$LINENO"; then :
14940 ac_cv_c_stdcall_suffix="yes"
14941 else
14942 ac_cv_c_stdcall_suffix="no"
14944 rm -f core conftest.err conftest.$ac_objext \
14945 conftest$ac_exeext conftest.$ac_ext
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14948 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14949 *) ac_cv_c_stdcall_suffix="no" ;;
14950 esac
14953 if test "$ac_cv_c_extern_prefix" = "yes"
14954 then
14955 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14957 asm_name_prefix="_"
14958 else
14959 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14961 asm_name_prefix=""
14965 if test "$ac_cv_c_stdcall_suffix" = "yes"
14966 then
14967 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14969 else
14970 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14976 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14977 if ${ac_cv_asm_func_def+:} false; then :
14978 $as_echo_n "(cached) " >&6
14979 else
14980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14981 /* end confdefs.h. */
14984 main ()
14986 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14988 return 0;
14990 _ACEOF
14991 if ac_fn_c_try_link "$LINENO"; then :
14992 ac_cv_asm_func_def=".def"
14993 else
14994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14995 /* end confdefs.h. */
14998 main ()
15000 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15002 return 0;
15004 _ACEOF
15005 if ac_fn_c_try_link "$LINENO"; then :
15006 ac_cv_asm_func_def=".type @function"
15007 else
15008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15012 main ()
15014 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15016 return 0;
15018 _ACEOF
15019 if ac_fn_c_try_link "$LINENO"; then :
15020 ac_cv_asm_func_def=".type 2"
15021 else
15022 ac_cv_asm_func_def="unknown"
15024 rm -f core conftest.err conftest.$ac_objext \
15025 conftest$ac_exeext conftest.$ac_ext
15027 rm -f core conftest.err conftest.$ac_objext \
15028 conftest$ac_exeext conftest.$ac_ext
15030 rm -f core conftest.err conftest.$ac_objext \
15031 conftest$ac_exeext conftest.$ac_ext
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15034 $as_echo "$ac_cv_asm_func_def" >&6; }
15037 case "$ac_cv_asm_func_def" in
15038 ".def")
15039 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15041 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15042 ".type @function")
15043 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15045 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15046 ".type 2")
15047 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15049 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15051 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15053 asm_func_header="" ;;
15054 esac
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15057 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15058 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15059 $as_echo_n "(cached) " >&6
15060 else
15061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15062 /* end confdefs.h. */
15063 asm(".text\n\t.long 0");
15065 main ()
15069 return 0;
15071 _ACEOF
15072 if ac_fn_c_try_compile "$LINENO"; then :
15073 ac_cv_c_asm_outside_funcs="yes"
15074 else
15075 ac_cv_c_asm_outside_funcs="no"
15077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15080 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15083 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15084 if ${ac_cv_c_dot_previous+:} false; then :
15085 $as_echo_n "(cached) " >&6
15086 else
15087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15088 /* end confdefs.h. */
15091 main ()
15093 asm(".text\nac_test:\t.long 0\n\t.previous");
15095 return 0;
15097 _ACEOF
15098 if ac_fn_c_try_link "$LINENO"; then :
15099 ac_cv_c_dot_previous="yes"
15100 else
15101 ac_cv_c_dot_previous="no"
15103 rm -f core conftest.err conftest.$ac_objext \
15104 conftest$ac_exeext conftest.$ac_ext
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15107 $as_echo "$ac_cv_c_dot_previous" >&6; }
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15110 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15111 if ${ac_cv_c_cfi_support+:} false; then :
15112 $as_echo_n "(cached) " >&6
15113 else
15114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15115 /* end confdefs.h. */
15116 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15118 main ()
15122 return 0;
15124 _ACEOF
15125 if ac_fn_c_try_compile "$LINENO"; then :
15126 ac_cv_c_cfi_support="yes"
15127 else
15128 ac_cv_c_cfi_support="no"
15130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15133 $as_echo "$ac_cv_c_cfi_support" >&6; }
15135 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15136 asm_func_trailer=""
15137 if test "$ac_cv_c_dot_previous" = "yes"
15138 then
15139 asm_func_trailer="\\n\\t.previous"
15141 if test "$ac_cv_c_cfi_support" = "yes"
15142 then
15143 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15144 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15146 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15148 UNWINDFLAGS=-fasynchronous-unwind-tables
15150 else
15151 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15153 if test "x$enable_win64" = "xyes"
15154 then
15155 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15159 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15162 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15163 then
15164 cat >>confdefs.h <<_ACEOF
15165 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15166 _ACEOF
15168 else
15169 cat >>confdefs.h <<_ACEOF
15170 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15171 _ACEOF
15175 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15178 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15182 case $build_os in
15183 cygwin*|mingw32*) TOOLSEXT=".exe"
15185 esac
15187 case $host_os in
15188 linux-android*) ;;
15189 linux*)
15190 case $host_cpu in
15191 *i[3456789]86*|x86_64*)
15192 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15193 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15195 esac
15197 esac
15200 ac_save_CFLAGS="$CFLAGS"
15201 CFLAGS="$CFLAGS $BUILTINFLAG"
15202 for ac_func in \
15203 __res_get_state \
15204 __res_getservers \
15205 _finite \
15206 _isnan \
15207 _pclose \
15208 _popen \
15209 _snprintf \
15210 _spawnvp \
15211 _strdup \
15212 _stricmp \
15213 _strnicmp \
15214 _strtoi64 \
15215 _strtoui64 \
15216 _vsnprintf \
15217 asctime_r \
15218 chsize \
15219 dlopen \
15220 epoll_create \
15221 ffs \
15222 finitef \
15223 fnmatch \
15224 fork \
15225 fpclass \
15226 fstatfs \
15227 fstatvfs \
15228 ftruncate \
15229 futimens \
15230 futimes \
15231 futimesat \
15232 getattrlist \
15233 getopt_long_only \
15234 getpwuid \
15235 gettimeofday \
15236 getuid \
15237 if_nameindex \
15238 isnanf \
15239 kqueue \
15240 lstat \
15241 memmove \
15242 mmap \
15243 pclose \
15244 pipe2 \
15245 poll \
15246 popen \
15247 port_create \
15248 prctl \
15249 pread \
15250 proc_pidinfo \
15251 pwrite \
15252 readdir \
15253 readlink \
15254 sched_yield \
15255 select \
15256 setproctitle \
15257 setprogname \
15258 setrlimit \
15259 settimeofday \
15260 sigaltstack \
15261 sigprocmask \
15262 snprintf \
15263 statfs \
15264 statvfs \
15265 strcasecmp \
15266 strdup \
15267 strerror \
15268 strncasecmp \
15269 strtold \
15270 strtoll \
15271 strtoull \
15272 symlink \
15273 sysinfo \
15274 tcdrain \
15275 thr_kill2 \
15276 timegm \
15277 usleep \
15278 vsnprintf
15280 do :
15281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15283 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15284 cat >>confdefs.h <<_ACEOF
15285 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15286 _ACEOF
15289 done
15291 CFLAGS="$ac_save_CFLAGS"
15293 if test "$ac_cv_func_dlopen" = no
15294 then
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15296 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15297 if ${ac_cv_lib_dl_dlopen+:} false; then :
15298 $as_echo_n "(cached) " >&6
15299 else
15300 ac_check_lib_save_LIBS=$LIBS
15301 LIBS="-ldl $LIBS"
15302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15303 /* end confdefs.h. */
15305 /* Override any GCC internal prototype to avoid an error.
15306 Use char because int might match the return type of a GCC
15307 builtin and then its argument prototype would still apply. */
15308 #ifdef __cplusplus
15309 extern "C"
15310 #endif
15311 char dlopen ();
15313 main ()
15315 return dlopen ();
15317 return 0;
15319 _ACEOF
15320 if ac_fn_c_try_link "$LINENO"; then :
15321 ac_cv_lib_dl_dlopen=yes
15322 else
15323 ac_cv_lib_dl_dlopen=no
15325 rm -f core conftest.err conftest.$ac_objext \
15326 conftest$ac_exeext conftest.$ac_ext
15327 LIBS=$ac_check_lib_save_LIBS
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15330 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15331 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15332 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15333 DL_LIBS="-ldl"
15338 ac_wine_check_funcs_save_LIBS="$LIBS"
15339 LIBS="$LIBS $DL_LIBS"
15340 for ac_func in dladdr
15341 do :
15342 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15343 if test "x$ac_cv_func_dladdr" = xyes; then :
15344 cat >>confdefs.h <<_ACEOF
15345 #define HAVE_DLADDR 1
15346 _ACEOF
15349 done
15351 LIBS="$ac_wine_check_funcs_save_LIBS"
15353 if test "$ac_cv_func_poll" = no
15354 then
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15356 $as_echo_n "checking for poll in -lpoll... " >&6; }
15357 if ${ac_cv_lib_poll_poll+:} false; then :
15358 $as_echo_n "(cached) " >&6
15359 else
15360 ac_check_lib_save_LIBS=$LIBS
15361 LIBS="-lpoll $LIBS"
15362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15363 /* end confdefs.h. */
15365 /* Override any GCC internal prototype to avoid an error.
15366 Use char because int might match the return type of a GCC
15367 builtin and then its argument prototype would still apply. */
15368 #ifdef __cplusplus
15369 extern "C"
15370 #endif
15371 char poll ();
15373 main ()
15375 return poll ();
15377 return 0;
15379 _ACEOF
15380 if ac_fn_c_try_link "$LINENO"; then :
15381 ac_cv_lib_poll_poll=yes
15382 else
15383 ac_cv_lib_poll_poll=no
15385 rm -f core conftest.err conftest.$ac_objext \
15386 conftest$ac_exeext conftest.$ac_ext
15387 LIBS=$ac_check_lib_save_LIBS
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15390 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15391 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15392 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15393 POLL_LIBS="-lpoll"
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15400 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15401 if ${ac_cv_search_gethostbyname+:} false; then :
15402 $as_echo_n "(cached) " >&6
15403 else
15404 ac_func_search_save_LIBS=$LIBS
15405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15406 /* end confdefs.h. */
15408 /* Override any GCC internal prototype to avoid an error.
15409 Use char because int might match the return type of a GCC
15410 builtin and then its argument prototype would still apply. */
15411 #ifdef __cplusplus
15412 extern "C"
15413 #endif
15414 char gethostbyname ();
15416 main ()
15418 return gethostbyname ();
15420 return 0;
15422 _ACEOF
15423 for ac_lib in '' nsl; do
15424 if test -z "$ac_lib"; then
15425 ac_res="none required"
15426 else
15427 ac_res=-l$ac_lib
15428 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15430 if ac_fn_c_try_link "$LINENO"; then :
15431 ac_cv_search_gethostbyname=$ac_res
15433 rm -f core conftest.err conftest.$ac_objext \
15434 conftest$ac_exeext
15435 if ${ac_cv_search_gethostbyname+:} false; then :
15436 break
15438 done
15439 if ${ac_cv_search_gethostbyname+:} false; then :
15441 else
15442 ac_cv_search_gethostbyname=no
15444 rm conftest.$ac_ext
15445 LIBS=$ac_func_search_save_LIBS
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15448 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15449 ac_res=$ac_cv_search_gethostbyname
15450 if test "$ac_res" != no; then :
15451 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15457 $as_echo_n "checking for library containing connect... " >&6; }
15458 if ${ac_cv_search_connect+:} false; then :
15459 $as_echo_n "(cached) " >&6
15460 else
15461 ac_func_search_save_LIBS=$LIBS
15462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15463 /* end confdefs.h. */
15465 /* Override any GCC internal prototype to avoid an error.
15466 Use char because int might match the return type of a GCC
15467 builtin and then its argument prototype would still apply. */
15468 #ifdef __cplusplus
15469 extern "C"
15470 #endif
15471 char connect ();
15473 main ()
15475 return connect ();
15477 return 0;
15479 _ACEOF
15480 for ac_lib in '' socket; do
15481 if test -z "$ac_lib"; then
15482 ac_res="none required"
15483 else
15484 ac_res=-l$ac_lib
15485 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15487 if ac_fn_c_try_link "$LINENO"; then :
15488 ac_cv_search_connect=$ac_res
15490 rm -f core conftest.err conftest.$ac_objext \
15491 conftest$ac_exeext
15492 if ${ac_cv_search_connect+:} false; then :
15493 break
15495 done
15496 if ${ac_cv_search_connect+:} false; then :
15498 else
15499 ac_cv_search_connect=no
15501 rm conftest.$ac_ext
15502 LIBS=$ac_func_search_save_LIBS
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15505 $as_echo "$ac_cv_search_connect" >&6; }
15506 ac_res=$ac_cv_search_connect
15507 if test "$ac_res" != no; then :
15508 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15514 $as_echo_n "checking for library containing inet_aton... " >&6; }
15515 if ${ac_cv_search_inet_aton+:} false; then :
15516 $as_echo_n "(cached) " >&6
15517 else
15518 ac_func_search_save_LIBS=$LIBS
15519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15520 /* end confdefs.h. */
15522 /* Override any GCC internal prototype to avoid an error.
15523 Use char because int might match the return type of a GCC
15524 builtin and then its argument prototype would still apply. */
15525 #ifdef __cplusplus
15526 extern "C"
15527 #endif
15528 char inet_aton ();
15530 main ()
15532 return inet_aton ();
15534 return 0;
15536 _ACEOF
15537 for ac_lib in '' resolv; do
15538 if test -z "$ac_lib"; then
15539 ac_res="none required"
15540 else
15541 ac_res=-l$ac_lib
15542 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15544 if ac_fn_c_try_link "$LINENO"; then :
15545 ac_cv_search_inet_aton=$ac_res
15547 rm -f core conftest.err conftest.$ac_objext \
15548 conftest$ac_exeext
15549 if ${ac_cv_search_inet_aton+:} false; then :
15550 break
15552 done
15553 if ${ac_cv_search_inet_aton+:} false; then :
15555 else
15556 ac_cv_search_inet_aton=no
15558 rm conftest.$ac_ext
15559 LIBS=$ac_func_search_save_LIBS
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15562 $as_echo "$ac_cv_search_inet_aton" >&6; }
15563 ac_res=$ac_cv_search_inet_aton
15564 if test "$ac_res" != no; then :
15565 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15570 for ac_func in \
15571 getaddrinfo \
15572 getnameinfo \
15573 getnetbyname \
15574 getprotobyname \
15575 getprotobynumber \
15576 getservbyport \
15577 inet_addr \
15578 inet_network \
15579 inet_ntop \
15580 inet_pton \
15581 sendmsg \
15582 socketpair \
15584 do :
15585 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15586 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15587 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15588 cat >>confdefs.h <<_ACEOF
15589 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15590 _ACEOF
15593 done
15596 ac_save_LIBS=$LIBS
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15598 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15599 if ${ac_cv_search_clock_gettime+:} false; then :
15600 $as_echo_n "(cached) " >&6
15601 else
15602 ac_func_search_save_LIBS=$LIBS
15603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15604 /* end confdefs.h. */
15606 /* Override any GCC internal prototype to avoid an error.
15607 Use char because int might match the return type of a GCC
15608 builtin and then its argument prototype would still apply. */
15609 #ifdef __cplusplus
15610 extern "C"
15611 #endif
15612 char clock_gettime ();
15614 main ()
15616 return clock_gettime ();
15618 return 0;
15620 _ACEOF
15621 for ac_lib in '' rt; do
15622 if test -z "$ac_lib"; then
15623 ac_res="none required"
15624 else
15625 ac_res=-l$ac_lib
15626 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15628 if ac_fn_c_try_link "$LINENO"; then :
15629 ac_cv_search_clock_gettime=$ac_res
15631 rm -f core conftest.err conftest.$ac_objext \
15632 conftest$ac_exeext
15633 if ${ac_cv_search_clock_gettime+:} false; then :
15634 break
15636 done
15637 if ${ac_cv_search_clock_gettime+:} false; then :
15639 else
15640 ac_cv_search_clock_gettime=no
15642 rm conftest.$ac_ext
15643 LIBS=$ac_func_search_save_LIBS
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15646 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15647 ac_res=$ac_cv_search_clock_gettime
15648 if test "$ac_res" != no; then :
15649 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15651 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15653 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15657 LIBS=$ac_save_LIBS
15659 LDAP_LIBS=""
15661 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15662 then
15663 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15665 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15667 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15668 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15669 $as_echo_n "(cached) " >&6
15670 else
15671 ac_check_lib_save_LIBS=$LIBS
15672 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15674 /* end confdefs.h. */
15676 /* Override any GCC internal prototype to avoid an error.
15677 Use char because int might match the return type of a GCC
15678 builtin and then its argument prototype would still apply. */
15679 #ifdef __cplusplus
15680 extern "C"
15681 #endif
15682 char ldap_initialize ();
15684 main ()
15686 return ldap_initialize ();
15688 return 0;
15690 _ACEOF
15691 if ac_fn_c_try_link "$LINENO"; then :
15692 ac_cv_lib_ldap_r_ldap_initialize=yes
15693 else
15694 ac_cv_lib_ldap_r_ldap_initialize=no
15696 rm -f core conftest.err conftest.$ac_objext \
15697 conftest$ac_exeext conftest.$ac_ext
15698 LIBS=$ac_check_lib_save_LIBS
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15701 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15702 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15704 $as_echo_n "checking for ber_init in -llber... " >&6; }
15705 if ${ac_cv_lib_lber_ber_init+:} false; then :
15706 $as_echo_n "(cached) " >&6
15707 else
15708 ac_check_lib_save_LIBS=$LIBS
15709 LIBS="-llber $PTHREAD_LIBS $LIBS"
15710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15711 /* end confdefs.h. */
15713 /* Override any GCC internal prototype to avoid an error.
15714 Use char because int might match the return type of a GCC
15715 builtin and then its argument prototype would still apply. */
15716 #ifdef __cplusplus
15717 extern "C"
15718 #endif
15719 char ber_init ();
15721 main ()
15723 return ber_init ();
15725 return 0;
15727 _ACEOF
15728 if ac_fn_c_try_link "$LINENO"; then :
15729 ac_cv_lib_lber_ber_init=yes
15730 else
15731 ac_cv_lib_lber_ber_init=no
15733 rm -f core conftest.err conftest.$ac_objext \
15734 conftest$ac_exeext conftest.$ac_ext
15735 LIBS=$ac_check_lib_save_LIBS
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15738 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15739 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15741 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15743 LDAP_LIBS="-lldap_r -llber"
15750 ac_wine_check_funcs_save_LIBS="$LIBS"
15751 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15752 for ac_func in \
15753 ldap_count_references \
15754 ldap_first_reference \
15755 ldap_next_reference \
15756 ldap_parse_reference \
15757 ldap_parse_sort_control \
15758 ldap_parse_sortresponse_control \
15759 ldap_parse_vlv_control \
15760 ldap_parse_vlvresponse_control
15761 do :
15762 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15763 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15764 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15765 cat >>confdefs.h <<_ACEOF
15766 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15767 _ACEOF
15770 done
15772 LIBS="$ac_wine_check_funcs_save_LIBS"
15774 if test "x$LDAP_LIBS" = "x"; then :
15775 case "x$with_ldap" in
15776 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15777 xno) ;;
15778 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15779 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15780 esac
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15785 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15786 if ${wine_cv_one_arg_mkdir+:} false; then :
15787 $as_echo_n "(cached) " >&6
15788 else
15789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15790 /* end confdefs.h. */
15791 #include <sys/stat.h>
15793 main ()
15795 mkdir("foo");
15797 return 0;
15799 _ACEOF
15800 if ac_fn_c_try_compile "$LINENO"; then :
15801 wine_cv_one_arg_mkdir=yes
15802 else
15803 wine_cv_one_arg_mkdir=no
15805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15808 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15809 if test "$wine_cv_one_arg_mkdir" = "yes"
15810 then
15812 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15817 $as_echo_n "checking for sched_setaffinity... " >&6; }
15818 if ${wine_cv_have_sched_setaffinity+:} false; then :
15819 $as_echo_n "(cached) " >&6
15820 else
15821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15822 /* end confdefs.h. */
15823 #define _GNU_SOURCE
15824 #include <sched.h>
15826 main ()
15828 sched_setaffinity(0, 0, 0);
15830 return 0;
15832 _ACEOF
15833 if ac_fn_c_try_link "$LINENO"; then :
15834 wine_cv_have_sched_setaffinity=yes
15835 else
15836 wine_cv_have_sched_setaffinity=no
15838 rm -f core conftest.err conftest.$ac_objext \
15839 conftest$ac_exeext conftest.$ac_ext
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15842 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15843 if test "$wine_cv_have_sched_setaffinity" = "yes"
15844 then
15846 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15851 $as_echo_n "checking for fallocate... " >&6; }
15852 if ${wine_cv_have_fallocate+:} false; then :
15853 $as_echo_n "(cached) " >&6
15854 else
15855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15856 /* end confdefs.h. */
15857 #define _GNU_SOURCE
15858 #include <fcntl.h>
15860 main ()
15862 fallocate(-1, 0, 0, 0);
15864 return 0;
15866 _ACEOF
15867 if ac_fn_c_try_link "$LINENO"; then :
15868 wine_cv_have_fallocate=yes
15869 else
15870 wine_cv_have_fallocate=no
15872 rm -f core conftest.err conftest.$ac_objext \
15873 conftest$ac_exeext conftest.$ac_ext
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15876 $as_echo "$wine_cv_have_fallocate" >&6; }
15877 if test "$wine_cv_have_fallocate" = "yes"
15878 then
15880 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15886 $as_echo_n "checking for inline... " >&6; }
15887 if ${ac_cv_c_inline+:} false; then :
15888 $as_echo_n "(cached) " >&6
15889 else
15890 ac_cv_c_inline=no
15891 for ac_kw in inline __inline__ __inline; do
15892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15894 #ifndef __cplusplus
15895 typedef int foo_t;
15896 static $ac_kw foo_t static_foo () {return 0; }
15897 $ac_kw foo_t foo () {return 0; }
15898 #endif
15900 _ACEOF
15901 if ac_fn_c_try_compile "$LINENO"; then :
15902 ac_cv_c_inline=$ac_kw
15904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15905 test "$ac_cv_c_inline" != no && break
15906 done
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15910 $as_echo "$ac_cv_c_inline" >&6; }
15912 case $ac_cv_c_inline in
15913 inline | yes) ;;
15915 case $ac_cv_c_inline in
15916 no) ac_val=;;
15917 *) ac_val=$ac_cv_c_inline;;
15918 esac
15919 cat >>confdefs.h <<_ACEOF
15920 #ifndef __cplusplus
15921 #define inline $ac_val
15922 #endif
15923 _ACEOF
15925 esac
15927 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15928 if test "x$ac_cv_type_mode_t" = xyes; then :
15930 cat >>confdefs.h <<_ACEOF
15931 #define HAVE_MODE_T 1
15932 _ACEOF
15936 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15937 if test "x$ac_cv_type_off_t" = xyes; then :
15939 cat >>confdefs.h <<_ACEOF
15940 #define HAVE_OFF_T 1
15941 _ACEOF
15945 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15946 if test "x$ac_cv_type_pid_t" = xyes; then :
15948 cat >>confdefs.h <<_ACEOF
15949 #define HAVE_PID_T 1
15950 _ACEOF
15954 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15955 if test "x$ac_cv_type_size_t" = xyes; then :
15957 cat >>confdefs.h <<_ACEOF
15958 #define HAVE_SIZE_T 1
15959 _ACEOF
15963 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15964 if test "x$ac_cv_type_ssize_t" = xyes; then :
15966 cat >>confdefs.h <<_ACEOF
15967 #define HAVE_SSIZE_T 1
15968 _ACEOF
15972 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15973 if test "x$ac_cv_type_long_long" = xyes; then :
15975 cat >>confdefs.h <<_ACEOF
15976 #define HAVE_LONG_LONG 1
15977 _ACEOF
15981 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15982 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15984 cat >>confdefs.h <<_ACEOF
15985 #define HAVE_FSBLKCNT_T 1
15986 _ACEOF
15990 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15991 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15993 cat >>confdefs.h <<_ACEOF
15994 #define HAVE_FSFILCNT_T 1
15995 _ACEOF
16000 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16001 #include <signal.h>
16003 if test "x$ac_cv_type_sigset_t" = xyes; then :
16005 cat >>confdefs.h <<_ACEOF
16006 #define HAVE_SIGSET_T 1
16007 _ACEOF
16012 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16014 if test "x$ac_cv_type_request_sense" = xyes; then :
16016 cat >>confdefs.h <<_ACEOF
16017 #define HAVE_REQUEST_SENSE 1
16018 _ACEOF
16024 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16025 #ifdef HAVE_SYS_SOCKET_H
16026 #include <sys/socket.h>
16027 #endif
16028 #ifdef HAVE_SYS_SOCKETVAR_H
16029 #include <sys/socketvar.h>
16030 #endif
16031 #ifdef HAVE_NET_ROUTE_H
16032 #include <net/route.h>
16033 #endif
16034 #ifdef HAVE_NETINET_IN_H
16035 #include <netinet/in.h>
16036 #endif
16037 #ifdef HAVE_NETINET_IN_SYSTM_H
16038 #include <netinet/in_systm.h>
16039 #endif
16040 #ifdef HAVE_NETINET_IP_H
16041 #include <netinet/ip.h>
16042 #endif
16043 #ifdef HAVE_NETINET_IN_PCB_H
16044 #include <netinet/in_pcb.h>
16045 #endif
16047 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16049 cat >>confdefs.h <<_ACEOF
16050 #define HAVE_STRUCT_XINPGEN 1
16051 _ACEOF
16057 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16058 #include <link.h>
16059 #endif
16060 #ifdef HAVE_SYS_LINK_H
16061 #include <sys/link.h>
16062 #endif
16064 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16066 cat >>confdefs.h <<_ACEOF
16067 #define HAVE_STRUCT_R_DEBUG 1
16068 _ACEOF
16072 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16073 #include <link.h>
16074 #endif
16075 #ifdef HAVE_SYS_LINK_H
16076 #include <sys/link.h>
16077 #endif
16079 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16081 cat >>confdefs.h <<_ACEOF
16082 #define HAVE_STRUCT_LINK_MAP 1
16083 _ACEOF
16089 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16090 #include <linux/input.h>
16091 #endif
16093 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16095 cat >>confdefs.h <<_ACEOF
16096 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16097 _ACEOF
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16104 $as_echo_n "checking for sigaddset... " >&6; }
16105 if ${wine_cv_have_sigaddset+:} false; then :
16106 $as_echo_n "(cached) " >&6
16107 else
16108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16109 /* end confdefs.h. */
16110 #include <signal.h>
16112 main ()
16114 sigset_t set; sigaddset(&set,SIGTERM);
16116 return 0;
16118 _ACEOF
16119 if ac_fn_c_try_link "$LINENO"; then :
16120 wine_cv_have_sigaddset=yes
16121 else
16122 wine_cv_have_sigaddset=no
16124 rm -f core conftest.err conftest.$ac_objext \
16125 conftest$ac_exeext conftest.$ac_ext
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16128 $as_echo "$wine_cv_have_sigaddset" >&6; }
16129 if test "$wine_cv_have_sigaddset" = "yes"
16130 then
16132 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16138 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16139 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16140 $as_echo_n "(cached) " >&6
16141 else
16142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16143 /* end confdefs.h. */
16144 #include <netdb.h>
16146 main ()
16149 char *name=0;
16150 struct hostent he;
16151 struct hostent *result;
16152 char *buf=0;
16153 int bufsize=0;
16154 int errnr;
16155 char *addr=0;
16156 int addrlen=0;
16157 int addrtype=0;
16158 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16159 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16162 return 0;
16164 _ACEOF
16165 if ac_fn_c_try_link "$LINENO"; then :
16166 wine_cv_linux_gethostbyname_r_6=yes
16167 else
16168 wine_cv_linux_gethostbyname_r_6=no
16171 rm -f core conftest.err conftest.$ac_objext \
16172 conftest$ac_exeext conftest.$ac_ext
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16176 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16177 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16178 then
16180 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16184 if test "$ac_cv_header_linux_joystick_h" = "yes"
16185 then
16186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16187 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16188 if ${wine_cv_linux_joystick_22_api+:} false; then :
16189 $as_echo_n "(cached) " >&6
16190 else
16191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16192 /* end confdefs.h. */
16194 #include <sys/ioctl.h>
16195 #include <sys/types.h>
16196 #include <linux/joystick.h>
16198 struct js_event blub;
16199 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16200 #error "no 2.2 header"
16201 #endif
16204 main ()
16206 /*empty*/
16208 return 0;
16210 _ACEOF
16211 if ac_fn_c_try_compile "$LINENO"; then :
16212 wine_cv_linux_joystick_22_api=yes
16213 else
16214 wine_cv_linux_joystick_22_api=no
16216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16220 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16221 if test "$wine_cv_linux_joystick_22_api" = "yes"
16222 then
16224 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16230 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16231 #ifdef HAVE_SYS_PARAM_H
16232 # include <sys/param.h>
16233 #endif
16234 #ifdef HAVE_SYS_MOUNT_H
16235 # include <sys/mount.h>
16236 #endif
16237 #ifdef HAVE_SYS_VFS_H
16238 # include <sys/vfs.h>
16239 #endif
16240 #ifdef HAVE_SYS_STATFS_H
16241 # include <sys/statfs.h>
16242 #endif
16244 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16246 cat >>confdefs.h <<_ACEOF
16247 #define HAVE_STRUCT_STATFS_F_BFREE 1
16248 _ACEOF
16252 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16253 #ifdef HAVE_SYS_PARAM_H
16254 # include <sys/param.h>
16255 #endif
16256 #ifdef HAVE_SYS_MOUNT_H
16257 # include <sys/mount.h>
16258 #endif
16259 #ifdef HAVE_SYS_VFS_H
16260 # include <sys/vfs.h>
16261 #endif
16262 #ifdef HAVE_SYS_STATFS_H
16263 # include <sys/statfs.h>
16264 #endif
16266 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16268 cat >>confdefs.h <<_ACEOF
16269 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16270 _ACEOF
16274 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16275 #ifdef HAVE_SYS_PARAM_H
16276 # include <sys/param.h>
16277 #endif
16278 #ifdef HAVE_SYS_MOUNT_H
16279 # include <sys/mount.h>
16280 #endif
16281 #ifdef HAVE_SYS_VFS_H
16282 # include <sys/vfs.h>
16283 #endif
16284 #ifdef HAVE_SYS_STATFS_H
16285 # include <sys/statfs.h>
16286 #endif
16288 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16290 cat >>confdefs.h <<_ACEOF
16291 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16292 _ACEOF
16296 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16297 #ifdef HAVE_SYS_PARAM_H
16298 # include <sys/param.h>
16299 #endif
16300 #ifdef HAVE_SYS_MOUNT_H
16301 # include <sys/mount.h>
16302 #endif
16303 #ifdef HAVE_SYS_VFS_H
16304 # include <sys/vfs.h>
16305 #endif
16306 #ifdef HAVE_SYS_STATFS_H
16307 # include <sys/statfs.h>
16308 #endif
16310 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16312 cat >>confdefs.h <<_ACEOF
16313 #define HAVE_STRUCT_STATFS_F_FFREE 1
16314 _ACEOF
16318 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16319 #ifdef HAVE_SYS_PARAM_H
16320 # include <sys/param.h>
16321 #endif
16322 #ifdef HAVE_SYS_MOUNT_H
16323 # include <sys/mount.h>
16324 #endif
16325 #ifdef HAVE_SYS_VFS_H
16326 # include <sys/vfs.h>
16327 #endif
16328 #ifdef HAVE_SYS_STATFS_H
16329 # include <sys/statfs.h>
16330 #endif
16332 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16334 cat >>confdefs.h <<_ACEOF
16335 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16336 _ACEOF
16340 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16341 #ifdef HAVE_SYS_PARAM_H
16342 # include <sys/param.h>
16343 #endif
16344 #ifdef HAVE_SYS_MOUNT_H
16345 # include <sys/mount.h>
16346 #endif
16347 #ifdef HAVE_SYS_VFS_H
16348 # include <sys/vfs.h>
16349 #endif
16350 #ifdef HAVE_SYS_STATFS_H
16351 # include <sys/statfs.h>
16352 #endif
16354 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16356 cat >>confdefs.h <<_ACEOF
16357 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16358 _ACEOF
16364 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16365 #include <sys/statvfs.h>
16366 #endif
16368 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16370 cat >>confdefs.h <<_ACEOF
16371 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16372 _ACEOF
16378 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16379 #include <dirent.h>
16380 #endif
16382 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16384 cat >>confdefs.h <<_ACEOF
16385 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16386 _ACEOF
16392 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16393 #ifdef HAVE_SYS_SOCKET_H
16394 # include <sys/socket.h>
16395 #endif
16396 #ifdef HAVE_SYS_UN_H
16397 # include <sys/un.h>
16398 #endif
16400 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16402 cat >>confdefs.h <<_ACEOF
16403 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16404 _ACEOF
16408 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16409 #ifdef HAVE_SYS_SOCKET_H
16410 # include <sys/socket.h>
16411 #endif
16412 #ifdef HAVE_SYS_UN_H
16413 # include <sys/un.h>
16414 #endif
16416 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16418 cat >>confdefs.h <<_ACEOF
16419 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16420 _ACEOF
16424 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16425 #ifdef HAVE_SYS_SOCKET_H
16426 # include <sys/socket.h>
16427 #endif
16428 #ifdef HAVE_SYS_UN_H
16429 # include <sys/un.h>
16430 #endif
16432 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16434 cat >>confdefs.h <<_ACEOF
16435 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16436 _ACEOF
16442 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16443 #ifdef HAVE_SCSI_SG_H
16444 #include <scsi/sg.h>
16445 #endif
16447 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16449 cat >>confdefs.h <<_ACEOF
16450 #define HAVE_SCSIREQ_T_CMD 1
16451 _ACEOF
16455 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>
16456 #ifdef HAVE_SCSI_SG_H
16457 #include <scsi/sg.h>
16458 #endif
16460 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16462 cat >>confdefs.h <<_ACEOF
16463 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16464 _ACEOF
16470 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16472 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16474 cat >>confdefs.h <<_ACEOF
16475 #define HAVE_SIGINFO_T_SI_FD 1
16476 _ACEOF
16482 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16483 #ifdef HAVE_SYS_MTIO_H
16484 #include <sys/mtio.h>
16485 #endif
16487 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16489 cat >>confdefs.h <<_ACEOF
16490 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16491 _ACEOF
16495 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16496 #ifdef HAVE_SYS_MTIO_H
16497 #include <sys/mtio.h>
16498 #endif
16500 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16502 cat >>confdefs.h <<_ACEOF
16503 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16504 _ACEOF
16508 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16509 #ifdef HAVE_SYS_MTIO_H
16510 #include <sys/mtio.h>
16511 #endif
16513 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16515 cat >>confdefs.h <<_ACEOF
16516 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16517 _ACEOF
16523 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16524 #include <getopt.h>
16525 #endif
16527 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16529 cat >>confdefs.h <<_ACEOF
16530 #define HAVE_STRUCT_OPTION_NAME 1
16531 _ACEOF
16537 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16538 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16540 cat >>confdefs.h <<_ACEOF
16541 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16542 _ACEOF
16546 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16547 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16549 cat >>confdefs.h <<_ACEOF
16550 #define HAVE_STRUCT_STAT_ST_MTIM 1
16551 _ACEOF
16555 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16556 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16558 cat >>confdefs.h <<_ACEOF
16559 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16560 _ACEOF
16564 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16565 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16567 cat >>confdefs.h <<_ACEOF
16568 #define HAVE_STRUCT_STAT_ST_CTIM 1
16569 _ACEOF
16573 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16574 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16576 cat >>confdefs.h <<_ACEOF
16577 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16578 _ACEOF
16582 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16583 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16585 cat >>confdefs.h <<_ACEOF
16586 #define HAVE_STRUCT_STAT_ST_ATIM 1
16587 _ACEOF
16591 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16592 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16594 cat >>confdefs.h <<_ACEOF
16595 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16596 _ACEOF
16600 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16601 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16603 cat >>confdefs.h <<_ACEOF
16604 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16605 _ACEOF
16609 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16610 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16612 cat >>confdefs.h <<_ACEOF
16613 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16614 _ACEOF
16618 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16619 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16621 cat >>confdefs.h <<_ACEOF
16622 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16623 _ACEOF
16627 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16628 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16630 cat >>confdefs.h <<_ACEOF
16631 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16632 _ACEOF
16636 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16637 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16639 cat >>confdefs.h <<_ACEOF
16640 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16641 _ACEOF
16647 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
16648 #include <sys/types.h>
16649 #endif
16650 #ifdef HAVE_NETINET_IN_H
16651 #include <netinet/in.h>
16652 #endif
16654 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16656 cat >>confdefs.h <<_ACEOF
16657 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16658 _ACEOF
16664 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16665 #include <resolv.h>
16666 #endif
16668 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16670 cat >>confdefs.h <<_ACEOF
16671 #define HAVE_STRUCT___RES_STATE 1
16672 _ACEOF
16678 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
16679 #include <resolv.h>
16680 #endif
16682 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16684 cat >>confdefs.h <<_ACEOF
16685 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16686 _ACEOF
16692 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16693 #include <sys/types.h>
16694 #endif
16695 #ifdef HAVE_NETINET_IN_H
16696 # include <netinet/in.h>
16697 #endif
16698 #ifdef HAVE_ARPA_NAMESER_H
16699 # include <arpa/nameser.h>
16700 #endif
16702 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16704 cat >>confdefs.h <<_ACEOF
16705 #define HAVE_NS_MSG__MSG_PTR 1
16706 _ACEOF
16712 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16713 #include <sys/types.h>
16714 #endif
16715 #ifdef HAVE_NETINET_IP_H
16716 #include <netinet/ip.h>
16717 #endif
16718 #ifdef HAVE_NETINET_IP_ICMP_H
16719 #include <netinet/ip_icmp.h>
16720 #endif
16721 #ifdef HAVE_NETINET_ICMP_VAR_H
16722 #include <netinet/icmp_var.h>
16723 #endif
16725 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16727 cat >>confdefs.h <<_ACEOF
16728 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16729 _ACEOF
16735 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16736 #include <sys/types.h>
16737 #endif
16738 #ifdef HAVE_ALIAS_H
16739 #include <alias.h>
16740 #endif
16741 #ifdef HAVE_SYS_SOCKET_H
16742 #include <sys/socket.h>
16743 #endif
16744 #ifdef HAVE_SYS_SOCKETVAR_H
16745 #include <sys/socketvar.h>
16746 #endif
16747 #ifdef HAVE_SYS_TIMEOUT_H
16748 #include <sys/timeout.h>
16749 #endif
16750 #ifdef HAVE_NETINET_IN_H
16751 #include <netinet/in.h>
16752 #endif
16753 #ifdef HAVE_NETINET_IN_SYSTM_H
16754 #include <netinet/in_systm.h>
16755 #endif
16756 #ifdef HAVE_NETINET_IP_H
16757 #include <netinet/ip.h>
16758 #endif
16759 #ifdef HAVE_NETINET_IP_VAR_H
16760 #include <netinet/ip_var.h>
16761 #endif
16762 #ifdef HAVE_NETINET_IP_ICMP_H
16763 #include <netinet/ip_icmp.h>
16764 #endif
16765 #ifdef HAVE_NETINET_ICMP_VAR_H
16766 #include <netinet/icmp_var.h>
16767 #endif
16769 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16771 cat >>confdefs.h <<_ACEOF
16772 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16773 _ACEOF
16779 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16780 #include <sys/types.h>
16781 #endif
16782 #ifdef HAVE_SYS_SOCKETVAR_H
16783 #include <sys/socketvar.h>
16784 #endif
16785 #ifdef HAVE_NETINET_IN_H
16786 #include <netinet/in.h>
16787 #endif
16788 #ifdef HAVE_NETINET_IP_VAR_H
16789 #include <netinet/ip_var.h>
16790 #endif
16792 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16794 cat >>confdefs.h <<_ACEOF
16795 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16796 _ACEOF
16802 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
16803 #include <netinet/ip_var.h>
16804 #endif
16806 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16808 cat >>confdefs.h <<_ACEOF
16809 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16810 _ACEOF
16816 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16817 #include <sys/types.h>
16818 #endif
16819 #ifdef HAVE_SYS_SOCKETVAR_H
16820 #include <sys/socketvar.h>
16821 #endif
16822 #ifdef HAVE_NETINET_IN_H
16823 #include <netinet/in.h>
16824 #endif
16825 #ifdef HAVE_NETINET_TCP_H
16826 #include <netinet/tcp.h>
16827 #endif
16828 #ifdef HAVE_NETINET_TCP_VAR_H
16829 #include <netinet/tcp_var.h>
16830 #endif
16832 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16834 cat >>confdefs.h <<_ACEOF
16835 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16836 _ACEOF
16842 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
16843 #include <netinet/tcp_var.h>
16844 #endif
16846 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16848 cat >>confdefs.h <<_ACEOF
16849 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16850 _ACEOF
16856 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16857 #include <sys/types.h>
16858 #endif
16859 #ifdef HAVE_NETINET_IN_H
16860 #include <netinet/in.h>
16861 #endif
16862 #ifdef HAVE_NETINET_IP_VAR_H
16863 #include <netinet/ip_var.h>
16864 #endif
16865 #ifdef HAVE_NETINET_UDP_H
16866 #include <netinet/udp.h>
16867 #endif
16868 #ifdef HAVE_NETINET_UDP_VAR_H
16869 #include <netinet/udp_var.h>
16870 #endif
16872 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16874 cat >>confdefs.h <<_ACEOF
16875 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16876 _ACEOF
16882 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16883 #include <sys/types.h>
16884 #endif
16885 #ifdef HAVE_NET_IF_H
16886 # include <net/if.h>
16887 #endif
16889 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16891 cat >>confdefs.h <<_ACEOF
16892 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16893 _ACEOF
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16900 $as_echo_n "checking for timezone variable... " >&6; }
16901 if ${ac_cv_have_timezone+:} false; then :
16902 $as_echo_n "(cached) " >&6
16903 else
16904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h. */
16906 #include <time.h>
16908 main ()
16910 timezone = 1
16912 return 0;
16914 _ACEOF
16915 if ac_fn_c_try_link "$LINENO"; then :
16916 ac_cv_have_timezone="yes"
16917 else
16918 ac_cv_have_timezone="no"
16920 rm -f core conftest.err conftest.$ac_objext \
16921 conftest$ac_exeext conftest.$ac_ext
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16924 $as_echo "$ac_cv_have_timezone" >&6; }
16925 if test "$ac_cv_have_timezone" = "yes"
16926 then
16928 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16932 $as_echo_n "checking for daylight variable... " >&6; }
16933 if ${ac_cv_have_daylight+:} false; then :
16934 $as_echo_n "(cached) " >&6
16935 else
16936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h. */
16938 #include <time.h>
16940 main ()
16942 daylight = 1
16944 return 0;
16946 _ACEOF
16947 if ac_fn_c_try_link "$LINENO"; then :
16948 ac_cv_have_daylight="yes"
16949 else
16950 ac_cv_have_daylight="no"
16952 rm -f core conftest.err conftest.$ac_objext \
16953 conftest$ac_exeext conftest.$ac_ext
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16956 $as_echo "$ac_cv_have_daylight" >&6; }
16957 if test "$ac_cv_have_daylight" = "yes"
16958 then
16960 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16964 ac_save_LIBS="$LIBS"
16965 LIBS="$LIBS -lm"
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16967 $as_echo_n "checking for isfinite... " >&6; }
16968 if ${ac_cv_have_isfinite+:} false; then :
16969 $as_echo_n "(cached) " >&6
16970 else
16971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16972 /* end confdefs.h. */
16973 #define _GNU_SOURCE
16974 #include <math.h>
16976 main ()
16978 float f = 0.0; return isfinite(f)
16980 return 0;
16982 _ACEOF
16983 if ac_fn_c_try_link "$LINENO"; then :
16984 ac_cv_have_isfinite="yes"
16985 else
16986 ac_cv_have_isfinite="no"
16988 rm -f core conftest.err conftest.$ac_objext \
16989 conftest$ac_exeext conftest.$ac_ext
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16992 $as_echo "$ac_cv_have_isfinite" >&6; }
16993 if test "$ac_cv_have_isfinite" = "yes"
16994 then
16996 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17001 $as_echo_n "checking for isinf... " >&6; }
17002 if ${ac_cv_have_isinf+:} false; then :
17003 $as_echo_n "(cached) " >&6
17004 else
17005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17006 /* end confdefs.h. */
17007 #include <math.h>
17009 main ()
17011 float f = 0.0; return isinf(f)
17013 return 0;
17015 _ACEOF
17016 if ac_fn_c_try_link "$LINENO"; then :
17017 ac_cv_have_isinf="yes"
17018 else
17019 ac_cv_have_isinf="no"
17021 rm -f core conftest.err conftest.$ac_objext \
17022 conftest$ac_exeext conftest.$ac_ext
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17025 $as_echo "$ac_cv_have_isinf" >&6; }
17026 if test "$ac_cv_have_isinf" = "yes"
17027 then
17029 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17034 $as_echo_n "checking for isnan... " >&6; }
17035 if ${ac_cv_have_isnan+:} false; then :
17036 $as_echo_n "(cached) " >&6
17037 else
17038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17039 /* end confdefs.h. */
17040 #include <math.h>
17042 main ()
17044 float f = 0.0; return isnan(f)
17046 return 0;
17048 _ACEOF
17049 if ac_fn_c_try_link "$LINENO"; then :
17050 ac_cv_have_isnan="yes"
17051 else
17052 ac_cv_have_isnan="no"
17054 rm -f core conftest.err conftest.$ac_objext \
17055 conftest$ac_exeext conftest.$ac_ext
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17058 $as_echo "$ac_cv_have_isnan" >&6; }
17059 if test "$ac_cv_have_isnan" = "yes"
17060 then
17062 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17066 for ac_func in \
17067 asinh \
17068 asinhf \
17069 cbrt \
17070 cbrtf \
17071 erf \
17072 erff \
17073 exp2 \
17074 exp2f \
17075 lgamma \
17076 lgammaf \
17077 llrint \
17078 llrintf \
17079 llround \
17080 llroundf \
17081 log2 \
17082 log2f \
17083 lrint \
17084 lrintf \
17085 lround \
17086 lroundf \
17087 powl \
17088 remainder \
17089 remainderf \
17090 rint \
17091 rintf \
17092 round \
17093 roundf \
17094 trunc \
17095 truncf
17097 do :
17098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17100 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17101 cat >>confdefs.h <<_ACEOF
17102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17103 _ACEOF
17106 done
17108 LIBS="$ac_save_LIBS"
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17111 $as_echo_n "checking for __builtin_clz... " >&6; }
17112 if ${ac_cv_have___builtin_clz+:} false; then :
17113 $as_echo_n "(cached) " >&6
17114 else
17115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17116 /* end confdefs.h. */
17119 main ()
17121 return __builtin_clz(1)
17123 return 0;
17125 _ACEOF
17126 if ac_fn_c_try_link "$LINENO"; then :
17127 ac_cv_have___builtin_clz="yes"
17128 else
17129 ac_cv_have___builtin_clz="no"
17131 rm -f core conftest.err conftest.$ac_objext \
17132 conftest$ac_exeext conftest.$ac_ext
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17135 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17136 if test "$ac_cv_have___builtin_clz" = "yes"
17137 then
17139 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17144 $as_echo_n "checking for __builtin_popcount... " >&6; }
17145 if ${ac_cv_have___builtin_popcount+:} false; then :
17146 $as_echo_n "(cached) " >&6
17147 else
17148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17149 /* end confdefs.h. */
17152 main ()
17154 return __builtin_popcount(1)
17156 return 0;
17158 _ACEOF
17159 if ac_fn_c_try_link "$LINENO"; then :
17160 ac_cv_have___builtin_popcount="yes"
17161 else
17162 ac_cv_have___builtin_popcount="no"
17164 rm -f core conftest.err conftest.$ac_objext \
17165 conftest$ac_exeext conftest.$ac_ext
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17168 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17169 if test "$ac_cv_have___builtin_popcount" = "yes"
17170 then
17172 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17177 case $host_cpu in
17178 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17179 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17180 if ${ac_cv_cpp_def___i386__+:} false; then :
17181 $as_echo_n "(cached) " >&6
17182 else
17183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17184 /* end confdefs.h. */
17185 #ifndef __i386__
17187 #endif
17188 _ACEOF
17189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17190 $EGREP "yes" >/dev/null 2>&1; then :
17191 ac_cv_cpp_def___i386__=yes
17192 else
17193 ac_cv_cpp_def___i386__=no
17195 rm -f conftest*
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17199 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17200 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17201 CFLAGS="$CFLAGS -D__i386__"
17202 LINTFLAGS="$LINTFLAGS -D__i386__"
17203 fi ;;
17204 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17205 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17206 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17207 $as_echo_n "(cached) " >&6
17208 else
17209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17210 /* end confdefs.h. */
17211 #ifndef __x86_64__
17213 #endif
17214 _ACEOF
17215 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17216 $EGREP "yes" >/dev/null 2>&1; then :
17217 ac_cv_cpp_def___x86_64__=yes
17218 else
17219 ac_cv_cpp_def___x86_64__=no
17221 rm -f conftest*
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17225 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17226 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17227 CFLAGS="$CFLAGS -D__x86_64__"
17228 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17229 fi ;;
17230 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17231 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17232 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17233 $as_echo_n "(cached) " >&6
17234 else
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17237 #ifndef __sparc64__
17239 #endif
17240 _ACEOF
17241 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17242 $EGREP "yes" >/dev/null 2>&1; then :
17243 ac_cv_cpp_def___sparc64__=yes
17244 else
17245 ac_cv_cpp_def___sparc64__=no
17247 rm -f conftest*
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17251 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17252 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17253 CFLAGS="$CFLAGS -D__sparc64__"
17254 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17255 fi ;;
17256 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17257 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17258 if ${ac_cv_cpp_def___sparc__+:} false; then :
17259 $as_echo_n "(cached) " >&6
17260 else
17261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17263 #ifndef __sparc__
17265 #endif
17266 _ACEOF
17267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17268 $EGREP "yes" >/dev/null 2>&1; then :
17269 ac_cv_cpp_def___sparc__=yes
17270 else
17271 ac_cv_cpp_def___sparc__=no
17273 rm -f conftest*
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17277 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17278 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17279 CFLAGS="$CFLAGS -D__sparc__"
17280 LINTFLAGS="$LINTFLAGS -D__sparc__"
17281 fi ;;
17282 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17283 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17284 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17285 $as_echo_n "(cached) " >&6
17286 else
17287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17288 /* end confdefs.h. */
17289 #ifndef __powerpc64__
17291 #endif
17292 _ACEOF
17293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17294 $EGREP "yes" >/dev/null 2>&1; then :
17295 ac_cv_cpp_def___powerpc64__=yes
17296 else
17297 ac_cv_cpp_def___powerpc64__=no
17299 rm -f conftest*
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17303 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17304 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17305 CFLAGS="$CFLAGS -D__powerpc64__"
17306 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17307 fi ;;
17308 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17309 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17310 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17311 $as_echo_n "(cached) " >&6
17312 else
17313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17314 /* end confdefs.h. */
17315 #ifndef __powerpc__
17317 #endif
17318 _ACEOF
17319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17320 $EGREP "yes" >/dev/null 2>&1; then :
17321 ac_cv_cpp_def___powerpc__=yes
17322 else
17323 ac_cv_cpp_def___powerpc__=no
17325 rm -f conftest*
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17329 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17330 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17331 CFLAGS="$CFLAGS -D__powerpc__"
17332 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17333 fi ;;
17334 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17335 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17336 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17337 $as_echo_n "(cached) " >&6
17338 else
17339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17341 #ifndef __aarch64__
17343 #endif
17344 _ACEOF
17345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17346 $EGREP "yes" >/dev/null 2>&1; then :
17347 ac_cv_cpp_def___aarch64__=yes
17348 else
17349 ac_cv_cpp_def___aarch64__=no
17351 rm -f conftest*
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17355 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17356 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17357 CFLAGS="$CFLAGS -D__aarch64__"
17358 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17359 fi ;;
17360 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17361 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17362 if ${ac_cv_cpp_def___arm__+:} false; then :
17363 $as_echo_n "(cached) " >&6
17364 else
17365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17366 /* end confdefs.h. */
17367 #ifndef __arm__
17369 #endif
17370 _ACEOF
17371 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17372 $EGREP "yes" >/dev/null 2>&1; then :
17373 ac_cv_cpp_def___arm__=yes
17374 else
17375 ac_cv_cpp_def___arm__=no
17377 rm -f conftest*
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17381 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17382 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17383 CFLAGS="$CFLAGS -D__arm__"
17384 LINTFLAGS="$LINTFLAGS -D__arm__"
17385 fi ;;
17386 esac
17388 case $host_vendor in
17389 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17390 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17391 if ${ac_cv_cpp_def___sun__+:} false; then :
17392 $as_echo_n "(cached) " >&6
17393 else
17394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17395 /* end confdefs.h. */
17396 #ifndef __sun__
17398 #endif
17399 _ACEOF
17400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17401 $EGREP "yes" >/dev/null 2>&1; then :
17402 ac_cv_cpp_def___sun__=yes
17403 else
17404 ac_cv_cpp_def___sun__=no
17406 rm -f conftest*
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17410 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17411 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17412 CFLAGS="$CFLAGS -D__sun__"
17413 LINTFLAGS="$LINTFLAGS -D__sun__"
17414 fi ;;
17415 esac
17421 ac_config_commands="$ac_config_commands include/stamp-h"
17423 $as_echo_n "creating Makefile rules..." >&6
17425 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17426 SOCKET_LIBS = $SOCKET_LIBS
17427 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17428 IOKIT_LIBS = $IOKIT_LIBS
17429 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17430 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17431 CORESERVICES_LIBS = $CORESERVICES_LIBS
17432 APPKIT_LIBS = $APPKIT_LIBS
17433 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17434 SECURITY_LIBS = $SECURITY_LIBS
17435 COREAUDIO_LIBS = $COREAUDIO_LIBS
17436 OPENAL_LIBS = $OPENAL_LIBS
17437 OPENCL_LIBS = $OPENCL_LIBS
17438 QUICKTIME_LIBS = $QUICKTIME_LIBS
17439 CARBON_LIBS = $CARBON_LIBS
17440 PTHREAD_LIBS = $PTHREAD_LIBS
17441 X_CFLAGS = $X_CFLAGS
17442 X_PRE_LIBS = $X_PRE_LIBS
17443 X_LIBS = $X_LIBS
17444 X_EXTRA_LIBS = $X_EXTRA_LIBS
17445 PCAP_LIBS = $PCAP_LIBS
17446 XML2_CFLAGS = $XML2_CFLAGS
17447 XML2_LIBS = $XML2_LIBS
17448 XSLT_CFLAGS = $XSLT_CFLAGS
17449 XSLT_LIBS = $XSLT_LIBS
17450 DBUS_CFLAGS = $DBUS_CFLAGS
17451 DBUS_LIBS = $DBUS_LIBS
17452 HAL_CFLAGS = $HAL_CFLAGS
17453 HAL_LIBS = $HAL_LIBS
17454 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17455 GNUTLS_LIBS = $GNUTLS_LIBS
17456 SANE_CFLAGS = $SANE_CFLAGS
17457 SANE_LIBS = $SANE_LIBS
17458 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17459 GPHOTO2_LIBS = $GPHOTO2_LIBS
17460 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17461 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17462 RESOLV_LIBS = $RESOLV_LIBS
17463 LCMS2_CFLAGS = $LCMS2_CFLAGS
17464 LCMS2_LIBS = $LCMS2_LIBS
17465 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17466 FREETYPE_LIBS = $FREETYPE_LIBS
17467 Z_LIBS = $Z_LIBS
17468 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17469 PULSE_CFLAGS = $PULSE_CFLAGS
17470 PULSE_LIBS = $PULSE_LIBS
17471 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17472 GSTREAMER_LIBS = $GSTREAMER_LIBS
17473 ALSA_LIBS = $ALSA_LIBS
17474 OSS4_CFLAGS = $OSS4_CFLAGS
17475 UDEV_CFLAGS = $UDEV_CFLAGS
17476 UDEV_LIBS = $UDEV_LIBS
17477 CAPI20_CFLAGS = $CAPI20_CFLAGS
17478 CAPI20_LIBS = $CAPI20_LIBS
17479 CUPS_CFLAGS = $CUPS_CFLAGS
17480 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17481 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17482 JPEG_CFLAGS = $JPEG_CFLAGS
17483 JPEG_LIBS = $JPEG_LIBS
17484 PNG_CFLAGS = $PNG_CFLAGS
17485 PNG_LIBS = $PNG_LIBS
17486 TIFF_CFLAGS = $TIFF_CFLAGS
17487 TIFF_LIBS = $TIFF_LIBS
17488 MPG123_CFLAGS = $MPG123_CFLAGS
17489 MPG123_LIBS = $MPG123_LIBS
17490 KSTAT_LIBS = $KSTAT_LIBS
17491 PROCSTAT_LIBS = $PROCSTAT_LIBS
17492 NETAPI_CFLAGS = $NETAPI_CFLAGS
17493 NETAPI_LIBS = $NETAPI_LIBS
17494 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17495 DL_LIBS = $DL_LIBS
17496 POLL_LIBS = $POLL_LIBS
17497 RT_LIBS = $RT_LIBS
17498 LDAP_LIBS = $LDAP_LIBS
17503 wine_fn_append_rule "
17504 # Rules automatically generated by configure
17506 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17508 .INIT: Makefile
17509 .MAKEFILEDEPS:
17510 all: Makefile
17511 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17512 @./config.status Make.tmp Makefile
17513 depend: \$(MAKEDEP) dummy
17514 \$(MAKEDEP)"
17516 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17517 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17519 if test "x$enable_fonts" != xno; then
17520 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17521 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17522 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17523 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17524 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17525 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17527 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17528 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17529 ac_config_links="$ac_config_links wine:tools/winewrapper"
17530 wine_fn_config_symlink wine
17531 if test "x$enable_win64" != xno; then
17532 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17533 wine_fn_config_symlink wine64
17536 wine_fn_config_dll acledit enable_acledit
17537 wine_fn_config_dll aclui enable_aclui implib
17538 wine_fn_config_dll activeds enable_activeds implib
17539 wine_fn_config_dll actxprxy enable_actxprxy clean
17540 wine_fn_config_lib adsiid
17541 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17542 wine_fn_config_test dlls/advapi32/tests advapi32_test
17543 wine_fn_config_dll advpack enable_advpack implib
17544 wine_fn_config_test dlls/advpack/tests advpack_test
17545 wine_fn_config_dll amstream enable_amstream clean
17546 wine_fn_config_test dlls/amstream/tests amstream_test
17547 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17548 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17549 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17550 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17551 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17552 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17553 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17554 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17555 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17556 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17557 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17558 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17559 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17560 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17561 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17562 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17563 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17564 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17565 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17566 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17567 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17568 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17569 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17570 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17571 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17572 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17573 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17574 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17575 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17576 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17577 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17578 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17579 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17580 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17581 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17582 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17583 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17584 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17585 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17586 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17587 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17588 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17590 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17591 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17592 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17594 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17595 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17596 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17598 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17600 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17602 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17604 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17606 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17607 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17609 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17614 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17616 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17619 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17623 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17625 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17626 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17628 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17638 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17639 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17644 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17645 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17646 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17647 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17648 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17649 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17650 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17651 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17652 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17653 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17654 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17655 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17656 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17657 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17658 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17659 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17660 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17661 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17662 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17663 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17664 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17665 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17666 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17667 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17668 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17669 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17670 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17671 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17672 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17673 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17674 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17675 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17676 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17677 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17678 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17679 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17680 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17681 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17682 wine_fn_config_dll apphelp enable_apphelp
17683 wine_fn_config_test dlls/apphelp/tests apphelp_test
17684 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17685 wine_fn_config_dll atl enable_atl clean,implib
17686 wine_fn_config_test dlls/atl/tests atl_test
17687 wine_fn_config_dll atl100 enable_atl100 clean,implib
17688 wine_fn_config_test dlls/atl100/tests atl100_test
17689 wine_fn_config_dll atl110 enable_atl110 clean
17690 wine_fn_config_dll atl80 enable_atl80 clean,implib
17691 wine_fn_config_test dlls/atl80/tests atl80_test
17692 wine_fn_config_dll atl90 enable_atl90 clean
17693 wine_fn_config_dll authz enable_authz
17694 wine_fn_config_dll avicap32 enable_avicap32 implib
17695 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17696 wine_fn_config_test dlls/avifil32/tests avifil32_test
17697 wine_fn_config_dll avifile.dll16 enable_win16
17698 wine_fn_config_dll avrt enable_avrt implib
17699 wine_fn_config_dll bcrypt enable_bcrypt implib
17700 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17701 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17702 wine_fn_config_dll browseui enable_browseui clean
17703 wine_fn_config_test dlls/browseui/tests browseui_test
17704 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17705 wine_fn_config_dll cabinet enable_cabinet implib
17706 wine_fn_config_test dlls/cabinet/tests cabinet_test
17707 wine_fn_config_dll capi2032 enable_capi2032 implib
17708 wine_fn_config_dll cards enable_cards implib
17709 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17710 wine_fn_config_dll clusapi enable_clusapi implib
17711 wine_fn_config_dll combase enable_combase
17712 wine_fn_config_test dlls/combase/tests combase_test
17713 wine_fn_config_dll comcat enable_comcat
17714 wine_fn_config_test dlls/comcat/tests comcat_test
17715 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17716 wine_fn_config_test dlls/comctl32/tests comctl32_test
17717 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17718 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17719 wine_fn_config_dll comm.drv16 enable_win16
17720 wine_fn_config_dll commdlg.dll16 enable_win16
17721 wine_fn_config_dll compobj.dll16 enable_win16
17722 wine_fn_config_dll compstui enable_compstui implib
17723 wine_fn_config_dll comsvcs enable_comsvcs implib
17724 wine_fn_config_dll concrt140 enable_concrt140
17725 wine_fn_config_dll connect enable_connect
17726 wine_fn_config_dll credui enable_credui clean,implib
17727 wine_fn_config_test dlls/credui/tests credui_test
17728 wine_fn_config_dll crtdll enable_crtdll
17729 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17730 wine_fn_config_test dlls/crypt32/tests crypt32_test
17731 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17732 wine_fn_config_dll cryptdll enable_cryptdll implib
17733 wine_fn_config_dll cryptext enable_cryptext
17734 wine_fn_config_dll cryptnet enable_cryptnet implib
17735 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17736 wine_fn_config_dll cryptui enable_cryptui clean,implib
17737 wine_fn_config_test dlls/cryptui/tests cryptui_test
17738 wine_fn_config_dll ctapi32 enable_ctapi32
17739 wine_fn_config_dll ctl3d.dll16 enable_win16
17740 wine_fn_config_dll ctl3d32 enable_ctl3d32
17741 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17742 wine_fn_config_dll d2d1 enable_d2d1 implib
17743 wine_fn_config_test dlls/d2d1/tests d2d1_test
17744 wine_fn_config_dll d3d10 enable_d3d10 implib
17745 wine_fn_config_test dlls/d3d10/tests d3d10_test
17746 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17747 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17748 wine_fn_config_dll d3d10core enable_d3d10core implib
17749 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17750 wine_fn_config_dll d3d11 enable_d3d11 implib
17751 wine_fn_config_test dlls/d3d11/tests d3d11_test
17752 wine_fn_config_dll d3d8 enable_d3d8 implib
17753 wine_fn_config_test dlls/d3d8/tests d3d8_test
17754 wine_fn_config_dll d3d9 enable_d3d9 implib
17755 wine_fn_config_test dlls/d3d9/tests d3d9_test
17756 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17757 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17758 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17759 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17760 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17761 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17762 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17763 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17764 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17765 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17766 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17767 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17768 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17769 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17770 wine_fn_config_dll d3dim enable_d3dim
17771 wine_fn_config_dll d3drm enable_d3drm implib
17772 wine_fn_config_test dlls/d3drm/tests d3drm_test
17773 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17774 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17775 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17776 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17777 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17778 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17779 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17780 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17781 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17782 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17783 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17784 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17785 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17786 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17787 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17788 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17789 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17790 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17791 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17792 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17793 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17794 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17795 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17796 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17797 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17798 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17799 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17800 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17801 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17802 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17803 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17804 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17805 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17806 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17807 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17808 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17809 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17810 wine_fn_config_dll davclnt enable_davclnt
17811 wine_fn_config_dll dbgeng enable_dbgeng implib
17812 wine_fn_config_dll dbghelp enable_dbghelp implib
17813 wine_fn_config_dll dciman32 enable_dciman32 implib
17814 wine_fn_config_dll ddeml.dll16 enable_win16
17815 wine_fn_config_dll ddraw enable_ddraw clean,implib
17816 wine_fn_config_test dlls/ddraw/tests ddraw_test
17817 wine_fn_config_dll ddrawex enable_ddrawex clean
17818 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17819 wine_fn_config_dll devenum enable_devenum clean
17820 wine_fn_config_test dlls/devenum/tests devenum_test
17821 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17822 wine_fn_config_dll difxapi enable_difxapi
17823 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17824 wine_fn_config_test dlls/dinput/tests dinput_test
17825 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17826 wine_fn_config_test dlls/dinput8/tests dinput8_test
17827 wine_fn_config_dll dispdib.dll16 enable_win16
17828 wine_fn_config_dll dispex enable_dispex clean
17829 wine_fn_config_test dlls/dispex/tests dispex_test
17830 wine_fn_config_dll display.drv16 enable_win16
17831 wine_fn_config_dll dmband enable_dmband clean
17832 wine_fn_config_test dlls/dmband/tests dmband_test
17833 wine_fn_config_dll dmcompos enable_dmcompos clean
17834 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17835 wine_fn_config_dll dmime enable_dmime clean
17836 wine_fn_config_test dlls/dmime/tests dmime_test
17837 wine_fn_config_dll dmloader enable_dmloader clean
17838 wine_fn_config_test dlls/dmloader/tests dmloader_test
17839 wine_fn_config_dll dmscript enable_dmscript clean
17840 wine_fn_config_test dlls/dmscript/tests dmscript_test
17841 wine_fn_config_dll dmstyle enable_dmstyle clean
17842 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17843 wine_fn_config_dll dmsynth enable_dmsynth clean
17844 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17845 wine_fn_config_dll dmusic enable_dmusic clean
17846 wine_fn_config_test dlls/dmusic/tests dmusic_test
17847 wine_fn_config_dll dmusic32 enable_dmusic32
17848 wine_fn_config_dll dnsapi enable_dnsapi implib
17849 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17850 wine_fn_config_dll dplay enable_dplay
17851 wine_fn_config_dll dplayx enable_dplayx clean,implib
17852 wine_fn_config_test dlls/dplayx/tests dplayx_test
17853 wine_fn_config_dll dpnaddr enable_dpnaddr
17854 wine_fn_config_dll dpnet enable_dpnet clean,implib
17855 wine_fn_config_test dlls/dpnet/tests dpnet_test
17856 wine_fn_config_dll dpnhpast enable_dpnhpast
17857 wine_fn_config_dll dpnlobby enable_dpnlobby
17858 wine_fn_config_dll dpvoice enable_dpvoice clean
17859 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17860 wine_fn_config_dll dpwsockx enable_dpwsockx
17861 wine_fn_config_dll drmclien enable_drmclien
17862 wine_fn_config_dll dsound enable_dsound clean,implib
17863 wine_fn_config_test dlls/dsound/tests dsound_test
17864 wine_fn_config_dll dssenh enable_dssenh
17865 wine_fn_config_test dlls/dssenh/tests dssenh_test
17866 wine_fn_config_dll dswave enable_dswave clean
17867 wine_fn_config_test dlls/dswave/tests dswave_test
17868 wine_fn_config_dll dwmapi enable_dwmapi implib
17869 wine_fn_config_dll dwrite enable_dwrite implib
17870 wine_fn_config_test dlls/dwrite/tests dwrite_test
17871 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17872 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17873 wine_fn_config_lib dxerr8
17874 wine_fn_config_lib dxerr9
17875 wine_fn_config_dll dxgi enable_dxgi implib
17876 wine_fn_config_test dlls/dxgi/tests dxgi_test
17877 wine_fn_config_lib dxguid
17878 wine_fn_config_dll dxva2 enable_dxva2
17879 wine_fn_config_dll esent enable_esent
17880 wine_fn_config_dll evr enable_evr
17881 wine_fn_config_dll explorerframe enable_explorerframe clean
17882 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17883 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17884 wine_fn_config_dll faultrep enable_faultrep implib
17885 wine_fn_config_test dlls/faultrep/tests faultrep_test
17886 wine_fn_config_dll fltlib enable_fltlib
17887 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17888 wine_fn_config_dll fntcache enable_fntcache
17889 wine_fn_config_dll fontsub enable_fontsub
17890 wine_fn_config_dll fusion enable_fusion
17891 wine_fn_config_test dlls/fusion/tests fusion_test
17892 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17893 wine_fn_config_dll gameux enable_gameux clean
17894 wine_fn_config_test dlls/gameux/tests gameux_test
17895 wine_fn_config_dll gdi.exe16 enable_win16
17896 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17897 wine_fn_config_test dlls/gdi32/tests gdi32_test
17898 wine_fn_config_dll gdiplus enable_gdiplus implib
17899 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17900 wine_fn_config_dll glu32 enable_glu32 implib
17901 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17902 wine_fn_config_dll gpkcsp enable_gpkcsp
17903 wine_fn_config_dll hal enable_hal
17904 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17905 wine_fn_config_dll hid enable_hid implib
17906 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17907 wine_fn_config_dll hlink enable_hlink clean,implib
17908 wine_fn_config_test dlls/hlink/tests hlink_test
17909 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17910 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17911 wine_fn_config_dll httpapi enable_httpapi
17912 wine_fn_config_dll iccvid enable_iccvid clean
17913 wine_fn_config_dll icmp enable_icmp
17914 wine_fn_config_dll ieframe enable_ieframe clean,implib
17915 wine_fn_config_test dlls/ieframe/tests ieframe_test
17916 wine_fn_config_dll ifsmgr.vxd enable_win16
17917 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17918 wine_fn_config_dll imagehlp enable_imagehlp implib
17919 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17920 wine_fn_config_dll imm.dll16 enable_win16
17921 wine_fn_config_dll imm32 enable_imm32 implib
17922 wine_fn_config_test dlls/imm32/tests imm32_test
17923 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17924 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17925 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17926 wine_fn_config_dll inetmib1 enable_inetmib1
17927 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17928 wine_fn_config_dll infosoft enable_infosoft clean
17929 wine_fn_config_test dlls/infosoft/tests infosoft_test
17930 wine_fn_config_dll initpki enable_initpki
17931 wine_fn_config_dll inkobj enable_inkobj
17932 wine_fn_config_dll inseng enable_inseng clean
17933 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17934 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17935 wine_fn_config_dll iprop enable_iprop
17936 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17937 wine_fn_config_dll itircl enable_itircl
17938 wine_fn_config_dll itss enable_itss clean
17939 wine_fn_config_test dlls/itss/tests itss_test
17940 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17941 wine_fn_config_dll jscript enable_jscript clean
17942 wine_fn_config_test dlls/jscript/tests jscript_test
17943 wine_fn_config_dll jsproxy enable_jsproxy implib
17944 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17945 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17946 wine_fn_config_test dlls/kernel32/tests kernel32_test
17947 wine_fn_config_dll kernelbase enable_kernelbase
17948 wine_fn_config_dll keyboard.drv16 enable_win16
17949 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17950 wine_fn_config_dll ksuser enable_ksuser
17951 wine_fn_config_dll ktmw32 enable_ktmw32
17952 wine_fn_config_dll loadperf enable_loadperf implib
17953 wine_fn_config_dll localspl enable_localspl clean
17954 wine_fn_config_test dlls/localspl/tests localspl_test
17955 wine_fn_config_dll localui enable_localui clean
17956 wine_fn_config_test dlls/localui/tests localui_test
17957 wine_fn_config_dll lz32 enable_lz32 implib
17958 wine_fn_config_test dlls/lz32/tests lz32_test
17959 wine_fn_config_dll lzexpand.dll16 enable_win16
17960 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17961 wine_fn_config_test dlls/mapi32/tests mapi32_test
17962 wine_fn_config_dll mapistub enable_mapistub
17963 wine_fn_config_dll mciavi32 enable_mciavi32
17964 wine_fn_config_dll mcicda enable_mcicda
17965 wine_fn_config_dll mciqtz32 enable_mciqtz32
17966 wine_fn_config_dll mciseq enable_mciseq
17967 wine_fn_config_dll mciwave enable_mciwave
17968 wine_fn_config_dll mf enable_mf
17969 wine_fn_config_dll mfplat enable_mfplat
17970 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17971 wine_fn_config_dll mgmtapi enable_mgmtapi
17972 wine_fn_config_dll midimap enable_midimap
17973 wine_fn_config_dll mlang enable_mlang clean,implib
17974 wine_fn_config_test dlls/mlang/tests mlang_test
17975 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17976 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17977 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17978 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17979 wine_fn_config_dll mmdevldr.vxd enable_win16
17980 wine_fn_config_dll mmsystem.dll16 enable_win16
17981 wine_fn_config_dll monodebg.vxd enable_win16
17982 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17983 wine_fn_config_dll mouse.drv16 enable_win16
17984 wine_fn_config_dll mpr enable_mpr clean,implib
17985 wine_fn_config_test dlls/mpr/tests mpr_test
17986 wine_fn_config_dll mprapi enable_mprapi implib
17987 wine_fn_config_dll msacm.dll16 enable_win16
17988 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17989 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17990 wine_fn_config_test dlls/msacm32/tests msacm32_test
17991 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17992 wine_fn_config_dll msasn1 enable_msasn1 implib
17993 wine_fn_config_dll mscat32 enable_mscat32
17994 wine_fn_config_dll mscms enable_mscms implib
17995 wine_fn_config_test dlls/mscms/tests mscms_test
17996 wine_fn_config_dll mscoree enable_mscoree clean
17997 wine_fn_config_test dlls/mscoree/tests mscoree_test
17998 wine_fn_config_dll msctf enable_msctf clean
17999 wine_fn_config_test dlls/msctf/tests msctf_test
18000 wine_fn_config_dll msctfp enable_msctfp clean
18001 wine_fn_config_dll msdaps enable_msdaps clean
18002 wine_fn_config_dll msdelta enable_msdelta
18003 wine_fn_config_dll msdmo enable_msdmo implib
18004 wine_fn_config_test dlls/msdmo/tests msdmo_test
18005 wine_fn_config_dll msdrm enable_msdrm
18006 wine_fn_config_dll msftedit enable_msftedit
18007 wine_fn_config_dll msg711.acm enable_msg711_acm
18008 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18009 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18010 wine_fn_config_dll mshtml enable_mshtml clean,implib
18011 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18012 wine_fn_config_dll msi enable_msi clean,implib
18013 wine_fn_config_test dlls/msi/tests msi_test
18014 wine_fn_config_dll msident enable_msident clean
18015 wine_fn_config_dll msimg32 enable_msimg32 implib
18016 wine_fn_config_dll msimsg enable_msimsg
18017 wine_fn_config_dll msimtf enable_msimtf clean
18018 wine_fn_config_dll msisip enable_msisip
18019 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18020 wine_fn_config_dll msls31 enable_msls31
18021 wine_fn_config_dll msnet32 enable_msnet32
18022 wine_fn_config_dll mspatcha enable_mspatcha implib
18023 wine_fn_config_dll msports enable_msports
18024 wine_fn_config_dll msrle32 enable_msrle32 clean
18025 wine_fn_config_test dlls/msrle32/tests msrle32_test
18026 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18027 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18028 wine_fn_config_dll mssign32 enable_mssign32
18029 wine_fn_config_dll mssip32 enable_mssip32
18030 wine_fn_config_dll mstask enable_mstask clean
18031 wine_fn_config_test dlls/mstask/tests mstask_test
18032 wine_fn_config_dll msvcirt enable_msvcirt
18033 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18034 wine_fn_config_dll msvcm80 enable_msvcm80
18035 wine_fn_config_dll msvcm90 enable_msvcm90
18036 wine_fn_config_dll msvcp100 enable_msvcp100
18037 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18038 wine_fn_config_dll msvcp110 enable_msvcp110
18039 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18040 wine_fn_config_dll msvcp120 enable_msvcp120
18041 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18042 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18043 wine_fn_config_dll msvcp140 enable_msvcp140
18044 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18045 wine_fn_config_dll msvcp60 enable_msvcp60
18046 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18047 wine_fn_config_dll msvcp70 enable_msvcp70
18048 wine_fn_config_dll msvcp71 enable_msvcp71
18049 wine_fn_config_dll msvcp80 enable_msvcp80
18050 wine_fn_config_dll msvcp90 enable_msvcp90
18051 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18052 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18053 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18054 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18055 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18056 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18057 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18058 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18059 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18060 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18061 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18062 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18063 wine_fn_config_dll msvcrt enable_msvcrt implib
18064 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18065 wine_fn_config_dll msvcrt20 enable_msvcrt20
18066 wine_fn_config_dll msvcrt40 enable_msvcrt40
18067 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18068 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18069 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18070 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18071 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18072 wine_fn_config_dll msvideo.dll16 enable_win16
18073 wine_fn_config_dll mswsock enable_mswsock implib
18074 wine_fn_config_dll msxml enable_msxml clean
18075 wine_fn_config_dll msxml2 enable_msxml2 clean
18076 wine_fn_config_dll msxml3 enable_msxml3 clean
18077 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18078 wine_fn_config_dll msxml4 enable_msxml4 clean
18079 wine_fn_config_dll msxml6 enable_msxml6 clean
18080 wine_fn_config_dll ncrypt enable_ncrypt
18081 wine_fn_config_dll nddeapi enable_nddeapi implib
18082 wine_fn_config_dll ndis.sys enable_ndis_sys
18083 wine_fn_config_dll netapi32 enable_netapi32 implib
18084 wine_fn_config_test dlls/netapi32/tests netapi32_test
18085 wine_fn_config_dll netcfgx enable_netcfgx clean
18086 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18087 wine_fn_config_dll netprofm enable_netprofm clean
18088 wine_fn_config_test dlls/netprofm/tests netprofm_test
18089 wine_fn_config_dll newdev enable_newdev implib
18090 wine_fn_config_dll normaliz enable_normaliz implib
18091 wine_fn_config_dll npmshtml enable_npmshtml
18092 wine_fn_config_dll npptools enable_npptools
18093 wine_fn_config_dll ntdll enable_ntdll implib
18094 wine_fn_config_test dlls/ntdll/tests ntdll_test
18095 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18096 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18097 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18098 wine_fn_config_dll ntprint enable_ntprint
18099 wine_fn_config_test dlls/ntprint/tests ntprint_test
18100 wine_fn_config_dll objsel enable_objsel clean
18101 wine_fn_config_dll odbc32 enable_odbc32 implib
18102 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18103 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18104 wine_fn_config_dll odbccu32 enable_odbccu32
18105 wine_fn_config_dll ole2.dll16 enable_win16
18106 wine_fn_config_dll ole2conv.dll16 enable_win16
18107 wine_fn_config_dll ole2disp.dll16 enable_win16
18108 wine_fn_config_dll ole2nls.dll16 enable_win16
18109 wine_fn_config_dll ole2prox.dll16 enable_win16
18110 wine_fn_config_dll ole2thk.dll16 enable_win16
18111 wine_fn_config_dll ole32 enable_ole32 clean,implib
18112 wine_fn_config_test dlls/ole32/tests ole32_test
18113 wine_fn_config_dll oleacc enable_oleacc clean,implib
18114 wine_fn_config_test dlls/oleacc/tests oleacc_test
18115 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18116 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18117 wine_fn_config_dll olecli.dll16 enable_win16
18118 wine_fn_config_dll olecli32 enable_olecli32 implib
18119 wine_fn_config_dll oledb32 enable_oledb32 clean
18120 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18121 wine_fn_config_dll oledlg enable_oledlg clean,implib
18122 wine_fn_config_test dlls/oledlg/tests oledlg_test
18123 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18124 wine_fn_config_dll olesvr.dll16 enable_win16
18125 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18126 wine_fn_config_dll olethk32 enable_olethk32
18127 wine_fn_config_dll openal32 enable_openal32
18128 wine_fn_config_dll opencl enable_opencl
18129 wine_fn_config_dll opengl32 enable_opengl32 implib
18130 wine_fn_config_test dlls/opengl32/tests opengl32_test
18131 wine_fn_config_dll packager enable_packager clean
18132 wine_fn_config_test dlls/packager/tests packager_test
18133 wine_fn_config_dll pdh enable_pdh implib
18134 wine_fn_config_test dlls/pdh/tests pdh_test
18135 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18136 wine_fn_config_dll pidgen enable_pidgen
18137 wine_fn_config_dll powrprof enable_powrprof implib
18138 wine_fn_config_dll printui enable_printui
18139 wine_fn_config_dll prntvpt enable_prntvpt
18140 wine_fn_config_dll propsys enable_propsys clean,implib
18141 wine_fn_config_test dlls/propsys/tests propsys_test
18142 wine_fn_config_dll psapi enable_psapi implib
18143 wine_fn_config_test dlls/psapi/tests psapi_test
18144 wine_fn_config_dll pstorec enable_pstorec clean
18145 wine_fn_config_dll qcap enable_qcap
18146 wine_fn_config_test dlls/qcap/tests qcap_test
18147 wine_fn_config_dll qedit enable_qedit clean
18148 wine_fn_config_test dlls/qedit/tests qedit_test
18149 wine_fn_config_dll qmgr enable_qmgr clean
18150 wine_fn_config_test dlls/qmgr/tests qmgr_test
18151 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18152 wine_fn_config_dll quartz enable_quartz clean,implib
18153 wine_fn_config_test dlls/quartz/tests quartz_test clean
18154 wine_fn_config_dll query enable_query
18155 wine_fn_config_dll rasapi16.dll16 enable_win16
18156 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18157 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18158 wine_fn_config_dll rasdlg enable_rasdlg implib
18159 wine_fn_config_dll regapi enable_regapi
18160 wine_fn_config_dll resutils enable_resutils implib
18161 wine_fn_config_dll riched20 enable_riched20 clean,implib
18162 wine_fn_config_test dlls/riched20/tests riched20_test
18163 wine_fn_config_dll riched32 enable_riched32
18164 wine_fn_config_test dlls/riched32/tests riched32_test
18165 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18166 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18167 wine_fn_config_dll rsabase enable_rsabase
18168 wine_fn_config_dll rsaenh enable_rsaenh implib
18169 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18170 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18171 wine_fn_config_dll rtutils enable_rtutils implib
18172 wine_fn_config_dll samlib enable_samlib
18173 wine_fn_config_dll sane.ds enable_sane_ds clean
18174 wine_fn_config_dll scarddlg enable_scarddlg
18175 wine_fn_config_dll sccbase enable_sccbase
18176 wine_fn_config_dll schannel enable_schannel
18177 wine_fn_config_test dlls/schannel/tests schannel_test
18178 wine_fn_config_dll schedsvc enable_schedsvc clean
18179 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18180 wine_fn_config_dll scrrun enable_scrrun clean
18181 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18182 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18183 wine_fn_config_dll secur32 enable_secur32 implib
18184 wine_fn_config_test dlls/secur32/tests secur32_test
18185 wine_fn_config_dll security enable_security
18186 wine_fn_config_dll sensapi enable_sensapi implib
18187 wine_fn_config_dll serialui enable_serialui clean
18188 wine_fn_config_test dlls/serialui/tests serialui_test
18189 wine_fn_config_dll setupapi enable_setupapi clean,implib
18190 wine_fn_config_test dlls/setupapi/tests setupapi_test
18191 wine_fn_config_dll setupx.dll16 enable_win16
18192 wine_fn_config_dll sfc enable_sfc implib
18193 wine_fn_config_dll sfc_os enable_sfc_os implib
18194 wine_fn_config_dll shdoclc enable_shdoclc clean
18195 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18196 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18197 wine_fn_config_dll shell.dll16 enable_win16
18198 wine_fn_config_dll shell32 enable_shell32 clean,implib
18199 wine_fn_config_test dlls/shell32/tests shell32_test
18200 wine_fn_config_dll shfolder enable_shfolder implib
18201 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18202 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18203 wine_fn_config_dll slbcsp enable_slbcsp
18204 wine_fn_config_dll slc enable_slc implib
18205 wine_fn_config_test dlls/slc/tests slc_test
18206 wine_fn_config_dll snmpapi enable_snmpapi implib
18207 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18208 wine_fn_config_dll softpub enable_softpub
18209 wine_fn_config_dll sound.drv16 enable_win16
18210 wine_fn_config_dll spoolss enable_spoolss implib
18211 wine_fn_config_test dlls/spoolss/tests spoolss_test
18212 wine_fn_config_dll sspicli enable_sspicli
18213 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18214 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18215 wine_fn_config_dll sti enable_sti clean,implib
18216 wine_fn_config_test dlls/sti/tests sti_test
18217 wine_fn_config_dll storage.dll16 enable_win16
18218 wine_fn_config_dll stress.dll16 enable_win16
18219 wine_fn_config_lib strmbase
18220 wine_fn_config_lib strmiids
18221 wine_fn_config_dll svrapi enable_svrapi
18222 wine_fn_config_dll sxs enable_sxs implib
18223 wine_fn_config_test dlls/sxs/tests sxs_test
18224 wine_fn_config_dll system.drv16 enable_win16
18225 wine_fn_config_dll t2embed enable_t2embed implib
18226 wine_fn_config_test dlls/t2embed/tests t2embed_test
18227 wine_fn_config_dll tapi32 enable_tapi32 implib
18228 wine_fn_config_dll taskschd enable_taskschd clean
18229 wine_fn_config_test dlls/taskschd/tests taskschd_test
18230 wine_fn_config_dll tdi.sys enable_tdi_sys
18231 wine_fn_config_dll toolhelp.dll16 enable_win16
18232 wine_fn_config_dll traffic enable_traffic
18233 wine_fn_config_dll twain.dll16 enable_win16
18234 wine_fn_config_dll twain_32 enable_twain_32
18235 wine_fn_config_test dlls/twain_32/tests twain_32_test
18236 wine_fn_config_dll typelib.dll16 enable_win16
18237 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18238 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18239 wine_fn_config_dll unicows enable_unicows implib
18240 wine_fn_config_dll updspapi enable_updspapi
18241 wine_fn_config_dll url enable_url implib
18242 wine_fn_config_dll urlmon enable_urlmon clean,implib
18243 wine_fn_config_test dlls/urlmon/tests urlmon_test
18244 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18245 wine_fn_config_dll user.exe16 enable_win16
18246 wine_fn_config_dll user32 enable_user32 clean,implib
18247 wine_fn_config_test dlls/user32/tests user32_test
18248 wine_fn_config_dll userenv enable_userenv implib
18249 wine_fn_config_test dlls/userenv/tests userenv_test
18250 wine_fn_config_dll usp10 enable_usp10 implib
18251 wine_fn_config_test dlls/usp10/tests usp10_test
18252 wine_fn_config_lib uuid
18253 wine_fn_config_dll uxtheme enable_uxtheme implib
18254 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18255 wine_fn_config_dll vbscript enable_vbscript clean
18256 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18257 wine_fn_config_dll vcomp enable_vcomp
18258 wine_fn_config_test dlls/vcomp/tests vcomp_test
18259 wine_fn_config_dll vcomp100 enable_vcomp100
18260 wine_fn_config_dll vcomp110 enable_vcomp110
18261 wine_fn_config_dll vcomp120 enable_vcomp120
18262 wine_fn_config_dll vcomp140 enable_vcomp140
18263 wine_fn_config_dll vcomp90 enable_vcomp90
18264 wine_fn_config_dll vcruntime140 enable_vcruntime140
18265 wine_fn_config_dll vdhcp.vxd enable_win16
18266 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18267 wine_fn_config_dll ver.dll16 enable_win16
18268 wine_fn_config_dll version enable_version implib
18269 wine_fn_config_test dlls/version/tests version_test
18270 wine_fn_config_dll vmm.vxd enable_win16
18271 wine_fn_config_dll vnbt.vxd enable_win16
18272 wine_fn_config_dll vnetbios.vxd enable_win16
18273 wine_fn_config_dll vssapi enable_vssapi
18274 wine_fn_config_dll vtdapi.vxd enable_win16
18275 wine_fn_config_dll vwin32.vxd enable_win16
18276 wine_fn_config_dll w32skrnl enable_win16
18277 wine_fn_config_dll w32sys.dll16 enable_win16
18278 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18279 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18280 wine_fn_config_dll wbemprox enable_wbemprox clean
18281 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18282 wine_fn_config_dll webservices enable_webservices implib
18283 wine_fn_config_test dlls/webservices/tests webservices_test
18284 wine_fn_config_dll wer enable_wer implib
18285 wine_fn_config_test dlls/wer/tests wer_test
18286 wine_fn_config_dll wevtapi enable_wevtapi
18287 wine_fn_config_dll wiaservc enable_wiaservc clean
18288 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18289 wine_fn_config_dll wimgapi enable_wimgapi
18290 wine_fn_config_dll win32s16.dll16 enable_win16
18291 wine_fn_config_dll win87em.dll16 enable_win16
18292 wine_fn_config_dll winaspi.dll16 enable_win16
18293 wine_fn_config_dll windebug.dll16 enable_win16
18294 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18295 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18296 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18297 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18298 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18299 wine_fn_config_dll winebus.sys enable_winebus_sys
18300 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18301 wine_fn_config_lib winecrt0
18302 wine_fn_config_dll wined3d enable_wined3d implib
18303 wine_fn_config_dll winegstreamer enable_winegstreamer
18304 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18305 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18306 wine_fn_config_dll winemapi enable_winemapi
18307 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18308 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18309 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18310 wine_fn_config_dll wineps16.drv16 enable_win16
18311 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18312 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18313 wine_fn_config_dll winex11.drv enable_winex11_drv
18314 wine_fn_config_dll wing.dll16 enable_win16
18315 wine_fn_config_dll wing32 enable_wing32
18316 wine_fn_config_dll winhttp enable_winhttp clean,implib
18317 wine_fn_config_test dlls/winhttp/tests winhttp_test
18318 wine_fn_config_dll wininet enable_wininet clean,implib
18319 wine_fn_config_test dlls/wininet/tests wininet_test
18320 wine_fn_config_dll winmm enable_winmm clean,implib
18321 wine_fn_config_test dlls/winmm/tests winmm_test
18322 wine_fn_config_dll winnls.dll16 enable_win16
18323 wine_fn_config_dll winnls32 enable_winnls32 implib
18324 wine_fn_config_dll winscard enable_winscard implib
18325 wine_fn_config_dll winsock.dll16 enable_win16
18326 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18327 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18328 wine_fn_config_dll winsta enable_winsta
18329 wine_fn_config_dll wintab.dll16 enable_win16
18330 wine_fn_config_dll wintab32 enable_wintab32 implib
18331 wine_fn_config_test dlls/wintab32/tests wintab32_test
18332 wine_fn_config_dll wintrust enable_wintrust implib
18333 wine_fn_config_test dlls/wintrust/tests wintrust_test
18334 wine_fn_config_dll wlanapi enable_wlanapi
18335 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18336 wine_fn_config_test dlls/wldap32/tests wldap32_test
18337 wine_fn_config_dll wmasf enable_wmasf
18338 wine_fn_config_dll wmi enable_wmi
18339 wine_fn_config_dll wmiutils enable_wmiutils clean
18340 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18341 wine_fn_config_dll wmp enable_wmp clean
18342 wine_fn_config_test dlls/wmp/tests wmp_test
18343 wine_fn_config_dll wmvcore enable_wmvcore
18344 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18345 wine_fn_config_dll wow32 enable_win16 implib
18346 wine_fn_config_dll wpc enable_wpc clean
18347 wine_fn_config_test dlls/wpc/tests wpc_test
18348 wine_fn_config_dll wpcap enable_wpcap
18349 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18350 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18351 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18352 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18353 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18354 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18355 wine_fn_config_dll wsock32 enable_wsock32 implib
18356 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18357 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18358 wine_fn_config_dll wuapi enable_wuapi clean
18359 wine_fn_config_dll wuaueng enable_wuaueng
18360 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18361 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18362 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18363 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18364 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18365 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18366 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18367 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18368 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18369 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18370 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18371 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18372 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18373 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18374 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18375 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18376 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18377 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18378 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18379 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18380 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18381 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18382 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18383 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18384 wine_fn_config_dll xinput1_1 enable_xinput1_1
18385 wine_fn_config_dll xinput1_2 enable_xinput1_2
18386 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18387 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18388 wine_fn_config_dll xinput1_4 enable_xinput1_4
18389 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18390 wine_fn_config_dll xmllite enable_xmllite implib
18391 wine_fn_config_test dlls/xmllite/tests xmllite_test
18392 wine_fn_config_dll xolehlp enable_xolehlp
18393 wine_fn_config_dll xpsprint enable_xpsprint
18394 wine_fn_config_dll xpssvcs enable_xpssvcs
18395 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18396 wine_fn_config_makefile include enable_include clean,install-dev
18397 wine_fn_config_makefile libs/port enable_libs_port
18398 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18399 wine_fn_config_makefile libs/wpp enable_libs_wpp
18400 wine_fn_config_makefile loader enable_loader clean,install-lib
18401 wine_fn_config_makefile po enable_po clean
18402 wine_fn_config_program arp enable_arp install
18403 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18404 wine_fn_config_program attrib enable_attrib clean,install
18405 wine_fn_config_program cabarc enable_cabarc install
18406 wine_fn_config_program cacls enable_cacls install
18407 wine_fn_config_program clock enable_clock clean,install
18408 wine_fn_config_program cmd enable_cmd clean,install
18409 wine_fn_config_test programs/cmd/tests cmd.exe_test
18410 wine_fn_config_program conhost enable_conhost install
18411 wine_fn_config_program control enable_control install
18412 wine_fn_config_program cscript enable_cscript clean,install
18413 wine_fn_config_program dpnsvr enable_dpnsvr install
18414 wine_fn_config_program dxdiag enable_dxdiag clean,install
18415 wine_fn_config_program eject enable_eject install
18416 wine_fn_config_program expand enable_expand install
18417 wine_fn_config_program explorer enable_explorer clean,install
18418 wine_fn_config_program extrac32 enable_extrac32 install
18419 wine_fn_config_program findstr enable_findstr install
18420 wine_fn_config_program fsutil enable_fsutil install
18421 wine_fn_config_program hh enable_hh install
18422 wine_fn_config_program hostname enable_hostname clean,install
18423 wine_fn_config_program icacls enable_icacls install
18424 wine_fn_config_program icinfo enable_icinfo install
18425 wine_fn_config_program iexplore enable_iexplore install
18426 wine_fn_config_program ipconfig enable_ipconfig clean,install
18427 wine_fn_config_program lodctr enable_lodctr install
18428 wine_fn_config_program mofcomp enable_mofcomp install
18429 wine_fn_config_program mshta enable_mshta install
18430 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18431 wine_fn_config_program msinfo32 enable_msinfo32 install
18432 wine_fn_config_program net enable_net clean,install
18433 wine_fn_config_program netsh enable_netsh install
18434 wine_fn_config_program netstat enable_netstat clean,install
18435 wine_fn_config_program ngen enable_ngen install
18436 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18437 wine_fn_config_program oleview enable_oleview clean,install
18438 wine_fn_config_program ping enable_ping install
18439 wine_fn_config_program plugplay enable_plugplay install
18440 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18441 wine_fn_config_program progman enable_progman clean,install
18442 wine_fn_config_program reg enable_reg clean,install
18443 wine_fn_config_test programs/reg/tests reg.exe_test
18444 wine_fn_config_program regasm enable_regasm install
18445 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18446 wine_fn_config_test programs/regedit/tests regedit.exe_test
18447 wine_fn_config_program regsvcs enable_regsvcs install
18448 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18449 wine_fn_config_program rpcss enable_rpcss clean,install
18450 wine_fn_config_program rundll.exe16 enable_win16 install
18451 wine_fn_config_program rundll32 enable_rundll32 install
18452 wine_fn_config_program sc enable_sc install
18453 wine_fn_config_program schtasks enable_schtasks install
18454 wine_fn_config_program sdbinst enable_sdbinst install
18455 wine_fn_config_program secedit enable_secedit install
18456 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18457 wine_fn_config_program services enable_services clean,install
18458 wine_fn_config_test programs/services/tests services.exe_test
18459 wine_fn_config_program shutdown enable_shutdown install
18460 wine_fn_config_program spoolsv enable_spoolsv install
18461 wine_fn_config_program start enable_start clean,install
18462 wine_fn_config_program svchost enable_svchost install
18463 wine_fn_config_program systeminfo enable_systeminfo install
18464 wine_fn_config_program taskkill enable_taskkill clean,install
18465 wine_fn_config_program tasklist enable_tasklist install
18466 wine_fn_config_program taskmgr enable_taskmgr clean,install
18467 wine_fn_config_program termsv enable_termsv install
18468 wine_fn_config_program uninstaller enable_uninstaller clean,install
18469 wine_fn_config_program unlodctr enable_unlodctr install
18470 wine_fn_config_program view enable_view clean,install
18471 wine_fn_config_program wevtutil enable_wevtutil install
18472 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18473 wine_fn_config_program winebrowser enable_winebrowser install
18474 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18475 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18476 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18477 wine_fn_config_program winedevice enable_winedevice install
18478 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18479 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18480 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18481 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18482 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18483 wine_fn_config_program winetest enable_winetest clean
18484 wine_fn_config_program winevdm enable_win16 install
18485 wine_fn_config_program winhelp.exe16 enable_win16 install
18486 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18487 wine_fn_config_program winoldap.mod16 enable_win16 install
18488 wine_fn_config_program winver enable_winver install
18489 wine_fn_config_program wmic enable_wmic clean,install
18490 wine_fn_config_program wmplayer enable_wmplayer install
18491 wine_fn_config_program wordpad enable_wordpad clean,install
18492 wine_fn_config_program write enable_write clean,install
18493 wine_fn_config_program wscript enable_wscript clean,install
18494 wine_fn_config_test programs/wscript/tests wscript.exe_test
18495 wine_fn_config_program wusa enable_wusa install
18496 wine_fn_config_program xcopy enable_xcopy clean,install
18497 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18498 wine_fn_config_makefile server enable_server clean,install-lib
18499 wine_fn_config_tool tools clean
18500 wine_fn_config_tool tools/sfnt2fon clean
18501 wine_fn_config_tool tools/widl clean,install-dev
18502 wine_fn_config_tool tools/winebuild clean,install-dev
18503 wine_fn_config_tool tools/winedump clean,install-dev
18504 wine_fn_config_tool tools/winegcc clean,install-dev
18505 wine_fn_config_tool tools/winemaker clean,install-dev
18506 wine_fn_config_tool tools/wmc clean,install-dev
18507 wine_fn_config_tool tools/wrc clean,install-dev
18510 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18511 wine_fn_append_file CONFIGURE_TARGETS "tags"
18512 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18513 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18514 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18515 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18516 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18517 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18519 if test "x$enable_tools" != xno
18520 then
18521 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18522 ac_config_commands="$ac_config_commands tools/makedep"
18526 ac_config_commands="$ac_config_commands Makefile"
18529 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18533 if test "x$enable_maintainer_mode" = xyes
18534 then
18535 wine_fn_append_rule "configure: configure.ac aclocal.m4
18536 autoconf --warnings=all
18537 include/config.h.in: include/stamp-h.in
18538 include/stamp-h.in: configure.ac aclocal.m4
18539 autoheader --warnings=all
18540 @echo timestamp > \$@"
18543 if test "x$enable_tools" != xno
18544 then
18545 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18546 @./config.status tools/makedep
18547 Makefile: tools/makedep$ac_exeext"
18548 else
18549 wine_fn_append_rule "\$(MAKEDEP):
18550 @echo \"You need to run make in $TOOLSDIR first\" && false"
18553 if test -n "$with_wine64"
18554 then
18555 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18556 fonts server:
18557 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18558 $with_wine64/loader/wine:
18559 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18560 $with_wine64/loader/wine-preloader:
18561 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18562 clean::
18563 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18564 else
18565 WINELOADER_INSTALL="wine.inf"
18567 wine_fn_append_rule "install install-lib::
18568 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18569 uninstall::
18570 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18571 case $host_os in
18572 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18573 *) wine_fn_append_rule "install install-lib::
18574 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18575 uninstall::
18576 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18577 esac
18580 $as_echo " done" >&6
18581 cat >confcache <<\_ACEOF
18582 # This file is a shell script that caches the results of configure
18583 # tests run on this system so they can be shared between configure
18584 # scripts and configure runs, see configure's option --config-cache.
18585 # It is not useful on other systems. If it contains results you don't
18586 # want to keep, you may remove or edit it.
18588 # config.status only pays attention to the cache file if you give it
18589 # the --recheck option to rerun configure.
18591 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18592 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18593 # following values.
18595 _ACEOF
18597 # The following way of writing the cache mishandles newlines in values,
18598 # but we know of no workaround that is simple, portable, and efficient.
18599 # So, we kill variables containing newlines.
18600 # Ultrix sh set writes to stderr and can't be redirected directly,
18601 # and sets the high bit in the cache file unless we assign to the vars.
18603 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18604 eval ac_val=\$$ac_var
18605 case $ac_val in #(
18606 *${as_nl}*)
18607 case $ac_var in #(
18608 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18609 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18610 esac
18611 case $ac_var in #(
18612 _ | IFS | as_nl) ;; #(
18613 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18614 *) { eval $ac_var=; unset $ac_var;} ;;
18615 esac ;;
18616 esac
18617 done
18619 (set) 2>&1 |
18620 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18621 *${as_nl}ac_space=\ *)
18622 # `set' does not quote correctly, so add quotes: double-quote
18623 # substitution turns \\\\ into \\, and sed turns \\ into \.
18624 sed -n \
18625 "s/'/'\\\\''/g;
18626 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18627 ;; #(
18629 # `set' quotes correctly as required by POSIX, so do not add quotes.
18630 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18632 esac |
18633 sort
18635 sed '
18636 /^ac_cv_env_/b end
18637 t clear
18638 :clear
18639 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18640 t end
18641 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18642 :end' >>confcache
18643 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18644 if test -w "$cache_file"; then
18645 if test "x$cache_file" != "x/dev/null"; then
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18647 $as_echo "$as_me: updating cache $cache_file" >&6;}
18648 if test ! -f "$cache_file" || test -h "$cache_file"; then
18649 cat confcache >"$cache_file"
18650 else
18651 case $cache_file in #(
18652 */* | ?:*)
18653 mv -f confcache "$cache_file"$$ &&
18654 mv -f "$cache_file"$$ "$cache_file" ;; #(
18656 mv -f confcache "$cache_file" ;;
18657 esac
18660 else
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18662 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18665 rm -f confcache
18667 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18668 # Let make expand exec_prefix.
18669 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18671 DEFS=-DHAVE_CONFIG_H
18673 ac_libobjs=
18674 ac_ltlibobjs=
18676 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18677 # 1. Remove the extension, and $U if already installed.
18678 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18679 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18680 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18681 # will be set to the directory where LIBOBJS objects are built.
18682 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18683 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18684 done
18685 LIBOBJS=$ac_libobjs
18687 LTLIBOBJS=$ac_ltlibobjs
18691 : "${CONFIG_STATUS=./config.status}"
18692 ac_write_fail=0
18693 ac_clean_files_save=$ac_clean_files
18694 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18696 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18697 as_write_fail=0
18698 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18699 #! $SHELL
18700 # Generated by $as_me.
18701 # Run this file to recreate the current configuration.
18702 # Compiler output produced by configure, useful for debugging
18703 # configure, is in config.log if it exists.
18705 debug=false
18706 ac_cs_recheck=false
18707 ac_cs_silent=false
18709 SHELL=\${CONFIG_SHELL-$SHELL}
18710 export SHELL
18711 _ASEOF
18712 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18713 ## -------------------- ##
18714 ## M4sh Initialization. ##
18715 ## -------------------- ##
18717 # Be more Bourne compatible
18718 DUALCASE=1; export DUALCASE # for MKS sh
18719 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18720 emulate sh
18721 NULLCMD=:
18722 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18723 # is contrary to our usage. Disable this feature.
18724 alias -g '${1+"$@"}'='"$@"'
18725 setopt NO_GLOB_SUBST
18726 else
18727 case `(set -o) 2>/dev/null` in #(
18728 *posix*) :
18729 set -o posix ;; #(
18730 *) :
18732 esac
18736 as_nl='
18738 export as_nl
18739 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18740 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18741 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18742 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18743 # Prefer a ksh shell builtin over an external printf program on Solaris,
18744 # but without wasting forks for bash or zsh.
18745 if test -z "$BASH_VERSION$ZSH_VERSION" \
18746 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18747 as_echo='print -r --'
18748 as_echo_n='print -rn --'
18749 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18750 as_echo='printf %s\n'
18751 as_echo_n='printf %s'
18752 else
18753 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18754 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18755 as_echo_n='/usr/ucb/echo -n'
18756 else
18757 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18758 as_echo_n_body='eval
18759 arg=$1;
18760 case $arg in #(
18761 *"$as_nl"*)
18762 expr "X$arg" : "X\\(.*\\)$as_nl";
18763 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18764 esac;
18765 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18767 export as_echo_n_body
18768 as_echo_n='sh -c $as_echo_n_body as_echo'
18770 export as_echo_body
18771 as_echo='sh -c $as_echo_body as_echo'
18774 # The user is always right.
18775 if test "${PATH_SEPARATOR+set}" != set; then
18776 PATH_SEPARATOR=:
18777 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18778 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18779 PATH_SEPARATOR=';'
18784 # IFS
18785 # We need space, tab and new line, in precisely that order. Quoting is
18786 # there to prevent editors from complaining about space-tab.
18787 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18788 # splitting by setting IFS to empty value.)
18789 IFS=" "" $as_nl"
18791 # Find who we are. Look in the path if we contain no directory separator.
18792 as_myself=
18793 case $0 in #((
18794 *[\\/]* ) as_myself=$0 ;;
18795 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18796 for as_dir in $PATH
18798 IFS=$as_save_IFS
18799 test -z "$as_dir" && as_dir=.
18800 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18801 done
18802 IFS=$as_save_IFS
18805 esac
18806 # We did not find ourselves, most probably we were run as `sh COMMAND'
18807 # in which case we are not to be found in the path.
18808 if test "x$as_myself" = x; then
18809 as_myself=$0
18811 if test ! -f "$as_myself"; then
18812 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18813 exit 1
18816 # Unset variables that we do not need and which cause bugs (e.g. in
18817 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18818 # suppresses any "Segmentation fault" message there. '((' could
18819 # trigger a bug in pdksh 5.2.14.
18820 for as_var in BASH_ENV ENV MAIL MAILPATH
18821 do eval test x\${$as_var+set} = xset \
18822 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18823 done
18824 PS1='$ '
18825 PS2='> '
18826 PS4='+ '
18828 # NLS nuisances.
18829 LC_ALL=C
18830 export LC_ALL
18831 LANGUAGE=C
18832 export LANGUAGE
18834 # CDPATH.
18835 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18838 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18839 # ----------------------------------------
18840 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18841 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18842 # script with STATUS, using 1 if that was 0.
18843 as_fn_error ()
18845 as_status=$1; test $as_status -eq 0 && as_status=1
18846 if test "$4"; then
18847 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18848 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18850 $as_echo "$as_me: error: $2" >&2
18851 as_fn_exit $as_status
18852 } # as_fn_error
18855 # as_fn_set_status STATUS
18856 # -----------------------
18857 # Set $? to STATUS, without forking.
18858 as_fn_set_status ()
18860 return $1
18861 } # as_fn_set_status
18863 # as_fn_exit STATUS
18864 # -----------------
18865 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18866 as_fn_exit ()
18868 set +e
18869 as_fn_set_status $1
18870 exit $1
18871 } # as_fn_exit
18873 # as_fn_unset VAR
18874 # ---------------
18875 # Portably unset VAR.
18876 as_fn_unset ()
18878 { eval $1=; unset $1;}
18880 as_unset=as_fn_unset
18881 # as_fn_append VAR VALUE
18882 # ----------------------
18883 # Append the text in VALUE to the end of the definition contained in VAR. Take
18884 # advantage of any shell optimizations that allow amortized linear growth over
18885 # repeated appends, instead of the typical quadratic growth present in naive
18886 # implementations.
18887 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18888 eval 'as_fn_append ()
18890 eval $1+=\$2
18892 else
18893 as_fn_append ()
18895 eval $1=\$$1\$2
18897 fi # as_fn_append
18899 # as_fn_arith ARG...
18900 # ------------------
18901 # Perform arithmetic evaluation on the ARGs, and store the result in the
18902 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18903 # must be portable across $(()) and expr.
18904 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18905 eval 'as_fn_arith ()
18907 as_val=$(( $* ))
18909 else
18910 as_fn_arith ()
18912 as_val=`expr "$@" || test $? -eq 1`
18914 fi # as_fn_arith
18917 if expr a : '\(a\)' >/dev/null 2>&1 &&
18918 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18919 as_expr=expr
18920 else
18921 as_expr=false
18924 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18925 as_basename=basename
18926 else
18927 as_basename=false
18930 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18931 as_dirname=dirname
18932 else
18933 as_dirname=false
18936 as_me=`$as_basename -- "$0" ||
18937 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18938 X"$0" : 'X\(//\)$' \| \
18939 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18940 $as_echo X/"$0" |
18941 sed '/^.*\/\([^/][^/]*\)\/*$/{
18942 s//\1/
18945 /^X\/\(\/\/\)$/{
18946 s//\1/
18949 /^X\/\(\/\).*/{
18950 s//\1/
18953 s/.*/./; q'`
18955 # Avoid depending upon Character Ranges.
18956 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18957 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18958 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18959 as_cr_digits='0123456789'
18960 as_cr_alnum=$as_cr_Letters$as_cr_digits
18962 ECHO_C= ECHO_N= ECHO_T=
18963 case `echo -n x` in #(((((
18964 -n*)
18965 case `echo 'xy\c'` in
18966 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18967 xy) ECHO_C='\c';;
18968 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18969 ECHO_T=' ';;
18970 esac;;
18972 ECHO_N='-n';;
18973 esac
18975 rm -f conf$$ conf$$.exe conf$$.file
18976 if test -d conf$$.dir; then
18977 rm -f conf$$.dir/conf$$.file
18978 else
18979 rm -f conf$$.dir
18980 mkdir conf$$.dir 2>/dev/null
18982 if (echo >conf$$.file) 2>/dev/null; then
18983 if ln -s conf$$.file conf$$ 2>/dev/null; then
18984 as_ln_s='ln -s'
18985 # ... but there are two gotchas:
18986 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18987 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18988 # In both cases, we have to default to `cp -pR'.
18989 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18990 as_ln_s='cp -pR'
18991 elif ln conf$$.file conf$$ 2>/dev/null; then
18992 as_ln_s=ln
18993 else
18994 as_ln_s='cp -pR'
18996 else
18997 as_ln_s='cp -pR'
18999 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19000 rmdir conf$$.dir 2>/dev/null
19003 # as_fn_mkdir_p
19004 # -------------
19005 # Create "$as_dir" as a directory, including parents if necessary.
19006 as_fn_mkdir_p ()
19009 case $as_dir in #(
19010 -*) as_dir=./$as_dir;;
19011 esac
19012 test -d "$as_dir" || eval $as_mkdir_p || {
19013 as_dirs=
19014 while :; do
19015 case $as_dir in #(
19016 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19017 *) as_qdir=$as_dir;;
19018 esac
19019 as_dirs="'$as_qdir' $as_dirs"
19020 as_dir=`$as_dirname -- "$as_dir" ||
19021 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19022 X"$as_dir" : 'X\(//\)[^/]' \| \
19023 X"$as_dir" : 'X\(//\)$' \| \
19024 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19025 $as_echo X"$as_dir" |
19026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19027 s//\1/
19030 /^X\(\/\/\)[^/].*/{
19031 s//\1/
19034 /^X\(\/\/\)$/{
19035 s//\1/
19038 /^X\(\/\).*/{
19039 s//\1/
19042 s/.*/./; q'`
19043 test -d "$as_dir" && break
19044 done
19045 test -z "$as_dirs" || eval "mkdir $as_dirs"
19046 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19049 } # as_fn_mkdir_p
19050 if mkdir -p . 2>/dev/null; then
19051 as_mkdir_p='mkdir -p "$as_dir"'
19052 else
19053 test -d ./-p && rmdir ./-p
19054 as_mkdir_p=false
19058 # as_fn_executable_p FILE
19059 # -----------------------
19060 # Test if FILE is an executable regular file.
19061 as_fn_executable_p ()
19063 test -f "$1" && test -x "$1"
19064 } # as_fn_executable_p
19065 as_test_x='test -x'
19066 as_executable_p=as_fn_executable_p
19068 # Sed expression to map a string onto a valid CPP name.
19069 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19071 # Sed expression to map a string onto a valid variable name.
19072 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19075 exec 6>&1
19076 ## ----------------------------------- ##
19077 ## Main body of $CONFIG_STATUS script. ##
19078 ## ----------------------------------- ##
19079 _ASEOF
19080 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19083 # Save the log message, to keep $0 and so on meaningful, and to
19084 # report actual input values of CONFIG_FILES etc. instead of their
19085 # values after options handling.
19086 ac_log="
19087 This file was extended by Wine $as_me 1.9.19, which was
19088 generated by GNU Autoconf 2.69. Invocation command line was
19090 CONFIG_FILES = $CONFIG_FILES
19091 CONFIG_HEADERS = $CONFIG_HEADERS
19092 CONFIG_LINKS = $CONFIG_LINKS
19093 CONFIG_COMMANDS = $CONFIG_COMMANDS
19094 $ $0 $@
19096 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19099 _ACEOF
19101 case $ac_config_files in *"
19102 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19103 esac
19105 case $ac_config_headers in *"
19106 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19107 esac
19110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19111 # Files that config.status was made for.
19112 config_files="$ac_config_files"
19113 config_headers="$ac_config_headers"
19114 config_links="$ac_config_links"
19115 config_commands="$ac_config_commands"
19117 _ACEOF
19119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19120 ac_cs_usage="\
19121 \`$as_me' instantiates files and other configuration actions
19122 from templates according to the current configuration. Unless the files
19123 and actions are specified as TAGs, all are instantiated by default.
19125 Usage: $0 [OPTION]... [TAG]...
19127 -h, --help print this help, then exit
19128 -V, --version print version number and configuration settings, then exit
19129 --config print configuration, then exit
19130 -q, --quiet, --silent
19131 do not print progress messages
19132 -d, --debug don't remove temporary files
19133 --recheck update $as_me by reconfiguring in the same conditions
19134 --file=FILE[:TEMPLATE]
19135 instantiate the configuration file FILE
19136 --header=FILE[:TEMPLATE]
19137 instantiate the configuration header FILE
19139 Configuration files:
19140 $config_files
19142 Configuration headers:
19143 $config_headers
19145 Configuration links:
19146 $config_links
19148 Configuration commands:
19149 $config_commands
19151 Report bugs to <wine-devel@winehq.org>.
19152 Wine home page: <http://www.winehq.org>."
19154 _ACEOF
19155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19156 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19157 ac_cs_version="\\
19158 Wine config.status 1.9.19
19159 configured by $0, generated by GNU Autoconf 2.69,
19160 with options \\"\$ac_cs_config\\"
19162 Copyright (C) 2012 Free Software Foundation, Inc.
19163 This config.status script is free software; the Free Software Foundation
19164 gives unlimited permission to copy, distribute and modify it."
19166 ac_pwd='$ac_pwd'
19167 srcdir='$srcdir'
19168 test -n "\$AWK" || AWK=awk
19169 _ACEOF
19171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19172 # The default lists apply if the user does not specify any file.
19173 ac_need_defaults=:
19174 while test $# != 0
19176 case $1 in
19177 --*=?*)
19178 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19179 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19180 ac_shift=:
19182 --*=)
19183 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19184 ac_optarg=
19185 ac_shift=:
19188 ac_option=$1
19189 ac_optarg=$2
19190 ac_shift=shift
19192 esac
19194 case $ac_option in
19195 # Handling of the options.
19196 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19197 ac_cs_recheck=: ;;
19198 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19199 $as_echo "$ac_cs_version"; exit ;;
19200 --config | --confi | --conf | --con | --co | --c )
19201 $as_echo "$ac_cs_config"; exit ;;
19202 --debug | --debu | --deb | --de | --d | -d )
19203 debug=: ;;
19204 --file | --fil | --fi | --f )
19205 $ac_shift
19206 case $ac_optarg in
19207 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19208 '') as_fn_error $? "missing file argument" ;;
19209 esac
19210 as_fn_append CONFIG_FILES " '$ac_optarg'"
19211 ac_need_defaults=false;;
19212 --header | --heade | --head | --hea )
19213 $ac_shift
19214 case $ac_optarg in
19215 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19216 esac
19217 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19218 ac_need_defaults=false;;
19219 --he | --h)
19220 # Conflict between --help and --header
19221 as_fn_error $? "ambiguous option: \`$1'
19222 Try \`$0 --help' for more information.";;
19223 --help | --hel | -h )
19224 $as_echo "$ac_cs_usage"; exit ;;
19225 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19226 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19227 ac_cs_silent=: ;;
19229 # This is an error.
19230 -*) as_fn_error $? "unrecognized option: \`$1'
19231 Try \`$0 --help' for more information." ;;
19233 *) as_fn_append ac_config_targets " $1"
19234 ac_need_defaults=false ;;
19236 esac
19237 shift
19238 done
19240 ac_configure_extra_args=
19242 if $ac_cs_silent; then
19243 exec 6>/dev/null
19244 ac_configure_extra_args="$ac_configure_extra_args --silent"
19247 _ACEOF
19248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19249 if \$ac_cs_recheck; then
19250 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19251 shift
19252 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19253 CONFIG_SHELL='$SHELL'
19254 export CONFIG_SHELL
19255 exec "\$@"
19258 _ACEOF
19259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19260 exec 5>>config.log
19262 echo
19263 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19264 ## Running $as_me. ##
19265 _ASBOX
19266 $as_echo "$ac_log"
19267 } >&5
19269 _ACEOF
19270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19272 # INIT-COMMANDS
19274 wine_fn_output_makedep ()
19276 as_dir=tools; as_fn_mkdir_p
19277 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19279 wine_fn_output_makefile ()
19281 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19282 `cat $wine_rules_file`
19283 _WINE_EOF
19284 as_fn_error $? "could not create Makefile" "$LINENO" 5
19287 _ACEOF
19289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19291 # Handling of arguments.
19292 for ac_config_target in $ac_config_targets
19294 case $ac_config_target in
19295 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19296 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19297 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19298 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19299 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19300 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19301 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19302 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19303 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19304 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19305 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19306 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19307 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19309 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19310 esac
19311 done
19314 # If the user did not use the arguments to specify the items to instantiate,
19315 # then the envvar interface is used. Set only those that are not.
19316 # We use the long form for the default assignment because of an extremely
19317 # bizarre bug on SunOS 4.1.3.
19318 if $ac_need_defaults; then
19319 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19320 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19321 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19322 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19325 # Have a temporary directory for convenience. Make it in the build tree
19326 # simply because there is no reason against having it here, and in addition,
19327 # creating and moving files from /tmp can sometimes cause problems.
19328 # Hook for its removal unless debugging.
19329 # Note that there is a small window in which the directory will not be cleaned:
19330 # after its creation but before its name has been assigned to `$tmp'.
19331 $debug ||
19333 tmp= ac_tmp=
19334 trap 'exit_status=$?
19335 : "${ac_tmp:=$tmp}"
19336 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19338 trap 'as_fn_exit 1' 1 2 13 15
19340 # Create a (secure) tmp directory for tmp files.
19343 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19344 test -d "$tmp"
19345 } ||
19347 tmp=./conf$$-$RANDOM
19348 (umask 077 && mkdir "$tmp")
19349 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19350 ac_tmp=$tmp
19352 # Set up the scripts for CONFIG_FILES section.
19353 # No need to generate them if there are no CONFIG_FILES.
19354 # This happens for instance with `./config.status config.h'.
19355 if test -n "$CONFIG_FILES"; then
19358 ac_cr=`echo X | tr X '\015'`
19359 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19360 # But we know of no other shell where ac_cr would be empty at this
19361 # point, so we can use a bashism as a fallback.
19362 if test "x$ac_cr" = x; then
19363 eval ac_cr=\$\'\\r\'
19365 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19366 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19367 ac_cs_awk_cr='\\r'
19368 else
19369 ac_cs_awk_cr=$ac_cr
19372 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19373 _ACEOF
19377 echo "cat >conf$$subs.awk <<_ACEOF" &&
19378 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19379 echo "_ACEOF"
19380 } >conf$$subs.sh ||
19381 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19382 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19383 ac_delim='%!_!# '
19384 for ac_last_try in false false false false false :; do
19385 . ./conf$$subs.sh ||
19386 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19388 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19389 if test $ac_delim_n = $ac_delim_num; then
19390 break
19391 elif $ac_last_try; then
19392 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19393 else
19394 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19396 done
19397 rm -f conf$$subs.sh
19399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19400 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19401 _ACEOF
19402 sed -n '
19404 s/^/S["/; s/!.*/"]=/
19407 s/^[^!]*!//
19408 :repl
19409 t repl
19410 s/'"$ac_delim"'$//
19411 t delim
19414 s/\(.\{148\}\)..*/\1/
19415 t more1
19416 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19419 b repl
19420 :more1
19421 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19424 s/.\{148\}//
19425 t nl
19426 :delim
19428 s/\(.\{148\}\)..*/\1/
19429 t more2
19430 s/["\\]/\\&/g; s/^/"/; s/$/"/
19433 :more2
19434 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19437 s/.\{148\}//
19438 t delim
19439 ' <conf$$subs.awk | sed '
19440 /^[^""]/{
19442 s/\n//
19444 ' >>$CONFIG_STATUS || ac_write_fail=1
19445 rm -f conf$$subs.awk
19446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19447 _ACAWK
19448 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19449 for (key in S) S_is_set[key] = 1
19450 FS = "\a"
19454 line = $ 0
19455 nfields = split(line, field, "@")
19456 substed = 0
19457 len = length(field[1])
19458 for (i = 2; i < nfields; i++) {
19459 key = field[i]
19460 keylen = length(key)
19461 if (S_is_set[key]) {
19462 value = S[key]
19463 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19464 len += length(value) + length(field[++i])
19465 substed = 1
19466 } else
19467 len += 1 + keylen
19470 print line
19473 _ACAWK
19474 _ACEOF
19475 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19476 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19477 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19478 else
19480 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19481 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19482 _ACEOF
19484 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19485 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19486 # trailing colons and then remove the whole line if VPATH becomes empty
19487 # (actually we leave an empty line to preserve line numbers).
19488 if test "x$srcdir" = x.; then
19489 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19491 s///
19492 s/^/:/
19493 s/[ ]*$/:/
19494 s/:\$(srcdir):/:/g
19495 s/:\${srcdir}:/:/g
19496 s/:@srcdir@:/:/g
19497 s/^:*//
19498 s/:*$//
19500 s/\(=[ ]*\).*/\1/
19502 s/\n//
19503 s/^[^=]*=[ ]*$//
19507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19508 fi # test -n "$CONFIG_FILES"
19510 # Set up the scripts for CONFIG_HEADERS section.
19511 # No need to generate them if there are no CONFIG_HEADERS.
19512 # This happens for instance with `./config.status Makefile'.
19513 if test -n "$CONFIG_HEADERS"; then
19514 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19515 BEGIN {
19516 _ACEOF
19518 # Transform confdefs.h into an awk script `defines.awk', embedded as
19519 # here-document in config.status, that substitutes the proper values into
19520 # config.h.in to produce config.h.
19522 # Create a delimiter string that does not exist in confdefs.h, to ease
19523 # handling of long lines.
19524 ac_delim='%!_!# '
19525 for ac_last_try in false false :; do
19526 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19527 if test -z "$ac_tt"; then
19528 break
19529 elif $ac_last_try; then
19530 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19531 else
19532 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19534 done
19536 # For the awk script, D is an array of macro values keyed by name,
19537 # likewise P contains macro parameters if any. Preserve backslash
19538 # newline sequences.
19540 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19541 sed -n '
19542 s/.\{148\}/&'"$ac_delim"'/g
19543 t rset
19544 :rset
19545 s/^[ ]*#[ ]*define[ ][ ]*/ /
19546 t def
19548 :def
19549 s/\\$//
19550 t bsnl
19551 s/["\\]/\\&/g
19552 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19553 D["\1"]=" \3"/p
19554 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19556 :bsnl
19557 s/["\\]/\\&/g
19558 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19559 D["\1"]=" \3\\\\\\n"\\/p
19560 t cont
19561 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19562 t cont
19564 :cont
19566 s/.\{148\}/&'"$ac_delim"'/g
19567 t clear
19568 :clear
19569 s/\\$//
19570 t bsnlc
19571 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19573 :bsnlc
19574 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19575 b cont
19576 ' <confdefs.h | sed '
19577 s/'"$ac_delim"'/"\\\
19578 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19581 for (key in D) D_is_set[key] = 1
19582 FS = "\a"
19584 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19585 line = \$ 0
19586 split(line, arg, " ")
19587 if (arg[1] == "#") {
19588 defundef = arg[2]
19589 mac1 = arg[3]
19590 } else {
19591 defundef = substr(arg[1], 2)
19592 mac1 = arg[2]
19594 split(mac1, mac2, "(") #)
19595 macro = mac2[1]
19596 prefix = substr(line, 1, index(line, defundef) - 1)
19597 if (D_is_set[macro]) {
19598 # Preserve the white space surrounding the "#".
19599 print prefix "define", macro P[macro] D[macro]
19600 next
19601 } else {
19602 # Replace #undef with comments. This is necessary, for example,
19603 # in the case of _POSIX_SOURCE, which is predefined and required
19604 # on some systems where configure will not decide to define it.
19605 if (defundef == "undef") {
19606 print "/*", prefix defundef, macro, "*/"
19607 next
19611 { print }
19612 _ACAWK
19613 _ACEOF
19614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19615 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19616 fi # test -n "$CONFIG_HEADERS"
19619 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19620 shift
19621 for ac_tag
19623 case $ac_tag in
19624 :[FHLC]) ac_mode=$ac_tag; continue;;
19625 esac
19626 case $ac_mode$ac_tag in
19627 :[FHL]*:*);;
19628 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19629 :[FH]-) ac_tag=-:-;;
19630 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19631 esac
19632 ac_save_IFS=$IFS
19633 IFS=:
19634 set x $ac_tag
19635 IFS=$ac_save_IFS
19636 shift
19637 ac_file=$1
19638 shift
19640 case $ac_mode in
19641 :L) ac_source=$1;;
19642 :[FH])
19643 ac_file_inputs=
19644 for ac_f
19646 case $ac_f in
19647 -) ac_f="$ac_tmp/stdin";;
19648 *) # Look for the file first in the build tree, then in the source tree
19649 # (if the path is not absolute). The absolute path cannot be DOS-style,
19650 # because $ac_f cannot contain `:'.
19651 test -f "$ac_f" ||
19652 case $ac_f in
19653 [\\/$]*) false;;
19654 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19655 esac ||
19656 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19657 esac
19658 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19659 as_fn_append ac_file_inputs " '$ac_f'"
19660 done
19662 # Let's still pretend it is `configure' which instantiates (i.e., don't
19663 # use $as_me), people would be surprised to read:
19664 # /* config.h. Generated by config.status. */
19665 configure_input='Generated from '`
19666 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19667 `' by configure.'
19668 if test x"$ac_file" != x-; then
19669 configure_input="$ac_file. $configure_input"
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19671 $as_echo "$as_me: creating $ac_file" >&6;}
19673 # Neutralize special characters interpreted by sed in replacement strings.
19674 case $configure_input in #(
19675 *\&* | *\|* | *\\* )
19676 ac_sed_conf_input=`$as_echo "$configure_input" |
19677 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19678 *) ac_sed_conf_input=$configure_input;;
19679 esac
19681 case $ac_tag in
19682 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19683 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19684 esac
19686 esac
19688 ac_dir=`$as_dirname -- "$ac_file" ||
19689 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19690 X"$ac_file" : 'X\(//\)[^/]' \| \
19691 X"$ac_file" : 'X\(//\)$' \| \
19692 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19693 $as_echo X"$ac_file" |
19694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19695 s//\1/
19698 /^X\(\/\/\)[^/].*/{
19699 s//\1/
19702 /^X\(\/\/\)$/{
19703 s//\1/
19706 /^X\(\/\).*/{
19707 s//\1/
19710 s/.*/./; q'`
19711 as_dir="$ac_dir"; as_fn_mkdir_p
19712 ac_builddir=.
19714 case "$ac_dir" in
19715 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19717 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19718 # A ".." for each directory in $ac_dir_suffix.
19719 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19720 case $ac_top_builddir_sub in
19721 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19722 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19723 esac ;;
19724 esac
19725 ac_abs_top_builddir=$ac_pwd
19726 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19727 # for backward compatibility:
19728 ac_top_builddir=$ac_top_build_prefix
19730 case $srcdir in
19731 .) # We are building in place.
19732 ac_srcdir=.
19733 ac_top_srcdir=$ac_top_builddir_sub
19734 ac_abs_top_srcdir=$ac_pwd ;;
19735 [\\/]* | ?:[\\/]* ) # Absolute name.
19736 ac_srcdir=$srcdir$ac_dir_suffix;
19737 ac_top_srcdir=$srcdir
19738 ac_abs_top_srcdir=$srcdir ;;
19739 *) # Relative name.
19740 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19741 ac_top_srcdir=$ac_top_build_prefix$srcdir
19742 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19743 esac
19744 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19747 case $ac_mode in
19750 # CONFIG_FILE
19753 _ACEOF
19755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19756 # If the template does not know about datarootdir, expand it.
19757 # FIXME: This hack should be removed a few years after 2.60.
19758 ac_datarootdir_hack=; ac_datarootdir_seen=
19759 ac_sed_dataroot='
19760 /datarootdir/ {
19764 /@datadir@/p
19765 /@docdir@/p
19766 /@infodir@/p
19767 /@localedir@/p
19768 /@mandir@/p'
19769 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19770 *datarootdir*) ac_datarootdir_seen=yes;;
19771 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19773 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19774 _ACEOF
19775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19776 ac_datarootdir_hack='
19777 s&@datadir@&$datadir&g
19778 s&@docdir@&$docdir&g
19779 s&@infodir@&$infodir&g
19780 s&@localedir@&$localedir&g
19781 s&@mandir@&$mandir&g
19782 s&\\\${datarootdir}&$datarootdir&g' ;;
19783 esac
19784 _ACEOF
19786 # Neutralize VPATH when `$srcdir' = `.'.
19787 # Shell code in configure.ac might set extrasub.
19788 # FIXME: do we really want to maintain this feature?
19789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19790 ac_sed_extra="$ac_vpsub
19791 $extrasub
19792 _ACEOF
19793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19795 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19796 s|@configure_input@|$ac_sed_conf_input|;t t
19797 s&@top_builddir@&$ac_top_builddir_sub&;t t
19798 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19799 s&@srcdir@&$ac_srcdir&;t t
19800 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19801 s&@top_srcdir@&$ac_top_srcdir&;t t
19802 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19803 s&@builddir@&$ac_builddir&;t t
19804 s&@abs_builddir@&$ac_abs_builddir&;t t
19805 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19806 $ac_datarootdir_hack
19808 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19809 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19811 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19812 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19813 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19814 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19816 which seems to be undefined. Please make sure it is defined" >&5
19817 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19818 which seems to be undefined. Please make sure it is defined" >&2;}
19820 rm -f "$ac_tmp/stdin"
19821 case $ac_file in
19822 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19823 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19824 esac \
19825 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19829 # CONFIG_HEADER
19831 if test x"$ac_file" != x-; then
19833 $as_echo "/* $configure_input */" \
19834 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19835 } >"$ac_tmp/config.h" \
19836 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19837 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19838 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19839 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19840 else
19841 rm -f "$ac_file"
19842 mv "$ac_tmp/config.h" "$ac_file" \
19843 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19845 else
19846 $as_echo "/* $configure_input */" \
19847 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19848 || as_fn_error $? "could not create -" "$LINENO" 5
19853 # CONFIG_LINK
19856 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19858 else
19859 # Prefer the file from the source tree if names are identical.
19860 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19861 ac_source=$srcdir/$ac_source
19864 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19865 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19867 if test ! -r "$ac_source"; then
19868 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19870 rm -f "$ac_file"
19872 # Try a relative symlink, then a hard link, then a copy.
19873 case $ac_source in
19874 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19875 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19876 esac
19877 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19878 ln "$ac_source" "$ac_file" 2>/dev/null ||
19879 cp -p "$ac_source" "$ac_file" ||
19880 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19883 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19884 $as_echo "$as_me: executing $ac_file commands" >&6;}
19886 esac
19889 case $ac_file$ac_mode in
19890 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19891 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19892 "Makefile":C) wine_fn_output_makefile Makefile ;;
19894 esac
19895 done # for ac_tag
19898 as_fn_exit 0
19899 _ACEOF
19900 ac_clean_files=$ac_clean_files_save
19902 test $ac_write_fail = 0 ||
19903 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19906 # configure is writing to config.log, and then calls config.status.
19907 # config.status does its own redirection, appending to config.log.
19908 # Unfortunately, on DOS this fails, as config.log is still kept open
19909 # by configure, so config.status won't be able to write to it; its
19910 # output is simply discarded. So we exec the FD to /dev/null,
19911 # effectively closing config.log, so it can be properly (re)opened and
19912 # appended to by config.status. When coming back to configure, we
19913 # need to make the FD available again.
19914 if test "$no_create" != yes; then
19915 ac_cs_success=:
19916 ac_config_status_args=
19917 test "$silent" = yes &&
19918 ac_config_status_args="$ac_config_status_args --quiet"
19919 exec 5>/dev/null
19920 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19921 exec 5>>config.log
19922 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19923 # would make configure fail if this is the last instruction.
19924 $ac_cs_success || as_fn_exit 1
19926 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19928 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19932 if test "$no_create" = "yes"
19933 then
19934 exit 0
19937 ac_save_IFS="$IFS"
19938 if test "x$wine_notices" != x; then
19939 echo >&6
19940 IFS="|"
19941 for msg in $wine_notices; do
19942 IFS="$ac_save_IFS"
19943 if ${msg:+false} :; then :
19945 else
19946 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19947 $as_echo "$as_me: $msg" >&6;}
19949 done
19951 IFS="|"
19952 for msg in $wine_warnings; do
19953 IFS="$ac_save_IFS"
19954 if ${msg:+false} :; then :
19956 else
19957 echo >&2
19958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19959 $as_echo "$as_me: WARNING: $msg" >&2;}
19961 done
19962 IFS="$ac_save_IFS"
19964 $as_echo "
19965 $as_me: Finished. Do '${ac_make}' to compile Wine.
19966 " >&6