ntoskrnl.exe: Implement DevicePropertyEnumeratorName for IoGetDeviceProperty.
[wine.git] / configure
blobf842c8238228248606af52721cdae40bad2262a5
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_1
888 enable_api_ms_win_core_errorhandling_l1_1_0
889 enable_api_ms_win_core_errorhandling_l1_1_1
890 enable_api_ms_win_core_errorhandling_l1_1_2
891 enable_api_ms_win_core_fibers_l1_1_0
892 enable_api_ms_win_core_fibers_l1_1_1
893 enable_api_ms_win_core_file_l1_1_0
894 enable_api_ms_win_core_file_l1_2_0
895 enable_api_ms_win_core_file_l1_2_1
896 enable_api_ms_win_core_file_l2_1_0
897 enable_api_ms_win_core_file_l2_1_1
898 enable_api_ms_win_core_handle_l1_1_0
899 enable_api_ms_win_core_heap_l1_1_0
900 enable_api_ms_win_core_heap_l1_2_0
901 enable_api_ms_win_core_heap_obsolete_l1_1_0
902 enable_api_ms_win_core_interlocked_l1_1_0
903 enable_api_ms_win_core_interlocked_l1_2_0
904 enable_api_ms_win_core_io_l1_1_1
905 enable_api_ms_win_core_job_l1_1_0
906 enable_api_ms_win_core_job_l2_1_0
907 enable_api_ms_win_core_kernel32_legacy_l1_1_0
908 enable_api_ms_win_core_kernel32_legacy_l1_1_1
909 enable_api_ms_win_core_kernel32_private_l1_1_1
910 enable_api_ms_win_core_libraryloader_l1_1_0
911 enable_api_ms_win_core_libraryloader_l1_1_1
912 enable_api_ms_win_core_libraryloader_l1_2_0
913 enable_api_ms_win_core_localization_l1_1_0
914 enable_api_ms_win_core_localization_l1_2_0
915 enable_api_ms_win_core_localization_l1_2_1
916 enable_api_ms_win_core_localization_l2_1_0
917 enable_api_ms_win_core_localization_obsolete_l1_1_0
918 enable_api_ms_win_core_localization_obsolete_l1_2_0
919 enable_api_ms_win_core_localization_private_l1_1_0
920 enable_api_ms_win_core_localregistry_l1_1_0
921 enable_api_ms_win_core_memory_l1_1_0
922 enable_api_ms_win_core_memory_l1_1_1
923 enable_api_ms_win_core_memory_l1_1_2
924 enable_api_ms_win_core_misc_l1_1_0
925 enable_api_ms_win_core_namedpipe_l1_1_0
926 enable_api_ms_win_core_namedpipe_l1_2_0
927 enable_api_ms_win_core_namespace_l1_1_0
928 enable_api_ms_win_core_normalization_l1_1_0
929 enable_api_ms_win_core_path_l1_1_0
930 enable_api_ms_win_core_privateprofile_l1_1_1
931 enable_api_ms_win_core_processenvironment_l1_1_0
932 enable_api_ms_win_core_processenvironment_l1_2_0
933 enable_api_ms_win_core_processthreads_l1_1_0
934 enable_api_ms_win_core_processthreads_l1_1_1
935 enable_api_ms_win_core_processthreads_l1_1_2
936 enable_api_ms_win_core_profile_l1_1_0
937 enable_api_ms_win_core_psapi_l1_1_0
938 enable_api_ms_win_core_realtime_l1_1_0
939 enable_api_ms_win_core_registry_l1_1_0
940 enable_api_ms_win_core_registryuserspecific_l1_1_0
941 enable_api_ms_win_core_rtlsupport_l1_1_0
942 enable_api_ms_win_core_rtlsupport_l1_2_0
943 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
944 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
945 enable_api_ms_win_core_sidebyside_l1_1_0
946 enable_api_ms_win_core_string_l1_1_0
947 enable_api_ms_win_core_string_l2_1_0
948 enable_api_ms_win_core_string_obsolete_l1_1_0
949 enable_api_ms_win_core_stringansi_l1_1_0
950 enable_api_ms_win_core_synch_l1_1_0
951 enable_api_ms_win_core_synch_l1_2_0
952 enable_api_ms_win_core_sysinfo_l1_1_0
953 enable_api_ms_win_core_sysinfo_l1_2_0
954 enable_api_ms_win_core_sysinfo_l1_2_1
955 enable_api_ms_win_core_threadpool_l1_1_0
956 enable_api_ms_win_core_threadpool_l1_2_0
957 enable_api_ms_win_core_threadpool_legacy_l1_1_0
958 enable_api_ms_win_core_timezone_l1_1_0
959 enable_api_ms_win_core_toolhelp_l1_1_0
960 enable_api_ms_win_core_url_l1_1_0
961 enable_api_ms_win_core_util_l1_1_0
962 enable_api_ms_win_core_version_l1_1_0
963 enable_api_ms_win_core_versionansi_l1_1_0
964 enable_api_ms_win_core_windowserrorreporting_l1_1_0
965 enable_api_ms_win_core_winrt_error_l1_1_0
966 enable_api_ms_win_core_winrt_error_l1_1_1
967 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
968 enable_api_ms_win_core_winrt_l1_1_0
969 enable_api_ms_win_core_winrt_registration_l1_1_0
970 enable_api_ms_win_core_winrt_string_l1_1_0
971 enable_api_ms_win_core_wow64_l1_1_0
972 enable_api_ms_win_core_xstate_l2_1_0
973 enable_api_ms_win_crt_conio_l1_1_0
974 enable_api_ms_win_crt_convert_l1_1_0
975 enable_api_ms_win_crt_environment_l1_1_0
976 enable_api_ms_win_crt_filesystem_l1_1_0
977 enable_api_ms_win_crt_heap_l1_1_0
978 enable_api_ms_win_crt_locale_l1_1_0
979 enable_api_ms_win_crt_math_l1_1_0
980 enable_api_ms_win_crt_multibyte_l1_1_0
981 enable_api_ms_win_crt_private_l1_1_0
982 enable_api_ms_win_crt_process_l1_1_0
983 enable_api_ms_win_crt_runtime_l1_1_0
984 enable_api_ms_win_crt_stdio_l1_1_0
985 enable_api_ms_win_crt_string_l1_1_0
986 enable_api_ms_win_crt_time_l1_1_0
987 enable_api_ms_win_crt_utility_l1_1_0
988 enable_api_ms_win_downlevel_advapi32_l1_1_0
989 enable_api_ms_win_downlevel_advapi32_l2_1_0
990 enable_api_ms_win_downlevel_normaliz_l1_1_0
991 enable_api_ms_win_downlevel_ole32_l1_1_0
992 enable_api_ms_win_downlevel_shell32_l1_1_0
993 enable_api_ms_win_downlevel_shlwapi_l1_1_0
994 enable_api_ms_win_downlevel_shlwapi_l2_1_0
995 enable_api_ms_win_downlevel_user32_l1_1_0
996 enable_api_ms_win_downlevel_version_l1_1_0
997 enable_api_ms_win_eventing_classicprovider_l1_1_0
998 enable_api_ms_win_eventing_provider_l1_1_0
999 enable_api_ms_win_eventlog_legacy_l1_1_0
1000 enable_api_ms_win_ntuser_dc_access_l1_1_0
1001 enable_api_ms_win_security_base_l1_1_0
1002 enable_api_ms_win_security_base_l1_2_0
1003 enable_api_ms_win_security_lsalookup_l1_1_0
1004 enable_api_ms_win_security_lsalookup_l1_1_1
1005 enable_api_ms_win_security_sddl_l1_1_0
1006 enable_api_ms_win_service_core_l1_1_1
1007 enable_api_ms_win_service_management_l1_1_0
1008 enable_api_ms_win_service_winsvc_l1_2_0
1009 enable_api_ms_win_shell_shellcom_l1_1_0
1010 enable_api_ms_win_shell_shellfolders_l1_1_0
1011 enable_apphelp
1012 enable_appwiz_cpl
1013 enable_atl
1014 enable_atl100
1015 enable_atl110
1016 enable_atl80
1017 enable_atl90
1018 enable_authz
1019 enable_avicap32
1020 enable_avifil32
1021 enable_avrt
1022 enable_bcrypt
1023 enable_bluetoothapis
1024 enable_browseui
1025 enable_bthprops_cpl
1026 enable_cabinet
1027 enable_capi2032
1028 enable_cards
1029 enable_cfgmgr32
1030 enable_clusapi
1031 enable_combase
1032 enable_comcat
1033 enable_comctl32
1034 enable_comdlg32
1035 enable_compstui
1036 enable_comsvcs
1037 enable_concrt140
1038 enable_connect
1039 enable_credui
1040 enable_crtdll
1041 enable_crypt32
1042 enable_cryptdlg
1043 enable_cryptdll
1044 enable_cryptext
1045 enable_cryptnet
1046 enable_cryptui
1047 enable_ctapi32
1048 enable_ctl3d32
1049 enable_d2d1
1050 enable_d3d10
1051 enable_d3d10_1
1052 enable_d3d10core
1053 enable_d3d11
1054 enable_d3d8
1055 enable_d3d9
1056 enable_d3dcompiler_33
1057 enable_d3dcompiler_34
1058 enable_d3dcompiler_35
1059 enable_d3dcompiler_36
1060 enable_d3dcompiler_37
1061 enable_d3dcompiler_38
1062 enable_d3dcompiler_39
1063 enable_d3dcompiler_40
1064 enable_d3dcompiler_41
1065 enable_d3dcompiler_42
1066 enable_d3dcompiler_43
1067 enable_d3dcompiler_46
1068 enable_d3dcompiler_47
1069 enable_d3dim
1070 enable_d3drm
1071 enable_d3dx10_33
1072 enable_d3dx10_34
1073 enable_d3dx10_35
1074 enable_d3dx10_36
1075 enable_d3dx10_37
1076 enable_d3dx10_38
1077 enable_d3dx10_39
1078 enable_d3dx10_40
1079 enable_d3dx10_41
1080 enable_d3dx10_42
1081 enable_d3dx10_43
1082 enable_d3dx11_42
1083 enable_d3dx11_43
1084 enable_d3dx9_24
1085 enable_d3dx9_25
1086 enable_d3dx9_26
1087 enable_d3dx9_27
1088 enable_d3dx9_28
1089 enable_d3dx9_29
1090 enable_d3dx9_30
1091 enable_d3dx9_31
1092 enable_d3dx9_32
1093 enable_d3dx9_33
1094 enable_d3dx9_34
1095 enable_d3dx9_35
1096 enable_d3dx9_36
1097 enable_d3dx9_37
1098 enable_d3dx9_38
1099 enable_d3dx9_39
1100 enable_d3dx9_40
1101 enable_d3dx9_41
1102 enable_d3dx9_42
1103 enable_d3dx9_43
1104 enable_d3dxof
1105 enable_davclnt
1106 enable_dbgeng
1107 enable_dbghelp
1108 enable_dciman32
1109 enable_ddraw
1110 enable_ddrawex
1111 enable_devenum
1112 enable_dhcpcsvc
1113 enable_difxapi
1114 enable_dinput
1115 enable_dinput8
1116 enable_dispex
1117 enable_dmband
1118 enable_dmcompos
1119 enable_dmime
1120 enable_dmloader
1121 enable_dmscript
1122 enable_dmstyle
1123 enable_dmsynth
1124 enable_dmusic
1125 enable_dmusic32
1126 enable_dnsapi
1127 enable_dplay
1128 enable_dplayx
1129 enable_dpnaddr
1130 enable_dpnet
1131 enable_dpnhpast
1132 enable_dpnlobby
1133 enable_dpvoice
1134 enable_dpwsockx
1135 enable_drmclien
1136 enable_dsound
1137 enable_dssenh
1138 enable_dswave
1139 enable_dwmapi
1140 enable_dwrite
1141 enable_dxdiagn
1142 enable_dxgi
1143 enable_dxva2
1144 enable_esent
1145 enable_evr
1146 enable_explorerframe
1147 enable_ext_ms_win_gdi_devcaps_l1_1_0
1148 enable_faultrep
1149 enable_fltlib
1150 enable_fltmgr_sys
1151 enable_fntcache
1152 enable_fontsub
1153 enable_fusion
1154 enable_fwpuclnt
1155 enable_gameux
1156 enable_gdi32
1157 enable_gdiplus
1158 enable_glu32
1159 enable_gphoto2_ds
1160 enable_gpkcsp
1161 enable_hal
1162 enable_hhctrl_ocx
1163 enable_hid
1164 enable_hidclass_sys
1165 enable_hlink
1166 enable_hnetcfg
1167 enable_httpapi
1168 enable_iccvid
1169 enable_icmp
1170 enable_ieframe
1171 enable_imaadp32_acm
1172 enable_imagehlp
1173 enable_imm32
1174 enable_inetcomm
1175 enable_inetcpl_cpl
1176 enable_inetmib1
1177 enable_infosoft
1178 enable_initpki
1179 enable_inkobj
1180 enable_inseng
1181 enable_iphlpapi
1182 enable_irprops_cpl
1183 enable_itircl
1184 enable_itss
1185 enable_joy_cpl
1186 enable_jscript
1187 enable_jsproxy
1188 enable_kernel32
1189 enable_kernelbase
1190 enable_ksuser
1191 enable_ktmw32
1192 enable_loadperf
1193 enable_localspl
1194 enable_localui
1195 enable_lz32
1196 enable_mapi32
1197 enable_mapistub
1198 enable_mciavi32
1199 enable_mcicda
1200 enable_mciqtz32
1201 enable_mciseq
1202 enable_mciwave
1203 enable_mf
1204 enable_mfplat
1205 enable_mfreadwrite
1206 enable_mgmtapi
1207 enable_midimap
1208 enable_mlang
1209 enable_mmcndmgr
1210 enable_mmdevapi
1211 enable_mountmgr_sys
1212 enable_mpr
1213 enable_mprapi
1214 enable_msacm32_drv
1215 enable_msacm32
1216 enable_msadp32_acm
1217 enable_msasn1
1218 enable_mscat32
1219 enable_mscms
1220 enable_mscoree
1221 enable_msctf
1222 enable_msctfp
1223 enable_msdaps
1224 enable_msdelta
1225 enable_msdmo
1226 enable_msdrm
1227 enable_msftedit
1228 enable_msg711_acm
1229 enable_msgsm32_acm
1230 enable_mshtml_tlb
1231 enable_mshtml
1232 enable_msi
1233 enable_msident
1234 enable_msimg32
1235 enable_msimsg
1236 enable_msimtf
1237 enable_msisip
1238 enable_msisys_ocx
1239 enable_msls31
1240 enable_msnet32
1241 enable_mspatcha
1242 enable_msports
1243 enable_msrle32
1244 enable_msscript_ocx
1245 enable_mssign32
1246 enable_mssip32
1247 enable_mstask
1248 enable_msvcirt
1249 enable_msvcm80
1250 enable_msvcm90
1251 enable_msvcp100
1252 enable_msvcp110
1253 enable_msvcp120
1254 enable_msvcp120_app
1255 enable_msvcp140
1256 enable_msvcp60
1257 enable_msvcp70
1258 enable_msvcp71
1259 enable_msvcp80
1260 enable_msvcp90
1261 enable_msvcr100
1262 enable_msvcr110
1263 enable_msvcr120
1264 enable_msvcr120_app
1265 enable_msvcr70
1266 enable_msvcr71
1267 enable_msvcr80
1268 enable_msvcr90
1269 enable_msvcrt
1270 enable_msvcrt20
1271 enable_msvcrt40
1272 enable_msvcrtd
1273 enable_msvfw32
1274 enable_msvidc32
1275 enable_mswsock
1276 enable_msxml
1277 enable_msxml2
1278 enable_msxml3
1279 enable_msxml4
1280 enable_msxml6
1281 enable_ncrypt
1282 enable_nddeapi
1283 enable_ndis_sys
1284 enable_netapi32
1285 enable_netcfgx
1286 enable_netprofm
1287 enable_newdev
1288 enable_normaliz
1289 enable_npmshtml
1290 enable_npptools
1291 enable_ntdll
1292 enable_ntdsapi
1293 enable_ntoskrnl_exe
1294 enable_ntprint
1295 enable_objsel
1296 enable_odbc32
1297 enable_odbccp32
1298 enable_odbccu32
1299 enable_ole32
1300 enable_oleacc
1301 enable_oleaut32
1302 enable_olecli32
1303 enable_oledb32
1304 enable_oledlg
1305 enable_olepro32
1306 enable_olesvr32
1307 enable_olethk32
1308 enable_openal32
1309 enable_opencl
1310 enable_opengl32
1311 enable_packager
1312 enable_pdh
1313 enable_photometadatahandler
1314 enable_pidgen
1315 enable_powrprof
1316 enable_printui
1317 enable_prntvpt
1318 enable_propsys
1319 enable_psapi
1320 enable_pstorec
1321 enable_qcap
1322 enable_qedit
1323 enable_qmgr
1324 enable_qmgrprxy
1325 enable_quartz
1326 enable_query
1327 enable_rasapi32
1328 enable_rasdlg
1329 enable_regapi
1330 enable_resutils
1331 enable_riched20
1332 enable_riched32
1333 enable_rpcrt4
1334 enable_rsabase
1335 enable_rsaenh
1336 enable_rstrtmgr
1337 enable_rtutils
1338 enable_samlib
1339 enable_sane_ds
1340 enable_scarddlg
1341 enable_sccbase
1342 enable_schannel
1343 enable_schedsvc
1344 enable_scrrun
1345 enable_scsiport_sys
1346 enable_secur32
1347 enable_security
1348 enable_sensapi
1349 enable_serialui
1350 enable_setupapi
1351 enable_sfc
1352 enable_sfc_os
1353 enable_shdoclc
1354 enable_shdocvw
1355 enable_shell32
1356 enable_shfolder
1357 enable_shlwapi
1358 enable_slbcsp
1359 enable_slc
1360 enable_snmpapi
1361 enable_softpub
1362 enable_spoolss
1363 enable_sspicli
1364 enable_stdole2_tlb
1365 enable_stdole32_tlb
1366 enable_sti
1367 enable_svrapi
1368 enable_sxs
1369 enable_t2embed
1370 enable_tapi32
1371 enable_taskschd
1372 enable_tdi_sys
1373 enable_traffic
1374 enable_twain_32
1375 enable_ucrtbase
1376 enable_unicows
1377 enable_updspapi
1378 enable_url
1379 enable_urlmon
1380 enable_usbd_sys
1381 enable_user32
1382 enable_userenv
1383 enable_usp10
1384 enable_uxtheme
1385 enable_vbscript
1386 enable_vcomp
1387 enable_vcomp100
1388 enable_vcomp110
1389 enable_vcomp120
1390 enable_vcomp140
1391 enable_vcomp90
1392 enable_vcruntime140
1393 enable_vdmdbg
1394 enable_version
1395 enable_vssapi
1396 enable_wbemdisp
1397 enable_wbemprox
1398 enable_webservices
1399 enable_wer
1400 enable_wevtapi
1401 enable_wiaservc
1402 enable_wimgapi
1403 enable_windowscodecs
1404 enable_windowscodecsext
1405 enable_winealsa_drv
1406 enable_winebus_sys
1407 enable_winecoreaudio_drv
1408 enable_wined3d
1409 enable_winegstreamer
1410 enable_winejoystick_drv
1411 enable_winemac_drv
1412 enable_winemapi
1413 enable_winemp3_acm
1414 enable_wineoss_drv
1415 enable_wineps_drv
1416 enable_winepulse_drv
1417 enable_wineqtdecoder
1418 enable_winex11_drv
1419 enable_wing32
1420 enable_winhttp
1421 enable_wininet
1422 enable_winmm
1423 enable_winnls32
1424 enable_winscard
1425 enable_winspool_drv
1426 enable_winsta
1427 enable_wintab32
1428 enable_wintrust
1429 enable_wlanapi
1430 enable_wldap32
1431 enable_wmasf
1432 enable_wmi
1433 enable_wmiutils
1434 enable_wmp
1435 enable_wmvcore
1436 enable_wnaspi32
1437 enable_wpc
1438 enable_wpcap
1439 enable_ws2_32
1440 enable_wshom_ocx
1441 enable_wsnmp32
1442 enable_wsock32
1443 enable_wtsapi32
1444 enable_wuapi
1445 enable_wuaueng
1446 enable_x3daudio1_0
1447 enable_x3daudio1_1
1448 enable_x3daudio1_2
1449 enable_x3daudio1_3
1450 enable_x3daudio1_4
1451 enable_x3daudio1_5
1452 enable_x3daudio1_6
1453 enable_x3daudio1_7
1454 enable_xapofx1_1
1455 enable_xapofx1_2
1456 enable_xapofx1_3
1457 enable_xapofx1_4
1458 enable_xapofx1_5
1459 enable_xaudio2_0
1460 enable_xaudio2_1
1461 enable_xaudio2_2
1462 enable_xaudio2_3
1463 enable_xaudio2_4
1464 enable_xaudio2_5
1465 enable_xaudio2_6
1466 enable_xaudio2_7
1467 enable_xaudio2_8
1468 enable_xaudio2_9
1469 enable_xinput1_1
1470 enable_xinput1_2
1471 enable_xinput1_3
1472 enable_xinput1_4
1473 enable_xinput9_1_0
1474 enable_xmllite
1475 enable_xolehlp
1476 enable_xpsprint
1477 enable_xpssvcs
1478 enable_fonts
1479 enable_include
1480 enable_libs_port
1481 enable_libs_wine
1482 enable_libs_wpp
1483 enable_loader
1484 enable_po
1485 enable_arp
1486 enable_aspnet_regiis
1487 enable_attrib
1488 enable_cabarc
1489 enable_cacls
1490 enable_clock
1491 enable_cmd
1492 enable_conhost
1493 enable_control
1494 enable_cscript
1495 enable_dpnsvr
1496 enable_dxdiag
1497 enable_eject
1498 enable_expand
1499 enable_explorer
1500 enable_extrac32
1501 enable_findstr
1502 enable_fsutil
1503 enable_hh
1504 enable_hostname
1505 enable_icacls
1506 enable_icinfo
1507 enable_iexplore
1508 enable_ipconfig
1509 enable_lodctr
1510 enable_mofcomp
1511 enable_mshta
1512 enable_msiexec
1513 enable_msinfo32
1514 enable_net
1515 enable_netsh
1516 enable_netstat
1517 enable_ngen
1518 enable_notepad
1519 enable_oleview
1520 enable_ping
1521 enable_plugplay
1522 enable_presentationfontcache
1523 enable_progman
1524 enable_reg
1525 enable_regasm
1526 enable_regedit
1527 enable_regsvcs
1528 enable_regsvr32
1529 enable_rpcss
1530 enable_rundll32
1531 enable_sc
1532 enable_schtasks
1533 enable_sdbinst
1534 enable_secedit
1535 enable_servicemodelreg
1536 enable_services
1537 enable_shutdown
1538 enable_spoolsv
1539 enable_start
1540 enable_svchost
1541 enable_systeminfo
1542 enable_taskkill
1543 enable_tasklist
1544 enable_taskmgr
1545 enable_termsv
1546 enable_uninstaller
1547 enable_unlodctr
1548 enable_view
1549 enable_wevtutil
1550 enable_wineboot
1551 enable_winebrowser
1552 enable_winecfg
1553 enable_wineconsole
1554 enable_winedbg
1555 enable_winedevice
1556 enable_winefile
1557 enable_winemenubuilder
1558 enable_winemine
1559 enable_winemsibuilder
1560 enable_winepath
1561 enable_winetest
1562 enable_winhlp32
1563 enable_winver
1564 enable_wmic
1565 enable_wmplayer
1566 enable_wordpad
1567 enable_write
1568 enable_wscript
1569 enable_wusa
1570 enable_xcopy
1571 enable_server
1572 enable_tools
1574 ac_precious_vars='build_alias
1575 host_alias
1576 target_alias
1578 CFLAGS
1579 LDFLAGS
1580 LIBS
1581 CPPFLAGS
1583 CXXFLAGS
1586 XMKMF
1587 XML2_CFLAGS
1588 XML2_LIBS
1589 XSLT_CFLAGS
1590 XSLT_LIBS
1591 DBUS_CFLAGS
1592 DBUS_LIBS
1593 HAL_CFLAGS
1594 HAL_LIBS
1595 GNUTLS_CFLAGS
1596 GNUTLS_LIBS
1597 SANE_CFLAGS
1598 SANE_LIBS
1599 GPHOTO2_CFLAGS
1600 GPHOTO2_LIBS
1601 GPHOTO2_PORT_CFLAGS
1602 GPHOTO2_PORT_LIBS
1603 LCMS2_CFLAGS
1604 LCMS2_LIBS
1605 FREETYPE_CFLAGS
1606 FREETYPE_LIBS
1607 PULSE_CFLAGS
1608 PULSE_LIBS
1609 GSTREAMER_CFLAGS
1610 GSTREAMER_LIBS
1611 UDEV_CFLAGS
1612 UDEV_LIBS
1613 CAPI20_CFLAGS
1614 CAPI20_LIBS
1615 FONTCONFIG_CFLAGS
1616 FONTCONFIG_LIBS
1617 JPEG_CFLAGS
1618 JPEG_LIBS
1619 PNG_CFLAGS
1620 PNG_LIBS
1621 TIFF_CFLAGS
1622 TIFF_LIBS
1623 MPG123_CFLAGS
1624 MPG123_LIBS
1625 NETAPI_CFLAGS
1626 NETAPI_LIBS'
1629 # Initialize some variables set by options.
1630 ac_init_help=
1631 ac_init_version=false
1632 ac_unrecognized_opts=
1633 ac_unrecognized_sep=
1634 # The variables have the same names as the options, with
1635 # dashes changed to underlines.
1636 cache_file=/dev/null
1637 exec_prefix=NONE
1638 no_create=
1639 no_recursion=
1640 prefix=NONE
1641 program_prefix=NONE
1642 program_suffix=NONE
1643 program_transform_name=s,x,x,
1644 silent=
1645 site=
1646 srcdir=
1647 verbose=
1648 x_includes=NONE
1649 x_libraries=NONE
1651 # Installation directory options.
1652 # These are left unexpanded so users can "make install exec_prefix=/foo"
1653 # and all the variables that are supposed to be based on exec_prefix
1654 # by default will actually change.
1655 # Use braces instead of parens because sh, perl, etc. also accept them.
1656 # (The list follows the same order as the GNU Coding Standards.)
1657 bindir='${exec_prefix}/bin'
1658 sbindir='${exec_prefix}/sbin'
1659 libexecdir='${exec_prefix}/libexec'
1660 datarootdir='${prefix}/share'
1661 datadir='${datarootdir}'
1662 sysconfdir='${prefix}/etc'
1663 sharedstatedir='${prefix}/com'
1664 localstatedir='${prefix}/var'
1665 runstatedir='${localstatedir}/run'
1666 includedir='${prefix}/include'
1667 oldincludedir='/usr/include'
1668 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1669 infodir='${datarootdir}/info'
1670 htmldir='${docdir}'
1671 dvidir='${docdir}'
1672 pdfdir='${docdir}'
1673 psdir='${docdir}'
1674 libdir='${exec_prefix}/lib'
1675 localedir='${datarootdir}/locale'
1676 mandir='${datarootdir}/man'
1678 ac_prev=
1679 ac_dashdash=
1680 for ac_option
1682 # If the previous option needs an argument, assign it.
1683 if test -n "$ac_prev"; then
1684 eval $ac_prev=\$ac_option
1685 ac_prev=
1686 continue
1689 case $ac_option in
1690 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1691 *=) ac_optarg= ;;
1692 *) ac_optarg=yes ;;
1693 esac
1695 # Accept the important Cygnus configure options, so we can diagnose typos.
1697 case $ac_dashdash$ac_option in
1699 ac_dashdash=yes ;;
1701 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1702 ac_prev=bindir ;;
1703 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1704 bindir=$ac_optarg ;;
1706 -build | --build | --buil | --bui | --bu)
1707 ac_prev=build_alias ;;
1708 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1709 build_alias=$ac_optarg ;;
1711 -cache-file | --cache-file | --cache-fil | --cache-fi \
1712 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1713 ac_prev=cache_file ;;
1714 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1715 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1716 cache_file=$ac_optarg ;;
1718 --config-cache | -C)
1719 cache_file=config.cache ;;
1721 -datadir | --datadir | --datadi | --datad)
1722 ac_prev=datadir ;;
1723 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1724 datadir=$ac_optarg ;;
1726 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1727 | --dataroo | --dataro | --datar)
1728 ac_prev=datarootdir ;;
1729 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1730 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1731 datarootdir=$ac_optarg ;;
1733 -disable-* | --disable-*)
1734 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1735 # Reject names that are not valid shell variable names.
1736 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1737 as_fn_error $? "invalid feature name: $ac_useropt"
1738 ac_useropt_orig=$ac_useropt
1739 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1740 case $ac_user_opts in
1742 "enable_$ac_useropt"
1743 "*) ;;
1744 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1745 ac_unrecognized_sep=', ';;
1746 esac
1747 eval enable_$ac_useropt=no ;;
1749 -docdir | --docdir | --docdi | --doc | --do)
1750 ac_prev=docdir ;;
1751 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1752 docdir=$ac_optarg ;;
1754 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1755 ac_prev=dvidir ;;
1756 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1757 dvidir=$ac_optarg ;;
1759 -enable-* | --enable-*)
1760 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1761 # Reject names that are not valid shell variable names.
1762 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1763 as_fn_error $? "invalid feature name: $ac_useropt"
1764 ac_useropt_orig=$ac_useropt
1765 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1766 case $ac_user_opts in
1768 "enable_$ac_useropt"
1769 "*) ;;
1770 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1771 ac_unrecognized_sep=', ';;
1772 esac
1773 eval enable_$ac_useropt=\$ac_optarg ;;
1775 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1776 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1777 | --exec | --exe | --ex)
1778 ac_prev=exec_prefix ;;
1779 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1780 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1781 | --exec=* | --exe=* | --ex=*)
1782 exec_prefix=$ac_optarg ;;
1784 -gas | --gas | --ga | --g)
1785 # Obsolete; use --with-gas.
1786 with_gas=yes ;;
1788 -help | --help | --hel | --he | -h)
1789 ac_init_help=long ;;
1790 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1791 ac_init_help=recursive ;;
1792 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1793 ac_init_help=short ;;
1795 -host | --host | --hos | --ho)
1796 ac_prev=host_alias ;;
1797 -host=* | --host=* | --hos=* | --ho=*)
1798 host_alias=$ac_optarg ;;
1800 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1801 ac_prev=htmldir ;;
1802 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1803 | --ht=*)
1804 htmldir=$ac_optarg ;;
1806 -includedir | --includedir | --includedi | --included | --include \
1807 | --includ | --inclu | --incl | --inc)
1808 ac_prev=includedir ;;
1809 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1810 | --includ=* | --inclu=* | --incl=* | --inc=*)
1811 includedir=$ac_optarg ;;
1813 -infodir | --infodir | --infodi | --infod | --info | --inf)
1814 ac_prev=infodir ;;
1815 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1816 infodir=$ac_optarg ;;
1818 -libdir | --libdir | --libdi | --libd)
1819 ac_prev=libdir ;;
1820 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1821 libdir=$ac_optarg ;;
1823 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1824 | --libexe | --libex | --libe)
1825 ac_prev=libexecdir ;;
1826 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1827 | --libexe=* | --libex=* | --libe=*)
1828 libexecdir=$ac_optarg ;;
1830 -localedir | --localedir | --localedi | --localed | --locale)
1831 ac_prev=localedir ;;
1832 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1833 localedir=$ac_optarg ;;
1835 -localstatedir | --localstatedir | --localstatedi | --localstated \
1836 | --localstate | --localstat | --localsta | --localst | --locals)
1837 ac_prev=localstatedir ;;
1838 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1839 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1840 localstatedir=$ac_optarg ;;
1842 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1843 ac_prev=mandir ;;
1844 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1845 mandir=$ac_optarg ;;
1847 -nfp | --nfp | --nf)
1848 # Obsolete; use --without-fp.
1849 with_fp=no ;;
1851 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1852 | --no-cr | --no-c | -n)
1853 no_create=yes ;;
1855 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1856 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1857 no_recursion=yes ;;
1859 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1860 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1861 | --oldin | --oldi | --old | --ol | --o)
1862 ac_prev=oldincludedir ;;
1863 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1864 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1865 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1866 oldincludedir=$ac_optarg ;;
1868 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1869 ac_prev=prefix ;;
1870 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1871 prefix=$ac_optarg ;;
1873 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1874 | --program-pre | --program-pr | --program-p)
1875 ac_prev=program_prefix ;;
1876 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1877 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1878 program_prefix=$ac_optarg ;;
1880 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1881 | --program-suf | --program-su | --program-s)
1882 ac_prev=program_suffix ;;
1883 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1884 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1885 program_suffix=$ac_optarg ;;
1887 -program-transform-name | --program-transform-name \
1888 | --program-transform-nam | --program-transform-na \
1889 | --program-transform-n | --program-transform- \
1890 | --program-transform | --program-transfor \
1891 | --program-transfo | --program-transf \
1892 | --program-trans | --program-tran \
1893 | --progr-tra | --program-tr | --program-t)
1894 ac_prev=program_transform_name ;;
1895 -program-transform-name=* | --program-transform-name=* \
1896 | --program-transform-nam=* | --program-transform-na=* \
1897 | --program-transform-n=* | --program-transform-=* \
1898 | --program-transform=* | --program-transfor=* \
1899 | --program-transfo=* | --program-transf=* \
1900 | --program-trans=* | --program-tran=* \
1901 | --progr-tra=* | --program-tr=* | --program-t=*)
1902 program_transform_name=$ac_optarg ;;
1904 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1905 ac_prev=pdfdir ;;
1906 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1907 pdfdir=$ac_optarg ;;
1909 -psdir | --psdir | --psdi | --psd | --ps)
1910 ac_prev=psdir ;;
1911 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1912 psdir=$ac_optarg ;;
1914 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1915 | -silent | --silent | --silen | --sile | --sil)
1916 silent=yes ;;
1918 -runstatedir | --runstatedir | --runstatedi | --runstated \
1919 | --runstate | --runstat | --runsta | --runst | --runs \
1920 | --run | --ru | --r)
1921 ac_prev=runstatedir ;;
1922 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1923 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1924 | --run=* | --ru=* | --r=*)
1925 runstatedir=$ac_optarg ;;
1927 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1928 ac_prev=sbindir ;;
1929 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1930 | --sbi=* | --sb=*)
1931 sbindir=$ac_optarg ;;
1933 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1934 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1935 | --sharedst | --shareds | --shared | --share | --shar \
1936 | --sha | --sh)
1937 ac_prev=sharedstatedir ;;
1938 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1939 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1940 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1941 | --sha=* | --sh=*)
1942 sharedstatedir=$ac_optarg ;;
1944 -site | --site | --sit)
1945 ac_prev=site ;;
1946 -site=* | --site=* | --sit=*)
1947 site=$ac_optarg ;;
1949 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1950 ac_prev=srcdir ;;
1951 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1952 srcdir=$ac_optarg ;;
1954 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1955 | --syscon | --sysco | --sysc | --sys | --sy)
1956 ac_prev=sysconfdir ;;
1957 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1958 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1959 sysconfdir=$ac_optarg ;;
1961 -target | --target | --targe | --targ | --tar | --ta | --t)
1962 ac_prev=target_alias ;;
1963 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1964 target_alias=$ac_optarg ;;
1966 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1967 verbose=yes ;;
1969 -version | --version | --versio | --versi | --vers | -V)
1970 ac_init_version=: ;;
1972 -with-* | --with-*)
1973 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1974 # Reject names that are not valid shell variable names.
1975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1976 as_fn_error $? "invalid package name: $ac_useropt"
1977 ac_useropt_orig=$ac_useropt
1978 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1979 case $ac_user_opts in
1981 "with_$ac_useropt"
1982 "*) ;;
1983 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1984 ac_unrecognized_sep=', ';;
1985 esac
1986 eval with_$ac_useropt=\$ac_optarg ;;
1988 -without-* | --without-*)
1989 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1990 # Reject names that are not valid shell variable names.
1991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1992 as_fn_error $? "invalid package name: $ac_useropt"
1993 ac_useropt_orig=$ac_useropt
1994 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1995 case $ac_user_opts in
1997 "with_$ac_useropt"
1998 "*) ;;
1999 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2000 ac_unrecognized_sep=', ';;
2001 esac
2002 eval with_$ac_useropt=no ;;
2004 --x)
2005 # Obsolete; use --with-x.
2006 with_x=yes ;;
2008 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2009 | --x-incl | --x-inc | --x-in | --x-i)
2010 ac_prev=x_includes ;;
2011 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2012 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2013 x_includes=$ac_optarg ;;
2015 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2016 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2017 ac_prev=x_libraries ;;
2018 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2019 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2020 x_libraries=$ac_optarg ;;
2022 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2023 Try \`$0 --help' for more information"
2026 *=*)
2027 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2028 # Reject names that are not valid shell variable names.
2029 case $ac_envvar in #(
2030 '' | [0-9]* | *[!_$as_cr_alnum]* )
2031 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2032 esac
2033 eval $ac_envvar=\$ac_optarg
2034 export $ac_envvar ;;
2037 # FIXME: should be removed in autoconf 3.0.
2038 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2039 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2040 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2041 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2044 esac
2045 done
2047 if test -n "$ac_prev"; then
2048 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2049 as_fn_error $? "missing argument to $ac_option"
2052 if test -n "$ac_unrecognized_opts"; then
2053 case $enable_option_checking in
2054 no) ;;
2055 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2056 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2057 esac
2060 # Check all directory arguments for consistency.
2061 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2062 datadir sysconfdir sharedstatedir localstatedir includedir \
2063 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2064 libdir localedir mandir runstatedir
2066 eval ac_val=\$$ac_var
2067 # Remove trailing slashes.
2068 case $ac_val in
2069 */ )
2070 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2071 eval $ac_var=\$ac_val;;
2072 esac
2073 # Be sure to have absolute directory names.
2074 case $ac_val in
2075 [\\/$]* | ?:[\\/]* ) continue;;
2076 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2077 esac
2078 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2079 done
2081 # There might be people who depend on the old broken behavior: `$host'
2082 # used to hold the argument of --host etc.
2083 # FIXME: To remove some day.
2084 build=$build_alias
2085 host=$host_alias
2086 target=$target_alias
2088 # FIXME: To remove some day.
2089 if test "x$host_alias" != x; then
2090 if test "x$build_alias" = x; then
2091 cross_compiling=maybe
2092 elif test "x$build_alias" != "x$host_alias"; then
2093 cross_compiling=yes
2097 ac_tool_prefix=
2098 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2100 test "$silent" = yes && exec 6>/dev/null
2103 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2104 ac_ls_di=`ls -di .` &&
2105 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2106 as_fn_error $? "working directory cannot be determined"
2107 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2108 as_fn_error $? "pwd does not report name of working directory"
2111 # Find the source files, if location was not specified.
2112 if test -z "$srcdir"; then
2113 ac_srcdir_defaulted=yes
2114 # Try the directory containing this script, then the parent directory.
2115 ac_confdir=`$as_dirname -- "$as_myself" ||
2116 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2117 X"$as_myself" : 'X\(//\)[^/]' \| \
2118 X"$as_myself" : 'X\(//\)$' \| \
2119 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2120 $as_echo X"$as_myself" |
2121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2122 s//\1/
2125 /^X\(\/\/\)[^/].*/{
2126 s//\1/
2129 /^X\(\/\/\)$/{
2130 s//\1/
2133 /^X\(\/\).*/{
2134 s//\1/
2137 s/.*/./; q'`
2138 srcdir=$ac_confdir
2139 if test ! -r "$srcdir/$ac_unique_file"; then
2140 srcdir=..
2142 else
2143 ac_srcdir_defaulted=no
2145 if test ! -r "$srcdir/$ac_unique_file"; then
2146 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2147 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2149 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2150 ac_abs_confdir=`(
2151 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2152 pwd)`
2153 # When building in place, set srcdir=.
2154 if test "$ac_abs_confdir" = "$ac_pwd"; then
2155 srcdir=.
2157 # Remove unnecessary trailing slashes from srcdir.
2158 # Double slashes in file names in object file debugging info
2159 # mess up M-x gdb in Emacs.
2160 case $srcdir in
2161 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2162 esac
2163 for ac_var in $ac_precious_vars; do
2164 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2165 eval ac_env_${ac_var}_value=\$${ac_var}
2166 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2167 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2168 done
2171 # Report the --help message.
2173 if test "$ac_init_help" = "long"; then
2174 # Omit some internal or obsolete options to make the list less imposing.
2175 # This message is too long to be a string in the A/UX 3.1 sh.
2176 cat <<_ACEOF
2177 \`configure' configures Wine 1.9.19 to adapt to many kinds of systems.
2179 Usage: $0 [OPTION]... [VAR=VALUE]...
2181 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2182 VAR=VALUE. See below for descriptions of some of the useful variables.
2184 Defaults for the options are specified in brackets.
2186 Configuration:
2187 -h, --help display this help and exit
2188 --help=short display options specific to this package
2189 --help=recursive display the short help of all the included packages
2190 -V, --version display version information and exit
2191 -q, --quiet, --silent do not print \`checking ...' messages
2192 --cache-file=FILE cache test results in FILE [disabled]
2193 -C, --config-cache alias for \`--cache-file=config.cache'
2194 -n, --no-create do not create output files
2195 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2197 Installation directories:
2198 --prefix=PREFIX install architecture-independent files in PREFIX
2199 [$ac_default_prefix]
2200 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2201 [PREFIX]
2203 By default, \`make install' will install all the files in
2204 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2205 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2206 for instance \`--prefix=\$HOME'.
2208 For better control, use the options below.
2210 Fine tuning of the installation directories:
2211 --bindir=DIR user executables [EPREFIX/bin]
2212 --sbindir=DIR system admin executables [EPREFIX/sbin]
2213 --libexecdir=DIR program executables [EPREFIX/libexec]
2214 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2215 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2216 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2217 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2218 --libdir=DIR object code libraries [EPREFIX/lib]
2219 --includedir=DIR C header files [PREFIX/include]
2220 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2221 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2222 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2223 --infodir=DIR info documentation [DATAROOTDIR/info]
2224 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2225 --mandir=DIR man documentation [DATAROOTDIR/man]
2226 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2227 --htmldir=DIR html documentation [DOCDIR]
2228 --dvidir=DIR dvi documentation [DOCDIR]
2229 --pdfdir=DIR pdf documentation [DOCDIR]
2230 --psdir=DIR ps documentation [DOCDIR]
2231 _ACEOF
2233 cat <<\_ACEOF
2235 X features:
2236 --x-includes=DIR X include files are in DIR
2237 --x-libraries=DIR X library files are in DIR
2239 System types:
2240 --build=BUILD configure for building on BUILD [guessed]
2241 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2242 _ACEOF
2245 if test -n "$ac_init_help"; then
2246 case $ac_init_help in
2247 short | recursive ) echo "Configuration of Wine 1.9.19:";;
2248 esac
2249 cat <<\_ACEOF
2251 Optional Features:
2252 --disable-option-checking ignore unrecognized --enable/--with options
2253 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2254 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2255 --disable-win16 do not include Win16 support
2256 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2257 binaries)
2258 --disable-tests do not build the regression tests
2259 --enable-maintainer-mode
2260 enable maintainer-specific build rules
2261 --disable-largefile omit support for large files
2263 Optional Packages:
2264 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2265 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2266 --without-alsa do not use the Alsa sound support
2267 --without-capi do not use CAPI (ISDN support)
2268 --without-cms do not use CMS (color management support)
2269 --without-coreaudio do not use the CoreAudio sound support
2270 --without-cups do not use CUPS
2271 --without-curses do not use (n)curses
2272 --without-dbus do not use DBus (dynamic device support)
2273 --without-fontconfig do not use fontconfig
2274 --without-freetype do not use the FreeType library
2275 --without-gettext do not use gettext
2276 --with-gettextpo use the GetTextPO library to rebuild po files
2277 --without-gphoto do not use gphoto (Digital Camera support)
2278 --without-glu do not use the GLU library
2279 --without-gnutls do not use GnuTLS (schannel support)
2280 --without-gsm do not use libgsm (GSM 06.10 codec support)
2281 --without-gstreamer do not use GStreamer (codecs support)
2282 --without-hal do not use HAL (dynamic device support)
2283 --without-jpeg do not use JPEG
2284 --without-ldap do not use LDAP
2285 --without-mpg123 do not use the mpg123 library
2286 --without-netapi do not use the Samba NetAPI library
2287 --without-openal do not use OpenAL
2288 --without-opencl do not use OpenCL
2289 --without-opengl do not use OpenGL
2290 --without-osmesa do not use the OSMesa library
2291 --without-oss do not use the OSS sound support
2292 --without-pcap do not use the Packet Capture library
2293 --without-png do not use PNG
2294 --without-pthread do not use the pthread library
2295 --without-pulse do not use PulseAudio sound support
2296 --without-sane do not use SANE (scanner support)
2297 --without-tiff do not use TIFF
2298 --without-udev do not use udev (plug and play support)
2299 --without-v4l do not use v4l1 (v4l support)
2300 --without-xcomposite do not use the Xcomposite extension
2301 --without-xcursor do not use the Xcursor extension
2302 --without-xinerama do not use Xinerama (multi-monitor support)
2303 --without-xinput do not use the Xinput extension
2304 --without-xinput2 do not use the Xinput 2 extension
2305 --without-xml do not use XML
2306 --without-xrandr do not use Xrandr (resolution changes)
2307 --without-xrender do not use the Xrender extension
2308 --without-xshape do not use the Xshape extension
2309 --without-xshm do not use XShm (shared memory extension)
2310 --without-xslt do not use XSLT
2311 --without-xxf86vm do not use XFree video mode extension
2312 --without-zlib do not use Zlib (data compression)
2313 --with-wine-tools=DIR use Wine tools from directory DIR
2314 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2315 --with-x use the X Window System
2317 Some influential environment variables:
2318 CC C compiler command
2319 CFLAGS C compiler flags
2320 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2321 nonstandard directory <lib dir>
2322 LIBS libraries to pass to the linker, e.g. -l<library>
2323 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2324 you have headers in a nonstandard directory <include dir>
2325 CXX C++ compiler command
2326 CXXFLAGS C++ compiler flags
2327 CPP C preprocessor
2328 XMKMF Path to xmkmf, Makefile generator for X Window System
2329 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2330 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2331 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2332 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2333 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2334 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2335 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2336 HAL_LIBS Linker flags for hal, overriding pkg-config
2337 GNUTLS_CFLAGS
2338 C compiler flags for gnutls, overriding pkg-config
2339 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2340 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2341 SANE_LIBS Linker flags for libsane, overriding pkg-config
2342 GPHOTO2_CFLAGS
2343 C compiler flags for libgphoto2, overriding pkg-config
2344 GPHOTO2_LIBS
2345 Linker flags for libgphoto2, overriding pkg-config
2346 GPHOTO2_PORT_CFLAGS
2347 C compiler flags for libgphoto2_port, overriding pkg-config
2348 GPHOTO2_PORT_LIBS
2349 Linker flags for libgphoto2_port, overriding pkg-config
2350 LCMS2_CFLAGS
2351 C compiler flags for lcms2, overriding pkg-config
2352 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2353 FREETYPE_CFLAGS
2354 C compiler flags for freetype2, overriding pkg-config
2355 FREETYPE_LIBS
2356 Linker flags for freetype2, overriding pkg-config
2357 PULSE_CFLAGS
2358 C compiler flags for libpulse, overriding pkg-config
2359 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2360 GSTREAMER_CFLAGS
2361 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2362 gstreamer-audio-1.0, overriding pkg-config
2363 GSTREAMER_LIBS
2364 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2365 gstreamer-audio-1.0, overriding pkg-config
2366 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2367 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2368 CAPI20_CFLAGS
2369 C compiler flags for capi20, overriding pkg-config
2370 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2371 FONTCONFIG_CFLAGS
2372 C compiler flags for fontconfig, overriding pkg-config
2373 FONTCONFIG_LIBS
2374 Linker flags for fontconfig, overriding pkg-config
2375 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2376 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2377 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2378 PNG_LIBS Linker flags for libpng, overriding pkg-config
2379 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2380 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2381 MPG123_CFLAGS
2382 C compiler flags for libmpg123, overriding pkg-config
2383 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2384 NETAPI_CFLAGS
2385 C compiler flags for netapi, overriding pkg-config
2386 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2388 Use these variables to override the choices made by `configure' or to help
2389 it to find libraries and programs with nonstandard names/locations.
2391 Report bugs to <wine-devel@winehq.org>.
2392 Wine home page: <http://www.winehq.org>.
2393 _ACEOF
2394 ac_status=$?
2397 if test "$ac_init_help" = "recursive"; then
2398 # If there are subdirs, report their specific --help.
2399 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2400 test -d "$ac_dir" ||
2401 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2402 continue
2403 ac_builddir=.
2405 case "$ac_dir" in
2406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2408 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2409 # A ".." for each directory in $ac_dir_suffix.
2410 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2411 case $ac_top_builddir_sub in
2412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2414 esac ;;
2415 esac
2416 ac_abs_top_builddir=$ac_pwd
2417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2418 # for backward compatibility:
2419 ac_top_builddir=$ac_top_build_prefix
2421 case $srcdir in
2422 .) # We are building in place.
2423 ac_srcdir=.
2424 ac_top_srcdir=$ac_top_builddir_sub
2425 ac_abs_top_srcdir=$ac_pwd ;;
2426 [\\/]* | ?:[\\/]* ) # Absolute name.
2427 ac_srcdir=$srcdir$ac_dir_suffix;
2428 ac_top_srcdir=$srcdir
2429 ac_abs_top_srcdir=$srcdir ;;
2430 *) # Relative name.
2431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2432 ac_top_srcdir=$ac_top_build_prefix$srcdir
2433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2434 esac
2435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2437 cd "$ac_dir" || { ac_status=$?; continue; }
2438 # Check for guested configure.
2439 if test -f "$ac_srcdir/configure.gnu"; then
2440 echo &&
2441 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2442 elif test -f "$ac_srcdir/configure"; then
2443 echo &&
2444 $SHELL "$ac_srcdir/configure" --help=recursive
2445 else
2446 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2447 fi || ac_status=$?
2448 cd "$ac_pwd" || { ac_status=$?; break; }
2449 done
2452 test -n "$ac_init_help" && exit $ac_status
2453 if $ac_init_version; then
2454 cat <<\_ACEOF
2455 Wine configure 1.9.19
2456 generated by GNU Autoconf 2.69
2458 Copyright (C) 2012 Free Software Foundation, Inc.
2459 This configure script is free software; the Free Software Foundation
2460 gives unlimited permission to copy, distribute and modify it.
2461 _ACEOF
2462 exit
2465 ## ------------------------ ##
2466 ## Autoconf initialization. ##
2467 ## ------------------------ ##
2469 # ac_fn_c_try_compile LINENO
2470 # --------------------------
2471 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2472 ac_fn_c_try_compile ()
2474 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2475 rm -f conftest.$ac_objext
2476 if { { ac_try="$ac_compile"
2477 case "(($ac_try" in
2478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2479 *) ac_try_echo=$ac_try;;
2480 esac
2481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2482 $as_echo "$ac_try_echo"; } >&5
2483 (eval "$ac_compile") 2>conftest.err
2484 ac_status=$?
2485 if test -s conftest.err; then
2486 grep -v '^ *+' conftest.err >conftest.er1
2487 cat conftest.er1 >&5
2488 mv -f conftest.er1 conftest.err
2490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2491 test $ac_status = 0; } && {
2492 test -z "$ac_c_werror_flag" ||
2493 test ! -s conftest.err
2494 } && test -s conftest.$ac_objext; then :
2495 ac_retval=0
2496 else
2497 $as_echo "$as_me: failed program was:" >&5
2498 sed 's/^/| /' conftest.$ac_ext >&5
2500 ac_retval=1
2502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2503 as_fn_set_status $ac_retval
2505 } # ac_fn_c_try_compile
2507 # ac_fn_cxx_try_compile LINENO
2508 # ----------------------------
2509 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2510 ac_fn_cxx_try_compile ()
2512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2513 rm -f conftest.$ac_objext
2514 if { { ac_try="$ac_compile"
2515 case "(($ac_try" in
2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2517 *) ac_try_echo=$ac_try;;
2518 esac
2519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2520 $as_echo "$ac_try_echo"; } >&5
2521 (eval "$ac_compile") 2>conftest.err
2522 ac_status=$?
2523 if test -s conftest.err; then
2524 grep -v '^ *+' conftest.err >conftest.er1
2525 cat conftest.er1 >&5
2526 mv -f conftest.er1 conftest.err
2528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2529 test $ac_status = 0; } && {
2530 test -z "$ac_cxx_werror_flag" ||
2531 test ! -s conftest.err
2532 } && test -s conftest.$ac_objext; then :
2533 ac_retval=0
2534 else
2535 $as_echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.$ac_ext >&5
2538 ac_retval=1
2540 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2541 as_fn_set_status $ac_retval
2543 } # ac_fn_cxx_try_compile
2545 # ac_fn_c_try_link LINENO
2546 # -----------------------
2547 # Try to link conftest.$ac_ext, and return whether this succeeded.
2548 ac_fn_c_try_link ()
2550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2551 rm -f conftest.$ac_objext conftest$ac_exeext
2552 if { { ac_try="$ac_link"
2553 case "(($ac_try" in
2554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2555 *) ac_try_echo=$ac_try;;
2556 esac
2557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2558 $as_echo "$ac_try_echo"; } >&5
2559 (eval "$ac_link") 2>conftest.err
2560 ac_status=$?
2561 if test -s conftest.err; then
2562 grep -v '^ *+' conftest.err >conftest.er1
2563 cat conftest.er1 >&5
2564 mv -f conftest.er1 conftest.err
2566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2567 test $ac_status = 0; } && {
2568 test -z "$ac_c_werror_flag" ||
2569 test ! -s conftest.err
2570 } && test -s conftest$ac_exeext && {
2571 test "$cross_compiling" = yes ||
2572 test -x conftest$ac_exeext
2573 }; then :
2574 ac_retval=0
2575 else
2576 $as_echo "$as_me: failed program was:" >&5
2577 sed 's/^/| /' conftest.$ac_ext >&5
2579 ac_retval=1
2581 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2582 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2583 # interfere with the next link command; also delete a directory that is
2584 # left behind by Apple's compiler. We do this before executing the actions.
2585 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2586 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2587 as_fn_set_status $ac_retval
2589 } # ac_fn_c_try_link
2591 # ac_fn_c_try_cpp LINENO
2592 # ----------------------
2593 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2594 ac_fn_c_try_cpp ()
2596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2597 if { { ac_try="$ac_cpp conftest.$ac_ext"
2598 case "(($ac_try" in
2599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2600 *) ac_try_echo=$ac_try;;
2601 esac
2602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2603 $as_echo "$ac_try_echo"; } >&5
2604 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2605 ac_status=$?
2606 if test -s conftest.err; then
2607 grep -v '^ *+' conftest.err >conftest.er1
2608 cat conftest.er1 >&5
2609 mv -f conftest.er1 conftest.err
2611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2612 test $ac_status = 0; } > conftest.i && {
2613 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2614 test ! -s conftest.err
2615 }; then :
2616 ac_retval=0
2617 else
2618 $as_echo "$as_me: failed program was:" >&5
2619 sed 's/^/| /' conftest.$ac_ext >&5
2621 ac_retval=1
2623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2624 as_fn_set_status $ac_retval
2626 } # ac_fn_c_try_cpp
2628 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2629 # -------------------------------------------------------
2630 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2631 # the include files in INCLUDES and setting the cache variable VAR
2632 # accordingly.
2633 ac_fn_c_check_header_mongrel ()
2635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2636 if eval \${$3+:} false; then :
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2638 $as_echo_n "checking for $2... " >&6; }
2639 if eval \${$3+:} false; then :
2640 $as_echo_n "(cached) " >&6
2642 eval ac_res=\$$3
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2644 $as_echo "$ac_res" >&6; }
2645 else
2646 # Is the header compilable?
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2648 $as_echo_n "checking $2 usability... " >&6; }
2649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2650 /* end confdefs.h. */
2652 #include <$2>
2653 _ACEOF
2654 if ac_fn_c_try_compile "$LINENO"; then :
2655 ac_header_compiler=yes
2656 else
2657 ac_header_compiler=no
2659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2661 $as_echo "$ac_header_compiler" >&6; }
2663 # Is the header present?
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2665 $as_echo_n "checking $2 presence... " >&6; }
2666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2667 /* end confdefs.h. */
2668 #include <$2>
2669 _ACEOF
2670 if ac_fn_c_try_cpp "$LINENO"; then :
2671 ac_header_preproc=yes
2672 else
2673 ac_header_preproc=no
2675 rm -f conftest.err conftest.i conftest.$ac_ext
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2677 $as_echo "$ac_header_preproc" >&6; }
2679 # So? What about this header?
2680 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2681 yes:no: )
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2683 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2685 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2687 no:yes:* )
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2689 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2691 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2693 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2695 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2697 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2698 ( $as_echo "## ------------------------------------ ##
2699 ## Report this to wine-devel@winehq.org ##
2700 ## ------------------------------------ ##"
2701 ) | sed "s/^/$as_me: WARNING: /" >&2
2703 esac
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2705 $as_echo_n "checking for $2... " >&6; }
2706 if eval \${$3+:} false; then :
2707 $as_echo_n "(cached) " >&6
2708 else
2709 eval "$3=\$ac_header_compiler"
2711 eval ac_res=\$$3
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2713 $as_echo "$ac_res" >&6; }
2715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2717 } # ac_fn_c_check_header_mongrel
2719 # ac_fn_c_try_run LINENO
2720 # ----------------------
2721 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2722 # that executables *can* be run.
2723 ac_fn_c_try_run ()
2725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2726 if { { ac_try="$ac_link"
2727 case "(($ac_try" in
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2730 esac
2731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2732 $as_echo "$ac_try_echo"; } >&5
2733 (eval "$ac_link") 2>&5
2734 ac_status=$?
2735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2736 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2737 { { case "(($ac_try" in
2738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2739 *) ac_try_echo=$ac_try;;
2740 esac
2741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2742 $as_echo "$ac_try_echo"; } >&5
2743 (eval "$ac_try") 2>&5
2744 ac_status=$?
2745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2746 test $ac_status = 0; }; }; then :
2747 ac_retval=0
2748 else
2749 $as_echo "$as_me: program exited with status $ac_status" >&5
2750 $as_echo "$as_me: failed program was:" >&5
2751 sed 's/^/| /' conftest.$ac_ext >&5
2753 ac_retval=$ac_status
2755 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2757 as_fn_set_status $ac_retval
2759 } # ac_fn_c_try_run
2761 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2762 # -------------------------------------------------------
2763 # Tests whether HEADER exists and can be compiled using the include files in
2764 # INCLUDES, setting the cache variable VAR accordingly.
2765 ac_fn_c_check_header_compile ()
2767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2769 $as_echo_n "checking for $2... " >&6; }
2770 if eval \${$3+:} false; then :
2771 $as_echo_n "(cached) " >&6
2772 else
2773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2774 /* end confdefs.h. */
2776 #include <$2>
2777 _ACEOF
2778 if ac_fn_c_try_compile "$LINENO"; then :
2779 eval "$3=yes"
2780 else
2781 eval "$3=no"
2783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2785 eval ac_res=\$$3
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2787 $as_echo "$ac_res" >&6; }
2788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2790 } # ac_fn_c_check_header_compile
2792 # ac_fn_c_check_func LINENO FUNC VAR
2793 # ----------------------------------
2794 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2795 ac_fn_c_check_func ()
2797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2799 $as_echo_n "checking for $2... " >&6; }
2800 if eval \${$3+:} false; then :
2801 $as_echo_n "(cached) " >&6
2802 else
2803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2804 /* end confdefs.h. */
2805 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2807 #define $2 innocuous_$2
2809 /* System header to define __stub macros and hopefully few prototypes,
2810 which can conflict with char $2 (); below.
2811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2812 <limits.h> exists even on freestanding compilers. */
2814 #ifdef __STDC__
2815 # include <limits.h>
2816 #else
2817 # include <assert.h>
2818 #endif
2820 #undef $2
2822 /* Override any GCC internal prototype to avoid an error.
2823 Use char because int might match the return type of a GCC
2824 builtin and then its argument prototype would still apply. */
2825 #ifdef __cplusplus
2826 extern "C"
2827 #endif
2828 char $2 ();
2829 /* The GNU C library defines this for functions which it implements
2830 to always fail with ENOSYS. Some functions are actually named
2831 something starting with __ and the normal name is an alias. */
2832 #if defined __stub_$2 || defined __stub___$2
2833 choke me
2834 #endif
2837 main ()
2839 return $2 ();
2841 return 0;
2843 _ACEOF
2844 if ac_fn_c_try_link "$LINENO"; then :
2845 eval "$3=yes"
2846 else
2847 eval "$3=no"
2849 rm -f core conftest.err conftest.$ac_objext \
2850 conftest$ac_exeext conftest.$ac_ext
2852 eval ac_res=\$$3
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2854 $as_echo "$ac_res" >&6; }
2855 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2857 } # ac_fn_c_check_func
2859 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2860 # ----------------------------------------------------
2861 # Tries to find if the field MEMBER exists in type AGGR, after including
2862 # INCLUDES, setting cache variable VAR accordingly.
2863 ac_fn_c_check_member ()
2865 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2867 $as_echo_n "checking for $2.$3... " >&6; }
2868 if eval \${$4+:} false; then :
2869 $as_echo_n "(cached) " >&6
2870 else
2871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2872 /* end confdefs.h. */
2875 main ()
2877 static $2 ac_aggr;
2878 if (ac_aggr.$3)
2879 return 0;
2881 return 0;
2883 _ACEOF
2884 if ac_fn_c_try_compile "$LINENO"; then :
2885 eval "$4=yes"
2886 else
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2891 main ()
2893 static $2 ac_aggr;
2894 if (sizeof ac_aggr.$3)
2895 return 0;
2897 return 0;
2899 _ACEOF
2900 if ac_fn_c_try_compile "$LINENO"; then :
2901 eval "$4=yes"
2902 else
2903 eval "$4=no"
2905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2909 eval ac_res=\$$4
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2911 $as_echo "$ac_res" >&6; }
2912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2914 } # ac_fn_c_check_member
2916 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2917 # -------------------------------------------
2918 # Tests whether TYPE exists after having included INCLUDES, setting cache
2919 # variable VAR accordingly.
2920 ac_fn_c_check_type ()
2922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2924 $as_echo_n "checking for $2... " >&6; }
2925 if eval \${$3+:} false; then :
2926 $as_echo_n "(cached) " >&6
2927 else
2928 eval "$3=no"
2929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2930 /* end confdefs.h. */
2933 main ()
2935 if (sizeof ($2))
2936 return 0;
2938 return 0;
2940 _ACEOF
2941 if ac_fn_c_try_compile "$LINENO"; then :
2942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2943 /* end confdefs.h. */
2946 main ()
2948 if (sizeof (($2)))
2949 return 0;
2951 return 0;
2953 _ACEOF
2954 if ac_fn_c_try_compile "$LINENO"; then :
2956 else
2957 eval "$3=yes"
2959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2963 eval ac_res=\$$3
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2965 $as_echo "$ac_res" >&6; }
2966 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2968 } # ac_fn_c_check_type
2969 cat >config.log <<_ACEOF
2970 This file contains any messages produced by compilers while
2971 running configure, to aid debugging if configure makes a mistake.
2973 It was created by Wine $as_me 1.9.19, which was
2974 generated by GNU Autoconf 2.69. Invocation command line was
2976 $ $0 $@
2978 _ACEOF
2979 exec 5>>config.log
2981 cat <<_ASUNAME
2982 ## --------- ##
2983 ## Platform. ##
2984 ## --------- ##
2986 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2987 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2988 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2989 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2990 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2992 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2993 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2995 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2996 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2997 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2998 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2999 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3000 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3001 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3003 _ASUNAME
3005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3006 for as_dir in $PATH
3008 IFS=$as_save_IFS
3009 test -z "$as_dir" && as_dir=.
3010 $as_echo "PATH: $as_dir"
3011 done
3012 IFS=$as_save_IFS
3014 } >&5
3016 cat >&5 <<_ACEOF
3019 ## ----------- ##
3020 ## Core tests. ##
3021 ## ----------- ##
3023 _ACEOF
3026 # Keep a trace of the command line.
3027 # Strip out --no-create and --no-recursion so they do not pile up.
3028 # Strip out --silent because we don't want to record it for future runs.
3029 # Also quote any args containing shell meta-characters.
3030 # Make two passes to allow for proper duplicate-argument suppression.
3031 ac_configure_args=
3032 ac_configure_args0=
3033 ac_configure_args1=
3034 ac_must_keep_next=false
3035 for ac_pass in 1 2
3037 for ac_arg
3039 case $ac_arg in
3040 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3041 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3042 | -silent | --silent | --silen | --sile | --sil)
3043 continue ;;
3044 *\'*)
3045 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3046 esac
3047 case $ac_pass in
3048 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3050 as_fn_append ac_configure_args1 " '$ac_arg'"
3051 if test $ac_must_keep_next = true; then
3052 ac_must_keep_next=false # Got value, back to normal.
3053 else
3054 case $ac_arg in
3055 *=* | --config-cache | -C | -disable-* | --disable-* \
3056 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3057 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3058 | -with-* | --with-* | -without-* | --without-* | --x)
3059 case "$ac_configure_args0 " in
3060 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3061 esac
3063 -* ) ac_must_keep_next=true ;;
3064 esac
3066 as_fn_append ac_configure_args " '$ac_arg'"
3068 esac
3069 done
3070 done
3071 { ac_configure_args0=; unset ac_configure_args0;}
3072 { ac_configure_args1=; unset ac_configure_args1;}
3074 # When interrupted or exit'd, cleanup temporary files, and complete
3075 # config.log. We remove comments because anyway the quotes in there
3076 # would cause problems or look ugly.
3077 # WARNING: Use '\'' to represent an apostrophe within the trap.
3078 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3079 trap 'exit_status=$?
3080 # Save into config.log some information that might help in debugging.
3082 echo
3084 $as_echo "## ---------------- ##
3085 ## Cache variables. ##
3086 ## ---------------- ##"
3087 echo
3088 # The following way of writing the cache mishandles newlines in values,
3090 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3091 eval ac_val=\$$ac_var
3092 case $ac_val in #(
3093 *${as_nl}*)
3094 case $ac_var in #(
3095 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3096 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3097 esac
3098 case $ac_var in #(
3099 _ | IFS | as_nl) ;; #(
3100 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3101 *) { eval $ac_var=; unset $ac_var;} ;;
3102 esac ;;
3103 esac
3104 done
3105 (set) 2>&1 |
3106 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3107 *${as_nl}ac_space=\ *)
3108 sed -n \
3109 "s/'\''/'\''\\\\'\'''\''/g;
3110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3111 ;; #(
3113 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3115 esac |
3116 sort
3118 echo
3120 $as_echo "## ----------------- ##
3121 ## Output variables. ##
3122 ## ----------------- ##"
3123 echo
3124 for ac_var in $ac_subst_vars
3126 eval ac_val=\$$ac_var
3127 case $ac_val in
3128 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3129 esac
3130 $as_echo "$ac_var='\''$ac_val'\''"
3131 done | sort
3132 echo
3134 if test -n "$ac_subst_files"; then
3135 $as_echo "## ------------------- ##
3136 ## File substitutions. ##
3137 ## ------------------- ##"
3138 echo
3139 for ac_var in $ac_subst_files
3141 eval ac_val=\$$ac_var
3142 case $ac_val in
3143 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3144 esac
3145 $as_echo "$ac_var='\''$ac_val'\''"
3146 done | sort
3147 echo
3150 if test -s confdefs.h; then
3151 $as_echo "## ----------- ##
3152 ## confdefs.h. ##
3153 ## ----------- ##"
3154 echo
3155 cat confdefs.h
3156 echo
3158 test "$ac_signal" != 0 &&
3159 $as_echo "$as_me: caught signal $ac_signal"
3160 $as_echo "$as_me: exit $exit_status"
3161 } >&5
3162 rm -f core *.core core.conftest.* &&
3163 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3164 exit $exit_status
3166 for ac_signal in 1 2 13 15; do
3167 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3168 done
3169 ac_signal=0
3171 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3172 rm -f -r conftest* confdefs.h
3174 $as_echo "/* confdefs.h */" > confdefs.h
3176 # Predefined preprocessor variables.
3178 cat >>confdefs.h <<_ACEOF
3179 #define PACKAGE_NAME "$PACKAGE_NAME"
3180 _ACEOF
3182 cat >>confdefs.h <<_ACEOF
3183 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3184 _ACEOF
3186 cat >>confdefs.h <<_ACEOF
3187 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3188 _ACEOF
3190 cat >>confdefs.h <<_ACEOF
3191 #define PACKAGE_STRING "$PACKAGE_STRING"
3192 _ACEOF
3194 cat >>confdefs.h <<_ACEOF
3195 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3196 _ACEOF
3198 cat >>confdefs.h <<_ACEOF
3199 #define PACKAGE_URL "$PACKAGE_URL"
3200 _ACEOF
3203 # Let the site file select an alternate cache file if it wants to.
3204 # Prefer an explicitly selected file to automatically selected ones.
3205 ac_site_file1=NONE
3206 ac_site_file2=NONE
3207 if test -n "$CONFIG_SITE"; then
3208 # We do not want a PATH search for config.site.
3209 case $CONFIG_SITE in #((
3210 -*) ac_site_file1=./$CONFIG_SITE;;
3211 */*) ac_site_file1=$CONFIG_SITE;;
3212 *) ac_site_file1=./$CONFIG_SITE;;
3213 esac
3214 elif test "x$prefix" != xNONE; then
3215 ac_site_file1=$prefix/share/config.site
3216 ac_site_file2=$prefix/etc/config.site
3217 else
3218 ac_site_file1=$ac_default_prefix/share/config.site
3219 ac_site_file2=$ac_default_prefix/etc/config.site
3221 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3223 test "x$ac_site_file" = xNONE && continue
3224 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3226 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3227 sed 's/^/| /' "$ac_site_file" >&5
3228 . "$ac_site_file" \
3229 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3231 as_fn_error $? "failed to load site script $ac_site_file
3232 See \`config.log' for more details" "$LINENO" 5; }
3234 done
3236 if test -r "$cache_file"; then
3237 # Some versions of bash will fail to source /dev/null (special files
3238 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3239 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3241 $as_echo "$as_me: loading cache $cache_file" >&6;}
3242 case $cache_file in
3243 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3244 *) . "./$cache_file";;
3245 esac
3247 else
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3249 $as_echo "$as_me: creating cache $cache_file" >&6;}
3250 >$cache_file
3253 # Check that the precious variables saved in the cache have kept the same
3254 # value.
3255 ac_cache_corrupted=false
3256 for ac_var in $ac_precious_vars; do
3257 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3258 eval ac_new_set=\$ac_env_${ac_var}_set
3259 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3260 eval ac_new_val=\$ac_env_${ac_var}_value
3261 case $ac_old_set,$ac_new_set in
3262 set,)
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3264 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3265 ac_cache_corrupted=: ;;
3266 ,set)
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3268 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3269 ac_cache_corrupted=: ;;
3270 ,);;
3272 if test "x$ac_old_val" != "x$ac_new_val"; then
3273 # differences in whitespace do not lead to failure.
3274 ac_old_val_w=`echo x $ac_old_val`
3275 ac_new_val_w=`echo x $ac_new_val`
3276 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3278 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3279 ac_cache_corrupted=:
3280 else
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3282 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3283 eval $ac_var=\$ac_old_val
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3286 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3288 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3289 fi;;
3290 esac
3291 # Pass precious variables to config.status.
3292 if test "$ac_new_set" = set; then
3293 case $ac_new_val in
3294 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3295 *) ac_arg=$ac_var=$ac_new_val ;;
3296 esac
3297 case " $ac_configure_args " in
3298 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3299 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3300 esac
3302 done
3303 if $ac_cache_corrupted; then
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3307 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3308 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3310 ## -------------------- ##
3311 ## Main body of script. ##
3312 ## -------------------- ##
3314 ac_ext=c
3315 ac_cpp='$CPP $CPPFLAGS'
3316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3322 ac_config_headers="$ac_config_headers include/config.h"
3324 ac_aux_dir=
3325 for ac_dir in tools "$srcdir"/tools; do
3326 if test -f "$ac_dir/install-sh"; then
3327 ac_aux_dir=$ac_dir
3328 ac_install_sh="$ac_aux_dir/install-sh -c"
3329 break
3330 elif test -f "$ac_dir/install.sh"; then
3331 ac_aux_dir=$ac_dir
3332 ac_install_sh="$ac_aux_dir/install.sh -c"
3333 break
3334 elif test -f "$ac_dir/shtool"; then
3335 ac_aux_dir=$ac_dir
3336 ac_install_sh="$ac_aux_dir/shtool install -c"
3337 break
3339 done
3340 if test -z "$ac_aux_dir"; then
3341 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3344 # These three variables are undocumented and unsupported,
3345 # and are intended to be withdrawn in a future Autoconf release.
3346 # They can cause serious problems if a builder's source tree is in a directory
3347 # whose full name contains unusual characters.
3348 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3349 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3350 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3354 libwine_version="1.0"
3358 # Check whether --enable-win16 was given.
3359 if test "${enable_win16+set}" = set; then :
3360 enableval=$enable_win16;
3363 # Check whether --enable-win64 was given.
3364 if test "${enable_win64+set}" = set; then :
3365 enableval=$enable_win64;
3368 # Check whether --enable-tests was given.
3369 if test "${enable_tests+set}" = set; then :
3370 enableval=$enable_tests;
3373 # Check whether --enable-maintainer-mode was given.
3374 if test "${enable_maintainer_mode+set}" = set; then :
3375 enableval=$enable_maintainer_mode;
3380 # Check whether --with-alsa was given.
3381 if test "${with_alsa+set}" = set; then :
3382 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3386 # Check whether --with-capi was given.
3387 if test "${with_capi+set}" = set; then :
3388 withval=$with_capi;
3392 # Check whether --with-cms was given.
3393 if test "${with_cms+set}" = set; then :
3394 withval=$with_cms;
3398 # Check whether --with-coreaudio was given.
3399 if test "${with_coreaudio+set}" = set; then :
3400 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3404 # Check whether --with-cups was given.
3405 if test "${with_cups+set}" = set; then :
3406 withval=$with_cups;
3410 # Check whether --with-curses was given.
3411 if test "${with_curses+set}" = set; then :
3412 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3416 # Check whether --with-dbus was given.
3417 if test "${with_dbus+set}" = set; then :
3418 withval=$with_dbus;
3422 # Check whether --with-fontconfig was given.
3423 if test "${with_fontconfig+set}" = set; then :
3424 withval=$with_fontconfig;
3428 # Check whether --with-freetype was given.
3429 if test "${with_freetype+set}" = set; then :
3430 withval=$with_freetype;
3434 # Check whether --with-gettext was given.
3435 if test "${with_gettext+set}" = set; then :
3436 withval=$with_gettext;
3440 # Check whether --with-gettextpo was given.
3441 if test "${with_gettextpo+set}" = set; then :
3442 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3446 # Check whether --with-gphoto was given.
3447 if test "${with_gphoto+set}" = set; then :
3448 withval=$with_gphoto;
3452 # Check whether --with-glu was given.
3453 if test "${with_glu+set}" = set; then :
3454 withval=$with_glu;
3458 # Check whether --with-gnutls was given.
3459 if test "${with_gnutls+set}" = set; then :
3460 withval=$with_gnutls;
3464 # Check whether --with-gsm was given.
3465 if test "${with_gsm+set}" = set; then :
3466 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3470 # Check whether --with-gstreamer was given.
3471 if test "${with_gstreamer+set}" = set; then :
3472 withval=$with_gstreamer;
3476 # Check whether --with-hal was given.
3477 if test "${with_hal+set}" = set; then :
3478 withval=$with_hal;
3482 # Check whether --with-jpeg was given.
3483 if test "${with_jpeg+set}" = set; then :
3484 withval=$with_jpeg;
3488 # Check whether --with-ldap was given.
3489 if test "${with_ldap+set}" = set; then :
3490 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3494 # Check whether --with-mpg123 was given.
3495 if test "${with_mpg123+set}" = set; then :
3496 withval=$with_mpg123;
3500 # Check whether --with-netapi was given.
3501 if test "${with_netapi+set}" = set; then :
3502 withval=$with_netapi;
3506 # Check whether --with-openal was given.
3507 if test "${with_openal+set}" = set; then :
3508 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3512 # Check whether --with-opencl was given.
3513 if test "${with_opencl+set}" = set; then :
3514 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3518 # Check whether --with-opengl was given.
3519 if test "${with_opengl+set}" = set; then :
3520 withval=$with_opengl;
3524 # Check whether --with-osmesa was given.
3525 if test "${with_osmesa+set}" = set; then :
3526 withval=$with_osmesa;
3530 # Check whether --with-oss was given.
3531 if test "${with_oss+set}" = set; then :
3532 withval=$with_oss;
3536 # Check whether --with-pcap was given.
3537 if test "${with_pcap+set}" = set; then :
3538 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3542 # Check whether --with-png was given.
3543 if test "${with_png+set}" = set; then :
3544 withval=$with_png;
3548 # Check whether --with-pthread was given.
3549 if test "${with_pthread+set}" = set; then :
3550 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3554 # Check whether --with-pulse was given.
3555 if test "${with_pulse+set}" = set; then :
3556 withval=$with_pulse;
3560 # Check whether --with-sane was given.
3561 if test "${with_sane+set}" = set; then :
3562 withval=$with_sane;
3566 # Check whether --with-tiff was given.
3567 if test "${with_tiff+set}" = set; then :
3568 withval=$with_tiff;
3572 # Check whether --with-udev was given.
3573 if test "${with_udev+set}" = set; then :
3574 withval=$with_udev;
3578 # Check whether --with-v4l was given.
3579 if test "${with_v4l+set}" = set; then :
3580 withval=$with_v4l;
3584 # Check whether --with-xcomposite was given.
3585 if test "${with_xcomposite+set}" = set; then :
3586 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3590 # Check whether --with-xcursor was given.
3591 if test "${with_xcursor+set}" = set; then :
3592 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3596 # Check whether --with-xinerama was given.
3597 if test "${with_xinerama+set}" = set; then :
3598 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3602 # Check whether --with-xinput was given.
3603 if test "${with_xinput+set}" = set; then :
3604 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3608 # Check whether --with-xinput2 was given.
3609 if test "${with_xinput2+set}" = set; then :
3610 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3614 # Check whether --with-xml was given.
3615 if test "${with_xml+set}" = set; then :
3616 withval=$with_xml;
3620 # Check whether --with-xrandr was given.
3621 if test "${with_xrandr+set}" = set; then :
3622 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3626 # Check whether --with-xrender was given.
3627 if test "${with_xrender+set}" = set; then :
3628 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3632 # Check whether --with-xshape was given.
3633 if test "${with_xshape+set}" = set; then :
3634 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3638 # Check whether --with-xshm was given.
3639 if test "${with_xshm+set}" = set; then :
3640 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3644 # Check whether --with-xslt was given.
3645 if test "${with_xslt+set}" = set; then :
3646 withval=$with_xslt;
3650 # Check whether --with-xxf86vm was given.
3651 if test "${with_xxf86vm+set}" = set; then :
3652 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
3656 # Check whether --with-zlib was given.
3657 if test "${with_zlib+set}" = set; then :
3658 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3663 # Check whether --with-wine-tools was given.
3664 if test "${with_wine_tools+set}" = set; then :
3665 withval=$with_wine_tools;
3669 # Check whether --with-wine64 was given.
3670 if test "${with_wine64+set}" = set; then :
3671 withval=$with_wine64;
3675 # Make sure we can run config.sub.
3676 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3677 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3680 $as_echo_n "checking build system type... " >&6; }
3681 if ${ac_cv_build+:} false; then :
3682 $as_echo_n "(cached) " >&6
3683 else
3684 ac_build_alias=$build_alias
3685 test "x$ac_build_alias" = x &&
3686 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3687 test "x$ac_build_alias" = x &&
3688 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3689 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3690 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3694 $as_echo "$ac_cv_build" >&6; }
3695 case $ac_cv_build in
3696 *-*-*) ;;
3697 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3698 esac
3699 build=$ac_cv_build
3700 ac_save_IFS=$IFS; IFS='-'
3701 set x $ac_cv_build
3702 shift
3703 build_cpu=$1
3704 build_vendor=$2
3705 shift; shift
3706 # Remember, the first character of IFS is used to create $*,
3707 # except with old shells:
3708 build_os=$*
3709 IFS=$ac_save_IFS
3710 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3714 $as_echo_n "checking host system type... " >&6; }
3715 if ${ac_cv_host+:} false; then :
3716 $as_echo_n "(cached) " >&6
3717 else
3718 if test "x$host_alias" = x; then
3719 ac_cv_host=$ac_cv_build
3720 else
3721 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3722 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3727 $as_echo "$ac_cv_host" >&6; }
3728 case $ac_cv_host in
3729 *-*-*) ;;
3730 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3731 esac
3732 host=$ac_cv_host
3733 ac_save_IFS=$IFS; IFS='-'
3734 set x $ac_cv_host
3735 shift
3736 host_cpu=$1
3737 host_vendor=$2
3738 shift; shift
3739 # Remember, the first character of IFS is used to create $*,
3740 # except with old shells:
3741 host_os=$*
3742 IFS=$ac_save_IFS
3743 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3747 case "$srcdir" in
3748 .) ;;
3749 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3750 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3751 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3752 fi ;;
3753 esac
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3757 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3758 set x ${MAKE-make}
3759 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3760 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3761 $as_echo_n "(cached) " >&6
3762 else
3763 cat >conftest.make <<\_ACEOF
3764 SHELL = /bin/sh
3765 all:
3766 @echo '@@@%%%=$(MAKE)=@@@%%%'
3767 _ACEOF
3768 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3769 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3770 *@@@%%%=?*=@@@%%%*)
3771 eval ac_cv_prog_make_${ac_make}_set=yes;;
3773 eval ac_cv_prog_make_${ac_make}_set=no;;
3774 esac
3775 rm -f conftest.make
3777 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3779 $as_echo "yes" >&6; }
3780 SET_MAKE=
3781 else
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3784 SET_MAKE="MAKE=${MAKE-make}"
3787 ac_ext=c
3788 ac_cpp='$CPP $CPPFLAGS'
3789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3792 if test -n "$ac_tool_prefix"; then
3793 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3794 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if ${ac_cv_prog_CC+:} false; then :
3798 $as_echo_n "(cached) " >&6
3799 else
3800 if test -n "$CC"; then
3801 ac_cv_prog_CC="$CC" # Let the user override the test.
3802 else
3803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 for as_dir in $PATH
3806 IFS=$as_save_IFS
3807 test -z "$as_dir" && as_dir=.
3808 for ac_exec_ext in '' $ac_executable_extensions; do
3809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3810 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 break 2
3814 done
3815 done
3816 IFS=$as_save_IFS
3820 CC=$ac_cv_prog_CC
3821 if test -n "$CC"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3823 $as_echo "$CC" >&6; }
3824 else
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3831 if test -z "$ac_cv_prog_CC"; then
3832 ac_ct_CC=$CC
3833 # Extract the first word of "gcc", so it can be a program name with args.
3834 set dummy gcc; ac_word=$2
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3836 $as_echo_n "checking for $ac_word... " >&6; }
3837 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3838 $as_echo_n "(cached) " >&6
3839 else
3840 if test -n "$ac_ct_CC"; then
3841 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3842 else
3843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3844 for as_dir in $PATH
3846 IFS=$as_save_IFS
3847 test -z "$as_dir" && as_dir=.
3848 for ac_exec_ext in '' $ac_executable_extensions; do
3849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3850 ac_cv_prog_ac_ct_CC="gcc"
3851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3852 break 2
3854 done
3855 done
3856 IFS=$as_save_IFS
3860 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3861 if test -n "$ac_ct_CC"; then
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3863 $as_echo "$ac_ct_CC" >&6; }
3864 else
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3866 $as_echo "no" >&6; }
3869 if test "x$ac_ct_CC" = x; then
3870 CC=""
3871 else
3872 case $cross_compiling:$ac_tool_warned in
3873 yes:)
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3876 ac_tool_warned=yes ;;
3877 esac
3878 CC=$ac_ct_CC
3880 else
3881 CC="$ac_cv_prog_CC"
3884 if test -z "$CC"; then
3885 if test -n "$ac_tool_prefix"; then
3886 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3887 set dummy ${ac_tool_prefix}cc; ac_word=$2
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3889 $as_echo_n "checking for $ac_word... " >&6; }
3890 if ${ac_cv_prog_CC+:} false; then :
3891 $as_echo_n "(cached) " >&6
3892 else
3893 if test -n "$CC"; then
3894 ac_cv_prog_CC="$CC" # Let the user override the test.
3895 else
3896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3897 for as_dir in $PATH
3899 IFS=$as_save_IFS
3900 test -z "$as_dir" && as_dir=.
3901 for ac_exec_ext in '' $ac_executable_extensions; do
3902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3903 ac_cv_prog_CC="${ac_tool_prefix}cc"
3904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3905 break 2
3907 done
3908 done
3909 IFS=$as_save_IFS
3913 CC=$ac_cv_prog_CC
3914 if test -n "$CC"; then
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3916 $as_echo "$CC" >&6; }
3917 else
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3919 $as_echo "no" >&6; }
3925 if test -z "$CC"; then
3926 # Extract the first word of "cc", so it can be a program name with args.
3927 set dummy cc; ac_word=$2
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3929 $as_echo_n "checking for $ac_word... " >&6; }
3930 if ${ac_cv_prog_CC+:} false; then :
3931 $as_echo_n "(cached) " >&6
3932 else
3933 if test -n "$CC"; then
3934 ac_cv_prog_CC="$CC" # Let the user override the test.
3935 else
3936 ac_prog_rejected=no
3937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938 for as_dir in $PATH
3940 IFS=$as_save_IFS
3941 test -z "$as_dir" && as_dir=.
3942 for ac_exec_ext in '' $ac_executable_extensions; do
3943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3944 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3945 ac_prog_rejected=yes
3946 continue
3948 ac_cv_prog_CC="cc"
3949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3950 break 2
3952 done
3953 done
3954 IFS=$as_save_IFS
3956 if test $ac_prog_rejected = yes; then
3957 # We found a bogon in the path, so make sure we never use it.
3958 set dummy $ac_cv_prog_CC
3959 shift
3960 if test $# != 0; then
3961 # We chose a different compiler from the bogus one.
3962 # However, it has the same basename, so the bogon will be chosen
3963 # first if we set CC to just the basename; use the full file name.
3964 shift
3965 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3970 CC=$ac_cv_prog_CC
3971 if test -n "$CC"; then
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3973 $as_echo "$CC" >&6; }
3974 else
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976 $as_echo "no" >&6; }
3981 if test -z "$CC"; then
3982 if test -n "$ac_tool_prefix"; then
3983 for ac_prog in cl.exe
3985 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3986 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988 $as_echo_n "checking for $ac_word... " >&6; }
3989 if ${ac_cv_prog_CC+:} false; then :
3990 $as_echo_n "(cached) " >&6
3991 else
3992 if test -n "$CC"; then
3993 ac_cv_prog_CC="$CC" # Let the user override the test.
3994 else
3995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3996 for as_dir in $PATH
3998 IFS=$as_save_IFS
3999 test -z "$as_dir" && as_dir=.
4000 for ac_exec_ext in '' $ac_executable_extensions; do
4001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4002 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4004 break 2
4006 done
4007 done
4008 IFS=$as_save_IFS
4012 CC=$ac_cv_prog_CC
4013 if test -n "$CC"; then
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4015 $as_echo "$CC" >&6; }
4016 else
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018 $as_echo "no" >&6; }
4022 test -n "$CC" && break
4023 done
4025 if test -z "$CC"; then
4026 ac_ct_CC=$CC
4027 for ac_prog in cl.exe
4029 # Extract the first word of "$ac_prog", so it can be a program name with args.
4030 set dummy $ac_prog; ac_word=$2
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4032 $as_echo_n "checking for $ac_word... " >&6; }
4033 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4034 $as_echo_n "(cached) " >&6
4035 else
4036 if test -n "$ac_ct_CC"; then
4037 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4038 else
4039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4040 for as_dir in $PATH
4042 IFS=$as_save_IFS
4043 test -z "$as_dir" && as_dir=.
4044 for ac_exec_ext in '' $ac_executable_extensions; do
4045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4046 ac_cv_prog_ac_ct_CC="$ac_prog"
4047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4048 break 2
4050 done
4051 done
4052 IFS=$as_save_IFS
4056 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4057 if test -n "$ac_ct_CC"; then
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4059 $as_echo "$ac_ct_CC" >&6; }
4060 else
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4062 $as_echo "no" >&6; }
4066 test -n "$ac_ct_CC" && break
4067 done
4069 if test "x$ac_ct_CC" = x; then
4070 CC=""
4071 else
4072 case $cross_compiling:$ac_tool_warned in
4073 yes:)
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4076 ac_tool_warned=yes ;;
4077 esac
4078 CC=$ac_ct_CC
4085 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4087 as_fn_error $? "no acceptable C compiler found in \$PATH
4088 See \`config.log' for more details" "$LINENO" 5; }
4090 # Provide some information about the compiler.
4091 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4092 set X $ac_compile
4093 ac_compiler=$2
4094 for ac_option in --version -v -V -qversion; do
4095 { { ac_try="$ac_compiler $ac_option >&5"
4096 case "(($ac_try" in
4097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4098 *) ac_try_echo=$ac_try;;
4099 esac
4100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4101 $as_echo "$ac_try_echo"; } >&5
4102 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4103 ac_status=$?
4104 if test -s conftest.err; then
4105 sed '10a\
4106 ... rest of stderr output deleted ...
4107 10q' conftest.err >conftest.er1
4108 cat conftest.er1 >&5
4110 rm -f conftest.er1 conftest.err
4111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4112 test $ac_status = 0; }
4113 done
4115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4116 /* end confdefs.h. */
4119 main ()
4123 return 0;
4125 _ACEOF
4126 ac_clean_files_save=$ac_clean_files
4127 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4128 # Try to create an executable without -o first, disregard a.out.
4129 # It will help us diagnose broken compilers, and finding out an intuition
4130 # of exeext.
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4132 $as_echo_n "checking whether the C compiler works... " >&6; }
4133 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4135 # The possible output files:
4136 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4138 ac_rmfiles=
4139 for ac_file in $ac_files
4141 case $ac_file in
4142 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4143 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4144 esac
4145 done
4146 rm -f $ac_rmfiles
4148 if { { ac_try="$ac_link_default"
4149 case "(($ac_try" in
4150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4151 *) ac_try_echo=$ac_try;;
4152 esac
4153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4154 $as_echo "$ac_try_echo"; } >&5
4155 (eval "$ac_link_default") 2>&5
4156 ac_status=$?
4157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4158 test $ac_status = 0; }; then :
4159 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4160 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4161 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4162 # so that the user can short-circuit this test for compilers unknown to
4163 # Autoconf.
4164 for ac_file in $ac_files ''
4166 test -f "$ac_file" || continue
4167 case $ac_file in
4168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4170 [ab].out )
4171 # We found the default executable, but exeext='' is most
4172 # certainly right.
4173 break;;
4174 *.* )
4175 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4176 then :; else
4177 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4179 # We set ac_cv_exeext here because the later test for it is not
4180 # safe: cross compilers may not add the suffix if given an `-o'
4181 # argument, so we may need to know it at that point already.
4182 # Even if this section looks crufty: it has the advantage of
4183 # actually working.
4184 break;;
4186 break;;
4187 esac
4188 done
4189 test "$ac_cv_exeext" = no && ac_cv_exeext=
4191 else
4192 ac_file=''
4194 if test -z "$ac_file"; then :
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4196 $as_echo "no" >&6; }
4197 $as_echo "$as_me: failed program was:" >&5
4198 sed 's/^/| /' conftest.$ac_ext >&5
4200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4202 as_fn_error 77 "C compiler cannot create executables
4203 See \`config.log' for more details" "$LINENO" 5; }
4204 else
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4206 $as_echo "yes" >&6; }
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4209 $as_echo_n "checking for C compiler default output file name... " >&6; }
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4211 $as_echo "$ac_file" >&6; }
4212 ac_exeext=$ac_cv_exeext
4214 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4215 ac_clean_files=$ac_clean_files_save
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4217 $as_echo_n "checking for suffix of executables... " >&6; }
4218 if { { ac_try="$ac_link"
4219 case "(($ac_try" in
4220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4221 *) ac_try_echo=$ac_try;;
4222 esac
4223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4224 $as_echo "$ac_try_echo"; } >&5
4225 (eval "$ac_link") 2>&5
4226 ac_status=$?
4227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4228 test $ac_status = 0; }; then :
4229 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4230 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4231 # work properly (i.e., refer to `conftest.exe'), while it won't with
4232 # `rm'.
4233 for ac_file in conftest.exe conftest conftest.*; do
4234 test -f "$ac_file" || continue
4235 case $ac_file in
4236 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4237 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4238 break;;
4239 * ) break;;
4240 esac
4241 done
4242 else
4243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4245 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4246 See \`config.log' for more details" "$LINENO" 5; }
4248 rm -f conftest conftest$ac_cv_exeext
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4250 $as_echo "$ac_cv_exeext" >&6; }
4252 rm -f conftest.$ac_ext
4253 EXEEXT=$ac_cv_exeext
4254 ac_exeext=$EXEEXT
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4257 #include <stdio.h>
4259 main ()
4261 FILE *f = fopen ("conftest.out", "w");
4262 return ferror (f) || fclose (f) != 0;
4265 return 0;
4267 _ACEOF
4268 ac_clean_files="$ac_clean_files conftest.out"
4269 # Check that the compiler produces executables we can run. If not, either
4270 # the compiler is broken, or we cross compile.
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4272 $as_echo_n "checking whether we are cross compiling... " >&6; }
4273 if test "$cross_compiling" != yes; then
4274 { { ac_try="$ac_link"
4275 case "(($ac_try" in
4276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4277 *) ac_try_echo=$ac_try;;
4278 esac
4279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4280 $as_echo "$ac_try_echo"; } >&5
4281 (eval "$ac_link") 2>&5
4282 ac_status=$?
4283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4284 test $ac_status = 0; }
4285 if { ac_try='./conftest$ac_cv_exeext'
4286 { { case "(($ac_try" in
4287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4288 *) ac_try_echo=$ac_try;;
4289 esac
4290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4291 $as_echo "$ac_try_echo"; } >&5
4292 (eval "$ac_try") 2>&5
4293 ac_status=$?
4294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4295 test $ac_status = 0; }; }; then
4296 cross_compiling=no
4297 else
4298 if test "$cross_compiling" = maybe; then
4299 cross_compiling=yes
4300 else
4301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4303 as_fn_error $? "cannot run C compiled programs.
4304 If you meant to cross compile, use \`--host'.
4305 See \`config.log' for more details" "$LINENO" 5; }
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4310 $as_echo "$cross_compiling" >&6; }
4312 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4313 ac_clean_files=$ac_clean_files_save
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4315 $as_echo_n "checking for suffix of object files... " >&6; }
4316 if ${ac_cv_objext+:} false; then :
4317 $as_echo_n "(cached) " >&6
4318 else
4319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4320 /* end confdefs.h. */
4323 main ()
4327 return 0;
4329 _ACEOF
4330 rm -f conftest.o conftest.obj
4331 if { { ac_try="$ac_compile"
4332 case "(($ac_try" in
4333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4334 *) ac_try_echo=$ac_try;;
4335 esac
4336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4337 $as_echo "$ac_try_echo"; } >&5
4338 (eval "$ac_compile") 2>&5
4339 ac_status=$?
4340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4341 test $ac_status = 0; }; then :
4342 for ac_file in conftest.o conftest.obj conftest.*; do
4343 test -f "$ac_file" || continue;
4344 case $ac_file in
4345 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4346 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4347 break;;
4348 esac
4349 done
4350 else
4351 $as_echo "$as_me: failed program was:" >&5
4352 sed 's/^/| /' conftest.$ac_ext >&5
4354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4356 as_fn_error $? "cannot compute suffix of object files: cannot compile
4357 See \`config.log' for more details" "$LINENO" 5; }
4359 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4362 $as_echo "$ac_cv_objext" >&6; }
4363 OBJEXT=$ac_cv_objext
4364 ac_objext=$OBJEXT
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4366 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4367 if ${ac_cv_c_compiler_gnu+:} false; then :
4368 $as_echo_n "(cached) " >&6
4369 else
4370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4371 /* end confdefs.h. */
4374 main ()
4376 #ifndef __GNUC__
4377 choke me
4378 #endif
4381 return 0;
4383 _ACEOF
4384 if ac_fn_c_try_compile "$LINENO"; then :
4385 ac_compiler_gnu=yes
4386 else
4387 ac_compiler_gnu=no
4389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4390 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4394 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4395 if test $ac_compiler_gnu = yes; then
4396 GCC=yes
4397 else
4398 GCC=
4400 ac_test_CFLAGS=${CFLAGS+set}
4401 ac_save_CFLAGS=$CFLAGS
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4403 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4404 if ${ac_cv_prog_cc_g+:} false; then :
4405 $as_echo_n "(cached) " >&6
4406 else
4407 ac_save_c_werror_flag=$ac_c_werror_flag
4408 ac_c_werror_flag=yes
4409 ac_cv_prog_cc_g=no
4410 CFLAGS="-g"
4411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4412 /* end confdefs.h. */
4415 main ()
4419 return 0;
4421 _ACEOF
4422 if ac_fn_c_try_compile "$LINENO"; then :
4423 ac_cv_prog_cc_g=yes
4424 else
4425 CFLAGS=""
4426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4427 /* end confdefs.h. */
4430 main ()
4434 return 0;
4436 _ACEOF
4437 if ac_fn_c_try_compile "$LINENO"; then :
4439 else
4440 ac_c_werror_flag=$ac_save_c_werror_flag
4441 CFLAGS="-g"
4442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h. */
4446 main ()
4450 return 0;
4452 _ACEOF
4453 if ac_fn_c_try_compile "$LINENO"; then :
4454 ac_cv_prog_cc_g=yes
4456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4461 ac_c_werror_flag=$ac_save_c_werror_flag
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4464 $as_echo "$ac_cv_prog_cc_g" >&6; }
4465 if test "$ac_test_CFLAGS" = set; then
4466 CFLAGS=$ac_save_CFLAGS
4467 elif test $ac_cv_prog_cc_g = yes; then
4468 if test "$GCC" = yes; then
4469 CFLAGS="-g -O2"
4470 else
4471 CFLAGS="-g"
4473 else
4474 if test "$GCC" = yes; then
4475 CFLAGS="-O2"
4476 else
4477 CFLAGS=
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4481 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4482 if ${ac_cv_prog_cc_c89+:} false; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 ac_cv_prog_cc_c89=no
4486 ac_save_CC=$CC
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4489 #include <stdarg.h>
4490 #include <stdio.h>
4491 struct stat;
4492 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4493 struct buf { int x; };
4494 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4495 static char *e (p, i)
4496 char **p;
4497 int i;
4499 return p[i];
4501 static char *f (char * (*g) (char **, int), char **p, ...)
4503 char *s;
4504 va_list v;
4505 va_start (v,p);
4506 s = g (p, va_arg (v,int));
4507 va_end (v);
4508 return s;
4511 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4512 function prototypes and stuff, but not '\xHH' hex character constants.
4513 These don't provoke an error unfortunately, instead are silently treated
4514 as 'x'. The following induces an error, until -std is added to get
4515 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4516 array size at least. It's necessary to write '\x00'==0 to get something
4517 that's true only with -std. */
4518 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4520 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4521 inside strings and character constants. */
4522 #define FOO(x) 'x'
4523 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4525 int test (int i, double x);
4526 struct s1 {int (*f) (int a);};
4527 struct s2 {int (*f) (double a);};
4528 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4529 int argc;
4530 char **argv;
4532 main ()
4534 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4536 return 0;
4538 _ACEOF
4539 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4540 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4542 CC="$ac_save_CC $ac_arg"
4543 if ac_fn_c_try_compile "$LINENO"; then :
4544 ac_cv_prog_cc_c89=$ac_arg
4546 rm -f core conftest.err conftest.$ac_objext
4547 test "x$ac_cv_prog_cc_c89" != "xno" && break
4548 done
4549 rm -f conftest.$ac_ext
4550 CC=$ac_save_CC
4553 # AC_CACHE_VAL
4554 case "x$ac_cv_prog_cc_c89" in
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4557 $as_echo "none needed" >&6; } ;;
4558 xno)
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4560 $as_echo "unsupported" >&6; } ;;
4562 CC="$CC $ac_cv_prog_cc_c89"
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4564 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4565 esac
4566 if test "x$ac_cv_prog_cc_c89" != xno; then :
4570 ac_ext=c
4571 ac_cpp='$CPP $CPPFLAGS'
4572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4576 ac_ext=cpp
4577 ac_cpp='$CXXCPP $CPPFLAGS'
4578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4581 if test -z "$CXX"; then
4582 if test -n "$CCC"; then
4583 CXX=$CCC
4584 else
4585 if test -n "$ac_tool_prefix"; then
4586 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4588 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4589 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4591 $as_echo_n "checking for $ac_word... " >&6; }
4592 if ${ac_cv_prog_CXX+:} false; then :
4593 $as_echo_n "(cached) " >&6
4594 else
4595 if test -n "$CXX"; then
4596 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4597 else
4598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4599 for as_dir in $PATH
4601 IFS=$as_save_IFS
4602 test -z "$as_dir" && as_dir=.
4603 for ac_exec_ext in '' $ac_executable_extensions; do
4604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4605 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 break 2
4609 done
4610 done
4611 IFS=$as_save_IFS
4615 CXX=$ac_cv_prog_CXX
4616 if test -n "$CXX"; then
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4618 $as_echo "$CXX" >&6; }
4619 else
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4621 $as_echo "no" >&6; }
4625 test -n "$CXX" && break
4626 done
4628 if test -z "$CXX"; then
4629 ac_ct_CXX=$CXX
4630 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4632 # Extract the first word of "$ac_prog", so it can be a program name with args.
4633 set dummy $ac_prog; ac_word=$2
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4635 $as_echo_n "checking for $ac_word... " >&6; }
4636 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4637 $as_echo_n "(cached) " >&6
4638 else
4639 if test -n "$ac_ct_CXX"; then
4640 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4641 else
4642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4643 for as_dir in $PATH
4645 IFS=$as_save_IFS
4646 test -z "$as_dir" && as_dir=.
4647 for ac_exec_ext in '' $ac_executable_extensions; do
4648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4649 ac_cv_prog_ac_ct_CXX="$ac_prog"
4650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4651 break 2
4653 done
4654 done
4655 IFS=$as_save_IFS
4659 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4660 if test -n "$ac_ct_CXX"; then
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4662 $as_echo "$ac_ct_CXX" >&6; }
4663 else
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4665 $as_echo "no" >&6; }
4669 test -n "$ac_ct_CXX" && break
4670 done
4672 if test "x$ac_ct_CXX" = x; then
4673 CXX="g++"
4674 else
4675 case $cross_compiling:$ac_tool_warned in
4676 yes:)
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4679 ac_tool_warned=yes ;;
4680 esac
4681 CXX=$ac_ct_CXX
4687 # Provide some information about the compiler.
4688 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4689 set X $ac_compile
4690 ac_compiler=$2
4691 for ac_option in --version -v -V -qversion; do
4692 { { ac_try="$ac_compiler $ac_option >&5"
4693 case "(($ac_try" in
4694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4695 *) ac_try_echo=$ac_try;;
4696 esac
4697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4698 $as_echo "$ac_try_echo"; } >&5
4699 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4700 ac_status=$?
4701 if test -s conftest.err; then
4702 sed '10a\
4703 ... rest of stderr output deleted ...
4704 10q' conftest.err >conftest.er1
4705 cat conftest.er1 >&5
4707 rm -f conftest.er1 conftest.err
4708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4709 test $ac_status = 0; }
4710 done
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4713 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4714 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4715 $as_echo_n "(cached) " >&6
4716 else
4717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4718 /* end confdefs.h. */
4721 main ()
4723 #ifndef __GNUC__
4724 choke me
4725 #endif
4728 return 0;
4730 _ACEOF
4731 if ac_fn_cxx_try_compile "$LINENO"; then :
4732 ac_compiler_gnu=yes
4733 else
4734 ac_compiler_gnu=no
4736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4737 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4741 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4742 if test $ac_compiler_gnu = yes; then
4743 GXX=yes
4744 else
4745 GXX=
4747 ac_test_CXXFLAGS=${CXXFLAGS+set}
4748 ac_save_CXXFLAGS=$CXXFLAGS
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4750 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4751 if ${ac_cv_prog_cxx_g+:} false; then :
4752 $as_echo_n "(cached) " >&6
4753 else
4754 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4755 ac_cxx_werror_flag=yes
4756 ac_cv_prog_cxx_g=no
4757 CXXFLAGS="-g"
4758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4759 /* end confdefs.h. */
4762 main ()
4766 return 0;
4768 _ACEOF
4769 if ac_fn_cxx_try_compile "$LINENO"; then :
4770 ac_cv_prog_cxx_g=yes
4771 else
4772 CXXFLAGS=""
4773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h. */
4777 main ()
4781 return 0;
4783 _ACEOF
4784 if ac_fn_cxx_try_compile "$LINENO"; then :
4786 else
4787 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4788 CXXFLAGS="-g"
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4793 main ()
4797 return 0;
4799 _ACEOF
4800 if ac_fn_cxx_try_compile "$LINENO"; then :
4801 ac_cv_prog_cxx_g=yes
4803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4808 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4811 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4812 if test "$ac_test_CXXFLAGS" = set; then
4813 CXXFLAGS=$ac_save_CXXFLAGS
4814 elif test $ac_cv_prog_cxx_g = yes; then
4815 if test "$GXX" = yes; then
4816 CXXFLAGS="-g -O2"
4817 else
4818 CXXFLAGS="-g"
4820 else
4821 if test "$GXX" = yes; then
4822 CXXFLAGS="-O2"
4823 else
4824 CXXFLAGS=
4827 ac_ext=c
4828 ac_cpp='$CPP $CPPFLAGS'
4829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4833 if test -n "$ac_tool_prefix"; then
4834 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4835 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4837 $as_echo_n "checking for $ac_word... " >&6; }
4838 if ${ac_cv_prog_CPPBIN+:} false; then :
4839 $as_echo_n "(cached) " >&6
4840 else
4841 if test -n "$CPPBIN"; then
4842 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4843 else
4844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4845 for as_dir in $PATH
4847 IFS=$as_save_IFS
4848 test -z "$as_dir" && as_dir=.
4849 for ac_exec_ext in '' $ac_executable_extensions; do
4850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4851 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4853 break 2
4855 done
4856 done
4857 IFS=$as_save_IFS
4861 CPPBIN=$ac_cv_prog_CPPBIN
4862 if test -n "$CPPBIN"; then
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4864 $as_echo "$CPPBIN" >&6; }
4865 else
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4867 $as_echo "no" >&6; }
4872 if test -z "$ac_cv_prog_CPPBIN"; then
4873 ac_ct_CPPBIN=$CPPBIN
4874 # Extract the first word of "cpp", so it can be a program name with args.
4875 set dummy cpp; ac_word=$2
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 $as_echo_n "checking for $ac_word... " >&6; }
4878 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4879 $as_echo_n "(cached) " >&6
4880 else
4881 if test -n "$ac_ct_CPPBIN"; then
4882 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4883 else
4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885 for as_dir in $PATH
4887 IFS=$as_save_IFS
4888 test -z "$as_dir" && as_dir=.
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_ac_ct_CPPBIN="cpp"
4892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4893 break 2
4895 done
4896 done
4897 IFS=$as_save_IFS
4901 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4902 if test -n "$ac_ct_CPPBIN"; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4904 $as_echo "$ac_ct_CPPBIN" >&6; }
4905 else
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4910 if test "x$ac_ct_CPPBIN" = x; then
4911 CPPBIN="cpp"
4912 else
4913 case $cross_compiling:$ac_tool_warned in
4914 yes:)
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4917 ac_tool_warned=yes ;;
4918 esac
4919 CPPBIN=$ac_ct_CPPBIN
4921 else
4922 CPPBIN="$ac_cv_prog_CPPBIN"
4926 cat >>confdefs.h <<_ACEOF
4927 #define EXEEXT "$ac_exeext"
4928 _ACEOF
4930 if test -n "$ac_tool_prefix"; then
4931 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4932 set dummy ${ac_tool_prefix}ld; ac_word=$2
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4934 $as_echo_n "checking for $ac_word... " >&6; }
4935 if ${ac_cv_prog_LD+:} false; then :
4936 $as_echo_n "(cached) " >&6
4937 else
4938 if test -n "$LD"; then
4939 ac_cv_prog_LD="$LD" # Let the user override the test.
4940 else
4941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4942 for as_dir in $PATH
4944 IFS=$as_save_IFS
4945 test -z "$as_dir" && as_dir=.
4946 for ac_exec_ext in '' $ac_executable_extensions; do
4947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4948 ac_cv_prog_LD="${ac_tool_prefix}ld"
4949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4950 break 2
4952 done
4953 done
4954 IFS=$as_save_IFS
4958 LD=$ac_cv_prog_LD
4959 if test -n "$LD"; then
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4961 $as_echo "$LD" >&6; }
4962 else
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 $as_echo "no" >&6; }
4969 if test -z "$ac_cv_prog_LD"; then
4970 ac_ct_LD=$LD
4971 # Extract the first word of "ld", so it can be a program name with args.
4972 set dummy ld; ac_word=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4976 $as_echo_n "(cached) " >&6
4977 else
4978 if test -n "$ac_ct_LD"; then
4979 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4980 else
4981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 for as_dir in $PATH
4984 IFS=$as_save_IFS
4985 test -z "$as_dir" && as_dir=.
4986 for ac_exec_ext in '' $ac_executable_extensions; do
4987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4988 ac_cv_prog_ac_ct_LD="ld"
4989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4990 break 2
4992 done
4993 done
4994 IFS=$as_save_IFS
4998 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4999 if test -n "$ac_ct_LD"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5001 $as_echo "$ac_ct_LD" >&6; }
5002 else
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5007 if test "x$ac_ct_LD" = x; then
5008 LD=""
5009 else
5010 case $cross_compiling:$ac_tool_warned in
5011 yes:)
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5014 ac_tool_warned=yes ;;
5015 esac
5016 LD=$ac_ct_LD
5018 else
5019 LD="$ac_cv_prog_LD"
5023 case $host in
5024 *-darwin*)
5025 with_fontconfig=${with_fontconfig:-no}
5027 *-mingw32*|*-cygwin*)
5028 enable_win16=${enable_win16:-no}
5029 CFLAGS="$CFLAGS -D_WIN32"
5031 esac
5033 case $host in
5034 x86_64*|amd64*)
5035 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5036 then
5037 CC="$CC -m32"
5038 CXX="$CXX -m32"
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5040 $as_echo_n "checking whether $CC works... " >&6; }
5042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5043 /* end confdefs.h. */
5046 main ()
5050 return 0;
5052 _ACEOF
5053 if ac_fn_c_try_link "$LINENO"; then :
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5055 $as_echo "yes" >&6; }
5056 else
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5059 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5061 rm -f core conftest.err conftest.$ac_objext \
5062 conftest$ac_exeext conftest.$ac_ext
5063 host_cpu="i386"
5064 notice_platform="32-bit "
5065 TARGETFLAGS="-m32"
5067 enable_win16=${enable_win16:-yes}
5068 else
5069 if test "x${GCC}" = "xyes"
5070 then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5072 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5074 /* end confdefs.h. */
5075 #include <stdarg.h>
5077 main ()
5079 void func(__builtin_ms_va_list *args);
5081 return 0;
5083 _ACEOF
5084 if ac_fn_c_try_compile "$LINENO"; then :
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5086 $as_echo "yes" >&6; }
5087 else
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }
5090 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5094 CC="$CC -m64"
5095 CXX="$CXX -m64"
5096 host_cpu="x86_64"
5097 notice_platform="64-bit "
5098 TARGETFLAGS="-m64"
5102 arm*)
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5104 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5106 /* end confdefs.h. */
5107 int ac_test(int i) { return i; }
5109 main ()
5111 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5113 return 0;
5115 _ACEOF
5116 if ac_fn_c_try_link "$LINENO"; then :
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5118 $as_echo "yes" >&6; }
5119 else
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5121 $as_echo "no" >&6; }
5122 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5124 rm -f core conftest.err conftest.$ac_objext \
5125 conftest$ac_exeext conftest.$ac_ext
5126 CFLAGS="$CFLAGS -marm"
5127 TARGETFLAGS="-marm"
5130 i[3456789]86*)
5131 enable_win16=${enable_win16:-yes}
5133 esac
5135 enable_win16=${enable_win16:-no}
5136 enable_win64=${enable_win64:-no}
5138 enable_winetest=${enable_winetest:-$enable_tests}
5140 if test -n "$with_wine64"
5141 then
5142 if test "x$enable_win64" = "xyes"
5143 then
5144 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5145 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5147 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5148 You should create a separate build directory and run configure from there." "$LINENO" 5
5149 enable_fonts=${enable_fonts:-no}
5150 enable_server=${enable_server:-no}
5151 elif test "x$enable_win64" = "xyes"
5152 then
5153 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5157 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5158 if ${wine_cv_toolsdir+:} false; then :
5159 $as_echo_n "(cached) " >&6
5160 else
5161 wine_cv_toolsdir="$with_wine_tools"
5162 if test -z "$with_wine_tools"; then
5163 if test "$cross_compiling" = "yes"; then
5164 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5165 elif test -n "$with_wine64"; then
5166 wine_cv_toolsdir="$with_wine64"
5169 if test -z "$wine_cv_toolsdir"; then
5170 wine_makedep=tools/makedep
5171 wine_cv_toolsdir="\$(top_builddir)"
5172 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5173 wine_makedep=$wine_cv_toolsdir/tools/makedep
5174 case "$wine_cv_toolsdir" in
5175 /*) ;;
5176 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5177 esac
5178 enable_tools=${enable_tools:-no}
5179 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5180 else
5181 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5185 $as_echo "$wine_cv_toolsdir" >&6; }
5186 TOOLSDIR=$wine_cv_toolsdir
5188 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5189 then
5190 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5194 for ac_prog in flex
5196 # Extract the first word of "$ac_prog", so it can be a program name with args.
5197 set dummy $ac_prog; ac_word=$2
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5199 $as_echo_n "checking for $ac_word... " >&6; }
5200 if ${ac_cv_prog_FLEX+:} false; then :
5201 $as_echo_n "(cached) " >&6
5202 else
5203 if test -n "$FLEX"; then
5204 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5205 else
5206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5207 for as_dir in $PATH
5209 IFS=$as_save_IFS
5210 test -z "$as_dir" && as_dir=.
5211 for ac_exec_ext in '' $ac_executable_extensions; do
5212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5213 ac_cv_prog_FLEX="$ac_prog"
5214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5215 break 2
5217 done
5218 done
5219 IFS=$as_save_IFS
5223 FLEX=$ac_cv_prog_FLEX
5224 if test -n "$FLEX"; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5226 $as_echo "$FLEX" >&6; }
5227 else
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5229 $as_echo "no" >&6; }
5233 test -n "$FLEX" && break
5234 done
5235 test -n "$FLEX" || FLEX="none"
5237 if test "$FLEX" = "none"
5238 then
5239 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5242 $as_echo_n "checking whether flex is recent enough... " >&6; }
5243 cat >conftest.l <<EOF
5244 %top{
5245 #include "prediluvian.h"
5249 if $FLEX -t conftest.l >/dev/null 2>&5
5250 then
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5252 $as_echo "yes" >&6; }
5253 else
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5255 $as_echo "no" >&6; }
5256 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5259 for ac_prog in bison
5261 # Extract the first word of "$ac_prog", so it can be a program name with args.
5262 set dummy $ac_prog; ac_word=$2
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5264 $as_echo_n "checking for $ac_word... " >&6; }
5265 if ${ac_cv_prog_BISON+:} false; then :
5266 $as_echo_n "(cached) " >&6
5267 else
5268 if test -n "$BISON"; then
5269 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5270 else
5271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5272 for as_dir in $PATH
5274 IFS=$as_save_IFS
5275 test -z "$as_dir" && as_dir=.
5276 for ac_exec_ext in '' $ac_executable_extensions; do
5277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5278 ac_cv_prog_BISON="$ac_prog"
5279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5280 break 2
5282 done
5283 done
5284 IFS=$as_save_IFS
5288 BISON=$ac_cv_prog_BISON
5289 if test -n "$BISON"; then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5291 $as_echo "$BISON" >&6; }
5292 else
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5298 test -n "$BISON" && break
5299 done
5300 test -n "$BISON" || BISON="none"
5302 if test "$BISON" = "none"
5303 then
5304 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5307 if test -n "$ac_tool_prefix"; then
5308 for ac_prog in ar gar
5310 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5311 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5313 $as_echo_n "checking for $ac_word... " >&6; }
5314 if ${ac_cv_prog_AR+:} false; then :
5315 $as_echo_n "(cached) " >&6
5316 else
5317 if test -n "$AR"; then
5318 ac_cv_prog_AR="$AR" # Let the user override the test.
5319 else
5320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5321 for as_dir in $PATH
5323 IFS=$as_save_IFS
5324 test -z "$as_dir" && as_dir=.
5325 for ac_exec_ext in '' $ac_executable_extensions; do
5326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5327 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5329 break 2
5331 done
5332 done
5333 IFS=$as_save_IFS
5337 AR=$ac_cv_prog_AR
5338 if test -n "$AR"; then
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5340 $as_echo "$AR" >&6; }
5341 else
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5343 $as_echo "no" >&6; }
5347 test -n "$AR" && break
5348 done
5350 if test -z "$AR"; then
5351 ac_ct_AR=$AR
5352 for ac_prog in ar gar
5354 # Extract the first word of "$ac_prog", so it can be a program name with args.
5355 set dummy $ac_prog; ac_word=$2
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5357 $as_echo_n "checking for $ac_word... " >&6; }
5358 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5359 $as_echo_n "(cached) " >&6
5360 else
5361 if test -n "$ac_ct_AR"; then
5362 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5363 else
5364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5365 for as_dir in $PATH
5367 IFS=$as_save_IFS
5368 test -z "$as_dir" && as_dir=.
5369 for ac_exec_ext in '' $ac_executable_extensions; do
5370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5371 ac_cv_prog_ac_ct_AR="$ac_prog"
5372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5373 break 2
5375 done
5376 done
5377 IFS=$as_save_IFS
5381 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5382 if test -n "$ac_ct_AR"; then
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5384 $as_echo "$ac_ct_AR" >&6; }
5385 else
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5387 $as_echo "no" >&6; }
5391 test -n "$ac_ct_AR" && break
5392 done
5394 if test "x$ac_ct_AR" = x; then
5395 AR="ar"
5396 else
5397 case $cross_compiling:$ac_tool_warned in
5398 yes:)
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5401 ac_tool_warned=yes ;;
5402 esac
5403 AR=$ac_ct_AR
5407 if test -n "$ac_tool_prefix"; then
5408 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5409 set dummy ${ac_tool_prefix}strip; ac_word=$2
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5411 $as_echo_n "checking for $ac_word... " >&6; }
5412 if ${ac_cv_prog_STRIP+:} false; then :
5413 $as_echo_n "(cached) " >&6
5414 else
5415 if test -n "$STRIP"; then
5416 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5417 else
5418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5419 for as_dir in $PATH
5421 IFS=$as_save_IFS
5422 test -z "$as_dir" && as_dir=.
5423 for ac_exec_ext in '' $ac_executable_extensions; do
5424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5425 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5427 break 2
5429 done
5430 done
5431 IFS=$as_save_IFS
5435 STRIP=$ac_cv_prog_STRIP
5436 if test -n "$STRIP"; then
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5438 $as_echo "$STRIP" >&6; }
5439 else
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5441 $as_echo "no" >&6; }
5446 if test -z "$ac_cv_prog_STRIP"; then
5447 ac_ct_STRIP=$STRIP
5448 # Extract the first word of "strip", so it can be a program name with args.
5449 set dummy strip; ac_word=$2
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5451 $as_echo_n "checking for $ac_word... " >&6; }
5452 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5453 $as_echo_n "(cached) " >&6
5454 else
5455 if test -n "$ac_ct_STRIP"; then
5456 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5457 else
5458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5459 for as_dir in $PATH
5461 IFS=$as_save_IFS
5462 test -z "$as_dir" && as_dir=.
5463 for ac_exec_ext in '' $ac_executable_extensions; do
5464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5465 ac_cv_prog_ac_ct_STRIP="strip"
5466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5467 break 2
5469 done
5470 done
5471 IFS=$as_save_IFS
5475 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5476 if test -n "$ac_ct_STRIP"; then
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5478 $as_echo "$ac_ct_STRIP" >&6; }
5479 else
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5481 $as_echo "no" >&6; }
5484 if test "x$ac_ct_STRIP" = x; then
5485 STRIP="strip"
5486 else
5487 case $cross_compiling:$ac_tool_warned in
5488 yes:)
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5491 ac_tool_warned=yes ;;
5492 esac
5493 STRIP=$ac_ct_STRIP
5495 else
5496 STRIP="$ac_cv_prog_STRIP"
5499 ARFLAGS=rc
5501 if test -n "$ac_tool_prefix"; then
5502 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5503 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5505 $as_echo_n "checking for $ac_word... " >&6; }
5506 if ${ac_cv_prog_RANLIB+:} false; then :
5507 $as_echo_n "(cached) " >&6
5508 else
5509 if test -n "$RANLIB"; then
5510 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5511 else
5512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5513 for as_dir in $PATH
5515 IFS=$as_save_IFS
5516 test -z "$as_dir" && as_dir=.
5517 for ac_exec_ext in '' $ac_executable_extensions; do
5518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5519 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5521 break 2
5523 done
5524 done
5525 IFS=$as_save_IFS
5529 RANLIB=$ac_cv_prog_RANLIB
5530 if test -n "$RANLIB"; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5532 $as_echo "$RANLIB" >&6; }
5533 else
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5535 $as_echo "no" >&6; }
5540 if test -z "$ac_cv_prog_RANLIB"; then
5541 ac_ct_RANLIB=$RANLIB
5542 # Extract the first word of "ranlib", so it can be a program name with args.
5543 set dummy ranlib; ac_word=$2
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5545 $as_echo_n "checking for $ac_word... " >&6; }
5546 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5547 $as_echo_n "(cached) " >&6
5548 else
5549 if test -n "$ac_ct_RANLIB"; then
5550 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5551 else
5552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5553 for as_dir in $PATH
5555 IFS=$as_save_IFS
5556 test -z "$as_dir" && as_dir=.
5557 for ac_exec_ext in '' $ac_executable_extensions; do
5558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5559 ac_cv_prog_ac_ct_RANLIB="ranlib"
5560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5561 break 2
5563 done
5564 done
5565 IFS=$as_save_IFS
5569 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5570 if test -n "$ac_ct_RANLIB"; then
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5572 $as_echo "$ac_ct_RANLIB" >&6; }
5573 else
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5575 $as_echo "no" >&6; }
5578 if test "x$ac_ct_RANLIB" = x; then
5579 RANLIB=":"
5580 else
5581 case $cross_compiling:$ac_tool_warned in
5582 yes:)
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5585 ac_tool_warned=yes ;;
5586 esac
5587 RANLIB=$ac_ct_RANLIB
5589 else
5590 RANLIB="$ac_cv_prog_RANLIB"
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5594 $as_echo_n "checking whether ln -s works... " >&6; }
5595 LN_S=$as_ln_s
5596 if test "$LN_S" = "ln -s"; then
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5598 $as_echo "yes" >&6; }
5599 else
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5601 $as_echo "no, using $LN_S" >&6; }
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5605 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5606 if ${ac_cv_path_GREP+:} false; then :
5607 $as_echo_n "(cached) " >&6
5608 else
5609 if test -z "$GREP"; then
5610 ac_path_GREP_found=false
5611 # Loop through the user's path and test for each of PROGNAME-LIST
5612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5613 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5615 IFS=$as_save_IFS
5616 test -z "$as_dir" && as_dir=.
5617 for ac_prog in grep ggrep; do
5618 for ac_exec_ext in '' $ac_executable_extensions; do
5619 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5620 as_fn_executable_p "$ac_path_GREP" || continue
5621 # Check for GNU ac_path_GREP and select it if it is found.
5622 # Check for GNU $ac_path_GREP
5623 case `"$ac_path_GREP" --version 2>&1` in
5624 *GNU*)
5625 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5627 ac_count=0
5628 $as_echo_n 0123456789 >"conftest.in"
5629 while :
5631 cat "conftest.in" "conftest.in" >"conftest.tmp"
5632 mv "conftest.tmp" "conftest.in"
5633 cp "conftest.in" "conftest.nl"
5634 $as_echo 'GREP' >> "conftest.nl"
5635 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5636 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5637 as_fn_arith $ac_count + 1 && ac_count=$as_val
5638 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5639 # Best one so far, save it but keep looking for a better one
5640 ac_cv_path_GREP="$ac_path_GREP"
5641 ac_path_GREP_max=$ac_count
5643 # 10*(2^10) chars as input seems more than enough
5644 test $ac_count -gt 10 && break
5645 done
5646 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5647 esac
5649 $ac_path_GREP_found && break 3
5650 done
5651 done
5652 done
5653 IFS=$as_save_IFS
5654 if test -z "$ac_cv_path_GREP"; then
5655 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5657 else
5658 ac_cv_path_GREP=$GREP
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5663 $as_echo "$ac_cv_path_GREP" >&6; }
5664 GREP="$ac_cv_path_GREP"
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5668 $as_echo_n "checking for egrep... " >&6; }
5669 if ${ac_cv_path_EGREP+:} false; then :
5670 $as_echo_n "(cached) " >&6
5671 else
5672 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5673 then ac_cv_path_EGREP="$GREP -E"
5674 else
5675 if test -z "$EGREP"; then
5676 ac_path_EGREP_found=false
5677 # Loop through the user's path and test for each of PROGNAME-LIST
5678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5679 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5681 IFS=$as_save_IFS
5682 test -z "$as_dir" && as_dir=.
5683 for ac_prog in egrep; do
5684 for ac_exec_ext in '' $ac_executable_extensions; do
5685 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5686 as_fn_executable_p "$ac_path_EGREP" || continue
5687 # Check for GNU ac_path_EGREP and select it if it is found.
5688 # Check for GNU $ac_path_EGREP
5689 case `"$ac_path_EGREP" --version 2>&1` in
5690 *GNU*)
5691 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5693 ac_count=0
5694 $as_echo_n 0123456789 >"conftest.in"
5695 while :
5697 cat "conftest.in" "conftest.in" >"conftest.tmp"
5698 mv "conftest.tmp" "conftest.in"
5699 cp "conftest.in" "conftest.nl"
5700 $as_echo 'EGREP' >> "conftest.nl"
5701 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5702 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5703 as_fn_arith $ac_count + 1 && ac_count=$as_val
5704 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5705 # Best one so far, save it but keep looking for a better one
5706 ac_cv_path_EGREP="$ac_path_EGREP"
5707 ac_path_EGREP_max=$ac_count
5709 # 10*(2^10) chars as input seems more than enough
5710 test $ac_count -gt 10 && break
5711 done
5712 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5713 esac
5715 $ac_path_EGREP_found && break 3
5716 done
5717 done
5718 done
5719 IFS=$as_save_IFS
5720 if test -z "$ac_cv_path_EGREP"; then
5721 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5723 else
5724 ac_cv_path_EGREP=$EGREP
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5730 $as_echo "$ac_cv_path_EGREP" >&6; }
5731 EGREP="$ac_cv_path_EGREP"
5734 # Extract the first word of "ldconfig", so it can be a program name with args.
5735 set dummy ldconfig; ac_word=$2
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737 $as_echo_n "checking for $ac_word... " >&6; }
5738 if ${ac_cv_path_LDCONFIG+:} false; then :
5739 $as_echo_n "(cached) " >&6
5740 else
5741 case $LDCONFIG in
5742 [\\/]* | ?:[\\/]*)
5743 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5747 for as_dir in /sbin /usr/sbin $PATH
5749 IFS=$as_save_IFS
5750 test -z "$as_dir" && as_dir=.
5751 for ac_exec_ext in '' $ac_executable_extensions; do
5752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5753 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5755 break 2
5757 done
5758 done
5759 IFS=$as_save_IFS
5761 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5763 esac
5765 LDCONFIG=$ac_cv_path_LDCONFIG
5766 if test -n "$LDCONFIG"; then
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5768 $as_echo "$LDCONFIG" >&6; }
5769 else
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5771 $as_echo "no" >&6; }
5775 for ac_prog in msgfmt
5777 # Extract the first word of "$ac_prog", so it can be a program name with args.
5778 set dummy $ac_prog; ac_word=$2
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5780 $as_echo_n "checking for $ac_word... " >&6; }
5781 if ${ac_cv_prog_MSGFMT+:} false; then :
5782 $as_echo_n "(cached) " >&6
5783 else
5784 if test -n "$MSGFMT"; then
5785 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5786 else
5787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5788 for as_dir in $PATH
5790 IFS=$as_save_IFS
5791 test -z "$as_dir" && as_dir=.
5792 for ac_exec_ext in '' $ac_executable_extensions; do
5793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5794 ac_cv_prog_MSGFMT="$ac_prog"
5795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5796 break 2
5798 done
5799 done
5800 IFS=$as_save_IFS
5804 MSGFMT=$ac_cv_prog_MSGFMT
5805 if test -n "$MSGFMT"; then
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5807 $as_echo "$MSGFMT" >&6; }
5808 else
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5810 $as_echo "no" >&6; }
5814 test -n "$MSGFMT" && break
5815 done
5816 test -n "$MSGFMT" || MSGFMT="false"
5818 if ${ac_tool_prefix+:} false; then :
5819 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5820 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5824 $as_echo_n "(cached) " >&6
5825 else
5826 if test -n "$PKG_CONFIG"; then
5827 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5828 else
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 for as_dir in $PATH
5832 IFS=$as_save_IFS
5833 test -z "$as_dir" && as_dir=.
5834 for ac_exec_ext in '' $ac_executable_extensions; do
5835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5836 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 break 2
5840 done
5841 done
5842 IFS=$as_save_IFS
5846 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5847 if test -n "$PKG_CONFIG"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5849 $as_echo "$PKG_CONFIG" >&6; }
5850 else
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5857 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5858 if test "x$cross_compiling" = xyes; then :
5860 else
5861 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5862 # Extract the first word of "pkg-config", so it can be a program name with args.
5863 set dummy pkg-config; ac_word=$2
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5865 $as_echo_n "checking for $ac_word... " >&6; }
5866 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5867 $as_echo_n "(cached) " >&6
5868 else
5869 if test -n "$PKG_CONFIG"; then
5870 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5871 else
5872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5873 for as_dir in $PATH
5875 IFS=$as_save_IFS
5876 test -z "$as_dir" && as_dir=.
5877 for ac_exec_ext in '' $ac_executable_extensions; do
5878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5879 ac_cv_prog_PKG_CONFIG="pkg-config"
5880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5881 break 2
5883 done
5884 done
5885 IFS=$as_save_IFS
5889 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5890 if test -n "$PKG_CONFIG"; then
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5892 $as_echo "$PKG_CONFIG" >&6; }
5893 else
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5895 $as_echo "no" >&6; }
5900 else
5901 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5904 if test "x$enable_maintainer_mode" != "xyes"
5905 then
5906 FONTFORGE=""
5907 RSVG=""
5908 CONVERT=""
5909 ICOTOOL=""
5910 else
5911 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5912 for ac_prog in fontforge
5914 # Extract the first word of "$ac_prog", so it can be a program name with args.
5915 set dummy $ac_prog; ac_word=$2
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5917 $as_echo_n "checking for $ac_word... " >&6; }
5918 if ${ac_cv_prog_FONTFORGE+:} false; then :
5919 $as_echo_n "(cached) " >&6
5920 else
5921 if test -n "$FONTFORGE"; then
5922 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5923 else
5924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5925 for as_dir in $PATH
5927 IFS=$as_save_IFS
5928 test -z "$as_dir" && as_dir=.
5929 for ac_exec_ext in '' $ac_executable_extensions; do
5930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5931 ac_cv_prog_FONTFORGE="$ac_prog"
5932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 break 2
5935 done
5936 done
5937 IFS=$as_save_IFS
5941 FONTFORGE=$ac_cv_prog_FONTFORGE
5942 if test -n "$FONTFORGE"; then
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5944 $as_echo "$FONTFORGE" >&6; }
5945 else
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5947 $as_echo "no" >&6; }
5951 test -n "$FONTFORGE" && break
5952 done
5953 test -n "$FONTFORGE" || FONTFORGE="false"
5955 for ac_prog in rsvg-convert rsvg
5957 # Extract the first word of "$ac_prog", so it can be a program name with args.
5958 set dummy $ac_prog; ac_word=$2
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5960 $as_echo_n "checking for $ac_word... " >&6; }
5961 if ${ac_cv_prog_RSVG+:} false; then :
5962 $as_echo_n "(cached) " >&6
5963 else
5964 if test -n "$RSVG"; then
5965 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5966 else
5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5968 for as_dir in $PATH
5970 IFS=$as_save_IFS
5971 test -z "$as_dir" && as_dir=.
5972 for ac_exec_ext in '' $ac_executable_extensions; do
5973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5974 ac_cv_prog_RSVG="$ac_prog"
5975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5976 break 2
5978 done
5979 done
5980 IFS=$as_save_IFS
5984 RSVG=$ac_cv_prog_RSVG
5985 if test -n "$RSVG"; then
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5987 $as_echo "$RSVG" >&6; }
5988 else
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5990 $as_echo "no" >&6; }
5994 test -n "$RSVG" && break
5995 done
5996 test -n "$RSVG" || RSVG="false"
5998 for ac_prog in convert
6000 # Extract the first word of "$ac_prog", so it can be a program name with args.
6001 set dummy $ac_prog; ac_word=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 $as_echo_n "checking for $ac_word... " >&6; }
6004 if ${ac_cv_prog_CONVERT+:} false; then :
6005 $as_echo_n "(cached) " >&6
6006 else
6007 if test -n "$CONVERT"; then
6008 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6009 else
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6011 for as_dir in $PATH
6013 IFS=$as_save_IFS
6014 test -z "$as_dir" && as_dir=.
6015 for ac_exec_ext in '' $ac_executable_extensions; do
6016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6017 ac_cv_prog_CONVERT="$ac_prog"
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 break 2
6021 done
6022 done
6023 IFS=$as_save_IFS
6027 CONVERT=$ac_cv_prog_CONVERT
6028 if test -n "$CONVERT"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6030 $as_echo "$CONVERT" >&6; }
6031 else
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033 $as_echo "no" >&6; }
6037 test -n "$CONVERT" && break
6038 done
6039 test -n "$CONVERT" || CONVERT="false"
6041 for ac_prog in icotool
6043 # Extract the first word of "$ac_prog", so it can be a program name with args.
6044 set dummy $ac_prog; ac_word=$2
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6046 $as_echo_n "checking for $ac_word... " >&6; }
6047 if ${ac_cv_prog_ICOTOOL+:} false; then :
6048 $as_echo_n "(cached) " >&6
6049 else
6050 if test -n "$ICOTOOL"; then
6051 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6052 else
6053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 for as_dir in $PATH
6056 IFS=$as_save_IFS
6057 test -z "$as_dir" && as_dir=.
6058 for ac_exec_ext in '' $ac_executable_extensions; do
6059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6060 ac_cv_prog_ICOTOOL="$ac_prog"
6061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6062 break 2
6064 done
6065 done
6066 IFS=$as_save_IFS
6070 ICOTOOL=$ac_cv_prog_ICOTOOL
6071 if test -n "$ICOTOOL"; then
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6073 $as_echo "$ICOTOOL" >&6; }
6074 else
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6076 $as_echo "no" >&6; }
6080 test -n "$ICOTOOL" && break
6081 done
6082 test -n "$ICOTOOL" || ICOTOOL="false"
6084 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6085 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6087 if test "$CONVERT" = false
6088 then
6089 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6090 else
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6092 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6093 convert_version=`convert --version | head -n1`
6094 if test "x$convert_version" != "x"
6095 then
6096 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6097 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6098 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6099 then
6100 CONVERT=false
6103 if test "$CONVERT" = false
6104 then
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6106 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6107 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6108 else
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6110 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6114 if test "$ICOTOOL" = false
6115 then
6116 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6117 else
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6119 $as_echo_n "checking for recent enough icotool... " >&6; }
6120 icotool_version=`icotool --version | head -n1`
6121 if test "x$icotool_version" != "x"
6122 then
6123 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6124 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6125 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6126 then
6127 ICOTOOL=false
6128 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6131 if test "$ICOTOOL" = false
6132 then
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6134 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6135 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6136 else
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6138 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6142 with_gettext=yes
6143 with_gettextpo=yes
6144 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6147 test "x$with_gettext" != xno || MSGFMT=false
6148 if test "$MSGFMT" != "false"
6149 then
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6151 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6152 cat >conftest.po <<EOF
6153 # comment
6154 msgctxt "ctxt"
6155 msgid "id"
6156 msgstr "str"
6158 if $MSGFMT -o /dev/null conftest.po 2>&5
6159 then
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6161 $as_echo "yes" >&6; }
6162 else
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6164 $as_echo "no" >&6; }
6165 MSGFMT=false
6168 if test "$MSGFMT" = false; then :
6169 case "x$with_gettext" in
6170 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6171 xno) ;;
6172 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6173 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6174 esac
6175 enable_po=${enable_po:-no}
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6180 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6181 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6182 $as_echo_n "(cached) " >&6
6183 else
6184 ac_check_lib_save_LIBS=$LIBS
6185 LIBS="-li386 $LIBS"
6186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6187 /* end confdefs.h. */
6189 /* Override any GCC internal prototype to avoid an error.
6190 Use char because int might match the return type of a GCC
6191 builtin and then its argument prototype would still apply. */
6192 #ifdef __cplusplus
6193 extern "C"
6194 #endif
6195 char i386_set_ldt ();
6197 main ()
6199 return i386_set_ldt ();
6201 return 0;
6203 _ACEOF
6204 if ac_fn_c_try_link "$LINENO"; then :
6205 ac_cv_lib_i386_i386_set_ldt=yes
6206 else
6207 ac_cv_lib_i386_i386_set_ldt=no
6209 rm -f core conftest.err conftest.$ac_objext \
6210 conftest$ac_exeext conftest.$ac_ext
6211 LIBS=$ac_check_lib_save_LIBS
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6214 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6215 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6216 cat >>confdefs.h <<_ACEOF
6217 #define HAVE_LIBI386 1
6218 _ACEOF
6220 LIBS="-li386 $LIBS"
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6225 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6226 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6227 $as_echo_n "(cached) " >&6
6228 else
6229 ac_check_lib_save_LIBS=$LIBS
6230 LIBS="-lossaudio $LIBS"
6231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6232 /* end confdefs.h. */
6234 /* Override any GCC internal prototype to avoid an error.
6235 Use char because int might match the return type of a GCC
6236 builtin and then its argument prototype would still apply. */
6237 #ifdef __cplusplus
6238 extern "C"
6239 #endif
6240 char _oss_ioctl ();
6242 main ()
6244 return _oss_ioctl ();
6246 return 0;
6248 _ACEOF
6249 if ac_fn_c_try_link "$LINENO"; then :
6250 ac_cv_lib_ossaudio__oss_ioctl=yes
6251 else
6252 ac_cv_lib_ossaudio__oss_ioctl=no
6254 rm -f core conftest.err conftest.$ac_objext \
6255 conftest$ac_exeext conftest.$ac_ext
6256 LIBS=$ac_check_lib_save_LIBS
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6259 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6260 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6261 cat >>confdefs.h <<_ACEOF
6262 #define HAVE_LIBOSSAUDIO 1
6263 _ACEOF
6265 LIBS="-lossaudio $LIBS"
6270 OPENGL_LIBS=""
6274 # Check whether --enable-largefile was given.
6275 if test "${enable_largefile+set}" = set; then :
6276 enableval=$enable_largefile;
6279 if test "$enable_largefile" != no; then
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6282 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6283 if ${ac_cv_sys_largefile_CC+:} false; then :
6284 $as_echo_n "(cached) " >&6
6285 else
6286 ac_cv_sys_largefile_CC=no
6287 if test "$GCC" != yes; then
6288 ac_save_CC=$CC
6289 while :; do
6290 # IRIX 6.2 and later do not support large files by default,
6291 # so use the C compiler's -n32 option if that helps.
6292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6293 /* end confdefs.h. */
6294 #include <sys/types.h>
6295 /* Check that off_t can represent 2**63 - 1 correctly.
6296 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6297 since some C++ compilers masquerading as C compilers
6298 incorrectly reject 9223372036854775807. */
6299 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6300 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6301 && LARGE_OFF_T % 2147483647 == 1)
6302 ? 1 : -1];
6304 main ()
6308 return 0;
6310 _ACEOF
6311 if ac_fn_c_try_compile "$LINENO"; then :
6312 break
6314 rm -f core conftest.err conftest.$ac_objext
6315 CC="$CC -n32"
6316 if ac_fn_c_try_compile "$LINENO"; then :
6317 ac_cv_sys_largefile_CC=' -n32'; break
6319 rm -f core conftest.err conftest.$ac_objext
6320 break
6321 done
6322 CC=$ac_save_CC
6323 rm -f conftest.$ac_ext
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6327 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6328 if test "$ac_cv_sys_largefile_CC" != no; then
6329 CC=$CC$ac_cv_sys_largefile_CC
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6333 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6334 if ${ac_cv_sys_file_offset_bits+:} false; then :
6335 $as_echo_n "(cached) " >&6
6336 else
6337 while :; do
6338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6339 /* end confdefs.h. */
6340 #include <sys/types.h>
6341 /* Check that off_t can represent 2**63 - 1 correctly.
6342 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6343 since some C++ compilers masquerading as C compilers
6344 incorrectly reject 9223372036854775807. */
6345 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6346 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6347 && LARGE_OFF_T % 2147483647 == 1)
6348 ? 1 : -1];
6350 main ()
6354 return 0;
6356 _ACEOF
6357 if ac_fn_c_try_compile "$LINENO"; then :
6358 ac_cv_sys_file_offset_bits=no; break
6360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6362 /* end confdefs.h. */
6363 #define _FILE_OFFSET_BITS 64
6364 #include <sys/types.h>
6365 /* Check that off_t can represent 2**63 - 1 correctly.
6366 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6367 since some C++ compilers masquerading as C compilers
6368 incorrectly reject 9223372036854775807. */
6369 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6370 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6371 && LARGE_OFF_T % 2147483647 == 1)
6372 ? 1 : -1];
6374 main ()
6378 return 0;
6380 _ACEOF
6381 if ac_fn_c_try_compile "$LINENO"; then :
6382 ac_cv_sys_file_offset_bits=64; break
6384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6385 ac_cv_sys_file_offset_bits=unknown
6386 break
6387 done
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6390 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6391 case $ac_cv_sys_file_offset_bits in #(
6392 no | unknown) ;;
6394 cat >>confdefs.h <<_ACEOF
6395 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6396 _ACEOF
6398 esac
6399 rm -rf conftest*
6400 if test $ac_cv_sys_file_offset_bits = unknown; then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6402 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6403 if ${ac_cv_sys_large_files+:} false; then :
6404 $as_echo_n "(cached) " >&6
6405 else
6406 while :; do
6407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6408 /* end confdefs.h. */
6409 #include <sys/types.h>
6410 /* Check that off_t can represent 2**63 - 1 correctly.
6411 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6412 since some C++ compilers masquerading as C compilers
6413 incorrectly reject 9223372036854775807. */
6414 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6415 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6416 && LARGE_OFF_T % 2147483647 == 1)
6417 ? 1 : -1];
6419 main ()
6423 return 0;
6425 _ACEOF
6426 if ac_fn_c_try_compile "$LINENO"; then :
6427 ac_cv_sys_large_files=no; break
6429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6431 /* end confdefs.h. */
6432 #define _LARGE_FILES 1
6433 #include <sys/types.h>
6434 /* Check that off_t can represent 2**63 - 1 correctly.
6435 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6436 since some C++ compilers masquerading as C compilers
6437 incorrectly reject 9223372036854775807. */
6438 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6439 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6440 && LARGE_OFF_T % 2147483647 == 1)
6441 ? 1 : -1];
6443 main ()
6447 return 0;
6449 _ACEOF
6450 if ac_fn_c_try_compile "$LINENO"; then :
6451 ac_cv_sys_large_files=1; break
6453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6454 ac_cv_sys_large_files=unknown
6455 break
6456 done
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6459 $as_echo "$ac_cv_sys_large_files" >&6; }
6460 case $ac_cv_sys_large_files in #(
6461 no | unknown) ;;
6463 cat >>confdefs.h <<_ACEOF
6464 #define _LARGE_FILES $ac_cv_sys_large_files
6465 _ACEOF
6467 esac
6468 rm -rf conftest*
6475 ac_ext=c
6476 ac_cpp='$CPP $CPPFLAGS'
6477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6481 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6482 # On Suns, sometimes $CPP names a directory.
6483 if test -n "$CPP" && test -d "$CPP"; then
6484 CPP=
6486 if test -z "$CPP"; then
6487 if ${ac_cv_prog_CPP+:} false; then :
6488 $as_echo_n "(cached) " >&6
6489 else
6490 # Double quotes because CPP needs to be expanded
6491 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6493 ac_preproc_ok=false
6494 for ac_c_preproc_warn_flag in '' yes
6496 # Use a header file that comes with gcc, so configuring glibc
6497 # with a fresh cross-compiler works.
6498 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6499 # <limits.h> exists even on freestanding compilers.
6500 # On the NeXT, cc -E runs the code through the compiler's parser,
6501 # not just through cpp. "Syntax error" is here to catch this case.
6502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6503 /* end confdefs.h. */
6504 #ifdef __STDC__
6505 # include <limits.h>
6506 #else
6507 # include <assert.h>
6508 #endif
6509 Syntax error
6510 _ACEOF
6511 if ac_fn_c_try_cpp "$LINENO"; then :
6513 else
6514 # Broken: fails on valid input.
6515 continue
6517 rm -f conftest.err conftest.i conftest.$ac_ext
6519 # OK, works on sane cases. Now check whether nonexistent headers
6520 # can be detected and how.
6521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6522 /* end confdefs.h. */
6523 #include <ac_nonexistent.h>
6524 _ACEOF
6525 if ac_fn_c_try_cpp "$LINENO"; then :
6526 # Broken: success on invalid input.
6527 continue
6528 else
6529 # Passes both tests.
6530 ac_preproc_ok=:
6531 break
6533 rm -f conftest.err conftest.i conftest.$ac_ext
6535 done
6536 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6537 rm -f conftest.i conftest.err conftest.$ac_ext
6538 if $ac_preproc_ok; then :
6539 break
6542 done
6543 ac_cv_prog_CPP=$CPP
6546 CPP=$ac_cv_prog_CPP
6547 else
6548 ac_cv_prog_CPP=$CPP
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6551 $as_echo "$CPP" >&6; }
6552 ac_preproc_ok=false
6553 for ac_c_preproc_warn_flag in '' yes
6555 # Use a header file that comes with gcc, so configuring glibc
6556 # with a fresh cross-compiler works.
6557 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6558 # <limits.h> exists even on freestanding compilers.
6559 # On the NeXT, cc -E runs the code through the compiler's parser,
6560 # not just through cpp. "Syntax error" is here to catch this case.
6561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6562 /* end confdefs.h. */
6563 #ifdef __STDC__
6564 # include <limits.h>
6565 #else
6566 # include <assert.h>
6567 #endif
6568 Syntax error
6569 _ACEOF
6570 if ac_fn_c_try_cpp "$LINENO"; then :
6572 else
6573 # Broken: fails on valid input.
6574 continue
6576 rm -f conftest.err conftest.i conftest.$ac_ext
6578 # OK, works on sane cases. Now check whether nonexistent headers
6579 # can be detected and how.
6580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6581 /* end confdefs.h. */
6582 #include <ac_nonexistent.h>
6583 _ACEOF
6584 if ac_fn_c_try_cpp "$LINENO"; then :
6585 # Broken: success on invalid input.
6586 continue
6587 else
6588 # Passes both tests.
6589 ac_preproc_ok=:
6590 break
6592 rm -f conftest.err conftest.i conftest.$ac_ext
6594 done
6595 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6596 rm -f conftest.i conftest.err conftest.$ac_ext
6597 if $ac_preproc_ok; then :
6599 else
6600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6602 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6603 See \`config.log' for more details" "$LINENO" 5; }
6606 ac_ext=c
6607 ac_cpp='$CPP $CPPFLAGS'
6608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6614 $as_echo_n "checking for ANSI C header files... " >&6; }
6615 if ${ac_cv_header_stdc+:} false; then :
6616 $as_echo_n "(cached) " >&6
6617 else
6618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6619 /* end confdefs.h. */
6620 #include <stdlib.h>
6621 #include <stdarg.h>
6622 #include <string.h>
6623 #include <float.h>
6626 main ()
6630 return 0;
6632 _ACEOF
6633 if ac_fn_c_try_compile "$LINENO"; then :
6634 ac_cv_header_stdc=yes
6635 else
6636 ac_cv_header_stdc=no
6638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6640 if test $ac_cv_header_stdc = yes; then
6641 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6643 /* end confdefs.h. */
6644 #include <string.h>
6646 _ACEOF
6647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6648 $EGREP "memchr" >/dev/null 2>&1; then :
6650 else
6651 ac_cv_header_stdc=no
6653 rm -f conftest*
6657 if test $ac_cv_header_stdc = yes; then
6658 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6660 /* end confdefs.h. */
6661 #include <stdlib.h>
6663 _ACEOF
6664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6665 $EGREP "free" >/dev/null 2>&1; then :
6667 else
6668 ac_cv_header_stdc=no
6670 rm -f conftest*
6674 if test $ac_cv_header_stdc = yes; then
6675 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6676 if test "$cross_compiling" = yes; then :
6678 else
6679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6680 /* end confdefs.h. */
6681 #include <ctype.h>
6682 #include <stdlib.h>
6683 #if ((' ' & 0x0FF) == 0x020)
6684 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6685 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6686 #else
6687 # define ISLOWER(c) \
6688 (('a' <= (c) && (c) <= 'i') \
6689 || ('j' <= (c) && (c) <= 'r') \
6690 || ('s' <= (c) && (c) <= 'z'))
6691 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6692 #endif
6694 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6696 main ()
6698 int i;
6699 for (i = 0; i < 256; i++)
6700 if (XOR (islower (i), ISLOWER (i))
6701 || toupper (i) != TOUPPER (i))
6702 return 2;
6703 return 0;
6705 _ACEOF
6706 if ac_fn_c_try_run "$LINENO"; then :
6708 else
6709 ac_cv_header_stdc=no
6711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6712 conftest.$ac_objext conftest.beam conftest.$ac_ext
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6718 $as_echo "$ac_cv_header_stdc" >&6; }
6719 if test $ac_cv_header_stdc = yes; then
6721 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6725 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6726 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6727 inttypes.h stdint.h unistd.h
6728 do :
6729 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6730 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6732 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6733 cat >>confdefs.h <<_ACEOF
6734 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6735 _ACEOF
6739 done
6742 for ac_header in \
6743 AL/al.h \
6744 ApplicationServices/ApplicationServices.h \
6745 AudioToolbox/AudioConverter.h \
6746 AudioUnit/AudioUnit.h \
6747 AudioUnit/AudioComponent.h \
6748 CL/cl.h \
6749 Carbon/Carbon.h \
6750 CommonCrypto/CommonDigest.h \
6751 CoreAudio/CoreAudio.h \
6752 CoreServices/CoreServices.h \
6753 DiskArbitration/DiskArbitration.h \
6754 IOKit/IOKitLib.h \
6755 IOKit/hid/IOHIDLib.h \
6756 OpenAL/al.h \
6757 OpenCL/opencl.h \
6758 QuickTime/ImageCompression.h \
6759 Security/Security.h \
6760 alias.h \
6761 alsa/asoundlib.h \
6762 arpa/inet.h \
6763 arpa/nameser.h \
6764 asm/types.h \
6765 asm/user.h \
6766 curses.h \
6767 direct.h \
6768 dirent.h \
6769 dlfcn.h \
6770 elf.h \
6771 float.h \
6772 fnmatch.h \
6773 getopt.h \
6774 gettext-po.h \
6775 grp.h \
6776 gsm.h \
6777 gsm/gsm.h \
6778 ieeefp.h \
6779 inet/mib2.h \
6780 io.h \
6781 kstat.h \
6782 lber.h \
6783 ldap.h \
6784 libproc.h \
6785 link.h \
6786 linux/cdrom.h \
6787 linux/compiler.h \
6788 linux/filter.h \
6789 linux/hdreg.h \
6790 linux/input.h \
6791 linux/ioctl.h \
6792 linux/joystick.h \
6793 linux/major.h \
6794 linux/param.h \
6795 linux/serial.h \
6796 linux/types.h \
6797 linux/ucdrom.h \
6798 lwp.h \
6799 mach-o/nlist.h \
6800 mach-o/loader.h \
6801 mach/mach.h \
6802 mach/machine.h \
6803 machine/cpu.h \
6804 machine/limits.h \
6805 machine/sysarch.h \
6806 mntent.h \
6807 ncurses.h \
6808 netdb.h \
6809 netinet/in.h \
6810 netinet/in_systm.h \
6811 netinet/tcp.h \
6812 netinet/tcp_fsm.h \
6813 pcap/pcap.h \
6814 poll.h \
6815 port.h \
6816 process.h \
6817 pthread.h \
6818 pwd.h \
6819 sched.h \
6820 scsi/scsi.h \
6821 scsi/scsi_ioctl.h \
6822 scsi/sg.h \
6823 stdbool.h \
6824 stdint.h \
6825 stropts.h \
6826 sys/asoundlib.h \
6827 sys/attr.h \
6828 sys/cdio.h \
6829 sys/elf32.h \
6830 sys/epoll.h \
6831 sys/event.h \
6832 sys/exec_elf.h \
6833 sys/filio.h \
6834 sys/inotify.h \
6835 sys/ioctl.h \
6836 sys/ipc.h \
6837 sys/limits.h \
6838 sys/link.h \
6839 sys/mman.h \
6840 sys/modem.h \
6841 sys/msg.h \
6842 sys/mtio.h \
6843 sys/param.h \
6844 sys/poll.h \
6845 sys/prctl.h \
6846 sys/protosw.h \
6847 sys/ptrace.h \
6848 sys/queue.h \
6849 sys/resource.h \
6850 sys/scsiio.h \
6851 sys/shm.h \
6852 sys/signal.h \
6853 sys/socket.h \
6854 sys/socketvar.h \
6855 sys/sockio.h \
6856 sys/statvfs.h \
6857 sys/strtio.h \
6858 sys/syscall.h \
6859 sys/sysinfo.h \
6860 sys/tihdr.h \
6861 sys/time.h \
6862 sys/timeout.h \
6863 sys/times.h \
6864 sys/uio.h \
6865 sys/user.h \
6866 sys/utsname.h \
6867 sys/vm86.h \
6868 sys/vnode.h \
6869 sys/wait.h \
6870 syscall.h \
6871 termios.h \
6872 unistd.h \
6873 utime.h \
6874 valgrind/memcheck.h \
6875 valgrind/valgrind.h \
6876 zlib.h
6878 do :
6879 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6880 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6881 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6882 cat >>confdefs.h <<_ACEOF
6883 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6884 _ACEOF
6888 done
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6891 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6892 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6893 $as_echo_n "(cached) " >&6
6894 else
6895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6896 /* end confdefs.h. */
6897 #include <sys/types.h>
6899 main ()
6901 return makedev(0, 0);
6903 return 0;
6905 _ACEOF
6906 if ac_fn_c_try_link "$LINENO"; then :
6907 ac_cv_header_sys_types_h_makedev=yes
6908 else
6909 ac_cv_header_sys_types_h_makedev=no
6911 rm -f core conftest.err conftest.$ac_objext \
6912 conftest$ac_exeext conftest.$ac_ext
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6916 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6918 if test $ac_cv_header_sys_types_h_makedev = no; then
6919 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6920 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6922 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6928 if test $ac_cv_header_sys_mkdev_h = no; then
6929 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6930 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6932 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6941 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6942 if ${ac_cv_header_stat_broken+:} false; then :
6943 $as_echo_n "(cached) " >&6
6944 else
6945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6946 /* end confdefs.h. */
6947 #include <sys/types.h>
6948 #include <sys/stat.h>
6950 #if defined S_ISBLK && defined S_IFDIR
6951 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6952 #endif
6954 #if defined S_ISBLK && defined S_IFCHR
6955 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6956 #endif
6958 #if defined S_ISLNK && defined S_IFREG
6959 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6960 #endif
6962 #if defined S_ISSOCK && defined S_IFREG
6963 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6964 #endif
6966 _ACEOF
6967 if ac_fn_c_try_compile "$LINENO"; then :
6968 ac_cv_header_stat_broken=no
6969 else
6970 ac_cv_header_stat_broken=yes
6972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6975 $as_echo "$ac_cv_header_stat_broken" >&6; }
6976 if test $ac_cv_header_stat_broken = yes; then
6978 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6984 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6985 do :
6986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6987 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6988 #ifdef HAVE_SYS_PARAM_H
6989 # include <sys/param.h>
6990 #endif
6992 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6993 cat >>confdefs.h <<_ACEOF
6994 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6995 _ACEOF
6999 done
7002 for ac_header in \
7003 netinet/ip.h \
7004 net/if.h \
7005 net/if_arp.h \
7006 net/if_dl.h \
7007 net/if_types.h \
7008 net/route.h \
7009 netinet/if_ether.h \
7010 netinet/if_inarp.h \
7011 netinet/in_pcb.h \
7012 netinet/ip_icmp.h \
7013 netinet/ip_var.h \
7014 netinet/udp.h \
7015 netipx/ipx.h \
7016 sys/un.h \
7018 do :
7019 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7020 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7021 #ifdef HAVE_SYS_SOCKET_H
7022 # include <sys/socket.h>
7023 #endif
7024 #ifdef HAVE_SYS_SOCKETVAR_H
7025 # include <sys/socketvar.h>
7026 #endif
7027 #ifdef HAVE_NET_ROUTE_H
7028 # include <net/route.h>
7029 #endif
7030 #ifdef HAVE_NETINET_IN_H
7031 # include <netinet/in.h>
7032 #endif
7033 #ifdef HAVE_NETINET_IN_SYSTM_H
7034 # include <netinet/in_systm.h>
7035 #endif
7036 #ifdef HAVE_NET_IF_H
7037 # include <net/if.h>
7038 #endif
7039 #ifdef HAVE_NETINET_IP_H
7040 # include <netinet/ip.h>
7041 #endif
7043 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7044 cat >>confdefs.h <<_ACEOF
7045 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7046 _ACEOF
7050 done
7053 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7054 do :
7055 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7056 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7057 #ifdef HAVE_ALIAS_H
7058 # include <alias.h>
7059 #endif
7060 #ifdef HAVE_SYS_SOCKET_H
7061 # include <sys/socket.h>
7062 #endif
7063 #ifdef HAVE_SYS_SOCKETVAR_H
7064 # include <sys/socketvar.h>
7065 #endif
7066 #ifdef HAVE_SYS_TIMEOUT_H
7067 # include <sys/timeout.h>
7068 #endif
7069 #ifdef HAVE_NETINET_IN_H
7070 # include <netinet/in.h>
7071 #endif
7072 #ifdef HAVE_NETINET_IN_SYSTM_H
7073 # include <netinet/in_systm.h>
7074 #endif
7075 #ifdef HAVE_NETINET_IP_H
7076 # include <netinet/ip.h>
7077 #endif
7078 #ifdef HAVE_NETINET_IP_VAR_H
7079 # include <netinet/ip_var.h>
7080 #endif
7081 #ifdef HAVE_NETINET_IP_ICMP_H
7082 # include <netinet/ip_icmp.h>
7083 #endif
7084 #ifdef HAVE_NETINET_UDP_H
7085 # include <netinet/udp.h>
7086 #endif
7087 #ifdef HAVE_NETINET_TCP_H
7088 # include <netinet/tcp.h>
7089 #endif
7090 #ifdef HAVE_NETINET_TCP_TIMER_H
7091 #include <netinet/tcp_timer.h>
7092 #endif
7094 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7095 cat >>confdefs.h <<_ACEOF
7096 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7097 _ACEOF
7101 done
7104 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7105 do :
7106 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7107 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7108 #ifdef HAVE_ASM_TYPES_H
7109 # include <asm/types.h>
7110 #endif
7111 #ifdef HAVE_SYS_SOCKET_H
7112 # include <sys/socket.h>
7113 #endif
7114 #ifdef HAVE_LINUX_TYPES_H
7115 # include <linux/types.h>
7116 #endif
7118 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7119 cat >>confdefs.h <<_ACEOF
7120 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7121 _ACEOF
7125 done
7128 for ac_header in mach-o/dyld_images.h
7129 do :
7130 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7131 # include <stdbool.h>
7132 #endif
7133 #ifdef HAVE_STDINT_H
7134 # include <stdint.h>
7135 #endif
7137 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7138 cat >>confdefs.h <<_ACEOF
7139 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7140 _ACEOF
7144 done
7147 for ac_header in resolv.h
7148 do :
7149 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7150 #ifdef HAVE_SYS_SOCKET_H
7151 # include <sys/socket.h>
7152 #endif
7153 #ifdef HAVE_NETINET_IN_H
7154 # include <netinet/in.h>
7155 #endif
7156 #ifdef HAVE_ARPA_NAMESER_H
7157 # include <arpa/nameser.h>
7158 #endif
7160 if test "x$ac_cv_header_resolv_h" = xyes; then :
7161 cat >>confdefs.h <<_ACEOF
7162 #define HAVE_RESOLV_H 1
7163 _ACEOF
7167 done
7170 for ac_header in ifaddrs.h
7171 do :
7172 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7174 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7175 cat >>confdefs.h <<_ACEOF
7176 #define HAVE_IFADDRS_H 1
7177 _ACEOF
7181 done
7184 for ac_header in sys/ucontext.h
7185 do :
7186 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7188 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7189 cat >>confdefs.h <<_ACEOF
7190 #define HAVE_SYS_UCONTEXT_H 1
7191 _ACEOF
7195 done
7198 for ac_header in sys/thr.h
7199 do :
7200 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7201 #ifdef HAVE_SYS_UCONTEXT_H
7202 #include <sys/ucontext.h>
7203 #endif
7205 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7206 cat >>confdefs.h <<_ACEOF
7207 #define HAVE_SYS_THR_H 1
7208 _ACEOF
7212 done
7215 for ac_header in pthread_np.h
7216 do :
7217 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7218 #include <pthread.h>
7219 #endif
7221 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7222 cat >>confdefs.h <<_ACEOF
7223 #define HAVE_PTHREAD_NP_H 1
7224 _ACEOF
7228 done
7231 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7232 do :
7233 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7234 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7235 #include <sys/time.h>
7236 #endif
7237 #include <sys/types.h>
7238 #ifdef HAVE_ASM_TYPES_H
7239 #include <asm/types.h>
7240 #endif
7242 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7243 cat >>confdefs.h <<_ACEOF
7244 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7245 _ACEOF
7249 done
7252 for ac_header in libprocstat.h
7253 do :
7254 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7255 #include <sys/param.h>
7256 #endif
7257 #ifdef HAVE_SYS_QUEUE_H
7258 #include <sys/queue.h>
7259 #endif
7260 #ifdef HAVE_SYS_SOCKET_H
7261 #include <sys/socket.h>
7262 #endif
7264 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7265 cat >>confdefs.h <<_ACEOF
7266 #define HAVE_LIBPROCSTAT_H 1
7267 _ACEOF
7271 done
7275 dlldir="\${libdir}/wine"
7277 DLLFLAGS="-D_REENTRANT"
7279 LDRPATH_INSTALL=""
7281 LDRPATH_LOCAL=""
7283 LDEXECFLAGS=""
7285 LIBEXT="so"
7286 DLLEXT=".so"
7287 IMPLIBEXT="def"
7288 # Extract the first word of "ldd", so it can be a program name with args.
7289 set dummy ldd; ac_word=$2
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 $as_echo_n "checking for $ac_word... " >&6; }
7292 if ${ac_cv_path_LDD+:} false; then :
7293 $as_echo_n "(cached) " >&6
7294 else
7295 case $LDD in
7296 [\\/]* | ?:[\\/]*)
7297 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301 as_dummy="/sbin:/usr/sbin:$PATH"
7302 for as_dir in $as_dummy
7304 IFS=$as_save_IFS
7305 test -z "$as_dir" && as_dir=.
7306 for ac_exec_ext in '' $ac_executable_extensions; do
7307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7308 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7310 break 2
7312 done
7313 done
7314 IFS=$as_save_IFS
7316 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7318 esac
7320 LDD=$ac_cv_path_LDD
7321 if test -n "$LDD"; then
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7323 $as_echo "$LDD" >&6; }
7324 else
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326 $as_echo "no" >&6; }
7330 if test -n "$ac_tool_prefix"; then
7331 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7332 set dummy ${ac_tool_prefix}otool; ac_word=$2
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7334 $as_echo_n "checking for $ac_word... " >&6; }
7335 if ${ac_cv_prog_OTOOL+:} false; then :
7336 $as_echo_n "(cached) " >&6
7337 else
7338 if test -n "$OTOOL"; then
7339 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7340 else
7341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7342 for as_dir in $PATH
7344 IFS=$as_save_IFS
7345 test -z "$as_dir" && as_dir=.
7346 for ac_exec_ext in '' $ac_executable_extensions; do
7347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7348 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7350 break 2
7352 done
7353 done
7354 IFS=$as_save_IFS
7358 OTOOL=$ac_cv_prog_OTOOL
7359 if test -n "$OTOOL"; then
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7361 $as_echo "$OTOOL" >&6; }
7362 else
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7364 $as_echo "no" >&6; }
7369 if test -z "$ac_cv_prog_OTOOL"; then
7370 ac_ct_OTOOL=$OTOOL
7371 # Extract the first word of "otool", so it can be a program name with args.
7372 set dummy otool; ac_word=$2
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7374 $as_echo_n "checking for $ac_word... " >&6; }
7375 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7376 $as_echo_n "(cached) " >&6
7377 else
7378 if test -n "$ac_ct_OTOOL"; then
7379 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7380 else
7381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7382 for as_dir in $PATH
7384 IFS=$as_save_IFS
7385 test -z "$as_dir" && as_dir=.
7386 for ac_exec_ext in '' $ac_executable_extensions; do
7387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7388 ac_cv_prog_ac_ct_OTOOL="otool"
7389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7390 break 2
7392 done
7393 done
7394 IFS=$as_save_IFS
7398 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7399 if test -n "$ac_ct_OTOOL"; then
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7401 $as_echo "$ac_ct_OTOOL" >&6; }
7402 else
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7404 $as_echo "no" >&6; }
7407 if test "x$ac_ct_OTOOL" = x; then
7408 OTOOL="otool"
7409 else
7410 case $cross_compiling:$ac_tool_warned in
7411 yes:)
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7414 ac_tool_warned=yes ;;
7415 esac
7416 OTOOL=$ac_ct_OTOOL
7418 else
7419 OTOOL="$ac_cv_prog_OTOOL"
7422 if test -n "$ac_tool_prefix"; then
7423 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7424 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7426 $as_echo_n "checking for $ac_word... " >&6; }
7427 if ${ac_cv_prog_READELF+:} false; then :
7428 $as_echo_n "(cached) " >&6
7429 else
7430 if test -n "$READELF"; then
7431 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7432 else
7433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7434 for as_dir in $PATH
7436 IFS=$as_save_IFS
7437 test -z "$as_dir" && as_dir=.
7438 for ac_exec_ext in '' $ac_executable_extensions; do
7439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7440 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7442 break 2
7444 done
7445 done
7446 IFS=$as_save_IFS
7450 READELF=$ac_cv_prog_READELF
7451 if test -n "$READELF"; then
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7453 $as_echo "$READELF" >&6; }
7454 else
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456 $as_echo "no" >&6; }
7461 if test -z "$ac_cv_prog_READELF"; then
7462 ac_ct_READELF=$READELF
7463 # Extract the first word of "readelf", so it can be a program name with args.
7464 set dummy readelf; ac_word=$2
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7466 $as_echo_n "checking for $ac_word... " >&6; }
7467 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7468 $as_echo_n "(cached) " >&6
7469 else
7470 if test -n "$ac_ct_READELF"; then
7471 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7472 else
7473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7474 for as_dir in $PATH
7476 IFS=$as_save_IFS
7477 test -z "$as_dir" && as_dir=.
7478 for ac_exec_ext in '' $ac_executable_extensions; do
7479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7480 ac_cv_prog_ac_ct_READELF="readelf"
7481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7482 break 2
7484 done
7485 done
7486 IFS=$as_save_IFS
7490 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7491 if test -n "$ac_ct_READELF"; then
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7493 $as_echo "$ac_ct_READELF" >&6; }
7494 else
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7496 $as_echo "no" >&6; }
7499 if test "x$ac_ct_READELF" = x; then
7500 READELF="true"
7501 else
7502 case $cross_compiling:$ac_tool_warned in
7503 yes:)
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7506 ac_tool_warned=yes ;;
7507 esac
7508 READELF=$ac_ct_READELF
7510 else
7511 READELF="$ac_cv_prog_READELF"
7514 wine_rules_file=conf$$rules.make
7515 rm -f $wine_rules_file
7516 SUBDIRS=""
7518 DISABLED_SUBDIRS=""
7520 CONFIGURE_TARGETS=""
7522 ALL_TEST_RESOURCES=""
7525 wine_fn_append_file ()
7527 as_fn_append $1 " \\$as_nl $2"
7530 wine_fn_append_rule ()
7532 $as_echo "$1" >>$wine_rules_file
7535 wine_fn_has_flag ()
7537 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7540 wine_fn_all_rules ()
7542 wine_fn_append_file SUBDIRS $ac_dir
7543 wine_fn_append_rule \
7544 "all: $ac_dir
7545 .PHONY: $ac_dir
7546 $ac_dir: dummy
7547 @cd $ac_dir && \$(MAKE)"
7550 wine_fn_install_rules ()
7552 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7554 wine_fn_append_rule \
7555 ".PHONY: $ac_dir/install $ac_dir/uninstall
7556 $ac_dir/install:: $ac_dir
7557 @cd $ac_dir && \$(MAKE) install
7558 $ac_dir/uninstall::
7559 @cd $ac_dir && \$(MAKE) uninstall
7560 install:: $ac_dir/install
7561 __uninstall__: $ac_dir/uninstall"
7563 if wine_fn_has_flag install-lib
7564 then
7565 wine_fn_append_rule \
7566 ".PHONY: $ac_dir/install-lib
7567 $ac_dir/install-lib:: $ac_dir
7568 @cd $ac_dir && \$(MAKE) install-lib
7569 install-lib:: $ac_dir/install-lib"
7572 if wine_fn_has_flag install-dev
7573 then
7574 wine_fn_append_rule \
7575 ".PHONY: $ac_dir/install-dev
7576 $ac_dir/install-dev:: $ac_dir
7577 @cd $ac_dir && \$(MAKE) install-dev
7578 install-dev:: $ac_dir/install-dev"
7582 wine_fn_clean_rules ()
7584 ac_clean=$@
7586 if wine_fn_has_flag clean
7587 then
7588 wine_fn_append_rule \
7589 "$ac_dir/clean: dummy
7590 @cd $ac_dir && \$(MAKE) clean"
7591 else
7592 wine_fn_append_rule \
7593 "$ac_dir/clean: dummy
7594 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7596 wine_fn_append_rule \
7597 "__clean__: $ac_dir/clean
7598 .PHONY: $ac_dir/clean"
7601 wine_fn_disabled_rules ()
7603 ac_clean=$@
7605 wine_fn_append_file SUBDIRS $ac_dir
7606 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7607 wine_fn_append_rule \
7608 "__clean__: $ac_dir/clean
7609 .PHONY: $ac_dir/clean
7610 $ac_dir/clean: dummy
7611 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7614 wine_fn_config_makefile ()
7616 ac_dir=$1
7617 ac_enable=$2
7618 ac_flags=$3
7620 case $ac_dir in
7621 fonts|server) test -z "$with_wine64" || return ;;
7622 esac
7623 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7624 wine_fn_disabled_rules; return
7626 wine_fn_all_rules
7627 wine_fn_install_rules
7628 wine_fn_clean_rules
7631 wine_fn_config_lib ()
7633 ac_name=$1
7634 ac_flags=$2
7635 ac_dir=dlls/$ac_name
7636 ac_deps="include"
7638 if test "x$enable_tools" = xno; then :
7640 else
7641 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7643 wine_fn_all_rules
7644 wine_fn_clean_rules
7646 wine_fn_append_rule \
7647 ".PHONY: $ac_dir/install $ac_dir/uninstall
7648 $ac_dir/install:: $ac_dir
7649 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7650 $ac_dir/uninstall::
7651 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7652 install install-dev:: $ac_dir/install
7653 __uninstall__: $ac_dir/uninstall
7654 __builddeps__: $ac_dir
7655 $ac_dir: $ac_deps"
7658 wine_fn_config_dll ()
7660 ac_name=$1
7661 ac_dir=dlls/$ac_name
7662 ac_enable=$2
7663 ac_flags=$3
7664 ac_implib=${4:-$ac_name}
7665 ac_file=$ac_dir/lib$ac_implib
7666 ac_dll=$ac_name
7667 ac_deps="include"
7668 ac_implibflags=""
7670 if test "x$enable_tools" = xno; then :
7672 else
7673 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7675 case $ac_name in
7676 *16) ac_implibflags=" -m16" ;;
7677 *.*) ;;
7678 *) ac_dll=$ac_dll.dll ;;
7679 esac
7681 ac_clean=
7682 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7683 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7685 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7686 if test "$ac_enable" != enable_win16
7687 then
7688 wine_fn_clean_rules $ac_clean
7689 wine_fn_append_file SUBDIRS $ac_dir
7690 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7691 else
7692 wine_fn_disabled_rules $ac_clean
7693 return
7695 else
7696 wine_fn_all_rules
7697 wine_fn_clean_rules $ac_clean
7698 wine_fn_append_rule \
7699 "$ac_dir: __builddeps__
7700 manpages htmlpages sgmlpages xmlpages::
7701 @cd $ac_dir && \$(MAKE) \$@
7702 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7703 install install-lib:: $ac_dir/install-lib
7704 __uninstall__: $ac_dir/uninstall"
7705 if test -n "$DLLEXT"
7706 then
7707 wine_fn_append_rule \
7708 "$ac_dir/install-lib:: $ac_dir
7709 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7710 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7711 $ac_dir/uninstall::
7712 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7713 else
7714 wine_fn_append_rule \
7715 "$ac_dir/install-lib:: $ac_dir
7716 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7717 $ac_dir/uninstall::
7718 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7722 if wine_fn_has_flag staticimplib
7723 then
7724 wine_fn_append_rule \
7725 "__builddeps__: $ac_file.a
7726 $ac_file.a $ac_file.cross.a: $ac_deps
7727 $ac_file.a: dummy
7728 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7729 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7730 $ac_dir/install-dev:: $ac_file.a
7731 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7732 $ac_dir/uninstall::
7733 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7734 install install-dev:: $ac_dir/install-dev
7735 __uninstall__: $ac_dir/uninstall"
7737 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7738 then
7739 wine_fn_append_rule \
7740 "__builddeps__: $ac_file.cross.a
7741 $ac_file.cross.a: dummy
7742 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7745 elif wine_fn_has_flag implib
7746 then
7747 wine_fn_append_rule \
7748 "__builddeps__: $ac_file.$IMPLIBEXT
7749 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7750 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7751 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7752 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7753 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7754 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7755 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7756 $ac_dir/uninstall::
7757 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7758 install install-dev:: $ac_dir/install-dev
7759 __uninstall__: $ac_dir/uninstall"
7760 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7761 then
7762 wine_fn_append_rule \
7763 "__builddeps__: $ac_file.cross.a
7764 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7765 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7770 wine_fn_config_program ()
7772 ac_name=$1
7773 ac_dir=programs/$ac_name
7774 ac_enable=$2
7775 ac_flags=$3
7776 ac_program=$ac_name
7778 case $ac_name in
7779 *.*) ;;
7780 *) ac_program=$ac_program.exe ;;
7781 esac
7783 ac_clean=
7784 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7785 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7787 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7788 wine_fn_disabled_rules $ac_clean; return
7791 wine_fn_all_rules
7792 wine_fn_clean_rules $ac_clean
7793 wine_fn_append_rule "$ac_dir: __builddeps__"
7795 wine_fn_has_flag install || return
7796 wine_fn_append_rule \
7797 ".PHONY: $ac_dir/install $ac_dir/uninstall
7798 install install-lib:: $ac_dir/install
7799 __uninstall__: $ac_dir/uninstall"
7801 if test -n "$DLLEXT"
7802 then
7803 wine_fn_append_rule \
7804 "$ac_dir/install:: $ac_dir
7805 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7806 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7807 $ac_dir/uninstall::
7808 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7810 if test -z "$with_wine64" && wine_fn_has_flag installbin
7811 then
7812 wine_fn_append_rule \
7813 "$ac_dir/install:: __tooldeps__
7814 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7815 $ac_dir/uninstall::
7816 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7818 else
7819 wine_fn_append_rule \
7820 "$ac_dir/install:: $ac_dir
7821 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7822 $ac_dir/uninstall::
7823 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7826 if test -z "$with_wine64" && wine_fn_has_flag manpage
7827 then
7828 wine_fn_append_rule \
7829 "$ac_dir/install:: $ac_dir
7830 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7831 $ac_dir/uninstall::
7832 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7836 wine_fn_config_test ()
7838 ac_dir=$1
7839 ac_name=$2
7840 ac_flags=$3
7842 ac_clean=
7843 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7844 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7846 if test "x$enable_tests" = xno; then :
7847 wine_fn_disabled_rules $ac_clean; return
7850 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7851 wine_fn_all_rules
7852 wine_fn_clean_rules $ac_clean
7854 wine_fn_append_rule \
7855 "$ac_dir: __builddeps__
7856 programs/winetest: $ac_dir
7857 check test: $ac_dir/test
7858 .PHONY: $ac_dir/test
7859 $ac_dir/test: dummy
7860 @cd $ac_dir && \$(MAKE) test
7861 testclean::
7862 \$(RM) $ac_dir/*.ok"
7864 if test -n "$CROSSTARGET"
7865 then
7866 wine_fn_append_rule \
7867 "crosstest: $ac_dir/crosstest
7868 .PHONY: $ac_dir/crosstest
7869 $ac_dir/crosstest: __builddeps__ dummy
7870 @cd $ac_dir && \$(MAKE) crosstest"
7874 wine_fn_config_tool ()
7876 ac_dir=$1
7877 ac_flags=$2
7878 if test "x$enable_tools" = xno; then :
7879 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7882 wine_fn_all_rules
7883 wine_fn_install_rules
7884 wine_fn_clean_rules
7886 wine_fn_append_rule "__tooldeps__: $ac_dir"
7887 wine_fn_append_rule "$ac_dir: libs/port"
7888 case $ac_dir in
7889 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7890 esac
7893 wine_fn_config_symlink ()
7895 ac_linkdir=
7896 if test "x$1" = "x-d"
7897 then
7898 ac_linkdir=$2
7899 shift; shift
7901 ac_links=$@
7902 wine_fn_append_rule \
7903 "$ac_links:
7904 @./config.status \$@"
7905 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7906 test -n "$ac_linkdir" || return
7907 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7910 wine_binary="wine"
7911 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7912 WINELOADER_PROGRAMS="$wine_binary"
7914 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7916 case $host_os in
7917 cygwin*|mingw32*)
7918 if test -n "$ac_tool_prefix"; then
7919 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7920 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7922 $as_echo_n "checking for $ac_word... " >&6; }
7923 if ${ac_cv_prog_DLLTOOL+:} false; then :
7924 $as_echo_n "(cached) " >&6
7925 else
7926 if test -n "$DLLTOOL"; then
7927 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7928 else
7929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7930 for as_dir in $PATH
7932 IFS=$as_save_IFS
7933 test -z "$as_dir" && as_dir=.
7934 for ac_exec_ext in '' $ac_executable_extensions; do
7935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7936 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7938 break 2
7940 done
7941 done
7942 IFS=$as_save_IFS
7946 DLLTOOL=$ac_cv_prog_DLLTOOL
7947 if test -n "$DLLTOOL"; then
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7949 $as_echo "$DLLTOOL" >&6; }
7950 else
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7952 $as_echo "no" >&6; }
7957 if test -z "$ac_cv_prog_DLLTOOL"; then
7958 ac_ct_DLLTOOL=$DLLTOOL
7959 # Extract the first word of "dlltool", so it can be a program name with args.
7960 set dummy dlltool; ac_word=$2
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7962 $as_echo_n "checking for $ac_word... " >&6; }
7963 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7964 $as_echo_n "(cached) " >&6
7965 else
7966 if test -n "$ac_ct_DLLTOOL"; then
7967 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7968 else
7969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7970 for as_dir in $PATH
7972 IFS=$as_save_IFS
7973 test -z "$as_dir" && as_dir=.
7974 for ac_exec_ext in '' $ac_executable_extensions; do
7975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7976 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7978 break 2
7980 done
7981 done
7982 IFS=$as_save_IFS
7986 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7987 if test -n "$ac_ct_DLLTOOL"; then
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7989 $as_echo "$ac_ct_DLLTOOL" >&6; }
7990 else
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7992 $as_echo "no" >&6; }
7995 if test "x$ac_ct_DLLTOOL" = x; then
7996 DLLTOOL="false"
7997 else
7998 case $cross_compiling:$ac_tool_warned in
7999 yes:)
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8002 ac_tool_warned=yes ;;
8003 esac
8004 DLLTOOL=$ac_ct_DLLTOOL
8006 else
8007 DLLTOOL="$ac_cv_prog_DLLTOOL"
8010 LIBEXT="dll"
8011 DLLEXT=""
8012 IMPLIBEXT="a"
8013 enable_iphlpapi=${enable_iphlpapi:-no}
8014 enable_kernel32=${enable_kernel32:-no}
8015 enable_msvcrt=${enable_msvcrt:-no}
8016 enable_ntdll=${enable_ntdll:-no}
8017 enable_ws2_32=${enable_ws2_32:-no}
8018 enable_loader=${enable_loader:-no}
8019 enable_server=${enable_server:-no}
8020 with_x=${with_x:-no}
8021 with_pthread=${with_pthread:-no}
8023 crtlibs=""
8024 case $host_os in
8025 mingw32*)
8026 crtlibs="-lmsvcrt"
8027 SOCKET_LIBS="-lws2_32"
8029 esac
8031 LIBWINE_SHAREDLIB="libwine.dll"
8033 LIBWINE_IMPORTLIB="libwine.a"
8035 LIBWINE_INSTALL_LIB="libwine.dll"
8037 LIBWINE_INSTALL_DEV="libwine.a"
8039 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8041 LIBWINE_DEPENDS="wine.def"
8045 darwin*|macosx*)
8046 for ac_header in libunwind.h
8047 do :
8048 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8050 cat >>confdefs.h <<_ACEOF
8051 #define HAVE_LIBUNWIND_H 1
8052 _ACEOF
8056 done
8058 LIBEXT="dylib"
8059 DLLFLAGS="$DLLFLAGS -fPIC"
8060 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8061 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8062 COREFOUNDATION_LIBS="-framework CoreFoundation"
8064 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8066 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8068 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8070 CORESERVICES_LIBS="-framework CoreServices"
8072 APPKIT_LIBS="-framework AppKit"
8074 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8076 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8077 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8078 $as_echo_n "(cached) " >&6
8079 else
8080 ac_wine_try_cflags_saved=$CFLAGS
8081 CFLAGS="$CFLAGS -Wl,-no_pie"
8082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8083 /* end confdefs.h. */
8084 int main(int argc, char **argv) { return 0; }
8085 _ACEOF
8086 if ac_fn_c_try_link "$LINENO"; then :
8087 ac_cv_cflags__Wl__no_pie=yes
8088 else
8089 ac_cv_cflags__Wl__no_pie=no
8091 rm -f core conftest.err conftest.$ac_objext \
8092 conftest$ac_exeext conftest.$ac_ext
8093 CFLAGS=$ac_wine_try_cflags_saved
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8096 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8097 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8098 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8100 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8101 then
8102 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8105 if test "$ac_cv_header_Security_Security_h" = "yes"
8106 then
8107 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8109 ac_save_LIBS="$LIBS"
8110 LIBS="$LIBS $SECURITY_LIBS"
8111 for ac_func in SSLCopyPeerCertificates
8112 do :
8113 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8114 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8115 cat >>confdefs.h <<_ACEOF
8116 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8117 _ACEOF
8120 done
8122 LIBS="$ac_save_LIBS"
8123 with_gnutls=${with_gnutls:-no}
8125 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8126 then
8127 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8128 then
8129 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8131 else
8132 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8135 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8136 ac_save_LIBS="$LIBS"
8137 LIBS="$LIBS $COREAUDIO_LIBS"
8138 for ac_func in AUGraphAddNode
8139 do :
8140 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8141 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8142 cat >>confdefs.h <<_ACEOF
8143 #define HAVE_AUGRAPHADDNODE 1
8144 _ACEOF
8147 done
8149 LIBS="$ac_save_LIBS"
8151 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8152 then
8153 OPENAL_LIBS="-framework OpenAL"
8156 cat >>confdefs.h <<_ACEOF
8157 #define HAVE_OPENAL 1
8158 _ACEOF
8160 ac_cv_lib_openal=yes
8162 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8163 then
8164 OPENCL_LIBS="-framework OpenCL"
8166 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8168 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8169 then
8170 ac_save_LIBS="$LIBS"
8171 LIBS="$LIBS $IOKIT_LIBS"
8172 for ac_func in IOHIDManagerCreate
8173 do :
8174 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8175 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8176 cat >>confdefs.h <<_ACEOF
8177 #define HAVE_IOHIDMANAGERCREATE 1
8178 _ACEOF
8181 done
8183 LIBS="$ac_save_LIBS"
8185 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8186 then
8187 ac_save_LIBS="$LIBS"
8188 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8190 $as_echo_n "checking for the QuickTime framework... " >&6; }
8191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8192 /* end confdefs.h. */
8193 #include <QuickTime/ImageCompression.h>
8195 main ()
8197 CodecManagerVersion(NULL);
8199 return 0;
8201 _ACEOF
8202 if ac_fn_c_try_link "$LINENO"; then :
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8204 $as_echo "yes" >&6; }
8205 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8207 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8208 else
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8210 $as_echo "no" >&6; }
8211 ac_cv_header_QuickTime_ImageCompression_h=no
8213 rm -f core conftest.err conftest.$ac_objext \
8214 conftest$ac_exeext conftest.$ac_ext
8215 LIBS="$ac_save_LIBS"
8217 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8218 then
8219 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8221 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8222 then
8223 CARBON_LIBS="-framework Carbon"
8227 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8228 then
8229 ac_save_LIBS="$LIBS"
8230 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8231 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8232 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8233 enable_winemac_drv=${enable_winemac_drv:-yes}
8236 LIBS="$ac_save_LIBS"
8239 if test "x$enable_win16" = "xyes"
8240 then
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8242 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8243 if test "$cross_compiling" = yes; then :
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8245 $as_echo "cross-compiling, assuming yes" >&6; }
8246 else
8247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8248 /* end confdefs.h. */
8249 asm(".text\n"
8250 "bad:\tnop;nop\n"
8251 "good:\tnop;nop\n\t"
8252 ".globl _testfunc\n"
8253 "_testfunc:\tcallw good");
8254 extern void testfunc();
8256 main ()
8258 unsigned short *p = (unsigned short *)testfunc;
8259 return p[0] != 0xe866 || p[1] != 0xfffa
8261 return 0;
8263 _ACEOF
8264 if ac_fn_c_try_run "$LINENO"; then :
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8266 $as_echo "yes" >&6; }
8267 else
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8269 $as_echo "no" >&6; }
8270 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
8272 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8273 conftest.$ac_objext conftest.beam conftest.$ac_ext
8278 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8280 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8282 LIBWINE_INSTALL_DEV="libwine.dylib"
8284 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8286 WINELOADER_DEPENDS="wine_info.plist"
8290 linux-android*)
8291 DLLFLAGS="$DLLFLAGS -fPIC"
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8293 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8294 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8295 $as_echo_n "(cached) " >&6
8296 else
8297 ac_wine_try_cflags_saved=$CFLAGS
8298 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8300 /* end confdefs.h. */
8301 int main(int argc, char **argv) { return 0; }
8302 _ACEOF
8303 if ac_fn_c_try_link "$LINENO"; then :
8304 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8305 else
8306 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8308 rm -f core conftest.err conftest.$ac_objext \
8309 conftest$ac_exeext conftest.$ac_ext
8310 CFLAGS=$ac_wine_try_cflags_saved
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8313 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8314 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8315 LDEXECFLAGS="-Wl,--export-dynamic"
8317 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8319 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8320 if eval \${$as_ac_var+:} false; then :
8321 $as_echo_n "(cached) " >&6
8322 else
8323 ac_wine_try_cflags_saved=$CFLAGS
8324 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8326 /* end confdefs.h. */
8327 int main(int argc, char **argv) { return 0; }
8328 _ACEOF
8329 if ac_fn_c_try_link "$LINENO"; then :
8330 eval "$as_ac_var=yes"
8331 else
8332 eval "$as_ac_var=no"
8334 rm -f core conftest.err conftest.$ac_objext \
8335 conftest$ac_exeext conftest.$ac_ext
8336 CFLAGS=$ac_wine_try_cflags_saved
8338 eval ac_res=\$$as_ac_var
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8340 $as_echo "$ac_res" >&6; }
8341 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8342 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8343 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8344 else
8345 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8347 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8348 if eval \${$as_ac_var+:} false; then :
8349 $as_echo_n "(cached) " >&6
8350 else
8351 ac_wine_try_cflags_saved=$CFLAGS
8352 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8354 /* end confdefs.h. */
8355 int main(int argc, char **argv) { return 0; }
8356 _ACEOF
8357 if ac_fn_c_try_link "$LINENO"; then :
8358 eval "$as_ac_var=yes"
8359 else
8360 eval "$as_ac_var=no"
8362 rm -f core conftest.err conftest.$ac_objext \
8363 conftest$ac_exeext conftest.$ac_ext
8364 CFLAGS=$ac_wine_try_cflags_saved
8366 eval ac_res=\$$as_ac_var
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8368 $as_echo "$ac_res" >&6; }
8369 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8370 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8371 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8376 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8377 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8378 $as_echo_n "(cached) " >&6
8379 else
8380 ac_wine_try_cflags_saved=$CFLAGS
8381 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8383 /* end confdefs.h. */
8384 int main(int argc, char **argv) { return 0; }
8385 _ACEOF
8386 if ac_fn_c_try_link "$LINENO"; then :
8387 ac_cv_cflags__Wl___enable_new_dtags=yes
8388 else
8389 ac_cv_cflags__Wl___enable_new_dtags=no
8391 rm -f core conftest.err conftest.$ac_objext \
8392 conftest$ac_exeext conftest.$ac_ext
8393 CFLAGS=$ac_wine_try_cflags_saved
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8396 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8397 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8398 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8401 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8402 if ${ac_cv_cflags__Wl__pie+:} false; then :
8403 $as_echo_n "(cached) " >&6
8404 else
8405 ac_wine_try_cflags_saved=$CFLAGS
8406 CFLAGS="$CFLAGS -Wl,-pie"
8407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8408 /* end confdefs.h. */
8409 int main(int argc, char **argv) { return 0; }
8410 _ACEOF
8411 if ac_fn_c_try_link "$LINENO"; then :
8412 ac_cv_cflags__Wl__pie=yes
8413 else
8414 ac_cv_cflags__Wl__pie=no
8416 rm -f core conftest.err conftest.$ac_objext \
8417 conftest$ac_exeext conftest.$ac_ext
8418 CFLAGS=$ac_wine_try_cflags_saved
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8421 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8422 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8423 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8426 LIBWINE_SHAREDLIB="libwine.so"
8428 LIBWINE_INSTALL_LIB="libwine.so"
8430 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8435 DLLFLAGS="$DLLFLAGS -fPIC"
8436 LDEXECFLAGS=""
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8438 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8439 if ${ac_cv_c_dll_gnuelf+:} false; then :
8440 $as_echo_n "(cached) " >&6
8441 else
8442 ac_wine_try_cflags_saved=$CFLAGS
8443 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8445 /* end confdefs.h. */
8446 void myfunc() {}
8447 _ACEOF
8448 if ac_fn_c_try_link "$LINENO"; then :
8449 ac_cv_c_dll_gnuelf="yes"
8450 else
8451 ac_cv_c_dll_gnuelf="no"
8453 rm -f core conftest.err conftest.$ac_objext \
8454 conftest$ac_exeext conftest.$ac_ext
8455 CFLAGS=$ac_wine_try_cflags_saved
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8458 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8459 if test "$ac_cv_c_dll_gnuelf" = "yes"
8460 then
8461 LIBWINE_LDFLAGS="-shared"
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8463 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8464 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8465 $as_echo_n "(cached) " >&6
8466 else
8467 ac_wine_try_cflags_saved=$CFLAGS
8468 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8470 /* end confdefs.h. */
8471 int main(int argc, char **argv) { return 0; }
8472 _ACEOF
8473 if ac_fn_c_try_link "$LINENO"; then :
8474 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8475 else
8476 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8478 rm -f core conftest.err conftest.$ac_objext \
8479 conftest$ac_exeext conftest.$ac_ext
8480 CFLAGS=$ac_wine_try_cflags_saved
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8483 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8484 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8485 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8486 else
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8488 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8489 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8490 $as_echo_n "(cached) " >&6
8491 else
8492 ac_wine_try_cflags_saved=$CFLAGS
8493 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8495 /* end confdefs.h. */
8496 int main(int argc, char **argv) { return 0; }
8497 _ACEOF
8498 if ac_fn_c_try_link "$LINENO"; then :
8499 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8500 else
8501 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8503 rm -f core conftest.err conftest.$ac_objext \
8504 conftest$ac_exeext conftest.$ac_ext
8505 CFLAGS=$ac_wine_try_cflags_saved
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8508 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8509 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8510 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8514 echo '{ global: *; };' >conftest.map
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8516 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8517 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8518 $as_echo_n "(cached) " >&6
8519 else
8520 ac_wine_try_cflags_saved=$CFLAGS
8521 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8523 /* end confdefs.h. */
8524 int main(int argc, char **argv) { return 0; }
8525 _ACEOF
8526 if ac_fn_c_try_link "$LINENO"; then :
8527 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8528 else
8529 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8531 rm -f core conftest.err conftest.$ac_objext \
8532 conftest$ac_exeext conftest.$ac_ext
8533 CFLAGS=$ac_wine_try_cflags_saved
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8536 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8537 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8538 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8540 rm -f conftest.map
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8543 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8544 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8545 $as_echo_n "(cached) " >&6
8546 else
8547 ac_wine_try_cflags_saved=$CFLAGS
8548 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8551 int main(int argc, char **argv) { return 0; }
8552 _ACEOF
8553 if ac_fn_c_try_link "$LINENO"; then :
8554 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8555 else
8556 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8558 rm -f core conftest.err conftest.$ac_objext \
8559 conftest$ac_exeext conftest.$ac_ext
8560 CFLAGS=$ac_wine_try_cflags_saved
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8563 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8564 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8565 LDEXECFLAGS="-Wl,--export-dynamic"
8568 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8570 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8571 if eval \${$as_ac_var+:} false; then :
8572 $as_echo_n "(cached) " >&6
8573 else
8574 ac_wine_try_cflags_saved=$CFLAGS
8575 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8577 /* end confdefs.h. */
8578 int main(int argc, char **argv) { return 0; }
8579 _ACEOF
8580 if ac_fn_c_try_link "$LINENO"; then :
8581 eval "$as_ac_var=yes"
8582 else
8583 eval "$as_ac_var=no"
8585 rm -f core conftest.err conftest.$ac_objext \
8586 conftest$ac_exeext conftest.$ac_ext
8587 CFLAGS=$ac_wine_try_cflags_saved
8589 eval ac_res=\$$as_ac_var
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8591 $as_echo "$ac_res" >&6; }
8592 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8593 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8594 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8595 else
8596 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8598 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8599 if eval \${$as_ac_var+:} false; then :
8600 $as_echo_n "(cached) " >&6
8601 else
8602 ac_wine_try_cflags_saved=$CFLAGS
8603 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8605 /* end confdefs.h. */
8606 int main(int argc, char **argv) { return 0; }
8607 _ACEOF
8608 if ac_fn_c_try_link "$LINENO"; then :
8609 eval "$as_ac_var=yes"
8610 else
8611 eval "$as_ac_var=no"
8613 rm -f core conftest.err conftest.$ac_objext \
8614 conftest$ac_exeext conftest.$ac_ext
8615 CFLAGS=$ac_wine_try_cflags_saved
8617 eval ac_res=\$$as_ac_var
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8619 $as_echo "$ac_res" >&6; }
8620 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8621 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8622 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8627 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8628 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8629 $as_echo_n "(cached) " >&6
8630 else
8631 ac_wine_try_cflags_saved=$CFLAGS
8632 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8634 /* end confdefs.h. */
8635 int main(int argc, char **argv) { return 0; }
8636 _ACEOF
8637 if ac_fn_c_try_link "$LINENO"; then :
8638 ac_cv_cflags__Wl___enable_new_dtags=yes
8639 else
8640 ac_cv_cflags__Wl___enable_new_dtags=no
8642 rm -f core conftest.err conftest.$ac_objext \
8643 conftest$ac_exeext conftest.$ac_ext
8644 CFLAGS=$ac_wine_try_cflags_saved
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8647 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8648 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8649 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8652 case $host_cpu in
8653 *i[3456789]86* | x86_64)
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8655 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8656 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8657 $as_echo_n "(cached) " >&6
8658 else
8659 ac_wine_try_cflags_saved=$CFLAGS
8660 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8662 /* end confdefs.h. */
8663 int main(int argc, char **argv) { return 0; }
8664 _ACEOF
8665 if ac_fn_c_try_link "$LINENO"; then :
8666 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8667 else
8668 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8670 rm -f core conftest.err conftest.$ac_objext \
8671 conftest$ac_exeext conftest.$ac_ext
8672 CFLAGS=$ac_wine_try_cflags_saved
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8675 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8676 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8677 case $host_os in
8678 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8679 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8680 esac
8681 else
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8683 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8684 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8685 $as_echo_n "(cached) " >&6
8686 else
8687 ac_wine_try_cflags_saved=$CFLAGS
8688 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8690 /* end confdefs.h. */
8691 int main(int argc, char **argv) { return 0; }
8692 _ACEOF
8693 if ac_fn_c_try_link "$LINENO"; then :
8694 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8695 else
8696 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8698 rm -f core conftest.err conftest.$ac_objext \
8699 conftest$ac_exeext conftest.$ac_ext
8700 CFLAGS=$ac_wine_try_cflags_saved
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8703 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8704 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8705 case $host_os in
8706 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8707 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8708 esac
8710 # Extract the first word of "prelink", so it can be a program name with args.
8711 set dummy prelink; ac_word=$2
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8713 $as_echo_n "checking for $ac_word... " >&6; }
8714 if ${ac_cv_path_PRELINK+:} false; then :
8715 $as_echo_n "(cached) " >&6
8716 else
8717 case $PRELINK in
8718 [\\/]* | ?:[\\/]*)
8719 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8723 for as_dir in /sbin /usr/sbin $PATH
8725 IFS=$as_save_IFS
8726 test -z "$as_dir" && as_dir=.
8727 for ac_exec_ext in '' $ac_executable_extensions; do
8728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8729 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8731 break 2
8733 done
8734 done
8735 IFS=$as_save_IFS
8737 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8739 esac
8741 PRELINK=$ac_cv_path_PRELINK
8742 if test -n "$PRELINK"; then
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8744 $as_echo "$PRELINK" >&6; }
8745 else
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8747 $as_echo "no" >&6; }
8751 if test "x$PRELINK" = xfalse
8752 then
8753 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8757 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8758 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8759 $as_echo_n "(cached) " >&6
8760 else
8761 ac_wine_try_cflags_saved=$CFLAGS
8762 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8764 /* end confdefs.h. */
8765 int main(int argc, char **argv) { return 0; }
8766 _ACEOF
8767 if ac_fn_c_try_link "$LINENO"; then :
8768 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8769 else
8770 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8772 rm -f core conftest.err conftest.$ac_objext \
8773 conftest$ac_exeext conftest.$ac_ext
8774 CFLAGS=$ac_wine_try_cflags_saved
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8777 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8778 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8779 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8782 esac
8784 else
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8786 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8787 if ${ac_cv_c_dll_unixware+:} false; then :
8788 $as_echo_n "(cached) " >&6
8789 else
8790 ac_wine_try_cflags_saved=$CFLAGS
8791 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8793 /* end confdefs.h. */
8794 void myfunc() {}
8795 _ACEOF
8796 if ac_fn_c_try_link "$LINENO"; then :
8797 ac_cv_c_dll_unixware="yes"
8798 else
8799 ac_cv_c_dll_unixware="no"
8801 rm -f core conftest.err conftest.$ac_objext \
8802 conftest$ac_exeext conftest.$ac_ext
8803 CFLAGS=$ac_wine_try_cflags_saved
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8806 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8807 if test "$ac_cv_c_dll_unixware" = "yes"
8808 then
8809 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8812 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8814 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8816 LIBWINE_INSTALL_DEV="libwine.so"
8818 LIBWINE_DEPENDS="wine.map"
8821 esac
8823 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8824 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8825 enable_winemac_drv=${enable_winemac_drv:-no}
8826 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8828 CROSSTARGET=""
8830 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8831 then
8832 case "$host_cpu" in
8833 arm*)
8834 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8835 i[3456789]86*)
8836 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
8837 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8838 mingw32-gcc" ;;
8839 x86_64)
8840 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
8841 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8843 ac_prefix_list="" ;;
8844 esac
8845 for ac_prog in $ac_prefix_list
8847 # Extract the first word of "$ac_prog", so it can be a program name with args.
8848 set dummy $ac_prog; ac_word=$2
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8850 $as_echo_n "checking for $ac_word... " >&6; }
8851 if ${ac_cv_prog_CROSSCC+:} false; then :
8852 $as_echo_n "(cached) " >&6
8853 else
8854 if test -n "$CROSSCC"; then
8855 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8856 else
8857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8858 for as_dir in $PATH
8860 IFS=$as_save_IFS
8861 test -z "$as_dir" && as_dir=.
8862 for ac_exec_ext in '' $ac_executable_extensions; do
8863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8864 ac_cv_prog_CROSSCC="$ac_prog"
8865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8866 break 2
8868 done
8869 done
8870 IFS=$as_save_IFS
8874 CROSSCC=$ac_cv_prog_CROSSCC
8875 if test -n "$CROSSCC"; then
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8877 $as_echo "$CROSSCC" >&6; }
8878 else
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8880 $as_echo "no" >&6; }
8884 test -n "$CROSSCC" && break
8885 done
8886 test -n "$CROSSCC" || CROSSCC="false"
8888 if test "$CROSSCC" != "false"
8889 then
8890 ac_save_CC="$CC"
8891 CC="$CROSSCC"
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8893 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8895 /* end confdefs.h. */
8898 main ()
8902 return 0;
8904 _ACEOF
8905 if ac_fn_c_try_compile "$LINENO"; then :
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8907 $as_echo "yes" >&6; }
8908 set x $CROSSCC
8909 shift
8910 while test $# -ge 1
8912 case "$1" in
8913 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8914 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8915 esac
8916 shift
8917 done
8918 else
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8920 $as_echo "no" >&6; }
8922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8923 CC="$ac_save_CC"
8928 if test "$ac_cv_header_pthread_h" = "yes"
8929 then
8930 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8931 if test "x$ac_cv_func_pthread_create" = xyes; then :
8933 else
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8935 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8936 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8937 $as_echo_n "(cached) " >&6
8938 else
8939 ac_check_lib_save_LIBS=$LIBS
8940 LIBS="-lpthread $LIBS"
8941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8942 /* end confdefs.h. */
8944 /* Override any GCC internal prototype to avoid an error.
8945 Use char because int might match the return type of a GCC
8946 builtin and then its argument prototype would still apply. */
8947 #ifdef __cplusplus
8948 extern "C"
8949 #endif
8950 char pthread_create ();
8952 main ()
8954 return pthread_create ();
8956 return 0;
8958 _ACEOF
8959 if ac_fn_c_try_link "$LINENO"; then :
8960 ac_cv_lib_pthread_pthread_create=yes
8961 else
8962 ac_cv_lib_pthread_pthread_create=no
8964 rm -f core conftest.err conftest.$ac_objext \
8965 conftest$ac_exeext conftest.$ac_ext
8966 LIBS=$ac_check_lib_save_LIBS
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8969 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8970 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8971 PTHREAD_LIBS="-lpthread"
8978 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8979 case "x$with_pthread" in
8980 xno) ;;
8981 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8982 Wine cannot support threads without libpthread.
8983 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8984 esac
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8990 $as_echo_n "checking for X... " >&6; }
8993 # Check whether --with-x was given.
8994 if test "${with_x+set}" = set; then :
8995 withval=$with_x;
8998 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8999 if test "x$with_x" = xno; then
9000 # The user explicitly disabled X.
9001 have_x=disabled
9002 else
9003 case $x_includes,$x_libraries in #(
9004 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9005 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9006 $as_echo_n "(cached) " >&6
9007 else
9008 # One or both of the vars are not set, and there is no cached value.
9009 ac_x_includes=no ac_x_libraries=no
9010 rm -f -r conftest.dir
9011 if mkdir conftest.dir; then
9012 cd conftest.dir
9013 cat >Imakefile <<'_ACEOF'
9014 incroot:
9015 @echo incroot='${INCROOT}'
9016 usrlibdir:
9017 @echo usrlibdir='${USRLIBDIR}'
9018 libdir:
9019 @echo libdir='${LIBDIR}'
9020 _ACEOF
9021 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9022 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9023 for ac_var in incroot usrlibdir libdir; do
9024 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9025 done
9026 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9027 for ac_extension in a so sl dylib la dll; do
9028 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9029 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9030 ac_im_usrlibdir=$ac_im_libdir; break
9032 done
9033 # Screen out bogus values from the imake configuration. They are
9034 # bogus both because they are the default anyway, and because
9035 # using them would break gcc on systems where it needs fixed includes.
9036 case $ac_im_incroot in
9037 /usr/include) ac_x_includes= ;;
9038 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9039 esac
9040 case $ac_im_usrlibdir in
9041 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9042 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9043 esac
9045 cd ..
9046 rm -f -r conftest.dir
9049 # Standard set of common directories for X headers.
9050 # Check X11 before X11Rn because it is often a symlink to the current release.
9051 ac_x_header_dirs='
9052 /usr/X11/include
9053 /usr/X11R7/include
9054 /usr/X11R6/include
9055 /usr/X11R5/include
9056 /usr/X11R4/include
9058 /usr/include/X11
9059 /usr/include/X11R7
9060 /usr/include/X11R6
9061 /usr/include/X11R5
9062 /usr/include/X11R4
9064 /usr/local/X11/include
9065 /usr/local/X11R7/include
9066 /usr/local/X11R6/include
9067 /usr/local/X11R5/include
9068 /usr/local/X11R4/include
9070 /usr/local/include/X11
9071 /usr/local/include/X11R7
9072 /usr/local/include/X11R6
9073 /usr/local/include/X11R5
9074 /usr/local/include/X11R4
9076 /usr/X386/include
9077 /usr/x386/include
9078 /usr/XFree86/include/X11
9080 /usr/include
9081 /usr/local/include
9082 /usr/unsupported/include
9083 /usr/athena/include
9084 /usr/local/x11r5/include
9085 /usr/lpp/Xamples/include
9087 /usr/openwin/include
9088 /usr/openwin/share/include'
9090 if test "$ac_x_includes" = no; then
9091 # Guess where to find include files, by looking for Xlib.h.
9092 # First, try using that file with no special directory specified.
9093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9094 /* end confdefs.h. */
9095 #include <X11/Xlib.h>
9096 _ACEOF
9097 if ac_fn_c_try_cpp "$LINENO"; then :
9098 # We can compile using X headers with no special include directory.
9099 ac_x_includes=
9100 else
9101 for ac_dir in $ac_x_header_dirs; do
9102 if test -r "$ac_dir/X11/Xlib.h"; then
9103 ac_x_includes=$ac_dir
9104 break
9106 done
9108 rm -f conftest.err conftest.i conftest.$ac_ext
9109 fi # $ac_x_includes = no
9111 if test "$ac_x_libraries" = no; then
9112 # Check for the libraries.
9113 # See if we find them without any special options.
9114 # Don't add to $LIBS permanently.
9115 ac_save_LIBS=$LIBS
9116 LIBS="-lX11 $LIBS"
9117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9118 /* end confdefs.h. */
9119 #include <X11/Xlib.h>
9121 main ()
9123 XrmInitialize ()
9125 return 0;
9127 _ACEOF
9128 if ac_fn_c_try_link "$LINENO"; then :
9129 LIBS=$ac_save_LIBS
9130 # We can link X programs with no special library path.
9131 ac_x_libraries=
9132 else
9133 LIBS=$ac_save_LIBS
9134 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9136 # Don't even attempt the hair of trying to link an X program!
9137 for ac_extension in a so sl dylib la dll; do
9138 if test -r "$ac_dir/libX11.$ac_extension"; then
9139 ac_x_libraries=$ac_dir
9140 break 2
9142 done
9143 done
9145 rm -f core conftest.err conftest.$ac_objext \
9146 conftest$ac_exeext conftest.$ac_ext
9147 fi # $ac_x_libraries = no
9149 case $ac_x_includes,$ac_x_libraries in #(
9150 no,* | *,no | *\'*)
9151 # Didn't find X, or a directory has "'" in its name.
9152 ac_cv_have_x="have_x=no";; #(
9154 # Record where we found X for the cache.
9155 ac_cv_have_x="have_x=yes\
9156 ac_x_includes='$ac_x_includes'\
9157 ac_x_libraries='$ac_x_libraries'"
9158 esac
9160 ;; #(
9161 *) have_x=yes;;
9162 esac
9163 eval "$ac_cv_have_x"
9164 fi # $with_x != no
9166 if test "$have_x" != yes; then
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9168 $as_echo "$have_x" >&6; }
9169 no_x=yes
9170 else
9171 # If each of the values was on the command line, it overrides each guess.
9172 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9173 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9174 # Update the cache value to reflect the command line values.
9175 ac_cv_have_x="have_x=yes\
9176 ac_x_includes='$x_includes'\
9177 ac_x_libraries='$x_libraries'"
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9179 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9182 if test "$no_x" = yes; then
9183 # Not all programs may use this symbol, but it does not hurt to define it.
9185 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9187 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9188 else
9189 if test -n "$x_includes"; then
9190 X_CFLAGS="$X_CFLAGS -I$x_includes"
9193 # It would also be nice to do this for all -L options, not just this one.
9194 if test -n "$x_libraries"; then
9195 X_LIBS="$X_LIBS -L$x_libraries"
9196 # For Solaris; some versions of Sun CC require a space after -R and
9197 # others require no space. Words are not sufficient . . . .
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9199 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9200 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9201 ac_xsave_c_werror_flag=$ac_c_werror_flag
9202 ac_c_werror_flag=yes
9203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9204 /* end confdefs.h. */
9207 main ()
9211 return 0;
9213 _ACEOF
9214 if ac_fn_c_try_link "$LINENO"; then :
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9216 $as_echo "no" >&6; }
9217 X_LIBS="$X_LIBS -R$x_libraries"
9218 else
9219 LIBS="$ac_xsave_LIBS -R $x_libraries"
9220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9221 /* end confdefs.h. */
9224 main ()
9228 return 0;
9230 _ACEOF
9231 if ac_fn_c_try_link "$LINENO"; then :
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9233 $as_echo "yes" >&6; }
9234 X_LIBS="$X_LIBS -R $x_libraries"
9235 else
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9237 $as_echo "neither works" >&6; }
9239 rm -f core conftest.err conftest.$ac_objext \
9240 conftest$ac_exeext conftest.$ac_ext
9242 rm -f core conftest.err conftest.$ac_objext \
9243 conftest$ac_exeext conftest.$ac_ext
9244 ac_c_werror_flag=$ac_xsave_c_werror_flag
9245 LIBS=$ac_xsave_LIBS
9248 # Check for system-dependent libraries X programs must link with.
9249 # Do this before checking for the system-independent R6 libraries
9250 # (-lICE), since we may need -lsocket or whatever for X linking.
9252 if test "$ISC" = yes; then
9253 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9254 else
9255 # Martyn Johnson says this is needed for Ultrix, if the X
9256 # libraries were built with DECnet support. And Karl Berry says
9257 # the Alpha needs dnet_stub (dnet does not exist).
9258 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9260 /* end confdefs.h. */
9262 /* Override any GCC internal prototype to avoid an error.
9263 Use char because int might match the return type of a GCC
9264 builtin and then its argument prototype would still apply. */
9265 #ifdef __cplusplus
9266 extern "C"
9267 #endif
9268 char XOpenDisplay ();
9270 main ()
9272 return XOpenDisplay ();
9274 return 0;
9276 _ACEOF
9277 if ac_fn_c_try_link "$LINENO"; then :
9279 else
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9281 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9282 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9283 $as_echo_n "(cached) " >&6
9284 else
9285 ac_check_lib_save_LIBS=$LIBS
9286 LIBS="-ldnet $LIBS"
9287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9288 /* end confdefs.h. */
9290 /* Override any GCC internal prototype to avoid an error.
9291 Use char because int might match the return type of a GCC
9292 builtin and then its argument prototype would still apply. */
9293 #ifdef __cplusplus
9294 extern "C"
9295 #endif
9296 char dnet_ntoa ();
9298 main ()
9300 return dnet_ntoa ();
9302 return 0;
9304 _ACEOF
9305 if ac_fn_c_try_link "$LINENO"; then :
9306 ac_cv_lib_dnet_dnet_ntoa=yes
9307 else
9308 ac_cv_lib_dnet_dnet_ntoa=no
9310 rm -f core conftest.err conftest.$ac_objext \
9311 conftest$ac_exeext conftest.$ac_ext
9312 LIBS=$ac_check_lib_save_LIBS
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9315 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9316 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9317 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9320 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9322 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9323 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9324 $as_echo_n "(cached) " >&6
9325 else
9326 ac_check_lib_save_LIBS=$LIBS
9327 LIBS="-ldnet_stub $LIBS"
9328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9331 /* Override any GCC internal prototype to avoid an error.
9332 Use char because int might match the return type of a GCC
9333 builtin and then its argument prototype would still apply. */
9334 #ifdef __cplusplus
9335 extern "C"
9336 #endif
9337 char dnet_ntoa ();
9339 main ()
9341 return dnet_ntoa ();
9343 return 0;
9345 _ACEOF
9346 if ac_fn_c_try_link "$LINENO"; then :
9347 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9348 else
9349 ac_cv_lib_dnet_stub_dnet_ntoa=no
9351 rm -f core conftest.err conftest.$ac_objext \
9352 conftest$ac_exeext conftest.$ac_ext
9353 LIBS=$ac_check_lib_save_LIBS
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9356 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9357 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9358 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9363 rm -f core conftest.err conftest.$ac_objext \
9364 conftest$ac_exeext conftest.$ac_ext
9365 LIBS="$ac_xsave_LIBS"
9367 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9368 # to get the SysV transport functions.
9369 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9370 # needs -lnsl.
9371 # The nsl library prevents programs from opening the X display
9372 # on Irix 5.2, according to T.E. Dickey.
9373 # The functions gethostbyname, getservbyname, and inet_addr are
9374 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9375 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9376 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9380 if test $ac_cv_func_gethostbyname = no; then
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9382 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9383 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9384 $as_echo_n "(cached) " >&6
9385 else
9386 ac_check_lib_save_LIBS=$LIBS
9387 LIBS="-lnsl $LIBS"
9388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9389 /* end confdefs.h. */
9391 /* Override any GCC internal prototype to avoid an error.
9392 Use char because int might match the return type of a GCC
9393 builtin and then its argument prototype would still apply. */
9394 #ifdef __cplusplus
9395 extern "C"
9396 #endif
9397 char gethostbyname ();
9399 main ()
9401 return gethostbyname ();
9403 return 0;
9405 _ACEOF
9406 if ac_fn_c_try_link "$LINENO"; then :
9407 ac_cv_lib_nsl_gethostbyname=yes
9408 else
9409 ac_cv_lib_nsl_gethostbyname=no
9411 rm -f core conftest.err conftest.$ac_objext \
9412 conftest$ac_exeext conftest.$ac_ext
9413 LIBS=$ac_check_lib_save_LIBS
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9416 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9417 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9418 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9421 if test $ac_cv_lib_nsl_gethostbyname = no; then
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9423 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9424 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9425 $as_echo_n "(cached) " >&6
9426 else
9427 ac_check_lib_save_LIBS=$LIBS
9428 LIBS="-lbsd $LIBS"
9429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9430 /* end confdefs.h. */
9432 /* Override any GCC internal prototype to avoid an error.
9433 Use char because int might match the return type of a GCC
9434 builtin and then its argument prototype would still apply. */
9435 #ifdef __cplusplus
9436 extern "C"
9437 #endif
9438 char gethostbyname ();
9440 main ()
9442 return gethostbyname ();
9444 return 0;
9446 _ACEOF
9447 if ac_fn_c_try_link "$LINENO"; then :
9448 ac_cv_lib_bsd_gethostbyname=yes
9449 else
9450 ac_cv_lib_bsd_gethostbyname=no
9452 rm -f core conftest.err conftest.$ac_objext \
9453 conftest$ac_exeext conftest.$ac_ext
9454 LIBS=$ac_check_lib_save_LIBS
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9457 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9458 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9459 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9465 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9466 # socket/setsockopt and other routines are undefined under SCO ODT
9467 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9468 # on later versions), says Simon Leinen: it contains gethostby*
9469 # variants that don't use the name server (or something). -lsocket
9470 # must be given before -lnsl if both are needed. We assume that
9471 # if connect needs -lnsl, so does gethostbyname.
9472 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9473 if test "x$ac_cv_func_connect" = xyes; then :
9477 if test $ac_cv_func_connect = no; then
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9479 $as_echo_n "checking for connect in -lsocket... " >&6; }
9480 if ${ac_cv_lib_socket_connect+:} false; then :
9481 $as_echo_n "(cached) " >&6
9482 else
9483 ac_check_lib_save_LIBS=$LIBS
9484 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9488 /* Override any GCC internal prototype to avoid an error.
9489 Use char because int might match the return type of a GCC
9490 builtin and then its argument prototype would still apply. */
9491 #ifdef __cplusplus
9492 extern "C"
9493 #endif
9494 char connect ();
9496 main ()
9498 return connect ();
9500 return 0;
9502 _ACEOF
9503 if ac_fn_c_try_link "$LINENO"; then :
9504 ac_cv_lib_socket_connect=yes
9505 else
9506 ac_cv_lib_socket_connect=no
9508 rm -f core conftest.err conftest.$ac_objext \
9509 conftest$ac_exeext conftest.$ac_ext
9510 LIBS=$ac_check_lib_save_LIBS
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9513 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9514 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9515 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9520 # Guillermo Gomez says -lposix is necessary on A/UX.
9521 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9522 if test "x$ac_cv_func_remove" = xyes; then :
9526 if test $ac_cv_func_remove = no; then
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9528 $as_echo_n "checking for remove in -lposix... " >&6; }
9529 if ${ac_cv_lib_posix_remove+:} false; then :
9530 $as_echo_n "(cached) " >&6
9531 else
9532 ac_check_lib_save_LIBS=$LIBS
9533 LIBS="-lposix $LIBS"
9534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9535 /* end confdefs.h. */
9537 /* Override any GCC internal prototype to avoid an error.
9538 Use char because int might match the return type of a GCC
9539 builtin and then its argument prototype would still apply. */
9540 #ifdef __cplusplus
9541 extern "C"
9542 #endif
9543 char remove ();
9545 main ()
9547 return remove ();
9549 return 0;
9551 _ACEOF
9552 if ac_fn_c_try_link "$LINENO"; then :
9553 ac_cv_lib_posix_remove=yes
9554 else
9555 ac_cv_lib_posix_remove=no
9557 rm -f core conftest.err conftest.$ac_objext \
9558 conftest$ac_exeext conftest.$ac_ext
9559 LIBS=$ac_check_lib_save_LIBS
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9562 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9563 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9564 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9569 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9570 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9571 if test "x$ac_cv_func_shmat" = xyes; then :
9575 if test $ac_cv_func_shmat = no; then
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9577 $as_echo_n "checking for shmat in -lipc... " >&6; }
9578 if ${ac_cv_lib_ipc_shmat+:} false; then :
9579 $as_echo_n "(cached) " >&6
9580 else
9581 ac_check_lib_save_LIBS=$LIBS
9582 LIBS="-lipc $LIBS"
9583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9584 /* end confdefs.h. */
9586 /* Override any GCC internal prototype to avoid an error.
9587 Use char because int might match the return type of a GCC
9588 builtin and then its argument prototype would still apply. */
9589 #ifdef __cplusplus
9590 extern "C"
9591 #endif
9592 char shmat ();
9594 main ()
9596 return shmat ();
9598 return 0;
9600 _ACEOF
9601 if ac_fn_c_try_link "$LINENO"; then :
9602 ac_cv_lib_ipc_shmat=yes
9603 else
9604 ac_cv_lib_ipc_shmat=no
9606 rm -f core conftest.err conftest.$ac_objext \
9607 conftest$ac_exeext conftest.$ac_ext
9608 LIBS=$ac_check_lib_save_LIBS
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9611 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9612 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9613 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9619 # Check for libraries that X11R6 Xt/Xaw programs need.
9620 ac_save_LDFLAGS=$LDFLAGS
9621 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9622 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9623 # check for ICE first), but we must link in the order -lSM -lICE or
9624 # we get undefined symbols. So assume we have SM if we have ICE.
9625 # These have to be linked with before -lX11, unlike the other
9626 # libraries we check for below, so use a different variable.
9627 # John Interrante, Karl Berry
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9629 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9630 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9631 $as_echo_n "(cached) " >&6
9632 else
9633 ac_check_lib_save_LIBS=$LIBS
9634 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9636 /* end confdefs.h. */
9638 /* Override any GCC internal prototype to avoid an error.
9639 Use char because int might match the return type of a GCC
9640 builtin and then its argument prototype would still apply. */
9641 #ifdef __cplusplus
9642 extern "C"
9643 #endif
9644 char IceConnectionNumber ();
9646 main ()
9648 return IceConnectionNumber ();
9650 return 0;
9652 _ACEOF
9653 if ac_fn_c_try_link "$LINENO"; then :
9654 ac_cv_lib_ICE_IceConnectionNumber=yes
9655 else
9656 ac_cv_lib_ICE_IceConnectionNumber=no
9658 rm -f core conftest.err conftest.$ac_objext \
9659 conftest$ac_exeext conftest.$ac_ext
9660 LIBS=$ac_check_lib_save_LIBS
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9663 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9664 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9665 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9668 LDFLAGS=$ac_save_LDFLAGS
9673 if test "$have_x" = "yes"
9674 then
9675 ac_save_CPPFLAGS="$CPPFLAGS"
9676 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9679 $as_echo_n "checking for -lX11... " >&6; }
9680 if ${ac_cv_lib_soname_X11+:} false; then :
9681 $as_echo_n "(cached) " >&6
9682 else
9683 ac_check_soname_save_LIBS=$LIBS
9684 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9686 /* end confdefs.h. */
9688 /* Override any GCC internal prototype to avoid an error.
9689 Use char because int might match the return type of a GCC
9690 builtin and then its argument prototype would still apply. */
9691 #ifdef __cplusplus
9692 extern "C"
9693 #endif
9694 char XCreateWindow ();
9696 main ()
9698 return XCreateWindow ();
9700 return 0;
9702 _ACEOF
9703 if ac_fn_c_try_link "$LINENO"; then :
9704 case "$LIBEXT" in
9705 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9706 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'` ;;
9707 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9708 if ${ac_cv_lib_soname_X11:+false} :; then :
9709 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9710 fi ;;
9711 esac
9713 rm -f core conftest.err conftest.$ac_objext \
9714 conftest$ac_exeext conftest.$ac_ext
9715 LIBS=$ac_check_soname_save_LIBS
9717 if ${ac_cv_lib_soname_X11:+false} :; then :
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9719 $as_echo "not found" >&6; }
9721 else
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9723 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9725 cat >>confdefs.h <<_ACEOF
9726 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9727 _ACEOF
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9732 $as_echo_n "checking for -lXext... " >&6; }
9733 if ${ac_cv_lib_soname_Xext+:} false; then :
9734 $as_echo_n "(cached) " >&6
9735 else
9736 ac_check_soname_save_LIBS=$LIBS
9737 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9739 /* end confdefs.h. */
9741 /* Override any GCC internal prototype to avoid an error.
9742 Use char because int might match the return type of a GCC
9743 builtin and then its argument prototype would still apply. */
9744 #ifdef __cplusplus
9745 extern "C"
9746 #endif
9747 char XextCreateExtension ();
9749 main ()
9751 return XextCreateExtension ();
9753 return 0;
9755 _ACEOF
9756 if ac_fn_c_try_link "$LINENO"; then :
9757 case "$LIBEXT" in
9758 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9759 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'` ;;
9760 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9761 if ${ac_cv_lib_soname_Xext:+false} :; then :
9762 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9763 fi ;;
9764 esac
9766 rm -f core conftest.err conftest.$ac_objext \
9767 conftest$ac_exeext conftest.$ac_ext
9768 LIBS=$ac_check_soname_save_LIBS
9770 if ${ac_cv_lib_soname_Xext:+false} :; then :
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9772 $as_echo "not found" >&6; }
9774 else
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9776 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9778 cat >>confdefs.h <<_ACEOF
9779 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9780 _ACEOF
9782 X_LIBS="$X_LIBS -lXext"
9784 X_LIBS="$X_LIBS -lX11"
9786 for ac_header in X11/Xlib.h \
9787 X11/XKBlib.h \
9788 X11/Xutil.h \
9789 X11/Xcursor/Xcursor.h \
9790 X11/extensions/shape.h \
9791 X11/extensions/XInput.h \
9792 X11/extensions/XInput2.h \
9793 X11/extensions/XShm.h \
9794 X11/extensions/Xcomposite.h \
9795 X11/extensions/Xinerama.h \
9796 X11/extensions/Xrandr.h \
9797 X11/extensions/Xrender.h \
9798 X11/extensions/xf86vmode.h \
9799 X11/extensions/xf86vmproto.h
9800 do :
9801 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9802 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9803 # include <X11/Xlib.h>
9804 #endif
9805 #ifdef HAVE_X11_XUTIL_H
9806 # include <X11/Xutil.h>
9807 #endif
9809 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9810 cat >>confdefs.h <<_ACEOF
9811 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9812 _ACEOF
9816 done
9819 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9820 then
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9822 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9823 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9824 $as_echo_n "(cached) " >&6
9825 else
9826 ac_check_lib_save_LIBS=$LIBS
9827 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9831 /* Override any GCC internal prototype to avoid an error.
9832 Use char because int might match the return type of a GCC
9833 builtin and then its argument prototype would still apply. */
9834 #ifdef __cplusplus
9835 extern "C"
9836 #endif
9837 char XkbQueryExtension ();
9839 main ()
9841 return XkbQueryExtension ();
9843 return 0;
9845 _ACEOF
9846 if ac_fn_c_try_link "$LINENO"; then :
9847 ac_cv_lib_X11_XkbQueryExtension=yes
9848 else
9849 ac_cv_lib_X11_XkbQueryExtension=no
9851 rm -f core conftest.err conftest.$ac_objext \
9852 conftest$ac_exeext conftest.$ac_ext
9853 LIBS=$ac_check_lib_save_LIBS
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9856 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9857 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9859 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9865 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9866 then
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9868 $as_echo_n "checking for -lXcursor... " >&6; }
9869 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9870 $as_echo_n "(cached) " >&6
9871 else
9872 ac_check_soname_save_LIBS=$LIBS
9873 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9877 /* Override any GCC internal prototype to avoid an error.
9878 Use char because int might match the return type of a GCC
9879 builtin and then its argument prototype would still apply. */
9880 #ifdef __cplusplus
9881 extern "C"
9882 #endif
9883 char XcursorImageLoadCursor ();
9885 main ()
9887 return XcursorImageLoadCursor ();
9889 return 0;
9891 _ACEOF
9892 if ac_fn_c_try_link "$LINENO"; then :
9893 case "$LIBEXT" in
9894 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9895 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'` ;;
9896 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9897 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9898 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9899 fi ;;
9900 esac
9902 rm -f core conftest.err conftest.$ac_objext \
9903 conftest$ac_exeext conftest.$ac_ext
9904 LIBS=$ac_check_soname_save_LIBS
9906 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9908 $as_echo "not found" >&6; }
9910 else
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9912 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9914 cat >>confdefs.h <<_ACEOF
9915 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9916 _ACEOF
9921 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9922 case "x$with_xcursor" in
9923 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9924 xno) ;;
9925 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9926 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9927 esac
9931 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9932 then
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9934 $as_echo_n "checking for -lXi... " >&6; }
9935 if ${ac_cv_lib_soname_Xi+:} false; then :
9936 $as_echo_n "(cached) " >&6
9937 else
9938 ac_check_soname_save_LIBS=$LIBS
9939 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9941 /* end confdefs.h. */
9943 /* Override any GCC internal prototype to avoid an error.
9944 Use char because int might match the return type of a GCC
9945 builtin and then its argument prototype would still apply. */
9946 #ifdef __cplusplus
9947 extern "C"
9948 #endif
9949 char XOpenDevice ();
9951 main ()
9953 return XOpenDevice ();
9955 return 0;
9957 _ACEOF
9958 if ac_fn_c_try_link "$LINENO"; then :
9959 case "$LIBEXT" in
9960 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9961 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'` ;;
9962 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9963 if ${ac_cv_lib_soname_Xi:+false} :; then :
9964 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9965 fi ;;
9966 esac
9968 rm -f core conftest.err conftest.$ac_objext \
9969 conftest$ac_exeext conftest.$ac_ext
9970 LIBS=$ac_check_soname_save_LIBS
9972 if ${ac_cv_lib_soname_Xi:+false} :; then :
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9974 $as_echo "not found" >&6; }
9976 else
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9978 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9980 cat >>confdefs.h <<_ACEOF
9981 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9982 _ACEOF
9987 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9988 case "x$with_xinput" in
9989 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9990 xno) ;;
9991 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9992 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9993 esac
9997 if test "x$ac_cv_lib_soname_Xi" != x
9998 then
9999 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10000 case "x$with_xinput2" in
10001 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10002 xno) ;;
10003 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10004 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10005 esac
10010 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10011 then
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10013 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10014 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10015 $as_echo_n "(cached) " >&6
10016 else
10017 ac_check_lib_save_LIBS=$LIBS
10018 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10020 /* end confdefs.h. */
10022 /* Override any GCC internal prototype to avoid an error.
10023 Use char because int might match the return type of a GCC
10024 builtin and then its argument prototype would still apply. */
10025 #ifdef __cplusplus
10026 extern "C"
10027 #endif
10028 char XShmQueryExtension ();
10030 main ()
10032 return XShmQueryExtension ();
10034 return 0;
10036 _ACEOF
10037 if ac_fn_c_try_link "$LINENO"; then :
10038 ac_cv_lib_Xext_XShmQueryExtension=yes
10039 else
10040 ac_cv_lib_Xext_XShmQueryExtension=no
10042 rm -f core conftest.err conftest.$ac_objext \
10043 conftest$ac_exeext conftest.$ac_ext
10044 LIBS=$ac_check_lib_save_LIBS
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10047 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10048 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10050 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10055 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10056 case "x$with_xshm" in
10057 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10058 xno) ;;
10059 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10060 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10061 esac
10065 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10066 then
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10068 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10069 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10070 $as_echo_n "(cached) " >&6
10071 else
10072 ac_check_lib_save_LIBS=$LIBS
10073 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10075 /* end confdefs.h. */
10077 /* Override any GCC internal prototype to avoid an error.
10078 Use char because int might match the return type of a GCC
10079 builtin and then its argument prototype would still apply. */
10080 #ifdef __cplusplus
10081 extern "C"
10082 #endif
10083 char XShapeQueryExtension ();
10085 main ()
10087 return XShapeQueryExtension ();
10089 return 0;
10091 _ACEOF
10092 if ac_fn_c_try_link "$LINENO"; then :
10093 ac_cv_lib_Xext_XShapeQueryExtension=yes
10094 else
10095 ac_cv_lib_Xext_XShapeQueryExtension=no
10097 rm -f core conftest.err conftest.$ac_objext \
10098 conftest$ac_exeext conftest.$ac_ext
10099 LIBS=$ac_check_lib_save_LIBS
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10102 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10103 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10105 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10110 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10111 case "x$with_xshape" in
10112 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10113 xno) ;;
10114 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10115 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10116 esac
10120 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10121 then
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10123 $as_echo_n "checking for -lXxf86vm... " >&6; }
10124 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10125 $as_echo_n "(cached) " >&6
10126 else
10127 ac_check_soname_save_LIBS=$LIBS
10128 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10130 /* end confdefs.h. */
10132 /* Override any GCC internal prototype to avoid an error.
10133 Use char because int might match the return type of a GCC
10134 builtin and then its argument prototype would still apply. */
10135 #ifdef __cplusplus
10136 extern "C"
10137 #endif
10138 char XF86VidModeQueryExtension ();
10140 main ()
10142 return XF86VidModeQueryExtension ();
10144 return 0;
10146 _ACEOF
10147 if ac_fn_c_try_link "$LINENO"; then :
10148 case "$LIBEXT" in
10149 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10150 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'` ;;
10151 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10152 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10153 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10154 fi ;;
10155 esac
10157 rm -f core conftest.err conftest.$ac_objext \
10158 conftest$ac_exeext conftest.$ac_ext
10159 LIBS=$ac_check_soname_save_LIBS
10161 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10163 $as_echo "not found" >&6; }
10165 else
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10167 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10169 cat >>confdefs.h <<_ACEOF
10170 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10171 _ACEOF
10176 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10177 case "x$with_xxf86vm" in
10178 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10179 xno) ;;
10180 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10181 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10182 esac
10186 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10187 then
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10189 $as_echo_n "checking for -lXrender... " >&6; }
10190 if ${ac_cv_lib_soname_Xrender+:} false; then :
10191 $as_echo_n "(cached) " >&6
10192 else
10193 ac_check_soname_save_LIBS=$LIBS
10194 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10196 /* end confdefs.h. */
10198 /* Override any GCC internal prototype to avoid an error.
10199 Use char because int might match the return type of a GCC
10200 builtin and then its argument prototype would still apply. */
10201 #ifdef __cplusplus
10202 extern "C"
10203 #endif
10204 char XRenderQueryExtension ();
10206 main ()
10208 return XRenderQueryExtension ();
10210 return 0;
10212 _ACEOF
10213 if ac_fn_c_try_link "$LINENO"; then :
10214 case "$LIBEXT" in
10215 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10216 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'` ;;
10217 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10218 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10219 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10220 fi ;;
10221 esac
10223 rm -f core conftest.err conftest.$ac_objext \
10224 conftest$ac_exeext conftest.$ac_ext
10225 LIBS=$ac_check_soname_save_LIBS
10227 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10229 $as_echo "not found" >&6; }
10231 else
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10233 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10235 cat >>confdefs.h <<_ACEOF
10236 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10237 _ACEOF
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10240 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10241 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10242 $as_echo_n "(cached) " >&6
10243 else
10244 ac_check_lib_save_LIBS=$LIBS
10245 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10252 #ifdef __cplusplus
10253 extern "C"
10254 #endif
10255 char XRenderSetPictureTransform ();
10257 main ()
10259 return XRenderSetPictureTransform ();
10261 return 0;
10263 _ACEOF
10264 if ac_fn_c_try_link "$LINENO"; then :
10265 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10266 else
10267 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10269 rm -f core conftest.err conftest.$ac_objext \
10270 conftest$ac_exeext conftest.$ac_ext
10271 LIBS=$ac_check_lib_save_LIBS
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10274 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10275 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10277 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10282 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10283 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10284 $as_echo_n "(cached) " >&6
10285 else
10286 ac_check_lib_save_LIBS=$LIBS
10287 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10291 /* Override any GCC internal prototype to avoid an error.
10292 Use char because int might match the return type of a GCC
10293 builtin and then its argument prototype would still apply. */
10294 #ifdef __cplusplus
10295 extern "C"
10296 #endif
10297 char XRenderCreateLinearGradient ();
10299 main ()
10301 return XRenderCreateLinearGradient ();
10303 return 0;
10305 _ACEOF
10306 if ac_fn_c_try_link "$LINENO"; then :
10307 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10308 else
10309 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10311 rm -f core conftest.err conftest.$ac_objext \
10312 conftest$ac_exeext conftest.$ac_ext
10313 LIBS=$ac_check_lib_save_LIBS
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10316 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10317 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10319 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10326 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10327 case "x$with_xrender" in
10328 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10329 xno) ;;
10330 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10331 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10332 esac
10336 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10337 then
10338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10339 /* end confdefs.h. */
10340 #include <X11/Xlib.h>
10341 #include <X11/extensions/Xrandr.h>
10343 main ()
10345 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10347 return 0;
10349 _ACEOF
10350 if ac_fn_c_try_compile "$LINENO"; then :
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10352 $as_echo_n "checking for -lXrandr... " >&6; }
10353 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10354 $as_echo_n "(cached) " >&6
10355 else
10356 ac_check_soname_save_LIBS=$LIBS
10357 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10361 /* Override any GCC internal prototype to avoid an error.
10362 Use char because int might match the return type of a GCC
10363 builtin and then its argument prototype would still apply. */
10364 #ifdef __cplusplus
10365 extern "C"
10366 #endif
10367 char XRRQueryExtension ();
10369 main ()
10371 return XRRQueryExtension ();
10373 return 0;
10375 _ACEOF
10376 if ac_fn_c_try_link "$LINENO"; then :
10377 case "$LIBEXT" in
10378 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10379 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'` ;;
10380 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10381 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10382 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10383 fi ;;
10384 esac
10386 rm -f core conftest.err conftest.$ac_objext \
10387 conftest$ac_exeext conftest.$ac_ext
10388 LIBS=$ac_check_soname_save_LIBS
10390 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10392 $as_echo "not found" >&6; }
10394 else
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10396 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10398 cat >>confdefs.h <<_ACEOF
10399 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10400 _ACEOF
10402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10403 /* end confdefs.h. */
10404 #include <X11/Xlib.h>
10405 #include <X11/extensions/Xrandr.h>
10407 main ()
10409 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10411 return 0;
10413 _ACEOF
10414 if ac_fn_c_try_compile "$LINENO"; then :
10416 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10424 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10425 case "x$with_xrandr" in
10426 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10427 xno) ;;
10428 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10429 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10430 esac
10434 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10435 then
10436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10437 /* end confdefs.h. */
10438 #include <X11/Xlib.h>
10439 #include <X11/extensions/Xinerama.h>
10441 main ()
10443 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10445 return 0;
10447 _ACEOF
10448 if ac_fn_c_try_compile "$LINENO"; then :
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10450 $as_echo_n "checking for -lXinerama... " >&6; }
10451 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10452 $as_echo_n "(cached) " >&6
10453 else
10454 ac_check_soname_save_LIBS=$LIBS
10455 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10459 /* Override any GCC internal prototype to avoid an error.
10460 Use char because int might match the return type of a GCC
10461 builtin and then its argument prototype would still apply. */
10462 #ifdef __cplusplus
10463 extern "C"
10464 #endif
10465 char XineramaQueryScreens ();
10467 main ()
10469 return XineramaQueryScreens ();
10471 return 0;
10473 _ACEOF
10474 if ac_fn_c_try_link "$LINENO"; then :
10475 case "$LIBEXT" in
10476 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10477 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'` ;;
10478 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10479 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10480 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10481 fi ;;
10482 esac
10484 rm -f core conftest.err conftest.$ac_objext \
10485 conftest$ac_exeext conftest.$ac_ext
10486 LIBS=$ac_check_soname_save_LIBS
10488 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10490 $as_echo "not found" >&6; }
10492 else
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10494 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10496 cat >>confdefs.h <<_ACEOF
10497 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10498 _ACEOF
10503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10505 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10506 case "x$with_xinerama" in
10507 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10508 xno) ;;
10509 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10510 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10511 esac
10515 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10516 then
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10518 $as_echo_n "checking for -lXcomposite... " >&6; }
10519 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10520 $as_echo_n "(cached) " >&6
10521 else
10522 ac_check_soname_save_LIBS=$LIBS
10523 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10525 /* end confdefs.h. */
10527 /* Override any GCC internal prototype to avoid an error.
10528 Use char because int might match the return type of a GCC
10529 builtin and then its argument prototype would still apply. */
10530 #ifdef __cplusplus
10531 extern "C"
10532 #endif
10533 char XCompositeRedirectWindow ();
10535 main ()
10537 return XCompositeRedirectWindow ();
10539 return 0;
10541 _ACEOF
10542 if ac_fn_c_try_link "$LINENO"; then :
10543 case "$LIBEXT" in
10544 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10545 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'` ;;
10546 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10547 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10548 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10549 fi ;;
10550 esac
10552 rm -f core conftest.err conftest.$ac_objext \
10553 conftest$ac_exeext conftest.$ac_ext
10554 LIBS=$ac_check_soname_save_LIBS
10556 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10558 $as_echo "not found" >&6; }
10560 else
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10562 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10564 cat >>confdefs.h <<_ACEOF
10565 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10566 _ACEOF
10571 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10572 case "x$with_xcomposite" in
10573 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10574 xno) ;;
10575 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10576 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10577 esac
10581 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10582 #include <X11/Xlib.h>
10583 #endif
10585 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10587 cat >>confdefs.h <<_ACEOF
10588 #define HAVE_XICCALLBACK_CALLBACK 1
10589 _ACEOF
10593 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10594 #include <X11/Xlib.h>
10595 #endif
10597 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10599 cat >>confdefs.h <<_ACEOF
10600 #define HAVE_XEVENT_XCOOKIE 1
10601 _ACEOF
10608 opengl_msg=""
10609 if test "x$with_opengl" != "xno"
10610 then
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10612 $as_echo_n "checking for -lGL... " >&6; }
10613 if ${ac_cv_lib_soname_GL+:} false; then :
10614 $as_echo_n "(cached) " >&6
10615 else
10616 ac_check_soname_save_LIBS=$LIBS
10617 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10619 /* end confdefs.h. */
10621 /* Override any GCC internal prototype to avoid an error.
10622 Use char because int might match the return type of a GCC
10623 builtin and then its argument prototype would still apply. */
10624 #ifdef __cplusplus
10625 extern "C"
10626 #endif
10627 char glXCreateContext ();
10629 main ()
10631 return glXCreateContext ();
10633 return 0;
10635 _ACEOF
10636 if ac_fn_c_try_link "$LINENO"; then :
10637 case "$LIBEXT" in
10638 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10639 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'` ;;
10640 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10641 if ${ac_cv_lib_soname_GL:+false} :; then :
10642 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10643 fi ;;
10644 esac
10646 rm -f core conftest.err conftest.$ac_objext \
10647 conftest$ac_exeext conftest.$ac_ext
10648 LIBS=$ac_check_soname_save_LIBS
10650 if ${ac_cv_lib_soname_GL:+false} :; then :
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10652 $as_echo "not found" >&6; }
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10654 $as_echo_n "checking for -lGL... " >&6; }
10655 if ${ac_cv_lib_soname_GL+:} false; then :
10656 $as_echo_n "(cached) " >&6
10657 else
10658 ac_check_soname_save_LIBS=$LIBS
10659 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"
10660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10663 /* Override any GCC internal prototype to avoid an error.
10664 Use char because int might match the return type of a GCC
10665 builtin and then its argument prototype would still apply. */
10666 #ifdef __cplusplus
10667 extern "C"
10668 #endif
10669 char glXCreateContext ();
10671 main ()
10673 return glXCreateContext ();
10675 return 0;
10677 _ACEOF
10678 if ac_fn_c_try_link "$LINENO"; then :
10679 case "$LIBEXT" in
10680 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10681 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'` ;;
10682 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10683 if ${ac_cv_lib_soname_GL:+false} :; then :
10684 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10685 fi ;;
10686 esac
10688 rm -f core conftest.err conftest.$ac_objext \
10689 conftest$ac_exeext conftest.$ac_ext
10690 LIBS=$ac_check_soname_save_LIBS
10692 if ${ac_cv_lib_soname_GL:+false} :; then :
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10694 $as_echo "not found" >&6; }
10695 if test -f /usr/X11R6/lib/libGL.a
10696 then
10697 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10698 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10699 else
10700 opengl_msg="No OpenGL library found on this system."
10702 else
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10704 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10706 cat >>confdefs.h <<_ACEOF
10707 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10708 _ACEOF
10710 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"
10712 else
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10714 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10716 cat >>confdefs.h <<_ACEOF
10717 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10718 _ACEOF
10720 OPENGL_LIBS="-lGL"
10722 if test "x$with_glu" != "xno"
10723 then
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10725 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10726 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10727 $as_echo_n "(cached) " >&6
10728 else
10729 ac_check_lib_save_LIBS=$LIBS
10730 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10732 /* end confdefs.h. */
10734 /* Override any GCC internal prototype to avoid an error.
10735 Use char because int might match the return type of a GCC
10736 builtin and then its argument prototype would still apply. */
10737 #ifdef __cplusplus
10738 extern "C"
10739 #endif
10740 char gluLookAt ();
10742 main ()
10744 return gluLookAt ();
10746 return 0;
10748 _ACEOF
10749 if ac_fn_c_try_link "$LINENO"; then :
10750 ac_cv_lib_GLU_gluLookAt=yes
10751 else
10752 ac_cv_lib_GLU_gluLookAt=no
10754 rm -f core conftest.err conftest.$ac_objext \
10755 conftest$ac_exeext conftest.$ac_ext
10756 LIBS=$ac_check_lib_save_LIBS
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10759 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10760 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10764 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10765 case "x$with_glu" in
10766 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10767 xno) ;;
10768 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10769 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10770 esac
10775 if test "x$with_osmesa" != "xno"
10776 then
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10778 $as_echo_n "checking for -lOSMesa... " >&6; }
10779 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10780 $as_echo_n "(cached) " >&6
10781 else
10782 ac_check_soname_save_LIBS=$LIBS
10783 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10785 /* end confdefs.h. */
10787 /* Override any GCC internal prototype to avoid an error.
10788 Use char because int might match the return type of a GCC
10789 builtin and then its argument prototype would still apply. */
10790 #ifdef __cplusplus
10791 extern "C"
10792 #endif
10793 char glAccum ();
10795 main ()
10797 return glAccum ();
10799 return 0;
10801 _ACEOF
10802 if ac_fn_c_try_link "$LINENO"; then :
10803 case "$LIBEXT" in
10804 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10805 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'` ;;
10806 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10807 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10808 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10809 fi ;;
10810 esac
10812 rm -f core conftest.err conftest.$ac_objext \
10813 conftest$ac_exeext conftest.$ac_ext
10814 LIBS=$ac_check_soname_save_LIBS
10816 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10818 $as_echo "not found" >&6; }
10820 else
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10822 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10824 cat >>confdefs.h <<_ACEOF
10825 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10826 _ACEOF
10830 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10831 case "x$with_osmesa" in
10832 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10833 xno) ;;
10834 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10835 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10836 esac
10841 if test -n "$opengl_msg"; then :
10842 case "x$with_opengl" in
10843 x) as_fn_append wine_warnings "|$opengl_msg
10844 OpenGL and Direct3D won't be supported." ;;
10845 xno) ;;
10846 *) as_fn_error $? "$opengl_msg
10847 OpenGL and Direct3D won't be supported.
10848 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10849 esac
10853 CPPFLAGS="$ac_save_CPPFLAGS"
10854 else
10855 X_CFLAGS=""
10856 X_LIBS=""
10858 if test "x$X_LIBS" = "x"; then :
10859 case "x$with_x" in
10860 xno) ;;
10861 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10862 without X support, which probably isn't what you want. You will need
10863 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10864 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10865 esac
10866 enable_winex11_drv=${enable_winex11_drv:-no}
10869 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10871 if test "$ac_cv_header_CL_cl_h" = "yes"
10872 then
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10874 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10875 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10876 $as_echo_n "(cached) " >&6
10877 else
10878 ac_check_lib_save_LIBS=$LIBS
10879 LIBS="-lOpenCL $LIBS"
10880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10881 /* end confdefs.h. */
10883 /* Override any GCC internal prototype to avoid an error.
10884 Use char because int might match the return type of a GCC
10885 builtin and then its argument prototype would still apply. */
10886 #ifdef __cplusplus
10887 extern "C"
10888 #endif
10889 char clGetPlatformInfo ();
10891 main ()
10893 return clGetPlatformInfo ();
10895 return 0;
10897 _ACEOF
10898 if ac_fn_c_try_link "$LINENO"; then :
10899 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10900 else
10901 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10903 rm -f core conftest.err conftest.$ac_objext \
10904 conftest$ac_exeext conftest.$ac_ext
10905 LIBS=$ac_check_lib_save_LIBS
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10908 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10909 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10910 OPENCL_LIBS="-lOpenCL"
10915 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10916 case "x$with_opencl" in
10917 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10918 xno) ;;
10919 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10920 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10921 esac
10922 enable_opencl=${enable_opencl:-no}
10925 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10926 then
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10928 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10929 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10930 $as_echo_n "(cached) " >&6
10931 else
10932 ac_check_lib_save_LIBS=$LIBS
10933 LIBS="-lpcap $LIBS"
10934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10937 /* Override any GCC internal prototype to avoid an error.
10938 Use char because int might match the return type of a GCC
10939 builtin and then its argument prototype would still apply. */
10940 #ifdef __cplusplus
10941 extern "C"
10942 #endif
10943 char pcap_create ();
10945 main ()
10947 return pcap_create ();
10949 return 0;
10951 _ACEOF
10952 if ac_fn_c_try_link "$LINENO"; then :
10953 ac_cv_lib_pcap_pcap_create=yes
10954 else
10955 ac_cv_lib_pcap_pcap_create=no
10957 rm -f core conftest.err conftest.$ac_objext \
10958 conftest$ac_exeext conftest.$ac_ext
10959 LIBS=$ac_check_lib_save_LIBS
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10962 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10963 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10964 PCAP_LIBS="-lpcap"
10969 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10970 case "x$with_pcap" in
10971 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10972 xno) ;;
10973 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10974 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10975 esac
10976 enable_wpcap=${enable_wpcap:-no}
10980 if test "x$with_xml" != "xno"
10981 then
10982 if ${XML2_CFLAGS:+false} :; then :
10983 if ${PKG_CONFIG+:} false; then :
10984 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10987 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10988 if ${XML2_LIBS:+false} :; then :
10989 if ${PKG_CONFIG+:} false; then :
10990 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10993 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10994 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10995 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10996 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10997 ac_save_CPPFLAGS=$CPPFLAGS
10998 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10999 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11000 do :
11001 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11002 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11003 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11004 cat >>confdefs.h <<_ACEOF
11005 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11006 _ACEOF
11010 done
11012 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"
11013 then
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11015 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11016 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11017 $as_echo_n "(cached) " >&6
11018 else
11019 ac_check_lib_save_LIBS=$LIBS
11020 LIBS="-lxml2 $XML2_LIBS $LIBS"
11021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11022 /* end confdefs.h. */
11024 /* Override any GCC internal prototype to avoid an error.
11025 Use char because int might match the return type of a GCC
11026 builtin and then its argument prototype would still apply. */
11027 #ifdef __cplusplus
11028 extern "C"
11029 #endif
11030 char xmlParseMemory ();
11032 main ()
11034 return xmlParseMemory ();
11036 return 0;
11038 _ACEOF
11039 if ac_fn_c_try_link "$LINENO"; then :
11040 ac_cv_lib_xml2_xmlParseMemory=yes
11041 else
11042 ac_cv_lib_xml2_xmlParseMemory=no
11044 rm -f core conftest.err conftest.$ac_objext \
11045 conftest$ac_exeext conftest.$ac_ext
11046 LIBS=$ac_check_lib_save_LIBS
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11049 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11050 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11052 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11054 else
11055 XML2_LIBS=""
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11059 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11060 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11061 $as_echo_n "(cached) " >&6
11062 else
11063 ac_check_lib_save_LIBS=$LIBS
11064 LIBS="-lxml2 $XML2_LIBS $LIBS"
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11068 /* Override any GCC internal prototype to avoid an error.
11069 Use char because int might match the return type of a GCC
11070 builtin and then its argument prototype would still apply. */
11071 #ifdef __cplusplus
11072 extern "C"
11073 #endif
11074 char xmlReadMemory ();
11076 main ()
11078 return xmlReadMemory ();
11080 return 0;
11082 _ACEOF
11083 if ac_fn_c_try_link "$LINENO"; then :
11084 ac_cv_lib_xml2_xmlReadMemory=yes
11085 else
11086 ac_cv_lib_xml2_xmlReadMemory=no
11088 rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 LIBS=$ac_check_lib_save_LIBS
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11093 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11094 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11096 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11101 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11102 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11103 $as_echo_n "(cached) " >&6
11104 else
11105 ac_check_lib_save_LIBS=$LIBS
11106 LIBS="-lxml2 $XML2_LIBS $LIBS"
11107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11108 /* end confdefs.h. */
11110 /* Override any GCC internal prototype to avoid an error.
11111 Use char because int might match the return type of a GCC
11112 builtin and then its argument prototype would still apply. */
11113 #ifdef __cplusplus
11114 extern "C"
11115 #endif
11116 char xmlNewDocPI ();
11118 main ()
11120 return xmlNewDocPI ();
11122 return 0;
11124 _ACEOF
11125 if ac_fn_c_try_link "$LINENO"; then :
11126 ac_cv_lib_xml2_xmlNewDocPI=yes
11127 else
11128 ac_cv_lib_xml2_xmlNewDocPI=no
11130 rm -f core conftest.err conftest.$ac_objext \
11131 conftest$ac_exeext conftest.$ac_ext
11132 LIBS=$ac_check_lib_save_LIBS
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11135 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11136 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11138 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11143 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11144 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11145 $as_echo_n "(cached) " >&6
11146 else
11147 ac_check_lib_save_LIBS=$LIBS
11148 LIBS="-lxml2 $XML2_LIBS $LIBS"
11149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h. */
11152 /* Override any GCC internal prototype to avoid an error.
11153 Use char because int might match the return type of a GCC
11154 builtin and then its argument prototype would still apply. */
11155 #ifdef __cplusplus
11156 extern "C"
11157 #endif
11158 char xmlSchemaSetParserStructuredErrors ();
11160 main ()
11162 return xmlSchemaSetParserStructuredErrors ();
11164 return 0;
11166 _ACEOF
11167 if ac_fn_c_try_link "$LINENO"; then :
11168 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11169 else
11170 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11172 rm -f core conftest.err conftest.$ac_objext \
11173 conftest$ac_exeext conftest.$ac_ext
11174 LIBS=$ac_check_lib_save_LIBS
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11177 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11178 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11180 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11185 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11186 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11187 $as_echo_n "(cached) " >&6
11188 else
11189 ac_check_lib_save_LIBS=$LIBS
11190 LIBS="-lxml2 $XML2_LIBS $LIBS"
11191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11194 /* Override any GCC internal prototype to avoid an error.
11195 Use char because int might match the return type of a GCC
11196 builtin and then its argument prototype would still apply. */
11197 #ifdef __cplusplus
11198 extern "C"
11199 #endif
11200 char xmlSchemaSetValidStructuredErrors ();
11202 main ()
11204 return xmlSchemaSetValidStructuredErrors ();
11206 return 0;
11208 _ACEOF
11209 if ac_fn_c_try_link "$LINENO"; then :
11210 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11211 else
11212 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11214 rm -f core conftest.err conftest.$ac_objext \
11215 conftest$ac_exeext conftest.$ac_ext
11216 LIBS=$ac_check_lib_save_LIBS
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11219 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11220 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11222 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11227 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11228 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11229 $as_echo_n "(cached) " >&6
11230 else
11231 ac_check_lib_save_LIBS=$LIBS
11232 LIBS="-lxml2 $XML2_LIBS $LIBS"
11233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11236 /* Override any GCC internal prototype to avoid an error.
11237 Use char because int might match the return type of a GCC
11238 builtin and then its argument prototype would still apply. */
11239 #ifdef __cplusplus
11240 extern "C"
11241 #endif
11242 char xmlFirstElementChild ();
11244 main ()
11246 return xmlFirstElementChild ();
11248 return 0;
11250 _ACEOF
11251 if ac_fn_c_try_link "$LINENO"; then :
11252 ac_cv_lib_xml2_xmlFirstElementChild=yes
11253 else
11254 ac_cv_lib_xml2_xmlFirstElementChild=no
11256 rm -f core conftest.err conftest.$ac_objext \
11257 conftest$ac_exeext conftest.$ac_ext
11258 LIBS=$ac_check_lib_save_LIBS
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11261 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11262 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11264 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11268 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11270 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11272 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11276 else
11277 XML2_CFLAGS=""
11278 XML2_LIBS=""
11280 CPPFLAGS=$ac_save_CPPFLAGS
11281 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11282 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11285 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11286 case "x$with_xml" in
11287 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11288 xno) ;;
11289 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11290 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11291 esac
11295 if test "x$with_xslt" != "xno"
11296 then
11297 if ${XSLT_CFLAGS:+false} :; then :
11298 if ${PKG_CONFIG+:} false; then :
11299 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11302 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11303 if ${XSLT_LIBS:+false} :; then :
11304 if ${PKG_CONFIG+:} false; then :
11305 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11308 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11309 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11310 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11311 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11312 ac_save_CPPFLAGS=$CPPFLAGS
11313 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11314 for ac_header in libxslt/pattern.h libxslt/transform.h
11315 do :
11316 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11317 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11318 # include <libxslt/pattern.h>
11319 #endif
11321 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11322 cat >>confdefs.h <<_ACEOF
11323 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11324 _ACEOF
11328 done
11330 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11331 then
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11333 $as_echo_n "checking for -lxslt... " >&6; }
11334 if ${ac_cv_lib_soname_xslt+:} false; then :
11335 $as_echo_n "(cached) " >&6
11336 else
11337 ac_check_soname_save_LIBS=$LIBS
11338 LIBS="-lxslt $XSLT_LIBS $LIBS"
11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h. */
11342 /* Override any GCC internal prototype to avoid an error.
11343 Use char because int might match the return type of a GCC
11344 builtin and then its argument prototype would still apply. */
11345 #ifdef __cplusplus
11346 extern "C"
11347 #endif
11348 char xsltCompilePattern ();
11350 main ()
11352 return xsltCompilePattern ();
11354 return 0;
11356 _ACEOF
11357 if ac_fn_c_try_link "$LINENO"; then :
11358 case "$LIBEXT" in
11359 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11360 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'` ;;
11361 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11362 if ${ac_cv_lib_soname_xslt:+false} :; then :
11363 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11364 fi ;;
11365 esac
11367 rm -f core conftest.err conftest.$ac_objext \
11368 conftest$ac_exeext conftest.$ac_ext
11369 LIBS=$ac_check_soname_save_LIBS
11371 if ${ac_cv_lib_soname_xslt:+false} :; then :
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11373 $as_echo "not found" >&6; }
11375 else
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11377 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11379 cat >>confdefs.h <<_ACEOF
11380 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11381 _ACEOF
11385 else
11386 XSLT_CFLAGS=""
11388 CPPFLAGS=$ac_save_CPPFLAGS
11389 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11390 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11393 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11394 case "x$with_xslt" in
11395 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11396 xno) ;;
11397 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11398 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11399 esac
11403 if test "x$with_dbus" != "xno"
11404 then
11405 if ${DBUS_CFLAGS:+false} :; then :
11406 if ${PKG_CONFIG+:} false; then :
11407 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11411 if ${DBUS_LIBS:+false} :; then :
11412 if ${PKG_CONFIG+:} false; then :
11413 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11418 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11419 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11420 ac_save_CPPFLAGS=$CPPFLAGS
11421 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11422 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11423 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11425 $as_echo_n "checking for -ldbus-1... " >&6; }
11426 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11427 $as_echo_n "(cached) " >&6
11428 else
11429 ac_check_soname_save_LIBS=$LIBS
11430 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11432 /* end confdefs.h. */
11434 /* Override any GCC internal prototype to avoid an error.
11435 Use char because int might match the return type of a GCC
11436 builtin and then its argument prototype would still apply. */
11437 #ifdef __cplusplus
11438 extern "C"
11439 #endif
11440 char dbus_connection_close ();
11442 main ()
11444 return dbus_connection_close ();
11446 return 0;
11448 _ACEOF
11449 if ac_fn_c_try_link "$LINENO"; then :
11450 case "$LIBEXT" in
11451 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11452 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'` ;;
11453 *) 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'`
11454 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11455 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11456 fi ;;
11457 esac
11459 rm -f core conftest.err conftest.$ac_objext \
11460 conftest$ac_exeext conftest.$ac_ext
11461 LIBS=$ac_check_soname_save_LIBS
11463 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11465 $as_echo "not found" >&6; }
11466 DBUS_CFLAGS=""
11467 else
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11469 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11471 cat >>confdefs.h <<_ACEOF
11472 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11473 _ACEOF
11477 else
11478 DBUS_CFLAGS=""
11482 CPPFLAGS=$ac_save_CPPFLAGS
11483 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11484 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11487 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11488 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11489 case "x$with_dbus" in
11490 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11491 xno) ;;
11492 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11493 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11494 esac
11498 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11499 then
11500 if ${HAL_CFLAGS:+false} :; then :
11501 if ${PKG_CONFIG+:} false; then :
11502 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11506 if ${HAL_LIBS:+false} :; then :
11507 if ${PKG_CONFIG+:} false; then :
11508 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11512 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11513 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11514 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11515 ac_save_CPPFLAGS=$CPPFLAGS
11516 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11517 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11518 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11520 $as_echo_n "checking for -lhal... " >&6; }
11521 if ${ac_cv_lib_soname_hal+:} false; then :
11522 $as_echo_n "(cached) " >&6
11523 else
11524 ac_check_soname_save_LIBS=$LIBS
11525 LIBS="-lhal $HAL_LIBS $LIBS"
11526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11527 /* end confdefs.h. */
11529 /* Override any GCC internal prototype to avoid an error.
11530 Use char because int might match the return type of a GCC
11531 builtin and then its argument prototype would still apply. */
11532 #ifdef __cplusplus
11533 extern "C"
11534 #endif
11535 char libhal_ctx_new ();
11537 main ()
11539 return libhal_ctx_new ();
11541 return 0;
11543 _ACEOF
11544 if ac_fn_c_try_link "$LINENO"; then :
11545 case "$LIBEXT" in
11546 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11547 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'` ;;
11548 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11549 if ${ac_cv_lib_soname_hal:+false} :; then :
11550 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11551 fi ;;
11552 esac
11554 rm -f core conftest.err conftest.$ac_objext \
11555 conftest$ac_exeext conftest.$ac_ext
11556 LIBS=$ac_check_soname_save_LIBS
11558 if ${ac_cv_lib_soname_hal:+false} :; then :
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11560 $as_echo "not found" >&6; }
11561 HAL_CFLAGS=""
11562 else
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11564 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11566 cat >>confdefs.h <<_ACEOF
11567 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11568 _ACEOF
11572 else
11573 HAL_CFLAGS=""
11577 CPPFLAGS=$ac_save_CPPFLAGS
11578 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11579 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11581 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11582 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11583 case "x$with_hal" in
11584 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11585 xno) ;;
11586 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11587 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11588 esac
11593 if test "x$with_gnutls" != "xno"
11594 then
11595 if ${GNUTLS_CFLAGS:+false} :; then :
11596 if ${PKG_CONFIG+:} false; then :
11597 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11601 if ${GNUTLS_LIBS:+false} :; then :
11602 if ${PKG_CONFIG+:} false; then :
11603 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11608 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11609 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11610 ac_save_CPPFLAGS=$CPPFLAGS
11611 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11612 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11613 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11615 /* end confdefs.h. */
11616 #include <gnutls/gnutls.h>
11617 #include <gnutls/crypto.h>
11619 main ()
11621 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11623 return 0;
11625 _ACEOF
11626 if ac_fn_c_try_compile "$LINENO"; then :
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11628 $as_echo_n "checking for -lgnutls... " >&6; }
11629 if ${ac_cv_lib_soname_gnutls+:} false; then :
11630 $as_echo_n "(cached) " >&6
11631 else
11632 ac_check_soname_save_LIBS=$LIBS
11633 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11635 /* end confdefs.h. */
11637 /* Override any GCC internal prototype to avoid an error.
11638 Use char because int might match the return type of a GCC
11639 builtin and then its argument prototype would still apply. */
11640 #ifdef __cplusplus
11641 extern "C"
11642 #endif
11643 char gnutls_global_init ();
11645 main ()
11647 return gnutls_global_init ();
11649 return 0;
11651 _ACEOF
11652 if ac_fn_c_try_link "$LINENO"; then :
11653 case "$LIBEXT" in
11654 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11655 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'` ;;
11656 *) 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'`
11657 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11658 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'`
11659 fi ;;
11660 esac
11662 rm -f core conftest.err conftest.$ac_objext \
11663 conftest$ac_exeext conftest.$ac_ext
11664 LIBS=$ac_check_soname_save_LIBS
11666 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11668 $as_echo "not found" >&6; }
11669 GNUTLS_CFLAGS=""
11670 else
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11672 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11674 cat >>confdefs.h <<_ACEOF
11675 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11676 _ACEOF
11680 ac_wine_check_funcs_save_LIBS="$LIBS"
11681 LIBS="$LIBS $GNUTLS_LIBS"
11682 for ac_func in gnutls_hash
11683 do :
11684 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11685 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11686 cat >>confdefs.h <<_ACEOF
11687 #define HAVE_GNUTLS_HASH 1
11688 _ACEOF
11690 else
11691 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11693 done
11695 LIBS="$ac_wine_check_funcs_save_LIBS"
11697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11698 else
11699 GNUTLS_CFLAGS=""
11703 CPPFLAGS=$ac_save_CPPFLAGS
11704 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11705 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11708 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11709 case "x$with_gnutls" in
11710 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11711 xno) ;;
11712 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11713 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11714 esac
11718 CURSES_LIBS=""
11719 if test "$ac_cv_header_ncurses_h" = "yes"
11720 then
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11722 $as_echo_n "checking for -lncurses... " >&6; }
11723 if ${ac_cv_lib_soname_ncurses+:} false; then :
11724 $as_echo_n "(cached) " >&6
11725 else
11726 ac_check_soname_save_LIBS=$LIBS
11727 LIBS="-lncurses $LIBS"
11728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11729 /* end confdefs.h. */
11731 /* Override any GCC internal prototype to avoid an error.
11732 Use char because int might match the return type of a GCC
11733 builtin and then its argument prototype would still apply. */
11734 #ifdef __cplusplus
11735 extern "C"
11736 #endif
11737 char waddch ();
11739 main ()
11741 return waddch ();
11743 return 0;
11745 _ACEOF
11746 if ac_fn_c_try_link "$LINENO"; then :
11747 case "$LIBEXT" in
11748 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11749 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'` ;;
11750 *) 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'`
11751 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11752 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11753 fi ;;
11754 esac
11756 rm -f core conftest.err conftest.$ac_objext \
11757 conftest$ac_exeext conftest.$ac_ext
11758 LIBS=$ac_check_soname_save_LIBS
11760 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11762 $as_echo "not found" >&6; }
11764 else
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11766 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11768 cat >>confdefs.h <<_ACEOF
11769 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11770 _ACEOF
11772 CURSES_LIBS="-lncurses"
11774 elif test "$ac_cv_header_curses_h" = "yes"
11775 then
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11777 $as_echo_n "checking for -lcurses... " >&6; }
11778 if ${ac_cv_lib_soname_curses+:} false; then :
11779 $as_echo_n "(cached) " >&6
11780 else
11781 ac_check_soname_save_LIBS=$LIBS
11782 LIBS="-lcurses $LIBS"
11783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11784 /* end confdefs.h. */
11786 /* Override any GCC internal prototype to avoid an error.
11787 Use char because int might match the return type of a GCC
11788 builtin and then its argument prototype would still apply. */
11789 #ifdef __cplusplus
11790 extern "C"
11791 #endif
11792 char waddch ();
11794 main ()
11796 return waddch ();
11798 return 0;
11800 _ACEOF
11801 if ac_fn_c_try_link "$LINENO"; then :
11802 case "$LIBEXT" in
11803 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11804 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'` ;;
11805 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11806 if ${ac_cv_lib_soname_curses:+false} :; then :
11807 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11808 fi ;;
11809 esac
11811 rm -f core conftest.err conftest.$ac_objext \
11812 conftest$ac_exeext conftest.$ac_ext
11813 LIBS=$ac_check_soname_save_LIBS
11815 if ${ac_cv_lib_soname_curses:+false} :; then :
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11817 $as_echo "not found" >&6; }
11819 else
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11821 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11823 cat >>confdefs.h <<_ACEOF
11824 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11825 _ACEOF
11827 CURSES_LIBS="-lcurses"
11830 ac_save_LIBS="$LIBS"
11831 LIBS="$LIBS $CURSES_LIBS"
11832 for ac_func in mousemask
11833 do :
11834 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11835 if test "x$ac_cv_func_mousemask" = xyes; then :
11836 cat >>confdefs.h <<_ACEOF
11837 #define HAVE_MOUSEMASK 1
11838 _ACEOF
11841 done
11843 LIBS="$ac_save_LIBS"
11844 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11845 case "x$with_curses" in
11846 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11847 xno) ;;
11848 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11849 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11850 esac
11854 if test "x$with_sane" != "xno"
11855 then
11856 if ${SANE_CFLAGS:+false} :; then :
11857 if ${PKG_CONFIG+:} false; then :
11858 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11861 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11862 if ${SANE_LIBS:+false} :; then :
11863 if ${PKG_CONFIG+:} false; then :
11864 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11867 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11869 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11870 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11871 ac_save_CPPFLAGS=$CPPFLAGS
11872 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11873 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11874 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11876 $as_echo_n "checking for -lsane... " >&6; }
11877 if ${ac_cv_lib_soname_sane+:} false; then :
11878 $as_echo_n "(cached) " >&6
11879 else
11880 ac_check_soname_save_LIBS=$LIBS
11881 LIBS="-lsane $SANE_LIBS $LIBS"
11882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11883 /* end confdefs.h. */
11885 /* Override any GCC internal prototype to avoid an error.
11886 Use char because int might match the return type of a GCC
11887 builtin and then its argument prototype would still apply. */
11888 #ifdef __cplusplus
11889 extern "C"
11890 #endif
11891 char sane_init ();
11893 main ()
11895 return sane_init ();
11897 return 0;
11899 _ACEOF
11900 if ac_fn_c_try_link "$LINENO"; then :
11901 case "$LIBEXT" in
11902 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11903 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'` ;;
11904 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11905 if ${ac_cv_lib_soname_sane:+false} :; then :
11906 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11907 fi ;;
11908 esac
11910 rm -f core conftest.err conftest.$ac_objext \
11911 conftest$ac_exeext conftest.$ac_ext
11912 LIBS=$ac_check_soname_save_LIBS
11914 if ${ac_cv_lib_soname_sane:+false} :; then :
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11916 $as_echo "not found" >&6; }
11917 SANE_CFLAGS=""
11918 else
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11920 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11922 cat >>confdefs.h <<_ACEOF
11923 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11924 _ACEOF
11928 else
11929 SANE_CFLAGS=""
11933 CPPFLAGS=$ac_save_CPPFLAGS
11934 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11935 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11938 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11939 case "x$with_sane" in
11940 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11941 xno) ;;
11942 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11943 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11944 esac
11948 if test "x$with_v4l" != "xno"
11949 then
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11951 $as_echo_n "checking for -lv4l1... " >&6; }
11952 if ${ac_cv_lib_soname_v4l1+:} false; then :
11953 $as_echo_n "(cached) " >&6
11954 else
11955 ac_check_soname_save_LIBS=$LIBS
11956 LIBS="-lv4l1 $LIBS"
11957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11958 /* end confdefs.h. */
11960 /* Override any GCC internal prototype to avoid an error.
11961 Use char because int might match the return type of a GCC
11962 builtin and then its argument prototype would still apply. */
11963 #ifdef __cplusplus
11964 extern "C"
11965 #endif
11966 char v4l1_open ();
11968 main ()
11970 return v4l1_open ();
11972 return 0;
11974 _ACEOF
11975 if ac_fn_c_try_link "$LINENO"; then :
11976 case "$LIBEXT" in
11977 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11978 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'` ;;
11979 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11980 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11981 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11982 fi ;;
11983 esac
11985 rm -f core conftest.err conftest.$ac_objext \
11986 conftest$ac_exeext conftest.$ac_ext
11987 LIBS=$ac_check_soname_save_LIBS
11989 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11991 $as_echo "not found" >&6; }
11993 else
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11995 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11997 cat >>confdefs.h <<_ACEOF
11998 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11999 _ACEOF
12004 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12005 case "x$with_v4l" in
12006 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12007 xno) ;;
12008 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12009 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12010 esac
12014 if test "x$with_gphoto" != "xno"
12015 then
12016 if ${GPHOTO2_CFLAGS:+false} :; then :
12017 if ${PKG_CONFIG+:} false; then :
12018 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12021 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12022 if ${GPHOTO2_LIBS:+false} :; then :
12023 if ${PKG_CONFIG+:} false; then :
12024 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12027 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12028 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12029 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12030 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12031 ac_save_CPPFLAGS=$CPPFLAGS
12032 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12033 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12034 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12036 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12037 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12038 $as_echo_n "(cached) " >&6
12039 else
12040 ac_check_lib_save_LIBS=$LIBS
12041 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12043 /* end confdefs.h. */
12045 /* Override any GCC internal prototype to avoid an error.
12046 Use char because int might match the return type of a GCC
12047 builtin and then its argument prototype would still apply. */
12048 #ifdef __cplusplus
12049 extern "C"
12050 #endif
12051 char gp_camera_new ();
12053 main ()
12055 return gp_camera_new ();
12057 return 0;
12059 _ACEOF
12060 if ac_fn_c_try_link "$LINENO"; then :
12061 ac_cv_lib_gphoto2_gp_camera_new=yes
12062 else
12063 ac_cv_lib_gphoto2_gp_camera_new=no
12065 rm -f core conftest.err conftest.$ac_objext \
12066 conftest$ac_exeext conftest.$ac_ext
12067 LIBS=$ac_check_lib_save_LIBS
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12070 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12071 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12073 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12075 else
12076 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12079 else
12080 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12084 CPPFLAGS=$ac_save_CPPFLAGS
12085 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12086 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12088 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12089 if ${PKG_CONFIG+:} false; then :
12090 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12093 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12094 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12095 if ${PKG_CONFIG+:} false; then :
12096 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12099 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12100 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12101 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12102 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12103 ac_save_CPPFLAGS=$CPPFLAGS
12104 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12105 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12106 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12108 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12109 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12110 $as_echo_n "(cached) " >&6
12111 else
12112 ac_check_lib_save_LIBS=$LIBS
12113 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12115 /* end confdefs.h. */
12117 /* Override any GCC internal prototype to avoid an error.
12118 Use char because int might match the return type of a GCC
12119 builtin and then its argument prototype would still apply. */
12120 #ifdef __cplusplus
12121 extern "C"
12122 #endif
12123 char gp_port_info_list_new ();
12125 main ()
12127 return gp_port_info_list_new ();
12129 return 0;
12131 _ACEOF
12132 if ac_fn_c_try_link "$LINENO"; then :
12133 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12134 else
12135 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12137 rm -f core conftest.err conftest.$ac_objext \
12138 conftest$ac_exeext conftest.$ac_ext
12139 LIBS=$ac_check_lib_save_LIBS
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12142 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12143 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12145 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12147 else
12148 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12151 else
12152 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12156 CPPFLAGS=$ac_save_CPPFLAGS
12157 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12158 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12161 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12162 case "x$with_gphoto" in
12163 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12164 xno) ;;
12165 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12166 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12167 esac
12170 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12171 case "x$with_gphoto" in
12172 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12173 xno) ;;
12174 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12175 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12176 esac
12181 if test "$ac_cv_header_resolv_h" = "yes"
12182 then
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12184 $as_echo_n "checking for resolver library... " >&6; }
12185 if ${ac_cv_have_resolv+:} false; then :
12186 $as_echo_n "(cached) " >&6
12187 else
12188 ac_save_LIBS="$LIBS"
12189 for lib in '' -lresolv
12191 LIBS="$lib $ac_save_LIBS"
12192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12194 #ifdef HAVE_NETINET_IN_H
12195 #include <netinet/in.h>
12196 #endif
12197 #include <resolv.h>
12199 main ()
12201 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12203 return 0;
12205 _ACEOF
12206 if ac_fn_c_try_link "$LINENO"; then :
12207 ac_cv_have_resolv=${lib:-"none required"}
12208 else
12209 ac_cv_have_resolv="not found"
12211 rm -f core conftest.err conftest.$ac_objext \
12212 conftest$ac_exeext conftest.$ac_ext
12213 test "x$ac_cv_have_resolv" = "xnot found" || break
12214 done
12215 LIBS="$ac_save_LIBS"
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12218 $as_echo "$ac_cv_have_resolv" >&6; }
12220 case "$ac_cv_have_resolv" in
12221 "not found") ;;
12222 "none required")
12224 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12227 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12229 RESOLV_LIBS=$ac_cv_have_resolv
12231 esac
12234 if test "x$with_cms" != "xno"
12235 then
12236 if ${LCMS2_CFLAGS:+false} :; then :
12237 if ${PKG_CONFIG+:} false; then :
12238 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12242 if ${LCMS2_LIBS:+false} :; then :
12243 if ${PKG_CONFIG+:} false; then :
12244 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12248 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12249 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12250 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12251 ac_save_CPPFLAGS=$CPPFLAGS
12252 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12253 for ac_header in lcms2.h
12254 do :
12255 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12256 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12257 cat >>confdefs.h <<_ACEOF
12258 #define HAVE_LCMS2_H 1
12259 _ACEOF
12263 done
12265 if test "$ac_cv_header_lcms2_h" = "yes"
12266 then
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12268 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12269 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12270 $as_echo_n "(cached) " >&6
12271 else
12272 ac_check_lib_save_LIBS=$LIBS
12273 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12275 /* end confdefs.h. */
12277 /* Override any GCC internal prototype to avoid an error.
12278 Use char because int might match the return type of a GCC
12279 builtin and then its argument prototype would still apply. */
12280 #ifdef __cplusplus
12281 extern "C"
12282 #endif
12283 char cmsOpenProfileFromFile ();
12285 main ()
12287 return cmsOpenProfileFromFile ();
12289 return 0;
12291 _ACEOF
12292 if ac_fn_c_try_link "$LINENO"; then :
12293 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12294 else
12295 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12297 rm -f core conftest.err conftest.$ac_objext \
12298 conftest$ac_exeext conftest.$ac_ext
12299 LIBS=$ac_check_lib_save_LIBS
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12302 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12303 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12305 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12307 else
12308 LCMS2_LIBS=""
12311 else
12312 LCMS2_CFLAGS=""
12313 LCMS2_LIBS=""
12315 CPPFLAGS=$ac_save_CPPFLAGS
12316 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12317 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12320 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12321 case "x$with_cms" in
12322 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12323 xno) ;;
12324 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12325 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12326 esac
12330 if test "x$with_freetype" != "xno"
12331 then
12332 if ${FREETYPE_CFLAGS:+false} :; then :
12333 if ${PKG_CONFIG+:} false; then :
12334 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12337 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12338 if ${FREETYPE_LIBS:+false} :; then :
12339 if ${PKG_CONFIG+:} false; then :
12340 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12343 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12344 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12345 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12346 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12347 ac_save_CPPFLAGS=$CPPFLAGS
12348 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12349 for ac_header in ft2build.h
12350 do :
12351 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12352 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12353 cat >>confdefs.h <<_ACEOF
12354 #define HAVE_FT2BUILD_H 1
12355 _ACEOF
12359 done
12361 if test "$ac_cv_header_ft2build_h" = "yes"
12362 then
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12364 $as_echo_n "checking for -lfreetype... " >&6; }
12365 if ${ac_cv_lib_soname_freetype+:} false; then :
12366 $as_echo_n "(cached) " >&6
12367 else
12368 ac_check_soname_save_LIBS=$LIBS
12369 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12371 /* end confdefs.h. */
12373 /* Override any GCC internal prototype to avoid an error.
12374 Use char because int might match the return type of a GCC
12375 builtin and then its argument prototype would still apply. */
12376 #ifdef __cplusplus
12377 extern "C"
12378 #endif
12379 char FT_Init_FreeType ();
12381 main ()
12383 return FT_Init_FreeType ();
12385 return 0;
12387 _ACEOF
12388 if ac_fn_c_try_link "$LINENO"; then :
12389 case "$LIBEXT" in
12390 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12391 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'` ;;
12392 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12393 if ${ac_cv_lib_soname_freetype:+false} :; then :
12394 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12395 fi ;;
12396 esac
12398 rm -f core conftest.err conftest.$ac_objext \
12399 conftest$ac_exeext conftest.$ac_ext
12400 LIBS=$ac_check_soname_save_LIBS
12402 if ${ac_cv_lib_soname_freetype:+false} :; then :
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12404 $as_echo "not found" >&6; }
12405 FREETYPE_LIBS=""
12406 else
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12408 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12410 cat >>confdefs.h <<_ACEOF
12411 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12412 _ACEOF
12415 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12417 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12418 #include FT_MODULE_H
12420 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12422 cat >>confdefs.h <<_ACEOF
12423 #define HAVE_FT_TRUETYPEENGINETYPE 1
12424 _ACEOF
12430 else
12431 FREETYPE_CFLAGS=""
12432 FREETYPE_LIBS=""
12434 CPPFLAGS=$ac_save_CPPFLAGS
12435 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12436 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12439 if test "x$ac_cv_lib_soname_freetype" = x; then :
12440 case "x$with_freetype" in
12441 xno) ;;
12442 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12443 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12444 esac
12445 enable_fonts=${enable_fonts:-no}
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12449 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12450 if ${ac_cv_c_ppdev+:} false; then :
12451 $as_echo_n "(cached) " >&6
12452 else
12453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12454 /* end confdefs.h. */
12455 #ifdef HAVE_SYS_IOCTL_H
12456 # include <sys/ioctl.h>
12457 #endif
12458 #include <linux/ppdev.h>
12460 main ()
12462 ioctl (1,PPCLAIM,0)
12464 return 0;
12466 _ACEOF
12467 if ac_fn_c_try_compile "$LINENO"; then :
12468 ac_cv_c_ppdev="yes"
12469 else
12470 ac_cv_c_ppdev="no"
12472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12475 $as_echo "$ac_cv_c_ppdev" >&6; }
12476 if test "$ac_cv_c_ppdev" = "yes"
12477 then
12479 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12483 ac_wine_check_funcs_save_LIBS="$LIBS"
12484 LIBS="$LIBS $PTHREAD_LIBS"
12485 for ac_func in \
12486 pthread_attr_get_np \
12487 pthread_getattr_np \
12488 pthread_getthreadid_np \
12489 pthread_get_stackaddr_np \
12490 pthread_get_stacksize_np
12491 do :
12492 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12493 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12494 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12495 cat >>confdefs.h <<_ACEOF
12496 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12497 _ACEOF
12500 done
12502 LIBS="$ac_wine_check_funcs_save_LIBS"
12504 if test "$ac_cv_header_zlib_h" = "yes"
12505 then
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12507 $as_echo_n "checking for inflate in -lz... " >&6; }
12508 if ${ac_cv_lib_z_inflate+:} false; then :
12509 $as_echo_n "(cached) " >&6
12510 else
12511 ac_check_lib_save_LIBS=$LIBS
12512 LIBS="-lz $LIBS"
12513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12514 /* end confdefs.h. */
12516 /* Override any GCC internal prototype to avoid an error.
12517 Use char because int might match the return type of a GCC
12518 builtin and then its argument prototype would still apply. */
12519 #ifdef __cplusplus
12520 extern "C"
12521 #endif
12522 char inflate ();
12524 main ()
12526 return inflate ();
12528 return 0;
12530 _ACEOF
12531 if ac_fn_c_try_link "$LINENO"; then :
12532 ac_cv_lib_z_inflate=yes
12533 else
12534 ac_cv_lib_z_inflate=no
12536 rm -f core conftest.err conftest.$ac_objext \
12537 conftest$ac_exeext conftest.$ac_ext
12538 LIBS=$ac_check_lib_save_LIBS
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12541 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12542 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12544 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12546 Z_LIBS="-lz"
12551 if test "x$Z_LIBS" = "x"; then :
12552 case "x$with_zlib" in
12553 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12554 xno) ;;
12555 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12556 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12557 esac
12561 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12562 then
12563 if test "$ac_cv_header_gettext_po_h" = "yes"
12564 then
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12566 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12567 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12568 $as_echo_n "(cached) " >&6
12569 else
12570 ac_check_lib_save_LIBS=$LIBS
12571 LIBS="-lgettextpo $LIBS"
12572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12575 /* Override any GCC internal prototype to avoid an error.
12576 Use char because int might match the return type of a GCC
12577 builtin and then its argument prototype would still apply. */
12578 #ifdef __cplusplus
12579 extern "C"
12580 #endif
12581 char po_message_msgctxt ();
12583 main ()
12585 return po_message_msgctxt ();
12587 return 0;
12589 _ACEOF
12590 if ac_fn_c_try_link "$LINENO"; then :
12591 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12592 else
12593 ac_cv_lib_gettextpo_po_message_msgctxt=no
12595 rm -f core conftest.err conftest.$ac_objext \
12596 conftest$ac_exeext conftest.$ac_ext
12597 LIBS=$ac_check_lib_save_LIBS
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12600 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12601 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12603 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12605 GETTEXTPO_LIBS="-lgettextpo"
12610 if test "x$GETTEXTPO_LIBS" = "x"; then :
12611 case "x$with_gettextpo" in
12612 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12613 xno) ;;
12614 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12615 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12616 esac
12619 if test "$srcdir" != .; then :
12620 case "x$with_gettextpo" in
12621 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12622 xno) ;;
12623 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12624 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12625 esac
12630 if test "x$with_pulse" != "xno";
12631 then
12632 if ${PULSE_CFLAGS:+false} :; then :
12633 if ${PKG_CONFIG+:} false; then :
12634 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12638 if ${PULSE_LIBS:+false} :; then :
12639 if ${PKG_CONFIG+:} false; then :
12640 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12645 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12646 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12647 ac_save_CPPFLAGS=$CPPFLAGS
12648 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12649 for ac_header in pulse/pulseaudio.h
12650 do :
12651 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12652 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12653 cat >>confdefs.h <<_ACEOF
12654 #define HAVE_PULSE_PULSEAUDIO_H 1
12655 _ACEOF
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12657 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12658 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12659 $as_echo_n "(cached) " >&6
12660 else
12661 ac_check_lib_save_LIBS=$LIBS
12662 LIBS="-lpulse $PULSE_LIBS $LIBS"
12663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12664 /* end confdefs.h. */
12666 /* Override any GCC internal prototype to avoid an error.
12667 Use char because int might match the return type of a GCC
12668 builtin and then its argument prototype would still apply. */
12669 #ifdef __cplusplus
12670 extern "C"
12671 #endif
12672 char pa_stream_is_corked ();
12674 main ()
12676 return pa_stream_is_corked ();
12678 return 0;
12680 _ACEOF
12681 if ac_fn_c_try_link "$LINENO"; then :
12682 ac_cv_lib_pulse_pa_stream_is_corked=yes
12683 else
12684 ac_cv_lib_pulse_pa_stream_is_corked=no
12686 rm -f core conftest.err conftest.$ac_objext \
12687 conftest$ac_exeext conftest.$ac_ext
12688 LIBS=$ac_check_lib_save_LIBS
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12691 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12692 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12694 else
12695 PULSE_LIBS=""
12698 else
12699 PULSE_LIBS=""
12702 done
12704 CPPFLAGS=$ac_save_CPPFLAGS
12705 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12706 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12709 if test -z "$PULSE_LIBS"; then :
12710 case "x$with_pulse" in
12711 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12712 xno) ;;
12713 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12714 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12715 esac
12716 enable_winepulse_drv=${enable_winepulse_drv:-no}
12719 if test "x$with_gstreamer" != "xno"
12720 then
12721 if ${GSTREAMER_CFLAGS:+false} :; then :
12722 if ${PKG_CONFIG+:} false; then :
12723 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12727 if ${GSTREAMER_LIBS:+false} :; then :
12728 if ${PKG_CONFIG+:} false; then :
12729 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12734 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12735 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12736 ac_save_CPPFLAGS=$CPPFLAGS
12737 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12738 ac_gst_incl=""
12739 for i in $GSTREAMER_CFLAGS
12741 case "$i" in
12742 -I*) ac_gst_incl="$ac_gst_incl $i";;
12743 esac
12744 done
12745 GSTREAMER_CFLAGS=$ac_gst_incl
12746 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12747 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12748 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12750 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12753 #include <gst/gst.h>
12755 main ()
12757 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12759 return 0;
12761 _ACEOF
12762 if ac_fn_c_try_compile "$LINENO"; then :
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12764 $as_echo "yes" >&6; }
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12766 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12767 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12768 $as_echo_n "(cached) " >&6
12769 else
12770 ac_check_lib_save_LIBS=$LIBS
12771 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12775 /* Override any GCC internal prototype to avoid an error.
12776 Use char because int might match the return type of a GCC
12777 builtin and then its argument prototype would still apply. */
12778 #ifdef __cplusplus
12779 extern "C"
12780 #endif
12781 char gst_pad_new ();
12783 main ()
12785 return gst_pad_new ();
12787 return 0;
12789 _ACEOF
12790 if ac_fn_c_try_link "$LINENO"; then :
12791 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12792 else
12793 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12795 rm -f core conftest.err conftest.$ac_objext \
12796 conftest$ac_exeext conftest.$ac_ext
12797 LIBS=$ac_check_lib_save_LIBS
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12800 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12801 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12805 else
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12807 $as_echo "no" >&6; }
12808 ac_glib2_broken=yes
12809 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12815 CPPFLAGS=$ac_save_CPPFLAGS
12816 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12817 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12820 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 :
12821 case "x$with_gstreamer" in
12822 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12823 xno) ;;
12824 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12825 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12826 esac
12829 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12831 ALSA_LIBS=""
12833 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12834 then
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12836 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12837 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12838 $as_echo_n "(cached) " >&6
12839 else
12840 ac_check_lib_save_LIBS=$LIBS
12841 LIBS="-lasound $LIBS"
12842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12843 /* end confdefs.h. */
12845 /* Override any GCC internal prototype to avoid an error.
12846 Use char because int might match the return type of a GCC
12847 builtin and then its argument prototype would still apply. */
12848 #ifdef __cplusplus
12849 extern "C"
12850 #endif
12851 char snd_pcm_hw_params_get_access_mask ();
12853 main ()
12855 return snd_pcm_hw_params_get_access_mask ();
12857 return 0;
12859 _ACEOF
12860 if ac_fn_c_try_link "$LINENO"; then :
12861 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12862 else
12863 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12865 rm -f core conftest.err conftest.$ac_objext \
12866 conftest$ac_exeext conftest.$ac_ext
12867 LIBS=$ac_check_lib_save_LIBS
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12870 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12871 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12873 /* end confdefs.h. */
12874 #ifdef HAVE_ALSA_ASOUNDLIB_H
12875 #include <alsa/asoundlib.h>
12876 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12877 #include <sys/asoundlib.h>
12878 #endif
12880 main ()
12882 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12884 return 0;
12886 _ACEOF
12887 if ac_fn_c_try_compile "$LINENO"; then :
12888 ALSA_LIBS="-lasound"
12890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12894 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12896 if test "x$with_oss" != xno
12897 then
12898 ac_save_CPPFLAGS="$CPPFLAGS"
12899 if test -f /etc/oss.conf
12900 then
12901 . /etc/oss.conf
12903 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12904 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12905 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12906 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12907 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12909 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12911 cat >>confdefs.h <<_ACEOF
12912 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12913 _ACEOF
12915 OSS4_CFLAGS="$ac_oss_incl"
12922 CPPFLAGS="$ac_save_CPPFLAGS"
12924 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12925 case "x$with_oss" in
12926 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12927 xno) ;;
12928 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12929 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12930 esac
12931 enable_wineoss_drv=${enable_wineoss_drv:-no}
12934 if test "x$with_udev" != "xno"
12935 then
12936 if ${UDEV_CFLAGS:+false} :; then :
12937 if ${PKG_CONFIG+:} false; then :
12938 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12942 if ${UDEV_LIBS:+false} :; then :
12943 if ${PKG_CONFIG+:} false; then :
12944 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12949 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12950 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12951 ac_save_CPPFLAGS=$CPPFLAGS
12952 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12953 for ac_header in libudev.h
12954 do :
12955 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12956 if test "x$ac_cv_header_libudev_h" = xyes; then :
12957 cat >>confdefs.h <<_ACEOF
12958 #define HAVE_LIBUDEV_H 1
12959 _ACEOF
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12961 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12962 if ${ac_cv_lib_udev_udev_new+:} false; then :
12963 $as_echo_n "(cached) " >&6
12964 else
12965 ac_check_lib_save_LIBS=$LIBS
12966 LIBS="-ludev $UDEV_LIBS $LIBS"
12967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12968 /* end confdefs.h. */
12970 /* Override any GCC internal prototype to avoid an error.
12971 Use char because int might match the return type of a GCC
12972 builtin and then its argument prototype would still apply. */
12973 #ifdef __cplusplus
12974 extern "C"
12975 #endif
12976 char udev_new ();
12978 main ()
12980 return udev_new ();
12982 return 0;
12984 _ACEOF
12985 if ac_fn_c_try_link "$LINENO"; then :
12986 ac_cv_lib_udev_udev_new=yes
12987 else
12988 ac_cv_lib_udev_udev_new=no
12990 rm -f core conftest.err conftest.$ac_objext \
12991 conftest$ac_exeext conftest.$ac_ext
12992 LIBS=$ac_check_lib_save_LIBS
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
12995 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
12996 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
12998 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13000 else
13001 UDEV_LIBS=""
13004 else
13005 UDEV_LIBS=""
13008 done
13010 CPPFLAGS=$ac_save_CPPFLAGS
13011 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13012 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13015 if test "x$UDEV_LIBS" = "x"; then :
13016 case "x$with_udev" in
13017 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13018 xno) ;;
13019 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13020 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13021 esac
13025 if test "x$with_capi" != "xno"
13026 then
13027 if ${CAPI20_CFLAGS:+false} :; then :
13028 if ${PKG_CONFIG+:} false; then :
13029 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13033 if ${CAPI20_LIBS:+false} :; then :
13034 if ${PKG_CONFIG+:} false; then :
13035 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13040 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13041 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13042 ac_save_CPPFLAGS=$CPPFLAGS
13043 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13044 for ac_header in capi20.h linux/capi.h
13045 do :
13046 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13047 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13049 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13050 cat >>confdefs.h <<_ACEOF
13051 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13052 _ACEOF
13056 done
13058 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13059 then
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13061 $as_echo_n "checking for -lcapi20... " >&6; }
13062 if ${ac_cv_lib_soname_capi20+:} false; then :
13063 $as_echo_n "(cached) " >&6
13064 else
13065 ac_check_soname_save_LIBS=$LIBS
13066 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13068 /* end confdefs.h. */
13070 /* Override any GCC internal prototype to avoid an error.
13071 Use char because int might match the return type of a GCC
13072 builtin and then its argument prototype would still apply. */
13073 #ifdef __cplusplus
13074 extern "C"
13075 #endif
13076 char capi20_register ();
13078 main ()
13080 return capi20_register ();
13082 return 0;
13084 _ACEOF
13085 if ac_fn_c_try_link "$LINENO"; then :
13086 case "$LIBEXT" in
13087 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13088 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'` ;;
13089 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13090 if ${ac_cv_lib_soname_capi20:+false} :; then :
13091 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13092 fi ;;
13093 esac
13095 rm -f core conftest.err conftest.$ac_objext \
13096 conftest$ac_exeext conftest.$ac_ext
13097 LIBS=$ac_check_soname_save_LIBS
13099 if ${ac_cv_lib_soname_capi20:+false} :; then :
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13101 $as_echo "not found" >&6; }
13103 else
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13105 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13107 cat >>confdefs.h <<_ACEOF
13108 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13109 _ACEOF
13114 CPPFLAGS=$ac_save_CPPFLAGS
13115 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13116 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13119 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13120 case "x$with_capi" in
13121 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13122 xno) ;;
13123 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13124 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13125 esac
13129 CUPS_CFLAGS=""
13131 if test "x$with_cups" != "xno"
13132 then
13133 ac_save_CPPFLAGS="$CPPFLAGS"
13134 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13135 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13136 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13137 for ac_header in cups/cups.h
13138 do :
13139 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13140 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13141 cat >>confdefs.h <<_ACEOF
13142 #define HAVE_CUPS_CUPS_H 1
13143 _ACEOF
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13145 $as_echo_n "checking for -lcups... " >&6; }
13146 if ${ac_cv_lib_soname_cups+:} false; then :
13147 $as_echo_n "(cached) " >&6
13148 else
13149 ac_check_soname_save_LIBS=$LIBS
13150 LIBS="-lcups $ac_cups_libs $LIBS"
13151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13152 /* end confdefs.h. */
13154 /* Override any GCC internal prototype to avoid an error.
13155 Use char because int might match the return type of a GCC
13156 builtin and then its argument prototype would still apply. */
13157 #ifdef __cplusplus
13158 extern "C"
13159 #endif
13160 char cupsGetDefault ();
13162 main ()
13164 return cupsGetDefault ();
13166 return 0;
13168 _ACEOF
13169 if ac_fn_c_try_link "$LINENO"; then :
13170 case "$LIBEXT" in
13171 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13172 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'` ;;
13173 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13174 if ${ac_cv_lib_soname_cups:+false} :; then :
13175 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13176 fi ;;
13177 esac
13179 rm -f core conftest.err conftest.$ac_objext \
13180 conftest$ac_exeext conftest.$ac_ext
13181 LIBS=$ac_check_soname_save_LIBS
13183 if ${ac_cv_lib_soname_cups:+false} :; then :
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13185 $as_echo "not found" >&6; }
13187 else
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13189 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13191 cat >>confdefs.h <<_ACEOF
13192 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13193 _ACEOF
13195 CUPS_CFLAGS="$ac_cups_cflags"
13197 for ac_header in cups/ppd.h
13198 do :
13199 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13200 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13201 cat >>confdefs.h <<_ACEOF
13202 #define HAVE_CUPS_PPD_H 1
13203 _ACEOF
13207 done
13211 done
13213 CPPFLAGS="$ac_save_CPPFLAGS"
13215 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13216 case "x$with_cups" in
13217 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13218 xno) ;;
13219 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13220 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13221 esac
13225 if test "x$with_fontconfig" != "xno"
13226 then
13227 if ${FONTCONFIG_CFLAGS:+false} :; then :
13228 if ${PKG_CONFIG+:} false; then :
13229 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13232 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13233 if ${FONTCONFIG_LIBS:+false} :; then :
13234 if ${PKG_CONFIG+:} false; then :
13235 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13238 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13240 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13241 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13242 ac_save_CPPFLAGS=$CPPFLAGS
13243 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13244 for ac_header in fontconfig/fontconfig.h
13245 do :
13246 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13247 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13248 cat >>confdefs.h <<_ACEOF
13249 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13250 _ACEOF
13254 done
13256 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13257 then
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13259 $as_echo_n "checking for -lfontconfig... " >&6; }
13260 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13261 $as_echo_n "(cached) " >&6
13262 else
13263 ac_check_soname_save_LIBS=$LIBS
13264 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13266 /* end confdefs.h. */
13268 /* Override any GCC internal prototype to avoid an error.
13269 Use char because int might match the return type of a GCC
13270 builtin and then its argument prototype would still apply. */
13271 #ifdef __cplusplus
13272 extern "C"
13273 #endif
13274 char FcInit ();
13276 main ()
13278 return FcInit ();
13280 return 0;
13282 _ACEOF
13283 if ac_fn_c_try_link "$LINENO"; then :
13284 case "$LIBEXT" in
13285 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13286 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'` ;;
13287 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13288 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13289 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13290 fi ;;
13291 esac
13293 rm -f core conftest.err conftest.$ac_objext \
13294 conftest$ac_exeext conftest.$ac_ext
13295 LIBS=$ac_check_soname_save_LIBS
13297 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13299 $as_echo "not found" >&6; }
13300 FONTCONFIG_CFLAGS=""
13301 else
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13303 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13305 cat >>confdefs.h <<_ACEOF
13306 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13307 _ACEOF
13311 else
13312 FONTCONFIG_CFLAGS=""
13314 CPPFLAGS=$ac_save_CPPFLAGS
13315 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13316 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13319 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13320 case "x$with_fontconfig" in
13321 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13322 xno) ;;
13323 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13324 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13325 esac
13329 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13330 then
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13332 $as_echo_n "checking for -lgsm... " >&6; }
13333 if ${ac_cv_lib_soname_gsm+:} false; then :
13334 $as_echo_n "(cached) " >&6
13335 else
13336 ac_check_soname_save_LIBS=$LIBS
13337 LIBS="-lgsm $LIBS"
13338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13339 /* end confdefs.h. */
13341 /* Override any GCC internal prototype to avoid an error.
13342 Use char because int might match the return type of a GCC
13343 builtin and then its argument prototype would still apply. */
13344 #ifdef __cplusplus
13345 extern "C"
13346 #endif
13347 char gsm_create ();
13349 main ()
13351 return gsm_create ();
13353 return 0;
13355 _ACEOF
13356 if ac_fn_c_try_link "$LINENO"; then :
13357 case "$LIBEXT" in
13358 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13359 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'` ;;
13360 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13361 if ${ac_cv_lib_soname_gsm:+false} :; then :
13362 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13363 fi ;;
13364 esac
13366 rm -f core conftest.err conftest.$ac_objext \
13367 conftest$ac_exeext conftest.$ac_ext
13368 LIBS=$ac_check_soname_save_LIBS
13370 if ${ac_cv_lib_soname_gsm:+false} :; then :
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13372 $as_echo "not found" >&6; }
13374 else
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13376 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13378 cat >>confdefs.h <<_ACEOF
13379 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13380 _ACEOF
13385 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13386 case "x$with_gsm" in
13387 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13388 xno) ;;
13389 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13390 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13391 esac
13395 if test "x$with_jpeg" != "xno"
13396 then
13397 if ${JPEG_CFLAGS:+false} :; then :
13398 if ${PKG_CONFIG+:} false; then :
13399 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13403 if ${JPEG_LIBS:+false} :; then :
13404 if ${PKG_CONFIG+:} false; then :
13405 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13410 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13411 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13412 ac_save_CPPFLAGS=$CPPFLAGS
13413 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13414 for ac_header in jpeglib.h
13415 do :
13416 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13417 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13418 cat >>confdefs.h <<_ACEOF
13419 #define HAVE_JPEGLIB_H 1
13420 _ACEOF
13424 done
13426 if test "$ac_cv_header_jpeglib_h" = "yes"
13427 then
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13429 $as_echo_n "checking for -ljpeg... " >&6; }
13430 if ${ac_cv_lib_soname_jpeg+:} false; then :
13431 $as_echo_n "(cached) " >&6
13432 else
13433 ac_check_soname_save_LIBS=$LIBS
13434 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13438 /* Override any GCC internal prototype to avoid an error.
13439 Use char because int might match the return type of a GCC
13440 builtin and then its argument prototype would still apply. */
13441 #ifdef __cplusplus
13442 extern "C"
13443 #endif
13444 char jpeg_start_decompress ();
13446 main ()
13448 return jpeg_start_decompress ();
13450 return 0;
13452 _ACEOF
13453 if ac_fn_c_try_link "$LINENO"; then :
13454 case "$LIBEXT" in
13455 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13456 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'` ;;
13457 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13458 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13459 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13460 fi ;;
13461 esac
13463 rm -f core conftest.err conftest.$ac_objext \
13464 conftest$ac_exeext conftest.$ac_ext
13465 LIBS=$ac_check_soname_save_LIBS
13467 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13469 $as_echo "not found" >&6; }
13470 JPEG_CFLAGS=""
13471 else
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13473 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13475 cat >>confdefs.h <<_ACEOF
13476 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13477 _ACEOF
13481 else
13482 JPEG_CFLAGS=""
13484 CPPFLAGS=$ac_save_CPPFLAGS
13485 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13486 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13489 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13490 case "x$with_jpeg" in
13491 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13492 xno) ;;
13493 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13494 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13495 esac
13499 if test "x$with_png" != "xno"
13500 then
13501 if ${PNG_CFLAGS:+false} :; then :
13502 if ${PKG_CONFIG+:} false; then :
13503 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13506 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13507 if ${PNG_LIBS:+false} :; then :
13508 if ${PKG_CONFIG+:} false; then :
13509 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13512 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13514 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13515 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13516 ac_save_CPPFLAGS=$CPPFLAGS
13517 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13518 for ac_header in png.h
13519 do :
13520 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13521 if test "x$ac_cv_header_png_h" = xyes; then :
13522 cat >>confdefs.h <<_ACEOF
13523 #define HAVE_PNG_H 1
13524 _ACEOF
13528 done
13530 if test "$ac_cv_header_png_h" = "yes"
13531 then
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13533 $as_echo_n "checking for -lpng... " >&6; }
13534 if ${ac_cv_lib_soname_png+:} false; then :
13535 $as_echo_n "(cached) " >&6
13536 else
13537 ac_check_soname_save_LIBS=$LIBS
13538 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13540 /* end confdefs.h. */
13542 /* Override any GCC internal prototype to avoid an error.
13543 Use char because int might match the return type of a GCC
13544 builtin and then its argument prototype would still apply. */
13545 #ifdef __cplusplus
13546 extern "C"
13547 #endif
13548 char png_create_read_struct ();
13550 main ()
13552 return png_create_read_struct ();
13554 return 0;
13556 _ACEOF
13557 if ac_fn_c_try_link "$LINENO"; then :
13558 case "$LIBEXT" in
13559 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13560 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'` ;;
13561 *) 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'`
13562 if ${ac_cv_lib_soname_png:+false} :; then :
13563 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13564 fi ;;
13565 esac
13567 rm -f core conftest.err conftest.$ac_objext \
13568 conftest$ac_exeext conftest.$ac_ext
13569 LIBS=$ac_check_soname_save_LIBS
13571 if ${ac_cv_lib_soname_png:+false} :; then :
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13573 $as_echo "not found" >&6; }
13574 PNG_CFLAGS=""
13575 else
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13577 $as_echo "$ac_cv_lib_soname_png" >&6; }
13579 cat >>confdefs.h <<_ACEOF
13580 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13581 _ACEOF
13583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13584 /* end confdefs.h. */
13585 #include <png.h>
13587 main ()
13589 typeof(png_set_expand_gray_1_2_4_to_8) *p
13591 return 0;
13593 _ACEOF
13594 if ac_fn_c_try_compile "$LINENO"; then :
13596 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13601 else
13602 PNG_CFLAGS=""
13604 CPPFLAGS=$ac_save_CPPFLAGS
13605 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13606 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13609 if test "x$ac_cv_lib_soname_png" = "x"; then :
13610 case "x$with_png" in
13611 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13612 xno) ;;
13613 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13614 This is an error since --with-png was requested." "$LINENO" 5 ;;
13615 esac
13619 if test "x$with_tiff" != "xno"
13620 then
13621 if ${TIFF_CFLAGS:+false} :; then :
13622 if ${PKG_CONFIG+:} false; then :
13623 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13627 if ${TIFF_LIBS:+false} :; then :
13628 if ${PKG_CONFIG+:} false; then :
13629 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13634 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13635 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13636 ac_save_CPPFLAGS=$CPPFLAGS
13637 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13638 for ac_header in tiffio.h
13639 do :
13640 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13641 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13642 cat >>confdefs.h <<_ACEOF
13643 #define HAVE_TIFFIO_H 1
13644 _ACEOF
13648 done
13650 if test "$ac_cv_header_tiffio_h" = "yes"
13651 then
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13653 $as_echo_n "checking for -ltiff... " >&6; }
13654 if ${ac_cv_lib_soname_tiff+:} false; then :
13655 $as_echo_n "(cached) " >&6
13656 else
13657 ac_check_soname_save_LIBS=$LIBS
13658 LIBS="-ltiff $TIFF_LIBS $LIBS"
13659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13660 /* end confdefs.h. */
13662 /* Override any GCC internal prototype to avoid an error.
13663 Use char because int might match the return type of a GCC
13664 builtin and then its argument prototype would still apply. */
13665 #ifdef __cplusplus
13666 extern "C"
13667 #endif
13668 char TIFFClientOpen ();
13670 main ()
13672 return TIFFClientOpen ();
13674 return 0;
13676 _ACEOF
13677 if ac_fn_c_try_link "$LINENO"; then :
13678 case "$LIBEXT" in
13679 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13680 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'` ;;
13681 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13682 if ${ac_cv_lib_soname_tiff:+false} :; then :
13683 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13684 fi ;;
13685 esac
13687 rm -f core conftest.err conftest.$ac_objext \
13688 conftest$ac_exeext conftest.$ac_ext
13689 LIBS=$ac_check_soname_save_LIBS
13691 if ${ac_cv_lib_soname_tiff:+false} :; then :
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13693 $as_echo "not found" >&6; }
13695 else
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13697 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13699 cat >>confdefs.h <<_ACEOF
13700 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13701 _ACEOF
13706 CPPFLAGS=$ac_save_CPPFLAGS
13707 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13708 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13711 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13712 case "x$with_tiff" in
13713 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13714 xno) ;;
13715 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13716 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13717 esac
13721 if test "x$with_mpg123" != "xno"
13722 then
13723 if ${MPG123_CFLAGS:+false} :; then :
13724 if ${PKG_CONFIG+:} false; then :
13725 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13729 if ${MPG123_LIBS:+false} :; then :
13730 if ${PKG_CONFIG+:} false; then :
13731 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13735 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13736 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13737 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13738 ac_save_CPPFLAGS=$CPPFLAGS
13739 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13740 for ac_header in mpg123.h
13741 do :
13742 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13743 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13744 cat >>confdefs.h <<_ACEOF
13745 #define HAVE_MPG123_H 1
13746 _ACEOF
13750 done
13752 if test "$ac_cv_header_mpg123_h" = "yes"
13753 then
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13755 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13756 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13757 $as_echo_n "(cached) " >&6
13758 else
13759 ac_check_lib_save_LIBS=$LIBS
13760 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13764 /* Override any GCC internal prototype to avoid an error.
13765 Use char because int might match the return type of a GCC
13766 builtin and then its argument prototype would still apply. */
13767 #ifdef __cplusplus
13768 extern "C"
13769 #endif
13770 char mpg123_feed ();
13772 main ()
13774 return mpg123_feed ();
13776 return 0;
13778 _ACEOF
13779 if ac_fn_c_try_link "$LINENO"; then :
13780 ac_cv_lib_mpg123_mpg123_feed=yes
13781 else
13782 ac_cv_lib_mpg123_mpg123_feed=no
13784 rm -f core conftest.err conftest.$ac_objext \
13785 conftest$ac_exeext conftest.$ac_ext
13786 LIBS=$ac_check_lib_save_LIBS
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13789 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13790 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13792 else
13793 MPG123_LIBS=""
13796 else
13797 MPG123_CFLAGS=""
13798 MPG123_LIBS=""
13800 CPPFLAGS=$ac_save_CPPFLAGS
13801 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13802 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13805 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13806 case "x$with_mpg123" in
13807 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13808 xno) ;;
13809 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13810 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13811 esac
13812 enable_winemp3_acm=${enable_winemp3_acm:-no}
13815 if test "$ac_cv_header_AL_al_h" = "yes"
13816 then
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13818 $as_echo_n "checking for -lopenal... " >&6; }
13819 if ${ac_cv_lib_soname_openal+:} false; then :
13820 $as_echo_n "(cached) " >&6
13821 else
13822 ac_check_soname_save_LIBS=$LIBS
13823 LIBS="-lopenal $LIBS"
13824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13825 /* end confdefs.h. */
13827 /* Override any GCC internal prototype to avoid an error.
13828 Use char because int might match the return type of a GCC
13829 builtin and then its argument prototype would still apply. */
13830 #ifdef __cplusplus
13831 extern "C"
13832 #endif
13833 char alGetSource3i ();
13835 main ()
13837 return alGetSource3i ();
13839 return 0;
13841 _ACEOF
13842 if ac_fn_c_try_link "$LINENO"; then :
13843 case "$LIBEXT" in
13844 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13845 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'` ;;
13846 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13847 if ${ac_cv_lib_soname_openal:+false} :; then :
13848 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13849 fi ;;
13850 esac
13852 rm -f core conftest.err conftest.$ac_objext \
13853 conftest$ac_exeext conftest.$ac_ext
13854 LIBS=$ac_check_soname_save_LIBS
13856 if ${ac_cv_lib_soname_openal:+false} :; then :
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13858 $as_echo "not found" >&6; }
13860 else
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13862 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13864 cat >>confdefs.h <<_ACEOF
13865 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13866 _ACEOF
13868 OPENAL_LIBS="-lopenal"
13870 ac_cv_lib_openal=yes
13872 cat >>confdefs.h <<_ACEOF
13873 #define HAVE_OPENAL 1
13874 _ACEOF
13878 if test "x$ac_cv_lib_openal" != xyes; then :
13879 case "x$with_openal" in
13880 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13881 xno) ;;
13882 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13883 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13884 esac
13885 enable_openal32=${enable_openal32:-no}
13888 if test "x$ac_cv_lib_openal" = xyes
13889 then
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13891 $as_echo_n "checking for openal-soft... " >&6; }
13892 if ${ac_cv_have_openalsoft+:} false; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13897 #include <AL/al.h>
13898 #include <AL/alc.h>
13899 #include <AL/alext.h>
13900 LPALCRENDERSAMPLESSOFT x;
13902 main ()
13906 return 0;
13908 _ACEOF
13909 if ac_fn_c_try_compile "$LINENO"; then :
13910 ac_cv_have_openalsoft=yes
13911 else
13912 ac_cv_have_openalsoft=no
13914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13917 $as_echo "$ac_cv_have_openalsoft" >&6; }
13919 if test "x$ac_cv_have_openalsoft" != xyes
13920 then
13921 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13922 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13923 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13924 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13925 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13926 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13927 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13928 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13929 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13930 enable_xapofx1_1=${enable_xapofx1_1:-no}
13931 enable_xapofx1_2=${enable_xapofx1_2:-no}
13932 enable_xapofx1_3=${enable_xapofx1_3:-no}
13933 enable_xapofx1_4=${enable_xapofx1_4:-no}
13934 enable_xapofx1_5=${enable_xapofx1_5:-no}
13935 enable_xaudio2_0=${enable_xaudio2_0:-no}
13936 enable_xaudio2_1=${enable_xaudio2_1:-no}
13937 enable_xaudio2_2=${enable_xaudio2_2:-no}
13938 enable_xaudio2_3=${enable_xaudio2_3:-no}
13939 enable_xaudio2_4=${enable_xaudio2_4:-no}
13940 enable_xaudio2_5=${enable_xaudio2_5:-no}
13941 enable_xaudio2_6=${enable_xaudio2_6:-no}
13942 enable_xaudio2_7=${enable_xaudio2_7:-no}
13943 enable_xaudio2_8=${enable_xaudio2_8:-no}
13944 enable_xaudio2_9=${enable_xaudio2_9:-no}
13947 if test "$ac_cv_header_kstat_h" = "yes"
13948 then
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13950 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13951 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13952 $as_echo_n "(cached) " >&6
13953 else
13954 ac_check_lib_save_LIBS=$LIBS
13955 LIBS="-lkstat $LIBS"
13956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13957 /* end confdefs.h. */
13959 /* Override any GCC internal prototype to avoid an error.
13960 Use char because int might match the return type of a GCC
13961 builtin and then its argument prototype would still apply. */
13962 #ifdef __cplusplus
13963 extern "C"
13964 #endif
13965 char kstat_open ();
13967 main ()
13969 return kstat_open ();
13971 return 0;
13973 _ACEOF
13974 if ac_fn_c_try_link "$LINENO"; then :
13975 ac_cv_lib_kstat_kstat_open=yes
13976 else
13977 ac_cv_lib_kstat_kstat_open=no
13979 rm -f core conftest.err conftest.$ac_objext \
13980 conftest$ac_exeext conftest.$ac_ext
13981 LIBS=$ac_check_lib_save_LIBS
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13984 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13985 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13987 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13989 KSTAT_LIBS="-lkstat"
13995 if test "$ac_cv_header_libprocstat_h" = "yes"
13996 then
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13998 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13999 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14000 $as_echo_n "(cached) " >&6
14001 else
14002 ac_check_lib_save_LIBS=$LIBS
14003 LIBS="-lprocstat $LIBS"
14004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14007 /* Override any GCC internal prototype to avoid an error.
14008 Use char because int might match the return type of a GCC
14009 builtin and then its argument prototype would still apply. */
14010 #ifdef __cplusplus
14011 extern "C"
14012 #endif
14013 char procstat_open_sysctl ();
14015 main ()
14017 return procstat_open_sysctl ();
14019 return 0;
14021 _ACEOF
14022 if ac_fn_c_try_link "$LINENO"; then :
14023 ac_cv_lib_procstat_procstat_open_sysctl=yes
14024 else
14025 ac_cv_lib_procstat_procstat_open_sysctl=no
14027 rm -f core conftest.err conftest.$ac_objext \
14028 conftest$ac_exeext conftest.$ac_ext
14029 LIBS=$ac_check_lib_save_LIBS
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14032 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14033 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14035 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14037 PROCSTAT_LIBS="-lprocstat"
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14044 $as_echo_n "checking for -lodbc... " >&6; }
14045 if ${ac_cv_lib_soname_odbc+:} false; then :
14046 $as_echo_n "(cached) " >&6
14047 else
14048 ac_check_soname_save_LIBS=$LIBS
14049 LIBS="-lodbc $LIBS"
14050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14051 /* end confdefs.h. */
14053 /* Override any GCC internal prototype to avoid an error.
14054 Use char because int might match the return type of a GCC
14055 builtin and then its argument prototype would still apply. */
14056 #ifdef __cplusplus
14057 extern "C"
14058 #endif
14059 char SQLConnect ();
14061 main ()
14063 return SQLConnect ();
14065 return 0;
14067 _ACEOF
14068 if ac_fn_c_try_link "$LINENO"; then :
14069 case "$LIBEXT" in
14070 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14071 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'` ;;
14072 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14073 if ${ac_cv_lib_soname_odbc:+false} :; then :
14074 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14075 fi ;;
14076 esac
14078 rm -f core conftest.err conftest.$ac_objext \
14079 conftest$ac_exeext conftest.$ac_ext
14080 LIBS=$ac_check_soname_save_LIBS
14082 if ${ac_cv_lib_soname_odbc:+false} :; then :
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14084 $as_echo "not found" >&6; }
14085 cat >>confdefs.h <<_ACEOF
14086 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14087 _ACEOF
14089 else
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14091 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14093 cat >>confdefs.h <<_ACEOF
14094 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14095 _ACEOF
14100 if test "x$with_netapi" != "xno"
14101 then
14102 if ${NETAPI_CFLAGS:+false} :; then :
14103 if ${PKG_CONFIG+:} false; then :
14104 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14108 if ${NETAPI_LIBS:+false} :; then :
14109 if ${PKG_CONFIG+:} false; then :
14110 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14115 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14116 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14117 ac_save_CPPFLAGS=$CPPFLAGS
14118 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14120 $as_echo_n "checking for -lnetapi... " >&6; }
14121 if ${ac_cv_lib_soname_netapi+:} false; then :
14122 $as_echo_n "(cached) " >&6
14123 else
14124 ac_check_soname_save_LIBS=$LIBS
14125 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14127 /* end confdefs.h. */
14129 /* Override any GCC internal prototype to avoid an error.
14130 Use char because int might match the return type of a GCC
14131 builtin and then its argument prototype would still apply. */
14132 #ifdef __cplusplus
14133 extern "C"
14134 #endif
14135 char libnetapi_init ();
14137 main ()
14139 return libnetapi_init ();
14141 return 0;
14143 _ACEOF
14144 if ac_fn_c_try_link "$LINENO"; then :
14145 case "$LIBEXT" in
14146 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14147 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'` ;;
14148 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14149 if ${ac_cv_lib_soname_netapi:+false} :; then :
14150 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14151 fi ;;
14152 esac
14154 rm -f core conftest.err conftest.$ac_objext \
14155 conftest$ac_exeext conftest.$ac_ext
14156 LIBS=$ac_check_soname_save_LIBS
14158 if ${ac_cv_lib_soname_netapi:+false} :; then :
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14160 $as_echo "not found" >&6; }
14161 cat >>confdefs.h <<_ACEOF
14162 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14163 _ACEOF
14165 else
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14167 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14169 cat >>confdefs.h <<_ACEOF
14170 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14171 _ACEOF
14175 CPPFLAGS=$ac_save_CPPFLAGS
14176 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14177 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14181 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14182 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14183 then
14184 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14188 EXTRACFLAGS=""
14190 if test "x${GCC}" = "xyes"
14191 then
14192 EXTRACFLAGS="-Wall -pipe"
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14195 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14196 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14197 $as_echo_n "(cached) " >&6
14198 else
14199 if test "$cross_compiling" = yes; then :
14200 ac_cv_c_gcc_strength_bug="no"
14201 else
14202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14203 /* end confdefs.h. */
14204 int L[4] = {0,1,2,3};
14206 main ()
14208 static int Array[3];
14209 unsigned int B = 3;
14210 int i;
14211 for(i=0; i<B; i++) Array[i] = i - 3;
14212 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14213 L[i] = 4;
14214 return (Array[1] != -2 || L[2] != 3)
14216 return 0;
14218 _ACEOF
14219 if ac_fn_c_try_run "$LINENO"; then :
14220 ac_cv_c_gcc_strength_bug="no"
14221 else
14222 ac_cv_c_gcc_strength_bug="yes"
14224 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14225 conftest.$ac_objext conftest.beam conftest.$ac_ext
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14230 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14231 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14232 then
14233 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14237 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14238 if ${ac_cv_cflags__fno_builtin+:} false; then :
14239 $as_echo_n "(cached) " >&6
14240 else
14241 ac_wine_try_cflags_saved=$CFLAGS
14242 CFLAGS="$CFLAGS -fno-builtin"
14243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14244 /* end confdefs.h. */
14245 int main(int argc, char **argv) { return 0; }
14246 _ACEOF
14247 if ac_fn_c_try_link "$LINENO"; then :
14248 ac_cv_cflags__fno_builtin=yes
14249 else
14250 ac_cv_cflags__fno_builtin=no
14252 rm -f core conftest.err conftest.$ac_objext \
14253 conftest$ac_exeext conftest.$ac_ext
14254 CFLAGS=$ac_wine_try_cflags_saved
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14257 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14258 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14259 BUILTINFLAG="-fno-builtin"
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14263 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14264 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14265 $as_echo_n "(cached) " >&6
14266 else
14267 ac_wine_try_cflags_saved=$CFLAGS
14268 CFLAGS="$CFLAGS -fno-strict-aliasing"
14269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14271 int main(int argc, char **argv) { return 0; }
14272 _ACEOF
14273 if ac_fn_c_try_link "$LINENO"; then :
14274 ac_cv_cflags__fno_strict_aliasing=yes
14275 else
14276 ac_cv_cflags__fno_strict_aliasing=no
14278 rm -f core conftest.err conftest.$ac_objext \
14279 conftest$ac_exeext conftest.$ac_ext
14280 CFLAGS=$ac_wine_try_cflags_saved
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14283 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14284 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14285 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14288 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14289 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14290 $as_echo_n "(cached) " >&6
14291 else
14292 ac_wine_try_cflags_saved=$CFLAGS
14293 CFLAGS="$CFLAGS -fexcess-precision=standard"
14294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14296 int main(int argc, char **argv) { return 0; }
14297 _ACEOF
14298 if ac_fn_c_try_link "$LINENO"; then :
14299 ac_cv_cflags__fexcess_precision_standard=yes
14300 else
14301 ac_cv_cflags__fexcess_precision_standard=no
14303 rm -f core conftest.err conftest.$ac_objext \
14304 conftest$ac_exeext conftest.$ac_ext
14305 CFLAGS=$ac_wine_try_cflags_saved
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14308 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14309 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14310 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14313 saved_CFLAGS=$CFLAGS
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14315 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14316 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14317 $as_echo_n "(cached) " >&6
14318 else
14319 ac_wine_try_cflags_saved=$CFLAGS
14320 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14323 int main(int argc, char **argv) { return 0; }
14324 _ACEOF
14325 if ac_fn_c_try_link "$LINENO"; then :
14326 ac_cv_cflags__Werror_unknown_warning_option=yes
14327 else
14328 ac_cv_cflags__Werror_unknown_warning_option=no
14330 rm -f core conftest.err conftest.$ac_objext \
14331 conftest$ac_exeext conftest.$ac_ext
14332 CFLAGS=$ac_wine_try_cflags_saved
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14335 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14336 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14337 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14340 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14341 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14342 $as_echo_n "(cached) " >&6
14343 else
14344 ac_wine_try_cflags_saved=$CFLAGS
14345 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14347 /* end confdefs.h. */
14348 int main(int argc, char **argv) { return 0; }
14349 _ACEOF
14350 if ac_fn_c_try_link "$LINENO"; then :
14351 ac_cv_cflags__Wdeclaration_after_statement=yes
14352 else
14353 ac_cv_cflags__Wdeclaration_after_statement=no
14355 rm -f core conftest.err conftest.$ac_objext \
14356 conftest$ac_exeext conftest.$ac_ext
14357 CFLAGS=$ac_wine_try_cflags_saved
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14360 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14361 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14362 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14365 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14366 if ${ac_cv_cflags__Wempty_body+:} false; then :
14367 $as_echo_n "(cached) " >&6
14368 else
14369 ac_wine_try_cflags_saved=$CFLAGS
14370 CFLAGS="$CFLAGS -Wempty-body"
14371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14372 /* end confdefs.h. */
14373 int main(int argc, char **argv) { return 0; }
14374 _ACEOF
14375 if ac_fn_c_try_link "$LINENO"; then :
14376 ac_cv_cflags__Wempty_body=yes
14377 else
14378 ac_cv_cflags__Wempty_body=no
14380 rm -f core conftest.err conftest.$ac_objext \
14381 conftest$ac_exeext conftest.$ac_ext
14382 CFLAGS=$ac_wine_try_cflags_saved
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14385 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14386 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14387 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14390 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14391 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14392 $as_echo_n "(cached) " >&6
14393 else
14394 ac_wine_try_cflags_saved=$CFLAGS
14395 CFLAGS="$CFLAGS -Wignored-qualifiers"
14396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14397 /* end confdefs.h. */
14398 int main(int argc, char **argv) { return 0; }
14399 _ACEOF
14400 if ac_fn_c_try_link "$LINENO"; then :
14401 ac_cv_cflags__Wignored_qualifiers=yes
14402 else
14403 ac_cv_cflags__Wignored_qualifiers=no
14405 rm -f core conftest.err conftest.$ac_objext \
14406 conftest$ac_exeext conftest.$ac_ext
14407 CFLAGS=$ac_wine_try_cflags_saved
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14410 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14411 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14412 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14415 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14416 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14417 $as_echo_n "(cached) " >&6
14418 else
14419 ac_wine_try_cflags_saved=$CFLAGS
14420 CFLAGS="$CFLAGS -Wshift-overflow=2"
14421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14423 int main(int argc, char **argv) { return 0; }
14424 _ACEOF
14425 if ac_fn_c_try_link "$LINENO"; then :
14426 ac_cv_cflags__Wshift_overflow_2=yes
14427 else
14428 ac_cv_cflags__Wshift_overflow_2=no
14430 rm -f core conftest.err conftest.$ac_objext \
14431 conftest$ac_exeext conftest.$ac_ext
14432 CFLAGS=$ac_wine_try_cflags_saved
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14435 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14436 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14437 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14440 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14441 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14442 $as_echo_n "(cached) " >&6
14443 else
14444 ac_wine_try_cflags_saved=$CFLAGS
14445 CFLAGS="$CFLAGS -Wstrict-prototypes"
14446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h. */
14448 int main(int argc, char **argv) { return 0; }
14449 _ACEOF
14450 if ac_fn_c_try_link "$LINENO"; then :
14451 ac_cv_cflags__Wstrict_prototypes=yes
14452 else
14453 ac_cv_cflags__Wstrict_prototypes=no
14455 rm -f core conftest.err conftest.$ac_objext \
14456 conftest$ac_exeext conftest.$ac_ext
14457 CFLAGS=$ac_wine_try_cflags_saved
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14460 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14461 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14462 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14465 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14466 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14467 $as_echo_n "(cached) " >&6
14468 else
14469 ac_wine_try_cflags_saved=$CFLAGS
14470 CFLAGS="$CFLAGS -Wtype-limits"
14471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14472 /* end confdefs.h. */
14473 int main(int argc, char **argv) { return 0; }
14474 _ACEOF
14475 if ac_fn_c_try_link "$LINENO"; then :
14476 ac_cv_cflags__Wtype_limits=yes
14477 else
14478 ac_cv_cflags__Wtype_limits=no
14480 rm -f core conftest.err conftest.$ac_objext \
14481 conftest$ac_exeext conftest.$ac_ext
14482 CFLAGS=$ac_wine_try_cflags_saved
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14485 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14486 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14487 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14490 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14491 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14492 $as_echo_n "(cached) " >&6
14493 else
14494 ac_wine_try_cflags_saved=$CFLAGS
14495 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14497 /* end confdefs.h. */
14498 int main(int argc, char **argv) { return 0; }
14499 _ACEOF
14500 if ac_fn_c_try_link "$LINENO"; then :
14501 ac_cv_cflags__Wunused_but_set_parameter=yes
14502 else
14503 ac_cv_cflags__Wunused_but_set_parameter=no
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14507 CFLAGS=$ac_wine_try_cflags_saved
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14510 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14511 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14512 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14515 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14516 if ${ac_cv_cflags__Wvla+:} false; then :
14517 $as_echo_n "(cached) " >&6
14518 else
14519 ac_wine_try_cflags_saved=$CFLAGS
14520 CFLAGS="$CFLAGS -Wvla"
14521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */
14523 int main(int argc, char **argv) { return 0; }
14524 _ACEOF
14525 if ac_fn_c_try_link "$LINENO"; then :
14526 ac_cv_cflags__Wvla=yes
14527 else
14528 ac_cv_cflags__Wvla=no
14530 rm -f core conftest.err conftest.$ac_objext \
14531 conftest$ac_exeext conftest.$ac_ext
14532 CFLAGS=$ac_wine_try_cflags_saved
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14535 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14536 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14537 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14540 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14541 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14542 $as_echo_n "(cached) " >&6
14543 else
14544 ac_wine_try_cflags_saved=$CFLAGS
14545 CFLAGS="$CFLAGS -Wwrite-strings"
14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14548 int main(int argc, char **argv) { return 0; }
14549 _ACEOF
14550 if ac_fn_c_try_link "$LINENO"; then :
14551 ac_cv_cflags__Wwrite_strings=yes
14552 else
14553 ac_cv_cflags__Wwrite_strings=no
14555 rm -f core conftest.err conftest.$ac_objext \
14556 conftest$ac_exeext conftest.$ac_ext
14557 CFLAGS=$ac_wine_try_cflags_saved
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14560 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14561 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14562 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14566 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14567 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14568 $as_echo_n "(cached) " >&6
14569 else
14570 ac_wine_try_cflags_saved=$CFLAGS
14571 CFLAGS="$CFLAGS -Wpointer-arith"
14572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14573 /* end confdefs.h. */
14574 int main(int argc, char **argv) { return 0; }
14575 _ACEOF
14576 if ac_fn_c_try_link "$LINENO"; then :
14577 ac_cv_cflags__Wpointer_arith=yes
14578 else
14579 ac_cv_cflags__Wpointer_arith=no
14581 rm -f core conftest.err conftest.$ac_objext \
14582 conftest$ac_exeext conftest.$ac_ext
14583 CFLAGS=$ac_wine_try_cflags_saved
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14586 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14587 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14588 saved_string_h_CFLAGS=$CFLAGS
14589 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14591 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14592 if ${ac_cv_c_string_h_warnings+:} false; then :
14593 $as_echo_n "(cached) " >&6
14594 else
14595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h. */
14597 #include <string.h>
14599 main ()
14603 return 0;
14605 _ACEOF
14606 if ac_fn_c_try_compile "$LINENO"; then :
14607 ac_cv_c_string_h_warnings=no
14608 else
14609 ac_cv_c_string_h_warnings=yes
14611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14614 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14615 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14616 CFLAGS=$saved_string_h_CFLAGS
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14620 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14621 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14622 $as_echo_n "(cached) " >&6
14623 else
14624 ac_wine_try_cflags_saved=$CFLAGS
14625 CFLAGS="$CFLAGS -Wlogical-op"
14626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14627 /* end confdefs.h. */
14628 int main(int argc, char **argv) { return 0; }
14629 _ACEOF
14630 if ac_fn_c_try_link "$LINENO"; then :
14631 ac_cv_cflags__Wlogical_op=yes
14632 else
14633 ac_cv_cflags__Wlogical_op=no
14635 rm -f core conftest.err conftest.$ac_objext \
14636 conftest$ac_exeext conftest.$ac_ext
14637 CFLAGS=$ac_wine_try_cflags_saved
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14640 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14641 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14642 saved_string_h_CFLAGS=$CFLAGS
14643 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14645 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14646 if ${ac_cv_c_logicalop_noisy+:} false; then :
14647 $as_echo_n "(cached) " >&6
14648 else
14649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14650 /* end confdefs.h. */
14651 #include <string.h>
14652 char*f(const char *h,char n) {return strchr(h,n);}
14654 main ()
14658 return 0;
14660 _ACEOF
14661 if ac_fn_c_try_compile "$LINENO"; then :
14662 ac_cv_c_logicalop_noisy=no
14663 else
14664 ac_cv_c_logicalop_noisy=yes
14666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14669 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14670 CFLAGS=$saved_string_h_CFLAGS
14671 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14674 CFLAGS=$saved_CFLAGS
14676 for ac_flag in $CFLAGS; do
14677 case $ac_flag in
14678 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14679 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14680 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14681 $as_echo_n "(cached) " >&6
14682 else
14683 ac_wine_try_cflags_saved=$CFLAGS
14684 CFLAGS="$CFLAGS -gdwarf-2"
14685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14686 /* end confdefs.h. */
14687 int main(int argc, char **argv) { return 0; }
14688 _ACEOF
14689 if ac_fn_c_try_link "$LINENO"; then :
14690 ac_cv_cflags__gdwarf_2=yes
14691 else
14692 ac_cv_cflags__gdwarf_2=no
14694 rm -f core conftest.err conftest.$ac_objext \
14695 conftest$ac_exeext conftest.$ac_ext
14696 CFLAGS=$ac_wine_try_cflags_saved
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14699 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14700 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14701 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14704 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14705 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14706 $as_echo_n "(cached) " >&6
14707 else
14708 ac_wine_try_cflags_saved=$CFLAGS
14709 CFLAGS="$CFLAGS -gstrict-dwarf"
14710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14711 /* end confdefs.h. */
14712 int main(int argc, char **argv) { return 0; }
14713 _ACEOF
14714 if ac_fn_c_try_link "$LINENO"; then :
14715 ac_cv_cflags__gstrict_dwarf=yes
14716 else
14717 ac_cv_cflags__gstrict_dwarf=no
14719 rm -f core conftest.err conftest.$ac_objext \
14720 conftest$ac_exeext conftest.$ac_ext
14721 CFLAGS=$ac_wine_try_cflags_saved
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14724 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14725 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14726 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14727 fi ;;
14728 esac
14729 done
14731 case $host_cpu in
14732 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14733 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14734 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14735 $as_echo_n "(cached) " >&6
14736 else
14737 ac_wine_try_cflags_saved=$CFLAGS
14738 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14740 /* end confdefs.h. */
14741 int main(int argc, char **argv) { return 0; }
14742 _ACEOF
14743 if ac_fn_c_try_link "$LINENO"; then :
14744 ac_cv_cflags__fno_omit_frame_pointer=yes
14745 else
14746 ac_cv_cflags__fno_omit_frame_pointer=no
14748 rm -f core conftest.err conftest.$ac_objext \
14749 conftest$ac_exeext conftest.$ac_ext
14750 CFLAGS=$ac_wine_try_cflags_saved
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14753 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14754 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14755 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14756 fi ;;
14757 esac
14759 case $host in
14760 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14761 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14762 if ${ac_cv_cflags__Wno_format+:} false; then :
14763 $as_echo_n "(cached) " >&6
14764 else
14765 ac_wine_try_cflags_saved=$CFLAGS
14766 CFLAGS="$CFLAGS -Wno-format"
14767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14768 /* end confdefs.h. */
14769 int main(int argc, char **argv) { return 0; }
14770 _ACEOF
14771 if ac_fn_c_try_link "$LINENO"; then :
14772 ac_cv_cflags__Wno_format=yes
14773 else
14774 ac_cv_cflags__Wno_format=no
14776 rm -f core conftest.err conftest.$ac_objext \
14777 conftest$ac_exeext conftest.$ac_ext
14778 CFLAGS=$ac_wine_try_cflags_saved
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14781 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14782 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14783 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14784 fi ;;
14785 esac
14787 if test "x$enable_maintainer_mode" = "xyes"
14788 then
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14790 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14791 if ${ac_cv_cflags__Werror+:} false; then :
14792 $as_echo_n "(cached) " >&6
14793 else
14794 ac_wine_try_cflags_saved=$CFLAGS
14795 CFLAGS="$CFLAGS -Werror"
14796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14797 /* end confdefs.h. */
14798 int main(int argc, char **argv) { return 0; }
14799 _ACEOF
14800 if ac_fn_c_try_link "$LINENO"; then :
14801 ac_cv_cflags__Werror=yes
14802 else
14803 ac_cv_cflags__Werror=no
14805 rm -f core conftest.err conftest.$ac_objext \
14806 conftest$ac_exeext conftest.$ac_ext
14807 CFLAGS=$ac_wine_try_cflags_saved
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14810 $as_echo "$ac_cv_cflags__Werror" >&6; }
14811 if test "x$ac_cv_cflags__Werror" = xyes; then :
14812 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14816 saved_CFLAGS="$CFLAGS"
14817 CFLAGS="$CFLAGS -Werror"
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14819 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14820 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14821 $as_echo_n "(cached) " >&6
14822 else
14823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14824 /* end confdefs.h. */
14825 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14827 main ()
14831 return 0;
14833 _ACEOF
14834 if ac_fn_c_try_compile "$LINENO"; then :
14835 ac_cv_have_ms_hook_prologue="yes"
14836 else
14837 ac_cv_have_ms_hook_prologue="no"
14839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14842 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14843 CFLAGS="$saved_CFLAGS"
14844 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14845 then
14847 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14849 else
14850 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14857 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14858 if ${ac_cv_c_fortify_enabled+:} false; then :
14859 $as_echo_n "(cached) " >&6
14860 else
14861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14862 /* end confdefs.h. */
14863 #include <string.h>
14865 main ()
14867 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14868 #error Fortify enabled
14869 #endif
14871 return 0;
14873 _ACEOF
14874 if ac_fn_c_try_compile "$LINENO"; then :
14875 ac_cv_c_fortify_enabled=no
14876 else
14877 ac_cv_c_fortify_enabled=yes
14879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14882 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14883 if test "$ac_cv_c_fortify_enabled" = yes
14884 then
14885 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14890 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14891 if ${ac_cv_c_extern_prefix+:} false; then :
14892 $as_echo_n "(cached) " >&6
14893 else
14894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14895 /* end confdefs.h. */
14896 extern int ac_test;
14898 main ()
14900 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14902 return 0;
14904 _ACEOF
14905 if ac_fn_c_try_link "$LINENO"; then :
14906 ac_cv_c_extern_prefix="yes"
14907 else
14908 ac_cv_c_extern_prefix="no"
14910 rm -f core conftest.err conftest.$ac_objext \
14911 conftest$ac_exeext conftest.$ac_ext
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14914 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14916 case $host_cpu in
14917 *i[3456789]86*)
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14919 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14920 if ${ac_cv_c_stdcall_suffix+:} false; then :
14921 $as_echo_n "(cached) " >&6
14922 else
14923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14924 /* end confdefs.h. */
14925 #ifndef _MSC_VER
14926 #define __stdcall __attribute__((__stdcall__))
14927 #endif
14928 int __stdcall ac_test(int i) { return i; }
14930 main ()
14932 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14934 return 0;
14936 _ACEOF
14937 if ac_fn_c_try_link "$LINENO"; then :
14938 ac_cv_c_stdcall_suffix="yes"
14939 else
14940 ac_cv_c_stdcall_suffix="no"
14942 rm -f core conftest.err conftest.$ac_objext \
14943 conftest$ac_exeext conftest.$ac_ext
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14946 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14947 *) ac_cv_c_stdcall_suffix="no" ;;
14948 esac
14951 if test "$ac_cv_c_extern_prefix" = "yes"
14952 then
14953 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14955 asm_name_prefix="_"
14956 else
14957 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14959 asm_name_prefix=""
14963 if test "$ac_cv_c_stdcall_suffix" = "yes"
14964 then
14965 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14967 else
14968 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14974 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14975 if ${ac_cv_asm_func_def+:} false; then :
14976 $as_echo_n "(cached) " >&6
14977 else
14978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14982 main ()
14984 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14986 return 0;
14988 _ACEOF
14989 if ac_fn_c_try_link "$LINENO"; then :
14990 ac_cv_asm_func_def=".def"
14991 else
14992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14993 /* end confdefs.h. */
14996 main ()
14998 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15000 return 0;
15002 _ACEOF
15003 if ac_fn_c_try_link "$LINENO"; then :
15004 ac_cv_asm_func_def=".type @function"
15005 else
15006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15010 main ()
15012 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15014 return 0;
15016 _ACEOF
15017 if ac_fn_c_try_link "$LINENO"; then :
15018 ac_cv_asm_func_def=".type 2"
15019 else
15020 ac_cv_asm_func_def="unknown"
15022 rm -f core conftest.err conftest.$ac_objext \
15023 conftest$ac_exeext conftest.$ac_ext
15025 rm -f core conftest.err conftest.$ac_objext \
15026 conftest$ac_exeext conftest.$ac_ext
15028 rm -f core conftest.err conftest.$ac_objext \
15029 conftest$ac_exeext conftest.$ac_ext
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15032 $as_echo "$ac_cv_asm_func_def" >&6; }
15035 case "$ac_cv_asm_func_def" in
15036 ".def")
15037 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15039 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15040 ".type @function")
15041 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15043 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15044 ".type 2")
15045 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15047 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15049 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15051 asm_func_header="" ;;
15052 esac
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15055 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15056 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15057 $as_echo_n "(cached) " >&6
15058 else
15059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15060 /* end confdefs.h. */
15061 asm(".text\n\t.long 0");
15063 main ()
15067 return 0;
15069 _ACEOF
15070 if ac_fn_c_try_compile "$LINENO"; then :
15071 ac_cv_c_asm_outside_funcs="yes"
15072 else
15073 ac_cv_c_asm_outside_funcs="no"
15075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15078 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15081 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15082 if ${ac_cv_c_dot_previous+:} false; then :
15083 $as_echo_n "(cached) " >&6
15084 else
15085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15086 /* end confdefs.h. */
15089 main ()
15091 asm(".text\nac_test:\t.long 0\n\t.previous");
15093 return 0;
15095 _ACEOF
15096 if ac_fn_c_try_link "$LINENO"; then :
15097 ac_cv_c_dot_previous="yes"
15098 else
15099 ac_cv_c_dot_previous="no"
15101 rm -f core conftest.err conftest.$ac_objext \
15102 conftest$ac_exeext conftest.$ac_ext
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15105 $as_echo "$ac_cv_c_dot_previous" >&6; }
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15108 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15109 if ${ac_cv_c_cfi_support+:} false; then :
15110 $as_echo_n "(cached) " >&6
15111 else
15112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15113 /* end confdefs.h. */
15114 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15116 main ()
15120 return 0;
15122 _ACEOF
15123 if ac_fn_c_try_compile "$LINENO"; then :
15124 ac_cv_c_cfi_support="yes"
15125 else
15126 ac_cv_c_cfi_support="no"
15128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15131 $as_echo "$ac_cv_c_cfi_support" >&6; }
15133 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15134 asm_func_trailer=""
15135 if test "$ac_cv_c_dot_previous" = "yes"
15136 then
15137 asm_func_trailer="\\n\\t.previous"
15139 if test "$ac_cv_c_cfi_support" = "yes"
15140 then
15141 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15142 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15144 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15146 UNWINDFLAGS=-fasynchronous-unwind-tables
15148 else
15149 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15151 if test "x$enable_win64" = "xyes"
15152 then
15153 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15157 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15160 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15161 then
15162 cat >>confdefs.h <<_ACEOF
15163 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15164 _ACEOF
15166 else
15167 cat >>confdefs.h <<_ACEOF
15168 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15169 _ACEOF
15173 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15176 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15180 case $build_os in
15181 cygwin*|mingw32*) TOOLSEXT=".exe"
15183 esac
15185 case $host_os in
15186 linux-android*) ;;
15187 linux*)
15188 case $host_cpu in
15189 *i[3456789]86*|x86_64*)
15190 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15191 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15193 esac
15195 esac
15198 ac_save_CFLAGS="$CFLAGS"
15199 CFLAGS="$CFLAGS $BUILTINFLAG"
15200 for ac_func in \
15201 __res_get_state \
15202 __res_getservers \
15203 _finite \
15204 _isnan \
15205 _pclose \
15206 _popen \
15207 _snprintf \
15208 _spawnvp \
15209 _strdup \
15210 _stricmp \
15211 _strnicmp \
15212 _strtoi64 \
15213 _strtoui64 \
15214 _vsnprintf \
15215 asctime_r \
15216 chsize \
15217 dlopen \
15218 epoll_create \
15219 ffs \
15220 finitef \
15221 fnmatch \
15222 fork \
15223 fpclass \
15224 fstatfs \
15225 fstatvfs \
15226 ftruncate \
15227 futimens \
15228 futimes \
15229 futimesat \
15230 getattrlist \
15231 getopt_long_only \
15232 getpwuid \
15233 gettimeofday \
15234 getuid \
15235 if_nameindex \
15236 isnanf \
15237 kqueue \
15238 lstat \
15239 memmove \
15240 mmap \
15241 pclose \
15242 pipe2 \
15243 poll \
15244 popen \
15245 port_create \
15246 prctl \
15247 pread \
15248 proc_pidinfo \
15249 pwrite \
15250 readdir \
15251 readlink \
15252 sched_yield \
15253 select \
15254 setproctitle \
15255 setprogname \
15256 setrlimit \
15257 settimeofday \
15258 sigaltstack \
15259 sigprocmask \
15260 snprintf \
15261 statfs \
15262 statvfs \
15263 strcasecmp \
15264 strdup \
15265 strerror \
15266 strncasecmp \
15267 strtold \
15268 strtoll \
15269 strtoull \
15270 symlink \
15271 sysinfo \
15272 tcdrain \
15273 thr_kill2 \
15274 timegm \
15275 usleep \
15276 vsnprintf
15278 do :
15279 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15280 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15281 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15282 cat >>confdefs.h <<_ACEOF
15283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15284 _ACEOF
15287 done
15289 CFLAGS="$ac_save_CFLAGS"
15291 if test "$ac_cv_func_dlopen" = no
15292 then
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15294 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15295 if ${ac_cv_lib_dl_dlopen+:} false; then :
15296 $as_echo_n "(cached) " >&6
15297 else
15298 ac_check_lib_save_LIBS=$LIBS
15299 LIBS="-ldl $LIBS"
15300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15303 /* Override any GCC internal prototype to avoid an error.
15304 Use char because int might match the return type of a GCC
15305 builtin and then its argument prototype would still apply. */
15306 #ifdef __cplusplus
15307 extern "C"
15308 #endif
15309 char dlopen ();
15311 main ()
15313 return dlopen ();
15315 return 0;
15317 _ACEOF
15318 if ac_fn_c_try_link "$LINENO"; then :
15319 ac_cv_lib_dl_dlopen=yes
15320 else
15321 ac_cv_lib_dl_dlopen=no
15323 rm -f core conftest.err conftest.$ac_objext \
15324 conftest$ac_exeext conftest.$ac_ext
15325 LIBS=$ac_check_lib_save_LIBS
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15328 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15329 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15330 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15331 DL_LIBS="-ldl"
15336 ac_wine_check_funcs_save_LIBS="$LIBS"
15337 LIBS="$LIBS $DL_LIBS"
15338 for ac_func in dladdr
15339 do :
15340 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15341 if test "x$ac_cv_func_dladdr" = xyes; then :
15342 cat >>confdefs.h <<_ACEOF
15343 #define HAVE_DLADDR 1
15344 _ACEOF
15347 done
15349 LIBS="$ac_wine_check_funcs_save_LIBS"
15351 if test "$ac_cv_func_poll" = no
15352 then
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15354 $as_echo_n "checking for poll in -lpoll... " >&6; }
15355 if ${ac_cv_lib_poll_poll+:} false; then :
15356 $as_echo_n "(cached) " >&6
15357 else
15358 ac_check_lib_save_LIBS=$LIBS
15359 LIBS="-lpoll $LIBS"
15360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15361 /* end confdefs.h. */
15363 /* Override any GCC internal prototype to avoid an error.
15364 Use char because int might match the return type of a GCC
15365 builtin and then its argument prototype would still apply. */
15366 #ifdef __cplusplus
15367 extern "C"
15368 #endif
15369 char poll ();
15371 main ()
15373 return poll ();
15375 return 0;
15377 _ACEOF
15378 if ac_fn_c_try_link "$LINENO"; then :
15379 ac_cv_lib_poll_poll=yes
15380 else
15381 ac_cv_lib_poll_poll=no
15383 rm -f core conftest.err conftest.$ac_objext \
15384 conftest$ac_exeext conftest.$ac_ext
15385 LIBS=$ac_check_lib_save_LIBS
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15388 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15389 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15390 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15391 POLL_LIBS="-lpoll"
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15398 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15399 if ${ac_cv_search_gethostbyname+:} false; then :
15400 $as_echo_n "(cached) " >&6
15401 else
15402 ac_func_search_save_LIBS=$LIBS
15403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15404 /* end confdefs.h. */
15406 /* Override any GCC internal prototype to avoid an error.
15407 Use char because int might match the return type of a GCC
15408 builtin and then its argument prototype would still apply. */
15409 #ifdef __cplusplus
15410 extern "C"
15411 #endif
15412 char gethostbyname ();
15414 main ()
15416 return gethostbyname ();
15418 return 0;
15420 _ACEOF
15421 for ac_lib in '' nsl; do
15422 if test -z "$ac_lib"; then
15423 ac_res="none required"
15424 else
15425 ac_res=-l$ac_lib
15426 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15428 if ac_fn_c_try_link "$LINENO"; then :
15429 ac_cv_search_gethostbyname=$ac_res
15431 rm -f core conftest.err conftest.$ac_objext \
15432 conftest$ac_exeext
15433 if ${ac_cv_search_gethostbyname+:} false; then :
15434 break
15436 done
15437 if ${ac_cv_search_gethostbyname+:} false; then :
15439 else
15440 ac_cv_search_gethostbyname=no
15442 rm conftest.$ac_ext
15443 LIBS=$ac_func_search_save_LIBS
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15446 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15447 ac_res=$ac_cv_search_gethostbyname
15448 if test "$ac_res" != no; then :
15449 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15455 $as_echo_n "checking for library containing connect... " >&6; }
15456 if ${ac_cv_search_connect+:} false; then :
15457 $as_echo_n "(cached) " >&6
15458 else
15459 ac_func_search_save_LIBS=$LIBS
15460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15461 /* end confdefs.h. */
15463 /* Override any GCC internal prototype to avoid an error.
15464 Use char because int might match the return type of a GCC
15465 builtin and then its argument prototype would still apply. */
15466 #ifdef __cplusplus
15467 extern "C"
15468 #endif
15469 char connect ();
15471 main ()
15473 return connect ();
15475 return 0;
15477 _ACEOF
15478 for ac_lib in '' socket; do
15479 if test -z "$ac_lib"; then
15480 ac_res="none required"
15481 else
15482 ac_res=-l$ac_lib
15483 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15485 if ac_fn_c_try_link "$LINENO"; then :
15486 ac_cv_search_connect=$ac_res
15488 rm -f core conftest.err conftest.$ac_objext \
15489 conftest$ac_exeext
15490 if ${ac_cv_search_connect+:} false; then :
15491 break
15493 done
15494 if ${ac_cv_search_connect+:} false; then :
15496 else
15497 ac_cv_search_connect=no
15499 rm conftest.$ac_ext
15500 LIBS=$ac_func_search_save_LIBS
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15503 $as_echo "$ac_cv_search_connect" >&6; }
15504 ac_res=$ac_cv_search_connect
15505 if test "$ac_res" != no; then :
15506 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15512 $as_echo_n "checking for library containing inet_aton... " >&6; }
15513 if ${ac_cv_search_inet_aton+:} false; then :
15514 $as_echo_n "(cached) " >&6
15515 else
15516 ac_func_search_save_LIBS=$LIBS
15517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15518 /* end confdefs.h. */
15520 /* Override any GCC internal prototype to avoid an error.
15521 Use char because int might match the return type of a GCC
15522 builtin and then its argument prototype would still apply. */
15523 #ifdef __cplusplus
15524 extern "C"
15525 #endif
15526 char inet_aton ();
15528 main ()
15530 return inet_aton ();
15532 return 0;
15534 _ACEOF
15535 for ac_lib in '' resolv; do
15536 if test -z "$ac_lib"; then
15537 ac_res="none required"
15538 else
15539 ac_res=-l$ac_lib
15540 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15542 if ac_fn_c_try_link "$LINENO"; then :
15543 ac_cv_search_inet_aton=$ac_res
15545 rm -f core conftest.err conftest.$ac_objext \
15546 conftest$ac_exeext
15547 if ${ac_cv_search_inet_aton+:} false; then :
15548 break
15550 done
15551 if ${ac_cv_search_inet_aton+:} false; then :
15553 else
15554 ac_cv_search_inet_aton=no
15556 rm conftest.$ac_ext
15557 LIBS=$ac_func_search_save_LIBS
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15560 $as_echo "$ac_cv_search_inet_aton" >&6; }
15561 ac_res=$ac_cv_search_inet_aton
15562 if test "$ac_res" != no; then :
15563 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15568 for ac_func in \
15569 getaddrinfo \
15570 getnameinfo \
15571 getnetbyname \
15572 getprotobyname \
15573 getprotobynumber \
15574 getservbyport \
15575 inet_addr \
15576 inet_network \
15577 inet_ntop \
15578 inet_pton \
15579 sendmsg \
15580 socketpair \
15582 do :
15583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15584 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15585 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15586 cat >>confdefs.h <<_ACEOF
15587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15588 _ACEOF
15591 done
15594 ac_save_LIBS=$LIBS
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15596 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15597 if ${ac_cv_search_clock_gettime+:} false; then :
15598 $as_echo_n "(cached) " >&6
15599 else
15600 ac_func_search_save_LIBS=$LIBS
15601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15602 /* end confdefs.h. */
15604 /* Override any GCC internal prototype to avoid an error.
15605 Use char because int might match the return type of a GCC
15606 builtin and then its argument prototype would still apply. */
15607 #ifdef __cplusplus
15608 extern "C"
15609 #endif
15610 char clock_gettime ();
15612 main ()
15614 return clock_gettime ();
15616 return 0;
15618 _ACEOF
15619 for ac_lib in '' rt; do
15620 if test -z "$ac_lib"; then
15621 ac_res="none required"
15622 else
15623 ac_res=-l$ac_lib
15624 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15626 if ac_fn_c_try_link "$LINENO"; then :
15627 ac_cv_search_clock_gettime=$ac_res
15629 rm -f core conftest.err conftest.$ac_objext \
15630 conftest$ac_exeext
15631 if ${ac_cv_search_clock_gettime+:} false; then :
15632 break
15634 done
15635 if ${ac_cv_search_clock_gettime+:} false; then :
15637 else
15638 ac_cv_search_clock_gettime=no
15640 rm conftest.$ac_ext
15641 LIBS=$ac_func_search_save_LIBS
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15644 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15645 ac_res=$ac_cv_search_clock_gettime
15646 if test "$ac_res" != no; then :
15647 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15649 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15651 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15655 LIBS=$ac_save_LIBS
15657 LDAP_LIBS=""
15659 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15660 then
15661 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15663 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15665 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15666 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15667 $as_echo_n "(cached) " >&6
15668 else
15669 ac_check_lib_save_LIBS=$LIBS
15670 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15672 /* end confdefs.h. */
15674 /* Override any GCC internal prototype to avoid an error.
15675 Use char because int might match the return type of a GCC
15676 builtin and then its argument prototype would still apply. */
15677 #ifdef __cplusplus
15678 extern "C"
15679 #endif
15680 char ldap_initialize ();
15682 main ()
15684 return ldap_initialize ();
15686 return 0;
15688 _ACEOF
15689 if ac_fn_c_try_link "$LINENO"; then :
15690 ac_cv_lib_ldap_r_ldap_initialize=yes
15691 else
15692 ac_cv_lib_ldap_r_ldap_initialize=no
15694 rm -f core conftest.err conftest.$ac_objext \
15695 conftest$ac_exeext conftest.$ac_ext
15696 LIBS=$ac_check_lib_save_LIBS
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15699 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15700 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15702 $as_echo_n "checking for ber_init in -llber... " >&6; }
15703 if ${ac_cv_lib_lber_ber_init+:} false; then :
15704 $as_echo_n "(cached) " >&6
15705 else
15706 ac_check_lib_save_LIBS=$LIBS
15707 LIBS="-llber $PTHREAD_LIBS $LIBS"
15708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15709 /* end confdefs.h. */
15711 /* Override any GCC internal prototype to avoid an error.
15712 Use char because int might match the return type of a GCC
15713 builtin and then its argument prototype would still apply. */
15714 #ifdef __cplusplus
15715 extern "C"
15716 #endif
15717 char ber_init ();
15719 main ()
15721 return ber_init ();
15723 return 0;
15725 _ACEOF
15726 if ac_fn_c_try_link "$LINENO"; then :
15727 ac_cv_lib_lber_ber_init=yes
15728 else
15729 ac_cv_lib_lber_ber_init=no
15731 rm -f core conftest.err conftest.$ac_objext \
15732 conftest$ac_exeext conftest.$ac_ext
15733 LIBS=$ac_check_lib_save_LIBS
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15736 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15737 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15739 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15741 LDAP_LIBS="-lldap_r -llber"
15748 ac_wine_check_funcs_save_LIBS="$LIBS"
15749 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15750 for ac_func in \
15751 ldap_count_references \
15752 ldap_first_reference \
15753 ldap_next_reference \
15754 ldap_parse_reference \
15755 ldap_parse_sort_control \
15756 ldap_parse_sortresponse_control \
15757 ldap_parse_vlv_control \
15758 ldap_parse_vlvresponse_control
15759 do :
15760 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15761 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15762 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15763 cat >>confdefs.h <<_ACEOF
15764 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15765 _ACEOF
15768 done
15770 LIBS="$ac_wine_check_funcs_save_LIBS"
15772 if test "x$LDAP_LIBS" = "x"; then :
15773 case "x$with_ldap" in
15774 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15775 xno) ;;
15776 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15777 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15778 esac
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15783 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15784 if ${wine_cv_one_arg_mkdir+:} false; then :
15785 $as_echo_n "(cached) " >&6
15786 else
15787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15788 /* end confdefs.h. */
15789 #include <sys/stat.h>
15791 main ()
15793 mkdir("foo");
15795 return 0;
15797 _ACEOF
15798 if ac_fn_c_try_compile "$LINENO"; then :
15799 wine_cv_one_arg_mkdir=yes
15800 else
15801 wine_cv_one_arg_mkdir=no
15803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15806 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15807 if test "$wine_cv_one_arg_mkdir" = "yes"
15808 then
15810 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15815 $as_echo_n "checking for sched_setaffinity... " >&6; }
15816 if ${wine_cv_have_sched_setaffinity+:} false; then :
15817 $as_echo_n "(cached) " >&6
15818 else
15819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h. */
15821 #define _GNU_SOURCE
15822 #include <sched.h>
15824 main ()
15826 sched_setaffinity(0, 0, 0);
15828 return 0;
15830 _ACEOF
15831 if ac_fn_c_try_link "$LINENO"; then :
15832 wine_cv_have_sched_setaffinity=yes
15833 else
15834 wine_cv_have_sched_setaffinity=no
15836 rm -f core conftest.err conftest.$ac_objext \
15837 conftest$ac_exeext conftest.$ac_ext
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15840 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15841 if test "$wine_cv_have_sched_setaffinity" = "yes"
15842 then
15844 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15849 $as_echo_n "checking for fallocate... " >&6; }
15850 if ${wine_cv_have_fallocate+:} false; then :
15851 $as_echo_n "(cached) " >&6
15852 else
15853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15854 /* end confdefs.h. */
15855 #define _GNU_SOURCE
15856 #include <fcntl.h>
15858 main ()
15860 fallocate(-1, 0, 0, 0);
15862 return 0;
15864 _ACEOF
15865 if ac_fn_c_try_link "$LINENO"; then :
15866 wine_cv_have_fallocate=yes
15867 else
15868 wine_cv_have_fallocate=no
15870 rm -f core conftest.err conftest.$ac_objext \
15871 conftest$ac_exeext conftest.$ac_ext
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15874 $as_echo "$wine_cv_have_fallocate" >&6; }
15875 if test "$wine_cv_have_fallocate" = "yes"
15876 then
15878 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15884 $as_echo_n "checking for inline... " >&6; }
15885 if ${ac_cv_c_inline+:} false; then :
15886 $as_echo_n "(cached) " >&6
15887 else
15888 ac_cv_c_inline=no
15889 for ac_kw in inline __inline__ __inline; do
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 #ifndef __cplusplus
15893 typedef int foo_t;
15894 static $ac_kw foo_t static_foo () {return 0; }
15895 $ac_kw foo_t foo () {return 0; }
15896 #endif
15898 _ACEOF
15899 if ac_fn_c_try_compile "$LINENO"; then :
15900 ac_cv_c_inline=$ac_kw
15902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15903 test "$ac_cv_c_inline" != no && break
15904 done
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15908 $as_echo "$ac_cv_c_inline" >&6; }
15910 case $ac_cv_c_inline in
15911 inline | yes) ;;
15913 case $ac_cv_c_inline in
15914 no) ac_val=;;
15915 *) ac_val=$ac_cv_c_inline;;
15916 esac
15917 cat >>confdefs.h <<_ACEOF
15918 #ifndef __cplusplus
15919 #define inline $ac_val
15920 #endif
15921 _ACEOF
15923 esac
15925 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15926 if test "x$ac_cv_type_mode_t" = xyes; then :
15928 cat >>confdefs.h <<_ACEOF
15929 #define HAVE_MODE_T 1
15930 _ACEOF
15934 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15935 if test "x$ac_cv_type_off_t" = xyes; then :
15937 cat >>confdefs.h <<_ACEOF
15938 #define HAVE_OFF_T 1
15939 _ACEOF
15943 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15944 if test "x$ac_cv_type_pid_t" = xyes; then :
15946 cat >>confdefs.h <<_ACEOF
15947 #define HAVE_PID_T 1
15948 _ACEOF
15952 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15953 if test "x$ac_cv_type_size_t" = xyes; then :
15955 cat >>confdefs.h <<_ACEOF
15956 #define HAVE_SIZE_T 1
15957 _ACEOF
15961 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15962 if test "x$ac_cv_type_ssize_t" = xyes; then :
15964 cat >>confdefs.h <<_ACEOF
15965 #define HAVE_SSIZE_T 1
15966 _ACEOF
15970 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15971 if test "x$ac_cv_type_long_long" = xyes; then :
15973 cat >>confdefs.h <<_ACEOF
15974 #define HAVE_LONG_LONG 1
15975 _ACEOF
15979 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15980 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15982 cat >>confdefs.h <<_ACEOF
15983 #define HAVE_FSBLKCNT_T 1
15984 _ACEOF
15988 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15989 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15991 cat >>confdefs.h <<_ACEOF
15992 #define HAVE_FSFILCNT_T 1
15993 _ACEOF
15998 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15999 #include <signal.h>
16001 if test "x$ac_cv_type_sigset_t" = xyes; then :
16003 cat >>confdefs.h <<_ACEOF
16004 #define HAVE_SIGSET_T 1
16005 _ACEOF
16010 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16012 if test "x$ac_cv_type_request_sense" = xyes; then :
16014 cat >>confdefs.h <<_ACEOF
16015 #define HAVE_REQUEST_SENSE 1
16016 _ACEOF
16022 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16023 #ifdef HAVE_SYS_SOCKET_H
16024 #include <sys/socket.h>
16025 #endif
16026 #ifdef HAVE_SYS_SOCKETVAR_H
16027 #include <sys/socketvar.h>
16028 #endif
16029 #ifdef HAVE_NET_ROUTE_H
16030 #include <net/route.h>
16031 #endif
16032 #ifdef HAVE_NETINET_IN_H
16033 #include <netinet/in.h>
16034 #endif
16035 #ifdef HAVE_NETINET_IN_SYSTM_H
16036 #include <netinet/in_systm.h>
16037 #endif
16038 #ifdef HAVE_NETINET_IP_H
16039 #include <netinet/ip.h>
16040 #endif
16041 #ifdef HAVE_NETINET_IN_PCB_H
16042 #include <netinet/in_pcb.h>
16043 #endif
16045 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16047 cat >>confdefs.h <<_ACEOF
16048 #define HAVE_STRUCT_XINPGEN 1
16049 _ACEOF
16055 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16056 #include <link.h>
16057 #endif
16058 #ifdef HAVE_SYS_LINK_H
16059 #include <sys/link.h>
16060 #endif
16062 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16064 cat >>confdefs.h <<_ACEOF
16065 #define HAVE_STRUCT_R_DEBUG 1
16066 _ACEOF
16070 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16071 #include <link.h>
16072 #endif
16073 #ifdef HAVE_SYS_LINK_H
16074 #include <sys/link.h>
16075 #endif
16077 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16079 cat >>confdefs.h <<_ACEOF
16080 #define HAVE_STRUCT_LINK_MAP 1
16081 _ACEOF
16087 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16088 #include <linux/input.h>
16089 #endif
16091 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16093 cat >>confdefs.h <<_ACEOF
16094 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16095 _ACEOF
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16102 $as_echo_n "checking for sigaddset... " >&6; }
16103 if ${wine_cv_have_sigaddset+:} false; then :
16104 $as_echo_n "(cached) " >&6
16105 else
16106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16107 /* end confdefs.h. */
16108 #include <signal.h>
16110 main ()
16112 sigset_t set; sigaddset(&set,SIGTERM);
16114 return 0;
16116 _ACEOF
16117 if ac_fn_c_try_link "$LINENO"; then :
16118 wine_cv_have_sigaddset=yes
16119 else
16120 wine_cv_have_sigaddset=no
16122 rm -f core conftest.err conftest.$ac_objext \
16123 conftest$ac_exeext conftest.$ac_ext
16125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16126 $as_echo "$wine_cv_have_sigaddset" >&6; }
16127 if test "$wine_cv_have_sigaddset" = "yes"
16128 then
16130 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16136 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16137 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16138 $as_echo_n "(cached) " >&6
16139 else
16140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16141 /* end confdefs.h. */
16142 #include <netdb.h>
16144 main ()
16147 char *name=0;
16148 struct hostent he;
16149 struct hostent *result;
16150 char *buf=0;
16151 int bufsize=0;
16152 int errnr;
16153 char *addr=0;
16154 int addrlen=0;
16155 int addrtype=0;
16156 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16157 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16160 return 0;
16162 _ACEOF
16163 if ac_fn_c_try_link "$LINENO"; then :
16164 wine_cv_linux_gethostbyname_r_6=yes
16165 else
16166 wine_cv_linux_gethostbyname_r_6=no
16169 rm -f core conftest.err conftest.$ac_objext \
16170 conftest$ac_exeext conftest.$ac_ext
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16174 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16175 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16176 then
16178 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16182 if test "$ac_cv_header_linux_joystick_h" = "yes"
16183 then
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16185 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16186 if ${wine_cv_linux_joystick_22_api+:} false; then :
16187 $as_echo_n "(cached) " >&6
16188 else
16189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16190 /* end confdefs.h. */
16192 #include <sys/ioctl.h>
16193 #include <sys/types.h>
16194 #include <linux/joystick.h>
16196 struct js_event blub;
16197 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16198 #error "no 2.2 header"
16199 #endif
16202 main ()
16204 /*empty*/
16206 return 0;
16208 _ACEOF
16209 if ac_fn_c_try_compile "$LINENO"; then :
16210 wine_cv_linux_joystick_22_api=yes
16211 else
16212 wine_cv_linux_joystick_22_api=no
16214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16218 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16219 if test "$wine_cv_linux_joystick_22_api" = "yes"
16220 then
16222 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16228 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16229 #ifdef HAVE_SYS_PARAM_H
16230 # include <sys/param.h>
16231 #endif
16232 #ifdef HAVE_SYS_MOUNT_H
16233 # include <sys/mount.h>
16234 #endif
16235 #ifdef HAVE_SYS_VFS_H
16236 # include <sys/vfs.h>
16237 #endif
16238 #ifdef HAVE_SYS_STATFS_H
16239 # include <sys/statfs.h>
16240 #endif
16242 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16244 cat >>confdefs.h <<_ACEOF
16245 #define HAVE_STRUCT_STATFS_F_BFREE 1
16246 _ACEOF
16250 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16251 #ifdef HAVE_SYS_PARAM_H
16252 # include <sys/param.h>
16253 #endif
16254 #ifdef HAVE_SYS_MOUNT_H
16255 # include <sys/mount.h>
16256 #endif
16257 #ifdef HAVE_SYS_VFS_H
16258 # include <sys/vfs.h>
16259 #endif
16260 #ifdef HAVE_SYS_STATFS_H
16261 # include <sys/statfs.h>
16262 #endif
16264 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16266 cat >>confdefs.h <<_ACEOF
16267 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16268 _ACEOF
16272 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16273 #ifdef HAVE_SYS_PARAM_H
16274 # include <sys/param.h>
16275 #endif
16276 #ifdef HAVE_SYS_MOUNT_H
16277 # include <sys/mount.h>
16278 #endif
16279 #ifdef HAVE_SYS_VFS_H
16280 # include <sys/vfs.h>
16281 #endif
16282 #ifdef HAVE_SYS_STATFS_H
16283 # include <sys/statfs.h>
16284 #endif
16286 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16288 cat >>confdefs.h <<_ACEOF
16289 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16290 _ACEOF
16294 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16295 #ifdef HAVE_SYS_PARAM_H
16296 # include <sys/param.h>
16297 #endif
16298 #ifdef HAVE_SYS_MOUNT_H
16299 # include <sys/mount.h>
16300 #endif
16301 #ifdef HAVE_SYS_VFS_H
16302 # include <sys/vfs.h>
16303 #endif
16304 #ifdef HAVE_SYS_STATFS_H
16305 # include <sys/statfs.h>
16306 #endif
16308 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16310 cat >>confdefs.h <<_ACEOF
16311 #define HAVE_STRUCT_STATFS_F_FFREE 1
16312 _ACEOF
16316 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16317 #ifdef HAVE_SYS_PARAM_H
16318 # include <sys/param.h>
16319 #endif
16320 #ifdef HAVE_SYS_MOUNT_H
16321 # include <sys/mount.h>
16322 #endif
16323 #ifdef HAVE_SYS_VFS_H
16324 # include <sys/vfs.h>
16325 #endif
16326 #ifdef HAVE_SYS_STATFS_H
16327 # include <sys/statfs.h>
16328 #endif
16330 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16332 cat >>confdefs.h <<_ACEOF
16333 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16334 _ACEOF
16338 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16339 #ifdef HAVE_SYS_PARAM_H
16340 # include <sys/param.h>
16341 #endif
16342 #ifdef HAVE_SYS_MOUNT_H
16343 # include <sys/mount.h>
16344 #endif
16345 #ifdef HAVE_SYS_VFS_H
16346 # include <sys/vfs.h>
16347 #endif
16348 #ifdef HAVE_SYS_STATFS_H
16349 # include <sys/statfs.h>
16350 #endif
16352 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16354 cat >>confdefs.h <<_ACEOF
16355 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16356 _ACEOF
16362 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16363 #include <sys/statvfs.h>
16364 #endif
16366 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16368 cat >>confdefs.h <<_ACEOF
16369 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16370 _ACEOF
16376 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16377 #include <dirent.h>
16378 #endif
16380 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16382 cat >>confdefs.h <<_ACEOF
16383 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16384 _ACEOF
16390 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16391 #ifdef HAVE_SYS_SOCKET_H
16392 # include <sys/socket.h>
16393 #endif
16394 #ifdef HAVE_SYS_UN_H
16395 # include <sys/un.h>
16396 #endif
16398 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16400 cat >>confdefs.h <<_ACEOF
16401 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16402 _ACEOF
16406 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16407 #ifdef HAVE_SYS_SOCKET_H
16408 # include <sys/socket.h>
16409 #endif
16410 #ifdef HAVE_SYS_UN_H
16411 # include <sys/un.h>
16412 #endif
16414 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16416 cat >>confdefs.h <<_ACEOF
16417 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16418 _ACEOF
16422 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16423 #ifdef HAVE_SYS_SOCKET_H
16424 # include <sys/socket.h>
16425 #endif
16426 #ifdef HAVE_SYS_UN_H
16427 # include <sys/un.h>
16428 #endif
16430 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16432 cat >>confdefs.h <<_ACEOF
16433 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16434 _ACEOF
16440 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16441 #ifdef HAVE_SCSI_SG_H
16442 #include <scsi/sg.h>
16443 #endif
16445 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16447 cat >>confdefs.h <<_ACEOF
16448 #define HAVE_SCSIREQ_T_CMD 1
16449 _ACEOF
16453 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>
16454 #ifdef HAVE_SCSI_SG_H
16455 #include <scsi/sg.h>
16456 #endif
16458 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16460 cat >>confdefs.h <<_ACEOF
16461 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16462 _ACEOF
16468 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16470 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16472 cat >>confdefs.h <<_ACEOF
16473 #define HAVE_SIGINFO_T_SI_FD 1
16474 _ACEOF
16480 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16481 #ifdef HAVE_SYS_MTIO_H
16482 #include <sys/mtio.h>
16483 #endif
16485 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16487 cat >>confdefs.h <<_ACEOF
16488 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16489 _ACEOF
16493 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16494 #ifdef HAVE_SYS_MTIO_H
16495 #include <sys/mtio.h>
16496 #endif
16498 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16500 cat >>confdefs.h <<_ACEOF
16501 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16502 _ACEOF
16506 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16507 #ifdef HAVE_SYS_MTIO_H
16508 #include <sys/mtio.h>
16509 #endif
16511 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16513 cat >>confdefs.h <<_ACEOF
16514 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16515 _ACEOF
16521 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16522 #include <getopt.h>
16523 #endif
16525 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16527 cat >>confdefs.h <<_ACEOF
16528 #define HAVE_STRUCT_OPTION_NAME 1
16529 _ACEOF
16535 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16536 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16538 cat >>confdefs.h <<_ACEOF
16539 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16540 _ACEOF
16544 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16545 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16547 cat >>confdefs.h <<_ACEOF
16548 #define HAVE_STRUCT_STAT_ST_MTIM 1
16549 _ACEOF
16553 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16554 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16556 cat >>confdefs.h <<_ACEOF
16557 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16558 _ACEOF
16562 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16563 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16565 cat >>confdefs.h <<_ACEOF
16566 #define HAVE_STRUCT_STAT_ST_CTIM 1
16567 _ACEOF
16571 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16572 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16574 cat >>confdefs.h <<_ACEOF
16575 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16576 _ACEOF
16580 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16581 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16583 cat >>confdefs.h <<_ACEOF
16584 #define HAVE_STRUCT_STAT_ST_ATIM 1
16585 _ACEOF
16589 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16590 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16592 cat >>confdefs.h <<_ACEOF
16593 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16594 _ACEOF
16598 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16599 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16601 cat >>confdefs.h <<_ACEOF
16602 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16603 _ACEOF
16607 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16608 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16610 cat >>confdefs.h <<_ACEOF
16611 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16612 _ACEOF
16616 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16617 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16619 cat >>confdefs.h <<_ACEOF
16620 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16621 _ACEOF
16625 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16626 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16628 cat >>confdefs.h <<_ACEOF
16629 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16630 _ACEOF
16634 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16635 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16637 cat >>confdefs.h <<_ACEOF
16638 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16639 _ACEOF
16645 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
16646 #include <sys/types.h>
16647 #endif
16648 #ifdef HAVE_NETINET_IN_H
16649 #include <netinet/in.h>
16650 #endif
16652 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16654 cat >>confdefs.h <<_ACEOF
16655 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16656 _ACEOF
16662 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16663 #include <resolv.h>
16664 #endif
16666 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16668 cat >>confdefs.h <<_ACEOF
16669 #define HAVE_STRUCT___RES_STATE 1
16670 _ACEOF
16676 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
16677 #include <resolv.h>
16678 #endif
16680 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16682 cat >>confdefs.h <<_ACEOF
16683 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16684 _ACEOF
16690 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16691 #include <sys/types.h>
16692 #endif
16693 #ifdef HAVE_NETINET_IN_H
16694 # include <netinet/in.h>
16695 #endif
16696 #ifdef HAVE_ARPA_NAMESER_H
16697 # include <arpa/nameser.h>
16698 #endif
16700 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16702 cat >>confdefs.h <<_ACEOF
16703 #define HAVE_NS_MSG__MSG_PTR 1
16704 _ACEOF
16710 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16711 #include <sys/types.h>
16712 #endif
16713 #ifdef HAVE_NETINET_IP_H
16714 #include <netinet/ip.h>
16715 #endif
16716 #ifdef HAVE_NETINET_IP_ICMP_H
16717 #include <netinet/ip_icmp.h>
16718 #endif
16719 #ifdef HAVE_NETINET_ICMP_VAR_H
16720 #include <netinet/icmp_var.h>
16721 #endif
16723 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16725 cat >>confdefs.h <<_ACEOF
16726 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16727 _ACEOF
16733 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16734 #include <sys/types.h>
16735 #endif
16736 #ifdef HAVE_ALIAS_H
16737 #include <alias.h>
16738 #endif
16739 #ifdef HAVE_SYS_SOCKET_H
16740 #include <sys/socket.h>
16741 #endif
16742 #ifdef HAVE_SYS_SOCKETVAR_H
16743 #include <sys/socketvar.h>
16744 #endif
16745 #ifdef HAVE_SYS_TIMEOUT_H
16746 #include <sys/timeout.h>
16747 #endif
16748 #ifdef HAVE_NETINET_IN_H
16749 #include <netinet/in.h>
16750 #endif
16751 #ifdef HAVE_NETINET_IN_SYSTM_H
16752 #include <netinet/in_systm.h>
16753 #endif
16754 #ifdef HAVE_NETINET_IP_H
16755 #include <netinet/ip.h>
16756 #endif
16757 #ifdef HAVE_NETINET_IP_VAR_H
16758 #include <netinet/ip_var.h>
16759 #endif
16760 #ifdef HAVE_NETINET_IP_ICMP_H
16761 #include <netinet/ip_icmp.h>
16762 #endif
16763 #ifdef HAVE_NETINET_ICMP_VAR_H
16764 #include <netinet/icmp_var.h>
16765 #endif
16767 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16769 cat >>confdefs.h <<_ACEOF
16770 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16771 _ACEOF
16777 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16778 #include <sys/types.h>
16779 #endif
16780 #ifdef HAVE_SYS_SOCKETVAR_H
16781 #include <sys/socketvar.h>
16782 #endif
16783 #ifdef HAVE_NETINET_IN_H
16784 #include <netinet/in.h>
16785 #endif
16786 #ifdef HAVE_NETINET_IP_VAR_H
16787 #include <netinet/ip_var.h>
16788 #endif
16790 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16792 cat >>confdefs.h <<_ACEOF
16793 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16794 _ACEOF
16800 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
16801 #include <netinet/ip_var.h>
16802 #endif
16804 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16806 cat >>confdefs.h <<_ACEOF
16807 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16808 _ACEOF
16814 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16815 #include <sys/types.h>
16816 #endif
16817 #ifdef HAVE_SYS_SOCKETVAR_H
16818 #include <sys/socketvar.h>
16819 #endif
16820 #ifdef HAVE_NETINET_IN_H
16821 #include <netinet/in.h>
16822 #endif
16823 #ifdef HAVE_NETINET_TCP_H
16824 #include <netinet/tcp.h>
16825 #endif
16826 #ifdef HAVE_NETINET_TCP_VAR_H
16827 #include <netinet/tcp_var.h>
16828 #endif
16830 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16832 cat >>confdefs.h <<_ACEOF
16833 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16834 _ACEOF
16840 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
16841 #include <netinet/tcp_var.h>
16842 #endif
16844 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16846 cat >>confdefs.h <<_ACEOF
16847 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16848 _ACEOF
16854 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16855 #include <sys/types.h>
16856 #endif
16857 #ifdef HAVE_NETINET_IN_H
16858 #include <netinet/in.h>
16859 #endif
16860 #ifdef HAVE_NETINET_IP_VAR_H
16861 #include <netinet/ip_var.h>
16862 #endif
16863 #ifdef HAVE_NETINET_UDP_H
16864 #include <netinet/udp.h>
16865 #endif
16866 #ifdef HAVE_NETINET_UDP_VAR_H
16867 #include <netinet/udp_var.h>
16868 #endif
16870 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16872 cat >>confdefs.h <<_ACEOF
16873 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16874 _ACEOF
16880 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16881 #include <sys/types.h>
16882 #endif
16883 #ifdef HAVE_NET_IF_H
16884 # include <net/if.h>
16885 #endif
16887 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16889 cat >>confdefs.h <<_ACEOF
16890 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16891 _ACEOF
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16898 $as_echo_n "checking for timezone variable... " >&6; }
16899 if ${ac_cv_have_timezone+:} false; then :
16900 $as_echo_n "(cached) " >&6
16901 else
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16904 #include <time.h>
16906 main ()
16908 timezone = 1
16910 return 0;
16912 _ACEOF
16913 if ac_fn_c_try_link "$LINENO"; then :
16914 ac_cv_have_timezone="yes"
16915 else
16916 ac_cv_have_timezone="no"
16918 rm -f core conftest.err conftest.$ac_objext \
16919 conftest$ac_exeext conftest.$ac_ext
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16922 $as_echo "$ac_cv_have_timezone" >&6; }
16923 if test "$ac_cv_have_timezone" = "yes"
16924 then
16926 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16930 $as_echo_n "checking for daylight variable... " >&6; }
16931 if ${ac_cv_have_daylight+:} false; then :
16932 $as_echo_n "(cached) " >&6
16933 else
16934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16935 /* end confdefs.h. */
16936 #include <time.h>
16938 main ()
16940 daylight = 1
16942 return 0;
16944 _ACEOF
16945 if ac_fn_c_try_link "$LINENO"; then :
16946 ac_cv_have_daylight="yes"
16947 else
16948 ac_cv_have_daylight="no"
16950 rm -f core conftest.err conftest.$ac_objext \
16951 conftest$ac_exeext conftest.$ac_ext
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16954 $as_echo "$ac_cv_have_daylight" >&6; }
16955 if test "$ac_cv_have_daylight" = "yes"
16956 then
16958 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16962 ac_save_LIBS="$LIBS"
16963 LIBS="$LIBS -lm"
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16965 $as_echo_n "checking for isfinite... " >&6; }
16966 if ${ac_cv_have_isfinite+:} false; then :
16967 $as_echo_n "(cached) " >&6
16968 else
16969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16970 /* end confdefs.h. */
16971 #define _GNU_SOURCE
16972 #include <math.h>
16974 main ()
16976 float f = 0.0; return isfinite(f)
16978 return 0;
16980 _ACEOF
16981 if ac_fn_c_try_link "$LINENO"; then :
16982 ac_cv_have_isfinite="yes"
16983 else
16984 ac_cv_have_isfinite="no"
16986 rm -f core conftest.err conftest.$ac_objext \
16987 conftest$ac_exeext conftest.$ac_ext
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16990 $as_echo "$ac_cv_have_isfinite" >&6; }
16991 if test "$ac_cv_have_isfinite" = "yes"
16992 then
16994 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16999 $as_echo_n "checking for isinf... " >&6; }
17000 if ${ac_cv_have_isinf+:} false; then :
17001 $as_echo_n "(cached) " >&6
17002 else
17003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h. */
17005 #include <math.h>
17007 main ()
17009 float f = 0.0; return isinf(f)
17011 return 0;
17013 _ACEOF
17014 if ac_fn_c_try_link "$LINENO"; then :
17015 ac_cv_have_isinf="yes"
17016 else
17017 ac_cv_have_isinf="no"
17019 rm -f core conftest.err conftest.$ac_objext \
17020 conftest$ac_exeext conftest.$ac_ext
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17023 $as_echo "$ac_cv_have_isinf" >&6; }
17024 if test "$ac_cv_have_isinf" = "yes"
17025 then
17027 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17032 $as_echo_n "checking for isnan... " >&6; }
17033 if ${ac_cv_have_isnan+:} false; then :
17034 $as_echo_n "(cached) " >&6
17035 else
17036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h. */
17038 #include <math.h>
17040 main ()
17042 float f = 0.0; return isnan(f)
17044 return 0;
17046 _ACEOF
17047 if ac_fn_c_try_link "$LINENO"; then :
17048 ac_cv_have_isnan="yes"
17049 else
17050 ac_cv_have_isnan="no"
17052 rm -f core conftest.err conftest.$ac_objext \
17053 conftest$ac_exeext conftest.$ac_ext
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17056 $as_echo "$ac_cv_have_isnan" >&6; }
17057 if test "$ac_cv_have_isnan" = "yes"
17058 then
17060 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17064 for ac_func in \
17065 asinh \
17066 asinhf \
17067 cbrt \
17068 cbrtf \
17069 erf \
17070 erff \
17071 exp2 \
17072 exp2f \
17073 lgamma \
17074 lgammaf \
17075 llrint \
17076 llrintf \
17077 llround \
17078 llroundf \
17079 log2 \
17080 log2f \
17081 lrint \
17082 lrintf \
17083 lround \
17084 lroundf \
17085 powl \
17086 remainder \
17087 remainderf \
17088 rint \
17089 rintf \
17090 round \
17091 roundf \
17092 trunc \
17093 truncf
17095 do :
17096 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17097 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17098 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17099 cat >>confdefs.h <<_ACEOF
17100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17101 _ACEOF
17104 done
17106 LIBS="$ac_save_LIBS"
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17109 $as_echo_n "checking for __builtin_clz... " >&6; }
17110 if ${ac_cv_have___builtin_clz+:} false; then :
17111 $as_echo_n "(cached) " >&6
17112 else
17113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h. */
17117 main ()
17119 return __builtin_clz(1)
17121 return 0;
17123 _ACEOF
17124 if ac_fn_c_try_link "$LINENO"; then :
17125 ac_cv_have___builtin_clz="yes"
17126 else
17127 ac_cv_have___builtin_clz="no"
17129 rm -f core conftest.err conftest.$ac_objext \
17130 conftest$ac_exeext conftest.$ac_ext
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17133 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17134 if test "$ac_cv_have___builtin_clz" = "yes"
17135 then
17137 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17142 $as_echo_n "checking for __builtin_popcount... " >&6; }
17143 if ${ac_cv_have___builtin_popcount+:} false; then :
17144 $as_echo_n "(cached) " >&6
17145 else
17146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17147 /* end confdefs.h. */
17150 main ()
17152 return __builtin_popcount(1)
17154 return 0;
17156 _ACEOF
17157 if ac_fn_c_try_link "$LINENO"; then :
17158 ac_cv_have___builtin_popcount="yes"
17159 else
17160 ac_cv_have___builtin_popcount="no"
17162 rm -f core conftest.err conftest.$ac_objext \
17163 conftest$ac_exeext conftest.$ac_ext
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17166 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17167 if test "$ac_cv_have___builtin_popcount" = "yes"
17168 then
17170 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17175 case $host_cpu in
17176 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17177 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17178 if ${ac_cv_cpp_def___i386__+:} false; then :
17179 $as_echo_n "(cached) " >&6
17180 else
17181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17182 /* end confdefs.h. */
17183 #ifndef __i386__
17185 #endif
17186 _ACEOF
17187 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17188 $EGREP "yes" >/dev/null 2>&1; then :
17189 ac_cv_cpp_def___i386__=yes
17190 else
17191 ac_cv_cpp_def___i386__=no
17193 rm -f conftest*
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17197 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17198 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17199 CFLAGS="$CFLAGS -D__i386__"
17200 LINTFLAGS="$LINTFLAGS -D__i386__"
17201 fi ;;
17202 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17203 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17204 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17205 $as_echo_n "(cached) " >&6
17206 else
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17209 #ifndef __x86_64__
17211 #endif
17212 _ACEOF
17213 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17214 $EGREP "yes" >/dev/null 2>&1; then :
17215 ac_cv_cpp_def___x86_64__=yes
17216 else
17217 ac_cv_cpp_def___x86_64__=no
17219 rm -f conftest*
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17223 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17224 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17225 CFLAGS="$CFLAGS -D__x86_64__"
17226 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17227 fi ;;
17228 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17229 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17230 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17231 $as_echo_n "(cached) " >&6
17232 else
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17235 #ifndef __sparc64__
17237 #endif
17238 _ACEOF
17239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17240 $EGREP "yes" >/dev/null 2>&1; then :
17241 ac_cv_cpp_def___sparc64__=yes
17242 else
17243 ac_cv_cpp_def___sparc64__=no
17245 rm -f conftest*
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17249 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17250 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17251 CFLAGS="$CFLAGS -D__sparc64__"
17252 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17253 fi ;;
17254 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17255 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17256 if ${ac_cv_cpp_def___sparc__+:} false; then :
17257 $as_echo_n "(cached) " >&6
17258 else
17259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17260 /* end confdefs.h. */
17261 #ifndef __sparc__
17263 #endif
17264 _ACEOF
17265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17266 $EGREP "yes" >/dev/null 2>&1; then :
17267 ac_cv_cpp_def___sparc__=yes
17268 else
17269 ac_cv_cpp_def___sparc__=no
17271 rm -f conftest*
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17275 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17276 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17277 CFLAGS="$CFLAGS -D__sparc__"
17278 LINTFLAGS="$LINTFLAGS -D__sparc__"
17279 fi ;;
17280 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17281 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17282 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17283 $as_echo_n "(cached) " >&6
17284 else
17285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h. */
17287 #ifndef __powerpc64__
17289 #endif
17290 _ACEOF
17291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17292 $EGREP "yes" >/dev/null 2>&1; then :
17293 ac_cv_cpp_def___powerpc64__=yes
17294 else
17295 ac_cv_cpp_def___powerpc64__=no
17297 rm -f conftest*
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17301 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17302 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17303 CFLAGS="$CFLAGS -D__powerpc64__"
17304 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17305 fi ;;
17306 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17307 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17308 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17309 $as_echo_n "(cached) " >&6
17310 else
17311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17312 /* end confdefs.h. */
17313 #ifndef __powerpc__
17315 #endif
17316 _ACEOF
17317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17318 $EGREP "yes" >/dev/null 2>&1; then :
17319 ac_cv_cpp_def___powerpc__=yes
17320 else
17321 ac_cv_cpp_def___powerpc__=no
17323 rm -f conftest*
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17327 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17328 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17329 CFLAGS="$CFLAGS -D__powerpc__"
17330 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17331 fi ;;
17332 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17333 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17334 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17335 $as_echo_n "(cached) " >&6
17336 else
17337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17338 /* end confdefs.h. */
17339 #ifndef __aarch64__
17341 #endif
17342 _ACEOF
17343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17344 $EGREP "yes" >/dev/null 2>&1; then :
17345 ac_cv_cpp_def___aarch64__=yes
17346 else
17347 ac_cv_cpp_def___aarch64__=no
17349 rm -f conftest*
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17353 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17354 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17355 CFLAGS="$CFLAGS -D__aarch64__"
17356 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17357 fi ;;
17358 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17359 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17360 if ${ac_cv_cpp_def___arm__+:} false; then :
17361 $as_echo_n "(cached) " >&6
17362 else
17363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h. */
17365 #ifndef __arm__
17367 #endif
17368 _ACEOF
17369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17370 $EGREP "yes" >/dev/null 2>&1; then :
17371 ac_cv_cpp_def___arm__=yes
17372 else
17373 ac_cv_cpp_def___arm__=no
17375 rm -f conftest*
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17379 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17380 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17381 CFLAGS="$CFLAGS -D__arm__"
17382 LINTFLAGS="$LINTFLAGS -D__arm__"
17383 fi ;;
17384 esac
17386 case $host_vendor in
17387 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17388 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17389 if ${ac_cv_cpp_def___sun__+:} false; then :
17390 $as_echo_n "(cached) " >&6
17391 else
17392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17393 /* end confdefs.h. */
17394 #ifndef __sun__
17396 #endif
17397 _ACEOF
17398 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17399 $EGREP "yes" >/dev/null 2>&1; then :
17400 ac_cv_cpp_def___sun__=yes
17401 else
17402 ac_cv_cpp_def___sun__=no
17404 rm -f conftest*
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17408 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17409 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17410 CFLAGS="$CFLAGS -D__sun__"
17411 LINTFLAGS="$LINTFLAGS -D__sun__"
17412 fi ;;
17413 esac
17419 ac_config_commands="$ac_config_commands include/stamp-h"
17421 $as_echo_n "creating Makefile rules..." >&6
17423 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17424 SOCKET_LIBS = $SOCKET_LIBS
17425 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17426 IOKIT_LIBS = $IOKIT_LIBS
17427 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17428 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17429 CORESERVICES_LIBS = $CORESERVICES_LIBS
17430 APPKIT_LIBS = $APPKIT_LIBS
17431 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17432 SECURITY_LIBS = $SECURITY_LIBS
17433 COREAUDIO_LIBS = $COREAUDIO_LIBS
17434 OPENAL_LIBS = $OPENAL_LIBS
17435 OPENCL_LIBS = $OPENCL_LIBS
17436 QUICKTIME_LIBS = $QUICKTIME_LIBS
17437 CARBON_LIBS = $CARBON_LIBS
17438 PTHREAD_LIBS = $PTHREAD_LIBS
17439 X_CFLAGS = $X_CFLAGS
17440 X_PRE_LIBS = $X_PRE_LIBS
17441 X_LIBS = $X_LIBS
17442 X_EXTRA_LIBS = $X_EXTRA_LIBS
17443 PCAP_LIBS = $PCAP_LIBS
17444 XML2_CFLAGS = $XML2_CFLAGS
17445 XML2_LIBS = $XML2_LIBS
17446 XSLT_CFLAGS = $XSLT_CFLAGS
17447 XSLT_LIBS = $XSLT_LIBS
17448 DBUS_CFLAGS = $DBUS_CFLAGS
17449 DBUS_LIBS = $DBUS_LIBS
17450 HAL_CFLAGS = $HAL_CFLAGS
17451 HAL_LIBS = $HAL_LIBS
17452 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17453 GNUTLS_LIBS = $GNUTLS_LIBS
17454 SANE_CFLAGS = $SANE_CFLAGS
17455 SANE_LIBS = $SANE_LIBS
17456 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17457 GPHOTO2_LIBS = $GPHOTO2_LIBS
17458 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17459 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17460 RESOLV_LIBS = $RESOLV_LIBS
17461 LCMS2_CFLAGS = $LCMS2_CFLAGS
17462 LCMS2_LIBS = $LCMS2_LIBS
17463 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17464 FREETYPE_LIBS = $FREETYPE_LIBS
17465 Z_LIBS = $Z_LIBS
17466 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17467 PULSE_CFLAGS = $PULSE_CFLAGS
17468 PULSE_LIBS = $PULSE_LIBS
17469 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17470 GSTREAMER_LIBS = $GSTREAMER_LIBS
17471 ALSA_LIBS = $ALSA_LIBS
17472 OSS4_CFLAGS = $OSS4_CFLAGS
17473 UDEV_CFLAGS = $UDEV_CFLAGS
17474 UDEV_LIBS = $UDEV_LIBS
17475 CAPI20_CFLAGS = $CAPI20_CFLAGS
17476 CAPI20_LIBS = $CAPI20_LIBS
17477 CUPS_CFLAGS = $CUPS_CFLAGS
17478 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17479 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17480 JPEG_CFLAGS = $JPEG_CFLAGS
17481 JPEG_LIBS = $JPEG_LIBS
17482 PNG_CFLAGS = $PNG_CFLAGS
17483 PNG_LIBS = $PNG_LIBS
17484 TIFF_CFLAGS = $TIFF_CFLAGS
17485 TIFF_LIBS = $TIFF_LIBS
17486 MPG123_CFLAGS = $MPG123_CFLAGS
17487 MPG123_LIBS = $MPG123_LIBS
17488 KSTAT_LIBS = $KSTAT_LIBS
17489 PROCSTAT_LIBS = $PROCSTAT_LIBS
17490 NETAPI_CFLAGS = $NETAPI_CFLAGS
17491 NETAPI_LIBS = $NETAPI_LIBS
17492 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17493 DL_LIBS = $DL_LIBS
17494 POLL_LIBS = $POLL_LIBS
17495 RT_LIBS = $RT_LIBS
17496 LDAP_LIBS = $LDAP_LIBS
17501 wine_fn_append_rule "
17502 # Rules automatically generated by configure
17504 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17506 .INIT: Makefile
17507 .MAKEFILEDEPS:
17508 all: Makefile
17509 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17510 @./config.status Make.tmp Makefile
17511 depend: \$(MAKEDEP) dummy
17512 \$(MAKEDEP)"
17514 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17515 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17517 if test "x$enable_fonts" != xno; then
17518 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17519 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17520 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17521 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17522 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17523 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17525 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17526 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17527 ac_config_links="$ac_config_links wine:tools/winewrapper"
17528 wine_fn_config_symlink wine
17529 if test "x$enable_win64" != xno; then
17530 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17531 wine_fn_config_symlink wine64
17534 wine_fn_config_dll acledit enable_acledit
17535 wine_fn_config_dll aclui enable_aclui implib
17536 wine_fn_config_dll activeds enable_activeds implib
17537 wine_fn_config_dll actxprxy enable_actxprxy clean
17538 wine_fn_config_lib adsiid
17539 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17540 wine_fn_config_test dlls/advapi32/tests advapi32_test
17541 wine_fn_config_dll advpack enable_advpack implib
17542 wine_fn_config_test dlls/advpack/tests advpack_test
17543 wine_fn_config_dll amstream enable_amstream clean
17544 wine_fn_config_test dlls/amstream/tests amstream_test
17545 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17546 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17547 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17548 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17549 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17550 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17551 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17552 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17553 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17554 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17555 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17556 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17557 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17558 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17559 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17560 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17561 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17562 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17563 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17564 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17565 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17566 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17567 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17568 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17569 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17570 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17571 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17572 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17573 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17574 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17575 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17576 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17577 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17578 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17579 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17580 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17581 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17582 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17583 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17584 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17585 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17587 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17588 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17590 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17591 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17592 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17595 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17596 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17598 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17599 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17600 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17601 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17602 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17603 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17604 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17606 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17607 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17609 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17611 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17616 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17620 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17622 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17623 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17625 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17635 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17636 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17641 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17642 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17643 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17644 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17645 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17646 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17647 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17648 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17649 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17650 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17651 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17652 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17653 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17654 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17655 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17656 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17657 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17658 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17659 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17660 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17661 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17662 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17663 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17664 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17665 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17666 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17667 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17668 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17669 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17670 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17671 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17672 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17673 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17674 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17675 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17676 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17677 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17678 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17679 wine_fn_config_dll apphelp enable_apphelp
17680 wine_fn_config_test dlls/apphelp/tests apphelp_test
17681 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17682 wine_fn_config_dll atl enable_atl clean,implib
17683 wine_fn_config_test dlls/atl/tests atl_test
17684 wine_fn_config_dll atl100 enable_atl100 clean,implib
17685 wine_fn_config_test dlls/atl100/tests atl100_test
17686 wine_fn_config_dll atl110 enable_atl110 clean
17687 wine_fn_config_dll atl80 enable_atl80 clean,implib
17688 wine_fn_config_test dlls/atl80/tests atl80_test
17689 wine_fn_config_dll atl90 enable_atl90 clean
17690 wine_fn_config_dll authz enable_authz
17691 wine_fn_config_dll avicap32 enable_avicap32 implib
17692 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17693 wine_fn_config_test dlls/avifil32/tests avifil32_test
17694 wine_fn_config_dll avifile.dll16 enable_win16
17695 wine_fn_config_dll avrt enable_avrt implib
17696 wine_fn_config_dll bcrypt enable_bcrypt implib
17697 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17698 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17699 wine_fn_config_dll browseui enable_browseui clean
17700 wine_fn_config_test dlls/browseui/tests browseui_test
17701 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17702 wine_fn_config_dll cabinet enable_cabinet implib
17703 wine_fn_config_test dlls/cabinet/tests cabinet_test
17704 wine_fn_config_dll capi2032 enable_capi2032 implib
17705 wine_fn_config_dll cards enable_cards implib
17706 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17707 wine_fn_config_dll clusapi enable_clusapi implib
17708 wine_fn_config_dll combase enable_combase
17709 wine_fn_config_test dlls/combase/tests combase_test
17710 wine_fn_config_dll comcat enable_comcat
17711 wine_fn_config_test dlls/comcat/tests comcat_test
17712 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17713 wine_fn_config_test dlls/comctl32/tests comctl32_test
17714 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17715 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17716 wine_fn_config_dll comm.drv16 enable_win16
17717 wine_fn_config_dll commdlg.dll16 enable_win16
17718 wine_fn_config_dll compobj.dll16 enable_win16
17719 wine_fn_config_dll compstui enable_compstui implib
17720 wine_fn_config_dll comsvcs enable_comsvcs implib
17721 wine_fn_config_dll concrt140 enable_concrt140
17722 wine_fn_config_dll connect enable_connect
17723 wine_fn_config_dll credui enable_credui clean,implib
17724 wine_fn_config_test dlls/credui/tests credui_test
17725 wine_fn_config_dll crtdll enable_crtdll
17726 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17727 wine_fn_config_test dlls/crypt32/tests crypt32_test
17728 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17729 wine_fn_config_dll cryptdll enable_cryptdll implib
17730 wine_fn_config_dll cryptext enable_cryptext
17731 wine_fn_config_dll cryptnet enable_cryptnet implib
17732 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17733 wine_fn_config_dll cryptui enable_cryptui clean,implib
17734 wine_fn_config_test dlls/cryptui/tests cryptui_test
17735 wine_fn_config_dll ctapi32 enable_ctapi32
17736 wine_fn_config_dll ctl3d.dll16 enable_win16
17737 wine_fn_config_dll ctl3d32 enable_ctl3d32
17738 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17739 wine_fn_config_dll d2d1 enable_d2d1 implib
17740 wine_fn_config_test dlls/d2d1/tests d2d1_test
17741 wine_fn_config_dll d3d10 enable_d3d10 implib
17742 wine_fn_config_test dlls/d3d10/tests d3d10_test
17743 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17744 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17745 wine_fn_config_dll d3d10core enable_d3d10core implib
17746 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17747 wine_fn_config_dll d3d11 enable_d3d11 implib
17748 wine_fn_config_test dlls/d3d11/tests d3d11_test
17749 wine_fn_config_dll d3d8 enable_d3d8 implib
17750 wine_fn_config_test dlls/d3d8/tests d3d8_test
17751 wine_fn_config_dll d3d9 enable_d3d9 implib
17752 wine_fn_config_test dlls/d3d9/tests d3d9_test
17753 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17754 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17755 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17756 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17757 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17758 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17759 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17760 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17761 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17762 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17763 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17764 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17765 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17766 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17767 wine_fn_config_dll d3dim enable_d3dim
17768 wine_fn_config_dll d3drm enable_d3drm implib
17769 wine_fn_config_test dlls/d3drm/tests d3drm_test
17770 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17771 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17772 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17773 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17774 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17775 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17776 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17777 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17778 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17779 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17780 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17781 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17782 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17783 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17784 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17785 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17786 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17787 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17788 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17789 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17790 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17791 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17792 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17793 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17794 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17795 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17796 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17797 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17798 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17799 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17800 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17801 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17802 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17803 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17804 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17805 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17806 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17807 wine_fn_config_dll davclnt enable_davclnt
17808 wine_fn_config_dll dbgeng enable_dbgeng implib
17809 wine_fn_config_dll dbghelp enable_dbghelp implib
17810 wine_fn_config_dll dciman32 enable_dciman32 implib
17811 wine_fn_config_dll ddeml.dll16 enable_win16
17812 wine_fn_config_dll ddraw enable_ddraw clean,implib
17813 wine_fn_config_test dlls/ddraw/tests ddraw_test
17814 wine_fn_config_dll ddrawex enable_ddrawex clean
17815 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17816 wine_fn_config_dll devenum enable_devenum clean
17817 wine_fn_config_test dlls/devenum/tests devenum_test
17818 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17819 wine_fn_config_dll difxapi enable_difxapi
17820 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17821 wine_fn_config_test dlls/dinput/tests dinput_test
17822 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17823 wine_fn_config_test dlls/dinput8/tests dinput8_test
17824 wine_fn_config_dll dispdib.dll16 enable_win16
17825 wine_fn_config_dll dispex enable_dispex clean
17826 wine_fn_config_test dlls/dispex/tests dispex_test
17827 wine_fn_config_dll display.drv16 enable_win16
17828 wine_fn_config_dll dmband enable_dmband clean
17829 wine_fn_config_test dlls/dmband/tests dmband_test
17830 wine_fn_config_dll dmcompos enable_dmcompos clean
17831 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17832 wine_fn_config_dll dmime enable_dmime clean
17833 wine_fn_config_test dlls/dmime/tests dmime_test
17834 wine_fn_config_dll dmloader enable_dmloader clean
17835 wine_fn_config_test dlls/dmloader/tests dmloader_test
17836 wine_fn_config_dll dmscript enable_dmscript clean
17837 wine_fn_config_test dlls/dmscript/tests dmscript_test
17838 wine_fn_config_dll dmstyle enable_dmstyle clean
17839 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17840 wine_fn_config_dll dmsynth enable_dmsynth clean
17841 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17842 wine_fn_config_dll dmusic enable_dmusic clean
17843 wine_fn_config_test dlls/dmusic/tests dmusic_test
17844 wine_fn_config_dll dmusic32 enable_dmusic32
17845 wine_fn_config_dll dnsapi enable_dnsapi implib
17846 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17847 wine_fn_config_dll dplay enable_dplay
17848 wine_fn_config_dll dplayx enable_dplayx clean,implib
17849 wine_fn_config_test dlls/dplayx/tests dplayx_test
17850 wine_fn_config_dll dpnaddr enable_dpnaddr
17851 wine_fn_config_dll dpnet enable_dpnet clean,implib
17852 wine_fn_config_test dlls/dpnet/tests dpnet_test
17853 wine_fn_config_dll dpnhpast enable_dpnhpast
17854 wine_fn_config_dll dpnlobby enable_dpnlobby
17855 wine_fn_config_dll dpvoice enable_dpvoice clean
17856 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17857 wine_fn_config_dll dpwsockx enable_dpwsockx
17858 wine_fn_config_dll drmclien enable_drmclien
17859 wine_fn_config_dll dsound enable_dsound clean,implib
17860 wine_fn_config_test dlls/dsound/tests dsound_test
17861 wine_fn_config_dll dssenh enable_dssenh
17862 wine_fn_config_test dlls/dssenh/tests dssenh_test
17863 wine_fn_config_dll dswave enable_dswave clean
17864 wine_fn_config_test dlls/dswave/tests dswave_test
17865 wine_fn_config_dll dwmapi enable_dwmapi implib
17866 wine_fn_config_dll dwrite enable_dwrite implib
17867 wine_fn_config_test dlls/dwrite/tests dwrite_test
17868 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17869 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17870 wine_fn_config_lib dxerr8
17871 wine_fn_config_lib dxerr9
17872 wine_fn_config_dll dxgi enable_dxgi implib
17873 wine_fn_config_test dlls/dxgi/tests dxgi_test
17874 wine_fn_config_lib dxguid
17875 wine_fn_config_dll dxva2 enable_dxva2
17876 wine_fn_config_dll esent enable_esent
17877 wine_fn_config_dll evr enable_evr
17878 wine_fn_config_dll explorerframe enable_explorerframe clean
17879 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17880 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17881 wine_fn_config_dll faultrep enable_faultrep implib
17882 wine_fn_config_test dlls/faultrep/tests faultrep_test
17883 wine_fn_config_dll fltlib enable_fltlib
17884 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17885 wine_fn_config_dll fntcache enable_fntcache
17886 wine_fn_config_dll fontsub enable_fontsub
17887 wine_fn_config_dll fusion enable_fusion
17888 wine_fn_config_test dlls/fusion/tests fusion_test
17889 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17890 wine_fn_config_dll gameux enable_gameux clean
17891 wine_fn_config_test dlls/gameux/tests gameux_test
17892 wine_fn_config_dll gdi.exe16 enable_win16
17893 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17894 wine_fn_config_test dlls/gdi32/tests gdi32_test
17895 wine_fn_config_dll gdiplus enable_gdiplus implib
17896 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17897 wine_fn_config_dll glu32 enable_glu32 implib
17898 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17899 wine_fn_config_dll gpkcsp enable_gpkcsp
17900 wine_fn_config_dll hal enable_hal
17901 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17902 wine_fn_config_dll hid enable_hid implib
17903 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17904 wine_fn_config_dll hlink enable_hlink clean,implib
17905 wine_fn_config_test dlls/hlink/tests hlink_test
17906 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17907 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17908 wine_fn_config_dll httpapi enable_httpapi
17909 wine_fn_config_dll iccvid enable_iccvid clean
17910 wine_fn_config_dll icmp enable_icmp
17911 wine_fn_config_dll ieframe enable_ieframe clean,implib
17912 wine_fn_config_test dlls/ieframe/tests ieframe_test
17913 wine_fn_config_dll ifsmgr.vxd enable_win16
17914 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17915 wine_fn_config_dll imagehlp enable_imagehlp implib
17916 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17917 wine_fn_config_dll imm.dll16 enable_win16
17918 wine_fn_config_dll imm32 enable_imm32 implib
17919 wine_fn_config_test dlls/imm32/tests imm32_test
17920 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17921 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17922 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17923 wine_fn_config_dll inetmib1 enable_inetmib1
17924 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17925 wine_fn_config_dll infosoft enable_infosoft clean
17926 wine_fn_config_test dlls/infosoft/tests infosoft_test
17927 wine_fn_config_dll initpki enable_initpki
17928 wine_fn_config_dll inkobj enable_inkobj
17929 wine_fn_config_dll inseng enable_inseng clean
17930 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17931 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17932 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17933 wine_fn_config_dll itircl enable_itircl
17934 wine_fn_config_dll itss enable_itss clean
17935 wine_fn_config_test dlls/itss/tests itss_test
17936 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17937 wine_fn_config_dll jscript enable_jscript clean
17938 wine_fn_config_test dlls/jscript/tests jscript_test
17939 wine_fn_config_dll jsproxy enable_jsproxy implib
17940 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17941 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17942 wine_fn_config_test dlls/kernel32/tests kernel32_test
17943 wine_fn_config_dll kernelbase enable_kernelbase
17944 wine_fn_config_dll keyboard.drv16 enable_win16
17945 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17946 wine_fn_config_dll ksuser enable_ksuser
17947 wine_fn_config_dll ktmw32 enable_ktmw32
17948 wine_fn_config_dll loadperf enable_loadperf implib
17949 wine_fn_config_dll localspl enable_localspl clean
17950 wine_fn_config_test dlls/localspl/tests localspl_test
17951 wine_fn_config_dll localui enable_localui clean
17952 wine_fn_config_test dlls/localui/tests localui_test
17953 wine_fn_config_dll lz32 enable_lz32 implib
17954 wine_fn_config_test dlls/lz32/tests lz32_test
17955 wine_fn_config_dll lzexpand.dll16 enable_win16
17956 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17957 wine_fn_config_test dlls/mapi32/tests mapi32_test
17958 wine_fn_config_dll mapistub enable_mapistub
17959 wine_fn_config_dll mciavi32 enable_mciavi32
17960 wine_fn_config_dll mcicda enable_mcicda
17961 wine_fn_config_dll mciqtz32 enable_mciqtz32
17962 wine_fn_config_dll mciseq enable_mciseq
17963 wine_fn_config_dll mciwave enable_mciwave
17964 wine_fn_config_dll mf enable_mf
17965 wine_fn_config_dll mfplat enable_mfplat
17966 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17967 wine_fn_config_dll mgmtapi enable_mgmtapi
17968 wine_fn_config_dll midimap enable_midimap
17969 wine_fn_config_dll mlang enable_mlang clean,implib
17970 wine_fn_config_test dlls/mlang/tests mlang_test
17971 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17972 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17973 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17974 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17975 wine_fn_config_dll mmdevldr.vxd enable_win16
17976 wine_fn_config_dll mmsystem.dll16 enable_win16
17977 wine_fn_config_dll monodebg.vxd enable_win16
17978 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17979 wine_fn_config_dll mouse.drv16 enable_win16
17980 wine_fn_config_dll mpr enable_mpr clean,implib
17981 wine_fn_config_test dlls/mpr/tests mpr_test
17982 wine_fn_config_dll mprapi enable_mprapi implib
17983 wine_fn_config_dll msacm.dll16 enable_win16
17984 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17985 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17986 wine_fn_config_test dlls/msacm32/tests msacm32_test
17987 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17988 wine_fn_config_dll msasn1 enable_msasn1 implib
17989 wine_fn_config_dll mscat32 enable_mscat32
17990 wine_fn_config_dll mscms enable_mscms implib
17991 wine_fn_config_test dlls/mscms/tests mscms_test
17992 wine_fn_config_dll mscoree enable_mscoree clean
17993 wine_fn_config_test dlls/mscoree/tests mscoree_test
17994 wine_fn_config_dll msctf enable_msctf clean
17995 wine_fn_config_test dlls/msctf/tests msctf_test
17996 wine_fn_config_dll msctfp enable_msctfp clean
17997 wine_fn_config_dll msdaps enable_msdaps clean
17998 wine_fn_config_dll msdelta enable_msdelta
17999 wine_fn_config_dll msdmo enable_msdmo implib
18000 wine_fn_config_test dlls/msdmo/tests msdmo_test
18001 wine_fn_config_dll msdrm enable_msdrm
18002 wine_fn_config_dll msftedit enable_msftedit
18003 wine_fn_config_dll msg711.acm enable_msg711_acm
18004 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18005 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18006 wine_fn_config_dll mshtml enable_mshtml clean,implib
18007 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18008 wine_fn_config_dll msi enable_msi clean,implib
18009 wine_fn_config_test dlls/msi/tests msi_test
18010 wine_fn_config_dll msident enable_msident clean
18011 wine_fn_config_dll msimg32 enable_msimg32 implib
18012 wine_fn_config_dll msimsg enable_msimsg
18013 wine_fn_config_dll msimtf enable_msimtf clean
18014 wine_fn_config_dll msisip enable_msisip
18015 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18016 wine_fn_config_dll msls31 enable_msls31
18017 wine_fn_config_dll msnet32 enable_msnet32
18018 wine_fn_config_dll mspatcha enable_mspatcha implib
18019 wine_fn_config_dll msports enable_msports
18020 wine_fn_config_dll msrle32 enable_msrle32 clean
18021 wine_fn_config_test dlls/msrle32/tests msrle32_test
18022 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18023 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18024 wine_fn_config_dll mssign32 enable_mssign32
18025 wine_fn_config_dll mssip32 enable_mssip32
18026 wine_fn_config_dll mstask enable_mstask clean
18027 wine_fn_config_test dlls/mstask/tests mstask_test
18028 wine_fn_config_dll msvcirt enable_msvcirt
18029 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18030 wine_fn_config_dll msvcm80 enable_msvcm80
18031 wine_fn_config_dll msvcm90 enable_msvcm90
18032 wine_fn_config_dll msvcp100 enable_msvcp100
18033 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18034 wine_fn_config_dll msvcp110 enable_msvcp110
18035 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18036 wine_fn_config_dll msvcp120 enable_msvcp120
18037 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18038 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18039 wine_fn_config_dll msvcp140 enable_msvcp140
18040 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18041 wine_fn_config_dll msvcp60 enable_msvcp60
18042 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18043 wine_fn_config_dll msvcp70 enable_msvcp70
18044 wine_fn_config_dll msvcp71 enable_msvcp71
18045 wine_fn_config_dll msvcp80 enable_msvcp80
18046 wine_fn_config_dll msvcp90 enable_msvcp90
18047 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18048 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18049 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18050 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18051 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18052 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18053 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18054 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18055 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18056 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18057 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18058 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18059 wine_fn_config_dll msvcrt enable_msvcrt implib
18060 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18061 wine_fn_config_dll msvcrt20 enable_msvcrt20
18062 wine_fn_config_dll msvcrt40 enable_msvcrt40
18063 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18064 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18065 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18066 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18067 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18068 wine_fn_config_dll msvideo.dll16 enable_win16
18069 wine_fn_config_dll mswsock enable_mswsock implib
18070 wine_fn_config_dll msxml enable_msxml clean
18071 wine_fn_config_dll msxml2 enable_msxml2 clean
18072 wine_fn_config_dll msxml3 enable_msxml3 clean
18073 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18074 wine_fn_config_dll msxml4 enable_msxml4 clean
18075 wine_fn_config_dll msxml6 enable_msxml6 clean
18076 wine_fn_config_dll ncrypt enable_ncrypt
18077 wine_fn_config_dll nddeapi enable_nddeapi implib
18078 wine_fn_config_dll ndis.sys enable_ndis_sys
18079 wine_fn_config_dll netapi32 enable_netapi32 implib
18080 wine_fn_config_test dlls/netapi32/tests netapi32_test
18081 wine_fn_config_dll netcfgx enable_netcfgx clean
18082 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18083 wine_fn_config_dll netprofm enable_netprofm clean
18084 wine_fn_config_test dlls/netprofm/tests netprofm_test
18085 wine_fn_config_dll newdev enable_newdev implib
18086 wine_fn_config_dll normaliz enable_normaliz implib
18087 wine_fn_config_dll npmshtml enable_npmshtml
18088 wine_fn_config_dll npptools enable_npptools
18089 wine_fn_config_dll ntdll enable_ntdll implib
18090 wine_fn_config_test dlls/ntdll/tests ntdll_test
18091 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18092 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18093 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18094 wine_fn_config_dll ntprint enable_ntprint
18095 wine_fn_config_test dlls/ntprint/tests ntprint_test
18096 wine_fn_config_dll objsel enable_objsel clean
18097 wine_fn_config_dll odbc32 enable_odbc32 implib
18098 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18099 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18100 wine_fn_config_dll odbccu32 enable_odbccu32
18101 wine_fn_config_dll ole2.dll16 enable_win16
18102 wine_fn_config_dll ole2conv.dll16 enable_win16
18103 wine_fn_config_dll ole2disp.dll16 enable_win16
18104 wine_fn_config_dll ole2nls.dll16 enable_win16
18105 wine_fn_config_dll ole2prox.dll16 enable_win16
18106 wine_fn_config_dll ole2thk.dll16 enable_win16
18107 wine_fn_config_dll ole32 enable_ole32 clean,implib
18108 wine_fn_config_test dlls/ole32/tests ole32_test
18109 wine_fn_config_dll oleacc enable_oleacc clean,implib
18110 wine_fn_config_test dlls/oleacc/tests oleacc_test
18111 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18112 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18113 wine_fn_config_dll olecli.dll16 enable_win16
18114 wine_fn_config_dll olecli32 enable_olecli32 implib
18115 wine_fn_config_dll oledb32 enable_oledb32 clean
18116 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18117 wine_fn_config_dll oledlg enable_oledlg clean,implib
18118 wine_fn_config_test dlls/oledlg/tests oledlg_test
18119 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18120 wine_fn_config_dll olesvr.dll16 enable_win16
18121 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18122 wine_fn_config_dll olethk32 enable_olethk32
18123 wine_fn_config_dll openal32 enable_openal32
18124 wine_fn_config_dll opencl enable_opencl
18125 wine_fn_config_dll opengl32 enable_opengl32 implib
18126 wine_fn_config_test dlls/opengl32/tests opengl32_test
18127 wine_fn_config_dll packager enable_packager clean
18128 wine_fn_config_test dlls/packager/tests packager_test
18129 wine_fn_config_dll pdh enable_pdh implib
18130 wine_fn_config_test dlls/pdh/tests pdh_test
18131 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18132 wine_fn_config_dll pidgen enable_pidgen
18133 wine_fn_config_dll powrprof enable_powrprof implib
18134 wine_fn_config_dll printui enable_printui
18135 wine_fn_config_dll prntvpt enable_prntvpt
18136 wine_fn_config_dll propsys enable_propsys clean,implib
18137 wine_fn_config_test dlls/propsys/tests propsys_test
18138 wine_fn_config_dll psapi enable_psapi implib
18139 wine_fn_config_test dlls/psapi/tests psapi_test
18140 wine_fn_config_dll pstorec enable_pstorec clean
18141 wine_fn_config_dll qcap enable_qcap
18142 wine_fn_config_test dlls/qcap/tests qcap_test
18143 wine_fn_config_dll qedit enable_qedit clean
18144 wine_fn_config_test dlls/qedit/tests qedit_test
18145 wine_fn_config_dll qmgr enable_qmgr clean
18146 wine_fn_config_test dlls/qmgr/tests qmgr_test
18147 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18148 wine_fn_config_dll quartz enable_quartz clean,implib
18149 wine_fn_config_test dlls/quartz/tests quartz_test clean
18150 wine_fn_config_dll query enable_query
18151 wine_fn_config_dll rasapi16.dll16 enable_win16
18152 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18153 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18154 wine_fn_config_dll rasdlg enable_rasdlg implib
18155 wine_fn_config_dll regapi enable_regapi
18156 wine_fn_config_dll resutils enable_resutils implib
18157 wine_fn_config_dll riched20 enable_riched20 clean,implib
18158 wine_fn_config_test dlls/riched20/tests riched20_test
18159 wine_fn_config_dll riched32 enable_riched32
18160 wine_fn_config_test dlls/riched32/tests riched32_test
18161 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18162 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18163 wine_fn_config_dll rsabase enable_rsabase
18164 wine_fn_config_dll rsaenh enable_rsaenh implib
18165 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18166 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18167 wine_fn_config_dll rtutils enable_rtutils implib
18168 wine_fn_config_dll samlib enable_samlib
18169 wine_fn_config_dll sane.ds enable_sane_ds clean
18170 wine_fn_config_dll scarddlg enable_scarddlg
18171 wine_fn_config_dll sccbase enable_sccbase
18172 wine_fn_config_dll schannel enable_schannel
18173 wine_fn_config_test dlls/schannel/tests schannel_test
18174 wine_fn_config_dll schedsvc enable_schedsvc clean
18175 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18176 wine_fn_config_dll scrrun enable_scrrun clean
18177 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18178 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18179 wine_fn_config_dll secur32 enable_secur32 implib
18180 wine_fn_config_test dlls/secur32/tests secur32_test
18181 wine_fn_config_dll security enable_security
18182 wine_fn_config_dll sensapi enable_sensapi implib
18183 wine_fn_config_dll serialui enable_serialui clean
18184 wine_fn_config_test dlls/serialui/tests serialui_test
18185 wine_fn_config_dll setupapi enable_setupapi clean,implib
18186 wine_fn_config_test dlls/setupapi/tests setupapi_test
18187 wine_fn_config_dll setupx.dll16 enable_win16
18188 wine_fn_config_dll sfc enable_sfc implib
18189 wine_fn_config_dll sfc_os enable_sfc_os implib
18190 wine_fn_config_dll shdoclc enable_shdoclc clean
18191 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18192 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18193 wine_fn_config_dll shell.dll16 enable_win16
18194 wine_fn_config_dll shell32 enable_shell32 clean,implib
18195 wine_fn_config_test dlls/shell32/tests shell32_test
18196 wine_fn_config_dll shfolder enable_shfolder implib
18197 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18198 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18199 wine_fn_config_dll slbcsp enable_slbcsp
18200 wine_fn_config_dll slc enable_slc implib
18201 wine_fn_config_test dlls/slc/tests slc_test
18202 wine_fn_config_dll snmpapi enable_snmpapi implib
18203 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18204 wine_fn_config_dll softpub enable_softpub
18205 wine_fn_config_dll sound.drv16 enable_win16
18206 wine_fn_config_dll spoolss enable_spoolss implib
18207 wine_fn_config_test dlls/spoolss/tests spoolss_test
18208 wine_fn_config_dll sspicli enable_sspicli
18209 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18210 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18211 wine_fn_config_dll sti enable_sti clean,implib
18212 wine_fn_config_test dlls/sti/tests sti_test
18213 wine_fn_config_dll storage.dll16 enable_win16
18214 wine_fn_config_dll stress.dll16 enable_win16
18215 wine_fn_config_lib strmbase
18216 wine_fn_config_lib strmiids
18217 wine_fn_config_dll svrapi enable_svrapi
18218 wine_fn_config_dll sxs enable_sxs implib
18219 wine_fn_config_test dlls/sxs/tests sxs_test
18220 wine_fn_config_dll system.drv16 enable_win16
18221 wine_fn_config_dll t2embed enable_t2embed implib
18222 wine_fn_config_test dlls/t2embed/tests t2embed_test
18223 wine_fn_config_dll tapi32 enable_tapi32 implib
18224 wine_fn_config_dll taskschd enable_taskschd clean
18225 wine_fn_config_test dlls/taskschd/tests taskschd_test
18226 wine_fn_config_dll tdi.sys enable_tdi_sys
18227 wine_fn_config_dll toolhelp.dll16 enable_win16
18228 wine_fn_config_dll traffic enable_traffic
18229 wine_fn_config_dll twain.dll16 enable_win16
18230 wine_fn_config_dll twain_32 enable_twain_32
18231 wine_fn_config_test dlls/twain_32/tests twain_32_test
18232 wine_fn_config_dll typelib.dll16 enable_win16
18233 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18234 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18235 wine_fn_config_dll unicows enable_unicows implib
18236 wine_fn_config_dll updspapi enable_updspapi
18237 wine_fn_config_dll url enable_url implib
18238 wine_fn_config_dll urlmon enable_urlmon clean,implib
18239 wine_fn_config_test dlls/urlmon/tests urlmon_test
18240 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18241 wine_fn_config_dll user.exe16 enable_win16
18242 wine_fn_config_dll user32 enable_user32 clean,implib
18243 wine_fn_config_test dlls/user32/tests user32_test
18244 wine_fn_config_dll userenv enable_userenv implib
18245 wine_fn_config_test dlls/userenv/tests userenv_test
18246 wine_fn_config_dll usp10 enable_usp10 implib
18247 wine_fn_config_test dlls/usp10/tests usp10_test
18248 wine_fn_config_lib uuid
18249 wine_fn_config_dll uxtheme enable_uxtheme implib
18250 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18251 wine_fn_config_dll vbscript enable_vbscript clean
18252 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18253 wine_fn_config_dll vcomp enable_vcomp
18254 wine_fn_config_test dlls/vcomp/tests vcomp_test
18255 wine_fn_config_dll vcomp100 enable_vcomp100
18256 wine_fn_config_dll vcomp110 enable_vcomp110
18257 wine_fn_config_dll vcomp120 enable_vcomp120
18258 wine_fn_config_dll vcomp140 enable_vcomp140
18259 wine_fn_config_dll vcomp90 enable_vcomp90
18260 wine_fn_config_dll vcruntime140 enable_vcruntime140
18261 wine_fn_config_dll vdhcp.vxd enable_win16
18262 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18263 wine_fn_config_dll ver.dll16 enable_win16
18264 wine_fn_config_dll version enable_version implib
18265 wine_fn_config_test dlls/version/tests version_test
18266 wine_fn_config_dll vmm.vxd enable_win16
18267 wine_fn_config_dll vnbt.vxd enable_win16
18268 wine_fn_config_dll vnetbios.vxd enable_win16
18269 wine_fn_config_dll vssapi enable_vssapi
18270 wine_fn_config_dll vtdapi.vxd enable_win16
18271 wine_fn_config_dll vwin32.vxd enable_win16
18272 wine_fn_config_dll w32skrnl enable_win16
18273 wine_fn_config_dll w32sys.dll16 enable_win16
18274 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18275 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18276 wine_fn_config_dll wbemprox enable_wbemprox clean
18277 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18278 wine_fn_config_dll webservices enable_webservices implib
18279 wine_fn_config_test dlls/webservices/tests webservices_test
18280 wine_fn_config_dll wer enable_wer implib
18281 wine_fn_config_test dlls/wer/tests wer_test
18282 wine_fn_config_dll wevtapi enable_wevtapi
18283 wine_fn_config_dll wiaservc enable_wiaservc clean
18284 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18285 wine_fn_config_dll wimgapi enable_wimgapi
18286 wine_fn_config_dll win32s16.dll16 enable_win16
18287 wine_fn_config_dll win87em.dll16 enable_win16
18288 wine_fn_config_dll winaspi.dll16 enable_win16
18289 wine_fn_config_dll windebug.dll16 enable_win16
18290 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18291 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18292 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18293 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18294 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18295 wine_fn_config_dll winebus.sys enable_winebus_sys
18296 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18297 wine_fn_config_lib winecrt0
18298 wine_fn_config_dll wined3d enable_wined3d implib
18299 wine_fn_config_dll winegstreamer enable_winegstreamer
18300 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18301 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18302 wine_fn_config_dll winemapi enable_winemapi
18303 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18304 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18305 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18306 wine_fn_config_dll wineps16.drv16 enable_win16
18307 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18308 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18309 wine_fn_config_dll winex11.drv enable_winex11_drv
18310 wine_fn_config_dll wing.dll16 enable_win16
18311 wine_fn_config_dll wing32 enable_wing32
18312 wine_fn_config_dll winhttp enable_winhttp clean,implib
18313 wine_fn_config_test dlls/winhttp/tests winhttp_test
18314 wine_fn_config_dll wininet enable_wininet clean,implib
18315 wine_fn_config_test dlls/wininet/tests wininet_test
18316 wine_fn_config_dll winmm enable_winmm clean,implib
18317 wine_fn_config_test dlls/winmm/tests winmm_test
18318 wine_fn_config_dll winnls.dll16 enable_win16
18319 wine_fn_config_dll winnls32 enable_winnls32 implib
18320 wine_fn_config_dll winscard enable_winscard implib
18321 wine_fn_config_dll winsock.dll16 enable_win16
18322 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18323 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18324 wine_fn_config_dll winsta enable_winsta
18325 wine_fn_config_dll wintab.dll16 enable_win16
18326 wine_fn_config_dll wintab32 enable_wintab32 implib
18327 wine_fn_config_test dlls/wintab32/tests wintab32_test
18328 wine_fn_config_dll wintrust enable_wintrust implib
18329 wine_fn_config_test dlls/wintrust/tests wintrust_test
18330 wine_fn_config_dll wlanapi enable_wlanapi
18331 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18332 wine_fn_config_test dlls/wldap32/tests wldap32_test
18333 wine_fn_config_dll wmasf enable_wmasf
18334 wine_fn_config_dll wmi enable_wmi
18335 wine_fn_config_dll wmiutils enable_wmiutils clean
18336 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18337 wine_fn_config_dll wmp enable_wmp clean
18338 wine_fn_config_test dlls/wmp/tests wmp_test
18339 wine_fn_config_dll wmvcore enable_wmvcore
18340 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18341 wine_fn_config_dll wow32 enable_win16 implib
18342 wine_fn_config_dll wpc enable_wpc clean
18343 wine_fn_config_test dlls/wpc/tests wpc_test
18344 wine_fn_config_dll wpcap enable_wpcap
18345 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18346 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18347 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18348 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18349 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18350 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18351 wine_fn_config_dll wsock32 enable_wsock32 implib
18352 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18353 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18354 wine_fn_config_dll wuapi enable_wuapi clean
18355 wine_fn_config_dll wuaueng enable_wuaueng
18356 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18357 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18358 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18359 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18360 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18361 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18362 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18363 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18364 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18365 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18366 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18367 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18368 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18369 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18370 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18371 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18372 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18373 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18374 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18375 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18376 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18377 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18378 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18379 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18380 wine_fn_config_dll xinput1_1 enable_xinput1_1
18381 wine_fn_config_dll xinput1_2 enable_xinput1_2
18382 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18383 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18384 wine_fn_config_dll xinput1_4 enable_xinput1_4
18385 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18386 wine_fn_config_dll xmllite enable_xmllite implib
18387 wine_fn_config_test dlls/xmllite/tests xmllite_test
18388 wine_fn_config_dll xolehlp enable_xolehlp
18389 wine_fn_config_dll xpsprint enable_xpsprint
18390 wine_fn_config_dll xpssvcs enable_xpssvcs
18391 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18392 wine_fn_config_makefile include enable_include clean,install-dev
18393 wine_fn_config_makefile libs/port enable_libs_port
18394 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18395 wine_fn_config_makefile libs/wpp enable_libs_wpp
18396 wine_fn_config_makefile loader enable_loader clean,install-lib
18397 wine_fn_config_makefile po enable_po clean
18398 wine_fn_config_program arp enable_arp install
18399 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18400 wine_fn_config_program attrib enable_attrib clean,install
18401 wine_fn_config_program cabarc enable_cabarc install
18402 wine_fn_config_program cacls enable_cacls install
18403 wine_fn_config_program clock enable_clock clean,install
18404 wine_fn_config_program cmd enable_cmd clean,install
18405 wine_fn_config_test programs/cmd/tests cmd.exe_test
18406 wine_fn_config_program conhost enable_conhost install
18407 wine_fn_config_program control enable_control install
18408 wine_fn_config_program cscript enable_cscript clean,install
18409 wine_fn_config_program dpnsvr enable_dpnsvr install
18410 wine_fn_config_program dxdiag enable_dxdiag clean,install
18411 wine_fn_config_program eject enable_eject install
18412 wine_fn_config_program expand enable_expand install
18413 wine_fn_config_program explorer enable_explorer clean,install
18414 wine_fn_config_program extrac32 enable_extrac32 install
18415 wine_fn_config_program findstr enable_findstr install
18416 wine_fn_config_program fsutil enable_fsutil install
18417 wine_fn_config_program hh enable_hh install
18418 wine_fn_config_program hostname enable_hostname clean,install
18419 wine_fn_config_program icacls enable_icacls install
18420 wine_fn_config_program icinfo enable_icinfo install
18421 wine_fn_config_program iexplore enable_iexplore install
18422 wine_fn_config_program ipconfig enable_ipconfig clean,install
18423 wine_fn_config_program lodctr enable_lodctr install
18424 wine_fn_config_program mofcomp enable_mofcomp install
18425 wine_fn_config_program mshta enable_mshta install
18426 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18427 wine_fn_config_program msinfo32 enable_msinfo32 install
18428 wine_fn_config_program net enable_net clean,install
18429 wine_fn_config_program netsh enable_netsh install
18430 wine_fn_config_program netstat enable_netstat clean,install
18431 wine_fn_config_program ngen enable_ngen install
18432 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18433 wine_fn_config_program oleview enable_oleview clean,install
18434 wine_fn_config_program ping enable_ping install
18435 wine_fn_config_program plugplay enable_plugplay install
18436 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18437 wine_fn_config_program progman enable_progman clean,install
18438 wine_fn_config_program reg enable_reg clean,install
18439 wine_fn_config_test programs/reg/tests reg.exe_test
18440 wine_fn_config_program regasm enable_regasm install
18441 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18442 wine_fn_config_test programs/regedit/tests regedit.exe_test
18443 wine_fn_config_program regsvcs enable_regsvcs install
18444 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18445 wine_fn_config_program rpcss enable_rpcss clean,install
18446 wine_fn_config_program rundll.exe16 enable_win16 install
18447 wine_fn_config_program rundll32 enable_rundll32 install
18448 wine_fn_config_program sc enable_sc install
18449 wine_fn_config_program schtasks enable_schtasks install
18450 wine_fn_config_program sdbinst enable_sdbinst install
18451 wine_fn_config_program secedit enable_secedit install
18452 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18453 wine_fn_config_program services enable_services clean,install
18454 wine_fn_config_test programs/services/tests services.exe_test
18455 wine_fn_config_program shutdown enable_shutdown install
18456 wine_fn_config_program spoolsv enable_spoolsv install
18457 wine_fn_config_program start enable_start clean,install
18458 wine_fn_config_program svchost enable_svchost install
18459 wine_fn_config_program systeminfo enable_systeminfo install
18460 wine_fn_config_program taskkill enable_taskkill clean,install
18461 wine_fn_config_program tasklist enable_tasklist install
18462 wine_fn_config_program taskmgr enable_taskmgr clean,install
18463 wine_fn_config_program termsv enable_termsv install
18464 wine_fn_config_program uninstaller enable_uninstaller clean,install
18465 wine_fn_config_program unlodctr enable_unlodctr install
18466 wine_fn_config_program view enable_view clean,install
18467 wine_fn_config_program wevtutil enable_wevtutil install
18468 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18469 wine_fn_config_program winebrowser enable_winebrowser install
18470 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18471 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18472 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18473 wine_fn_config_program winedevice enable_winedevice install
18474 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18475 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18476 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18477 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18478 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18479 wine_fn_config_program winetest enable_winetest clean
18480 wine_fn_config_program winevdm enable_win16 install
18481 wine_fn_config_program winhelp.exe16 enable_win16 install
18482 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18483 wine_fn_config_program winoldap.mod16 enable_win16 install
18484 wine_fn_config_program winver enable_winver install
18485 wine_fn_config_program wmic enable_wmic clean,install
18486 wine_fn_config_program wmplayer enable_wmplayer install
18487 wine_fn_config_program wordpad enable_wordpad clean,install
18488 wine_fn_config_program write enable_write clean,install
18489 wine_fn_config_program wscript enable_wscript clean,install
18490 wine_fn_config_test programs/wscript/tests wscript.exe_test
18491 wine_fn_config_program wusa enable_wusa install
18492 wine_fn_config_program xcopy enable_xcopy clean,install
18493 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18494 wine_fn_config_makefile server enable_server clean,install-lib
18495 wine_fn_config_tool tools clean
18496 wine_fn_config_tool tools/sfnt2fon clean
18497 wine_fn_config_tool tools/widl clean,install-dev
18498 wine_fn_config_tool tools/winebuild clean,install-dev
18499 wine_fn_config_tool tools/winedump clean,install-dev
18500 wine_fn_config_tool tools/winegcc clean,install-dev
18501 wine_fn_config_tool tools/winemaker clean,install-dev
18502 wine_fn_config_tool tools/wmc clean,install-dev
18503 wine_fn_config_tool tools/wrc clean,install-dev
18506 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18507 wine_fn_append_file CONFIGURE_TARGETS "tags"
18508 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18509 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18510 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18511 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18512 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18513 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18515 if test "x$enable_tools" != xno
18516 then
18517 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18518 ac_config_commands="$ac_config_commands tools/makedep"
18522 ac_config_commands="$ac_config_commands Makefile"
18525 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18529 if test "x$enable_maintainer_mode" = xyes
18530 then
18531 wine_fn_append_rule "configure: configure.ac aclocal.m4
18532 autoconf --warnings=all
18533 include/config.h.in: include/stamp-h.in
18534 include/stamp-h.in: configure.ac aclocal.m4
18535 autoheader --warnings=all
18536 @echo timestamp > \$@"
18539 if test "x$enable_tools" != xno
18540 then
18541 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18542 @./config.status tools/makedep
18543 Makefile: tools/makedep$ac_exeext"
18544 else
18545 wine_fn_append_rule "\$(MAKEDEP):
18546 @echo \"You need to run make in $TOOLSDIR first\" && false"
18549 if test -n "$with_wine64"
18550 then
18551 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18552 fonts server:
18553 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18554 $with_wine64/loader/wine:
18555 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18556 $with_wine64/loader/wine-preloader:
18557 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18558 clean::
18559 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18560 else
18561 WINELOADER_INSTALL="wine.inf"
18563 wine_fn_append_rule "install install-lib::
18564 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18565 uninstall::
18566 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18567 case $host_os in
18568 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18569 *) wine_fn_append_rule "install install-lib::
18570 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18571 uninstall::
18572 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18573 esac
18576 $as_echo " done" >&6
18577 cat >confcache <<\_ACEOF
18578 # This file is a shell script that caches the results of configure
18579 # tests run on this system so they can be shared between configure
18580 # scripts and configure runs, see configure's option --config-cache.
18581 # It is not useful on other systems. If it contains results you don't
18582 # want to keep, you may remove or edit it.
18584 # config.status only pays attention to the cache file if you give it
18585 # the --recheck option to rerun configure.
18587 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18588 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18589 # following values.
18591 _ACEOF
18593 # The following way of writing the cache mishandles newlines in values,
18594 # but we know of no workaround that is simple, portable, and efficient.
18595 # So, we kill variables containing newlines.
18596 # Ultrix sh set writes to stderr and can't be redirected directly,
18597 # and sets the high bit in the cache file unless we assign to the vars.
18599 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18600 eval ac_val=\$$ac_var
18601 case $ac_val in #(
18602 *${as_nl}*)
18603 case $ac_var in #(
18604 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18605 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18606 esac
18607 case $ac_var in #(
18608 _ | IFS | as_nl) ;; #(
18609 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18610 *) { eval $ac_var=; unset $ac_var;} ;;
18611 esac ;;
18612 esac
18613 done
18615 (set) 2>&1 |
18616 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18617 *${as_nl}ac_space=\ *)
18618 # `set' does not quote correctly, so add quotes: double-quote
18619 # substitution turns \\\\ into \\, and sed turns \\ into \.
18620 sed -n \
18621 "s/'/'\\\\''/g;
18622 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18623 ;; #(
18625 # `set' quotes correctly as required by POSIX, so do not add quotes.
18626 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18628 esac |
18629 sort
18631 sed '
18632 /^ac_cv_env_/b end
18633 t clear
18634 :clear
18635 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18636 t end
18637 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18638 :end' >>confcache
18639 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18640 if test -w "$cache_file"; then
18641 if test "x$cache_file" != "x/dev/null"; then
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18643 $as_echo "$as_me: updating cache $cache_file" >&6;}
18644 if test ! -f "$cache_file" || test -h "$cache_file"; then
18645 cat confcache >"$cache_file"
18646 else
18647 case $cache_file in #(
18648 */* | ?:*)
18649 mv -f confcache "$cache_file"$$ &&
18650 mv -f "$cache_file"$$ "$cache_file" ;; #(
18652 mv -f confcache "$cache_file" ;;
18653 esac
18656 else
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18658 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18661 rm -f confcache
18663 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18664 # Let make expand exec_prefix.
18665 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18667 DEFS=-DHAVE_CONFIG_H
18669 ac_libobjs=
18670 ac_ltlibobjs=
18672 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18673 # 1. Remove the extension, and $U if already installed.
18674 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18675 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18676 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18677 # will be set to the directory where LIBOBJS objects are built.
18678 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18679 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18680 done
18681 LIBOBJS=$ac_libobjs
18683 LTLIBOBJS=$ac_ltlibobjs
18687 : "${CONFIG_STATUS=./config.status}"
18688 ac_write_fail=0
18689 ac_clean_files_save=$ac_clean_files
18690 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18692 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18693 as_write_fail=0
18694 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18695 #! $SHELL
18696 # Generated by $as_me.
18697 # Run this file to recreate the current configuration.
18698 # Compiler output produced by configure, useful for debugging
18699 # configure, is in config.log if it exists.
18701 debug=false
18702 ac_cs_recheck=false
18703 ac_cs_silent=false
18705 SHELL=\${CONFIG_SHELL-$SHELL}
18706 export SHELL
18707 _ASEOF
18708 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18709 ## -------------------- ##
18710 ## M4sh Initialization. ##
18711 ## -------------------- ##
18713 # Be more Bourne compatible
18714 DUALCASE=1; export DUALCASE # for MKS sh
18715 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18716 emulate sh
18717 NULLCMD=:
18718 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18719 # is contrary to our usage. Disable this feature.
18720 alias -g '${1+"$@"}'='"$@"'
18721 setopt NO_GLOB_SUBST
18722 else
18723 case `(set -o) 2>/dev/null` in #(
18724 *posix*) :
18725 set -o posix ;; #(
18726 *) :
18728 esac
18732 as_nl='
18734 export as_nl
18735 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18736 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18737 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18738 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18739 # Prefer a ksh shell builtin over an external printf program on Solaris,
18740 # but without wasting forks for bash or zsh.
18741 if test -z "$BASH_VERSION$ZSH_VERSION" \
18742 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18743 as_echo='print -r --'
18744 as_echo_n='print -rn --'
18745 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18746 as_echo='printf %s\n'
18747 as_echo_n='printf %s'
18748 else
18749 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18750 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18751 as_echo_n='/usr/ucb/echo -n'
18752 else
18753 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18754 as_echo_n_body='eval
18755 arg=$1;
18756 case $arg in #(
18757 *"$as_nl"*)
18758 expr "X$arg" : "X\\(.*\\)$as_nl";
18759 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18760 esac;
18761 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18763 export as_echo_n_body
18764 as_echo_n='sh -c $as_echo_n_body as_echo'
18766 export as_echo_body
18767 as_echo='sh -c $as_echo_body as_echo'
18770 # The user is always right.
18771 if test "${PATH_SEPARATOR+set}" != set; then
18772 PATH_SEPARATOR=:
18773 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18774 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18775 PATH_SEPARATOR=';'
18780 # IFS
18781 # We need space, tab and new line, in precisely that order. Quoting is
18782 # there to prevent editors from complaining about space-tab.
18783 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18784 # splitting by setting IFS to empty value.)
18785 IFS=" "" $as_nl"
18787 # Find who we are. Look in the path if we contain no directory separator.
18788 as_myself=
18789 case $0 in #((
18790 *[\\/]* ) as_myself=$0 ;;
18791 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18792 for as_dir in $PATH
18794 IFS=$as_save_IFS
18795 test -z "$as_dir" && as_dir=.
18796 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18797 done
18798 IFS=$as_save_IFS
18801 esac
18802 # We did not find ourselves, most probably we were run as `sh COMMAND'
18803 # in which case we are not to be found in the path.
18804 if test "x$as_myself" = x; then
18805 as_myself=$0
18807 if test ! -f "$as_myself"; then
18808 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18809 exit 1
18812 # Unset variables that we do not need and which cause bugs (e.g. in
18813 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18814 # suppresses any "Segmentation fault" message there. '((' could
18815 # trigger a bug in pdksh 5.2.14.
18816 for as_var in BASH_ENV ENV MAIL MAILPATH
18817 do eval test x\${$as_var+set} = xset \
18818 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18819 done
18820 PS1='$ '
18821 PS2='> '
18822 PS4='+ '
18824 # NLS nuisances.
18825 LC_ALL=C
18826 export LC_ALL
18827 LANGUAGE=C
18828 export LANGUAGE
18830 # CDPATH.
18831 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18834 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18835 # ----------------------------------------
18836 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18837 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18838 # script with STATUS, using 1 if that was 0.
18839 as_fn_error ()
18841 as_status=$1; test $as_status -eq 0 && as_status=1
18842 if test "$4"; then
18843 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18844 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18846 $as_echo "$as_me: error: $2" >&2
18847 as_fn_exit $as_status
18848 } # as_fn_error
18851 # as_fn_set_status STATUS
18852 # -----------------------
18853 # Set $? to STATUS, without forking.
18854 as_fn_set_status ()
18856 return $1
18857 } # as_fn_set_status
18859 # as_fn_exit STATUS
18860 # -----------------
18861 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18862 as_fn_exit ()
18864 set +e
18865 as_fn_set_status $1
18866 exit $1
18867 } # as_fn_exit
18869 # as_fn_unset VAR
18870 # ---------------
18871 # Portably unset VAR.
18872 as_fn_unset ()
18874 { eval $1=; unset $1;}
18876 as_unset=as_fn_unset
18877 # as_fn_append VAR VALUE
18878 # ----------------------
18879 # Append the text in VALUE to the end of the definition contained in VAR. Take
18880 # advantage of any shell optimizations that allow amortized linear growth over
18881 # repeated appends, instead of the typical quadratic growth present in naive
18882 # implementations.
18883 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18884 eval 'as_fn_append ()
18886 eval $1+=\$2
18888 else
18889 as_fn_append ()
18891 eval $1=\$$1\$2
18893 fi # as_fn_append
18895 # as_fn_arith ARG...
18896 # ------------------
18897 # Perform arithmetic evaluation on the ARGs, and store the result in the
18898 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18899 # must be portable across $(()) and expr.
18900 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18901 eval 'as_fn_arith ()
18903 as_val=$(( $* ))
18905 else
18906 as_fn_arith ()
18908 as_val=`expr "$@" || test $? -eq 1`
18910 fi # as_fn_arith
18913 if expr a : '\(a\)' >/dev/null 2>&1 &&
18914 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18915 as_expr=expr
18916 else
18917 as_expr=false
18920 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18921 as_basename=basename
18922 else
18923 as_basename=false
18926 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18927 as_dirname=dirname
18928 else
18929 as_dirname=false
18932 as_me=`$as_basename -- "$0" ||
18933 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18934 X"$0" : 'X\(//\)$' \| \
18935 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18936 $as_echo X/"$0" |
18937 sed '/^.*\/\([^/][^/]*\)\/*$/{
18938 s//\1/
18941 /^X\/\(\/\/\)$/{
18942 s//\1/
18945 /^X\/\(\/\).*/{
18946 s//\1/
18949 s/.*/./; q'`
18951 # Avoid depending upon Character Ranges.
18952 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18953 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18954 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18955 as_cr_digits='0123456789'
18956 as_cr_alnum=$as_cr_Letters$as_cr_digits
18958 ECHO_C= ECHO_N= ECHO_T=
18959 case `echo -n x` in #(((((
18960 -n*)
18961 case `echo 'xy\c'` in
18962 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18963 xy) ECHO_C='\c';;
18964 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18965 ECHO_T=' ';;
18966 esac;;
18968 ECHO_N='-n';;
18969 esac
18971 rm -f conf$$ conf$$.exe conf$$.file
18972 if test -d conf$$.dir; then
18973 rm -f conf$$.dir/conf$$.file
18974 else
18975 rm -f conf$$.dir
18976 mkdir conf$$.dir 2>/dev/null
18978 if (echo >conf$$.file) 2>/dev/null; then
18979 if ln -s conf$$.file conf$$ 2>/dev/null; then
18980 as_ln_s='ln -s'
18981 # ... but there are two gotchas:
18982 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18983 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18984 # In both cases, we have to default to `cp -pR'.
18985 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18986 as_ln_s='cp -pR'
18987 elif ln conf$$.file conf$$ 2>/dev/null; then
18988 as_ln_s=ln
18989 else
18990 as_ln_s='cp -pR'
18992 else
18993 as_ln_s='cp -pR'
18995 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18996 rmdir conf$$.dir 2>/dev/null
18999 # as_fn_mkdir_p
19000 # -------------
19001 # Create "$as_dir" as a directory, including parents if necessary.
19002 as_fn_mkdir_p ()
19005 case $as_dir in #(
19006 -*) as_dir=./$as_dir;;
19007 esac
19008 test -d "$as_dir" || eval $as_mkdir_p || {
19009 as_dirs=
19010 while :; do
19011 case $as_dir in #(
19012 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19013 *) as_qdir=$as_dir;;
19014 esac
19015 as_dirs="'$as_qdir' $as_dirs"
19016 as_dir=`$as_dirname -- "$as_dir" ||
19017 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19018 X"$as_dir" : 'X\(//\)[^/]' \| \
19019 X"$as_dir" : 'X\(//\)$' \| \
19020 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19021 $as_echo X"$as_dir" |
19022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19023 s//\1/
19026 /^X\(\/\/\)[^/].*/{
19027 s//\1/
19030 /^X\(\/\/\)$/{
19031 s//\1/
19034 /^X\(\/\).*/{
19035 s//\1/
19038 s/.*/./; q'`
19039 test -d "$as_dir" && break
19040 done
19041 test -z "$as_dirs" || eval "mkdir $as_dirs"
19042 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19045 } # as_fn_mkdir_p
19046 if mkdir -p . 2>/dev/null; then
19047 as_mkdir_p='mkdir -p "$as_dir"'
19048 else
19049 test -d ./-p && rmdir ./-p
19050 as_mkdir_p=false
19054 # as_fn_executable_p FILE
19055 # -----------------------
19056 # Test if FILE is an executable regular file.
19057 as_fn_executable_p ()
19059 test -f "$1" && test -x "$1"
19060 } # as_fn_executable_p
19061 as_test_x='test -x'
19062 as_executable_p=as_fn_executable_p
19064 # Sed expression to map a string onto a valid CPP name.
19065 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19067 # Sed expression to map a string onto a valid variable name.
19068 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19071 exec 6>&1
19072 ## ----------------------------------- ##
19073 ## Main body of $CONFIG_STATUS script. ##
19074 ## ----------------------------------- ##
19075 _ASEOF
19076 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19079 # Save the log message, to keep $0 and so on meaningful, and to
19080 # report actual input values of CONFIG_FILES etc. instead of their
19081 # values after options handling.
19082 ac_log="
19083 This file was extended by Wine $as_me 1.9.19, which was
19084 generated by GNU Autoconf 2.69. Invocation command line was
19086 CONFIG_FILES = $CONFIG_FILES
19087 CONFIG_HEADERS = $CONFIG_HEADERS
19088 CONFIG_LINKS = $CONFIG_LINKS
19089 CONFIG_COMMANDS = $CONFIG_COMMANDS
19090 $ $0 $@
19092 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19095 _ACEOF
19097 case $ac_config_files in *"
19098 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19099 esac
19101 case $ac_config_headers in *"
19102 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19103 esac
19106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19107 # Files that config.status was made for.
19108 config_files="$ac_config_files"
19109 config_headers="$ac_config_headers"
19110 config_links="$ac_config_links"
19111 config_commands="$ac_config_commands"
19113 _ACEOF
19115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19116 ac_cs_usage="\
19117 \`$as_me' instantiates files and other configuration actions
19118 from templates according to the current configuration. Unless the files
19119 and actions are specified as TAGs, all are instantiated by default.
19121 Usage: $0 [OPTION]... [TAG]...
19123 -h, --help print this help, then exit
19124 -V, --version print version number and configuration settings, then exit
19125 --config print configuration, then exit
19126 -q, --quiet, --silent
19127 do not print progress messages
19128 -d, --debug don't remove temporary files
19129 --recheck update $as_me by reconfiguring in the same conditions
19130 --file=FILE[:TEMPLATE]
19131 instantiate the configuration file FILE
19132 --header=FILE[:TEMPLATE]
19133 instantiate the configuration header FILE
19135 Configuration files:
19136 $config_files
19138 Configuration headers:
19139 $config_headers
19141 Configuration links:
19142 $config_links
19144 Configuration commands:
19145 $config_commands
19147 Report bugs to <wine-devel@winehq.org>.
19148 Wine home page: <http://www.winehq.org>."
19150 _ACEOF
19151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19152 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19153 ac_cs_version="\\
19154 Wine config.status 1.9.19
19155 configured by $0, generated by GNU Autoconf 2.69,
19156 with options \\"\$ac_cs_config\\"
19158 Copyright (C) 2012 Free Software Foundation, Inc.
19159 This config.status script is free software; the Free Software Foundation
19160 gives unlimited permission to copy, distribute and modify it."
19162 ac_pwd='$ac_pwd'
19163 srcdir='$srcdir'
19164 test -n "\$AWK" || AWK=awk
19165 _ACEOF
19167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19168 # The default lists apply if the user does not specify any file.
19169 ac_need_defaults=:
19170 while test $# != 0
19172 case $1 in
19173 --*=?*)
19174 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19175 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19176 ac_shift=:
19178 --*=)
19179 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19180 ac_optarg=
19181 ac_shift=:
19184 ac_option=$1
19185 ac_optarg=$2
19186 ac_shift=shift
19188 esac
19190 case $ac_option in
19191 # Handling of the options.
19192 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19193 ac_cs_recheck=: ;;
19194 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19195 $as_echo "$ac_cs_version"; exit ;;
19196 --config | --confi | --conf | --con | --co | --c )
19197 $as_echo "$ac_cs_config"; exit ;;
19198 --debug | --debu | --deb | --de | --d | -d )
19199 debug=: ;;
19200 --file | --fil | --fi | --f )
19201 $ac_shift
19202 case $ac_optarg in
19203 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19204 '') as_fn_error $? "missing file argument" ;;
19205 esac
19206 as_fn_append CONFIG_FILES " '$ac_optarg'"
19207 ac_need_defaults=false;;
19208 --header | --heade | --head | --hea )
19209 $ac_shift
19210 case $ac_optarg in
19211 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19212 esac
19213 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19214 ac_need_defaults=false;;
19215 --he | --h)
19216 # Conflict between --help and --header
19217 as_fn_error $? "ambiguous option: \`$1'
19218 Try \`$0 --help' for more information.";;
19219 --help | --hel | -h )
19220 $as_echo "$ac_cs_usage"; exit ;;
19221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19222 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19223 ac_cs_silent=: ;;
19225 # This is an error.
19226 -*) as_fn_error $? "unrecognized option: \`$1'
19227 Try \`$0 --help' for more information." ;;
19229 *) as_fn_append ac_config_targets " $1"
19230 ac_need_defaults=false ;;
19232 esac
19233 shift
19234 done
19236 ac_configure_extra_args=
19238 if $ac_cs_silent; then
19239 exec 6>/dev/null
19240 ac_configure_extra_args="$ac_configure_extra_args --silent"
19243 _ACEOF
19244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19245 if \$ac_cs_recheck; then
19246 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19247 shift
19248 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19249 CONFIG_SHELL='$SHELL'
19250 export CONFIG_SHELL
19251 exec "\$@"
19254 _ACEOF
19255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19256 exec 5>>config.log
19258 echo
19259 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19260 ## Running $as_me. ##
19261 _ASBOX
19262 $as_echo "$ac_log"
19263 } >&5
19265 _ACEOF
19266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19268 # INIT-COMMANDS
19270 wine_fn_output_makedep ()
19272 as_dir=tools; as_fn_mkdir_p
19273 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19275 wine_fn_output_makefile ()
19277 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19278 `cat $wine_rules_file`
19279 _WINE_EOF
19280 as_fn_error $? "could not create Makefile" "$LINENO" 5
19283 _ACEOF
19285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19287 # Handling of arguments.
19288 for ac_config_target in $ac_config_targets
19290 case $ac_config_target in
19291 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19292 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19293 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19294 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19295 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19296 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19297 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19298 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19299 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19300 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19301 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19302 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19303 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19305 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19306 esac
19307 done
19310 # If the user did not use the arguments to specify the items to instantiate,
19311 # then the envvar interface is used. Set only those that are not.
19312 # We use the long form for the default assignment because of an extremely
19313 # bizarre bug on SunOS 4.1.3.
19314 if $ac_need_defaults; then
19315 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19316 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19317 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19318 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19321 # Have a temporary directory for convenience. Make it in the build tree
19322 # simply because there is no reason against having it here, and in addition,
19323 # creating and moving files from /tmp can sometimes cause problems.
19324 # Hook for its removal unless debugging.
19325 # Note that there is a small window in which the directory will not be cleaned:
19326 # after its creation but before its name has been assigned to `$tmp'.
19327 $debug ||
19329 tmp= ac_tmp=
19330 trap 'exit_status=$?
19331 : "${ac_tmp:=$tmp}"
19332 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19334 trap 'as_fn_exit 1' 1 2 13 15
19336 # Create a (secure) tmp directory for tmp files.
19339 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19340 test -d "$tmp"
19341 } ||
19343 tmp=./conf$$-$RANDOM
19344 (umask 077 && mkdir "$tmp")
19345 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19346 ac_tmp=$tmp
19348 # Set up the scripts for CONFIG_FILES section.
19349 # No need to generate them if there are no CONFIG_FILES.
19350 # This happens for instance with `./config.status config.h'.
19351 if test -n "$CONFIG_FILES"; then
19354 ac_cr=`echo X | tr X '\015'`
19355 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19356 # But we know of no other shell where ac_cr would be empty at this
19357 # point, so we can use a bashism as a fallback.
19358 if test "x$ac_cr" = x; then
19359 eval ac_cr=\$\'\\r\'
19361 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19362 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19363 ac_cs_awk_cr='\\r'
19364 else
19365 ac_cs_awk_cr=$ac_cr
19368 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19369 _ACEOF
19373 echo "cat >conf$$subs.awk <<_ACEOF" &&
19374 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19375 echo "_ACEOF"
19376 } >conf$$subs.sh ||
19377 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19378 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19379 ac_delim='%!_!# '
19380 for ac_last_try in false false false false false :; do
19381 . ./conf$$subs.sh ||
19382 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19384 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19385 if test $ac_delim_n = $ac_delim_num; then
19386 break
19387 elif $ac_last_try; then
19388 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19389 else
19390 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19392 done
19393 rm -f conf$$subs.sh
19395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19396 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19397 _ACEOF
19398 sed -n '
19400 s/^/S["/; s/!.*/"]=/
19403 s/^[^!]*!//
19404 :repl
19405 t repl
19406 s/'"$ac_delim"'$//
19407 t delim
19410 s/\(.\{148\}\)..*/\1/
19411 t more1
19412 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19415 b repl
19416 :more1
19417 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19420 s/.\{148\}//
19421 t nl
19422 :delim
19424 s/\(.\{148\}\)..*/\1/
19425 t more2
19426 s/["\\]/\\&/g; s/^/"/; s/$/"/
19429 :more2
19430 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19433 s/.\{148\}//
19434 t delim
19435 ' <conf$$subs.awk | sed '
19436 /^[^""]/{
19438 s/\n//
19440 ' >>$CONFIG_STATUS || ac_write_fail=1
19441 rm -f conf$$subs.awk
19442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19443 _ACAWK
19444 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19445 for (key in S) S_is_set[key] = 1
19446 FS = "\a"
19450 line = $ 0
19451 nfields = split(line, field, "@")
19452 substed = 0
19453 len = length(field[1])
19454 for (i = 2; i < nfields; i++) {
19455 key = field[i]
19456 keylen = length(key)
19457 if (S_is_set[key]) {
19458 value = S[key]
19459 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19460 len += length(value) + length(field[++i])
19461 substed = 1
19462 } else
19463 len += 1 + keylen
19466 print line
19469 _ACAWK
19470 _ACEOF
19471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19472 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19473 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19474 else
19476 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19477 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19478 _ACEOF
19480 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19481 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19482 # trailing colons and then remove the whole line if VPATH becomes empty
19483 # (actually we leave an empty line to preserve line numbers).
19484 if test "x$srcdir" = x.; then
19485 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19487 s///
19488 s/^/:/
19489 s/[ ]*$/:/
19490 s/:\$(srcdir):/:/g
19491 s/:\${srcdir}:/:/g
19492 s/:@srcdir@:/:/g
19493 s/^:*//
19494 s/:*$//
19496 s/\(=[ ]*\).*/\1/
19498 s/\n//
19499 s/^[^=]*=[ ]*$//
19503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19504 fi # test -n "$CONFIG_FILES"
19506 # Set up the scripts for CONFIG_HEADERS section.
19507 # No need to generate them if there are no CONFIG_HEADERS.
19508 # This happens for instance with `./config.status Makefile'.
19509 if test -n "$CONFIG_HEADERS"; then
19510 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19511 BEGIN {
19512 _ACEOF
19514 # Transform confdefs.h into an awk script `defines.awk', embedded as
19515 # here-document in config.status, that substitutes the proper values into
19516 # config.h.in to produce config.h.
19518 # Create a delimiter string that does not exist in confdefs.h, to ease
19519 # handling of long lines.
19520 ac_delim='%!_!# '
19521 for ac_last_try in false false :; do
19522 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19523 if test -z "$ac_tt"; then
19524 break
19525 elif $ac_last_try; then
19526 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19527 else
19528 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19530 done
19532 # For the awk script, D is an array of macro values keyed by name,
19533 # likewise P contains macro parameters if any. Preserve backslash
19534 # newline sequences.
19536 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19537 sed -n '
19538 s/.\{148\}/&'"$ac_delim"'/g
19539 t rset
19540 :rset
19541 s/^[ ]*#[ ]*define[ ][ ]*/ /
19542 t def
19544 :def
19545 s/\\$//
19546 t bsnl
19547 s/["\\]/\\&/g
19548 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19549 D["\1"]=" \3"/p
19550 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19552 :bsnl
19553 s/["\\]/\\&/g
19554 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19555 D["\1"]=" \3\\\\\\n"\\/p
19556 t cont
19557 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19558 t cont
19560 :cont
19562 s/.\{148\}/&'"$ac_delim"'/g
19563 t clear
19564 :clear
19565 s/\\$//
19566 t bsnlc
19567 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19569 :bsnlc
19570 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19571 b cont
19572 ' <confdefs.h | sed '
19573 s/'"$ac_delim"'/"\\\
19574 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19577 for (key in D) D_is_set[key] = 1
19578 FS = "\a"
19580 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19581 line = \$ 0
19582 split(line, arg, " ")
19583 if (arg[1] == "#") {
19584 defundef = arg[2]
19585 mac1 = arg[3]
19586 } else {
19587 defundef = substr(arg[1], 2)
19588 mac1 = arg[2]
19590 split(mac1, mac2, "(") #)
19591 macro = mac2[1]
19592 prefix = substr(line, 1, index(line, defundef) - 1)
19593 if (D_is_set[macro]) {
19594 # Preserve the white space surrounding the "#".
19595 print prefix "define", macro P[macro] D[macro]
19596 next
19597 } else {
19598 # Replace #undef with comments. This is necessary, for example,
19599 # in the case of _POSIX_SOURCE, which is predefined and required
19600 # on some systems where configure will not decide to define it.
19601 if (defundef == "undef") {
19602 print "/*", prefix defundef, macro, "*/"
19603 next
19607 { print }
19608 _ACAWK
19609 _ACEOF
19610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19611 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19612 fi # test -n "$CONFIG_HEADERS"
19615 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19616 shift
19617 for ac_tag
19619 case $ac_tag in
19620 :[FHLC]) ac_mode=$ac_tag; continue;;
19621 esac
19622 case $ac_mode$ac_tag in
19623 :[FHL]*:*);;
19624 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19625 :[FH]-) ac_tag=-:-;;
19626 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19627 esac
19628 ac_save_IFS=$IFS
19629 IFS=:
19630 set x $ac_tag
19631 IFS=$ac_save_IFS
19632 shift
19633 ac_file=$1
19634 shift
19636 case $ac_mode in
19637 :L) ac_source=$1;;
19638 :[FH])
19639 ac_file_inputs=
19640 for ac_f
19642 case $ac_f in
19643 -) ac_f="$ac_tmp/stdin";;
19644 *) # Look for the file first in the build tree, then in the source tree
19645 # (if the path is not absolute). The absolute path cannot be DOS-style,
19646 # because $ac_f cannot contain `:'.
19647 test -f "$ac_f" ||
19648 case $ac_f in
19649 [\\/$]*) false;;
19650 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19651 esac ||
19652 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19653 esac
19654 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19655 as_fn_append ac_file_inputs " '$ac_f'"
19656 done
19658 # Let's still pretend it is `configure' which instantiates (i.e., don't
19659 # use $as_me), people would be surprised to read:
19660 # /* config.h. Generated by config.status. */
19661 configure_input='Generated from '`
19662 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19663 `' by configure.'
19664 if test x"$ac_file" != x-; then
19665 configure_input="$ac_file. $configure_input"
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19667 $as_echo "$as_me: creating $ac_file" >&6;}
19669 # Neutralize special characters interpreted by sed in replacement strings.
19670 case $configure_input in #(
19671 *\&* | *\|* | *\\* )
19672 ac_sed_conf_input=`$as_echo "$configure_input" |
19673 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19674 *) ac_sed_conf_input=$configure_input;;
19675 esac
19677 case $ac_tag in
19678 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19679 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19680 esac
19682 esac
19684 ac_dir=`$as_dirname -- "$ac_file" ||
19685 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19686 X"$ac_file" : 'X\(//\)[^/]' \| \
19687 X"$ac_file" : 'X\(//\)$' \| \
19688 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19689 $as_echo X"$ac_file" |
19690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19691 s//\1/
19694 /^X\(\/\/\)[^/].*/{
19695 s//\1/
19698 /^X\(\/\/\)$/{
19699 s//\1/
19702 /^X\(\/\).*/{
19703 s//\1/
19706 s/.*/./; q'`
19707 as_dir="$ac_dir"; as_fn_mkdir_p
19708 ac_builddir=.
19710 case "$ac_dir" in
19711 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19713 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19714 # A ".." for each directory in $ac_dir_suffix.
19715 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19716 case $ac_top_builddir_sub in
19717 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19718 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19719 esac ;;
19720 esac
19721 ac_abs_top_builddir=$ac_pwd
19722 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19723 # for backward compatibility:
19724 ac_top_builddir=$ac_top_build_prefix
19726 case $srcdir in
19727 .) # We are building in place.
19728 ac_srcdir=.
19729 ac_top_srcdir=$ac_top_builddir_sub
19730 ac_abs_top_srcdir=$ac_pwd ;;
19731 [\\/]* | ?:[\\/]* ) # Absolute name.
19732 ac_srcdir=$srcdir$ac_dir_suffix;
19733 ac_top_srcdir=$srcdir
19734 ac_abs_top_srcdir=$srcdir ;;
19735 *) # Relative name.
19736 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19737 ac_top_srcdir=$ac_top_build_prefix$srcdir
19738 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19739 esac
19740 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19743 case $ac_mode in
19746 # CONFIG_FILE
19749 _ACEOF
19751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19752 # If the template does not know about datarootdir, expand it.
19753 # FIXME: This hack should be removed a few years after 2.60.
19754 ac_datarootdir_hack=; ac_datarootdir_seen=
19755 ac_sed_dataroot='
19756 /datarootdir/ {
19760 /@datadir@/p
19761 /@docdir@/p
19762 /@infodir@/p
19763 /@localedir@/p
19764 /@mandir@/p'
19765 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19766 *datarootdir*) ac_datarootdir_seen=yes;;
19767 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19769 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19770 _ACEOF
19771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19772 ac_datarootdir_hack='
19773 s&@datadir@&$datadir&g
19774 s&@docdir@&$docdir&g
19775 s&@infodir@&$infodir&g
19776 s&@localedir@&$localedir&g
19777 s&@mandir@&$mandir&g
19778 s&\\\${datarootdir}&$datarootdir&g' ;;
19779 esac
19780 _ACEOF
19782 # Neutralize VPATH when `$srcdir' = `.'.
19783 # Shell code in configure.ac might set extrasub.
19784 # FIXME: do we really want to maintain this feature?
19785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19786 ac_sed_extra="$ac_vpsub
19787 $extrasub
19788 _ACEOF
19789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19791 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19792 s|@configure_input@|$ac_sed_conf_input|;t t
19793 s&@top_builddir@&$ac_top_builddir_sub&;t t
19794 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19795 s&@srcdir@&$ac_srcdir&;t t
19796 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19797 s&@top_srcdir@&$ac_top_srcdir&;t t
19798 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19799 s&@builddir@&$ac_builddir&;t t
19800 s&@abs_builddir@&$ac_abs_builddir&;t t
19801 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19802 $ac_datarootdir_hack
19804 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19805 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19807 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19808 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19809 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19810 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19812 which seems to be undefined. Please make sure it is defined" >&5
19813 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19814 which seems to be undefined. Please make sure it is defined" >&2;}
19816 rm -f "$ac_tmp/stdin"
19817 case $ac_file in
19818 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19819 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19820 esac \
19821 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19825 # CONFIG_HEADER
19827 if test x"$ac_file" != x-; then
19829 $as_echo "/* $configure_input */" \
19830 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19831 } >"$ac_tmp/config.h" \
19832 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19833 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19835 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19836 else
19837 rm -f "$ac_file"
19838 mv "$ac_tmp/config.h" "$ac_file" \
19839 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19841 else
19842 $as_echo "/* $configure_input */" \
19843 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19844 || as_fn_error $? "could not create -" "$LINENO" 5
19849 # CONFIG_LINK
19852 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19854 else
19855 # Prefer the file from the source tree if names are identical.
19856 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19857 ac_source=$srcdir/$ac_source
19860 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19861 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19863 if test ! -r "$ac_source"; then
19864 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19866 rm -f "$ac_file"
19868 # Try a relative symlink, then a hard link, then a copy.
19869 case $ac_source in
19870 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19871 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19872 esac
19873 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19874 ln "$ac_source" "$ac_file" 2>/dev/null ||
19875 cp -p "$ac_source" "$ac_file" ||
19876 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19879 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19880 $as_echo "$as_me: executing $ac_file commands" >&6;}
19882 esac
19885 case $ac_file$ac_mode in
19886 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19887 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19888 "Makefile":C) wine_fn_output_makefile Makefile ;;
19890 esac
19891 done # for ac_tag
19894 as_fn_exit 0
19895 _ACEOF
19896 ac_clean_files=$ac_clean_files_save
19898 test $ac_write_fail = 0 ||
19899 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19902 # configure is writing to config.log, and then calls config.status.
19903 # config.status does its own redirection, appending to config.log.
19904 # Unfortunately, on DOS this fails, as config.log is still kept open
19905 # by configure, so config.status won't be able to write to it; its
19906 # output is simply discarded. So we exec the FD to /dev/null,
19907 # effectively closing config.log, so it can be properly (re)opened and
19908 # appended to by config.status. When coming back to configure, we
19909 # need to make the FD available again.
19910 if test "$no_create" != yes; then
19911 ac_cs_success=:
19912 ac_config_status_args=
19913 test "$silent" = yes &&
19914 ac_config_status_args="$ac_config_status_args --quiet"
19915 exec 5>/dev/null
19916 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19917 exec 5>>config.log
19918 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19919 # would make configure fail if this is the last instruction.
19920 $ac_cs_success || as_fn_exit 1
19922 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19924 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19928 if test "$no_create" = "yes"
19929 then
19930 exit 0
19933 ac_save_IFS="$IFS"
19934 if test "x$wine_notices" != x; then
19935 echo >&6
19936 IFS="|"
19937 for msg in $wine_notices; do
19938 IFS="$ac_save_IFS"
19939 if ${msg:+false} :; then :
19941 else
19942 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19943 $as_echo "$as_me: $msg" >&6;}
19945 done
19947 IFS="|"
19948 for msg in $wine_warnings; do
19949 IFS="$ac_save_IFS"
19950 if ${msg:+false} :; then :
19952 else
19953 echo >&2
19954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19955 $as_echo "$as_me: WARNING: $msg" >&2;}
19957 done
19958 IFS="$ac_save_IFS"
19960 $as_echo "
19961 $as_me: Finished. Do '${ac_make}' to compile Wine.
19962 " >&6