ieframe/tests: Use todo_wine_if() in tests.
[wine.git] / configure
blob98ff773e0614abc71fece3b47d77f3f529506f36
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.3.
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.3'
584 PACKAGE_STRING='Wine 1.9.3'
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 LINGUAS
629 ALL_VARS_RULES
630 LDAP_LIBS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 FONTCONFIG_LIBS
652 FONTCONFIG_CFLAGS
653 CUPS_CFLAGS
654 CAPI20_LIBS
655 CAPI20_CFLAGS
656 OSS4_CFLAGS
657 ALSA_LIBS
658 GSTREAMER_LIBS
659 GSTREAMER_CFLAGS
660 PULSE_LIBS
661 PULSE_CFLAGS
662 GETTEXTPO_LIBS
663 Z_LIBS
664 FREETYPE_LIBS
665 FREETYPE_CFLAGS
666 LCMS2_LIBS
667 LCMS2_CFLAGS
668 RESOLV_LIBS
669 GPHOTO2_PORT_LIBS
670 GPHOTO2_PORT_CFLAGS
671 GPHOTO2_LIBS
672 GPHOTO2_CFLAGS
673 SANE_LIBS
674 SANE_CFLAGS
675 GNUTLS_LIBS
676 GNUTLS_CFLAGS
677 HAL_LIBS
678 HAL_CFLAGS
679 DBUS_LIBS
680 DBUS_CFLAGS
681 XSLT_LIBS
682 XSLT_CFLAGS
683 XML2_LIBS
684 XML2_CFLAGS
685 PCAP_LIBS
686 X_EXTRA_LIBS
687 X_LIBS
688 X_PRE_LIBS
689 X_CFLAGS
690 XMKMF
691 PTHREAD_LIBS
692 CROSSCC
693 CROSSTARGET
694 PRELINK
695 WINELOADER_DEPENDS
696 CARBON_LIBS
697 QUICKTIME_LIBS
698 OPENCL_LIBS
699 OPENAL_LIBS
700 COREAUDIO_LIBS
701 SECURITY_LIBS
702 DISKARBITRATION_LIBS
703 APPKIT_LIBS
704 CORESERVICES_LIBS
705 APPLICATIONSERVICES_LIBS
706 FORCEFEEDBACK_LIBS
707 IOKIT_LIBS
708 COREFOUNDATION_LIBS
709 LIBWINE_DEPENDS
710 LIBWINE_LDFLAGS
711 LIBWINE_INSTALL_DEV
712 LIBWINE_INSTALL_LIB
713 LIBWINE_IMPORTLIB
714 LIBWINE_SHAREDLIB
715 SOCKET_LIBS
716 DLLTOOL
717 WINELOADER_PROGRAMS
718 ALL_TEST_RESOURCES
719 SUBDIRS
720 READELF
721 OTOOL
723 LDEXECFLAGS
724 LDRPATH_LOCAL
725 LDRPATH_INSTALL
726 DLLFLAGS
727 dlldir
729 OPENGL_LIBS
730 ICOTOOL
731 CONVERT
732 RSVG
733 FONTFORGE
734 PKG_CONFIG
735 MSGFMT
736 LDCONFIG
737 EGREP
738 GREP
739 LN_S
740 RANLIB
741 ARFLAGS
742 STRIP
743 ac_ct_AR
745 BISON
746 FLEX
747 TOOLSDIR
748 TARGETFLAGS
750 CPPBIN
751 ac_ct_CXX
752 CXXFLAGS
754 OBJEXT
755 EXEEXT
756 ac_ct_CC
757 CPPFLAGS
758 LDFLAGS
759 CFLAGS
761 SET_MAKE
762 host_os
763 host_vendor
764 host_cpu
765 host
766 build_os
767 build_vendor
768 build_cpu
769 build
770 target_alias
771 host_alias
772 build_alias
773 LIBS
774 ECHO_T
775 ECHO_N
776 ECHO_C
777 DEFS
778 mandir
779 localedir
780 libdir
781 psdir
782 pdfdir
783 dvidir
784 htmldir
785 infodir
786 docdir
787 oldincludedir
788 includedir
789 runstatedir
790 localstatedir
791 sharedstatedir
792 sysconfdir
793 datadir
794 datarootdir
795 libexecdir
796 sbindir
797 bindir
798 program_transform_name
799 prefix
800 exec_prefix
801 PACKAGE_URL
802 PACKAGE_BUGREPORT
803 PACKAGE_STRING
804 PACKAGE_VERSION
805 PACKAGE_TARNAME
806 PACKAGE_NAME
807 PATH_SEPARATOR
808 SHELL'
809 ac_subst_files=''
810 ac_user_opts='
811 enable_option_checking
812 enable_win16
813 enable_win64
814 enable_tests
815 enable_maintainer_mode
816 with_alsa
817 with_capi
818 with_cms
819 with_coreaudio
820 with_cups
821 with_curses
822 with_dbus
823 with_fontconfig
824 with_freetype
825 with_gettext
826 with_gettextpo
827 with_gphoto
828 with_glu
829 with_gnutls
830 with_gsm
831 with_gstreamer
832 with_hal
833 with_jpeg
834 with_ldap
835 with_mpg123
836 with_netapi
837 with_openal
838 with_opencl
839 with_opengl
840 with_osmesa
841 with_oss
842 with_pcap
843 with_png
844 with_pthread
845 with_pulse
846 with_sane
847 with_tiff
848 with_v4l
849 with_xcomposite
850 with_xcursor
851 with_xinerama
852 with_xinput
853 with_xinput2
854 with_xml
855 with_xrandr
856 with_xrender
857 with_xshape
858 with_xshm
859 with_xslt
860 with_xxf86vm
861 with_zlib
862 with_wine_tools
863 with_wine64
864 enable_largefile
865 with_x
866 enable_acledit
867 enable_aclui
868 enable_activeds
869 enable_actxprxy
870 enable_advapi32
871 enable_advpack
872 enable_amstream
873 enable_api_ms_win_core_com_l1_1_0
874 enable_api_ms_win_core_com_l1_1_1
875 enable_api_ms_win_core_console_l1_1_0
876 enable_api_ms_win_core_datetime_l1_1_0
877 enable_api_ms_win_core_datetime_l1_1_1
878 enable_api_ms_win_core_debug_l1_1_0
879 enable_api_ms_win_core_debug_l1_1_1
880 enable_api_ms_win_core_delayload_l1_1_1
881 enable_api_ms_win_core_errorhandling_l1_1_0
882 enable_api_ms_win_core_errorhandling_l1_1_1
883 enable_api_ms_win_core_errorhandling_l1_1_2
884 enable_api_ms_win_core_fibers_l1_1_0
885 enable_api_ms_win_core_fibers_l1_1_1
886 enable_api_ms_win_core_file_l1_1_0
887 enable_api_ms_win_core_file_l1_2_0
888 enable_api_ms_win_core_file_l2_1_0
889 enable_api_ms_win_core_file_l2_1_1
890 enable_api_ms_win_core_handle_l1_1_0
891 enable_api_ms_win_core_heap_l1_1_0
892 enable_api_ms_win_core_heap_l1_2_0
893 enable_api_ms_win_core_heap_obsolete_l1_1_0
894 enable_api_ms_win_core_interlocked_l1_1_0
895 enable_api_ms_win_core_interlocked_l1_2_0
896 enable_api_ms_win_core_io_l1_1_1
897 enable_api_ms_win_core_kernel32_legacy_l1_1_0
898 enable_api_ms_win_core_kernel32_legacy_l1_1_1
899 enable_api_ms_win_core_libraryloader_l1_1_0
900 enable_api_ms_win_core_libraryloader_l1_1_1
901 enable_api_ms_win_core_libraryloader_l1_2_0
902 enable_api_ms_win_core_localization_l1_1_0
903 enable_api_ms_win_core_localization_l1_2_0
904 enable_api_ms_win_core_localization_l1_2_1
905 enable_api_ms_win_core_localization_obsolete_l1_1_0
906 enable_api_ms_win_core_localregistry_l1_1_0
907 enable_api_ms_win_core_memory_l1_1_0
908 enable_api_ms_win_core_memory_l1_1_1
909 enable_api_ms_win_core_misc_l1_1_0
910 enable_api_ms_win_core_namedpipe_l1_1_0
911 enable_api_ms_win_core_namedpipe_l1_2_0
912 enable_api_ms_win_core_path_l1_1_0
913 enable_api_ms_win_core_processenvironment_l1_1_0
914 enable_api_ms_win_core_processenvironment_l1_2_0
915 enable_api_ms_win_core_processthreads_l1_1_0
916 enable_api_ms_win_core_processthreads_l1_1_1
917 enable_api_ms_win_core_processthreads_l1_1_2
918 enable_api_ms_win_core_profile_l1_1_0
919 enable_api_ms_win_core_psapi_l1_1_0
920 enable_api_ms_win_core_registry_l1_1_0
921 enable_api_ms_win_core_rtlsupport_l1_1_0
922 enable_api_ms_win_core_rtlsupport_l1_2_0
923 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
924 enable_api_ms_win_core_string_l1_1_0
925 enable_api_ms_win_core_synch_l1_1_0
926 enable_api_ms_win_core_synch_l1_2_0
927 enable_api_ms_win_core_sysinfo_l1_1_0
928 enable_api_ms_win_core_sysinfo_l1_2_0
929 enable_api_ms_win_core_sysinfo_l1_2_1
930 enable_api_ms_win_core_threadpool_l1_2_0
931 enable_api_ms_win_core_threadpool_legacy_l1_1_0
932 enable_api_ms_win_core_timezone_l1_1_0
933 enable_api_ms_win_core_url_l1_1_0
934 enable_api_ms_win_core_util_l1_1_0
935 enable_api_ms_win_core_winrt_error_l1_1_0
936 enable_api_ms_win_core_winrt_error_l1_1_1
937 enable_api_ms_win_core_winrt_l1_1_0
938 enable_api_ms_win_core_winrt_registration_l1_1_0
939 enable_api_ms_win_core_winrt_string_l1_1_0
940 enable_api_ms_win_core_wow64_l1_1_0
941 enable_api_ms_win_core_xstate_l2_1_0
942 enable_api_ms_win_crt_conio_l1_1_0
943 enable_api_ms_win_crt_convert_l1_1_0
944 enable_api_ms_win_crt_environment_l1_1_0
945 enable_api_ms_win_crt_filesystem_l1_1_0
946 enable_api_ms_win_crt_heap_l1_1_0
947 enable_api_ms_win_crt_locale_l1_1_0
948 enable_api_ms_win_crt_math_l1_1_0
949 enable_api_ms_win_crt_multibyte_l1_1_0
950 enable_api_ms_win_crt_private_l1_1_0
951 enable_api_ms_win_crt_process_l1_1_0
952 enable_api_ms_win_crt_runtime_l1_1_0
953 enable_api_ms_win_crt_stdio_l1_1_0
954 enable_api_ms_win_crt_string_l1_1_0
955 enable_api_ms_win_crt_time_l1_1_0
956 enable_api_ms_win_crt_utility_l1_1_0
957 enable_api_ms_win_downlevel_advapi32_l1_1_0
958 enable_api_ms_win_downlevel_advapi32_l2_1_0
959 enable_api_ms_win_downlevel_normaliz_l1_1_0
960 enable_api_ms_win_downlevel_ole32_l1_1_0
961 enable_api_ms_win_downlevel_shell32_l1_1_0
962 enable_api_ms_win_downlevel_shlwapi_l1_1_0
963 enable_api_ms_win_downlevel_shlwapi_l2_1_0
964 enable_api_ms_win_downlevel_user32_l1_1_0
965 enable_api_ms_win_downlevel_version_l1_1_0
966 enable_api_ms_win_eventing_classicprovider_l1_1_0
967 enable_api_ms_win_eventing_provider_l1_1_0
968 enable_api_ms_win_ntuser_dc_access_l1_1_0
969 enable_api_ms_win_security_base_l1_1_0
970 enable_api_ms_win_security_base_l1_2_0
971 enable_api_ms_win_security_lsalookup_l1_1_0
972 enable_api_ms_win_security_lsalookup_l1_1_1
973 enable_api_ms_win_security_sddl_l1_1_0
974 enable_api_ms_win_service_core_l1_1_1
975 enable_api_ms_win_service_management_l1_1_0
976 enable_api_ms_win_service_winsvc_l1_2_0
977 enable_apphelp
978 enable_appwiz_cpl
979 enable_atl
980 enable_atl100
981 enable_atl110
982 enable_atl80
983 enable_atl90
984 enable_authz
985 enable_avicap32
986 enable_avifil32
987 enable_avrt
988 enable_bcrypt
989 enable_bluetoothapis
990 enable_browseui
991 enable_bthprops_cpl
992 enable_cabinet
993 enable_capi2032
994 enable_cards
995 enable_cfgmgr32
996 enable_clusapi
997 enable_combase
998 enable_comcat
999 enable_comctl32
1000 enable_comdlg32
1001 enable_compstui
1002 enable_comsvcs
1003 enable_connect
1004 enable_credui
1005 enable_crtdll
1006 enable_crypt32
1007 enable_cryptdlg
1008 enable_cryptdll
1009 enable_cryptext
1010 enable_cryptnet
1011 enable_cryptui
1012 enable_ctapi32
1013 enable_ctl3d32
1014 enable_d2d1
1015 enable_d3d10
1016 enable_d3d10_1
1017 enable_d3d10core
1018 enable_d3d11
1019 enable_d3d8
1020 enable_d3d9
1021 enable_d3dcompiler_33
1022 enable_d3dcompiler_34
1023 enable_d3dcompiler_35
1024 enable_d3dcompiler_36
1025 enable_d3dcompiler_37
1026 enable_d3dcompiler_38
1027 enable_d3dcompiler_39
1028 enable_d3dcompiler_40
1029 enable_d3dcompiler_41
1030 enable_d3dcompiler_42
1031 enable_d3dcompiler_43
1032 enable_d3dcompiler_46
1033 enable_d3dcompiler_47
1034 enable_d3dim
1035 enable_d3drm
1036 enable_d3dx10_33
1037 enable_d3dx10_34
1038 enable_d3dx10_35
1039 enable_d3dx10_36
1040 enable_d3dx10_37
1041 enable_d3dx10_38
1042 enable_d3dx10_39
1043 enable_d3dx10_40
1044 enable_d3dx10_41
1045 enable_d3dx10_42
1046 enable_d3dx10_43
1047 enable_d3dx11_42
1048 enable_d3dx11_43
1049 enable_d3dx9_24
1050 enable_d3dx9_25
1051 enable_d3dx9_26
1052 enable_d3dx9_27
1053 enable_d3dx9_28
1054 enable_d3dx9_29
1055 enable_d3dx9_30
1056 enable_d3dx9_31
1057 enable_d3dx9_32
1058 enable_d3dx9_33
1059 enable_d3dx9_34
1060 enable_d3dx9_35
1061 enable_d3dx9_36
1062 enable_d3dx9_37
1063 enable_d3dx9_38
1064 enable_d3dx9_39
1065 enable_d3dx9_40
1066 enable_d3dx9_41
1067 enable_d3dx9_42
1068 enable_d3dx9_43
1069 enable_d3dxof
1070 enable_davclnt
1071 enable_dbgeng
1072 enable_dbghelp
1073 enable_dciman32
1074 enable_ddraw
1075 enable_ddrawex
1076 enable_devenum
1077 enable_dhcpcsvc
1078 enable_difxapi
1079 enable_dinput
1080 enable_dinput8
1081 enable_dispex
1082 enable_dmband
1083 enable_dmcompos
1084 enable_dmime
1085 enable_dmloader
1086 enable_dmscript
1087 enable_dmstyle
1088 enable_dmsynth
1089 enable_dmusic
1090 enable_dmusic32
1091 enable_dnsapi
1092 enable_dplay
1093 enable_dplayx
1094 enable_dpnaddr
1095 enable_dpnet
1096 enable_dpnhpast
1097 enable_dpnlobby
1098 enable_dpvoice
1099 enable_dpwsockx
1100 enable_drmclien
1101 enable_dsound
1102 enable_dssenh
1103 enable_dswave
1104 enable_dwmapi
1105 enable_dwrite
1106 enable_dxdiagn
1107 enable_dxgi
1108 enable_dxva2
1109 enable_esent
1110 enable_evr
1111 enable_explorerframe
1112 enable_ext_ms_win_gdi_devcaps_l1_1_0
1113 enable_faultrep
1114 enable_fltlib
1115 enable_fltmgr_sys
1116 enable_fntcache
1117 enable_fontsub
1118 enable_fusion
1119 enable_fwpuclnt
1120 enable_gameux
1121 enable_gdi32
1122 enable_gdiplus
1123 enable_glu32
1124 enable_gphoto2_ds
1125 enable_gpkcsp
1126 enable_hal
1127 enable_hhctrl_ocx
1128 enable_hid
1129 enable_hidclass_sys
1130 enable_hlink
1131 enable_hnetcfg
1132 enable_httpapi
1133 enable_iccvid
1134 enable_icmp
1135 enable_ieframe
1136 enable_imaadp32_acm
1137 enable_imagehlp
1138 enable_imm32
1139 enable_inetcomm
1140 enable_inetcpl_cpl
1141 enable_inetmib1
1142 enable_infosoft
1143 enable_initpki
1144 enable_inkobj
1145 enable_inseng
1146 enable_iphlpapi
1147 enable_irprops_cpl
1148 enable_itircl
1149 enable_itss
1150 enable_joy_cpl
1151 enable_jscript
1152 enable_jsproxy
1153 enable_kernel32
1154 enable_ksuser
1155 enable_ktmw32
1156 enable_loadperf
1157 enable_localspl
1158 enable_localui
1159 enable_lz32
1160 enable_mapi32
1161 enable_mapistub
1162 enable_mciavi32
1163 enable_mcicda
1164 enable_mciqtz32
1165 enable_mciseq
1166 enable_mciwave
1167 enable_mf
1168 enable_mfplat
1169 enable_mfreadwrite
1170 enable_mgmtapi
1171 enable_midimap
1172 enable_mlang
1173 enable_mmcndmgr
1174 enable_mmdevapi
1175 enable_mountmgr_sys
1176 enable_mpr
1177 enable_mprapi
1178 enable_msacm32_drv
1179 enable_msacm32
1180 enable_msadp32_acm
1181 enable_msasn1
1182 enable_mscat32
1183 enable_mscms
1184 enable_mscoree
1185 enable_msctf
1186 enable_msctfp
1187 enable_msdaps
1188 enable_msdelta
1189 enable_msdmo
1190 enable_msdrm
1191 enable_msftedit
1192 enable_msg711_acm
1193 enable_msgsm32_acm
1194 enable_mshtml_tlb
1195 enable_mshtml
1196 enable_msi
1197 enable_msident
1198 enable_msimg32
1199 enable_msimsg
1200 enable_msimtf
1201 enable_msisip
1202 enable_msisys_ocx
1203 enable_msls31
1204 enable_msnet32
1205 enable_mspatcha
1206 enable_msrle32
1207 enable_msscript_ocx
1208 enable_mssign32
1209 enable_mssip32
1210 enable_mstask
1211 enable_msvcirt
1212 enable_msvcm80
1213 enable_msvcm90
1214 enable_msvcp100
1215 enable_msvcp110
1216 enable_msvcp120
1217 enable_msvcp120_app
1218 enable_msvcp60
1219 enable_msvcp70
1220 enable_msvcp71
1221 enable_msvcp80
1222 enable_msvcp90
1223 enable_msvcr100
1224 enable_msvcr110
1225 enable_msvcr120
1226 enable_msvcr120_app
1227 enable_msvcr70
1228 enable_msvcr71
1229 enable_msvcr80
1230 enable_msvcr90
1231 enable_msvcrt
1232 enable_msvcrt20
1233 enable_msvcrt40
1234 enable_msvcrtd
1235 enable_msvfw32
1236 enable_msvidc32
1237 enable_mswsock
1238 enable_msxml
1239 enable_msxml2
1240 enable_msxml3
1241 enable_msxml4
1242 enable_msxml6
1243 enable_nddeapi
1244 enable_ndis_sys
1245 enable_netapi32
1246 enable_netcfgx
1247 enable_netprofm
1248 enable_newdev
1249 enable_normaliz
1250 enable_npmshtml
1251 enable_npptools
1252 enable_ntdll
1253 enable_ntdsapi
1254 enable_ntoskrnl_exe
1255 enable_ntprint
1256 enable_objsel
1257 enable_odbc32
1258 enable_odbccp32
1259 enable_odbccu32
1260 enable_ole32
1261 enable_oleacc
1262 enable_oleaut32
1263 enable_olecli32
1264 enable_oledb32
1265 enable_oledlg
1266 enable_olepro32
1267 enable_olesvr32
1268 enable_olethk32
1269 enable_openal32
1270 enable_opencl
1271 enable_opengl32
1272 enable_packager
1273 enable_pdh
1274 enable_photometadatahandler
1275 enable_pidgen
1276 enable_powrprof
1277 enable_printui
1278 enable_prntvpt
1279 enable_propsys
1280 enable_psapi
1281 enable_pstorec
1282 enable_qcap
1283 enable_qedit
1284 enable_qmgr
1285 enable_qmgrprxy
1286 enable_quartz
1287 enable_query
1288 enable_rasapi32
1289 enable_rasdlg
1290 enable_regapi
1291 enable_resutils
1292 enable_riched20
1293 enable_riched32
1294 enable_rpcrt4
1295 enable_rsabase
1296 enable_rsaenh
1297 enable_rstrtmgr
1298 enable_rtutils
1299 enable_samlib
1300 enable_sane_ds
1301 enable_scarddlg
1302 enable_sccbase
1303 enable_schannel
1304 enable_schedsvc
1305 enable_scrrun
1306 enable_scsiport_sys
1307 enable_secur32
1308 enable_security
1309 enable_sensapi
1310 enable_serialui
1311 enable_setupapi
1312 enable_sfc
1313 enable_sfc_os
1314 enable_shdoclc
1315 enable_shdocvw
1316 enable_shell32
1317 enable_shfolder
1318 enable_shlwapi
1319 enable_slbcsp
1320 enable_slc
1321 enable_snmpapi
1322 enable_softpub
1323 enable_spoolss
1324 enable_stdole2_tlb
1325 enable_stdole32_tlb
1326 enable_sti
1327 enable_svrapi
1328 enable_sxs
1329 enable_t2embed
1330 enable_tapi32
1331 enable_taskschd
1332 enable_tdi_sys
1333 enable_traffic
1334 enable_twain_32
1335 enable_ucrtbase
1336 enable_unicows
1337 enable_updspapi
1338 enable_url
1339 enable_urlmon
1340 enable_usbd_sys
1341 enable_user32
1342 enable_userenv
1343 enable_usp10
1344 enable_uxtheme
1345 enable_vbscript
1346 enable_vcomp
1347 enable_vcomp100
1348 enable_vcomp110
1349 enable_vcomp120
1350 enable_vcomp90
1351 enable_vcruntime140
1352 enable_vdmdbg
1353 enable_version
1354 enable_vssapi
1355 enable_wbemdisp
1356 enable_wbemprox
1357 enable_webservices
1358 enable_wer
1359 enable_wevtapi
1360 enable_wiaservc
1361 enable_wimgapi
1362 enable_windowscodecs
1363 enable_windowscodecsext
1364 enable_winealsa_drv
1365 enable_winecoreaudio_drv
1366 enable_wined3d
1367 enable_winegstreamer
1368 enable_winejoystick_drv
1369 enable_winemac_drv
1370 enable_winemapi
1371 enable_winemp3_acm
1372 enable_wineoss_drv
1373 enable_wineps_drv
1374 enable_winepulse_drv
1375 enable_wineqtdecoder
1376 enable_winex11_drv
1377 enable_wing32
1378 enable_winhttp
1379 enable_wininet
1380 enable_winmm
1381 enable_winnls32
1382 enable_winscard
1383 enable_winspool_drv
1384 enable_winsta
1385 enable_wintab32
1386 enable_wintrust
1387 enable_wlanapi
1388 enable_wldap32
1389 enable_wmi
1390 enable_wmiutils
1391 enable_wmp
1392 enable_wmvcore
1393 enable_wnaspi32
1394 enable_wpcap
1395 enable_ws2_32
1396 enable_wshom_ocx
1397 enable_wsnmp32
1398 enable_wsock32
1399 enable_wtsapi32
1400 enable_wuapi
1401 enable_wuaueng
1402 enable_x3daudio1_0
1403 enable_x3daudio1_1
1404 enable_x3daudio1_2
1405 enable_x3daudio1_3
1406 enable_x3daudio1_4
1407 enable_x3daudio1_5
1408 enable_x3daudio1_6
1409 enable_x3daudio1_7
1410 enable_xapofx1_1
1411 enable_xapofx1_2
1412 enable_xapofx1_3
1413 enable_xapofx1_4
1414 enable_xapofx1_5
1415 enable_xaudio2_0
1416 enable_xaudio2_1
1417 enable_xaudio2_2
1418 enable_xaudio2_3
1419 enable_xaudio2_4
1420 enable_xaudio2_5
1421 enable_xaudio2_6
1422 enable_xaudio2_7
1423 enable_xaudio2_8
1424 enable_xaudio2_9
1425 enable_xinput1_1
1426 enable_xinput1_2
1427 enable_xinput1_3
1428 enable_xinput1_4
1429 enable_xinput9_1_0
1430 enable_xmllite
1431 enable_xolehlp
1432 enable_xpsprint
1433 enable_xpssvcs
1434 enable_fonts
1435 enable_include
1436 enable_libs_port
1437 enable_libs_wine
1438 enable_libs_wpp
1439 enable_loader
1440 enable_arp
1441 enable_aspnet_regiis
1442 enable_attrib
1443 enable_cabarc
1444 enable_cacls
1445 enable_clock
1446 enable_cmd
1447 enable_conhost
1448 enable_control
1449 enable_cscript
1450 enable_dpnsvr
1451 enable_dxdiag
1452 enable_eject
1453 enable_expand
1454 enable_explorer
1455 enable_extrac32
1456 enable_findstr
1457 enable_hh
1458 enable_hostname
1459 enable_icacls
1460 enable_icinfo
1461 enable_iexplore
1462 enable_ipconfig
1463 enable_lodctr
1464 enable_mofcomp
1465 enable_mshta
1466 enable_msiexec
1467 enable_net
1468 enable_netsh
1469 enable_netstat
1470 enable_ngen
1471 enable_notepad
1472 enable_oleview
1473 enable_ping
1474 enable_plugplay
1475 enable_presentationfontcache
1476 enable_progman
1477 enable_reg
1478 enable_regasm
1479 enable_regedit
1480 enable_regsvcs
1481 enable_regsvr32
1482 enable_rpcss
1483 enable_rundll32
1484 enable_sc
1485 enable_schtasks
1486 enable_sdbinst
1487 enable_secedit
1488 enable_servicemodelreg
1489 enable_services
1490 enable_spoolsv
1491 enable_start
1492 enable_svchost
1493 enable_systeminfo
1494 enable_taskkill
1495 enable_tasklist
1496 enable_taskmgr
1497 enable_termsv
1498 enable_uninstaller
1499 enable_unlodctr
1500 enable_view
1501 enable_wevtutil
1502 enable_wineboot
1503 enable_winebrowser
1504 enable_winecfg
1505 enable_wineconsole
1506 enable_winedbg
1507 enable_winedevice
1508 enable_winefile
1509 enable_winemenubuilder
1510 enable_winemine
1511 enable_winemsibuilder
1512 enable_winepath
1513 enable_winetest
1514 enable_winhlp32
1515 enable_winver
1516 enable_wmic
1517 enable_wmplayer
1518 enable_wordpad
1519 enable_write
1520 enable_wscript
1521 enable_wusa
1522 enable_xcopy
1523 enable_server
1524 enable_tools
1526 ac_precious_vars='build_alias
1527 host_alias
1528 target_alias
1530 CFLAGS
1531 LDFLAGS
1532 LIBS
1533 CPPFLAGS
1535 CXXFLAGS
1538 XMKMF
1539 XML2_CFLAGS
1540 XML2_LIBS
1541 XSLT_CFLAGS
1542 XSLT_LIBS
1543 DBUS_CFLAGS
1544 DBUS_LIBS
1545 HAL_CFLAGS
1546 HAL_LIBS
1547 GNUTLS_CFLAGS
1548 GNUTLS_LIBS
1549 SANE_CFLAGS
1550 SANE_LIBS
1551 GPHOTO2_CFLAGS
1552 GPHOTO2_LIBS
1553 GPHOTO2_PORT_CFLAGS
1554 GPHOTO2_PORT_LIBS
1555 LCMS2_CFLAGS
1556 LCMS2_LIBS
1557 FREETYPE_CFLAGS
1558 FREETYPE_LIBS
1559 PULSE_CFLAGS
1560 PULSE_LIBS
1561 GSTREAMER_CFLAGS
1562 GSTREAMER_LIBS
1563 CAPI20_CFLAGS
1564 CAPI20_LIBS
1565 FONTCONFIG_CFLAGS
1566 FONTCONFIG_LIBS
1567 JPEG_CFLAGS
1568 JPEG_LIBS
1569 PNG_CFLAGS
1570 PNG_LIBS
1571 TIFF_CFLAGS
1572 TIFF_LIBS
1573 MPG123_CFLAGS
1574 MPG123_LIBS
1575 NETAPI_CFLAGS
1576 NETAPI_LIBS'
1579 # Initialize some variables set by options.
1580 ac_init_help=
1581 ac_init_version=false
1582 ac_unrecognized_opts=
1583 ac_unrecognized_sep=
1584 # The variables have the same names as the options, with
1585 # dashes changed to underlines.
1586 cache_file=/dev/null
1587 exec_prefix=NONE
1588 no_create=
1589 no_recursion=
1590 prefix=NONE
1591 program_prefix=NONE
1592 program_suffix=NONE
1593 program_transform_name=s,x,x,
1594 silent=
1595 site=
1596 srcdir=
1597 verbose=
1598 x_includes=NONE
1599 x_libraries=NONE
1601 # Installation directory options.
1602 # These are left unexpanded so users can "make install exec_prefix=/foo"
1603 # and all the variables that are supposed to be based on exec_prefix
1604 # by default will actually change.
1605 # Use braces instead of parens because sh, perl, etc. also accept them.
1606 # (The list follows the same order as the GNU Coding Standards.)
1607 bindir='${exec_prefix}/bin'
1608 sbindir='${exec_prefix}/sbin'
1609 libexecdir='${exec_prefix}/libexec'
1610 datarootdir='${prefix}/share'
1611 datadir='${datarootdir}'
1612 sysconfdir='${prefix}/etc'
1613 sharedstatedir='${prefix}/com'
1614 localstatedir='${prefix}/var'
1615 runstatedir='${localstatedir}/run'
1616 includedir='${prefix}/include'
1617 oldincludedir='/usr/include'
1618 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1619 infodir='${datarootdir}/info'
1620 htmldir='${docdir}'
1621 dvidir='${docdir}'
1622 pdfdir='${docdir}'
1623 psdir='${docdir}'
1624 libdir='${exec_prefix}/lib'
1625 localedir='${datarootdir}/locale'
1626 mandir='${datarootdir}/man'
1628 ac_prev=
1629 ac_dashdash=
1630 for ac_option
1632 # If the previous option needs an argument, assign it.
1633 if test -n "$ac_prev"; then
1634 eval $ac_prev=\$ac_option
1635 ac_prev=
1636 continue
1639 case $ac_option in
1640 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1641 *=) ac_optarg= ;;
1642 *) ac_optarg=yes ;;
1643 esac
1645 # Accept the important Cygnus configure options, so we can diagnose typos.
1647 case $ac_dashdash$ac_option in
1649 ac_dashdash=yes ;;
1651 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1652 ac_prev=bindir ;;
1653 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1654 bindir=$ac_optarg ;;
1656 -build | --build | --buil | --bui | --bu)
1657 ac_prev=build_alias ;;
1658 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1659 build_alias=$ac_optarg ;;
1661 -cache-file | --cache-file | --cache-fil | --cache-fi \
1662 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1663 ac_prev=cache_file ;;
1664 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1665 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1666 cache_file=$ac_optarg ;;
1668 --config-cache | -C)
1669 cache_file=config.cache ;;
1671 -datadir | --datadir | --datadi | --datad)
1672 ac_prev=datadir ;;
1673 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1674 datadir=$ac_optarg ;;
1676 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1677 | --dataroo | --dataro | --datar)
1678 ac_prev=datarootdir ;;
1679 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1680 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1681 datarootdir=$ac_optarg ;;
1683 -disable-* | --disable-*)
1684 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1685 # Reject names that are not valid shell variable names.
1686 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1687 as_fn_error $? "invalid feature name: $ac_useropt"
1688 ac_useropt_orig=$ac_useropt
1689 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1690 case $ac_user_opts in
1692 "enable_$ac_useropt"
1693 "*) ;;
1694 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1695 ac_unrecognized_sep=', ';;
1696 esac
1697 eval enable_$ac_useropt=no ;;
1699 -docdir | --docdir | --docdi | --doc | --do)
1700 ac_prev=docdir ;;
1701 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1702 docdir=$ac_optarg ;;
1704 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1705 ac_prev=dvidir ;;
1706 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1707 dvidir=$ac_optarg ;;
1709 -enable-* | --enable-*)
1710 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1711 # Reject names that are not valid shell variable names.
1712 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1713 as_fn_error $? "invalid feature name: $ac_useropt"
1714 ac_useropt_orig=$ac_useropt
1715 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1716 case $ac_user_opts in
1718 "enable_$ac_useropt"
1719 "*) ;;
1720 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1721 ac_unrecognized_sep=', ';;
1722 esac
1723 eval enable_$ac_useropt=\$ac_optarg ;;
1725 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1726 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1727 | --exec | --exe | --ex)
1728 ac_prev=exec_prefix ;;
1729 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1730 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1731 | --exec=* | --exe=* | --ex=*)
1732 exec_prefix=$ac_optarg ;;
1734 -gas | --gas | --ga | --g)
1735 # Obsolete; use --with-gas.
1736 with_gas=yes ;;
1738 -help | --help | --hel | --he | -h)
1739 ac_init_help=long ;;
1740 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1741 ac_init_help=recursive ;;
1742 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1743 ac_init_help=short ;;
1745 -host | --host | --hos | --ho)
1746 ac_prev=host_alias ;;
1747 -host=* | --host=* | --hos=* | --ho=*)
1748 host_alias=$ac_optarg ;;
1750 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1751 ac_prev=htmldir ;;
1752 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1753 | --ht=*)
1754 htmldir=$ac_optarg ;;
1756 -includedir | --includedir | --includedi | --included | --include \
1757 | --includ | --inclu | --incl | --inc)
1758 ac_prev=includedir ;;
1759 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1760 | --includ=* | --inclu=* | --incl=* | --inc=*)
1761 includedir=$ac_optarg ;;
1763 -infodir | --infodir | --infodi | --infod | --info | --inf)
1764 ac_prev=infodir ;;
1765 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1766 infodir=$ac_optarg ;;
1768 -libdir | --libdir | --libdi | --libd)
1769 ac_prev=libdir ;;
1770 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1771 libdir=$ac_optarg ;;
1773 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1774 | --libexe | --libex | --libe)
1775 ac_prev=libexecdir ;;
1776 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1777 | --libexe=* | --libex=* | --libe=*)
1778 libexecdir=$ac_optarg ;;
1780 -localedir | --localedir | --localedi | --localed | --locale)
1781 ac_prev=localedir ;;
1782 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1783 localedir=$ac_optarg ;;
1785 -localstatedir | --localstatedir | --localstatedi | --localstated \
1786 | --localstate | --localstat | --localsta | --localst | --locals)
1787 ac_prev=localstatedir ;;
1788 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1789 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1790 localstatedir=$ac_optarg ;;
1792 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1793 ac_prev=mandir ;;
1794 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1795 mandir=$ac_optarg ;;
1797 -nfp | --nfp | --nf)
1798 # Obsolete; use --without-fp.
1799 with_fp=no ;;
1801 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1802 | --no-cr | --no-c | -n)
1803 no_create=yes ;;
1805 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1806 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1807 no_recursion=yes ;;
1809 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1810 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1811 | --oldin | --oldi | --old | --ol | --o)
1812 ac_prev=oldincludedir ;;
1813 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1814 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1815 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1816 oldincludedir=$ac_optarg ;;
1818 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1819 ac_prev=prefix ;;
1820 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1821 prefix=$ac_optarg ;;
1823 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1824 | --program-pre | --program-pr | --program-p)
1825 ac_prev=program_prefix ;;
1826 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1827 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1828 program_prefix=$ac_optarg ;;
1830 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1831 | --program-suf | --program-su | --program-s)
1832 ac_prev=program_suffix ;;
1833 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1834 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1835 program_suffix=$ac_optarg ;;
1837 -program-transform-name | --program-transform-name \
1838 | --program-transform-nam | --program-transform-na \
1839 | --program-transform-n | --program-transform- \
1840 | --program-transform | --program-transfor \
1841 | --program-transfo | --program-transf \
1842 | --program-trans | --program-tran \
1843 | --progr-tra | --program-tr | --program-t)
1844 ac_prev=program_transform_name ;;
1845 -program-transform-name=* | --program-transform-name=* \
1846 | --program-transform-nam=* | --program-transform-na=* \
1847 | --program-transform-n=* | --program-transform-=* \
1848 | --program-transform=* | --program-transfor=* \
1849 | --program-transfo=* | --program-transf=* \
1850 | --program-trans=* | --program-tran=* \
1851 | --progr-tra=* | --program-tr=* | --program-t=*)
1852 program_transform_name=$ac_optarg ;;
1854 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1855 ac_prev=pdfdir ;;
1856 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1857 pdfdir=$ac_optarg ;;
1859 -psdir | --psdir | --psdi | --psd | --ps)
1860 ac_prev=psdir ;;
1861 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1862 psdir=$ac_optarg ;;
1864 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1865 | -silent | --silent | --silen | --sile | --sil)
1866 silent=yes ;;
1868 -runstatedir | --runstatedir | --runstatedi | --runstated \
1869 | --runstate | --runstat | --runsta | --runst | --runs \
1870 | --run | --ru | --r)
1871 ac_prev=runstatedir ;;
1872 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1873 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1874 | --run=* | --ru=* | --r=*)
1875 runstatedir=$ac_optarg ;;
1877 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1878 ac_prev=sbindir ;;
1879 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1880 | --sbi=* | --sb=*)
1881 sbindir=$ac_optarg ;;
1883 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1884 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1885 | --sharedst | --shareds | --shared | --share | --shar \
1886 | --sha | --sh)
1887 ac_prev=sharedstatedir ;;
1888 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1889 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1890 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1891 | --sha=* | --sh=*)
1892 sharedstatedir=$ac_optarg ;;
1894 -site | --site | --sit)
1895 ac_prev=site ;;
1896 -site=* | --site=* | --sit=*)
1897 site=$ac_optarg ;;
1899 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1900 ac_prev=srcdir ;;
1901 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1902 srcdir=$ac_optarg ;;
1904 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1905 | --syscon | --sysco | --sysc | --sys | --sy)
1906 ac_prev=sysconfdir ;;
1907 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1908 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1909 sysconfdir=$ac_optarg ;;
1911 -target | --target | --targe | --targ | --tar | --ta | --t)
1912 ac_prev=target_alias ;;
1913 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1914 target_alias=$ac_optarg ;;
1916 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1917 verbose=yes ;;
1919 -version | --version | --versio | --versi | --vers | -V)
1920 ac_init_version=: ;;
1922 -with-* | --with-*)
1923 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1924 # Reject names that are not valid shell variable names.
1925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1926 as_fn_error $? "invalid package name: $ac_useropt"
1927 ac_useropt_orig=$ac_useropt
1928 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1929 case $ac_user_opts in
1931 "with_$ac_useropt"
1932 "*) ;;
1933 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1934 ac_unrecognized_sep=', ';;
1935 esac
1936 eval with_$ac_useropt=\$ac_optarg ;;
1938 -without-* | --without-*)
1939 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1940 # Reject names that are not valid shell variable names.
1941 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1942 as_fn_error $? "invalid package name: $ac_useropt"
1943 ac_useropt_orig=$ac_useropt
1944 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1945 case $ac_user_opts in
1947 "with_$ac_useropt"
1948 "*) ;;
1949 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1950 ac_unrecognized_sep=', ';;
1951 esac
1952 eval with_$ac_useropt=no ;;
1954 --x)
1955 # Obsolete; use --with-x.
1956 with_x=yes ;;
1958 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1959 | --x-incl | --x-inc | --x-in | --x-i)
1960 ac_prev=x_includes ;;
1961 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1962 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1963 x_includes=$ac_optarg ;;
1965 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1966 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1967 ac_prev=x_libraries ;;
1968 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1969 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1970 x_libraries=$ac_optarg ;;
1972 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1973 Try \`$0 --help' for more information"
1976 *=*)
1977 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1978 # Reject names that are not valid shell variable names.
1979 case $ac_envvar in #(
1980 '' | [0-9]* | *[!_$as_cr_alnum]* )
1981 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1982 esac
1983 eval $ac_envvar=\$ac_optarg
1984 export $ac_envvar ;;
1987 # FIXME: should be removed in autoconf 3.0.
1988 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1989 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1990 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1991 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1994 esac
1995 done
1997 if test -n "$ac_prev"; then
1998 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1999 as_fn_error $? "missing argument to $ac_option"
2002 if test -n "$ac_unrecognized_opts"; then
2003 case $enable_option_checking in
2004 no) ;;
2005 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2006 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2007 esac
2010 # Check all directory arguments for consistency.
2011 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2012 datadir sysconfdir sharedstatedir localstatedir includedir \
2013 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2014 libdir localedir mandir runstatedir
2016 eval ac_val=\$$ac_var
2017 # Remove trailing slashes.
2018 case $ac_val in
2019 */ )
2020 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2021 eval $ac_var=\$ac_val;;
2022 esac
2023 # Be sure to have absolute directory names.
2024 case $ac_val in
2025 [\\/$]* | ?:[\\/]* ) continue;;
2026 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2027 esac
2028 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2029 done
2031 # There might be people who depend on the old broken behavior: `$host'
2032 # used to hold the argument of --host etc.
2033 # FIXME: To remove some day.
2034 build=$build_alias
2035 host=$host_alias
2036 target=$target_alias
2038 # FIXME: To remove some day.
2039 if test "x$host_alias" != x; then
2040 if test "x$build_alias" = x; then
2041 cross_compiling=maybe
2042 elif test "x$build_alias" != "x$host_alias"; then
2043 cross_compiling=yes
2047 ac_tool_prefix=
2048 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2050 test "$silent" = yes && exec 6>/dev/null
2053 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2054 ac_ls_di=`ls -di .` &&
2055 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2056 as_fn_error $? "working directory cannot be determined"
2057 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2058 as_fn_error $? "pwd does not report name of working directory"
2061 # Find the source files, if location was not specified.
2062 if test -z "$srcdir"; then
2063 ac_srcdir_defaulted=yes
2064 # Try the directory containing this script, then the parent directory.
2065 ac_confdir=`$as_dirname -- "$as_myself" ||
2066 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2067 X"$as_myself" : 'X\(//\)[^/]' \| \
2068 X"$as_myself" : 'X\(//\)$' \| \
2069 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2070 $as_echo X"$as_myself" |
2071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2072 s//\1/
2075 /^X\(\/\/\)[^/].*/{
2076 s//\1/
2079 /^X\(\/\/\)$/{
2080 s//\1/
2083 /^X\(\/\).*/{
2084 s//\1/
2087 s/.*/./; q'`
2088 srcdir=$ac_confdir
2089 if test ! -r "$srcdir/$ac_unique_file"; then
2090 srcdir=..
2092 else
2093 ac_srcdir_defaulted=no
2095 if test ! -r "$srcdir/$ac_unique_file"; then
2096 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2097 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2099 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2100 ac_abs_confdir=`(
2101 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2102 pwd)`
2103 # When building in place, set srcdir=.
2104 if test "$ac_abs_confdir" = "$ac_pwd"; then
2105 srcdir=.
2107 # Remove unnecessary trailing slashes from srcdir.
2108 # Double slashes in file names in object file debugging info
2109 # mess up M-x gdb in Emacs.
2110 case $srcdir in
2111 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2112 esac
2113 for ac_var in $ac_precious_vars; do
2114 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2115 eval ac_env_${ac_var}_value=\$${ac_var}
2116 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2117 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2118 done
2121 # Report the --help message.
2123 if test "$ac_init_help" = "long"; then
2124 # Omit some internal or obsolete options to make the list less imposing.
2125 # This message is too long to be a string in the A/UX 3.1 sh.
2126 cat <<_ACEOF
2127 \`configure' configures Wine 1.9.3 to adapt to many kinds of systems.
2129 Usage: $0 [OPTION]... [VAR=VALUE]...
2131 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2132 VAR=VALUE. See below for descriptions of some of the useful variables.
2134 Defaults for the options are specified in brackets.
2136 Configuration:
2137 -h, --help display this help and exit
2138 --help=short display options specific to this package
2139 --help=recursive display the short help of all the included packages
2140 -V, --version display version information and exit
2141 -q, --quiet, --silent do not print \`checking ...' messages
2142 --cache-file=FILE cache test results in FILE [disabled]
2143 -C, --config-cache alias for \`--cache-file=config.cache'
2144 -n, --no-create do not create output files
2145 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2147 Installation directories:
2148 --prefix=PREFIX install architecture-independent files in PREFIX
2149 [$ac_default_prefix]
2150 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2151 [PREFIX]
2153 By default, \`make install' will install all the files in
2154 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2155 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2156 for instance \`--prefix=\$HOME'.
2158 For better control, use the options below.
2160 Fine tuning of the installation directories:
2161 --bindir=DIR user executables [EPREFIX/bin]
2162 --sbindir=DIR system admin executables [EPREFIX/sbin]
2163 --libexecdir=DIR program executables [EPREFIX/libexec]
2164 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2165 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2166 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2167 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2168 --libdir=DIR object code libraries [EPREFIX/lib]
2169 --includedir=DIR C header files [PREFIX/include]
2170 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2171 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2172 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2173 --infodir=DIR info documentation [DATAROOTDIR/info]
2174 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2175 --mandir=DIR man documentation [DATAROOTDIR/man]
2176 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2177 --htmldir=DIR html documentation [DOCDIR]
2178 --dvidir=DIR dvi documentation [DOCDIR]
2179 --pdfdir=DIR pdf documentation [DOCDIR]
2180 --psdir=DIR ps documentation [DOCDIR]
2181 _ACEOF
2183 cat <<\_ACEOF
2185 X features:
2186 --x-includes=DIR X include files are in DIR
2187 --x-libraries=DIR X library files are in DIR
2189 System types:
2190 --build=BUILD configure for building on BUILD [guessed]
2191 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2192 _ACEOF
2195 if test -n "$ac_init_help"; then
2196 case $ac_init_help in
2197 short | recursive ) echo "Configuration of Wine 1.9.3:";;
2198 esac
2199 cat <<\_ACEOF
2201 Optional Features:
2202 --disable-option-checking ignore unrecognized --enable/--with options
2203 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2204 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2205 --disable-win16 do not include Win16 support
2206 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2207 binaries)
2208 --disable-tests do not build the regression tests
2209 --enable-maintainer-mode
2210 enable maintainer-specific build rules
2211 --disable-largefile omit support for large files
2213 Optional Packages:
2214 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2215 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2216 --without-alsa do not use the Alsa sound support
2217 --without-capi do not use CAPI (ISDN support)
2218 --without-cms do not use CMS (color management support)
2219 --without-coreaudio do not use the CoreAudio sound support
2220 --without-cups do not use CUPS
2221 --without-curses do not use (n)curses
2222 --without-dbus do not use DBus (dynamic device support)
2223 --without-fontconfig do not use fontconfig
2224 --without-freetype do not use the FreeType library
2225 --without-gettext do not use gettext
2226 --with-gettextpo use the GetTextPO library to rebuild po files
2227 --without-gphoto do not use gphoto (Digital Camera support)
2228 --without-glu do not use the GLU library
2229 --without-gnutls do not use GnuTLS (schannel support)
2230 --without-gsm do not use libgsm (GSM 06.10 codec support)
2231 --without-gstreamer do not use GStreamer (codecs support)
2232 --without-hal do not use HAL (dynamic device support)
2233 --without-jpeg do not use JPEG
2234 --without-ldap do not use LDAP
2235 --without-mpg123 do not use the mpg123 library
2236 --without-netapi do not use the Samba NetAPI library
2237 --without-openal do not use OpenAL
2238 --without-opencl do not use OpenCL
2239 --without-opengl do not use OpenGL
2240 --without-osmesa do not use the OSMesa library
2241 --without-oss do not use the OSS sound support
2242 --without-pcap do not use the Packet Capture library
2243 --without-png do not use PNG
2244 --without-pthread do not use the pthread library
2245 --without-pulse do not use PulseAudio sound support
2246 --without-sane do not use SANE (scanner support)
2247 --without-tiff do not use TIFF
2248 --without-v4l do not use v4l1 (v4l support)
2249 --without-xcomposite do not use the Xcomposite extension
2250 --without-xcursor do not use the Xcursor extension
2251 --without-xinerama do not use Xinerama (multi-monitor support)
2252 --without-xinput do not use the Xinput extension
2253 --without-xinput2 do not use the Xinput 2 extension
2254 --without-xml do not use XML
2255 --without-xrandr do not use Xrandr (resolution changes)
2256 --without-xrender do not use the Xrender extension
2257 --without-xshape do not use the Xshape extension
2258 --without-xshm do not use XShm (shared memory extension)
2259 --without-xslt do not use XSLT
2260 --without-xxf86vm do not use XFree video mode extension
2261 --without-zlib do not use Zlib (data compression)
2262 --with-wine-tools=DIR use Wine tools from directory DIR
2263 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2264 --with-x use the X Window System
2266 Some influential environment variables:
2267 CC C compiler command
2268 CFLAGS C compiler flags
2269 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2270 nonstandard directory <lib dir>
2271 LIBS libraries to pass to the linker, e.g. -l<library>
2272 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2273 you have headers in a nonstandard directory <include dir>
2274 CXX C++ compiler command
2275 CXXFLAGS C++ compiler flags
2276 CPP C preprocessor
2277 XMKMF Path to xmkmf, Makefile generator for X Window System
2278 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2279 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2280 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2281 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2282 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2283 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2284 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2285 HAL_LIBS Linker flags for hal, overriding pkg-config
2286 GNUTLS_CFLAGS
2287 C compiler flags for gnutls, overriding pkg-config
2288 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2289 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2290 SANE_LIBS Linker flags for libsane, overriding pkg-config
2291 GPHOTO2_CFLAGS
2292 C compiler flags for libgphoto2, overriding pkg-config
2293 GPHOTO2_LIBS
2294 Linker flags for libgphoto2, overriding pkg-config
2295 GPHOTO2_PORT_CFLAGS
2296 C compiler flags for libgphoto2_port, overriding pkg-config
2297 GPHOTO2_PORT_LIBS
2298 Linker flags for libgphoto2_port, overriding pkg-config
2299 LCMS2_CFLAGS
2300 C compiler flags for lcms2, overriding pkg-config
2301 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2302 FREETYPE_CFLAGS
2303 C compiler flags for freetype2, overriding pkg-config
2304 FREETYPE_LIBS
2305 Linker flags for freetype2, overriding pkg-config
2306 PULSE_CFLAGS
2307 C compiler flags for libpulse, overriding pkg-config
2308 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2309 GSTREAMER_CFLAGS
2310 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2311 gstreamer-audio-1.0, overriding pkg-config
2312 GSTREAMER_LIBS
2313 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2314 gstreamer-audio-1.0, overriding pkg-config
2315 CAPI20_CFLAGS
2316 C compiler flags for capi20, overriding pkg-config
2317 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2318 FONTCONFIG_CFLAGS
2319 C compiler flags for fontconfig, overriding pkg-config
2320 FONTCONFIG_LIBS
2321 Linker flags for fontconfig, overriding pkg-config
2322 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2323 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2324 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2325 PNG_LIBS Linker flags for libpng, overriding pkg-config
2326 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2327 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2328 MPG123_CFLAGS
2329 C compiler flags for libmpg123, overriding pkg-config
2330 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2331 NETAPI_CFLAGS
2332 C compiler flags for netapi, overriding pkg-config
2333 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2335 Use these variables to override the choices made by `configure' or to help
2336 it to find libraries and programs with nonstandard names/locations.
2338 Report bugs to <wine-devel@winehq.org>.
2339 Wine home page: <http://www.winehq.org>.
2340 _ACEOF
2341 ac_status=$?
2344 if test "$ac_init_help" = "recursive"; then
2345 # If there are subdirs, report their specific --help.
2346 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2347 test -d "$ac_dir" ||
2348 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2349 continue
2350 ac_builddir=.
2352 case "$ac_dir" in
2353 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2355 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2356 # A ".." for each directory in $ac_dir_suffix.
2357 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2358 case $ac_top_builddir_sub in
2359 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2360 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2361 esac ;;
2362 esac
2363 ac_abs_top_builddir=$ac_pwd
2364 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2365 # for backward compatibility:
2366 ac_top_builddir=$ac_top_build_prefix
2368 case $srcdir in
2369 .) # We are building in place.
2370 ac_srcdir=.
2371 ac_top_srcdir=$ac_top_builddir_sub
2372 ac_abs_top_srcdir=$ac_pwd ;;
2373 [\\/]* | ?:[\\/]* ) # Absolute name.
2374 ac_srcdir=$srcdir$ac_dir_suffix;
2375 ac_top_srcdir=$srcdir
2376 ac_abs_top_srcdir=$srcdir ;;
2377 *) # Relative name.
2378 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2379 ac_top_srcdir=$ac_top_build_prefix$srcdir
2380 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2381 esac
2382 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2384 cd "$ac_dir" || { ac_status=$?; continue; }
2385 # Check for guested configure.
2386 if test -f "$ac_srcdir/configure.gnu"; then
2387 echo &&
2388 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2389 elif test -f "$ac_srcdir/configure"; then
2390 echo &&
2391 $SHELL "$ac_srcdir/configure" --help=recursive
2392 else
2393 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2394 fi || ac_status=$?
2395 cd "$ac_pwd" || { ac_status=$?; break; }
2396 done
2399 test -n "$ac_init_help" && exit $ac_status
2400 if $ac_init_version; then
2401 cat <<\_ACEOF
2402 Wine configure 1.9.3
2403 generated by GNU Autoconf 2.69
2405 Copyright (C) 2012 Free Software Foundation, Inc.
2406 This configure script is free software; the Free Software Foundation
2407 gives unlimited permission to copy, distribute and modify it.
2408 _ACEOF
2409 exit
2412 ## ------------------------ ##
2413 ## Autoconf initialization. ##
2414 ## ------------------------ ##
2416 # ac_fn_c_try_compile LINENO
2417 # --------------------------
2418 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2419 ac_fn_c_try_compile ()
2421 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2422 rm -f conftest.$ac_objext
2423 if { { ac_try="$ac_compile"
2424 case "(($ac_try" in
2425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2426 *) ac_try_echo=$ac_try;;
2427 esac
2428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2429 $as_echo "$ac_try_echo"; } >&5
2430 (eval "$ac_compile") 2>conftest.err
2431 ac_status=$?
2432 if test -s conftest.err; then
2433 grep -v '^ *+' conftest.err >conftest.er1
2434 cat conftest.er1 >&5
2435 mv -f conftest.er1 conftest.err
2437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2438 test $ac_status = 0; } && {
2439 test -z "$ac_c_werror_flag" ||
2440 test ! -s conftest.err
2441 } && test -s conftest.$ac_objext; then :
2442 ac_retval=0
2443 else
2444 $as_echo "$as_me: failed program was:" >&5
2445 sed 's/^/| /' conftest.$ac_ext >&5
2447 ac_retval=1
2449 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2450 as_fn_set_status $ac_retval
2452 } # ac_fn_c_try_compile
2454 # ac_fn_cxx_try_compile LINENO
2455 # ----------------------------
2456 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2457 ac_fn_cxx_try_compile ()
2459 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2460 rm -f conftest.$ac_objext
2461 if { { ac_try="$ac_compile"
2462 case "(($ac_try" in
2463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2464 *) ac_try_echo=$ac_try;;
2465 esac
2466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2467 $as_echo "$ac_try_echo"; } >&5
2468 (eval "$ac_compile") 2>conftest.err
2469 ac_status=$?
2470 if test -s conftest.err; then
2471 grep -v '^ *+' conftest.err >conftest.er1
2472 cat conftest.er1 >&5
2473 mv -f conftest.er1 conftest.err
2475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2476 test $ac_status = 0; } && {
2477 test -z "$ac_cxx_werror_flag" ||
2478 test ! -s conftest.err
2479 } && test -s conftest.$ac_objext; then :
2480 ac_retval=0
2481 else
2482 $as_echo "$as_me: failed program was:" >&5
2483 sed 's/^/| /' conftest.$ac_ext >&5
2485 ac_retval=1
2487 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2488 as_fn_set_status $ac_retval
2490 } # ac_fn_cxx_try_compile
2492 # ac_fn_c_try_link LINENO
2493 # -----------------------
2494 # Try to link conftest.$ac_ext, and return whether this succeeded.
2495 ac_fn_c_try_link ()
2497 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2498 rm -f conftest.$ac_objext conftest$ac_exeext
2499 if { { ac_try="$ac_link"
2500 case "(($ac_try" in
2501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2502 *) ac_try_echo=$ac_try;;
2503 esac
2504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2505 $as_echo "$ac_try_echo"; } >&5
2506 (eval "$ac_link") 2>conftest.err
2507 ac_status=$?
2508 if test -s conftest.err; then
2509 grep -v '^ *+' conftest.err >conftest.er1
2510 cat conftest.er1 >&5
2511 mv -f conftest.er1 conftest.err
2513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2514 test $ac_status = 0; } && {
2515 test -z "$ac_c_werror_flag" ||
2516 test ! -s conftest.err
2517 } && test -s conftest$ac_exeext && {
2518 test "$cross_compiling" = yes ||
2519 test -x conftest$ac_exeext
2520 }; then :
2521 ac_retval=0
2522 else
2523 $as_echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.$ac_ext >&5
2526 ac_retval=1
2528 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2529 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2530 # interfere with the next link command; also delete a directory that is
2531 # left behind by Apple's compiler. We do this before executing the actions.
2532 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2533 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2534 as_fn_set_status $ac_retval
2536 } # ac_fn_c_try_link
2538 # ac_fn_c_try_cpp LINENO
2539 # ----------------------
2540 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2541 ac_fn_c_try_cpp ()
2543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2544 if { { ac_try="$ac_cpp conftest.$ac_ext"
2545 case "(($ac_try" in
2546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2547 *) ac_try_echo=$ac_try;;
2548 esac
2549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2550 $as_echo "$ac_try_echo"; } >&5
2551 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2552 ac_status=$?
2553 if test -s conftest.err; then
2554 grep -v '^ *+' conftest.err >conftest.er1
2555 cat conftest.er1 >&5
2556 mv -f conftest.er1 conftest.err
2558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2559 test $ac_status = 0; } > conftest.i && {
2560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2561 test ! -s conftest.err
2562 }; then :
2563 ac_retval=0
2564 else
2565 $as_echo "$as_me: failed program was:" >&5
2566 sed 's/^/| /' conftest.$ac_ext >&5
2568 ac_retval=1
2570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2571 as_fn_set_status $ac_retval
2573 } # ac_fn_c_try_cpp
2575 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2576 # -------------------------------------------------------
2577 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2578 # the include files in INCLUDES and setting the cache variable VAR
2579 # accordingly.
2580 ac_fn_c_check_header_mongrel ()
2582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2583 if eval \${$3+:} false; then :
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2585 $as_echo_n "checking for $2... " >&6; }
2586 if eval \${$3+:} false; then :
2587 $as_echo_n "(cached) " >&6
2589 eval ac_res=\$$3
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2591 $as_echo "$ac_res" >&6; }
2592 else
2593 # Is the header compilable?
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2595 $as_echo_n "checking $2 usability... " >&6; }
2596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2597 /* end confdefs.h. */
2599 #include <$2>
2600 _ACEOF
2601 if ac_fn_c_try_compile "$LINENO"; then :
2602 ac_header_compiler=yes
2603 else
2604 ac_header_compiler=no
2606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2608 $as_echo "$ac_header_compiler" >&6; }
2610 # Is the header present?
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2612 $as_echo_n "checking $2 presence... " >&6; }
2613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2614 /* end confdefs.h. */
2615 #include <$2>
2616 _ACEOF
2617 if ac_fn_c_try_cpp "$LINENO"; then :
2618 ac_header_preproc=yes
2619 else
2620 ac_header_preproc=no
2622 rm -f conftest.err conftest.i conftest.$ac_ext
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2624 $as_echo "$ac_header_preproc" >&6; }
2626 # So? What about this header?
2627 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2628 yes:no: )
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2630 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2632 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2634 no:yes:* )
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2636 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2638 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2640 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2642 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2644 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2645 ( $as_echo "## ------------------------------------ ##
2646 ## Report this to wine-devel@winehq.org ##
2647 ## ------------------------------------ ##"
2648 ) | sed "s/^/$as_me: WARNING: /" >&2
2650 esac
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2652 $as_echo_n "checking for $2... " >&6; }
2653 if eval \${$3+:} false; then :
2654 $as_echo_n "(cached) " >&6
2655 else
2656 eval "$3=\$ac_header_compiler"
2658 eval ac_res=\$$3
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2660 $as_echo "$ac_res" >&6; }
2662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2664 } # ac_fn_c_check_header_mongrel
2666 # ac_fn_c_try_run LINENO
2667 # ----------------------
2668 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2669 # that executables *can* be run.
2670 ac_fn_c_try_run ()
2672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2673 if { { ac_try="$ac_link"
2674 case "(($ac_try" in
2675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676 *) ac_try_echo=$ac_try;;
2677 esac
2678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2679 $as_echo "$ac_try_echo"; } >&5
2680 (eval "$ac_link") 2>&5
2681 ac_status=$?
2682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2683 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2684 { { case "(($ac_try" in
2685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2687 esac
2688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2689 $as_echo "$ac_try_echo"; } >&5
2690 (eval "$ac_try") 2>&5
2691 ac_status=$?
2692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2693 test $ac_status = 0; }; }; then :
2694 ac_retval=0
2695 else
2696 $as_echo "$as_me: program exited with status $ac_status" >&5
2697 $as_echo "$as_me: failed program was:" >&5
2698 sed 's/^/| /' conftest.$ac_ext >&5
2700 ac_retval=$ac_status
2702 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2704 as_fn_set_status $ac_retval
2706 } # ac_fn_c_try_run
2708 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2709 # -------------------------------------------------------
2710 # Tests whether HEADER exists and can be compiled using the include files in
2711 # INCLUDES, setting the cache variable VAR accordingly.
2712 ac_fn_c_check_header_compile ()
2714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2716 $as_echo_n "checking for $2... " >&6; }
2717 if eval \${$3+:} false; then :
2718 $as_echo_n "(cached) " >&6
2719 else
2720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2721 /* end confdefs.h. */
2723 #include <$2>
2724 _ACEOF
2725 if ac_fn_c_try_compile "$LINENO"; then :
2726 eval "$3=yes"
2727 else
2728 eval "$3=no"
2730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2732 eval ac_res=\$$3
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2734 $as_echo "$ac_res" >&6; }
2735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2737 } # ac_fn_c_check_header_compile
2739 # ac_fn_c_check_func LINENO FUNC VAR
2740 # ----------------------------------
2741 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2742 ac_fn_c_check_func ()
2744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2746 $as_echo_n "checking for $2... " >&6; }
2747 if eval \${$3+:} false; then :
2748 $as_echo_n "(cached) " >&6
2749 else
2750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2751 /* end confdefs.h. */
2752 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2754 #define $2 innocuous_$2
2756 /* System header to define __stub macros and hopefully few prototypes,
2757 which can conflict with char $2 (); below.
2758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2759 <limits.h> exists even on freestanding compilers. */
2761 #ifdef __STDC__
2762 # include <limits.h>
2763 #else
2764 # include <assert.h>
2765 #endif
2767 #undef $2
2769 /* Override any GCC internal prototype to avoid an error.
2770 Use char because int might match the return type of a GCC
2771 builtin and then its argument prototype would still apply. */
2772 #ifdef __cplusplus
2773 extern "C"
2774 #endif
2775 char $2 ();
2776 /* The GNU C library defines this for functions which it implements
2777 to always fail with ENOSYS. Some functions are actually named
2778 something starting with __ and the normal name is an alias. */
2779 #if defined __stub_$2 || defined __stub___$2
2780 choke me
2781 #endif
2784 main ()
2786 return $2 ();
2788 return 0;
2790 _ACEOF
2791 if ac_fn_c_try_link "$LINENO"; then :
2792 eval "$3=yes"
2793 else
2794 eval "$3=no"
2796 rm -f core conftest.err conftest.$ac_objext \
2797 conftest$ac_exeext conftest.$ac_ext
2799 eval ac_res=\$$3
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2801 $as_echo "$ac_res" >&6; }
2802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2804 } # ac_fn_c_check_func
2806 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2807 # ----------------------------------------------------
2808 # Tries to find if the field MEMBER exists in type AGGR, after including
2809 # INCLUDES, setting cache variable VAR accordingly.
2810 ac_fn_c_check_member ()
2812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2814 $as_echo_n "checking for $2.$3... " >&6; }
2815 if eval \${$4+:} false; then :
2816 $as_echo_n "(cached) " >&6
2817 else
2818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2819 /* end confdefs.h. */
2822 main ()
2824 static $2 ac_aggr;
2825 if (ac_aggr.$3)
2826 return 0;
2828 return 0;
2830 _ACEOF
2831 if ac_fn_c_try_compile "$LINENO"; then :
2832 eval "$4=yes"
2833 else
2834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2835 /* end confdefs.h. */
2838 main ()
2840 static $2 ac_aggr;
2841 if (sizeof ac_aggr.$3)
2842 return 0;
2844 return 0;
2846 _ACEOF
2847 if ac_fn_c_try_compile "$LINENO"; then :
2848 eval "$4=yes"
2849 else
2850 eval "$4=no"
2852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2856 eval ac_res=\$$4
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2858 $as_echo "$ac_res" >&6; }
2859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2861 } # ac_fn_c_check_member
2863 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2864 # -------------------------------------------
2865 # Tests whether TYPE exists after having included INCLUDES, setting cache
2866 # variable VAR accordingly.
2867 ac_fn_c_check_type ()
2869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2871 $as_echo_n "checking for $2... " >&6; }
2872 if eval \${$3+:} false; then :
2873 $as_echo_n "(cached) " >&6
2874 else
2875 eval "$3=no"
2876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2877 /* end confdefs.h. */
2880 main ()
2882 if (sizeof ($2))
2883 return 0;
2885 return 0;
2887 _ACEOF
2888 if ac_fn_c_try_compile "$LINENO"; then :
2889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2890 /* end confdefs.h. */
2893 main ()
2895 if (sizeof (($2)))
2896 return 0;
2898 return 0;
2900 _ACEOF
2901 if ac_fn_c_try_compile "$LINENO"; then :
2903 else
2904 eval "$3=yes"
2906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2910 eval ac_res=\$$3
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2912 $as_echo "$ac_res" >&6; }
2913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2915 } # ac_fn_c_check_type
2916 cat >config.log <<_ACEOF
2917 This file contains any messages produced by compilers while
2918 running configure, to aid debugging if configure makes a mistake.
2920 It was created by Wine $as_me 1.9.3, which was
2921 generated by GNU Autoconf 2.69. Invocation command line was
2923 $ $0 $@
2925 _ACEOF
2926 exec 5>>config.log
2928 cat <<_ASUNAME
2929 ## --------- ##
2930 ## Platform. ##
2931 ## --------- ##
2933 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2934 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2935 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2936 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2937 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2939 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2940 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2942 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2943 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2944 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2945 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2946 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2947 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2948 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2950 _ASUNAME
2952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2953 for as_dir in $PATH
2955 IFS=$as_save_IFS
2956 test -z "$as_dir" && as_dir=.
2957 $as_echo "PATH: $as_dir"
2958 done
2959 IFS=$as_save_IFS
2961 } >&5
2963 cat >&5 <<_ACEOF
2966 ## ----------- ##
2967 ## Core tests. ##
2968 ## ----------- ##
2970 _ACEOF
2973 # Keep a trace of the command line.
2974 # Strip out --no-create and --no-recursion so they do not pile up.
2975 # Strip out --silent because we don't want to record it for future runs.
2976 # Also quote any args containing shell meta-characters.
2977 # Make two passes to allow for proper duplicate-argument suppression.
2978 ac_configure_args=
2979 ac_configure_args0=
2980 ac_configure_args1=
2981 ac_must_keep_next=false
2982 for ac_pass in 1 2
2984 for ac_arg
2986 case $ac_arg in
2987 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2988 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2989 | -silent | --silent | --silen | --sile | --sil)
2990 continue ;;
2991 *\'*)
2992 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2993 esac
2994 case $ac_pass in
2995 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2997 as_fn_append ac_configure_args1 " '$ac_arg'"
2998 if test $ac_must_keep_next = true; then
2999 ac_must_keep_next=false # Got value, back to normal.
3000 else
3001 case $ac_arg in
3002 *=* | --config-cache | -C | -disable-* | --disable-* \
3003 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3004 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3005 | -with-* | --with-* | -without-* | --without-* | --x)
3006 case "$ac_configure_args0 " in
3007 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3008 esac
3010 -* ) ac_must_keep_next=true ;;
3011 esac
3013 as_fn_append ac_configure_args " '$ac_arg'"
3015 esac
3016 done
3017 done
3018 { ac_configure_args0=; unset ac_configure_args0;}
3019 { ac_configure_args1=; unset ac_configure_args1;}
3021 # When interrupted or exit'd, cleanup temporary files, and complete
3022 # config.log. We remove comments because anyway the quotes in there
3023 # would cause problems or look ugly.
3024 # WARNING: Use '\'' to represent an apostrophe within the trap.
3025 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3026 trap 'exit_status=$?
3027 # Save into config.log some information that might help in debugging.
3029 echo
3031 $as_echo "## ---------------- ##
3032 ## Cache variables. ##
3033 ## ---------------- ##"
3034 echo
3035 # The following way of writing the cache mishandles newlines in values,
3037 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3038 eval ac_val=\$$ac_var
3039 case $ac_val in #(
3040 *${as_nl}*)
3041 case $ac_var in #(
3042 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3043 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3044 esac
3045 case $ac_var in #(
3046 _ | IFS | as_nl) ;; #(
3047 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3048 *) { eval $ac_var=; unset $ac_var;} ;;
3049 esac ;;
3050 esac
3051 done
3052 (set) 2>&1 |
3053 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3054 *${as_nl}ac_space=\ *)
3055 sed -n \
3056 "s/'\''/'\''\\\\'\'''\''/g;
3057 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3058 ;; #(
3060 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3062 esac |
3063 sort
3065 echo
3067 $as_echo "## ----------------- ##
3068 ## Output variables. ##
3069 ## ----------------- ##"
3070 echo
3071 for ac_var in $ac_subst_vars
3073 eval ac_val=\$$ac_var
3074 case $ac_val in
3075 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3076 esac
3077 $as_echo "$ac_var='\''$ac_val'\''"
3078 done | sort
3079 echo
3081 if test -n "$ac_subst_files"; then
3082 $as_echo "## ------------------- ##
3083 ## File substitutions. ##
3084 ## ------------------- ##"
3085 echo
3086 for ac_var in $ac_subst_files
3088 eval ac_val=\$$ac_var
3089 case $ac_val in
3090 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3091 esac
3092 $as_echo "$ac_var='\''$ac_val'\''"
3093 done | sort
3094 echo
3097 if test -s confdefs.h; then
3098 $as_echo "## ----------- ##
3099 ## confdefs.h. ##
3100 ## ----------- ##"
3101 echo
3102 cat confdefs.h
3103 echo
3105 test "$ac_signal" != 0 &&
3106 $as_echo "$as_me: caught signal $ac_signal"
3107 $as_echo "$as_me: exit $exit_status"
3108 } >&5
3109 rm -f core *.core core.conftest.* &&
3110 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3111 exit $exit_status
3113 for ac_signal in 1 2 13 15; do
3114 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3115 done
3116 ac_signal=0
3118 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3119 rm -f -r conftest* confdefs.h
3121 $as_echo "/* confdefs.h */" > confdefs.h
3123 # Predefined preprocessor variables.
3125 cat >>confdefs.h <<_ACEOF
3126 #define PACKAGE_NAME "$PACKAGE_NAME"
3127 _ACEOF
3129 cat >>confdefs.h <<_ACEOF
3130 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3131 _ACEOF
3133 cat >>confdefs.h <<_ACEOF
3134 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3135 _ACEOF
3137 cat >>confdefs.h <<_ACEOF
3138 #define PACKAGE_STRING "$PACKAGE_STRING"
3139 _ACEOF
3141 cat >>confdefs.h <<_ACEOF
3142 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3143 _ACEOF
3145 cat >>confdefs.h <<_ACEOF
3146 #define PACKAGE_URL "$PACKAGE_URL"
3147 _ACEOF
3150 # Let the site file select an alternate cache file if it wants to.
3151 # Prefer an explicitly selected file to automatically selected ones.
3152 ac_site_file1=NONE
3153 ac_site_file2=NONE
3154 if test -n "$CONFIG_SITE"; then
3155 # We do not want a PATH search for config.site.
3156 case $CONFIG_SITE in #((
3157 -*) ac_site_file1=./$CONFIG_SITE;;
3158 */*) ac_site_file1=$CONFIG_SITE;;
3159 *) ac_site_file1=./$CONFIG_SITE;;
3160 esac
3161 elif test "x$prefix" != xNONE; then
3162 ac_site_file1=$prefix/share/config.site
3163 ac_site_file2=$prefix/etc/config.site
3164 else
3165 ac_site_file1=$ac_default_prefix/share/config.site
3166 ac_site_file2=$ac_default_prefix/etc/config.site
3168 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3170 test "x$ac_site_file" = xNONE && continue
3171 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3173 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3174 sed 's/^/| /' "$ac_site_file" >&5
3175 . "$ac_site_file" \
3176 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3178 as_fn_error $? "failed to load site script $ac_site_file
3179 See \`config.log' for more details" "$LINENO" 5; }
3181 done
3183 if test -r "$cache_file"; then
3184 # Some versions of bash will fail to source /dev/null (special files
3185 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3186 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3188 $as_echo "$as_me: loading cache $cache_file" >&6;}
3189 case $cache_file in
3190 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3191 *) . "./$cache_file";;
3192 esac
3194 else
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3196 $as_echo "$as_me: creating cache $cache_file" >&6;}
3197 >$cache_file
3200 # Check that the precious variables saved in the cache have kept the same
3201 # value.
3202 ac_cache_corrupted=false
3203 for ac_var in $ac_precious_vars; do
3204 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3205 eval ac_new_set=\$ac_env_${ac_var}_set
3206 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3207 eval ac_new_val=\$ac_env_${ac_var}_value
3208 case $ac_old_set,$ac_new_set in
3209 set,)
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3211 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3212 ac_cache_corrupted=: ;;
3213 ,set)
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3215 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3216 ac_cache_corrupted=: ;;
3217 ,);;
3219 if test "x$ac_old_val" != "x$ac_new_val"; then
3220 # differences in whitespace do not lead to failure.
3221 ac_old_val_w=`echo x $ac_old_val`
3222 ac_new_val_w=`echo x $ac_new_val`
3223 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3225 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3226 ac_cache_corrupted=:
3227 else
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3229 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3230 eval $ac_var=\$ac_old_val
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3233 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3235 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3236 fi;;
3237 esac
3238 # Pass precious variables to config.status.
3239 if test "$ac_new_set" = set; then
3240 case $ac_new_val in
3241 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3242 *) ac_arg=$ac_var=$ac_new_val ;;
3243 esac
3244 case " $ac_configure_args " in
3245 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3246 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3247 esac
3249 done
3250 if $ac_cache_corrupted; then
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3254 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3255 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3257 ## -------------------- ##
3258 ## Main body of script. ##
3259 ## -------------------- ##
3261 ac_ext=c
3262 ac_cpp='$CPP $CPPFLAGS'
3263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3269 ac_config_headers="$ac_config_headers include/config.h"
3271 ac_aux_dir=
3272 for ac_dir in tools "$srcdir"/tools; do
3273 if test -f "$ac_dir/install-sh"; then
3274 ac_aux_dir=$ac_dir
3275 ac_install_sh="$ac_aux_dir/install-sh -c"
3276 break
3277 elif test -f "$ac_dir/install.sh"; then
3278 ac_aux_dir=$ac_dir
3279 ac_install_sh="$ac_aux_dir/install.sh -c"
3280 break
3281 elif test -f "$ac_dir/shtool"; then
3282 ac_aux_dir=$ac_dir
3283 ac_install_sh="$ac_aux_dir/shtool install -c"
3284 break
3286 done
3287 if test -z "$ac_aux_dir"; then
3288 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3291 # These three variables are undocumented and unsupported,
3292 # and are intended to be withdrawn in a future Autoconf release.
3293 # They can cause serious problems if a builder's source tree is in a directory
3294 # whose full name contains unusual characters.
3295 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3296 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3297 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3301 libwine_version="1.0"
3305 # Check whether --enable-win16 was given.
3306 if test "${enable_win16+set}" = set; then :
3307 enableval=$enable_win16;
3310 # Check whether --enable-win64 was given.
3311 if test "${enable_win64+set}" = set; then :
3312 enableval=$enable_win64;
3315 # Check whether --enable-tests was given.
3316 if test "${enable_tests+set}" = set; then :
3317 enableval=$enable_tests;
3320 # Check whether --enable-maintainer-mode was given.
3321 if test "${enable_maintainer_mode+set}" = set; then :
3322 enableval=$enable_maintainer_mode;
3327 # Check whether --with-alsa was given.
3328 if test "${with_alsa+set}" = set; then :
3329 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3333 # Check whether --with-capi was given.
3334 if test "${with_capi+set}" = set; then :
3335 withval=$with_capi;
3339 # Check whether --with-cms was given.
3340 if test "${with_cms+set}" = set; then :
3341 withval=$with_cms;
3345 # Check whether --with-coreaudio was given.
3346 if test "${with_coreaudio+set}" = set; then :
3347 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3351 # Check whether --with-cups was given.
3352 if test "${with_cups+set}" = set; then :
3353 withval=$with_cups;
3357 # Check whether --with-curses was given.
3358 if test "${with_curses+set}" = set; then :
3359 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3363 # Check whether --with-dbus was given.
3364 if test "${with_dbus+set}" = set; then :
3365 withval=$with_dbus;
3369 # Check whether --with-fontconfig was given.
3370 if test "${with_fontconfig+set}" = set; then :
3371 withval=$with_fontconfig;
3375 # Check whether --with-freetype was given.
3376 if test "${with_freetype+set}" = set; then :
3377 withval=$with_freetype;
3381 # Check whether --with-gettext was given.
3382 if test "${with_gettext+set}" = set; then :
3383 withval=$with_gettext;
3387 # Check whether --with-gettextpo was given.
3388 if test "${with_gettextpo+set}" = set; then :
3389 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3393 # Check whether --with-gphoto was given.
3394 if test "${with_gphoto+set}" = set; then :
3395 withval=$with_gphoto;
3399 # Check whether --with-glu was given.
3400 if test "${with_glu+set}" = set; then :
3401 withval=$with_glu;
3405 # Check whether --with-gnutls was given.
3406 if test "${with_gnutls+set}" = set; then :
3407 withval=$with_gnutls;
3411 # Check whether --with-gsm was given.
3412 if test "${with_gsm+set}" = set; then :
3413 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3417 # Check whether --with-gstreamer was given.
3418 if test "${with_gstreamer+set}" = set; then :
3419 withval=$with_gstreamer;
3423 # Check whether --with-hal was given.
3424 if test "${with_hal+set}" = set; then :
3425 withval=$with_hal;
3429 # Check whether --with-jpeg was given.
3430 if test "${with_jpeg+set}" = set; then :
3431 withval=$with_jpeg;
3435 # Check whether --with-ldap was given.
3436 if test "${with_ldap+set}" = set; then :
3437 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3441 # Check whether --with-mpg123 was given.
3442 if test "${with_mpg123+set}" = set; then :
3443 withval=$with_mpg123;
3447 # Check whether --with-netapi was given.
3448 if test "${with_netapi+set}" = set; then :
3449 withval=$with_netapi;
3453 # Check whether --with-openal was given.
3454 if test "${with_openal+set}" = set; then :
3455 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3459 # Check whether --with-opencl was given.
3460 if test "${with_opencl+set}" = set; then :
3461 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3465 # Check whether --with-opengl was given.
3466 if test "${with_opengl+set}" = set; then :
3467 withval=$with_opengl;
3471 # Check whether --with-osmesa was given.
3472 if test "${with_osmesa+set}" = set; then :
3473 withval=$with_osmesa;
3477 # Check whether --with-oss was given.
3478 if test "${with_oss+set}" = set; then :
3479 withval=$with_oss;
3483 # Check whether --with-pcap was given.
3484 if test "${with_pcap+set}" = set; then :
3485 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3489 # Check whether --with-png was given.
3490 if test "${with_png+set}" = set; then :
3491 withval=$with_png;
3495 # Check whether --with-pthread was given.
3496 if test "${with_pthread+set}" = set; then :
3497 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3501 # Check whether --with-pulse was given.
3502 if test "${with_pulse+set}" = set; then :
3503 withval=$with_pulse;
3507 # Check whether --with-sane was given.
3508 if test "${with_sane+set}" = set; then :
3509 withval=$with_sane;
3513 # Check whether --with-tiff was given.
3514 if test "${with_tiff+set}" = set; then :
3515 withval=$with_tiff;
3519 # Check whether --with-v4l was given.
3520 if test "${with_v4l+set}" = set; then :
3521 withval=$with_v4l;
3525 # Check whether --with-xcomposite was given.
3526 if test "${with_xcomposite+set}" = set; then :
3527 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3531 # Check whether --with-xcursor was given.
3532 if test "${with_xcursor+set}" = set; then :
3533 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3537 # Check whether --with-xinerama was given.
3538 if test "${with_xinerama+set}" = set; then :
3539 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3543 # Check whether --with-xinput was given.
3544 if test "${with_xinput+set}" = set; then :
3545 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3549 # Check whether --with-xinput2 was given.
3550 if test "${with_xinput2+set}" = set; then :
3551 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3555 # Check whether --with-xml was given.
3556 if test "${with_xml+set}" = set; then :
3557 withval=$with_xml;
3561 # Check whether --with-xrandr was given.
3562 if test "${with_xrandr+set}" = set; then :
3563 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3567 # Check whether --with-xrender was given.
3568 if test "${with_xrender+set}" = set; then :
3569 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3573 # Check whether --with-xshape was given.
3574 if test "${with_xshape+set}" = set; then :
3575 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3579 # Check whether --with-xshm was given.
3580 if test "${with_xshm+set}" = set; then :
3581 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3585 # Check whether --with-xslt was given.
3586 if test "${with_xslt+set}" = set; then :
3587 withval=$with_xslt;
3591 # Check whether --with-xxf86vm was given.
3592 if test "${with_xxf86vm+set}" = set; then :
3593 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
3597 # Check whether --with-zlib was given.
3598 if test "${with_zlib+set}" = set; then :
3599 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3604 # Check whether --with-wine-tools was given.
3605 if test "${with_wine_tools+set}" = set; then :
3606 withval=$with_wine_tools;
3610 # Check whether --with-wine64 was given.
3611 if test "${with_wine64+set}" = set; then :
3612 withval=$with_wine64;
3616 # Make sure we can run config.sub.
3617 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3618 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3621 $as_echo_n "checking build system type... " >&6; }
3622 if ${ac_cv_build+:} false; then :
3623 $as_echo_n "(cached) " >&6
3624 else
3625 ac_build_alias=$build_alias
3626 test "x$ac_build_alias" = x &&
3627 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3628 test "x$ac_build_alias" = x &&
3629 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3630 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3631 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3635 $as_echo "$ac_cv_build" >&6; }
3636 case $ac_cv_build in
3637 *-*-*) ;;
3638 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3639 esac
3640 build=$ac_cv_build
3641 ac_save_IFS=$IFS; IFS='-'
3642 set x $ac_cv_build
3643 shift
3644 build_cpu=$1
3645 build_vendor=$2
3646 shift; shift
3647 # Remember, the first character of IFS is used to create $*,
3648 # except with old shells:
3649 build_os=$*
3650 IFS=$ac_save_IFS
3651 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3655 $as_echo_n "checking host system type... " >&6; }
3656 if ${ac_cv_host+:} false; then :
3657 $as_echo_n "(cached) " >&6
3658 else
3659 if test "x$host_alias" = x; then
3660 ac_cv_host=$ac_cv_build
3661 else
3662 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3663 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3668 $as_echo "$ac_cv_host" >&6; }
3669 case $ac_cv_host in
3670 *-*-*) ;;
3671 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3672 esac
3673 host=$ac_cv_host
3674 ac_save_IFS=$IFS; IFS='-'
3675 set x $ac_cv_host
3676 shift
3677 host_cpu=$1
3678 host_vendor=$2
3679 shift; shift
3680 # Remember, the first character of IFS is used to create $*,
3681 # except with old shells:
3682 host_os=$*
3683 IFS=$ac_save_IFS
3684 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3688 case "$srcdir" in
3689 .) ;;
3690 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3691 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3692 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3693 fi ;;
3694 esac
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3698 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3699 set x ${MAKE-make}
3700 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3701 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3702 $as_echo_n "(cached) " >&6
3703 else
3704 cat >conftest.make <<\_ACEOF
3705 SHELL = /bin/sh
3706 all:
3707 @echo '@@@%%%=$(MAKE)=@@@%%%'
3708 _ACEOF
3709 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3710 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3711 *@@@%%%=?*=@@@%%%*)
3712 eval ac_cv_prog_make_${ac_make}_set=yes;;
3714 eval ac_cv_prog_make_${ac_make}_set=no;;
3715 esac
3716 rm -f conftest.make
3718 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3720 $as_echo "yes" >&6; }
3721 SET_MAKE=
3722 else
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3724 $as_echo "no" >&6; }
3725 SET_MAKE="MAKE=${MAKE-make}"
3728 ac_ext=c
3729 ac_cpp='$CPP $CPPFLAGS'
3730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3733 if test -n "$ac_tool_prefix"; then
3734 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3735 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3737 $as_echo_n "checking for $ac_word... " >&6; }
3738 if ${ac_cv_prog_CC+:} false; then :
3739 $as_echo_n "(cached) " >&6
3740 else
3741 if test -n "$CC"; then
3742 ac_cv_prog_CC="$CC" # Let the user override the test.
3743 else
3744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3745 for as_dir in $PATH
3747 IFS=$as_save_IFS
3748 test -z "$as_dir" && as_dir=.
3749 for ac_exec_ext in '' $ac_executable_extensions; do
3750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3751 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3753 break 2
3755 done
3756 done
3757 IFS=$as_save_IFS
3761 CC=$ac_cv_prog_CC
3762 if test -n "$CC"; then
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3764 $as_echo "$CC" >&6; }
3765 else
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3767 $as_echo "no" >&6; }
3772 if test -z "$ac_cv_prog_CC"; then
3773 ac_ct_CC=$CC
3774 # Extract the first word of "gcc", so it can be a program name with args.
3775 set dummy gcc; ac_word=$2
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3777 $as_echo_n "checking for $ac_word... " >&6; }
3778 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3779 $as_echo_n "(cached) " >&6
3780 else
3781 if test -n "$ac_ct_CC"; then
3782 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3783 else
3784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3785 for as_dir in $PATH
3787 IFS=$as_save_IFS
3788 test -z "$as_dir" && as_dir=.
3789 for ac_exec_ext in '' $ac_executable_extensions; do
3790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3791 ac_cv_prog_ac_ct_CC="gcc"
3792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3793 break 2
3795 done
3796 done
3797 IFS=$as_save_IFS
3801 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3802 if test -n "$ac_ct_CC"; then
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3804 $as_echo "$ac_ct_CC" >&6; }
3805 else
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3807 $as_echo "no" >&6; }
3810 if test "x$ac_ct_CC" = x; then
3811 CC=""
3812 else
3813 case $cross_compiling:$ac_tool_warned in
3814 yes:)
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3817 ac_tool_warned=yes ;;
3818 esac
3819 CC=$ac_ct_CC
3821 else
3822 CC="$ac_cv_prog_CC"
3825 if test -z "$CC"; then
3826 if test -n "$ac_tool_prefix"; then
3827 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3828 set dummy ${ac_tool_prefix}cc; ac_word=$2
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3830 $as_echo_n "checking for $ac_word... " >&6; }
3831 if ${ac_cv_prog_CC+:} false; then :
3832 $as_echo_n "(cached) " >&6
3833 else
3834 if test -n "$CC"; then
3835 ac_cv_prog_CC="$CC" # Let the user override the test.
3836 else
3837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838 for as_dir in $PATH
3840 IFS=$as_save_IFS
3841 test -z "$as_dir" && as_dir=.
3842 for ac_exec_ext in '' $ac_executable_extensions; do
3843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3844 ac_cv_prog_CC="${ac_tool_prefix}cc"
3845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 break 2
3848 done
3849 done
3850 IFS=$as_save_IFS
3854 CC=$ac_cv_prog_CC
3855 if test -n "$CC"; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3857 $as_echo "$CC" >&6; }
3858 else
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3866 if test -z "$CC"; then
3867 # Extract the first word of "cc", so it can be a program name with args.
3868 set dummy cc; ac_word=$2
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3870 $as_echo_n "checking for $ac_word... " >&6; }
3871 if ${ac_cv_prog_CC+:} false; then :
3872 $as_echo_n "(cached) " >&6
3873 else
3874 if test -n "$CC"; then
3875 ac_cv_prog_CC="$CC" # Let the user override the test.
3876 else
3877 ac_prog_rejected=no
3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3879 for as_dir in $PATH
3881 IFS=$as_save_IFS
3882 test -z "$as_dir" && as_dir=.
3883 for ac_exec_ext in '' $ac_executable_extensions; do
3884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3885 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3886 ac_prog_rejected=yes
3887 continue
3889 ac_cv_prog_CC="cc"
3890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 break 2
3893 done
3894 done
3895 IFS=$as_save_IFS
3897 if test $ac_prog_rejected = yes; then
3898 # We found a bogon in the path, so make sure we never use it.
3899 set dummy $ac_cv_prog_CC
3900 shift
3901 if test $# != 0; then
3902 # We chose a different compiler from the bogus one.
3903 # However, it has the same basename, so the bogon will be chosen
3904 # first if we set CC to just the basename; use the full file name.
3905 shift
3906 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3911 CC=$ac_cv_prog_CC
3912 if test -n "$CC"; then
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3914 $as_echo "$CC" >&6; }
3915 else
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3917 $as_echo "no" >&6; }
3922 if test -z "$CC"; then
3923 if test -n "$ac_tool_prefix"; then
3924 for ac_prog in cl.exe
3926 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3927 set dummy $ac_tool_prefix$ac_prog; 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 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3937 for as_dir in $PATH
3939 IFS=$as_save_IFS
3940 test -z "$as_dir" && as_dir=.
3941 for ac_exec_ext in '' $ac_executable_extensions; do
3942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3943 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3945 break 2
3947 done
3948 done
3949 IFS=$as_save_IFS
3953 CC=$ac_cv_prog_CC
3954 if test -n "$CC"; then
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3956 $as_echo "$CC" >&6; }
3957 else
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3959 $as_echo "no" >&6; }
3963 test -n "$CC" && break
3964 done
3966 if test -z "$CC"; then
3967 ac_ct_CC=$CC
3968 for ac_prog in cl.exe
3970 # Extract the first word of "$ac_prog", so it can be a program name with args.
3971 set dummy $ac_prog; ac_word=$2
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3973 $as_echo_n "checking for $ac_word... " >&6; }
3974 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3975 $as_echo_n "(cached) " >&6
3976 else
3977 if test -n "$ac_ct_CC"; then
3978 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3979 else
3980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3981 for as_dir in $PATH
3983 IFS=$as_save_IFS
3984 test -z "$as_dir" && as_dir=.
3985 for ac_exec_ext in '' $ac_executable_extensions; do
3986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3987 ac_cv_prog_ac_ct_CC="$ac_prog"
3988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3989 break 2
3991 done
3992 done
3993 IFS=$as_save_IFS
3997 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3998 if test -n "$ac_ct_CC"; then
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4000 $as_echo "$ac_ct_CC" >&6; }
4001 else
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4003 $as_echo "no" >&6; }
4007 test -n "$ac_ct_CC" && break
4008 done
4010 if test "x$ac_ct_CC" = x; then
4011 CC=""
4012 else
4013 case $cross_compiling:$ac_tool_warned in
4014 yes:)
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4017 ac_tool_warned=yes ;;
4018 esac
4019 CC=$ac_ct_CC
4026 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4028 as_fn_error $? "no acceptable C compiler found in \$PATH
4029 See \`config.log' for more details" "$LINENO" 5; }
4031 # Provide some information about the compiler.
4032 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4033 set X $ac_compile
4034 ac_compiler=$2
4035 for ac_option in --version -v -V -qversion; do
4036 { { ac_try="$ac_compiler $ac_option >&5"
4037 case "(($ac_try" in
4038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4039 *) ac_try_echo=$ac_try;;
4040 esac
4041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4042 $as_echo "$ac_try_echo"; } >&5
4043 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4044 ac_status=$?
4045 if test -s conftest.err; then
4046 sed '10a\
4047 ... rest of stderr output deleted ...
4048 10q' conftest.err >conftest.er1
4049 cat conftest.er1 >&5
4051 rm -f conftest.er1 conftest.err
4052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4053 test $ac_status = 0; }
4054 done
4056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4057 /* end confdefs.h. */
4060 main ()
4064 return 0;
4066 _ACEOF
4067 ac_clean_files_save=$ac_clean_files
4068 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4069 # Try to create an executable without -o first, disregard a.out.
4070 # It will help us diagnose broken compilers, and finding out an intuition
4071 # of exeext.
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4073 $as_echo_n "checking whether the C compiler works... " >&6; }
4074 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4076 # The possible output files:
4077 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4079 ac_rmfiles=
4080 for ac_file in $ac_files
4082 case $ac_file in
4083 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4084 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4085 esac
4086 done
4087 rm -f $ac_rmfiles
4089 if { { ac_try="$ac_link_default"
4090 case "(($ac_try" in
4091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4092 *) ac_try_echo=$ac_try;;
4093 esac
4094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4095 $as_echo "$ac_try_echo"; } >&5
4096 (eval "$ac_link_default") 2>&5
4097 ac_status=$?
4098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4099 test $ac_status = 0; }; then :
4100 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4101 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4102 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4103 # so that the user can short-circuit this test for compilers unknown to
4104 # Autoconf.
4105 for ac_file in $ac_files ''
4107 test -f "$ac_file" || continue
4108 case $ac_file in
4109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4111 [ab].out )
4112 # We found the default executable, but exeext='' is most
4113 # certainly right.
4114 break;;
4115 *.* )
4116 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4117 then :; else
4118 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4120 # We set ac_cv_exeext here because the later test for it is not
4121 # safe: cross compilers may not add the suffix if given an `-o'
4122 # argument, so we may need to know it at that point already.
4123 # Even if this section looks crufty: it has the advantage of
4124 # actually working.
4125 break;;
4127 break;;
4128 esac
4129 done
4130 test "$ac_cv_exeext" = no && ac_cv_exeext=
4132 else
4133 ac_file=''
4135 if test -z "$ac_file"; then :
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4137 $as_echo "no" >&6; }
4138 $as_echo "$as_me: failed program was:" >&5
4139 sed 's/^/| /' conftest.$ac_ext >&5
4141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4143 as_fn_error 77 "C compiler cannot create executables
4144 See \`config.log' for more details" "$LINENO" 5; }
4145 else
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4147 $as_echo "yes" >&6; }
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4150 $as_echo_n "checking for C compiler default output file name... " >&6; }
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4152 $as_echo "$ac_file" >&6; }
4153 ac_exeext=$ac_cv_exeext
4155 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4156 ac_clean_files=$ac_clean_files_save
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4158 $as_echo_n "checking for suffix of executables... " >&6; }
4159 if { { ac_try="$ac_link"
4160 case "(($ac_try" in
4161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4162 *) ac_try_echo=$ac_try;;
4163 esac
4164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4165 $as_echo "$ac_try_echo"; } >&5
4166 (eval "$ac_link") 2>&5
4167 ac_status=$?
4168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4169 test $ac_status = 0; }; then :
4170 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4171 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4172 # work properly (i.e., refer to `conftest.exe'), while it won't with
4173 # `rm'.
4174 for ac_file in conftest.exe conftest conftest.*; do
4175 test -f "$ac_file" || continue
4176 case $ac_file in
4177 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4178 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4179 break;;
4180 * ) break;;
4181 esac
4182 done
4183 else
4184 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4186 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4187 See \`config.log' for more details" "$LINENO" 5; }
4189 rm -f conftest conftest$ac_cv_exeext
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4191 $as_echo "$ac_cv_exeext" >&6; }
4193 rm -f conftest.$ac_ext
4194 EXEEXT=$ac_cv_exeext
4195 ac_exeext=$EXEEXT
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4198 #include <stdio.h>
4200 main ()
4202 FILE *f = fopen ("conftest.out", "w");
4203 return ferror (f) || fclose (f) != 0;
4206 return 0;
4208 _ACEOF
4209 ac_clean_files="$ac_clean_files conftest.out"
4210 # Check that the compiler produces executables we can run. If not, either
4211 # the compiler is broken, or we cross compile.
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4213 $as_echo_n "checking whether we are cross compiling... " >&6; }
4214 if test "$cross_compiling" != yes; then
4215 { { ac_try="$ac_link"
4216 case "(($ac_try" in
4217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4218 *) ac_try_echo=$ac_try;;
4219 esac
4220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4221 $as_echo "$ac_try_echo"; } >&5
4222 (eval "$ac_link") 2>&5
4223 ac_status=$?
4224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4225 test $ac_status = 0; }
4226 if { ac_try='./conftest$ac_cv_exeext'
4227 { { case "(($ac_try" in
4228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4229 *) ac_try_echo=$ac_try;;
4230 esac
4231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4232 $as_echo "$ac_try_echo"; } >&5
4233 (eval "$ac_try") 2>&5
4234 ac_status=$?
4235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4236 test $ac_status = 0; }; }; then
4237 cross_compiling=no
4238 else
4239 if test "$cross_compiling" = maybe; then
4240 cross_compiling=yes
4241 else
4242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4244 as_fn_error $? "cannot run C compiled programs.
4245 If you meant to cross compile, use \`--host'.
4246 See \`config.log' for more details" "$LINENO" 5; }
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4251 $as_echo "$cross_compiling" >&6; }
4253 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4254 ac_clean_files=$ac_clean_files_save
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4256 $as_echo_n "checking for suffix of object files... " >&6; }
4257 if ${ac_cv_objext+:} false; then :
4258 $as_echo_n "(cached) " >&6
4259 else
4260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4261 /* end confdefs.h. */
4264 main ()
4268 return 0;
4270 _ACEOF
4271 rm -f conftest.o conftest.obj
4272 if { { ac_try="$ac_compile"
4273 case "(($ac_try" in
4274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4275 *) ac_try_echo=$ac_try;;
4276 esac
4277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4278 $as_echo "$ac_try_echo"; } >&5
4279 (eval "$ac_compile") 2>&5
4280 ac_status=$?
4281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4282 test $ac_status = 0; }; then :
4283 for ac_file in conftest.o conftest.obj conftest.*; do
4284 test -f "$ac_file" || continue;
4285 case $ac_file in
4286 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4287 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4288 break;;
4289 esac
4290 done
4291 else
4292 $as_echo "$as_me: failed program was:" >&5
4293 sed 's/^/| /' conftest.$ac_ext >&5
4295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4297 as_fn_error $? "cannot compute suffix of object files: cannot compile
4298 See \`config.log' for more details" "$LINENO" 5; }
4300 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4303 $as_echo "$ac_cv_objext" >&6; }
4304 OBJEXT=$ac_cv_objext
4305 ac_objext=$OBJEXT
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4307 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4308 if ${ac_cv_c_compiler_gnu+:} false; then :
4309 $as_echo_n "(cached) " >&6
4310 else
4311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4312 /* end confdefs.h. */
4315 main ()
4317 #ifndef __GNUC__
4318 choke me
4319 #endif
4322 return 0;
4324 _ACEOF
4325 if ac_fn_c_try_compile "$LINENO"; then :
4326 ac_compiler_gnu=yes
4327 else
4328 ac_compiler_gnu=no
4330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4331 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4335 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4336 if test $ac_compiler_gnu = yes; then
4337 GCC=yes
4338 else
4339 GCC=
4341 ac_test_CFLAGS=${CFLAGS+set}
4342 ac_save_CFLAGS=$CFLAGS
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4344 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4345 if ${ac_cv_prog_cc_g+:} false; then :
4346 $as_echo_n "(cached) " >&6
4347 else
4348 ac_save_c_werror_flag=$ac_c_werror_flag
4349 ac_c_werror_flag=yes
4350 ac_cv_prog_cc_g=no
4351 CFLAGS="-g"
4352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4353 /* end confdefs.h. */
4356 main ()
4360 return 0;
4362 _ACEOF
4363 if ac_fn_c_try_compile "$LINENO"; then :
4364 ac_cv_prog_cc_g=yes
4365 else
4366 CFLAGS=""
4367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4368 /* end confdefs.h. */
4371 main ()
4375 return 0;
4377 _ACEOF
4378 if ac_fn_c_try_compile "$LINENO"; then :
4380 else
4381 ac_c_werror_flag=$ac_save_c_werror_flag
4382 CFLAGS="-g"
4383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4384 /* end confdefs.h. */
4387 main ()
4391 return 0;
4393 _ACEOF
4394 if ac_fn_c_try_compile "$LINENO"; then :
4395 ac_cv_prog_cc_g=yes
4397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4402 ac_c_werror_flag=$ac_save_c_werror_flag
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4405 $as_echo "$ac_cv_prog_cc_g" >&6; }
4406 if test "$ac_test_CFLAGS" = set; then
4407 CFLAGS=$ac_save_CFLAGS
4408 elif test $ac_cv_prog_cc_g = yes; then
4409 if test "$GCC" = yes; then
4410 CFLAGS="-g -O2"
4411 else
4412 CFLAGS="-g"
4414 else
4415 if test "$GCC" = yes; then
4416 CFLAGS="-O2"
4417 else
4418 CFLAGS=
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4422 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4423 if ${ac_cv_prog_cc_c89+:} false; then :
4424 $as_echo_n "(cached) " >&6
4425 else
4426 ac_cv_prog_cc_c89=no
4427 ac_save_CC=$CC
4428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4430 #include <stdarg.h>
4431 #include <stdio.h>
4432 struct stat;
4433 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4434 struct buf { int x; };
4435 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4436 static char *e (p, i)
4437 char **p;
4438 int i;
4440 return p[i];
4442 static char *f (char * (*g) (char **, int), char **p, ...)
4444 char *s;
4445 va_list v;
4446 va_start (v,p);
4447 s = g (p, va_arg (v,int));
4448 va_end (v);
4449 return s;
4452 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4453 function prototypes and stuff, but not '\xHH' hex character constants.
4454 These don't provoke an error unfortunately, instead are silently treated
4455 as 'x'. The following induces an error, until -std is added to get
4456 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4457 array size at least. It's necessary to write '\x00'==0 to get something
4458 that's true only with -std. */
4459 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4461 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4462 inside strings and character constants. */
4463 #define FOO(x) 'x'
4464 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4466 int test (int i, double x);
4467 struct s1 {int (*f) (int a);};
4468 struct s2 {int (*f) (double a);};
4469 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4470 int argc;
4471 char **argv;
4473 main ()
4475 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4477 return 0;
4479 _ACEOF
4480 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4481 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4483 CC="$ac_save_CC $ac_arg"
4484 if ac_fn_c_try_compile "$LINENO"; then :
4485 ac_cv_prog_cc_c89=$ac_arg
4487 rm -f core conftest.err conftest.$ac_objext
4488 test "x$ac_cv_prog_cc_c89" != "xno" && break
4489 done
4490 rm -f conftest.$ac_ext
4491 CC=$ac_save_CC
4494 # AC_CACHE_VAL
4495 case "x$ac_cv_prog_cc_c89" in
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4498 $as_echo "none needed" >&6; } ;;
4499 xno)
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4501 $as_echo "unsupported" >&6; } ;;
4503 CC="$CC $ac_cv_prog_cc_c89"
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4505 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4506 esac
4507 if test "x$ac_cv_prog_cc_c89" != xno; then :
4511 ac_ext=c
4512 ac_cpp='$CPP $CPPFLAGS'
4513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4517 ac_ext=cpp
4518 ac_cpp='$CXXCPP $CPPFLAGS'
4519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4522 if test -z "$CXX"; then
4523 if test -n "$CCC"; then
4524 CXX=$CCC
4525 else
4526 if test -n "$ac_tool_prefix"; then
4527 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4529 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4530 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4532 $as_echo_n "checking for $ac_word... " >&6; }
4533 if ${ac_cv_prog_CXX+:} false; then :
4534 $as_echo_n "(cached) " >&6
4535 else
4536 if test -n "$CXX"; then
4537 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4538 else
4539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4540 for as_dir in $PATH
4542 IFS=$as_save_IFS
4543 test -z "$as_dir" && as_dir=.
4544 for ac_exec_ext in '' $ac_executable_extensions; do
4545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4546 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4548 break 2
4550 done
4551 done
4552 IFS=$as_save_IFS
4556 CXX=$ac_cv_prog_CXX
4557 if test -n "$CXX"; then
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4559 $as_echo "$CXX" >&6; }
4560 else
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4562 $as_echo "no" >&6; }
4566 test -n "$CXX" && break
4567 done
4569 if test -z "$CXX"; then
4570 ac_ct_CXX=$CXX
4571 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4573 # Extract the first word of "$ac_prog", so it can be a program name with args.
4574 set dummy $ac_prog; ac_word=$2
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4576 $as_echo_n "checking for $ac_word... " >&6; }
4577 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4578 $as_echo_n "(cached) " >&6
4579 else
4580 if test -n "$ac_ct_CXX"; then
4581 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4582 else
4583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584 for as_dir in $PATH
4586 IFS=$as_save_IFS
4587 test -z "$as_dir" && as_dir=.
4588 for ac_exec_ext in '' $ac_executable_extensions; do
4589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4590 ac_cv_prog_ac_ct_CXX="$ac_prog"
4591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 break 2
4594 done
4595 done
4596 IFS=$as_save_IFS
4600 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4601 if test -n "$ac_ct_CXX"; then
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4603 $as_echo "$ac_ct_CXX" >&6; }
4604 else
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4606 $as_echo "no" >&6; }
4610 test -n "$ac_ct_CXX" && break
4611 done
4613 if test "x$ac_ct_CXX" = x; then
4614 CXX="g++"
4615 else
4616 case $cross_compiling:$ac_tool_warned in
4617 yes:)
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4620 ac_tool_warned=yes ;;
4621 esac
4622 CXX=$ac_ct_CXX
4628 # Provide some information about the compiler.
4629 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4630 set X $ac_compile
4631 ac_compiler=$2
4632 for ac_option in --version -v -V -qversion; do
4633 { { ac_try="$ac_compiler $ac_option >&5"
4634 case "(($ac_try" in
4635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4636 *) ac_try_echo=$ac_try;;
4637 esac
4638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4639 $as_echo "$ac_try_echo"; } >&5
4640 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4641 ac_status=$?
4642 if test -s conftest.err; then
4643 sed '10a\
4644 ... rest of stderr output deleted ...
4645 10q' conftest.err >conftest.er1
4646 cat conftest.er1 >&5
4648 rm -f conftest.er1 conftest.err
4649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4650 test $ac_status = 0; }
4651 done
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4654 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4655 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4656 $as_echo_n "(cached) " >&6
4657 else
4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4662 main ()
4664 #ifndef __GNUC__
4665 choke me
4666 #endif
4669 return 0;
4671 _ACEOF
4672 if ac_fn_cxx_try_compile "$LINENO"; then :
4673 ac_compiler_gnu=yes
4674 else
4675 ac_compiler_gnu=no
4677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4678 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4682 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4683 if test $ac_compiler_gnu = yes; then
4684 GXX=yes
4685 else
4686 GXX=
4688 ac_test_CXXFLAGS=${CXXFLAGS+set}
4689 ac_save_CXXFLAGS=$CXXFLAGS
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4691 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4692 if ${ac_cv_prog_cxx_g+:} false; then :
4693 $as_echo_n "(cached) " >&6
4694 else
4695 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4696 ac_cxx_werror_flag=yes
4697 ac_cv_prog_cxx_g=no
4698 CXXFLAGS="-g"
4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4703 main ()
4707 return 0;
4709 _ACEOF
4710 if ac_fn_cxx_try_compile "$LINENO"; then :
4711 ac_cv_prog_cxx_g=yes
4712 else
4713 CXXFLAGS=""
4714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4715 /* end confdefs.h. */
4718 main ()
4722 return 0;
4724 _ACEOF
4725 if ac_fn_cxx_try_compile "$LINENO"; then :
4727 else
4728 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4729 CXXFLAGS="-g"
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4734 main ()
4738 return 0;
4740 _ACEOF
4741 if ac_fn_cxx_try_compile "$LINENO"; then :
4742 ac_cv_prog_cxx_g=yes
4744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4749 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4752 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4753 if test "$ac_test_CXXFLAGS" = set; then
4754 CXXFLAGS=$ac_save_CXXFLAGS
4755 elif test $ac_cv_prog_cxx_g = yes; then
4756 if test "$GXX" = yes; then
4757 CXXFLAGS="-g -O2"
4758 else
4759 CXXFLAGS="-g"
4761 else
4762 if test "$GXX" = yes; then
4763 CXXFLAGS="-O2"
4764 else
4765 CXXFLAGS=
4768 ac_ext=c
4769 ac_cpp='$CPP $CPPFLAGS'
4770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4774 if test -n "$ac_tool_prefix"; then
4775 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4776 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4778 $as_echo_n "checking for $ac_word... " >&6; }
4779 if ${ac_cv_prog_CPPBIN+:} false; then :
4780 $as_echo_n "(cached) " >&6
4781 else
4782 if test -n "$CPPBIN"; then
4783 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4784 else
4785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4786 for as_dir in $PATH
4788 IFS=$as_save_IFS
4789 test -z "$as_dir" && as_dir=.
4790 for ac_exec_ext in '' $ac_executable_extensions; do
4791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4792 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4794 break 2
4796 done
4797 done
4798 IFS=$as_save_IFS
4802 CPPBIN=$ac_cv_prog_CPPBIN
4803 if test -n "$CPPBIN"; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4805 $as_echo "$CPPBIN" >&6; }
4806 else
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 $as_echo "no" >&6; }
4813 if test -z "$ac_cv_prog_CPPBIN"; then
4814 ac_ct_CPPBIN=$CPPBIN
4815 # Extract the first word of "cpp", so it can be a program name with args.
4816 set dummy cpp; ac_word=$2
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 $as_echo_n "checking for $ac_word... " >&6; }
4819 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4820 $as_echo_n "(cached) " >&6
4821 else
4822 if test -n "$ac_ct_CPPBIN"; then
4823 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4824 else
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826 for as_dir in $PATH
4828 IFS=$as_save_IFS
4829 test -z "$as_dir" && as_dir=.
4830 for ac_exec_ext in '' $ac_executable_extensions; do
4831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4832 ac_cv_prog_ac_ct_CPPBIN="cpp"
4833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4834 break 2
4836 done
4837 done
4838 IFS=$as_save_IFS
4842 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4843 if test -n "$ac_ct_CPPBIN"; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4845 $as_echo "$ac_ct_CPPBIN" >&6; }
4846 else
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4848 $as_echo "no" >&6; }
4851 if test "x$ac_ct_CPPBIN" = x; then
4852 CPPBIN="cpp"
4853 else
4854 case $cross_compiling:$ac_tool_warned in
4855 yes:)
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4858 ac_tool_warned=yes ;;
4859 esac
4860 CPPBIN=$ac_ct_CPPBIN
4862 else
4863 CPPBIN="$ac_cv_prog_CPPBIN"
4867 cat >>confdefs.h <<_ACEOF
4868 #define EXEEXT "$ac_exeext"
4869 _ACEOF
4871 if test -n "$ac_tool_prefix"; then
4872 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4873 set dummy ${ac_tool_prefix}ld; ac_word=$2
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4875 $as_echo_n "checking for $ac_word... " >&6; }
4876 if ${ac_cv_prog_LD+:} false; then :
4877 $as_echo_n "(cached) " >&6
4878 else
4879 if test -n "$LD"; then
4880 ac_cv_prog_LD="$LD" # Let the user override the test.
4881 else
4882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4883 for as_dir in $PATH
4885 IFS=$as_save_IFS
4886 test -z "$as_dir" && as_dir=.
4887 for ac_exec_ext in '' $ac_executable_extensions; do
4888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4889 ac_cv_prog_LD="${ac_tool_prefix}ld"
4890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4891 break 2
4893 done
4894 done
4895 IFS=$as_save_IFS
4899 LD=$ac_cv_prog_LD
4900 if test -n "$LD"; then
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4902 $as_echo "$LD" >&6; }
4903 else
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 $as_echo "no" >&6; }
4910 if test -z "$ac_cv_prog_LD"; then
4911 ac_ct_LD=$LD
4912 # Extract the first word of "ld", so it can be a program name with args.
4913 set dummy ld; ac_word=$2
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4915 $as_echo_n "checking for $ac_word... " >&6; }
4916 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4917 $as_echo_n "(cached) " >&6
4918 else
4919 if test -n "$ac_ct_LD"; then
4920 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4921 else
4922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4923 for as_dir in $PATH
4925 IFS=$as_save_IFS
4926 test -z "$as_dir" && as_dir=.
4927 for ac_exec_ext in '' $ac_executable_extensions; do
4928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4929 ac_cv_prog_ac_ct_LD="ld"
4930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4931 break 2
4933 done
4934 done
4935 IFS=$as_save_IFS
4939 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4940 if test -n "$ac_ct_LD"; then
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4942 $as_echo "$ac_ct_LD" >&6; }
4943 else
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4945 $as_echo "no" >&6; }
4948 if test "x$ac_ct_LD" = x; then
4949 LD=""
4950 else
4951 case $cross_compiling:$ac_tool_warned in
4952 yes:)
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4955 ac_tool_warned=yes ;;
4956 esac
4957 LD=$ac_ct_LD
4959 else
4960 LD="$ac_cv_prog_LD"
4964 case $host in
4965 *-darwin*)
4966 if test "x$enable_win64" = "xyes"
4967 then
4968 CC="$CC -m64"
4969 CXX="$CXX -m64"
4970 host_cpu="x86_64"
4971 notice_platform="64-bit "
4972 TARGETFLAGS="-m64"
4974 else
4975 CC="$CC -m32"
4976 CXX="$CXX -m32"
4977 host_cpu="i386"
4978 notice_platform="32-bit "
4979 TARGETFLAGS="-m32"
4981 enable_win16=${enable_win16:-yes}
4983 with_fontconfig=${with_fontconfig:-no}
4985 x86_64*|amd64*)
4986 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4987 then
4988 CC="$CC -m32"
4989 CXX="$CXX -m32"
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4991 $as_echo_n "checking whether $CC works... " >&6; }
4993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
4997 main ()
5001 return 0;
5003 _ACEOF
5004 if ac_fn_c_try_link "$LINENO"; then :
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5006 $as_echo "yes" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5010 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5012 rm -f core conftest.err conftest.$ac_objext \
5013 conftest$ac_exeext conftest.$ac_ext
5014 host_cpu="i386"
5015 notice_platform="32-bit "
5016 TARGETFLAGS="-m32"
5018 enable_win16=${enable_win16:-yes}
5019 else
5020 if test "x${GCC}" = "xyes"
5021 then
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5023 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5025 /* end confdefs.h. */
5026 #include <stdarg.h>
5028 main ()
5030 void func(__builtin_ms_va_list *args);
5032 return 0;
5034 _ACEOF
5035 if ac_fn_c_try_compile "$LINENO"; then :
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5037 $as_echo "yes" >&6; }
5038 else
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5040 $as_echo "no" >&6; }
5041 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045 host_cpu="x86_64"
5046 TARGETFLAGS="-m64"
5050 arm*)
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5052 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5054 /* end confdefs.h. */
5055 int ac_test(int i) { return i; }
5057 main ()
5059 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5061 return 0;
5063 _ACEOF
5064 if ac_fn_c_try_link "$LINENO"; then :
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5066 $as_echo "yes" >&6; }
5067 else
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5070 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5072 rm -f core conftest.err conftest.$ac_objext \
5073 conftest$ac_exeext conftest.$ac_ext
5074 CFLAGS="$CFLAGS -marm"
5075 TARGETFLAGS="-marm"
5078 *-mingw32*|*-cygwin*)
5079 enable_win16=${enable_win16:-no}
5080 CFLAGS="$CFLAGS -D_WIN32"
5082 i[3456789]86*)
5083 enable_win16=${enable_win16:-yes}
5085 esac
5087 enable_win16=${enable_win16:-no}
5088 enable_win64=${enable_win64:-no}
5090 enable_winetest=${enable_winetest:-$enable_tests}
5092 if test -n "$with_wine64"
5093 then
5094 if test "x$enable_win64" = "xyes"
5095 then
5096 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5097 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5099 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5100 You should create a separate build directory and run configure from there." "$LINENO" 5
5101 enable_fonts=${enable_fonts:-no}
5102 enable_server=${enable_server:-no}
5103 elif test "x$enable_win64" = "xyes"
5104 then
5105 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5109 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5110 if ${wine_cv_toolsdir+:} false; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 wine_cv_toolsdir="$with_wine_tools"
5114 if test -z "$with_wine_tools"; then
5115 if test "$cross_compiling" = "yes"; then
5116 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5117 elif test -n "$with_wine64"; then
5118 wine_cv_toolsdir="$with_wine64"
5121 if test -z "$wine_cv_toolsdir"; then
5122 wine_makedep=tools/makedep
5123 wine_cv_toolsdir="\$(top_builddir)"
5124 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5125 wine_makedep=$wine_cv_toolsdir/tools/makedep
5126 case "$wine_cv_toolsdir" in
5127 /*) ;;
5128 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5129 esac
5130 enable_tools=${enable_tools:-no}
5131 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5132 else
5133 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5137 $as_echo "$wine_cv_toolsdir" >&6; }
5138 TOOLSDIR=$wine_cv_toolsdir
5140 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5141 then
5142 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5146 for ac_prog in flex
5148 # Extract the first word of "$ac_prog", so it can be a program name with args.
5149 set dummy $ac_prog; ac_word=$2
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151 $as_echo_n "checking for $ac_word... " >&6; }
5152 if ${ac_cv_prog_FLEX+:} false; then :
5153 $as_echo_n "(cached) " >&6
5154 else
5155 if test -n "$FLEX"; then
5156 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5157 else
5158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159 for as_dir in $PATH
5161 IFS=$as_save_IFS
5162 test -z "$as_dir" && as_dir=.
5163 for ac_exec_ext in '' $ac_executable_extensions; do
5164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5165 ac_cv_prog_FLEX="$ac_prog"
5166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 break 2
5169 done
5170 done
5171 IFS=$as_save_IFS
5175 FLEX=$ac_cv_prog_FLEX
5176 if test -n "$FLEX"; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5178 $as_echo "$FLEX" >&6; }
5179 else
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5185 test -n "$FLEX" && break
5186 done
5187 test -n "$FLEX" || FLEX="none"
5189 if test "$FLEX" = "none"
5190 then
5191 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5194 $as_echo_n "checking whether flex is recent enough... " >&6; }
5195 cat >conftest.l <<EOF
5196 %top{
5197 #include "prediluvian.h"
5201 if $FLEX -t conftest.l >/dev/null 2>&5
5202 then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5204 $as_echo "yes" >&6; }
5205 else
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5208 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5211 for ac_prog in bison
5213 # Extract the first word of "$ac_prog", so it can be a program name with args.
5214 set dummy $ac_prog; ac_word=$2
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5216 $as_echo_n "checking for $ac_word... " >&6; }
5217 if ${ac_cv_prog_BISON+:} false; then :
5218 $as_echo_n "(cached) " >&6
5219 else
5220 if test -n "$BISON"; then
5221 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5222 else
5223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5224 for as_dir in $PATH
5226 IFS=$as_save_IFS
5227 test -z "$as_dir" && as_dir=.
5228 for ac_exec_ext in '' $ac_executable_extensions; do
5229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5230 ac_cv_prog_BISON="$ac_prog"
5231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 break 2
5234 done
5235 done
5236 IFS=$as_save_IFS
5240 BISON=$ac_cv_prog_BISON
5241 if test -n "$BISON"; then
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5243 $as_echo "$BISON" >&6; }
5244 else
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5246 $as_echo "no" >&6; }
5250 test -n "$BISON" && break
5251 done
5252 test -n "$BISON" || BISON="none"
5254 if test "$BISON" = "none"
5255 then
5256 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5259 if test -n "$ac_tool_prefix"; then
5260 for ac_prog in ar gar
5262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5263 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5265 $as_echo_n "checking for $ac_word... " >&6; }
5266 if ${ac_cv_prog_AR+:} false; then :
5267 $as_echo_n "(cached) " >&6
5268 else
5269 if test -n "$AR"; then
5270 ac_cv_prog_AR="$AR" # Let the user override the test.
5271 else
5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5273 for as_dir in $PATH
5275 IFS=$as_save_IFS
5276 test -z "$as_dir" && as_dir=.
5277 for ac_exec_ext in '' $ac_executable_extensions; do
5278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5279 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 break 2
5283 done
5284 done
5285 IFS=$as_save_IFS
5289 AR=$ac_cv_prog_AR
5290 if test -n "$AR"; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5292 $as_echo "$AR" >&6; }
5293 else
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5295 $as_echo "no" >&6; }
5299 test -n "$AR" && break
5300 done
5302 if test -z "$AR"; then
5303 ac_ct_AR=$AR
5304 for ac_prog in ar gar
5306 # Extract the first word of "$ac_prog", so it can be a program name with args.
5307 set dummy $ac_prog; ac_word=$2
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5309 $as_echo_n "checking for $ac_word... " >&6; }
5310 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5311 $as_echo_n "(cached) " >&6
5312 else
5313 if test -n "$ac_ct_AR"; then
5314 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5315 else
5316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5317 for as_dir in $PATH
5319 IFS=$as_save_IFS
5320 test -z "$as_dir" && as_dir=.
5321 for ac_exec_ext in '' $ac_executable_extensions; do
5322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5323 ac_cv_prog_ac_ct_AR="$ac_prog"
5324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5325 break 2
5327 done
5328 done
5329 IFS=$as_save_IFS
5333 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5334 if test -n "$ac_ct_AR"; then
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5336 $as_echo "$ac_ct_AR" >&6; }
5337 else
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5339 $as_echo "no" >&6; }
5343 test -n "$ac_ct_AR" && break
5344 done
5346 if test "x$ac_ct_AR" = x; then
5347 AR="ar"
5348 else
5349 case $cross_compiling:$ac_tool_warned in
5350 yes:)
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5353 ac_tool_warned=yes ;;
5354 esac
5355 AR=$ac_ct_AR
5359 if test -n "$ac_tool_prefix"; then
5360 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5361 set dummy ${ac_tool_prefix}strip; ac_word=$2
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5363 $as_echo_n "checking for $ac_word... " >&6; }
5364 if ${ac_cv_prog_STRIP+:} false; then :
5365 $as_echo_n "(cached) " >&6
5366 else
5367 if test -n "$STRIP"; then
5368 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5369 else
5370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5371 for as_dir in $PATH
5373 IFS=$as_save_IFS
5374 test -z "$as_dir" && as_dir=.
5375 for ac_exec_ext in '' $ac_executable_extensions; do
5376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5377 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 break 2
5381 done
5382 done
5383 IFS=$as_save_IFS
5387 STRIP=$ac_cv_prog_STRIP
5388 if test -n "$STRIP"; then
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5390 $as_echo "$STRIP" >&6; }
5391 else
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5393 $as_echo "no" >&6; }
5398 if test -z "$ac_cv_prog_STRIP"; then
5399 ac_ct_STRIP=$STRIP
5400 # Extract the first word of "strip", so it can be a program name with args.
5401 set dummy strip; ac_word=$2
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5403 $as_echo_n "checking for $ac_word... " >&6; }
5404 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5405 $as_echo_n "(cached) " >&6
5406 else
5407 if test -n "$ac_ct_STRIP"; then
5408 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5409 else
5410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5411 for as_dir in $PATH
5413 IFS=$as_save_IFS
5414 test -z "$as_dir" && as_dir=.
5415 for ac_exec_ext in '' $ac_executable_extensions; do
5416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5417 ac_cv_prog_ac_ct_STRIP="strip"
5418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 break 2
5421 done
5422 done
5423 IFS=$as_save_IFS
5427 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5428 if test -n "$ac_ct_STRIP"; then
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5430 $as_echo "$ac_ct_STRIP" >&6; }
5431 else
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5433 $as_echo "no" >&6; }
5436 if test "x$ac_ct_STRIP" = x; then
5437 STRIP="strip"
5438 else
5439 case $cross_compiling:$ac_tool_warned in
5440 yes:)
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5443 ac_tool_warned=yes ;;
5444 esac
5445 STRIP=$ac_ct_STRIP
5447 else
5448 STRIP="$ac_cv_prog_STRIP"
5451 ARFLAGS=rc
5453 if test -n "$ac_tool_prefix"; then
5454 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5455 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457 $as_echo_n "checking for $ac_word... " >&6; }
5458 if ${ac_cv_prog_RANLIB+:} false; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 if test -n "$RANLIB"; then
5462 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5463 else
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 for as_dir in $PATH
5467 IFS=$as_save_IFS
5468 test -z "$as_dir" && as_dir=.
5469 for ac_exec_ext in '' $ac_executable_extensions; do
5470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5471 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 break 2
5475 done
5476 done
5477 IFS=$as_save_IFS
5481 RANLIB=$ac_cv_prog_RANLIB
5482 if test -n "$RANLIB"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5484 $as_echo "$RANLIB" >&6; }
5485 else
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5492 if test -z "$ac_cv_prog_RANLIB"; then
5493 ac_ct_RANLIB=$RANLIB
5494 # Extract the first word of "ranlib", so it can be a program name with args.
5495 set dummy ranlib; ac_word=$2
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5497 $as_echo_n "checking for $ac_word... " >&6; }
5498 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5499 $as_echo_n "(cached) " >&6
5500 else
5501 if test -n "$ac_ct_RANLIB"; then
5502 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5503 else
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 for as_dir in $PATH
5507 IFS=$as_save_IFS
5508 test -z "$as_dir" && as_dir=.
5509 for ac_exec_ext in '' $ac_executable_extensions; do
5510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5511 ac_cv_prog_ac_ct_RANLIB="ranlib"
5512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 break 2
5515 done
5516 done
5517 IFS=$as_save_IFS
5521 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5522 if test -n "$ac_ct_RANLIB"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5524 $as_echo "$ac_ct_RANLIB" >&6; }
5525 else
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5527 $as_echo "no" >&6; }
5530 if test "x$ac_ct_RANLIB" = x; then
5531 RANLIB=":"
5532 else
5533 case $cross_compiling:$ac_tool_warned in
5534 yes:)
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5537 ac_tool_warned=yes ;;
5538 esac
5539 RANLIB=$ac_ct_RANLIB
5541 else
5542 RANLIB="$ac_cv_prog_RANLIB"
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5546 $as_echo_n "checking whether ln -s works... " >&6; }
5547 LN_S=$as_ln_s
5548 if test "$LN_S" = "ln -s"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5550 $as_echo "yes" >&6; }
5551 else
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5553 $as_echo "no, using $LN_S" >&6; }
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5557 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5558 if ${ac_cv_path_GREP+:} false; then :
5559 $as_echo_n "(cached) " >&6
5560 else
5561 if test -z "$GREP"; then
5562 ac_path_GREP_found=false
5563 # Loop through the user's path and test for each of PROGNAME-LIST
5564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5565 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5567 IFS=$as_save_IFS
5568 test -z "$as_dir" && as_dir=.
5569 for ac_prog in grep ggrep; do
5570 for ac_exec_ext in '' $ac_executable_extensions; do
5571 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5572 as_fn_executable_p "$ac_path_GREP" || continue
5573 # Check for GNU ac_path_GREP and select it if it is found.
5574 # Check for GNU $ac_path_GREP
5575 case `"$ac_path_GREP" --version 2>&1` in
5576 *GNU*)
5577 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5579 ac_count=0
5580 $as_echo_n 0123456789 >"conftest.in"
5581 while :
5583 cat "conftest.in" "conftest.in" >"conftest.tmp"
5584 mv "conftest.tmp" "conftest.in"
5585 cp "conftest.in" "conftest.nl"
5586 $as_echo 'GREP' >> "conftest.nl"
5587 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5588 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5589 as_fn_arith $ac_count + 1 && ac_count=$as_val
5590 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5591 # Best one so far, save it but keep looking for a better one
5592 ac_cv_path_GREP="$ac_path_GREP"
5593 ac_path_GREP_max=$ac_count
5595 # 10*(2^10) chars as input seems more than enough
5596 test $ac_count -gt 10 && break
5597 done
5598 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5599 esac
5601 $ac_path_GREP_found && break 3
5602 done
5603 done
5604 done
5605 IFS=$as_save_IFS
5606 if test -z "$ac_cv_path_GREP"; then
5607 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5609 else
5610 ac_cv_path_GREP=$GREP
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5615 $as_echo "$ac_cv_path_GREP" >&6; }
5616 GREP="$ac_cv_path_GREP"
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5620 $as_echo_n "checking for egrep... " >&6; }
5621 if ${ac_cv_path_EGREP+:} false; then :
5622 $as_echo_n "(cached) " >&6
5623 else
5624 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5625 then ac_cv_path_EGREP="$GREP -E"
5626 else
5627 if test -z "$EGREP"; then
5628 ac_path_EGREP_found=false
5629 # Loop through the user's path and test for each of PROGNAME-LIST
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5633 IFS=$as_save_IFS
5634 test -z "$as_dir" && as_dir=.
5635 for ac_prog in egrep; do
5636 for ac_exec_ext in '' $ac_executable_extensions; do
5637 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5638 as_fn_executable_p "$ac_path_EGREP" || continue
5639 # Check for GNU ac_path_EGREP and select it if it is found.
5640 # Check for GNU $ac_path_EGREP
5641 case `"$ac_path_EGREP" --version 2>&1` in
5642 *GNU*)
5643 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5645 ac_count=0
5646 $as_echo_n 0123456789 >"conftest.in"
5647 while :
5649 cat "conftest.in" "conftest.in" >"conftest.tmp"
5650 mv "conftest.tmp" "conftest.in"
5651 cp "conftest.in" "conftest.nl"
5652 $as_echo 'EGREP' >> "conftest.nl"
5653 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5654 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5655 as_fn_arith $ac_count + 1 && ac_count=$as_val
5656 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5657 # Best one so far, save it but keep looking for a better one
5658 ac_cv_path_EGREP="$ac_path_EGREP"
5659 ac_path_EGREP_max=$ac_count
5661 # 10*(2^10) chars as input seems more than enough
5662 test $ac_count -gt 10 && break
5663 done
5664 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5665 esac
5667 $ac_path_EGREP_found && break 3
5668 done
5669 done
5670 done
5671 IFS=$as_save_IFS
5672 if test -z "$ac_cv_path_EGREP"; then
5673 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5675 else
5676 ac_cv_path_EGREP=$EGREP
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5682 $as_echo "$ac_cv_path_EGREP" >&6; }
5683 EGREP="$ac_cv_path_EGREP"
5686 # Extract the first word of "ldconfig", so it can be a program name with args.
5687 set dummy ldconfig; ac_word=$2
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5689 $as_echo_n "checking for $ac_word... " >&6; }
5690 if ${ac_cv_path_LDCONFIG+:} false; then :
5691 $as_echo_n "(cached) " >&6
5692 else
5693 case $LDCONFIG in
5694 [\\/]* | ?:[\\/]*)
5695 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 for as_dir in /sbin /usr/sbin $PATH
5701 IFS=$as_save_IFS
5702 test -z "$as_dir" && as_dir=.
5703 for ac_exec_ext in '' $ac_executable_extensions; do
5704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5705 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5707 break 2
5709 done
5710 done
5711 IFS=$as_save_IFS
5713 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5715 esac
5717 LDCONFIG=$ac_cv_path_LDCONFIG
5718 if test -n "$LDCONFIG"; then
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5720 $as_echo "$LDCONFIG" >&6; }
5721 else
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5723 $as_echo "no" >&6; }
5727 for ac_prog in msgfmt
5729 # Extract the first word of "$ac_prog", so it can be a program name with args.
5730 set dummy $ac_prog; ac_word=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if ${ac_cv_prog_MSGFMT+:} false; then :
5734 $as_echo_n "(cached) " >&6
5735 else
5736 if test -n "$MSGFMT"; then
5737 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5738 else
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH
5742 IFS=$as_save_IFS
5743 test -z "$as_dir" && as_dir=.
5744 for ac_exec_ext in '' $ac_executable_extensions; do
5745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5746 ac_cv_prog_MSGFMT="$ac_prog"
5747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5748 break 2
5750 done
5751 done
5752 IFS=$as_save_IFS
5756 MSGFMT=$ac_cv_prog_MSGFMT
5757 if test -n "$MSGFMT"; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5759 $as_echo "$MSGFMT" >&6; }
5760 else
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5766 test -n "$MSGFMT" && break
5767 done
5768 test -n "$MSGFMT" || MSGFMT="false"
5770 if ${ac_tool_prefix+:} false; then :
5771 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5772 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5774 $as_echo_n "checking for $ac_word... " >&6; }
5775 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5776 $as_echo_n "(cached) " >&6
5777 else
5778 if test -n "$PKG_CONFIG"; then
5779 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5780 else
5781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5782 for as_dir in $PATH
5784 IFS=$as_save_IFS
5785 test -z "$as_dir" && as_dir=.
5786 for ac_exec_ext in '' $ac_executable_extensions; do
5787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5788 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 break 2
5792 done
5793 done
5794 IFS=$as_save_IFS
5798 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5799 if test -n "$PKG_CONFIG"; then
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5801 $as_echo "$PKG_CONFIG" >&6; }
5802 else
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5804 $as_echo "no" >&6; }
5809 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5810 if test "x$cross_compiling" = xyes; then :
5812 else
5813 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5814 # Extract the first word of "pkg-config", so it can be a program name with args.
5815 set dummy pkg-config; ac_word=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5819 $as_echo_n "(cached) " >&6
5820 else
5821 if test -n "$PKG_CONFIG"; then
5822 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5823 else
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 for as_dir in $PATH
5827 IFS=$as_save_IFS
5828 test -z "$as_dir" && as_dir=.
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5831 ac_cv_prog_PKG_CONFIG="pkg-config"
5832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5833 break 2
5835 done
5836 done
5837 IFS=$as_save_IFS
5841 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5842 if test -n "$PKG_CONFIG"; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5844 $as_echo "$PKG_CONFIG" >&6; }
5845 else
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5852 else
5853 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5856 if test "x$enable_maintainer_mode" != "xyes"
5857 then
5858 FONTFORGE=""
5859 RSVG=""
5860 CONVERT=""
5861 ICOTOOL=""
5862 else
5863 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5864 for ac_prog in fontforge
5866 # Extract the first word of "$ac_prog", so it can be a program name with args.
5867 set dummy $ac_prog; ac_word=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if ${ac_cv_prog_FONTFORGE+:} false; then :
5871 $as_echo_n "(cached) " >&6
5872 else
5873 if test -n "$FONTFORGE"; then
5874 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5875 else
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 for as_dir in $PATH
5879 IFS=$as_save_IFS
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5883 ac_cv_prog_FONTFORGE="$ac_prog"
5884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 break 2
5887 done
5888 done
5889 IFS=$as_save_IFS
5893 FONTFORGE=$ac_cv_prog_FONTFORGE
5894 if test -n "$FONTFORGE"; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5896 $as_echo "$FONTFORGE" >&6; }
5897 else
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5903 test -n "$FONTFORGE" && break
5904 done
5905 test -n "$FONTFORGE" || FONTFORGE="false"
5907 for ac_prog in rsvg-convert rsvg
5909 # Extract the first word of "$ac_prog", so it can be a program name with args.
5910 set dummy $ac_prog; ac_word=$2
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if ${ac_cv_prog_RSVG+:} false; then :
5914 $as_echo_n "(cached) " >&6
5915 else
5916 if test -n "$RSVG"; then
5917 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5918 else
5919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 for as_dir in $PATH
5922 IFS=$as_save_IFS
5923 test -z "$as_dir" && as_dir=.
5924 for ac_exec_ext in '' $ac_executable_extensions; do
5925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5926 ac_cv_prog_RSVG="$ac_prog"
5927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5928 break 2
5930 done
5931 done
5932 IFS=$as_save_IFS
5936 RSVG=$ac_cv_prog_RSVG
5937 if test -n "$RSVG"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5939 $as_echo "$RSVG" >&6; }
5940 else
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5946 test -n "$RSVG" && break
5947 done
5948 test -n "$RSVG" || RSVG="false"
5950 for ac_prog in convert
5952 # Extract the first word of "$ac_prog", so it can be a program name with args.
5953 set dummy $ac_prog; ac_word=$2
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5955 $as_echo_n "checking for $ac_word... " >&6; }
5956 if ${ac_cv_prog_CONVERT+:} false; then :
5957 $as_echo_n "(cached) " >&6
5958 else
5959 if test -n "$CONVERT"; then
5960 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5961 else
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 for as_dir in $PATH
5965 IFS=$as_save_IFS
5966 test -z "$as_dir" && as_dir=.
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5969 ac_cv_prog_CONVERT="$ac_prog"
5970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5971 break 2
5973 done
5974 done
5975 IFS=$as_save_IFS
5979 CONVERT=$ac_cv_prog_CONVERT
5980 if test -n "$CONVERT"; then
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5982 $as_echo "$CONVERT" >&6; }
5983 else
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5985 $as_echo "no" >&6; }
5989 test -n "$CONVERT" && break
5990 done
5991 test -n "$CONVERT" || CONVERT="false"
5993 for ac_prog in icotool
5995 # Extract the first word of "$ac_prog", so it can be a program name with args.
5996 set dummy $ac_prog; ac_word=$2
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5998 $as_echo_n "checking for $ac_word... " >&6; }
5999 if ${ac_cv_prog_ICOTOOL+:} false; then :
6000 $as_echo_n "(cached) " >&6
6001 else
6002 if test -n "$ICOTOOL"; then
6003 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6004 else
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH
6008 IFS=$as_save_IFS
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6012 ac_cv_prog_ICOTOOL="$ac_prog"
6013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 break 2
6016 done
6017 done
6018 IFS=$as_save_IFS
6022 ICOTOOL=$ac_cv_prog_ICOTOOL
6023 if test -n "$ICOTOOL"; then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6025 $as_echo "$ICOTOOL" >&6; }
6026 else
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6028 $as_echo "no" >&6; }
6032 test -n "$ICOTOOL" && break
6033 done
6034 test -n "$ICOTOOL" || ICOTOOL="false"
6036 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6037 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6039 if test "$CONVERT" = false
6040 then
6041 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6042 else
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6044 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6045 convert_version=`convert --version | head -n1`
6046 if test "x$convert_version" != "x"
6047 then
6048 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6049 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6050 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6051 then
6052 CONVERT=false
6055 if test "$CONVERT" = false
6056 then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6058 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6059 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6060 else
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6062 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6066 if test "$ICOTOOL" = false
6067 then
6068 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6069 else
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6071 $as_echo_n "checking for recent enough icotool... " >&6; }
6072 icotool_version=`icotool --version | head -n1`
6073 if test "x$icotool_version" != "x"
6074 then
6075 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6076 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6077 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6078 then
6079 ICOTOOL=false
6080 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6083 if test "$ICOTOOL" = false
6084 then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6086 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6087 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6088 else
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6090 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6094 with_gettext=yes
6095 with_gettextpo=yes
6096 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6099 test "x$with_gettext" != xno || MSGFMT=false
6100 if test "$MSGFMT" != "false"
6101 then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6103 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6104 cat >conftest.po <<EOF
6105 # comment
6106 msgctxt "ctxt"
6107 msgid "id"
6108 msgstr "str"
6110 if $MSGFMT -o /dev/null conftest.po 2>&5
6111 then
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6113 $as_echo "yes" >&6; }
6114 else
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116 $as_echo "no" >&6; }
6117 MSGFMT=false
6120 if test "$MSGFMT" = false; then :
6121 case "x$with_gettext" in
6122 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6123 xno) ;;
6124 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6125 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6126 esac
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6131 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6132 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6133 $as_echo_n "(cached) " >&6
6134 else
6135 ac_check_lib_save_LIBS=$LIBS
6136 LIBS="-li386 $LIBS"
6137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6138 /* end confdefs.h. */
6140 /* Override any GCC internal prototype to avoid an error.
6141 Use char because int might match the return type of a GCC
6142 builtin and then its argument prototype would still apply. */
6143 #ifdef __cplusplus
6144 extern "C"
6145 #endif
6146 char i386_set_ldt ();
6148 main ()
6150 return i386_set_ldt ();
6152 return 0;
6154 _ACEOF
6155 if ac_fn_c_try_link "$LINENO"; then :
6156 ac_cv_lib_i386_i386_set_ldt=yes
6157 else
6158 ac_cv_lib_i386_i386_set_ldt=no
6160 rm -f core conftest.err conftest.$ac_objext \
6161 conftest$ac_exeext conftest.$ac_ext
6162 LIBS=$ac_check_lib_save_LIBS
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6165 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6166 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6167 cat >>confdefs.h <<_ACEOF
6168 #define HAVE_LIBI386 1
6169 _ACEOF
6171 LIBS="-li386 $LIBS"
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6176 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6177 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6178 $as_echo_n "(cached) " >&6
6179 else
6180 ac_check_lib_save_LIBS=$LIBS
6181 LIBS="-lossaudio $LIBS"
6182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6183 /* end confdefs.h. */
6185 /* Override any GCC internal prototype to avoid an error.
6186 Use char because int might match the return type of a GCC
6187 builtin and then its argument prototype would still apply. */
6188 #ifdef __cplusplus
6189 extern "C"
6190 #endif
6191 char _oss_ioctl ();
6193 main ()
6195 return _oss_ioctl ();
6197 return 0;
6199 _ACEOF
6200 if ac_fn_c_try_link "$LINENO"; then :
6201 ac_cv_lib_ossaudio__oss_ioctl=yes
6202 else
6203 ac_cv_lib_ossaudio__oss_ioctl=no
6205 rm -f core conftest.err conftest.$ac_objext \
6206 conftest$ac_exeext conftest.$ac_ext
6207 LIBS=$ac_check_lib_save_LIBS
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6210 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6211 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6212 cat >>confdefs.h <<_ACEOF
6213 #define HAVE_LIBOSSAUDIO 1
6214 _ACEOF
6216 LIBS="-lossaudio $LIBS"
6221 OPENGL_LIBS=""
6225 # Check whether --enable-largefile was given.
6226 if test "${enable_largefile+set}" = set; then :
6227 enableval=$enable_largefile;
6230 if test "$enable_largefile" != no; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6233 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6234 if ${ac_cv_sys_largefile_CC+:} false; then :
6235 $as_echo_n "(cached) " >&6
6236 else
6237 ac_cv_sys_largefile_CC=no
6238 if test "$GCC" != yes; then
6239 ac_save_CC=$CC
6240 while :; do
6241 # IRIX 6.2 and later do not support large files by default,
6242 # so use the C compiler's -n32 option if that helps.
6243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6244 /* end confdefs.h. */
6245 #include <sys/types.h>
6246 /* Check that off_t can represent 2**63 - 1 correctly.
6247 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6248 since some C++ compilers masquerading as C compilers
6249 incorrectly reject 9223372036854775807. */
6250 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6251 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6252 && LARGE_OFF_T % 2147483647 == 1)
6253 ? 1 : -1];
6255 main ()
6259 return 0;
6261 _ACEOF
6262 if ac_fn_c_try_compile "$LINENO"; then :
6263 break
6265 rm -f core conftest.err conftest.$ac_objext
6266 CC="$CC -n32"
6267 if ac_fn_c_try_compile "$LINENO"; then :
6268 ac_cv_sys_largefile_CC=' -n32'; break
6270 rm -f core conftest.err conftest.$ac_objext
6271 break
6272 done
6273 CC=$ac_save_CC
6274 rm -f conftest.$ac_ext
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6278 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6279 if test "$ac_cv_sys_largefile_CC" != no; then
6280 CC=$CC$ac_cv_sys_largefile_CC
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6284 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6285 if ${ac_cv_sys_file_offset_bits+:} false; then :
6286 $as_echo_n "(cached) " >&6
6287 else
6288 while :; do
6289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6290 /* end confdefs.h. */
6291 #include <sys/types.h>
6292 /* Check that off_t can represent 2**63 - 1 correctly.
6293 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6294 since some C++ compilers masquerading as C compilers
6295 incorrectly reject 9223372036854775807. */
6296 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6297 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6298 && LARGE_OFF_T % 2147483647 == 1)
6299 ? 1 : -1];
6301 main ()
6305 return 0;
6307 _ACEOF
6308 if ac_fn_c_try_compile "$LINENO"; then :
6309 ac_cv_sys_file_offset_bits=no; break
6311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6313 /* end confdefs.h. */
6314 #define _FILE_OFFSET_BITS 64
6315 #include <sys/types.h>
6316 /* Check that off_t can represent 2**63 - 1 correctly.
6317 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6318 since some C++ compilers masquerading as C compilers
6319 incorrectly reject 9223372036854775807. */
6320 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6321 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6322 && LARGE_OFF_T % 2147483647 == 1)
6323 ? 1 : -1];
6325 main ()
6329 return 0;
6331 _ACEOF
6332 if ac_fn_c_try_compile "$LINENO"; then :
6333 ac_cv_sys_file_offset_bits=64; break
6335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6336 ac_cv_sys_file_offset_bits=unknown
6337 break
6338 done
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6341 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6342 case $ac_cv_sys_file_offset_bits in #(
6343 no | unknown) ;;
6345 cat >>confdefs.h <<_ACEOF
6346 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6347 _ACEOF
6349 esac
6350 rm -rf conftest*
6351 if test $ac_cv_sys_file_offset_bits = unknown; then
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6353 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6354 if ${ac_cv_sys_large_files+:} false; then :
6355 $as_echo_n "(cached) " >&6
6356 else
6357 while :; do
6358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6359 /* end confdefs.h. */
6360 #include <sys/types.h>
6361 /* Check that off_t can represent 2**63 - 1 correctly.
6362 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6363 since some C++ compilers masquerading as C compilers
6364 incorrectly reject 9223372036854775807. */
6365 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6366 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6367 && LARGE_OFF_T % 2147483647 == 1)
6368 ? 1 : -1];
6370 main ()
6374 return 0;
6376 _ACEOF
6377 if ac_fn_c_try_compile "$LINENO"; then :
6378 ac_cv_sys_large_files=no; break
6380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6382 /* end confdefs.h. */
6383 #define _LARGE_FILES 1
6384 #include <sys/types.h>
6385 /* Check that off_t can represent 2**63 - 1 correctly.
6386 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6387 since some C++ compilers masquerading as C compilers
6388 incorrectly reject 9223372036854775807. */
6389 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6390 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6391 && LARGE_OFF_T % 2147483647 == 1)
6392 ? 1 : -1];
6394 main ()
6398 return 0;
6400 _ACEOF
6401 if ac_fn_c_try_compile "$LINENO"; then :
6402 ac_cv_sys_large_files=1; break
6404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6405 ac_cv_sys_large_files=unknown
6406 break
6407 done
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6410 $as_echo "$ac_cv_sys_large_files" >&6; }
6411 case $ac_cv_sys_large_files in #(
6412 no | unknown) ;;
6414 cat >>confdefs.h <<_ACEOF
6415 #define _LARGE_FILES $ac_cv_sys_large_files
6416 _ACEOF
6418 esac
6419 rm -rf conftest*
6426 ac_ext=c
6427 ac_cpp='$CPP $CPPFLAGS'
6428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6432 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6433 # On Suns, sometimes $CPP names a directory.
6434 if test -n "$CPP" && test -d "$CPP"; then
6435 CPP=
6437 if test -z "$CPP"; then
6438 if ${ac_cv_prog_CPP+:} false; then :
6439 $as_echo_n "(cached) " >&6
6440 else
6441 # Double quotes because CPP needs to be expanded
6442 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6444 ac_preproc_ok=false
6445 for ac_c_preproc_warn_flag in '' yes
6447 # Use a header file that comes with gcc, so configuring glibc
6448 # with a fresh cross-compiler works.
6449 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6450 # <limits.h> exists even on freestanding compilers.
6451 # On the NeXT, cc -E runs the code through the compiler's parser,
6452 # not just through cpp. "Syntax error" is here to catch this case.
6453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6454 /* end confdefs.h. */
6455 #ifdef __STDC__
6456 # include <limits.h>
6457 #else
6458 # include <assert.h>
6459 #endif
6460 Syntax error
6461 _ACEOF
6462 if ac_fn_c_try_cpp "$LINENO"; then :
6464 else
6465 # Broken: fails on valid input.
6466 continue
6468 rm -f conftest.err conftest.i conftest.$ac_ext
6470 # OK, works on sane cases. Now check whether nonexistent headers
6471 # can be detected and how.
6472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6473 /* end confdefs.h. */
6474 #include <ac_nonexistent.h>
6475 _ACEOF
6476 if ac_fn_c_try_cpp "$LINENO"; then :
6477 # Broken: success on invalid input.
6478 continue
6479 else
6480 # Passes both tests.
6481 ac_preproc_ok=:
6482 break
6484 rm -f conftest.err conftest.i conftest.$ac_ext
6486 done
6487 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6488 rm -f conftest.i conftest.err conftest.$ac_ext
6489 if $ac_preproc_ok; then :
6490 break
6493 done
6494 ac_cv_prog_CPP=$CPP
6497 CPP=$ac_cv_prog_CPP
6498 else
6499 ac_cv_prog_CPP=$CPP
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6502 $as_echo "$CPP" >&6; }
6503 ac_preproc_ok=false
6504 for ac_c_preproc_warn_flag in '' yes
6506 # Use a header file that comes with gcc, so configuring glibc
6507 # with a fresh cross-compiler works.
6508 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6509 # <limits.h> exists even on freestanding compilers.
6510 # On the NeXT, cc -E runs the code through the compiler's parser,
6511 # not just through cpp. "Syntax error" is here to catch this case.
6512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6513 /* end confdefs.h. */
6514 #ifdef __STDC__
6515 # include <limits.h>
6516 #else
6517 # include <assert.h>
6518 #endif
6519 Syntax error
6520 _ACEOF
6521 if ac_fn_c_try_cpp "$LINENO"; then :
6523 else
6524 # Broken: fails on valid input.
6525 continue
6527 rm -f conftest.err conftest.i conftest.$ac_ext
6529 # OK, works on sane cases. Now check whether nonexistent headers
6530 # can be detected and how.
6531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6532 /* end confdefs.h. */
6533 #include <ac_nonexistent.h>
6534 _ACEOF
6535 if ac_fn_c_try_cpp "$LINENO"; then :
6536 # Broken: success on invalid input.
6537 continue
6538 else
6539 # Passes both tests.
6540 ac_preproc_ok=:
6541 break
6543 rm -f conftest.err conftest.i conftest.$ac_ext
6545 done
6546 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6547 rm -f conftest.i conftest.err conftest.$ac_ext
6548 if $ac_preproc_ok; then :
6550 else
6551 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6553 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6554 See \`config.log' for more details" "$LINENO" 5; }
6557 ac_ext=c
6558 ac_cpp='$CPP $CPPFLAGS'
6559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6565 $as_echo_n "checking for ANSI C header files... " >&6; }
6566 if ${ac_cv_header_stdc+:} false; then :
6567 $as_echo_n "(cached) " >&6
6568 else
6569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6571 #include <stdlib.h>
6572 #include <stdarg.h>
6573 #include <string.h>
6574 #include <float.h>
6577 main ()
6581 return 0;
6583 _ACEOF
6584 if ac_fn_c_try_compile "$LINENO"; then :
6585 ac_cv_header_stdc=yes
6586 else
6587 ac_cv_header_stdc=no
6589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6591 if test $ac_cv_header_stdc = yes; then
6592 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6594 /* end confdefs.h. */
6595 #include <string.h>
6597 _ACEOF
6598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6599 $EGREP "memchr" >/dev/null 2>&1; then :
6601 else
6602 ac_cv_header_stdc=no
6604 rm -f conftest*
6608 if test $ac_cv_header_stdc = yes; then
6609 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6611 /* end confdefs.h. */
6612 #include <stdlib.h>
6614 _ACEOF
6615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6616 $EGREP "free" >/dev/null 2>&1; then :
6618 else
6619 ac_cv_header_stdc=no
6621 rm -f conftest*
6625 if test $ac_cv_header_stdc = yes; then
6626 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6627 if test "$cross_compiling" = yes; then :
6629 else
6630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6631 /* end confdefs.h. */
6632 #include <ctype.h>
6633 #include <stdlib.h>
6634 #if ((' ' & 0x0FF) == 0x020)
6635 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6636 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6637 #else
6638 # define ISLOWER(c) \
6639 (('a' <= (c) && (c) <= 'i') \
6640 || ('j' <= (c) && (c) <= 'r') \
6641 || ('s' <= (c) && (c) <= 'z'))
6642 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6643 #endif
6645 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6647 main ()
6649 int i;
6650 for (i = 0; i < 256; i++)
6651 if (XOR (islower (i), ISLOWER (i))
6652 || toupper (i) != TOUPPER (i))
6653 return 2;
6654 return 0;
6656 _ACEOF
6657 if ac_fn_c_try_run "$LINENO"; then :
6659 else
6660 ac_cv_header_stdc=no
6662 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6663 conftest.$ac_objext conftest.beam conftest.$ac_ext
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6669 $as_echo "$ac_cv_header_stdc" >&6; }
6670 if test $ac_cv_header_stdc = yes; then
6672 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6676 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6677 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6678 inttypes.h stdint.h unistd.h
6679 do :
6680 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6681 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6683 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6684 cat >>confdefs.h <<_ACEOF
6685 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6686 _ACEOF
6690 done
6693 for ac_header in \
6694 AL/al.h \
6695 ApplicationServices/ApplicationServices.h \
6696 AudioToolbox/AudioConverter.h \
6697 AudioUnit/AudioUnit.h \
6698 AudioUnit/AudioComponent.h \
6699 CL/cl.h \
6700 Carbon/Carbon.h \
6701 CommonCrypto/CommonDigest.h \
6702 CoreAudio/CoreAudio.h \
6703 CoreServices/CoreServices.h \
6704 DiskArbitration/DiskArbitration.h \
6705 IOKit/IOKitLib.h \
6706 IOKit/hid/IOHIDLib.h \
6707 OpenAL/al.h \
6708 OpenCL/opencl.h \
6709 QuickTime/ImageCompression.h \
6710 Security/Security.h \
6711 alias.h \
6712 alsa/asoundlib.h \
6713 arpa/inet.h \
6714 arpa/nameser.h \
6715 asm/types.h \
6716 asm/user.h \
6717 curses.h \
6718 direct.h \
6719 dirent.h \
6720 dlfcn.h \
6721 elf.h \
6722 float.h \
6723 fnmatch.h \
6724 getopt.h \
6725 gettext-po.h \
6726 grp.h \
6727 gsm.h \
6728 gsm/gsm.h \
6729 ieeefp.h \
6730 inet/mib2.h \
6731 io.h \
6732 kstat.h \
6733 lber.h \
6734 ldap.h \
6735 libproc.h \
6736 link.h \
6737 linux/cdrom.h \
6738 linux/compiler.h \
6739 linux/filter.h \
6740 linux/hdreg.h \
6741 linux/input.h \
6742 linux/ioctl.h \
6743 linux/joystick.h \
6744 linux/major.h \
6745 linux/param.h \
6746 linux/serial.h \
6747 linux/types.h \
6748 linux/ucdrom.h \
6749 lwp.h \
6750 mach-o/nlist.h \
6751 mach-o/loader.h \
6752 mach/mach.h \
6753 mach/machine.h \
6754 machine/cpu.h \
6755 machine/limits.h \
6756 machine/sysarch.h \
6757 mntent.h \
6758 ncurses.h \
6759 netdb.h \
6760 netinet/in.h \
6761 netinet/in_systm.h \
6762 netinet/tcp.h \
6763 netinet/tcp_fsm.h \
6764 pcap/pcap.h \
6765 poll.h \
6766 port.h \
6767 process.h \
6768 pthread.h \
6769 pwd.h \
6770 sched.h \
6771 scsi/scsi.h \
6772 scsi/scsi_ioctl.h \
6773 scsi/sg.h \
6774 stdbool.h \
6775 stdint.h \
6776 stropts.h \
6777 sys/asoundlib.h \
6778 sys/attr.h \
6779 sys/cdio.h \
6780 sys/elf32.h \
6781 sys/epoll.h \
6782 sys/event.h \
6783 sys/exec_elf.h \
6784 sys/filio.h \
6785 sys/inotify.h \
6786 sys/ioctl.h \
6787 sys/ipc.h \
6788 sys/limits.h \
6789 sys/link.h \
6790 sys/mman.h \
6791 sys/modem.h \
6792 sys/msg.h \
6793 sys/mtio.h \
6794 sys/param.h \
6795 sys/poll.h \
6796 sys/prctl.h \
6797 sys/protosw.h \
6798 sys/ptrace.h \
6799 sys/queue.h \
6800 sys/resource.h \
6801 sys/scsiio.h \
6802 sys/shm.h \
6803 sys/signal.h \
6804 sys/socket.h \
6805 sys/socketvar.h \
6806 sys/sockio.h \
6807 sys/statvfs.h \
6808 sys/strtio.h \
6809 sys/syscall.h \
6810 sys/tihdr.h \
6811 sys/time.h \
6812 sys/timeout.h \
6813 sys/times.h \
6814 sys/uio.h \
6815 sys/user.h \
6816 sys/utsname.h \
6817 sys/vm86.h \
6818 sys/vnode.h \
6819 sys/wait.h \
6820 syscall.h \
6821 termios.h \
6822 unistd.h \
6823 utime.h \
6824 valgrind/memcheck.h \
6825 valgrind/valgrind.h \
6826 zlib.h
6828 do :
6829 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6830 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6831 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6832 cat >>confdefs.h <<_ACEOF
6833 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6834 _ACEOF
6838 done
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6841 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6842 if ${ac_cv_header_stat_broken+:} false; then :
6843 $as_echo_n "(cached) " >&6
6844 else
6845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6846 /* end confdefs.h. */
6847 #include <sys/types.h>
6848 #include <sys/stat.h>
6850 #if defined S_ISBLK && defined S_IFDIR
6851 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6852 #endif
6854 #if defined S_ISBLK && defined S_IFCHR
6855 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6856 #endif
6858 #if defined S_ISLNK && defined S_IFREG
6859 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6860 #endif
6862 #if defined S_ISSOCK && defined S_IFREG
6863 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6864 #endif
6866 _ACEOF
6867 if ac_fn_c_try_compile "$LINENO"; then :
6868 ac_cv_header_stat_broken=no
6869 else
6870 ac_cv_header_stat_broken=yes
6872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6875 $as_echo "$ac_cv_header_stat_broken" >&6; }
6876 if test $ac_cv_header_stat_broken = yes; then
6878 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6884 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6885 do :
6886 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6887 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6888 #ifdef HAVE_SYS_PARAM_H
6889 # include <sys/param.h>
6890 #endif
6892 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6893 cat >>confdefs.h <<_ACEOF
6894 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6895 _ACEOF
6899 done
6902 for ac_header in \
6903 netinet/ip.h \
6904 net/if.h \
6905 net/if_arp.h \
6906 net/if_dl.h \
6907 net/if_types.h \
6908 net/route.h \
6909 netinet/if_ether.h \
6910 netinet/if_inarp.h \
6911 netinet/in_pcb.h \
6912 netinet/ip_icmp.h \
6913 netinet/ip_var.h \
6914 netinet/udp.h \
6915 netipx/ipx.h \
6916 sys/un.h \
6918 do :
6919 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6920 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6921 #ifdef HAVE_SYS_SOCKET_H
6922 # include <sys/socket.h>
6923 #endif
6924 #ifdef HAVE_SYS_SOCKETVAR_H
6925 # include <sys/socketvar.h>
6926 #endif
6927 #ifdef HAVE_NET_ROUTE_H
6928 # include <net/route.h>
6929 #endif
6930 #ifdef HAVE_NETINET_IN_H
6931 # include <netinet/in.h>
6932 #endif
6933 #ifdef HAVE_NETINET_IN_SYSTM_H
6934 # include <netinet/in_systm.h>
6935 #endif
6936 #ifdef HAVE_NET_IF_H
6937 # include <net/if.h>
6938 #endif
6939 #ifdef HAVE_NETINET_IP_H
6940 # include <netinet/ip.h>
6941 #endif
6943 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6944 cat >>confdefs.h <<_ACEOF
6945 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6946 _ACEOF
6950 done
6953 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6954 do :
6955 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6956 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6957 #ifdef HAVE_ALIAS_H
6958 # include <alias.h>
6959 #endif
6960 #ifdef HAVE_SYS_SOCKET_H
6961 # include <sys/socket.h>
6962 #endif
6963 #ifdef HAVE_SYS_SOCKETVAR_H
6964 # include <sys/socketvar.h>
6965 #endif
6966 #ifdef HAVE_SYS_TIMEOUT_H
6967 # include <sys/timeout.h>
6968 #endif
6969 #ifdef HAVE_NETINET_IN_H
6970 # include <netinet/in.h>
6971 #endif
6972 #ifdef HAVE_NETINET_IN_SYSTM_H
6973 # include <netinet/in_systm.h>
6974 #endif
6975 #ifdef HAVE_NETINET_IP_H
6976 # include <netinet/ip.h>
6977 #endif
6978 #ifdef HAVE_NETINET_IP_VAR_H
6979 # include <netinet/ip_var.h>
6980 #endif
6981 #ifdef HAVE_NETINET_IP_ICMP_H
6982 # include <netinet/ip_icmp.h>
6983 #endif
6984 #ifdef HAVE_NETINET_UDP_H
6985 # include <netinet/udp.h>
6986 #endif
6987 #ifdef HAVE_NETINET_TCP_H
6988 # include <netinet/tcp.h>
6989 #endif
6990 #ifdef HAVE_NETINET_TCP_TIMER_H
6991 #include <netinet/tcp_timer.h>
6992 #endif
6994 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6995 cat >>confdefs.h <<_ACEOF
6996 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6997 _ACEOF
7001 done
7004 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7005 do :
7006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7007 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7008 #ifdef HAVE_ASM_TYPES_H
7009 # include <asm/types.h>
7010 #endif
7011 #ifdef HAVE_SYS_SOCKET_H
7012 # include <sys/socket.h>
7013 #endif
7014 #ifdef HAVE_LINUX_TYPES_H
7015 # include <linux/types.h>
7016 #endif
7018 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7019 cat >>confdefs.h <<_ACEOF
7020 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7021 _ACEOF
7025 done
7028 for ac_header in mach-o/dyld_images.h
7029 do :
7030 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7031 # include <stdbool.h>
7032 #endif
7033 #ifdef HAVE_STDINT_H
7034 # include <stdint.h>
7035 #endif
7037 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7038 cat >>confdefs.h <<_ACEOF
7039 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7040 _ACEOF
7044 done
7047 for ac_header in resolv.h
7048 do :
7049 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7050 #ifdef HAVE_SYS_SOCKET_H
7051 # include <sys/socket.h>
7052 #endif
7053 #ifdef HAVE_NETINET_IN_H
7054 # include <netinet/in.h>
7055 #endif
7056 #ifdef HAVE_ARPA_NAMESER_H
7057 # include <arpa/nameser.h>
7058 #endif
7060 if test "x$ac_cv_header_resolv_h" = xyes; then :
7061 cat >>confdefs.h <<_ACEOF
7062 #define HAVE_RESOLV_H 1
7063 _ACEOF
7067 done
7070 for ac_header in ifaddrs.h
7071 do :
7072 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7074 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7075 cat >>confdefs.h <<_ACEOF
7076 #define HAVE_IFADDRS_H 1
7077 _ACEOF
7081 done
7084 for ac_header in sys/ucontext.h
7085 do :
7086 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7088 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7089 cat >>confdefs.h <<_ACEOF
7090 #define HAVE_SYS_UCONTEXT_H 1
7091 _ACEOF
7095 done
7098 for ac_header in sys/thr.h
7099 do :
7100 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7101 #ifdef HAVE_SYS_UCONTEXT_H
7102 #include <sys/ucontext.h>
7103 #endif
7105 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7106 cat >>confdefs.h <<_ACEOF
7107 #define HAVE_SYS_THR_H 1
7108 _ACEOF
7112 done
7115 for ac_header in pthread_np.h
7116 do :
7117 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7118 #include <pthread.h>
7119 #endif
7121 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7122 cat >>confdefs.h <<_ACEOF
7123 #define HAVE_PTHREAD_NP_H 1
7124 _ACEOF
7128 done
7131 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7132 do :
7133 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7134 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7135 #include <sys/time.h>
7136 #endif
7137 #include <sys/types.h>
7138 #ifdef HAVE_ASM_TYPES_H
7139 #include <asm/types.h>
7140 #endif
7142 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7143 cat >>confdefs.h <<_ACEOF
7144 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7145 _ACEOF
7149 done
7152 for ac_header in libprocstat.h
7153 do :
7154 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7155 #include <sys/param.h>
7156 #endif
7157 #ifdef HAVE_SYS_QUEUE_H
7158 #include <sys/queue.h>
7159 #endif
7160 #ifdef HAVE_SYS_SOCKET_H
7161 #include <sys/socket.h>
7162 #endif
7164 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7165 cat >>confdefs.h <<_ACEOF
7166 #define HAVE_LIBPROCSTAT_H 1
7167 _ACEOF
7171 done
7175 dlldir="\${libdir}/wine"
7177 DLLFLAGS="-D_REENTRANT"
7179 LDRPATH_INSTALL=""
7181 LDRPATH_LOCAL=""
7183 LDEXECFLAGS=""
7185 LIBEXT="so"
7186 DLLEXT=".so"
7187 IMPLIBEXT="def"
7188 STATIC_IMPLIBEXT="def.a"
7189 # Extract the first word of "ldd", so it can be a program name with args.
7190 set dummy ldd; ac_word=$2
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7192 $as_echo_n "checking for $ac_word... " >&6; }
7193 if ${ac_cv_path_LDD+:} false; then :
7194 $as_echo_n "(cached) " >&6
7195 else
7196 case $LDD in
7197 [\\/]* | ?:[\\/]*)
7198 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202 as_dummy="/sbin:/usr/sbin:$PATH"
7203 for as_dir in $as_dummy
7205 IFS=$as_save_IFS
7206 test -z "$as_dir" && as_dir=.
7207 for ac_exec_ext in '' $ac_executable_extensions; do
7208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7209 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7211 break 2
7213 done
7214 done
7215 IFS=$as_save_IFS
7217 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7219 esac
7221 LDD=$ac_cv_path_LDD
7222 if test -n "$LDD"; then
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7224 $as_echo "$LDD" >&6; }
7225 else
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7227 $as_echo "no" >&6; }
7231 if test -n "$ac_tool_prefix"; then
7232 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7233 set dummy ${ac_tool_prefix}otool; ac_word=$2
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7235 $as_echo_n "checking for $ac_word... " >&6; }
7236 if ${ac_cv_prog_OTOOL+:} false; then :
7237 $as_echo_n "(cached) " >&6
7238 else
7239 if test -n "$OTOOL"; then
7240 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7241 else
7242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 for as_dir in $PATH
7245 IFS=$as_save_IFS
7246 test -z "$as_dir" && as_dir=.
7247 for ac_exec_ext in '' $ac_executable_extensions; do
7248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7249 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7251 break 2
7253 done
7254 done
7255 IFS=$as_save_IFS
7259 OTOOL=$ac_cv_prog_OTOOL
7260 if test -n "$OTOOL"; then
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7262 $as_echo "$OTOOL" >&6; }
7263 else
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7265 $as_echo "no" >&6; }
7270 if test -z "$ac_cv_prog_OTOOL"; then
7271 ac_ct_OTOOL=$OTOOL
7272 # Extract the first word of "otool", so it can be a program name with args.
7273 set dummy otool; ac_word=$2
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7275 $as_echo_n "checking for $ac_word... " >&6; }
7276 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7277 $as_echo_n "(cached) " >&6
7278 else
7279 if test -n "$ac_ct_OTOOL"; then
7280 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7281 else
7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 for as_dir in $PATH
7285 IFS=$as_save_IFS
7286 test -z "$as_dir" && as_dir=.
7287 for ac_exec_ext in '' $ac_executable_extensions; do
7288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7289 ac_cv_prog_ac_ct_OTOOL="otool"
7290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7291 break 2
7293 done
7294 done
7295 IFS=$as_save_IFS
7299 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7300 if test -n "$ac_ct_OTOOL"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7302 $as_echo "$ac_ct_OTOOL" >&6; }
7303 else
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7305 $as_echo "no" >&6; }
7308 if test "x$ac_ct_OTOOL" = x; then
7309 OTOOL="otool"
7310 else
7311 case $cross_compiling:$ac_tool_warned in
7312 yes:)
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7315 ac_tool_warned=yes ;;
7316 esac
7317 OTOOL=$ac_ct_OTOOL
7319 else
7320 OTOOL="$ac_cv_prog_OTOOL"
7323 if test -n "$ac_tool_prefix"; then
7324 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7325 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7327 $as_echo_n "checking for $ac_word... " >&6; }
7328 if ${ac_cv_prog_READELF+:} false; then :
7329 $as_echo_n "(cached) " >&6
7330 else
7331 if test -n "$READELF"; then
7332 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7333 else
7334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 for as_dir in $PATH
7337 IFS=$as_save_IFS
7338 test -z "$as_dir" && as_dir=.
7339 for ac_exec_ext in '' $ac_executable_extensions; do
7340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7341 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7343 break 2
7345 done
7346 done
7347 IFS=$as_save_IFS
7351 READELF=$ac_cv_prog_READELF
7352 if test -n "$READELF"; then
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7354 $as_echo "$READELF" >&6; }
7355 else
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7357 $as_echo "no" >&6; }
7362 if test -z "$ac_cv_prog_READELF"; then
7363 ac_ct_READELF=$READELF
7364 # Extract the first word of "readelf", so it can be a program name with args.
7365 set dummy readelf; ac_word=$2
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7367 $as_echo_n "checking for $ac_word... " >&6; }
7368 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7369 $as_echo_n "(cached) " >&6
7370 else
7371 if test -n "$ac_ct_READELF"; then
7372 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7373 else
7374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7375 for as_dir in $PATH
7377 IFS=$as_save_IFS
7378 test -z "$as_dir" && as_dir=.
7379 for ac_exec_ext in '' $ac_executable_extensions; do
7380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7381 ac_cv_prog_ac_ct_READELF="readelf"
7382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7383 break 2
7385 done
7386 done
7387 IFS=$as_save_IFS
7391 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7392 if test -n "$ac_ct_READELF"; then
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7394 $as_echo "$ac_ct_READELF" >&6; }
7395 else
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7397 $as_echo "no" >&6; }
7400 if test "x$ac_ct_READELF" = x; then
7401 READELF="true"
7402 else
7403 case $cross_compiling:$ac_tool_warned in
7404 yes:)
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7407 ac_tool_warned=yes ;;
7408 esac
7409 READELF=$ac_ct_READELF
7411 else
7412 READELF="$ac_cv_prog_READELF"
7415 wine_rules_file=conf$$rules.make
7416 rm -f $wine_rules_file
7417 ALL_POT_FILES=""
7418 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7419 SUBDIRS=""
7421 ALL_TEST_RESOURCES=""
7424 wine_fn_append_file ()
7426 as_fn_append $1 " \\$as_nl $2"
7429 wine_fn_ignore_file ()
7431 case "$1" in
7432 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7433 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7434 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7435 esac
7438 wine_fn_append_rule ()
7440 $as_echo "$1" >>$wine_rules_file
7443 wine_fn_has_flag ()
7445 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7448 wine_fn_depend_rules ()
7450 wine_fn_append_file SUBDIRS $ac_dir
7453 wine_fn_pot_rules ()
7455 test "x$with_gettextpo" = xyes || return
7457 if wine_fn_has_flag mc
7458 then
7459 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7460 wine_fn_append_rule \
7461 "$ac_dir/msg.pot: dummy
7462 @cd $ac_dir && \$(MAKE) msg.pot
7463 $ac_dir/msg.pot: tools/wmc include"
7465 if wine_fn_has_flag po
7466 then
7467 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7468 wine_fn_append_rule \
7469 "$ac_dir/rsrc.pot: dummy
7470 @cd $ac_dir && \$(MAKE) rsrc.pot
7471 $ac_dir/rsrc.pot: tools/wrc include"
7475 wine_fn_all_rules ()
7477 wine_fn_depend_rules
7478 wine_fn_append_rule \
7479 "all: $ac_dir
7480 .PHONY: $ac_dir
7481 $ac_dir: dummy
7482 @cd $ac_dir && \$(MAKE)"
7485 wine_fn_install_rules ()
7487 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7489 wine_fn_append_rule \
7490 ".PHONY: $ac_dir/install $ac_dir/uninstall
7491 $ac_dir/install:: $ac_dir
7492 @cd $ac_dir && \$(MAKE) install
7493 $ac_dir/uninstall::
7494 @cd $ac_dir && \$(MAKE) uninstall
7495 install:: $ac_dir/install
7496 __uninstall__: $ac_dir/uninstall"
7498 if wine_fn_has_flag install-lib
7499 then
7500 wine_fn_append_rule \
7501 ".PHONY: $ac_dir/install-lib
7502 $ac_dir/install-lib:: $ac_dir
7503 @cd $ac_dir && \$(MAKE) install-lib
7504 install-lib:: $ac_dir/install-lib"
7507 if wine_fn_has_flag install-dev
7508 then
7509 wine_fn_append_rule \
7510 ".PHONY: $ac_dir/install-dev
7511 $ac_dir/install-dev:: $ac_dir
7512 @cd $ac_dir && \$(MAKE) install-dev
7513 install-dev:: $ac_dir/install-dev"
7517 wine_fn_clean_rules ()
7519 ac_clean=$@
7521 if wine_fn_has_flag clean
7522 then
7523 wine_fn_append_rule \
7524 "$ac_dir/clean: dummy
7525 @cd $ac_dir && \$(MAKE) clean"
7526 else
7527 wine_fn_append_rule \
7528 "$ac_dir/clean: dummy
7529 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7531 wine_fn_append_rule \
7532 "__clean__: $ac_dir/clean
7533 .PHONY: $ac_dir/clean"
7536 wine_fn_disabled_rules ()
7538 ac_clean=$@
7540 wine_fn_append_rule \
7541 "__clean__: $ac_dir/clean
7542 .PHONY: $ac_dir/clean
7543 $ac_dir/clean: dummy
7544 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7547 wine_fn_config_makefile ()
7549 ac_dir=$1
7550 ac_enable=$2
7551 ac_flags=$3
7553 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7554 wine_fn_disabled_rules; return
7556 wine_fn_all_rules
7557 wine_fn_install_rules
7558 wine_fn_clean_rules
7561 wine_fn_config_lib ()
7563 ac_name=$1
7564 ac_flags=$2
7565 ac_dir=dlls/$ac_name
7566 ac_deps="include"
7568 if test "x$enable_tools" = xno; then :
7570 else
7571 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7573 wine_fn_all_rules
7574 wine_fn_clean_rules
7576 wine_fn_append_rule \
7577 ".PHONY: $ac_dir/install $ac_dir/uninstall
7578 $ac_dir/install:: $ac_dir
7579 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7580 $ac_dir/uninstall::
7581 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7582 install install-dev:: $ac_dir/install
7583 __uninstall__: $ac_dir/uninstall
7584 __builddeps__: $ac_dir
7585 $ac_dir: $ac_deps"
7588 wine_fn_config_dll ()
7590 ac_name=$1
7591 ac_dir=dlls/$ac_name
7592 ac_enable=$2
7593 ac_flags=$3
7594 ac_implib=${4:-$ac_name}
7595 ac_file=$ac_dir/lib$ac_implib
7596 ac_dll=$ac_name
7597 ac_deps="include"
7598 ac_implibflags=""
7600 if test "x$enable_tools" = xno; then :
7602 else
7603 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7605 case $ac_name in
7606 *16) ac_implibflags=" -m16" ;;
7607 *.*) ;;
7608 *) ac_dll=$ac_dll.dll ;;
7609 esac
7611 ac_clean=
7612 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7613 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7614 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7615 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7617 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7618 if test "$ac_enable" != enable_win16
7619 then
7620 wine_fn_depend_rules
7621 wine_fn_clean_rules $ac_clean
7622 wine_fn_pot_rules
7623 else
7624 wine_fn_disabled_rules $ac_clean
7625 return
7627 else
7628 wine_fn_all_rules
7629 wine_fn_clean_rules $ac_clean
7630 wine_fn_append_rule \
7631 "$ac_dir: __builddeps__
7632 manpages htmlpages sgmlpages xmlpages::
7633 @cd $ac_dir && \$(MAKE) \$@
7634 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7635 install install-lib:: $ac_dir/install-lib
7636 __uninstall__: $ac_dir/uninstall"
7637 if test -n "$DLLEXT"
7638 then
7639 wine_fn_append_rule \
7640 "$ac_dir/install-lib:: $ac_dir
7641 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7642 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7643 $ac_dir/uninstall::
7644 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7645 else
7646 wine_fn_append_rule \
7647 "$ac_dir/install-lib:: $ac_dir
7648 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7649 $ac_dir/uninstall::
7650 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7653 wine_fn_pot_rules
7656 if wine_fn_has_flag staticimplib
7657 then
7658 wine_fn_append_rule \
7659 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7660 $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7661 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7662 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7663 $ac_file.$STATIC_IMPLIBEXT: dummy
7664 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7665 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7666 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7667 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7668 $ac_dir/uninstall::
7669 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7670 install install-dev:: $ac_dir/install-dev
7671 __uninstall__: $ac_dir/uninstall"
7673 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7674 then
7675 wine_fn_append_rule \
7676 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7677 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7678 $ac_dir/uninstall::
7679 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7682 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7683 then
7684 wine_fn_append_rule \
7685 "__builddeps__: $ac_file.cross.a
7686 $ac_file.cross.a: dummy
7687 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7690 elif wine_fn_has_flag implib
7691 then
7692 wine_fn_append_rule \
7693 "__builddeps__: $ac_file.$IMPLIBEXT
7694 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7695 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7696 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7697 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7698 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7699 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7700 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7701 $ac_dir/uninstall::
7702 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7703 install install-dev:: $ac_dir/install-dev
7704 __uninstall__: $ac_dir/uninstall"
7705 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7706 then
7707 wine_fn_append_rule \
7708 "__builddeps__: $ac_file.cross.a
7709 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7710 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7713 if test "$ac_name" != "$ac_implib"
7714 then
7715 wine_fn_append_rule \
7716 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7717 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7718 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7719 clean::
7720 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7721 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7722 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7723 then
7724 wine_fn_append_rule \
7725 "__builddeps__: dlls/lib$ac_implib.cross.a
7726 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7727 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7728 clean::
7729 \$(RM) dlls/lib$ac_implib.cross.a"
7730 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7736 wine_fn_config_program ()
7738 ac_name=$1
7739 ac_dir=programs/$ac_name
7740 ac_enable=$2
7741 ac_flags=$3
7742 ac_program=$ac_name
7744 case $ac_name in
7745 *.*) ;;
7746 *) ac_program=$ac_program.exe ;;
7747 esac
7749 ac_clean=
7750 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7751 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7752 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7753 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7755 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7756 wine_fn_disabled_rules $ac_clean; return
7759 wine_fn_all_rules
7760 wine_fn_clean_rules $ac_clean
7761 wine_fn_append_rule "$ac_dir: __builddeps__"
7762 wine_fn_pot_rules
7764 wine_fn_has_flag install || return
7765 wine_fn_append_rule \
7766 ".PHONY: $ac_dir/install $ac_dir/uninstall
7767 install install-lib:: $ac_dir/install
7768 __uninstall__: $ac_dir/uninstall"
7770 if test -n "$DLLEXT"
7771 then
7772 wine_fn_append_rule \
7773 "$ac_dir/install:: $ac_dir
7774 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7775 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7776 $ac_dir/uninstall::
7777 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7779 if test -z "$with_wine64" && wine_fn_has_flag installbin
7780 then
7781 wine_fn_append_rule \
7782 "$ac_dir/install:: __tooldeps__
7783 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7784 $ac_dir/uninstall::
7785 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7787 else
7788 wine_fn_append_rule \
7789 "$ac_dir/install:: $ac_dir
7790 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7791 $ac_dir/uninstall::
7792 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7795 if test -z "$with_wine64" && wine_fn_has_flag manpage
7796 then
7797 wine_fn_append_rule \
7798 "$ac_dir/install:: $ac_dir
7799 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7800 $ac_dir/uninstall::
7801 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7805 wine_fn_config_test ()
7807 ac_dir=$1
7808 ac_name=$2
7809 ac_flags=$3
7811 ac_clean=
7812 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7813 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7815 if test "x$enable_tests" = xno; then :
7816 wine_fn_disabled_rules $ac_clean; return
7819 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7820 wine_fn_all_rules
7821 wine_fn_clean_rules $ac_clean
7823 wine_fn_append_rule \
7824 "$ac_dir: __builddeps__
7825 programs/winetest: $ac_dir
7826 check test: $ac_dir/test
7827 .PHONY: $ac_dir/test
7828 $ac_dir/test: dummy
7829 @cd $ac_dir && \$(MAKE) test
7830 testclean::
7831 \$(RM) $ac_dir/*.ok"
7833 if test -n "$CROSSTARGET"
7834 then
7835 wine_fn_append_rule \
7836 "crosstest: $ac_dir/crosstest
7837 .PHONY: $ac_dir/crosstest
7838 $ac_dir/crosstest: __builddeps__ dummy
7839 @cd $ac_dir && \$(MAKE) crosstest"
7843 wine_fn_config_tool ()
7845 ac_dir=$1
7846 ac_flags=$2
7847 if test "x$enable_tools" = xno; then :
7848 return
7851 wine_fn_all_rules
7852 wine_fn_install_rules
7853 wine_fn_clean_rules
7855 wine_fn_append_rule "__tooldeps__: $ac_dir"
7856 wine_fn_append_rule "$ac_dir: libs/port"
7857 case $ac_dir in
7858 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7859 esac
7862 wine_fn_config_symlink ()
7864 ac_linkdir=
7865 if test "x$1" = "x-d"
7866 then
7867 ac_linkdir=$2
7868 shift; shift
7870 ac_links=$@
7871 wine_fn_append_rule \
7872 "$ac_links:
7873 @./config.status \$@
7874 distclean::
7875 \$(RM) $ac_links"
7876 for f in $ac_links; do wine_fn_ignore_file $f; done
7877 test -n "$ac_linkdir" || return
7878 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7881 wine_binary="wine"
7882 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7883 WINELOADER_PROGRAMS="$wine_binary"
7885 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7887 case $host_os in
7888 cygwin*|mingw32*)
7889 if test -n "$ac_tool_prefix"; then
7890 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7891 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7893 $as_echo_n "checking for $ac_word... " >&6; }
7894 if ${ac_cv_prog_DLLTOOL+:} false; then :
7895 $as_echo_n "(cached) " >&6
7896 else
7897 if test -n "$DLLTOOL"; then
7898 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7899 else
7900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7901 for as_dir in $PATH
7903 IFS=$as_save_IFS
7904 test -z "$as_dir" && as_dir=.
7905 for ac_exec_ext in '' $ac_executable_extensions; do
7906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7907 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7909 break 2
7911 done
7912 done
7913 IFS=$as_save_IFS
7917 DLLTOOL=$ac_cv_prog_DLLTOOL
7918 if test -n "$DLLTOOL"; then
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7920 $as_echo "$DLLTOOL" >&6; }
7921 else
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7923 $as_echo "no" >&6; }
7928 if test -z "$ac_cv_prog_DLLTOOL"; then
7929 ac_ct_DLLTOOL=$DLLTOOL
7930 # Extract the first word of "dlltool", so it can be a program name with args.
7931 set dummy dlltool; ac_word=$2
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7933 $as_echo_n "checking for $ac_word... " >&6; }
7934 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7935 $as_echo_n "(cached) " >&6
7936 else
7937 if test -n "$ac_ct_DLLTOOL"; then
7938 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7939 else
7940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7941 for as_dir in $PATH
7943 IFS=$as_save_IFS
7944 test -z "$as_dir" && as_dir=.
7945 for ac_exec_ext in '' $ac_executable_extensions; do
7946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7947 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7949 break 2
7951 done
7952 done
7953 IFS=$as_save_IFS
7957 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7958 if test -n "$ac_ct_DLLTOOL"; then
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7960 $as_echo "$ac_ct_DLLTOOL" >&6; }
7961 else
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7963 $as_echo "no" >&6; }
7966 if test "x$ac_ct_DLLTOOL" = x; then
7967 DLLTOOL="false"
7968 else
7969 case $cross_compiling:$ac_tool_warned in
7970 yes:)
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7973 ac_tool_warned=yes ;;
7974 esac
7975 DLLTOOL=$ac_ct_DLLTOOL
7977 else
7978 DLLTOOL="$ac_cv_prog_DLLTOOL"
7981 LIBEXT="dll"
7982 DLLEXT=""
7983 IMPLIBEXT="a"
7984 STATIC_IMPLIBEXT="a"
7985 enable_iphlpapi=${enable_iphlpapi:-no}
7986 enable_kernel32=${enable_kernel32:-no}
7987 enable_msvcrt=${enable_msvcrt:-no}
7988 enable_ntdll=${enable_ntdll:-no}
7989 enable_ws2_32=${enable_ws2_32:-no}
7990 enable_loader=${enable_loader:-no}
7991 enable_server=${enable_server:-no}
7992 with_x=${with_x:-no}
7993 with_pthread=${with_pthread:-no}
7995 crtlibs=""
7996 case $host_os in
7997 mingw32*)
7998 crtlibs="-lmsvcrt"
7999 SOCKET_LIBS="-lws2_32"
8001 esac
8003 LIBWINE_SHAREDLIB="libwine.dll"
8005 LIBWINE_IMPORTLIB="libwine.a"
8007 LIBWINE_INSTALL_LIB="libwine.dll"
8009 LIBWINE_INSTALL_DEV="libwine.a"
8011 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8013 LIBWINE_DEPENDS="wine.def"
8017 darwin*|macosx*)
8018 for ac_header in libunwind.h
8019 do :
8020 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8022 cat >>confdefs.h <<_ACEOF
8023 #define HAVE_LIBUNWIND_H 1
8024 _ACEOF
8028 done
8030 LIBEXT="dylib"
8031 DLLFLAGS="$DLLFLAGS -fPIC"
8032 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8033 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8034 COREFOUNDATION_LIBS="-framework CoreFoundation"
8036 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8038 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8040 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8042 CORESERVICES_LIBS="-framework CoreServices"
8044 APPKIT_LIBS="-framework AppKit"
8046 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8048 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8049 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8050 $as_echo_n "(cached) " >&6
8051 else
8052 ac_wine_try_cflags_saved=$CFLAGS
8053 CFLAGS="$CFLAGS -Wl,-no_pie"
8054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8055 /* end confdefs.h. */
8056 int main(int argc, char **argv) { return 0; }
8057 _ACEOF
8058 if ac_fn_c_try_link "$LINENO"; then :
8059 ac_cv_cflags__Wl__no_pie=yes
8060 else
8061 ac_cv_cflags__Wl__no_pie=no
8063 rm -f core conftest.err conftest.$ac_objext \
8064 conftest$ac_exeext conftest.$ac_ext
8065 CFLAGS=$ac_wine_try_cflags_saved
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8068 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8069 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8070 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8072 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8073 then
8074 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8077 if test "$ac_cv_header_Security_Security_h" = "yes"
8078 then
8079 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8081 ac_save_LIBS="$LIBS"
8082 LIBS="$LIBS $SECURITY_LIBS"
8083 for ac_func in SSLCopyPeerCertificates
8084 do :
8085 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8086 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8087 cat >>confdefs.h <<_ACEOF
8088 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8089 _ACEOF
8092 done
8094 LIBS="$ac_save_LIBS"
8095 with_gnutls=${with_gnutls:-no}
8097 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8098 then
8099 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8100 then
8101 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8103 else
8104 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8107 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8108 ac_save_LIBS="$LIBS"
8109 LIBS="$LIBS $COREAUDIO_LIBS"
8110 for ac_func in AUGraphAddNode
8111 do :
8112 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8113 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8114 cat >>confdefs.h <<_ACEOF
8115 #define HAVE_AUGRAPHADDNODE 1
8116 _ACEOF
8119 done
8121 LIBS="$ac_save_LIBS"
8123 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8124 then
8125 OPENAL_LIBS="-framework OpenAL"
8128 cat >>confdefs.h <<_ACEOF
8129 #define HAVE_OPENAL 1
8130 _ACEOF
8132 ac_cv_lib_openal=yes
8134 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8135 then
8136 OPENCL_LIBS="-framework OpenCL"
8138 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8140 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8141 then
8142 ac_save_LIBS="$LIBS"
8143 LIBS="$LIBS $IOKIT_LIBS"
8144 for ac_func in IOHIDManagerCreate
8145 do :
8146 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8147 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8148 cat >>confdefs.h <<_ACEOF
8149 #define HAVE_IOHIDMANAGERCREATE 1
8150 _ACEOF
8153 done
8155 LIBS="$ac_save_LIBS"
8157 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8158 then
8159 ac_save_LIBS="$LIBS"
8160 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8162 $as_echo_n "checking for the QuickTime framework... " >&6; }
8163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8164 /* end confdefs.h. */
8165 #include <QuickTime/ImageCompression.h>
8167 main ()
8169 CodecManagerVersion(NULL);
8171 return 0;
8173 _ACEOF
8174 if ac_fn_c_try_link "$LINENO"; then :
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8176 $as_echo "yes" >&6; }
8177 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8179 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8180 else
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8182 $as_echo "no" >&6; }
8183 ac_cv_header_QuickTime_ImageCompression_h=no
8185 rm -f core conftest.err conftest.$ac_objext \
8186 conftest$ac_exeext conftest.$ac_ext
8187 LIBS="$ac_save_LIBS"
8189 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8190 then
8191 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8193 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8194 then
8195 CARBON_LIBS="-framework Carbon"
8199 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8200 then
8201 ac_save_LIBS="$LIBS"
8202 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8203 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8204 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8205 enable_winemac_drv=${enable_winemac_drv:-yes}
8208 LIBS="$ac_save_LIBS"
8211 if test "x$enable_win16" = "xyes"
8212 then
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8214 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8215 if test "$cross_compiling" = yes; then :
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8217 $as_echo "cross-compiling, assuming yes" >&6; }
8218 else
8219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8220 /* end confdefs.h. */
8221 asm(".text\n"
8222 "bad:\tnop;nop\n"
8223 "good:\tnop;nop\n\t"
8224 ".globl _testfunc\n"
8225 "_testfunc:\tcallw good");
8226 extern void testfunc();
8228 main ()
8230 unsigned short *p = (unsigned short *)testfunc;
8231 return p[0] != 0xe866 || p[1] != 0xfffa
8233 return 0;
8235 _ACEOF
8236 if ac_fn_c_try_run "$LINENO"; then :
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8238 $as_echo "yes" >&6; }
8239 else
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8241 $as_echo "no" >&6; }
8242 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
8244 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8245 conftest.$ac_objext conftest.beam conftest.$ac_ext
8250 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8252 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8254 LIBWINE_INSTALL_DEV="libwine.dylib"
8256 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8258 WINELOADER_DEPENDS="wine_info.plist"
8262 linux-android*)
8263 DLLFLAGS="$DLLFLAGS -fPIC"
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8265 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8266 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8267 $as_echo_n "(cached) " >&6
8268 else
8269 ac_wine_try_cflags_saved=$CFLAGS
8270 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8272 /* end confdefs.h. */
8273 int main(int argc, char **argv) { return 0; }
8274 _ACEOF
8275 if ac_fn_c_try_link "$LINENO"; then :
8276 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8277 else
8278 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8280 rm -f core conftest.err conftest.$ac_objext \
8281 conftest$ac_exeext conftest.$ac_ext
8282 CFLAGS=$ac_wine_try_cflags_saved
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8285 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8286 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8287 LDEXECFLAGS="-Wl,--export-dynamic"
8289 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8291 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8292 if eval \${$as_ac_var+:} false; then :
8293 $as_echo_n "(cached) " >&6
8294 else
8295 ac_wine_try_cflags_saved=$CFLAGS
8296 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8298 /* end confdefs.h. */
8299 int main(int argc, char **argv) { return 0; }
8300 _ACEOF
8301 if ac_fn_c_try_link "$LINENO"; then :
8302 eval "$as_ac_var=yes"
8303 else
8304 eval "$as_ac_var=no"
8306 rm -f core conftest.err conftest.$ac_objext \
8307 conftest$ac_exeext conftest.$ac_ext
8308 CFLAGS=$ac_wine_try_cflags_saved
8310 eval ac_res=\$$as_ac_var
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8312 $as_echo "$ac_res" >&6; }
8313 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8314 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8315 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8316 else
8317 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8319 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$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,-R,\$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,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8343 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8348 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8349 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8350 $as_echo_n "(cached) " >&6
8351 else
8352 ac_wine_try_cflags_saved=$CFLAGS
8353 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8355 /* end confdefs.h. */
8356 int main(int argc, char **argv) { return 0; }
8357 _ACEOF
8358 if ac_fn_c_try_link "$LINENO"; then :
8359 ac_cv_cflags__Wl___enable_new_dtags=yes
8360 else
8361 ac_cv_cflags__Wl___enable_new_dtags=no
8363 rm -f core conftest.err conftest.$ac_objext \
8364 conftest$ac_exeext conftest.$ac_ext
8365 CFLAGS=$ac_wine_try_cflags_saved
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8368 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8369 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8370 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8373 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8374 if ${ac_cv_cflags__Wl__pie+:} false; then :
8375 $as_echo_n "(cached) " >&6
8376 else
8377 ac_wine_try_cflags_saved=$CFLAGS
8378 CFLAGS="$CFLAGS -Wl,-pie"
8379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8380 /* end confdefs.h. */
8381 int main(int argc, char **argv) { return 0; }
8382 _ACEOF
8383 if ac_fn_c_try_link "$LINENO"; then :
8384 ac_cv_cflags__Wl__pie=yes
8385 else
8386 ac_cv_cflags__Wl__pie=no
8388 rm -f core conftest.err conftest.$ac_objext \
8389 conftest$ac_exeext conftest.$ac_ext
8390 CFLAGS=$ac_wine_try_cflags_saved
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8393 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8394 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8395 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8398 LIBWINE_SHAREDLIB="libwine.so"
8400 LIBWINE_INSTALL_LIB="libwine.so"
8402 LIBWINE_LDFLAGS="-shared"
8407 DLLFLAGS="$DLLFLAGS -fPIC"
8408 LDEXECFLAGS=""
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8410 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8411 if ${ac_cv_c_dll_gnuelf+:} false; then :
8412 $as_echo_n "(cached) " >&6
8413 else
8414 ac_wine_try_cflags_saved=$CFLAGS
8415 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8417 /* end confdefs.h. */
8418 void myfunc() {}
8419 _ACEOF
8420 if ac_fn_c_try_link "$LINENO"; then :
8421 ac_cv_c_dll_gnuelf="yes"
8422 else
8423 ac_cv_c_dll_gnuelf="no"
8425 rm -f core conftest.err conftest.$ac_objext \
8426 conftest$ac_exeext conftest.$ac_ext
8427 CFLAGS=$ac_wine_try_cflags_saved
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8430 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8431 if test "$ac_cv_c_dll_gnuelf" = "yes"
8432 then
8433 LIBWINE_LDFLAGS="-shared"
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8435 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8436 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8437 $as_echo_n "(cached) " >&6
8438 else
8439 ac_wine_try_cflags_saved=$CFLAGS
8440 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8442 /* end confdefs.h. */
8443 int main(int argc, char **argv) { return 0; }
8444 _ACEOF
8445 if ac_fn_c_try_link "$LINENO"; then :
8446 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8447 else
8448 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8450 rm -f core conftest.err conftest.$ac_objext \
8451 conftest$ac_exeext conftest.$ac_ext
8452 CFLAGS=$ac_wine_try_cflags_saved
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8455 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8456 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8457 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8458 else
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8460 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8461 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8462 $as_echo_n "(cached) " >&6
8463 else
8464 ac_wine_try_cflags_saved=$CFLAGS
8465 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8467 /* end confdefs.h. */
8468 int main(int argc, char **argv) { return 0; }
8469 _ACEOF
8470 if ac_fn_c_try_link "$LINENO"; then :
8471 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8472 else
8473 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8475 rm -f core conftest.err conftest.$ac_objext \
8476 conftest$ac_exeext conftest.$ac_ext
8477 CFLAGS=$ac_wine_try_cflags_saved
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8480 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8481 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8482 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8486 echo '{ global: *; };' >conftest.map
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8488 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8489 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8490 $as_echo_n "(cached) " >&6
8491 else
8492 ac_wine_try_cflags_saved=$CFLAGS
8493 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
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___version_script_conftest_map=yes
8500 else
8501 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=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___version_script_conftest_map" >&5
8508 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8509 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8510 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8512 rm -f conftest.map
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8515 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8516 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8517 $as_echo_n "(cached) " >&6
8518 else
8519 ac_wine_try_cflags_saved=$CFLAGS
8520 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8522 /* end confdefs.h. */
8523 int main(int argc, char **argv) { return 0; }
8524 _ACEOF
8525 if ac_fn_c_try_link "$LINENO"; then :
8526 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8527 else
8528 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8530 rm -f core conftest.err conftest.$ac_objext \
8531 conftest$ac_exeext conftest.$ac_ext
8532 CFLAGS=$ac_wine_try_cflags_saved
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8535 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8536 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8537 LDEXECFLAGS="-Wl,--export-dynamic"
8540 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8542 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8543 if eval \${$as_ac_var+:} false; then :
8544 $as_echo_n "(cached) " >&6
8545 else
8546 ac_wine_try_cflags_saved=$CFLAGS
8547 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8549 /* end confdefs.h. */
8550 int main(int argc, char **argv) { return 0; }
8551 _ACEOF
8552 if ac_fn_c_try_link "$LINENO"; then :
8553 eval "$as_ac_var=yes"
8554 else
8555 eval "$as_ac_var=no"
8557 rm -f core conftest.err conftest.$ac_objext \
8558 conftest$ac_exeext conftest.$ac_ext
8559 CFLAGS=$ac_wine_try_cflags_saved
8561 eval ac_res=\$$as_ac_var
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8563 $as_echo "$ac_res" >&6; }
8564 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8565 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8566 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8567 else
8568 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8570 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$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,-R,\$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,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8594 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8599 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8600 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8601 $as_echo_n "(cached) " >&6
8602 else
8603 ac_wine_try_cflags_saved=$CFLAGS
8604 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8606 /* end confdefs.h. */
8607 int main(int argc, char **argv) { return 0; }
8608 _ACEOF
8609 if ac_fn_c_try_link "$LINENO"; then :
8610 ac_cv_cflags__Wl___enable_new_dtags=yes
8611 else
8612 ac_cv_cflags__Wl___enable_new_dtags=no
8614 rm -f core conftest.err conftest.$ac_objext \
8615 conftest$ac_exeext conftest.$ac_ext
8616 CFLAGS=$ac_wine_try_cflags_saved
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8619 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8620 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8621 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8624 case $host_cpu in
8625 *i[3456789]86* | x86_64)
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8627 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8628 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8629 $as_echo_n "(cached) " >&6
8630 else
8631 ac_wine_try_cflags_saved=$CFLAGS
8632 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
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___section_start__interp_0x7bf00400=yes
8639 else
8640 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=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___section_start__interp_0x7bf00400" >&5
8647 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8648 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8649 case $host_os in
8650 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8651 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8652 esac
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8656 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8657 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8658 $as_echo_n "(cached) " >&6
8659 else
8660 ac_wine_try_cflags_saved=$CFLAGS
8661 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8663 /* end confdefs.h. */
8664 int main(int argc, char **argv) { return 0; }
8665 _ACEOF
8666 if ac_fn_c_try_link "$LINENO"; then :
8667 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8668 else
8669 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8671 rm -f core conftest.err conftest.$ac_objext \
8672 conftest$ac_exeext conftest.$ac_ext
8673 CFLAGS=$ac_wine_try_cflags_saved
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8676 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8677 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8679 else
8680 # Extract the first word of "prelink", so it can be a program name with args.
8681 set dummy prelink; ac_word=$2
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8683 $as_echo_n "checking for $ac_word... " >&6; }
8684 if ${ac_cv_path_PRELINK+:} false; then :
8685 $as_echo_n "(cached) " >&6
8686 else
8687 case $PRELINK in
8688 [\\/]* | ?:[\\/]*)
8689 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8693 for as_dir in /sbin /usr/sbin $PATH
8695 IFS=$as_save_IFS
8696 test -z "$as_dir" && as_dir=.
8697 for ac_exec_ext in '' $ac_executable_extensions; do
8698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8699 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8701 break 2
8703 done
8704 done
8705 IFS=$as_save_IFS
8707 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8709 esac
8711 PRELINK=$ac_cv_path_PRELINK
8712 if test -n "$PRELINK"; then
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8714 $as_echo "$PRELINK" >&6; }
8715 else
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8717 $as_echo "no" >&6; }
8721 if test "x$PRELINK" = xfalse
8722 then
8723 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8727 esac
8729 else
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8731 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8732 if ${ac_cv_c_dll_unixware+:} false; then :
8733 $as_echo_n "(cached) " >&6
8734 else
8735 ac_wine_try_cflags_saved=$CFLAGS
8736 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8738 /* end confdefs.h. */
8739 void myfunc() {}
8740 _ACEOF
8741 if ac_fn_c_try_link "$LINENO"; then :
8742 ac_cv_c_dll_unixware="yes"
8743 else
8744 ac_cv_c_dll_unixware="no"
8746 rm -f core conftest.err conftest.$ac_objext \
8747 conftest$ac_exeext conftest.$ac_ext
8748 CFLAGS=$ac_wine_try_cflags_saved
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8751 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8752 if test "$ac_cv_c_dll_unixware" = "yes"
8753 then
8754 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8757 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8759 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8761 LIBWINE_INSTALL_DEV="libwine.so"
8763 LIBWINE_DEPENDS="wine.map"
8766 esac
8768 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8769 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8770 enable_winemac_drv=${enable_winemac_drv:-no}
8771 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8773 CROSSTARGET=""
8775 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8776 then
8777 case "$host_cpu" in
8778 arm*)
8779 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8780 i[3456789]86*)
8781 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
8782 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8783 mingw32-gcc" ;;
8784 x86_64)
8785 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
8786 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8788 ac_prefix_list="" ;;
8789 esac
8790 for ac_prog in $ac_prefix_list
8792 # Extract the first word of "$ac_prog", so it can be a program name with args.
8793 set dummy $ac_prog; ac_word=$2
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8795 $as_echo_n "checking for $ac_word... " >&6; }
8796 if ${ac_cv_prog_CROSSCC+:} false; then :
8797 $as_echo_n "(cached) " >&6
8798 else
8799 if test -n "$CROSSCC"; then
8800 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8801 else
8802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8803 for as_dir in $PATH
8805 IFS=$as_save_IFS
8806 test -z "$as_dir" && as_dir=.
8807 for ac_exec_ext in '' $ac_executable_extensions; do
8808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8809 ac_cv_prog_CROSSCC="$ac_prog"
8810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8811 break 2
8813 done
8814 done
8815 IFS=$as_save_IFS
8819 CROSSCC=$ac_cv_prog_CROSSCC
8820 if test -n "$CROSSCC"; then
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8822 $as_echo "$CROSSCC" >&6; }
8823 else
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8825 $as_echo "no" >&6; }
8829 test -n "$CROSSCC" && break
8830 done
8831 test -n "$CROSSCC" || CROSSCC="false"
8833 if test "$CROSSCC" != "false"
8834 then
8835 ac_save_CC="$CC"
8836 CC="$CROSSCC"
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8838 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8840 /* end confdefs.h. */
8843 main ()
8847 return 0;
8849 _ACEOF
8850 if ac_fn_c_try_compile "$LINENO"; then :
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8852 $as_echo "yes" >&6; }
8853 set x $CROSSCC
8854 shift
8855 while test $# -ge 1
8857 case "$1" in
8858 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8859 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8860 esac
8861 shift
8862 done
8863 else
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8865 $as_echo "no" >&6; }
8867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8868 CC="$ac_save_CC"
8873 if test "$ac_cv_header_pthread_h" = "yes"
8874 then
8875 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8876 if test "x$ac_cv_func_pthread_create" = xyes; then :
8878 else
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8880 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8881 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8882 $as_echo_n "(cached) " >&6
8883 else
8884 ac_check_lib_save_LIBS=$LIBS
8885 LIBS="-lpthread $LIBS"
8886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8887 /* end confdefs.h. */
8889 /* Override any GCC internal prototype to avoid an error.
8890 Use char because int might match the return type of a GCC
8891 builtin and then its argument prototype would still apply. */
8892 #ifdef __cplusplus
8893 extern "C"
8894 #endif
8895 char pthread_create ();
8897 main ()
8899 return pthread_create ();
8901 return 0;
8903 _ACEOF
8904 if ac_fn_c_try_link "$LINENO"; then :
8905 ac_cv_lib_pthread_pthread_create=yes
8906 else
8907 ac_cv_lib_pthread_pthread_create=no
8909 rm -f core conftest.err conftest.$ac_objext \
8910 conftest$ac_exeext conftest.$ac_ext
8911 LIBS=$ac_check_lib_save_LIBS
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8914 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8915 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8916 PTHREAD_LIBS="-lpthread"
8923 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8924 case "x$with_pthread" in
8925 xno) ;;
8926 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8927 Wine cannot support threads without libpthread.
8928 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8929 esac
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8934 $as_echo_n "checking for X... " >&6; }
8937 # Check whether --with-x was given.
8938 if test "${with_x+set}" = set; then :
8939 withval=$with_x;
8942 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8943 if test "x$with_x" = xno; then
8944 # The user explicitly disabled X.
8945 have_x=disabled
8946 else
8947 case $x_includes,$x_libraries in #(
8948 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8949 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8950 $as_echo_n "(cached) " >&6
8951 else
8952 # One or both of the vars are not set, and there is no cached value.
8953 ac_x_includes=no ac_x_libraries=no
8954 rm -f -r conftest.dir
8955 if mkdir conftest.dir; then
8956 cd conftest.dir
8957 cat >Imakefile <<'_ACEOF'
8958 incroot:
8959 @echo incroot='${INCROOT}'
8960 usrlibdir:
8961 @echo usrlibdir='${USRLIBDIR}'
8962 libdir:
8963 @echo libdir='${LIBDIR}'
8964 _ACEOF
8965 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8966 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8967 for ac_var in incroot usrlibdir libdir; do
8968 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8969 done
8970 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8971 for ac_extension in a so sl dylib la dll; do
8972 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8973 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8974 ac_im_usrlibdir=$ac_im_libdir; break
8976 done
8977 # Screen out bogus values from the imake configuration. They are
8978 # bogus both because they are the default anyway, and because
8979 # using them would break gcc on systems where it needs fixed includes.
8980 case $ac_im_incroot in
8981 /usr/include) ac_x_includes= ;;
8982 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8983 esac
8984 case $ac_im_usrlibdir in
8985 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8986 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8987 esac
8989 cd ..
8990 rm -f -r conftest.dir
8993 # Standard set of common directories for X headers.
8994 # Check X11 before X11Rn because it is often a symlink to the current release.
8995 ac_x_header_dirs='
8996 /usr/X11/include
8997 /usr/X11R7/include
8998 /usr/X11R6/include
8999 /usr/X11R5/include
9000 /usr/X11R4/include
9002 /usr/include/X11
9003 /usr/include/X11R7
9004 /usr/include/X11R6
9005 /usr/include/X11R5
9006 /usr/include/X11R4
9008 /usr/local/X11/include
9009 /usr/local/X11R7/include
9010 /usr/local/X11R6/include
9011 /usr/local/X11R5/include
9012 /usr/local/X11R4/include
9014 /usr/local/include/X11
9015 /usr/local/include/X11R7
9016 /usr/local/include/X11R6
9017 /usr/local/include/X11R5
9018 /usr/local/include/X11R4
9020 /usr/X386/include
9021 /usr/x386/include
9022 /usr/XFree86/include/X11
9024 /usr/include
9025 /usr/local/include
9026 /usr/unsupported/include
9027 /usr/athena/include
9028 /usr/local/x11r5/include
9029 /usr/lpp/Xamples/include
9031 /usr/openwin/include
9032 /usr/openwin/share/include'
9034 if test "$ac_x_includes" = no; then
9035 # Guess where to find include files, by looking for Xlib.h.
9036 # First, try using that file with no special directory specified.
9037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9038 /* end confdefs.h. */
9039 #include <X11/Xlib.h>
9040 _ACEOF
9041 if ac_fn_c_try_cpp "$LINENO"; then :
9042 # We can compile using X headers with no special include directory.
9043 ac_x_includes=
9044 else
9045 for ac_dir in $ac_x_header_dirs; do
9046 if test -r "$ac_dir/X11/Xlib.h"; then
9047 ac_x_includes=$ac_dir
9048 break
9050 done
9052 rm -f conftest.err conftest.i conftest.$ac_ext
9053 fi # $ac_x_includes = no
9055 if test "$ac_x_libraries" = no; then
9056 # Check for the libraries.
9057 # See if we find them without any special options.
9058 # Don't add to $LIBS permanently.
9059 ac_save_LIBS=$LIBS
9060 LIBS="-lX11 $LIBS"
9061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9062 /* end confdefs.h. */
9063 #include <X11/Xlib.h>
9065 main ()
9067 XrmInitialize ()
9069 return 0;
9071 _ACEOF
9072 if ac_fn_c_try_link "$LINENO"; then :
9073 LIBS=$ac_save_LIBS
9074 # We can link X programs with no special library path.
9075 ac_x_libraries=
9076 else
9077 LIBS=$ac_save_LIBS
9078 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9080 # Don't even attempt the hair of trying to link an X program!
9081 for ac_extension in a so sl dylib la dll; do
9082 if test -r "$ac_dir/libX11.$ac_extension"; then
9083 ac_x_libraries=$ac_dir
9084 break 2
9086 done
9087 done
9089 rm -f core conftest.err conftest.$ac_objext \
9090 conftest$ac_exeext conftest.$ac_ext
9091 fi # $ac_x_libraries = no
9093 case $ac_x_includes,$ac_x_libraries in #(
9094 no,* | *,no | *\'*)
9095 # Didn't find X, or a directory has "'" in its name.
9096 ac_cv_have_x="have_x=no";; #(
9098 # Record where we found X for the cache.
9099 ac_cv_have_x="have_x=yes\
9100 ac_x_includes='$ac_x_includes'\
9101 ac_x_libraries='$ac_x_libraries'"
9102 esac
9104 ;; #(
9105 *) have_x=yes;;
9106 esac
9107 eval "$ac_cv_have_x"
9108 fi # $with_x != no
9110 if test "$have_x" != yes; then
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9112 $as_echo "$have_x" >&6; }
9113 no_x=yes
9114 else
9115 # If each of the values was on the command line, it overrides each guess.
9116 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9117 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9118 # Update the cache value to reflect the command line values.
9119 ac_cv_have_x="have_x=yes\
9120 ac_x_includes='$x_includes'\
9121 ac_x_libraries='$x_libraries'"
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9123 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9126 if test "$no_x" = yes; then
9127 # Not all programs may use this symbol, but it does not hurt to define it.
9129 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9131 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9132 else
9133 if test -n "$x_includes"; then
9134 X_CFLAGS="$X_CFLAGS -I$x_includes"
9137 # It would also be nice to do this for all -L options, not just this one.
9138 if test -n "$x_libraries"; then
9139 X_LIBS="$X_LIBS -L$x_libraries"
9140 # For Solaris; some versions of Sun CC require a space after -R and
9141 # others require no space. Words are not sufficient . . . .
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9143 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9144 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9145 ac_xsave_c_werror_flag=$ac_c_werror_flag
9146 ac_c_werror_flag=yes
9147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9148 /* end confdefs.h. */
9151 main ()
9155 return 0;
9157 _ACEOF
9158 if ac_fn_c_try_link "$LINENO"; then :
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9160 $as_echo "no" >&6; }
9161 X_LIBS="$X_LIBS -R$x_libraries"
9162 else
9163 LIBS="$ac_xsave_LIBS -R $x_libraries"
9164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9165 /* end confdefs.h. */
9168 main ()
9172 return 0;
9174 _ACEOF
9175 if ac_fn_c_try_link "$LINENO"; then :
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9177 $as_echo "yes" >&6; }
9178 X_LIBS="$X_LIBS -R $x_libraries"
9179 else
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9181 $as_echo "neither works" >&6; }
9183 rm -f core conftest.err conftest.$ac_objext \
9184 conftest$ac_exeext conftest.$ac_ext
9186 rm -f core conftest.err conftest.$ac_objext \
9187 conftest$ac_exeext conftest.$ac_ext
9188 ac_c_werror_flag=$ac_xsave_c_werror_flag
9189 LIBS=$ac_xsave_LIBS
9192 # Check for system-dependent libraries X programs must link with.
9193 # Do this before checking for the system-independent R6 libraries
9194 # (-lICE), since we may need -lsocket or whatever for X linking.
9196 if test "$ISC" = yes; then
9197 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9198 else
9199 # Martyn Johnson says this is needed for Ultrix, if the X
9200 # libraries were built with DECnet support. And Karl Berry says
9201 # the Alpha needs dnet_stub (dnet does not exist).
9202 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9204 /* end confdefs.h. */
9206 /* Override any GCC internal prototype to avoid an error.
9207 Use char because int might match the return type of a GCC
9208 builtin and then its argument prototype would still apply. */
9209 #ifdef __cplusplus
9210 extern "C"
9211 #endif
9212 char XOpenDisplay ();
9214 main ()
9216 return XOpenDisplay ();
9218 return 0;
9220 _ACEOF
9221 if ac_fn_c_try_link "$LINENO"; then :
9223 else
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9225 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9226 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9227 $as_echo_n "(cached) " >&6
9228 else
9229 ac_check_lib_save_LIBS=$LIBS
9230 LIBS="-ldnet $LIBS"
9231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9232 /* end confdefs.h. */
9234 /* Override any GCC internal prototype to avoid an error.
9235 Use char because int might match the return type of a GCC
9236 builtin and then its argument prototype would still apply. */
9237 #ifdef __cplusplus
9238 extern "C"
9239 #endif
9240 char dnet_ntoa ();
9242 main ()
9244 return dnet_ntoa ();
9246 return 0;
9248 _ACEOF
9249 if ac_fn_c_try_link "$LINENO"; then :
9250 ac_cv_lib_dnet_dnet_ntoa=yes
9251 else
9252 ac_cv_lib_dnet_dnet_ntoa=no
9254 rm -f core conftest.err conftest.$ac_objext \
9255 conftest$ac_exeext conftest.$ac_ext
9256 LIBS=$ac_check_lib_save_LIBS
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9259 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9260 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9261 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9264 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9266 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9267 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9268 $as_echo_n "(cached) " >&6
9269 else
9270 ac_check_lib_save_LIBS=$LIBS
9271 LIBS="-ldnet_stub $LIBS"
9272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9275 /* Override any GCC internal prototype to avoid an error.
9276 Use char because int might match the return type of a GCC
9277 builtin and then its argument prototype would still apply. */
9278 #ifdef __cplusplus
9279 extern "C"
9280 #endif
9281 char dnet_ntoa ();
9283 main ()
9285 return dnet_ntoa ();
9287 return 0;
9289 _ACEOF
9290 if ac_fn_c_try_link "$LINENO"; then :
9291 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9292 else
9293 ac_cv_lib_dnet_stub_dnet_ntoa=no
9295 rm -f core conftest.err conftest.$ac_objext \
9296 conftest$ac_exeext conftest.$ac_ext
9297 LIBS=$ac_check_lib_save_LIBS
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9300 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9301 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9302 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9307 rm -f core conftest.err conftest.$ac_objext \
9308 conftest$ac_exeext conftest.$ac_ext
9309 LIBS="$ac_xsave_LIBS"
9311 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9312 # to get the SysV transport functions.
9313 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9314 # needs -lnsl.
9315 # The nsl library prevents programs from opening the X display
9316 # on Irix 5.2, according to T.E. Dickey.
9317 # The functions gethostbyname, getservbyname, and inet_addr are
9318 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9319 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9320 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9324 if test $ac_cv_func_gethostbyname = no; then
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9326 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9327 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9328 $as_echo_n "(cached) " >&6
9329 else
9330 ac_check_lib_save_LIBS=$LIBS
9331 LIBS="-lnsl $LIBS"
9332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9333 /* end confdefs.h. */
9335 /* Override any GCC internal prototype to avoid an error.
9336 Use char because int might match the return type of a GCC
9337 builtin and then its argument prototype would still apply. */
9338 #ifdef __cplusplus
9339 extern "C"
9340 #endif
9341 char gethostbyname ();
9343 main ()
9345 return gethostbyname ();
9347 return 0;
9349 _ACEOF
9350 if ac_fn_c_try_link "$LINENO"; then :
9351 ac_cv_lib_nsl_gethostbyname=yes
9352 else
9353 ac_cv_lib_nsl_gethostbyname=no
9355 rm -f core conftest.err conftest.$ac_objext \
9356 conftest$ac_exeext conftest.$ac_ext
9357 LIBS=$ac_check_lib_save_LIBS
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9360 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9361 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9362 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9365 if test $ac_cv_lib_nsl_gethostbyname = no; then
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9367 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9368 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9369 $as_echo_n "(cached) " >&6
9370 else
9371 ac_check_lib_save_LIBS=$LIBS
9372 LIBS="-lbsd $LIBS"
9373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9374 /* end confdefs.h. */
9376 /* Override any GCC internal prototype to avoid an error.
9377 Use char because int might match the return type of a GCC
9378 builtin and then its argument prototype would still apply. */
9379 #ifdef __cplusplus
9380 extern "C"
9381 #endif
9382 char gethostbyname ();
9384 main ()
9386 return gethostbyname ();
9388 return 0;
9390 _ACEOF
9391 if ac_fn_c_try_link "$LINENO"; then :
9392 ac_cv_lib_bsd_gethostbyname=yes
9393 else
9394 ac_cv_lib_bsd_gethostbyname=no
9396 rm -f core conftest.err conftest.$ac_objext \
9397 conftest$ac_exeext conftest.$ac_ext
9398 LIBS=$ac_check_lib_save_LIBS
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9401 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9402 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9403 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9409 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9410 # socket/setsockopt and other routines are undefined under SCO ODT
9411 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9412 # on later versions), says Simon Leinen: it contains gethostby*
9413 # variants that don't use the name server (or something). -lsocket
9414 # must be given before -lnsl if both are needed. We assume that
9415 # if connect needs -lnsl, so does gethostbyname.
9416 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9417 if test "x$ac_cv_func_connect" = xyes; then :
9421 if test $ac_cv_func_connect = no; then
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9423 $as_echo_n "checking for connect in -lsocket... " >&6; }
9424 if ${ac_cv_lib_socket_connect+:} false; then :
9425 $as_echo_n "(cached) " >&6
9426 else
9427 ac_check_lib_save_LIBS=$LIBS
9428 LIBS="-lsocket $X_EXTRA_LIBS $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 connect ();
9440 main ()
9442 return connect ();
9444 return 0;
9446 _ACEOF
9447 if ac_fn_c_try_link "$LINENO"; then :
9448 ac_cv_lib_socket_connect=yes
9449 else
9450 ac_cv_lib_socket_connect=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_socket_connect" >&5
9457 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9458 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9459 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9464 # Guillermo Gomez says -lposix is necessary on A/UX.
9465 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9466 if test "x$ac_cv_func_remove" = xyes; then :
9470 if test $ac_cv_func_remove = no; then
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9472 $as_echo_n "checking for remove in -lposix... " >&6; }
9473 if ${ac_cv_lib_posix_remove+:} false; then :
9474 $as_echo_n "(cached) " >&6
9475 else
9476 ac_check_lib_save_LIBS=$LIBS
9477 LIBS="-lposix $LIBS"
9478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9479 /* end confdefs.h. */
9481 /* Override any GCC internal prototype to avoid an error.
9482 Use char because int might match the return type of a GCC
9483 builtin and then its argument prototype would still apply. */
9484 #ifdef __cplusplus
9485 extern "C"
9486 #endif
9487 char remove ();
9489 main ()
9491 return remove ();
9493 return 0;
9495 _ACEOF
9496 if ac_fn_c_try_link "$LINENO"; then :
9497 ac_cv_lib_posix_remove=yes
9498 else
9499 ac_cv_lib_posix_remove=no
9501 rm -f core conftest.err conftest.$ac_objext \
9502 conftest$ac_exeext conftest.$ac_ext
9503 LIBS=$ac_check_lib_save_LIBS
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9506 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9507 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9508 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9513 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9514 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9515 if test "x$ac_cv_func_shmat" = xyes; then :
9519 if test $ac_cv_func_shmat = no; then
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9521 $as_echo_n "checking for shmat in -lipc... " >&6; }
9522 if ${ac_cv_lib_ipc_shmat+:} false; then :
9523 $as_echo_n "(cached) " >&6
9524 else
9525 ac_check_lib_save_LIBS=$LIBS
9526 LIBS="-lipc $LIBS"
9527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9530 /* Override any GCC internal prototype to avoid an error.
9531 Use char because int might match the return type of a GCC
9532 builtin and then its argument prototype would still apply. */
9533 #ifdef __cplusplus
9534 extern "C"
9535 #endif
9536 char shmat ();
9538 main ()
9540 return shmat ();
9542 return 0;
9544 _ACEOF
9545 if ac_fn_c_try_link "$LINENO"; then :
9546 ac_cv_lib_ipc_shmat=yes
9547 else
9548 ac_cv_lib_ipc_shmat=no
9550 rm -f core conftest.err conftest.$ac_objext \
9551 conftest$ac_exeext conftest.$ac_ext
9552 LIBS=$ac_check_lib_save_LIBS
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9555 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9556 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9557 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9563 # Check for libraries that X11R6 Xt/Xaw programs need.
9564 ac_save_LDFLAGS=$LDFLAGS
9565 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9566 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9567 # check for ICE first), but we must link in the order -lSM -lICE or
9568 # we get undefined symbols. So assume we have SM if we have ICE.
9569 # These have to be linked with before -lX11, unlike the other
9570 # libraries we check for below, so use a different variable.
9571 # John Interrante, Karl Berry
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9573 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9574 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9575 $as_echo_n "(cached) " >&6
9576 else
9577 ac_check_lib_save_LIBS=$LIBS
9578 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9580 /* end confdefs.h. */
9582 /* Override any GCC internal prototype to avoid an error.
9583 Use char because int might match the return type of a GCC
9584 builtin and then its argument prototype would still apply. */
9585 #ifdef __cplusplus
9586 extern "C"
9587 #endif
9588 char IceConnectionNumber ();
9590 main ()
9592 return IceConnectionNumber ();
9594 return 0;
9596 _ACEOF
9597 if ac_fn_c_try_link "$LINENO"; then :
9598 ac_cv_lib_ICE_IceConnectionNumber=yes
9599 else
9600 ac_cv_lib_ICE_IceConnectionNumber=no
9602 rm -f core conftest.err conftest.$ac_objext \
9603 conftest$ac_exeext conftest.$ac_ext
9604 LIBS=$ac_check_lib_save_LIBS
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9607 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9608 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9609 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9612 LDFLAGS=$ac_save_LDFLAGS
9617 if test "$have_x" = "yes"
9618 then
9619 ac_save_CPPFLAGS="$CPPFLAGS"
9620 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9623 $as_echo_n "checking for -lX11... " >&6; }
9624 if ${ac_cv_lib_soname_X11+:} false; then :
9625 $as_echo_n "(cached) " >&6
9626 else
9627 ac_check_soname_save_LIBS=$LIBS
9628 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9630 /* end confdefs.h. */
9632 /* Override any GCC internal prototype to avoid an error.
9633 Use char because int might match the return type of a GCC
9634 builtin and then its argument prototype would still apply. */
9635 #ifdef __cplusplus
9636 extern "C"
9637 #endif
9638 char XCreateWindow ();
9640 main ()
9642 return XCreateWindow ();
9644 return 0;
9646 _ACEOF
9647 if ac_fn_c_try_link "$LINENO"; then :
9648 case "$LIBEXT" in
9649 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9650 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'` ;;
9651 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9652 if ${ac_cv_lib_soname_X11:+false} :; then :
9653 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9654 fi ;;
9655 esac
9657 rm -f core conftest.err conftest.$ac_objext \
9658 conftest$ac_exeext conftest.$ac_ext
9659 LIBS=$ac_check_soname_save_LIBS
9661 if ${ac_cv_lib_soname_X11:+false} :; then :
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9663 $as_echo "not found" >&6; }
9665 else
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9667 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9669 cat >>confdefs.h <<_ACEOF
9670 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9671 _ACEOF
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9676 $as_echo_n "checking for -lXext... " >&6; }
9677 if ${ac_cv_lib_soname_Xext+:} false; then :
9678 $as_echo_n "(cached) " >&6
9679 else
9680 ac_check_soname_save_LIBS=$LIBS
9681 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9683 /* end confdefs.h. */
9685 /* Override any GCC internal prototype to avoid an error.
9686 Use char because int might match the return type of a GCC
9687 builtin and then its argument prototype would still apply. */
9688 #ifdef __cplusplus
9689 extern "C"
9690 #endif
9691 char XextCreateExtension ();
9693 main ()
9695 return XextCreateExtension ();
9697 return 0;
9699 _ACEOF
9700 if ac_fn_c_try_link "$LINENO"; then :
9701 case "$LIBEXT" in
9702 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9703 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'` ;;
9704 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9705 if ${ac_cv_lib_soname_Xext:+false} :; then :
9706 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9707 fi ;;
9708 esac
9710 rm -f core conftest.err conftest.$ac_objext \
9711 conftest$ac_exeext conftest.$ac_ext
9712 LIBS=$ac_check_soname_save_LIBS
9714 if ${ac_cv_lib_soname_Xext:+false} :; then :
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9716 $as_echo "not found" >&6; }
9718 else
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9720 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9722 cat >>confdefs.h <<_ACEOF
9723 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9724 _ACEOF
9726 X_LIBS="$X_LIBS -lXext"
9728 X_LIBS="$X_LIBS -lX11"
9730 for ac_header in X11/Xlib.h \
9731 X11/XKBlib.h \
9732 X11/Xutil.h \
9733 X11/Xcursor/Xcursor.h \
9734 X11/extensions/shape.h \
9735 X11/extensions/XInput.h \
9736 X11/extensions/XInput2.h \
9737 X11/extensions/XShm.h \
9738 X11/extensions/Xcomposite.h \
9739 X11/extensions/Xinerama.h \
9740 X11/extensions/Xrandr.h \
9741 X11/extensions/Xrender.h \
9742 X11/extensions/xf86vmode.h \
9743 X11/extensions/xf86vmproto.h
9744 do :
9745 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9746 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9747 # include <X11/Xlib.h>
9748 #endif
9749 #ifdef HAVE_X11_XUTIL_H
9750 # include <X11/Xutil.h>
9751 #endif
9753 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9754 cat >>confdefs.h <<_ACEOF
9755 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9756 _ACEOF
9760 done
9763 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9764 then
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9766 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9767 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9768 $as_echo_n "(cached) " >&6
9769 else
9770 ac_check_lib_save_LIBS=$LIBS
9771 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9773 /* end confdefs.h. */
9775 /* Override any GCC internal prototype to avoid an error.
9776 Use char because int might match the return type of a GCC
9777 builtin and then its argument prototype would still apply. */
9778 #ifdef __cplusplus
9779 extern "C"
9780 #endif
9781 char XkbQueryExtension ();
9783 main ()
9785 return XkbQueryExtension ();
9787 return 0;
9789 _ACEOF
9790 if ac_fn_c_try_link "$LINENO"; then :
9791 ac_cv_lib_X11_XkbQueryExtension=yes
9792 else
9793 ac_cv_lib_X11_XkbQueryExtension=no
9795 rm -f core conftest.err conftest.$ac_objext \
9796 conftest$ac_exeext conftest.$ac_ext
9797 LIBS=$ac_check_lib_save_LIBS
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9800 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9801 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9803 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9809 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9810 then
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9812 $as_echo_n "checking for -lXcursor... " >&6; }
9813 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9814 $as_echo_n "(cached) " >&6
9815 else
9816 ac_check_soname_save_LIBS=$LIBS
9817 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9819 /* end confdefs.h. */
9821 /* Override any GCC internal prototype to avoid an error.
9822 Use char because int might match the return type of a GCC
9823 builtin and then its argument prototype would still apply. */
9824 #ifdef __cplusplus
9825 extern "C"
9826 #endif
9827 char XcursorImageLoadCursor ();
9829 main ()
9831 return XcursorImageLoadCursor ();
9833 return 0;
9835 _ACEOF
9836 if ac_fn_c_try_link "$LINENO"; then :
9837 case "$LIBEXT" in
9838 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9839 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'` ;;
9840 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9841 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9842 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9843 fi ;;
9844 esac
9846 rm -f core conftest.err conftest.$ac_objext \
9847 conftest$ac_exeext conftest.$ac_ext
9848 LIBS=$ac_check_soname_save_LIBS
9850 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9852 $as_echo "not found" >&6; }
9854 else
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9856 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9858 cat >>confdefs.h <<_ACEOF
9859 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9860 _ACEOF
9865 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9866 case "x$with_xcursor" in
9867 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9868 xno) ;;
9869 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9870 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9871 esac
9874 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9875 then
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9877 $as_echo_n "checking for -lXi... " >&6; }
9878 if ${ac_cv_lib_soname_Xi+:} false; then :
9879 $as_echo_n "(cached) " >&6
9880 else
9881 ac_check_soname_save_LIBS=$LIBS
9882 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9886 /* Override any GCC internal prototype to avoid an error.
9887 Use char because int might match the return type of a GCC
9888 builtin and then its argument prototype would still apply. */
9889 #ifdef __cplusplus
9890 extern "C"
9891 #endif
9892 char XOpenDevice ();
9894 main ()
9896 return XOpenDevice ();
9898 return 0;
9900 _ACEOF
9901 if ac_fn_c_try_link "$LINENO"; then :
9902 case "$LIBEXT" in
9903 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9904 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'` ;;
9905 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9906 if ${ac_cv_lib_soname_Xi:+false} :; then :
9907 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9908 fi ;;
9909 esac
9911 rm -f core conftest.err conftest.$ac_objext \
9912 conftest$ac_exeext conftest.$ac_ext
9913 LIBS=$ac_check_soname_save_LIBS
9915 if ${ac_cv_lib_soname_Xi:+false} :; then :
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9917 $as_echo "not found" >&6; }
9919 else
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9921 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9923 cat >>confdefs.h <<_ACEOF
9924 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9925 _ACEOF
9930 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9931 case "x$with_xinput" in
9932 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9933 xno) ;;
9934 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9935 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9936 esac
9939 if test "x$ac_cv_lib_soname_Xi" != x
9940 then
9941 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9942 case "x$with_xinput2" in
9943 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9944 xno) ;;
9945 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9946 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9947 esac
9951 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9952 then
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9954 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9955 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9956 $as_echo_n "(cached) " >&6
9957 else
9958 ac_check_lib_save_LIBS=$LIBS
9959 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9961 /* end confdefs.h. */
9963 /* Override any GCC internal prototype to avoid an error.
9964 Use char because int might match the return type of a GCC
9965 builtin and then its argument prototype would still apply. */
9966 #ifdef __cplusplus
9967 extern "C"
9968 #endif
9969 char XShmQueryExtension ();
9971 main ()
9973 return XShmQueryExtension ();
9975 return 0;
9977 _ACEOF
9978 if ac_fn_c_try_link "$LINENO"; then :
9979 ac_cv_lib_Xext_XShmQueryExtension=yes
9980 else
9981 ac_cv_lib_Xext_XShmQueryExtension=no
9983 rm -f core conftest.err conftest.$ac_objext \
9984 conftest$ac_exeext conftest.$ac_ext
9985 LIBS=$ac_check_lib_save_LIBS
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9988 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9989 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9991 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9996 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9997 case "x$with_xshm" in
9998 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9999 xno) ;;
10000 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10001 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10002 esac
10005 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10006 then
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10008 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10009 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10010 $as_echo_n "(cached) " >&6
10011 else
10012 ac_check_lib_save_LIBS=$LIBS
10013 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10015 /* end confdefs.h. */
10017 /* Override any GCC internal prototype to avoid an error.
10018 Use char because int might match the return type of a GCC
10019 builtin and then its argument prototype would still apply. */
10020 #ifdef __cplusplus
10021 extern "C"
10022 #endif
10023 char XShapeQueryExtension ();
10025 main ()
10027 return XShapeQueryExtension ();
10029 return 0;
10031 _ACEOF
10032 if ac_fn_c_try_link "$LINENO"; then :
10033 ac_cv_lib_Xext_XShapeQueryExtension=yes
10034 else
10035 ac_cv_lib_Xext_XShapeQueryExtension=no
10037 rm -f core conftest.err conftest.$ac_objext \
10038 conftest$ac_exeext conftest.$ac_ext
10039 LIBS=$ac_check_lib_save_LIBS
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10042 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10043 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10045 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10050 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10051 case "x$with_xshape" in
10052 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10053 xno) ;;
10054 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10055 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10056 esac
10059 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10060 then
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10062 $as_echo_n "checking for -lXxf86vm... " >&6; }
10063 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10064 $as_echo_n "(cached) " >&6
10065 else
10066 ac_check_soname_save_LIBS=$LIBS
10067 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10069 /* end confdefs.h. */
10071 /* Override any GCC internal prototype to avoid an error.
10072 Use char because int might match the return type of a GCC
10073 builtin and then its argument prototype would still apply. */
10074 #ifdef __cplusplus
10075 extern "C"
10076 #endif
10077 char XF86VidModeQueryExtension ();
10079 main ()
10081 return XF86VidModeQueryExtension ();
10083 return 0;
10085 _ACEOF
10086 if ac_fn_c_try_link "$LINENO"; then :
10087 case "$LIBEXT" in
10088 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10089 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'` ;;
10090 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10091 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10092 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10093 fi ;;
10094 esac
10096 rm -f core conftest.err conftest.$ac_objext \
10097 conftest$ac_exeext conftest.$ac_ext
10098 LIBS=$ac_check_soname_save_LIBS
10100 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10102 $as_echo "not found" >&6; }
10104 else
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10106 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10108 cat >>confdefs.h <<_ACEOF
10109 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10110 _ACEOF
10115 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10116 case "x$with_xxf86vm" in
10117 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10118 xno) ;;
10119 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10120 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10121 esac
10124 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10125 then
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10127 $as_echo_n "checking for -lXrender... " >&6; }
10128 if ${ac_cv_lib_soname_Xrender+:} false; then :
10129 $as_echo_n "(cached) " >&6
10130 else
10131 ac_check_soname_save_LIBS=$LIBS
10132 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10134 /* end confdefs.h. */
10136 /* Override any GCC internal prototype to avoid an error.
10137 Use char because int might match the return type of a GCC
10138 builtin and then its argument prototype would still apply. */
10139 #ifdef __cplusplus
10140 extern "C"
10141 #endif
10142 char XRenderQueryExtension ();
10144 main ()
10146 return XRenderQueryExtension ();
10148 return 0;
10150 _ACEOF
10151 if ac_fn_c_try_link "$LINENO"; then :
10152 case "$LIBEXT" in
10153 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10154 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'` ;;
10155 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10156 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10157 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10158 fi ;;
10159 esac
10161 rm -f core conftest.err conftest.$ac_objext \
10162 conftest$ac_exeext conftest.$ac_ext
10163 LIBS=$ac_check_soname_save_LIBS
10165 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10167 $as_echo "not found" >&6; }
10169 else
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10171 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10173 cat >>confdefs.h <<_ACEOF
10174 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10175 _ACEOF
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10178 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10179 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10180 $as_echo_n "(cached) " >&6
10181 else
10182 ac_check_lib_save_LIBS=$LIBS
10183 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10187 /* Override any GCC internal prototype to avoid an error.
10188 Use char because int might match the return type of a GCC
10189 builtin and then its argument prototype would still apply. */
10190 #ifdef __cplusplus
10191 extern "C"
10192 #endif
10193 char XRenderSetPictureTransform ();
10195 main ()
10197 return XRenderSetPictureTransform ();
10199 return 0;
10201 _ACEOF
10202 if ac_fn_c_try_link "$LINENO"; then :
10203 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10204 else
10205 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10207 rm -f core conftest.err conftest.$ac_objext \
10208 conftest$ac_exeext conftest.$ac_ext
10209 LIBS=$ac_check_lib_save_LIBS
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10212 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10213 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10215 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10220 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10221 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10222 $as_echo_n "(cached) " >&6
10223 else
10224 ac_check_lib_save_LIBS=$LIBS
10225 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10227 /* end confdefs.h. */
10229 /* Override any GCC internal prototype to avoid an error.
10230 Use char because int might match the return type of a GCC
10231 builtin and then its argument prototype would still apply. */
10232 #ifdef __cplusplus
10233 extern "C"
10234 #endif
10235 char XRenderCreateLinearGradient ();
10237 main ()
10239 return XRenderCreateLinearGradient ();
10241 return 0;
10243 _ACEOF
10244 if ac_fn_c_try_link "$LINENO"; then :
10245 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10246 else
10247 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10249 rm -f core conftest.err conftest.$ac_objext \
10250 conftest$ac_exeext conftest.$ac_ext
10251 LIBS=$ac_check_lib_save_LIBS
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10254 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10255 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10257 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10264 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10265 case "x$with_xrender" in
10266 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10267 xno) ;;
10268 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10269 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10270 esac
10273 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10274 then
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10277 #include <X11/Xlib.h>
10278 #include <X11/extensions/Xrandr.h>
10280 main ()
10282 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10284 return 0;
10286 _ACEOF
10287 if ac_fn_c_try_compile "$LINENO"; then :
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10289 $as_echo_n "checking for -lXrandr... " >&6; }
10290 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10291 $as_echo_n "(cached) " >&6
10292 else
10293 ac_check_soname_save_LIBS=$LIBS
10294 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10296 /* end confdefs.h. */
10298 /* Override any GCC internal prototype to avoid an error.
10299 Use char because int might match the return type of a GCC
10300 builtin and then its argument prototype would still apply. */
10301 #ifdef __cplusplus
10302 extern "C"
10303 #endif
10304 char XRRQueryExtension ();
10306 main ()
10308 return XRRQueryExtension ();
10310 return 0;
10312 _ACEOF
10313 if ac_fn_c_try_link "$LINENO"; then :
10314 case "$LIBEXT" in
10315 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10316 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'` ;;
10317 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10318 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10319 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10320 fi ;;
10321 esac
10323 rm -f core conftest.err conftest.$ac_objext \
10324 conftest$ac_exeext conftest.$ac_ext
10325 LIBS=$ac_check_soname_save_LIBS
10327 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10329 $as_echo "not found" >&6; }
10331 else
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10333 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10335 cat >>confdefs.h <<_ACEOF
10336 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10337 _ACEOF
10339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10340 /* end confdefs.h. */
10341 #include <X11/Xlib.h>
10342 #include <X11/extensions/Xrandr.h>
10344 main ()
10346 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10348 return 0;
10350 _ACEOF
10351 if ac_fn_c_try_compile "$LINENO"; then :
10353 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10361 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10362 case "x$with_xrandr" in
10363 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10364 xno) ;;
10365 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10366 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10367 esac
10370 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10371 then
10372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10373 /* end confdefs.h. */
10374 #include <X11/Xlib.h>
10375 #include <X11/extensions/Xinerama.h>
10377 main ()
10379 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10381 return 0;
10383 _ACEOF
10384 if ac_fn_c_try_compile "$LINENO"; then :
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10386 $as_echo_n "checking for -lXinerama... " >&6; }
10387 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10388 $as_echo_n "(cached) " >&6
10389 else
10390 ac_check_soname_save_LIBS=$LIBS
10391 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10393 /* end confdefs.h. */
10395 /* Override any GCC internal prototype to avoid an error.
10396 Use char because int might match the return type of a GCC
10397 builtin and then its argument prototype would still apply. */
10398 #ifdef __cplusplus
10399 extern "C"
10400 #endif
10401 char XineramaQueryScreens ();
10403 main ()
10405 return XineramaQueryScreens ();
10407 return 0;
10409 _ACEOF
10410 if ac_fn_c_try_link "$LINENO"; then :
10411 case "$LIBEXT" in
10412 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10413 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'` ;;
10414 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10415 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10416 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10417 fi ;;
10418 esac
10420 rm -f core conftest.err conftest.$ac_objext \
10421 conftest$ac_exeext conftest.$ac_ext
10422 LIBS=$ac_check_soname_save_LIBS
10424 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10426 $as_echo "not found" >&6; }
10428 else
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10430 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10432 cat >>confdefs.h <<_ACEOF
10433 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10434 _ACEOF
10439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10441 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10442 case "x$with_xinerama" in
10443 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10444 xno) ;;
10445 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10446 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10447 esac
10450 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10451 then
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10453 $as_echo_n "checking for -lXcomposite... " >&6; }
10454 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10455 $as_echo_n "(cached) " >&6
10456 else
10457 ac_check_soname_save_LIBS=$LIBS
10458 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10460 /* end confdefs.h. */
10462 /* Override any GCC internal prototype to avoid an error.
10463 Use char because int might match the return type of a GCC
10464 builtin and then its argument prototype would still apply. */
10465 #ifdef __cplusplus
10466 extern "C"
10467 #endif
10468 char XCompositeRedirectWindow ();
10470 main ()
10472 return XCompositeRedirectWindow ();
10474 return 0;
10476 _ACEOF
10477 if ac_fn_c_try_link "$LINENO"; then :
10478 case "$LIBEXT" in
10479 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10480 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'` ;;
10481 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10482 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10483 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10484 fi ;;
10485 esac
10487 rm -f core conftest.err conftest.$ac_objext \
10488 conftest$ac_exeext conftest.$ac_ext
10489 LIBS=$ac_check_soname_save_LIBS
10491 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10493 $as_echo "not found" >&6; }
10495 else
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10497 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10499 cat >>confdefs.h <<_ACEOF
10500 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10501 _ACEOF
10506 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10507 case "x$with_xcomposite" in
10508 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10509 xno) ;;
10510 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10511 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10512 esac
10515 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10516 #include <X11/Xlib.h>
10517 #endif
10519 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10521 cat >>confdefs.h <<_ACEOF
10522 #define HAVE_XICCALLBACK_CALLBACK 1
10523 _ACEOF
10527 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10528 #include <X11/Xlib.h>
10529 #endif
10531 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10533 cat >>confdefs.h <<_ACEOF
10534 #define HAVE_XEVENT_XCOOKIE 1
10535 _ACEOF
10542 opengl_msg=""
10543 if test "x$with_opengl" != "xno"
10544 then
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10546 $as_echo_n "checking for -lGL... " >&6; }
10547 if ${ac_cv_lib_soname_GL+:} false; then :
10548 $as_echo_n "(cached) " >&6
10549 else
10550 ac_check_soname_save_LIBS=$LIBS
10551 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10553 /* end confdefs.h. */
10555 /* Override any GCC internal prototype to avoid an error.
10556 Use char because int might match the return type of a GCC
10557 builtin and then its argument prototype would still apply. */
10558 #ifdef __cplusplus
10559 extern "C"
10560 #endif
10561 char glXCreateContext ();
10563 main ()
10565 return glXCreateContext ();
10567 return 0;
10569 _ACEOF
10570 if ac_fn_c_try_link "$LINENO"; then :
10571 case "$LIBEXT" in
10572 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10573 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'` ;;
10574 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10575 if ${ac_cv_lib_soname_GL:+false} :; then :
10576 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10577 fi ;;
10578 esac
10580 rm -f core conftest.err conftest.$ac_objext \
10581 conftest$ac_exeext conftest.$ac_ext
10582 LIBS=$ac_check_soname_save_LIBS
10584 if ${ac_cv_lib_soname_GL:+false} :; then :
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10586 $as_echo "not found" >&6; }
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10588 $as_echo_n "checking for -lGL... " >&6; }
10589 if ${ac_cv_lib_soname_GL+:} false; then :
10590 $as_echo_n "(cached) " >&6
10591 else
10592 ac_check_soname_save_LIBS=$LIBS
10593 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"
10594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10595 /* end confdefs.h. */
10597 /* Override any GCC internal prototype to avoid an error.
10598 Use char because int might match the return type of a GCC
10599 builtin and then its argument prototype would still apply. */
10600 #ifdef __cplusplus
10601 extern "C"
10602 #endif
10603 char glXCreateContext ();
10605 main ()
10607 return glXCreateContext ();
10609 return 0;
10611 _ACEOF
10612 if ac_fn_c_try_link "$LINENO"; then :
10613 case "$LIBEXT" in
10614 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10615 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'` ;;
10616 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10617 if ${ac_cv_lib_soname_GL:+false} :; then :
10618 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10619 fi ;;
10620 esac
10622 rm -f core conftest.err conftest.$ac_objext \
10623 conftest$ac_exeext conftest.$ac_ext
10624 LIBS=$ac_check_soname_save_LIBS
10626 if ${ac_cv_lib_soname_GL:+false} :; then :
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10628 $as_echo "not found" >&6; }
10629 if test -f /usr/X11R6/lib/libGL.a
10630 then
10631 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10632 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10633 else
10634 opengl_msg="No OpenGL library found on this system."
10636 else
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10638 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10640 cat >>confdefs.h <<_ACEOF
10641 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10642 _ACEOF
10644 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"
10646 else
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10648 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10650 cat >>confdefs.h <<_ACEOF
10651 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10652 _ACEOF
10654 OPENGL_LIBS="-lGL"
10656 if test "x$with_glu" != "xno"
10657 then
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10659 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10660 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10661 $as_echo_n "(cached) " >&6
10662 else
10663 ac_check_lib_save_LIBS=$LIBS
10664 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10666 /* end confdefs.h. */
10668 /* Override any GCC internal prototype to avoid an error.
10669 Use char because int might match the return type of a GCC
10670 builtin and then its argument prototype would still apply. */
10671 #ifdef __cplusplus
10672 extern "C"
10673 #endif
10674 char gluLookAt ();
10676 main ()
10678 return gluLookAt ();
10680 return 0;
10682 _ACEOF
10683 if ac_fn_c_try_link "$LINENO"; then :
10684 ac_cv_lib_GLU_gluLookAt=yes
10685 else
10686 ac_cv_lib_GLU_gluLookAt=no
10688 rm -f core conftest.err conftest.$ac_objext \
10689 conftest$ac_exeext conftest.$ac_ext
10690 LIBS=$ac_check_lib_save_LIBS
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10693 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10694 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10698 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10699 case "x$with_glu" in
10700 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10701 xno) ;;
10702 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10703 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10704 esac
10708 if test "x$with_osmesa" != "xno"
10709 then
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10711 $as_echo_n "checking for -lOSMesa... " >&6; }
10712 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10713 $as_echo_n "(cached) " >&6
10714 else
10715 ac_check_soname_save_LIBS=$LIBS
10716 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10720 /* Override any GCC internal prototype to avoid an error.
10721 Use char because int might match the return type of a GCC
10722 builtin and then its argument prototype would still apply. */
10723 #ifdef __cplusplus
10724 extern "C"
10725 #endif
10726 char glAccum ();
10728 main ()
10730 return glAccum ();
10732 return 0;
10734 _ACEOF
10735 if ac_fn_c_try_link "$LINENO"; then :
10736 case "$LIBEXT" in
10737 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10738 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'` ;;
10739 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10740 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10741 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10742 fi ;;
10743 esac
10745 rm -f core conftest.err conftest.$ac_objext \
10746 conftest$ac_exeext conftest.$ac_ext
10747 LIBS=$ac_check_soname_save_LIBS
10749 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10751 $as_echo "not found" >&6; }
10753 else
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10755 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10757 cat >>confdefs.h <<_ACEOF
10758 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10759 _ACEOF
10763 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10764 case "x$with_osmesa" in
10765 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10766 xno) ;;
10767 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10768 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10769 esac
10773 if test -n "$opengl_msg"; then :
10774 case "x$with_opengl" in
10775 x) as_fn_append wine_warnings "|$opengl_msg
10776 OpenGL and Direct3D won't be supported." ;;
10777 xno) ;;
10778 *) as_fn_error $? "$opengl_msg
10779 OpenGL and Direct3D won't be supported.
10780 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10781 esac
10784 CPPFLAGS="$ac_save_CPPFLAGS"
10785 else
10786 X_CFLAGS=""
10787 X_LIBS=""
10788 enable_winex11_drv=${enable_winex11_drv:-no}
10790 if test "x$X_LIBS" = "x"; then :
10791 case "x$with_x" in
10792 xno) ;;
10793 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10794 without X support, which probably isn't what you want. You will need
10795 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10796 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10797 esac
10800 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10802 if test "$ac_cv_header_CL_cl_h" = "yes"
10803 then
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10805 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10806 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10807 $as_echo_n "(cached) " >&6
10808 else
10809 ac_check_lib_save_LIBS=$LIBS
10810 LIBS="-lOpenCL $LIBS"
10811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10812 /* end confdefs.h. */
10814 /* Override any GCC internal prototype to avoid an error.
10815 Use char because int might match the return type of a GCC
10816 builtin and then its argument prototype would still apply. */
10817 #ifdef __cplusplus
10818 extern "C"
10819 #endif
10820 char clGetPlatformInfo ();
10822 main ()
10824 return clGetPlatformInfo ();
10826 return 0;
10828 _ACEOF
10829 if ac_fn_c_try_link "$LINENO"; then :
10830 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10831 else
10832 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10834 rm -f core conftest.err conftest.$ac_objext \
10835 conftest$ac_exeext conftest.$ac_ext
10836 LIBS=$ac_check_lib_save_LIBS
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10839 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10840 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10841 OPENCL_LIBS="-lOpenCL"
10846 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10847 case "x$with_opencl" in
10848 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10849 xno) ;;
10850 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10851 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10852 esac
10854 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10856 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10857 then
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10859 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10860 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10861 $as_echo_n "(cached) " >&6
10862 else
10863 ac_check_lib_save_LIBS=$LIBS
10864 LIBS="-lpcap $LIBS"
10865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h. */
10868 /* Override any GCC internal prototype to avoid an error.
10869 Use char because int might match the return type of a GCC
10870 builtin and then its argument prototype would still apply. */
10871 #ifdef __cplusplus
10872 extern "C"
10873 #endif
10874 char pcap_create ();
10876 main ()
10878 return pcap_create ();
10880 return 0;
10882 _ACEOF
10883 if ac_fn_c_try_link "$LINENO"; then :
10884 ac_cv_lib_pcap_pcap_create=yes
10885 else
10886 ac_cv_lib_pcap_pcap_create=no
10888 rm -f core conftest.err conftest.$ac_objext \
10889 conftest$ac_exeext conftest.$ac_ext
10890 LIBS=$ac_check_lib_save_LIBS
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10893 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10894 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10895 PCAP_LIBS="-lpcap"
10900 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10901 case "x$with_pcap" in
10902 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10903 xno) ;;
10904 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10905 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10906 esac
10908 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10911 if test "x$with_xml" != "xno"
10912 then
10913 if ${XML2_CFLAGS:+false} :; then :
10914 if ${PKG_CONFIG+:} false; then :
10915 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10918 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10919 if ${XML2_LIBS:+false} :; then :
10920 if ${PKG_CONFIG+:} false; then :
10921 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10924 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10925 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10926 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10927 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10928 ac_save_CPPFLAGS=$CPPFLAGS
10929 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10930 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10931 do :
10932 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10933 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10934 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10935 cat >>confdefs.h <<_ACEOF
10936 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10937 _ACEOF
10941 done
10943 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"
10944 then
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10946 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10947 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10948 $as_echo_n "(cached) " >&6
10949 else
10950 ac_check_lib_save_LIBS=$LIBS
10951 LIBS="-lxml2 $XML2_LIBS $LIBS"
10952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10953 /* end confdefs.h. */
10955 /* Override any GCC internal prototype to avoid an error.
10956 Use char because int might match the return type of a GCC
10957 builtin and then its argument prototype would still apply. */
10958 #ifdef __cplusplus
10959 extern "C"
10960 #endif
10961 char xmlParseMemory ();
10963 main ()
10965 return xmlParseMemory ();
10967 return 0;
10969 _ACEOF
10970 if ac_fn_c_try_link "$LINENO"; then :
10971 ac_cv_lib_xml2_xmlParseMemory=yes
10972 else
10973 ac_cv_lib_xml2_xmlParseMemory=no
10975 rm -f core conftest.err conftest.$ac_objext \
10976 conftest$ac_exeext conftest.$ac_ext
10977 LIBS=$ac_check_lib_save_LIBS
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10980 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10981 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10983 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10985 else
10986 XML2_LIBS=""
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10990 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10991 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10992 $as_echo_n "(cached) " >&6
10993 else
10994 ac_check_lib_save_LIBS=$LIBS
10995 LIBS="-lxml2 $XML2_LIBS $LIBS"
10996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10997 /* end confdefs.h. */
10999 /* Override any GCC internal prototype to avoid an error.
11000 Use char because int might match the return type of a GCC
11001 builtin and then its argument prototype would still apply. */
11002 #ifdef __cplusplus
11003 extern "C"
11004 #endif
11005 char xmlReadMemory ();
11007 main ()
11009 return xmlReadMemory ();
11011 return 0;
11013 _ACEOF
11014 if ac_fn_c_try_link "$LINENO"; then :
11015 ac_cv_lib_xml2_xmlReadMemory=yes
11016 else
11017 ac_cv_lib_xml2_xmlReadMemory=no
11019 rm -f core conftest.err conftest.$ac_objext \
11020 conftest$ac_exeext conftest.$ac_ext
11021 LIBS=$ac_check_lib_save_LIBS
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11024 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11025 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11027 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11032 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11033 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11034 $as_echo_n "(cached) " >&6
11035 else
11036 ac_check_lib_save_LIBS=$LIBS
11037 LIBS="-lxml2 $XML2_LIBS $LIBS"
11038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11039 /* end confdefs.h. */
11041 /* Override any GCC internal prototype to avoid an error.
11042 Use char because int might match the return type of a GCC
11043 builtin and then its argument prototype would still apply. */
11044 #ifdef __cplusplus
11045 extern "C"
11046 #endif
11047 char xmlNewDocPI ();
11049 main ()
11051 return xmlNewDocPI ();
11053 return 0;
11055 _ACEOF
11056 if ac_fn_c_try_link "$LINENO"; then :
11057 ac_cv_lib_xml2_xmlNewDocPI=yes
11058 else
11059 ac_cv_lib_xml2_xmlNewDocPI=no
11061 rm -f core conftest.err conftest.$ac_objext \
11062 conftest$ac_exeext conftest.$ac_ext
11063 LIBS=$ac_check_lib_save_LIBS
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11066 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11067 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11069 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11074 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11075 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11076 $as_echo_n "(cached) " >&6
11077 else
11078 ac_check_lib_save_LIBS=$LIBS
11079 LIBS="-lxml2 $XML2_LIBS $LIBS"
11080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11081 /* end confdefs.h. */
11083 /* Override any GCC internal prototype to avoid an error.
11084 Use char because int might match the return type of a GCC
11085 builtin and then its argument prototype would still apply. */
11086 #ifdef __cplusplus
11087 extern "C"
11088 #endif
11089 char xmlSchemaSetParserStructuredErrors ();
11091 main ()
11093 return xmlSchemaSetParserStructuredErrors ();
11095 return 0;
11097 _ACEOF
11098 if ac_fn_c_try_link "$LINENO"; then :
11099 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11100 else
11101 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11103 rm -f core conftest.err conftest.$ac_objext \
11104 conftest$ac_exeext conftest.$ac_ext
11105 LIBS=$ac_check_lib_save_LIBS
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11108 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11109 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11111 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11116 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11117 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11118 $as_echo_n "(cached) " >&6
11119 else
11120 ac_check_lib_save_LIBS=$LIBS
11121 LIBS="-lxml2 $XML2_LIBS $LIBS"
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11128 #ifdef __cplusplus
11129 extern "C"
11130 #endif
11131 char xmlSchemaSetValidStructuredErrors ();
11133 main ()
11135 return xmlSchemaSetValidStructuredErrors ();
11137 return 0;
11139 _ACEOF
11140 if ac_fn_c_try_link "$LINENO"; then :
11141 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11142 else
11143 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11145 rm -f core conftest.err conftest.$ac_objext \
11146 conftest$ac_exeext conftest.$ac_ext
11147 LIBS=$ac_check_lib_save_LIBS
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11150 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11151 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11153 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11158 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11159 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11160 $as_echo_n "(cached) " >&6
11161 else
11162 ac_check_lib_save_LIBS=$LIBS
11163 LIBS="-lxml2 $XML2_LIBS $LIBS"
11164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11165 /* end confdefs.h. */
11167 /* Override any GCC internal prototype to avoid an error.
11168 Use char because int might match the return type of a GCC
11169 builtin and then its argument prototype would still apply. */
11170 #ifdef __cplusplus
11171 extern "C"
11172 #endif
11173 char xmlFirstElementChild ();
11175 main ()
11177 return xmlFirstElementChild ();
11179 return 0;
11181 _ACEOF
11182 if ac_fn_c_try_link "$LINENO"; then :
11183 ac_cv_lib_xml2_xmlFirstElementChild=yes
11184 else
11185 ac_cv_lib_xml2_xmlFirstElementChild=no
11187 rm -f core conftest.err conftest.$ac_objext \
11188 conftest$ac_exeext conftest.$ac_ext
11189 LIBS=$ac_check_lib_save_LIBS
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11192 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11193 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11195 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11199 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11201 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11203 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11207 else
11208 XML2_CFLAGS=""
11209 XML2_LIBS=""
11211 CPPFLAGS=$ac_save_CPPFLAGS
11212 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11213 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11216 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11217 case "x$with_xml" in
11218 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11219 xno) ;;
11220 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11221 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11222 esac
11225 if test "x$with_xslt" != "xno"
11226 then
11227 if ${XSLT_CFLAGS:+false} :; then :
11228 if ${PKG_CONFIG+:} false; then :
11229 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11232 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11233 if ${XSLT_LIBS:+false} :; then :
11234 if ${PKG_CONFIG+:} false; then :
11235 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11238 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11239 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11240 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11241 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11242 ac_save_CPPFLAGS=$CPPFLAGS
11243 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11244 for ac_header in libxslt/pattern.h libxslt/transform.h
11245 do :
11246 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11247 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11248 # include <libxslt/pattern.h>
11249 #endif
11251 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11252 cat >>confdefs.h <<_ACEOF
11253 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11254 _ACEOF
11258 done
11260 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11261 then
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11263 $as_echo_n "checking for -lxslt... " >&6; }
11264 if ${ac_cv_lib_soname_xslt+:} false; then :
11265 $as_echo_n "(cached) " >&6
11266 else
11267 ac_check_soname_save_LIBS=$LIBS
11268 LIBS="-lxslt $XSLT_LIBS $LIBS"
11269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11270 /* end confdefs.h. */
11272 /* Override any GCC internal prototype to avoid an error.
11273 Use char because int might match the return type of a GCC
11274 builtin and then its argument prototype would still apply. */
11275 #ifdef __cplusplus
11276 extern "C"
11277 #endif
11278 char xsltCompilePattern ();
11280 main ()
11282 return xsltCompilePattern ();
11284 return 0;
11286 _ACEOF
11287 if ac_fn_c_try_link "$LINENO"; then :
11288 case "$LIBEXT" in
11289 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11290 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'` ;;
11291 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11292 if ${ac_cv_lib_soname_xslt:+false} :; then :
11293 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11294 fi ;;
11295 esac
11297 rm -f core conftest.err conftest.$ac_objext \
11298 conftest$ac_exeext conftest.$ac_ext
11299 LIBS=$ac_check_soname_save_LIBS
11301 if ${ac_cv_lib_soname_xslt:+false} :; then :
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11303 $as_echo "not found" >&6; }
11305 else
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11307 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11309 cat >>confdefs.h <<_ACEOF
11310 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11311 _ACEOF
11315 else
11316 XSLT_CFLAGS=""
11318 CPPFLAGS=$ac_save_CPPFLAGS
11319 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11320 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11323 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11324 case "x$with_xslt" in
11325 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11326 xno) ;;
11327 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11328 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11329 esac
11332 if test "x$with_dbus" != "xno"
11333 then
11334 if ${DBUS_CFLAGS:+false} :; then :
11335 if ${PKG_CONFIG+:} false; then :
11336 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11340 if ${DBUS_LIBS:+false} :; then :
11341 if ${PKG_CONFIG+:} false; then :
11342 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11347 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11348 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11349 ac_save_CPPFLAGS=$CPPFLAGS
11350 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11351 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11352 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11354 $as_echo_n "checking for -ldbus-1... " >&6; }
11355 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11356 $as_echo_n "(cached) " >&6
11357 else
11358 ac_check_soname_save_LIBS=$LIBS
11359 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11361 /* end confdefs.h. */
11363 /* Override any GCC internal prototype to avoid an error.
11364 Use char because int might match the return type of a GCC
11365 builtin and then its argument prototype would still apply. */
11366 #ifdef __cplusplus
11367 extern "C"
11368 #endif
11369 char dbus_connection_close ();
11371 main ()
11373 return dbus_connection_close ();
11375 return 0;
11377 _ACEOF
11378 if ac_fn_c_try_link "$LINENO"; then :
11379 case "$LIBEXT" in
11380 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11381 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'` ;;
11382 *) 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'`
11383 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11384 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11385 fi ;;
11386 esac
11388 rm -f core conftest.err conftest.$ac_objext \
11389 conftest$ac_exeext conftest.$ac_ext
11390 LIBS=$ac_check_soname_save_LIBS
11392 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11394 $as_echo "not found" >&6; }
11395 DBUS_CFLAGS=""
11396 else
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11398 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11400 cat >>confdefs.h <<_ACEOF
11401 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11402 _ACEOF
11406 else
11407 DBUS_CFLAGS=""
11411 CPPFLAGS=$ac_save_CPPFLAGS
11412 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11413 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11416 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11417 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11418 case "x$with_dbus" in
11419 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11420 xno) ;;
11421 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11422 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11423 esac
11426 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11427 then
11428 if ${HAL_CFLAGS:+false} :; then :
11429 if ${PKG_CONFIG+:} false; then :
11430 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11434 if ${HAL_LIBS:+false} :; then :
11435 if ${PKG_CONFIG+:} false; then :
11436 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11440 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11441 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11442 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11443 ac_save_CPPFLAGS=$CPPFLAGS
11444 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11445 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11446 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11448 $as_echo_n "checking for -lhal... " >&6; }
11449 if ${ac_cv_lib_soname_hal+:} false; then :
11450 $as_echo_n "(cached) " >&6
11451 else
11452 ac_check_soname_save_LIBS=$LIBS
11453 LIBS="-lhal $HAL_LIBS $LIBS"
11454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11455 /* end confdefs.h. */
11457 /* Override any GCC internal prototype to avoid an error.
11458 Use char because int might match the return type of a GCC
11459 builtin and then its argument prototype would still apply. */
11460 #ifdef __cplusplus
11461 extern "C"
11462 #endif
11463 char libhal_ctx_new ();
11465 main ()
11467 return libhal_ctx_new ();
11469 return 0;
11471 _ACEOF
11472 if ac_fn_c_try_link "$LINENO"; then :
11473 case "$LIBEXT" in
11474 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11475 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'` ;;
11476 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11477 if ${ac_cv_lib_soname_hal:+false} :; then :
11478 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11479 fi ;;
11480 esac
11482 rm -f core conftest.err conftest.$ac_objext \
11483 conftest$ac_exeext conftest.$ac_ext
11484 LIBS=$ac_check_soname_save_LIBS
11486 if ${ac_cv_lib_soname_hal:+false} :; then :
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11488 $as_echo "not found" >&6; }
11489 HAL_CFLAGS=""
11490 else
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11492 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11494 cat >>confdefs.h <<_ACEOF
11495 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11496 _ACEOF
11500 else
11501 HAL_CFLAGS=""
11505 CPPFLAGS=$ac_save_CPPFLAGS
11506 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11507 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11509 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11510 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11511 case "x$with_hal" in
11512 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11513 xno) ;;
11514 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11515 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11516 esac
11520 if test "x$with_gnutls" != "xno"
11521 then
11522 if ${GNUTLS_CFLAGS:+false} :; then :
11523 if ${PKG_CONFIG+:} false; then :
11524 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11528 if ${GNUTLS_LIBS:+false} :; then :
11529 if ${PKG_CONFIG+:} false; then :
11530 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11535 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11536 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11537 ac_save_CPPFLAGS=$CPPFLAGS
11538 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11539 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11540 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11542 /* end confdefs.h. */
11543 #include <gnutls/gnutls.h>
11544 #include <gnutls/crypto.h>
11546 main ()
11548 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11550 return 0;
11552 _ACEOF
11553 if ac_fn_c_try_compile "$LINENO"; then :
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11555 $as_echo_n "checking for -lgnutls... " >&6; }
11556 if ${ac_cv_lib_soname_gnutls+:} false; then :
11557 $as_echo_n "(cached) " >&6
11558 else
11559 ac_check_soname_save_LIBS=$LIBS
11560 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11562 /* end confdefs.h. */
11564 /* Override any GCC internal prototype to avoid an error.
11565 Use char because int might match the return type of a GCC
11566 builtin and then its argument prototype would still apply. */
11567 #ifdef __cplusplus
11568 extern "C"
11569 #endif
11570 char gnutls_global_init ();
11572 main ()
11574 return gnutls_global_init ();
11576 return 0;
11578 _ACEOF
11579 if ac_fn_c_try_link "$LINENO"; then :
11580 case "$LIBEXT" in
11581 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11582 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'` ;;
11583 *) 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'`
11584 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11585 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'`
11586 fi ;;
11587 esac
11589 rm -f core conftest.err conftest.$ac_objext \
11590 conftest$ac_exeext conftest.$ac_ext
11591 LIBS=$ac_check_soname_save_LIBS
11593 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11595 $as_echo "not found" >&6; }
11596 GNUTLS_CFLAGS=""
11597 else
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11599 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11601 cat >>confdefs.h <<_ACEOF
11602 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11603 _ACEOF
11607 ac_wine_check_funcs_save_LIBS="$LIBS"
11608 LIBS="$LIBS $GNUTLS_LIBS"
11609 for ac_func in gnutls_hash
11610 do :
11611 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11612 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11613 cat >>confdefs.h <<_ACEOF
11614 #define HAVE_GNUTLS_HASH 1
11615 _ACEOF
11617 else
11618 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11620 done
11622 LIBS="$ac_wine_check_funcs_save_LIBS"
11624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11625 else
11626 GNUTLS_CFLAGS=""
11630 CPPFLAGS=$ac_save_CPPFLAGS
11631 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11632 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11635 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11636 case "x$with_gnutls" in
11637 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11638 xno) ;;
11639 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11640 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11641 esac
11644 CURSES_LIBS=""
11645 if test "$ac_cv_header_ncurses_h" = "yes"
11646 then
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11648 $as_echo_n "checking for -lncurses... " >&6; }
11649 if ${ac_cv_lib_soname_ncurses+:} false; then :
11650 $as_echo_n "(cached) " >&6
11651 else
11652 ac_check_soname_save_LIBS=$LIBS
11653 LIBS="-lncurses $LIBS"
11654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11655 /* end confdefs.h. */
11657 /* Override any GCC internal prototype to avoid an error.
11658 Use char because int might match the return type of a GCC
11659 builtin and then its argument prototype would still apply. */
11660 #ifdef __cplusplus
11661 extern "C"
11662 #endif
11663 char waddch ();
11665 main ()
11667 return waddch ();
11669 return 0;
11671 _ACEOF
11672 if ac_fn_c_try_link "$LINENO"; then :
11673 case "$LIBEXT" in
11674 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11675 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'` ;;
11676 *) 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'`
11677 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11678 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11679 fi ;;
11680 esac
11682 rm -f core conftest.err conftest.$ac_objext \
11683 conftest$ac_exeext conftest.$ac_ext
11684 LIBS=$ac_check_soname_save_LIBS
11686 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11688 $as_echo "not found" >&6; }
11690 else
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11692 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11694 cat >>confdefs.h <<_ACEOF
11695 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11696 _ACEOF
11698 CURSES_LIBS="-lncurses"
11700 elif test "$ac_cv_header_curses_h" = "yes"
11701 then
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11703 $as_echo_n "checking for -lcurses... " >&6; }
11704 if ${ac_cv_lib_soname_curses+:} false; then :
11705 $as_echo_n "(cached) " >&6
11706 else
11707 ac_check_soname_save_LIBS=$LIBS
11708 LIBS="-lcurses $LIBS"
11709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11710 /* end confdefs.h. */
11712 /* Override any GCC internal prototype to avoid an error.
11713 Use char because int might match the return type of a GCC
11714 builtin and then its argument prototype would still apply. */
11715 #ifdef __cplusplus
11716 extern "C"
11717 #endif
11718 char waddch ();
11720 main ()
11722 return waddch ();
11724 return 0;
11726 _ACEOF
11727 if ac_fn_c_try_link "$LINENO"; then :
11728 case "$LIBEXT" in
11729 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11730 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'` ;;
11731 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11732 if ${ac_cv_lib_soname_curses:+false} :; then :
11733 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11734 fi ;;
11735 esac
11737 rm -f core conftest.err conftest.$ac_objext \
11738 conftest$ac_exeext conftest.$ac_ext
11739 LIBS=$ac_check_soname_save_LIBS
11741 if ${ac_cv_lib_soname_curses:+false} :; then :
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11743 $as_echo "not found" >&6; }
11745 else
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11747 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11749 cat >>confdefs.h <<_ACEOF
11750 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11751 _ACEOF
11753 CURSES_LIBS="-lcurses"
11756 ac_save_LIBS="$LIBS"
11757 LIBS="$LIBS $CURSES_LIBS"
11758 for ac_func in mousemask
11759 do :
11760 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11761 if test "x$ac_cv_func_mousemask" = xyes; then :
11762 cat >>confdefs.h <<_ACEOF
11763 #define HAVE_MOUSEMASK 1
11764 _ACEOF
11767 done
11769 LIBS="$ac_save_LIBS"
11770 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11771 case "x$with_curses" in
11772 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11773 xno) ;;
11774 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11775 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11776 esac
11779 if test "x$with_sane" != "xno"
11780 then
11781 if ${SANE_CFLAGS:+false} :; then :
11782 if ${PKG_CONFIG+:} false; then :
11783 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11786 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11787 if ${SANE_LIBS:+false} :; then :
11788 if ${PKG_CONFIG+:} false; then :
11789 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11792 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11794 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11795 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11796 ac_save_CPPFLAGS=$CPPFLAGS
11797 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11798 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11799 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11801 $as_echo_n "checking for -lsane... " >&6; }
11802 if ${ac_cv_lib_soname_sane+:} false; then :
11803 $as_echo_n "(cached) " >&6
11804 else
11805 ac_check_soname_save_LIBS=$LIBS
11806 LIBS="-lsane $SANE_LIBS $LIBS"
11807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11808 /* end confdefs.h. */
11810 /* Override any GCC internal prototype to avoid an error.
11811 Use char because int might match the return type of a GCC
11812 builtin and then its argument prototype would still apply. */
11813 #ifdef __cplusplus
11814 extern "C"
11815 #endif
11816 char sane_init ();
11818 main ()
11820 return sane_init ();
11822 return 0;
11824 _ACEOF
11825 if ac_fn_c_try_link "$LINENO"; then :
11826 case "$LIBEXT" in
11827 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11828 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'` ;;
11829 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11830 if ${ac_cv_lib_soname_sane:+false} :; then :
11831 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11832 fi ;;
11833 esac
11835 rm -f core conftest.err conftest.$ac_objext \
11836 conftest$ac_exeext conftest.$ac_ext
11837 LIBS=$ac_check_soname_save_LIBS
11839 if ${ac_cv_lib_soname_sane:+false} :; then :
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11841 $as_echo "not found" >&6; }
11842 SANE_CFLAGS=""
11843 else
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11845 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11847 cat >>confdefs.h <<_ACEOF
11848 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11849 _ACEOF
11853 else
11854 SANE_CFLAGS=""
11858 CPPFLAGS=$ac_save_CPPFLAGS
11859 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11860 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11863 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11864 case "x$with_sane" in
11865 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11866 xno) ;;
11867 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11868 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11869 esac
11872 if test "x$with_v4l" != "xno"
11873 then
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11875 $as_echo_n "checking for -lv4l1... " >&6; }
11876 if ${ac_cv_lib_soname_v4l1+:} false; then :
11877 $as_echo_n "(cached) " >&6
11878 else
11879 ac_check_soname_save_LIBS=$LIBS
11880 LIBS="-lv4l1 $LIBS"
11881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11882 /* end confdefs.h. */
11884 /* Override any GCC internal prototype to avoid an error.
11885 Use char because int might match the return type of a GCC
11886 builtin and then its argument prototype would still apply. */
11887 #ifdef __cplusplus
11888 extern "C"
11889 #endif
11890 char v4l1_open ();
11892 main ()
11894 return v4l1_open ();
11896 return 0;
11898 _ACEOF
11899 if ac_fn_c_try_link "$LINENO"; then :
11900 case "$LIBEXT" in
11901 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11902 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'` ;;
11903 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11904 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11905 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11906 fi ;;
11907 esac
11909 rm -f core conftest.err conftest.$ac_objext \
11910 conftest$ac_exeext conftest.$ac_ext
11911 LIBS=$ac_check_soname_save_LIBS
11913 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11915 $as_echo "not found" >&6; }
11917 else
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11919 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11921 cat >>confdefs.h <<_ACEOF
11922 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11923 _ACEOF
11928 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11929 case "x$with_v4l" in
11930 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11931 xno) ;;
11932 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11933 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11934 esac
11937 if test "x$with_gphoto" != "xno"
11938 then
11939 if ${GPHOTO2_CFLAGS:+false} :; then :
11940 if ${PKG_CONFIG+:} false; then :
11941 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11944 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11945 if ${GPHOTO2_LIBS:+false} :; then :
11946 if ${PKG_CONFIG+:} false; then :
11947 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11950 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11951 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11952 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11953 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11954 ac_save_CPPFLAGS=$CPPFLAGS
11955 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11956 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11957 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11959 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11960 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11961 $as_echo_n "(cached) " >&6
11962 else
11963 ac_check_lib_save_LIBS=$LIBS
11964 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11968 /* Override any GCC internal prototype to avoid an error.
11969 Use char because int might match the return type of a GCC
11970 builtin and then its argument prototype would still apply. */
11971 #ifdef __cplusplus
11972 extern "C"
11973 #endif
11974 char gp_camera_new ();
11976 main ()
11978 return gp_camera_new ();
11980 return 0;
11982 _ACEOF
11983 if ac_fn_c_try_link "$LINENO"; then :
11984 ac_cv_lib_gphoto2_gp_camera_new=yes
11985 else
11986 ac_cv_lib_gphoto2_gp_camera_new=no
11988 rm -f core conftest.err conftest.$ac_objext \
11989 conftest$ac_exeext conftest.$ac_ext
11990 LIBS=$ac_check_lib_save_LIBS
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11993 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11994 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11996 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11998 else
11999 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12002 else
12003 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12007 CPPFLAGS=$ac_save_CPPFLAGS
12008 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12009 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12011 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12012 if ${PKG_CONFIG+:} false; then :
12013 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12016 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12017 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12018 if ${PKG_CONFIG+:} false; then :
12019 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12022 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12023 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12024 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12025 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12026 ac_save_CPPFLAGS=$CPPFLAGS
12027 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12028 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12029 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12031 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12032 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12033 $as_echo_n "(cached) " >&6
12034 else
12035 ac_check_lib_save_LIBS=$LIBS
12036 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12038 /* end confdefs.h. */
12040 /* Override any GCC internal prototype to avoid an error.
12041 Use char because int might match the return type of a GCC
12042 builtin and then its argument prototype would still apply. */
12043 #ifdef __cplusplus
12044 extern "C"
12045 #endif
12046 char gp_port_info_list_new ();
12048 main ()
12050 return gp_port_info_list_new ();
12052 return 0;
12054 _ACEOF
12055 if ac_fn_c_try_link "$LINENO"; then :
12056 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12057 else
12058 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12060 rm -f core conftest.err conftest.$ac_objext \
12061 conftest$ac_exeext conftest.$ac_ext
12062 LIBS=$ac_check_lib_save_LIBS
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12065 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12066 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12068 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12070 else
12071 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12074 else
12075 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12079 CPPFLAGS=$ac_save_CPPFLAGS
12080 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12081 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12084 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12085 case "x$with_gphoto" in
12086 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12087 xno) ;;
12088 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12089 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12090 esac
12092 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12093 case "x$with_gphoto" in
12094 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12095 xno) ;;
12096 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12097 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12098 esac
12102 if test "$ac_cv_header_resolv_h" = "yes"
12103 then
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12105 $as_echo_n "checking for resolver library... " >&6; }
12106 if ${ac_cv_have_resolv+:} false; then :
12107 $as_echo_n "(cached) " >&6
12108 else
12109 ac_save_LIBS="$LIBS"
12110 for lib in '' -lresolv
12112 LIBS="$lib $ac_save_LIBS"
12113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12114 /* end confdefs.h. */
12115 #ifdef HAVE_NETINET_IN_H
12116 #include <netinet/in.h>
12117 #endif
12118 #include <resolv.h>
12120 main ()
12122 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12124 return 0;
12126 _ACEOF
12127 if ac_fn_c_try_link "$LINENO"; then :
12128 ac_cv_have_resolv=${lib:-"none required"}
12129 else
12130 ac_cv_have_resolv="not found"
12132 rm -f core conftest.err conftest.$ac_objext \
12133 conftest$ac_exeext conftest.$ac_ext
12134 test "x$ac_cv_have_resolv" = "xnot found" || break
12135 done
12136 LIBS="$ac_save_LIBS"
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12139 $as_echo "$ac_cv_have_resolv" >&6; }
12141 case "$ac_cv_have_resolv" in
12142 "not found") ;;
12143 "none required")
12145 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12148 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12150 RESOLV_LIBS=$ac_cv_have_resolv
12152 esac
12155 if test "x$with_cms" != "xno"
12156 then
12157 if ${LCMS2_CFLAGS:+false} :; then :
12158 if ${PKG_CONFIG+:} false; then :
12159 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12163 if ${LCMS2_LIBS:+false} :; then :
12164 if ${PKG_CONFIG+:} false; then :
12165 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12169 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12170 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12171 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12172 ac_save_CPPFLAGS=$CPPFLAGS
12173 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12174 for ac_header in lcms2.h
12175 do :
12176 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12177 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12178 cat >>confdefs.h <<_ACEOF
12179 #define HAVE_LCMS2_H 1
12180 _ACEOF
12184 done
12186 if test "$ac_cv_header_lcms2_h" = "yes"
12187 then
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12189 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12190 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12191 $as_echo_n "(cached) " >&6
12192 else
12193 ac_check_lib_save_LIBS=$LIBS
12194 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12196 /* end confdefs.h. */
12198 /* Override any GCC internal prototype to avoid an error.
12199 Use char because int might match the return type of a GCC
12200 builtin and then its argument prototype would still apply. */
12201 #ifdef __cplusplus
12202 extern "C"
12203 #endif
12204 char cmsOpenProfileFromFile ();
12206 main ()
12208 return cmsOpenProfileFromFile ();
12210 return 0;
12212 _ACEOF
12213 if ac_fn_c_try_link "$LINENO"; then :
12214 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12215 else
12216 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12218 rm -f core conftest.err conftest.$ac_objext \
12219 conftest$ac_exeext conftest.$ac_ext
12220 LIBS=$ac_check_lib_save_LIBS
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12223 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12224 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12226 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12228 else
12229 LCMS2_LIBS=""
12232 else
12233 LCMS2_CFLAGS=""
12234 LCMS2_LIBS=""
12236 CPPFLAGS=$ac_save_CPPFLAGS
12237 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12238 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12241 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12242 case "x$with_cms" in
12243 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12244 xno) ;;
12245 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12246 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12247 esac
12250 if test "x$with_freetype" != "xno"
12251 then
12252 if ${FREETYPE_CFLAGS:+false} :; then :
12253 if ${PKG_CONFIG+:} false; then :
12254 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12257 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12258 if ${FREETYPE_LIBS:+false} :; then :
12259 if ${PKG_CONFIG+:} false; then :
12260 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12263 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12264 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12265 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12266 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12267 ac_save_CPPFLAGS=$CPPFLAGS
12268 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12269 for ac_header in ft2build.h
12270 do :
12271 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12272 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12273 cat >>confdefs.h <<_ACEOF
12274 #define HAVE_FT2BUILD_H 1
12275 _ACEOF
12279 done
12281 if test "$ac_cv_header_ft2build_h" = "yes"
12282 then
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12284 $as_echo_n "checking for -lfreetype... " >&6; }
12285 if ${ac_cv_lib_soname_freetype+:} false; then :
12286 $as_echo_n "(cached) " >&6
12287 else
12288 ac_check_soname_save_LIBS=$LIBS
12289 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12291 /* end confdefs.h. */
12293 /* Override any GCC internal prototype to avoid an error.
12294 Use char because int might match the return type of a GCC
12295 builtin and then its argument prototype would still apply. */
12296 #ifdef __cplusplus
12297 extern "C"
12298 #endif
12299 char FT_Init_FreeType ();
12301 main ()
12303 return FT_Init_FreeType ();
12305 return 0;
12307 _ACEOF
12308 if ac_fn_c_try_link "$LINENO"; then :
12309 case "$LIBEXT" in
12310 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12311 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'` ;;
12312 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12313 if ${ac_cv_lib_soname_freetype:+false} :; then :
12314 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12315 fi ;;
12316 esac
12318 rm -f core conftest.err conftest.$ac_objext \
12319 conftest$ac_exeext conftest.$ac_ext
12320 LIBS=$ac_check_soname_save_LIBS
12322 if ${ac_cv_lib_soname_freetype:+false} :; then :
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12324 $as_echo "not found" >&6; }
12325 FREETYPE_LIBS=""
12326 else
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12328 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12330 cat >>confdefs.h <<_ACEOF
12331 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12332 _ACEOF
12335 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12337 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12338 #include FT_MODULE_H
12340 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12342 cat >>confdefs.h <<_ACEOF
12343 #define HAVE_FT_TRUETYPEENGINETYPE 1
12344 _ACEOF
12350 else
12351 FREETYPE_CFLAGS=""
12352 FREETYPE_LIBS=""
12354 CPPFLAGS=$ac_save_CPPFLAGS
12355 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12356 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12359 if test "x$ac_cv_lib_soname_freetype" = x; then :
12360 case "x$with_freetype" in
12361 xno) ;;
12362 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12363 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12364 esac
12366 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12369 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12370 if ${ac_cv_c_ppdev+:} false; then :
12371 $as_echo_n "(cached) " >&6
12372 else
12373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12374 /* end confdefs.h. */
12375 #ifdef HAVE_SYS_IOCTL_H
12376 # include <sys/ioctl.h>
12377 #endif
12378 #include <linux/ppdev.h>
12380 main ()
12382 ioctl (1,PPCLAIM,0)
12384 return 0;
12386 _ACEOF
12387 if ac_fn_c_try_compile "$LINENO"; then :
12388 ac_cv_c_ppdev="yes"
12389 else
12390 ac_cv_c_ppdev="no"
12392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12395 $as_echo "$ac_cv_c_ppdev" >&6; }
12396 if test "$ac_cv_c_ppdev" = "yes"
12397 then
12399 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12403 ac_wine_check_funcs_save_LIBS="$LIBS"
12404 LIBS="$LIBS $PTHREAD_LIBS"
12405 for ac_func in \
12406 pthread_attr_get_np \
12407 pthread_getattr_np \
12408 pthread_getthreadid_np \
12409 pthread_get_stackaddr_np \
12410 pthread_get_stacksize_np
12411 do :
12412 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12413 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12414 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12415 cat >>confdefs.h <<_ACEOF
12416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12417 _ACEOF
12420 done
12422 LIBS="$ac_wine_check_funcs_save_LIBS"
12424 if test "$ac_cv_header_zlib_h" = "yes"
12425 then
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12427 $as_echo_n "checking for inflate in -lz... " >&6; }
12428 if ${ac_cv_lib_z_inflate+:} false; then :
12429 $as_echo_n "(cached) " >&6
12430 else
12431 ac_check_lib_save_LIBS=$LIBS
12432 LIBS="-lz $LIBS"
12433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12434 /* end confdefs.h. */
12436 /* Override any GCC internal prototype to avoid an error.
12437 Use char because int might match the return type of a GCC
12438 builtin and then its argument prototype would still apply. */
12439 #ifdef __cplusplus
12440 extern "C"
12441 #endif
12442 char inflate ();
12444 main ()
12446 return inflate ();
12448 return 0;
12450 _ACEOF
12451 if ac_fn_c_try_link "$LINENO"; then :
12452 ac_cv_lib_z_inflate=yes
12453 else
12454 ac_cv_lib_z_inflate=no
12456 rm -f core conftest.err conftest.$ac_objext \
12457 conftest$ac_exeext conftest.$ac_ext
12458 LIBS=$ac_check_lib_save_LIBS
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12461 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12462 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12464 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12466 Z_LIBS="-lz"
12471 if test "x$Z_LIBS" = "x"; then :
12472 case "x$with_zlib" in
12473 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12474 xno) ;;
12475 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12476 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12477 esac
12480 if test "x$enable_tools" != xno
12481 then
12482 if test "$ac_cv_header_gettext_po_h" = "yes"
12483 then
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12485 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12486 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12487 $as_echo_n "(cached) " >&6
12488 else
12489 ac_check_lib_save_LIBS=$LIBS
12490 LIBS="-lgettextpo $LIBS"
12491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12494 /* Override any GCC internal prototype to avoid an error.
12495 Use char because int might match the return type of a GCC
12496 builtin and then its argument prototype would still apply. */
12497 #ifdef __cplusplus
12498 extern "C"
12499 #endif
12500 char po_message_msgctxt ();
12502 main ()
12504 return po_message_msgctxt ();
12506 return 0;
12508 _ACEOF
12509 if ac_fn_c_try_link "$LINENO"; then :
12510 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12511 else
12512 ac_cv_lib_gettextpo_po_message_msgctxt=no
12514 rm -f core conftest.err conftest.$ac_objext \
12515 conftest$ac_exeext conftest.$ac_ext
12516 LIBS=$ac_check_lib_save_LIBS
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12519 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12520 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12522 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12524 GETTEXTPO_LIBS="-lgettextpo"
12529 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12530 case "x$with_gettextpo" in
12531 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12532 xno) ;;
12533 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12534 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12535 esac
12539 if test "x$with_pulse" != "xno";
12540 then
12541 if ${PULSE_CFLAGS:+false} :; then :
12542 if ${PKG_CONFIG+:} false; then :
12543 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12547 if ${PULSE_LIBS:+false} :; then :
12548 if ${PKG_CONFIG+:} false; then :
12549 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12554 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12555 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12556 ac_save_CPPFLAGS=$CPPFLAGS
12557 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12558 for ac_header in pulse/pulseaudio.h
12559 do :
12560 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12561 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12562 cat >>confdefs.h <<_ACEOF
12563 #define HAVE_PULSE_PULSEAUDIO_H 1
12564 _ACEOF
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12566 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12567 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12568 $as_echo_n "(cached) " >&6
12569 else
12570 ac_check_lib_save_LIBS=$LIBS
12571 LIBS="-lpulse $PULSE_LIBS $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 pa_stream_is_corked ();
12583 main ()
12585 return pa_stream_is_corked ();
12587 return 0;
12589 _ACEOF
12590 if ac_fn_c_try_link "$LINENO"; then :
12591 ac_cv_lib_pulse_pa_stream_is_corked=yes
12592 else
12593 ac_cv_lib_pulse_pa_stream_is_corked=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_pulse_pa_stream_is_corked" >&5
12600 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12601 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12603 else
12604 PULSE_LIBS=""
12607 else
12608 PULSE_LIBS=""
12611 done
12613 CPPFLAGS=$ac_save_CPPFLAGS
12614 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12615 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12618 if test -z "$PULSE_LIBS"; then :
12619 case "x$with_pulse" in
12620 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12621 xno) ;;
12622 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12623 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12624 esac
12626 test -n "$PULSE_LIBS" || enable_winepulse_drv=${enable_winepulse_drv:-no}
12628 if test "x$with_gstreamer" != "xno"
12629 then
12630 if ${GSTREAMER_CFLAGS:+false} :; then :
12631 if ${PKG_CONFIG+:} false; then :
12632 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12636 if ${GSTREAMER_LIBS:+false} :; then :
12637 if ${PKG_CONFIG+:} false; then :
12638 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12643 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12644 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12645 ac_save_CPPFLAGS=$CPPFLAGS
12646 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12647 ac_gst_incl=""
12648 for i in $GSTREAMER_CFLAGS
12650 case "$i" in
12651 -I*) ac_gst_incl="$ac_gst_incl $i";;
12652 esac
12653 done
12654 GSTREAMER_CFLAGS=$ac_gst_incl
12655 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12656 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12657 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12659 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12661 /* end confdefs.h. */
12662 #include <gst/gst.h>
12664 main ()
12666 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12668 return 0;
12670 _ACEOF
12671 if ac_fn_c_try_compile "$LINENO"; then :
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12673 $as_echo "yes" >&6; }
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12675 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12676 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12677 $as_echo_n "(cached) " >&6
12678 else
12679 ac_check_lib_save_LIBS=$LIBS
12680 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12682 /* end confdefs.h. */
12684 /* Override any GCC internal prototype to avoid an error.
12685 Use char because int might match the return type of a GCC
12686 builtin and then its argument prototype would still apply. */
12687 #ifdef __cplusplus
12688 extern "C"
12689 #endif
12690 char gst_pad_new ();
12692 main ()
12694 return gst_pad_new ();
12696 return 0;
12698 _ACEOF
12699 if ac_fn_c_try_link "$LINENO"; then :
12700 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12701 else
12702 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12704 rm -f core conftest.err conftest.$ac_objext \
12705 conftest$ac_exeext conftest.$ac_ext
12706 LIBS=$ac_check_lib_save_LIBS
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12709 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12710 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12714 else
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12716 $as_echo "no" >&6; }
12717 ac_glib2_broken=yes
12718 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12724 CPPFLAGS=$ac_save_CPPFLAGS
12725 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12726 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12729 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 :
12730 case "x$with_gstreamer" in
12731 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12732 xno) ;;
12733 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12734 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12735 esac
12737 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12739 ALSA_LIBS=""
12741 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12742 then
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12744 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12745 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12746 $as_echo_n "(cached) " >&6
12747 else
12748 ac_check_lib_save_LIBS=$LIBS
12749 LIBS="-lasound $LIBS"
12750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12751 /* end confdefs.h. */
12753 /* Override any GCC internal prototype to avoid an error.
12754 Use char because int might match the return type of a GCC
12755 builtin and then its argument prototype would still apply. */
12756 #ifdef __cplusplus
12757 extern "C"
12758 #endif
12759 char snd_pcm_hw_params_get_access_mask ();
12761 main ()
12763 return snd_pcm_hw_params_get_access_mask ();
12765 return 0;
12767 _ACEOF
12768 if ac_fn_c_try_link "$LINENO"; then :
12769 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12770 else
12771 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12773 rm -f core conftest.err conftest.$ac_objext \
12774 conftest$ac_exeext conftest.$ac_ext
12775 LIBS=$ac_check_lib_save_LIBS
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12778 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12779 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12781 /* end confdefs.h. */
12782 #ifdef HAVE_ALSA_ASOUNDLIB_H
12783 #include <alsa/asoundlib.h>
12784 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12785 #include <sys/asoundlib.h>
12786 #endif
12788 main ()
12790 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12792 return 0;
12794 _ACEOF
12795 if ac_fn_c_try_compile "$LINENO"; then :
12796 ALSA_LIBS="-lasound"
12798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12802 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12804 if test "x$with_oss" != xno
12805 then
12806 ac_save_CPPFLAGS="$CPPFLAGS"
12807 if test -f /etc/oss.conf
12808 then
12809 . /etc/oss.conf
12811 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12812 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12813 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12814 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12815 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12817 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12819 cat >>confdefs.h <<_ACEOF
12820 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12821 _ACEOF
12823 OSS4_CFLAGS="$ac_oss_incl"
12830 CPPFLAGS="$ac_save_CPPFLAGS"
12831 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12832 then
12833 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12836 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12838 if test "x$with_capi" != "xno"
12839 then
12840 if ${CAPI20_CFLAGS:+false} :; then :
12841 if ${PKG_CONFIG+:} false; then :
12842 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12846 if ${CAPI20_LIBS:+false} :; then :
12847 if ${PKG_CONFIG+:} false; then :
12848 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12853 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12854 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12855 ac_save_CPPFLAGS=$CPPFLAGS
12856 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12857 for ac_header in capi20.h linux/capi.h
12858 do :
12859 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12860 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12862 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12863 cat >>confdefs.h <<_ACEOF
12864 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12865 _ACEOF
12869 done
12871 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12872 then
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12874 $as_echo_n "checking for -lcapi20... " >&6; }
12875 if ${ac_cv_lib_soname_capi20+:} false; then :
12876 $as_echo_n "(cached) " >&6
12877 else
12878 ac_check_soname_save_LIBS=$LIBS
12879 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12881 /* end confdefs.h. */
12883 /* Override any GCC internal prototype to avoid an error.
12884 Use char because int might match the return type of a GCC
12885 builtin and then its argument prototype would still apply. */
12886 #ifdef __cplusplus
12887 extern "C"
12888 #endif
12889 char capi20_register ();
12891 main ()
12893 return capi20_register ();
12895 return 0;
12897 _ACEOF
12898 if ac_fn_c_try_link "$LINENO"; then :
12899 case "$LIBEXT" in
12900 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12901 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'` ;;
12902 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12903 if ${ac_cv_lib_soname_capi20:+false} :; then :
12904 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12905 fi ;;
12906 esac
12908 rm -f core conftest.err conftest.$ac_objext \
12909 conftest$ac_exeext conftest.$ac_ext
12910 LIBS=$ac_check_soname_save_LIBS
12912 if ${ac_cv_lib_soname_capi20:+false} :; then :
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12914 $as_echo "not found" >&6; }
12916 else
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12918 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12920 cat >>confdefs.h <<_ACEOF
12921 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12922 _ACEOF
12927 CPPFLAGS=$ac_save_CPPFLAGS
12928 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12929 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12932 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12933 case "x$with_capi" in
12934 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12935 xno) ;;
12936 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12937 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12938 esac
12941 CUPS_CFLAGS=""
12943 if test "x$with_cups" != "xno"
12944 then
12945 ac_save_CPPFLAGS="$CPPFLAGS"
12946 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12947 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12948 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12949 for ac_header in cups/cups.h
12950 do :
12951 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12952 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12953 cat >>confdefs.h <<_ACEOF
12954 #define HAVE_CUPS_CUPS_H 1
12955 _ACEOF
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12957 $as_echo_n "checking for -lcups... " >&6; }
12958 if ${ac_cv_lib_soname_cups+:} false; then :
12959 $as_echo_n "(cached) " >&6
12960 else
12961 ac_check_soname_save_LIBS=$LIBS
12962 LIBS="-lcups $ac_cups_libs $LIBS"
12963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12964 /* end confdefs.h. */
12966 /* Override any GCC internal prototype to avoid an error.
12967 Use char because int might match the return type of a GCC
12968 builtin and then its argument prototype would still apply. */
12969 #ifdef __cplusplus
12970 extern "C"
12971 #endif
12972 char cupsGetDefault ();
12974 main ()
12976 return cupsGetDefault ();
12978 return 0;
12980 _ACEOF
12981 if ac_fn_c_try_link "$LINENO"; then :
12982 case "$LIBEXT" in
12983 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12984 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'` ;;
12985 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12986 if ${ac_cv_lib_soname_cups:+false} :; then :
12987 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12988 fi ;;
12989 esac
12991 rm -f core conftest.err conftest.$ac_objext \
12992 conftest$ac_exeext conftest.$ac_ext
12993 LIBS=$ac_check_soname_save_LIBS
12995 if ${ac_cv_lib_soname_cups:+false} :; then :
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12997 $as_echo "not found" >&6; }
12999 else
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13001 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13003 cat >>confdefs.h <<_ACEOF
13004 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13005 _ACEOF
13007 CUPS_CFLAGS="$ac_cups_cflags"
13011 done
13013 CPPFLAGS="$ac_save_CPPFLAGS"
13015 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13016 case "x$with_cups" in
13017 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13018 xno) ;;
13019 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13020 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13021 esac
13024 if test "x$with_fontconfig" != "xno"
13025 then
13026 if ${FONTCONFIG_CFLAGS:+false} :; then :
13027 if ${PKG_CONFIG+:} false; then :
13028 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13031 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13032 if ${FONTCONFIG_LIBS:+false} :; then :
13033 if ${PKG_CONFIG+:} false; then :
13034 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13037 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13039 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13040 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13041 ac_save_CPPFLAGS=$CPPFLAGS
13042 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13043 for ac_header in fontconfig/fontconfig.h
13044 do :
13045 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13046 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13047 cat >>confdefs.h <<_ACEOF
13048 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13049 _ACEOF
13053 done
13055 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13056 then
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13058 $as_echo_n "checking for -lfontconfig... " >&6; }
13059 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13060 $as_echo_n "(cached) " >&6
13061 else
13062 ac_check_soname_save_LIBS=$LIBS
13063 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13065 /* end confdefs.h. */
13067 /* Override any GCC internal prototype to avoid an error.
13068 Use char because int might match the return type of a GCC
13069 builtin and then its argument prototype would still apply. */
13070 #ifdef __cplusplus
13071 extern "C"
13072 #endif
13073 char FcInit ();
13075 main ()
13077 return FcInit ();
13079 return 0;
13081 _ACEOF
13082 if ac_fn_c_try_link "$LINENO"; then :
13083 case "$LIBEXT" in
13084 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13085 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'` ;;
13086 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13087 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13088 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13089 fi ;;
13090 esac
13092 rm -f core conftest.err conftest.$ac_objext \
13093 conftest$ac_exeext conftest.$ac_ext
13094 LIBS=$ac_check_soname_save_LIBS
13096 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13098 $as_echo "not found" >&6; }
13099 FONTCONFIG_CFLAGS=""
13100 else
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13102 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13104 cat >>confdefs.h <<_ACEOF
13105 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13106 _ACEOF
13110 else
13111 FONTCONFIG_CFLAGS=""
13113 CPPFLAGS=$ac_save_CPPFLAGS
13114 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13115 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13118 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13119 case "x$with_fontconfig" in
13120 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13121 xno) ;;
13122 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13123 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13124 esac
13127 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13128 then
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13130 $as_echo_n "checking for -lgsm... " >&6; }
13131 if ${ac_cv_lib_soname_gsm+:} false; then :
13132 $as_echo_n "(cached) " >&6
13133 else
13134 ac_check_soname_save_LIBS=$LIBS
13135 LIBS="-lgsm $LIBS"
13136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13137 /* end confdefs.h. */
13139 /* Override any GCC internal prototype to avoid an error.
13140 Use char because int might match the return type of a GCC
13141 builtin and then its argument prototype would still apply. */
13142 #ifdef __cplusplus
13143 extern "C"
13144 #endif
13145 char gsm_create ();
13147 main ()
13149 return gsm_create ();
13151 return 0;
13153 _ACEOF
13154 if ac_fn_c_try_link "$LINENO"; then :
13155 case "$LIBEXT" in
13156 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13157 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'` ;;
13158 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13159 if ${ac_cv_lib_soname_gsm:+false} :; then :
13160 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13161 fi ;;
13162 esac
13164 rm -f core conftest.err conftest.$ac_objext \
13165 conftest$ac_exeext conftest.$ac_ext
13166 LIBS=$ac_check_soname_save_LIBS
13168 if ${ac_cv_lib_soname_gsm:+false} :; then :
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13170 $as_echo "not found" >&6; }
13172 else
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13174 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13176 cat >>confdefs.h <<_ACEOF
13177 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13178 _ACEOF
13183 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13184 case "x$with_gsm" in
13185 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13186 xno) ;;
13187 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13188 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13189 esac
13192 if test "x$with_jpeg" != "xno"
13193 then
13194 if ${JPEG_CFLAGS:+false} :; then :
13195 if ${PKG_CONFIG+:} false; then :
13196 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13200 if ${JPEG_LIBS:+false} :; then :
13201 if ${PKG_CONFIG+:} false; then :
13202 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13207 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13208 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13209 ac_save_CPPFLAGS=$CPPFLAGS
13210 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13211 for ac_header in jpeglib.h
13212 do :
13213 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13214 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13215 cat >>confdefs.h <<_ACEOF
13216 #define HAVE_JPEGLIB_H 1
13217 _ACEOF
13221 done
13223 if test "$ac_cv_header_jpeglib_h" = "yes"
13224 then
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13226 $as_echo_n "checking for -ljpeg... " >&6; }
13227 if ${ac_cv_lib_soname_jpeg+:} false; then :
13228 $as_echo_n "(cached) " >&6
13229 else
13230 ac_check_soname_save_LIBS=$LIBS
13231 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13233 /* end confdefs.h. */
13235 /* Override any GCC internal prototype to avoid an error.
13236 Use char because int might match the return type of a GCC
13237 builtin and then its argument prototype would still apply. */
13238 #ifdef __cplusplus
13239 extern "C"
13240 #endif
13241 char jpeg_start_decompress ();
13243 main ()
13245 return jpeg_start_decompress ();
13247 return 0;
13249 _ACEOF
13250 if ac_fn_c_try_link "$LINENO"; then :
13251 case "$LIBEXT" in
13252 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13253 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'` ;;
13254 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13255 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13256 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13257 fi ;;
13258 esac
13260 rm -f core conftest.err conftest.$ac_objext \
13261 conftest$ac_exeext conftest.$ac_ext
13262 LIBS=$ac_check_soname_save_LIBS
13264 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13266 $as_echo "not found" >&6; }
13267 JPEG_CFLAGS=""
13268 else
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13270 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13272 cat >>confdefs.h <<_ACEOF
13273 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13274 _ACEOF
13278 else
13279 JPEG_CFLAGS=""
13281 CPPFLAGS=$ac_save_CPPFLAGS
13282 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13283 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13286 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13287 case "x$with_jpeg" in
13288 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13289 xno) ;;
13290 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13291 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13292 esac
13295 if test "x$with_png" != "xno"
13296 then
13297 if ${PNG_CFLAGS:+false} :; then :
13298 if ${PKG_CONFIG+:} false; then :
13299 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13302 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13303 if ${PNG_LIBS:+false} :; then :
13304 if ${PKG_CONFIG+:} false; then :
13305 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13308 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13310 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13311 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13312 ac_save_CPPFLAGS=$CPPFLAGS
13313 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13314 for ac_header in png.h
13315 do :
13316 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13317 if test "x$ac_cv_header_png_h" = xyes; then :
13318 cat >>confdefs.h <<_ACEOF
13319 #define HAVE_PNG_H 1
13320 _ACEOF
13324 done
13326 if test "$ac_cv_header_png_h" = "yes"
13327 then
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13329 $as_echo_n "checking for -lpng... " >&6; }
13330 if ${ac_cv_lib_soname_png+:} false; then :
13331 $as_echo_n "(cached) " >&6
13332 else
13333 ac_check_soname_save_LIBS=$LIBS
13334 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13336 /* end confdefs.h. */
13338 /* Override any GCC internal prototype to avoid an error.
13339 Use char because int might match the return type of a GCC
13340 builtin and then its argument prototype would still apply. */
13341 #ifdef __cplusplus
13342 extern "C"
13343 #endif
13344 char png_create_read_struct ();
13346 main ()
13348 return png_create_read_struct ();
13350 return 0;
13352 _ACEOF
13353 if ac_fn_c_try_link "$LINENO"; then :
13354 case "$LIBEXT" in
13355 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13356 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'` ;;
13357 *) 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'`
13358 if ${ac_cv_lib_soname_png:+false} :; then :
13359 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13360 fi ;;
13361 esac
13363 rm -f core conftest.err conftest.$ac_objext \
13364 conftest$ac_exeext conftest.$ac_ext
13365 LIBS=$ac_check_soname_save_LIBS
13367 if ${ac_cv_lib_soname_png:+false} :; then :
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13369 $as_echo "not found" >&6; }
13370 PNG_CFLAGS=""
13371 else
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13373 $as_echo "$ac_cv_lib_soname_png" >&6; }
13375 cat >>confdefs.h <<_ACEOF
13376 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13377 _ACEOF
13379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13380 /* end confdefs.h. */
13381 #include <png.h>
13383 main ()
13385 typeof(png_set_expand_gray_1_2_4_to_8) *p
13387 return 0;
13389 _ACEOF
13390 if ac_fn_c_try_compile "$LINENO"; then :
13392 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13397 else
13398 PNG_CFLAGS=""
13400 CPPFLAGS=$ac_save_CPPFLAGS
13401 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13402 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13405 if test "x$ac_cv_lib_soname_png" = "x"; then :
13406 case "x$with_png" in
13407 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13408 xno) ;;
13409 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13410 This is an error since --with-png was requested." "$LINENO" 5 ;;
13411 esac
13414 if test "x$with_tiff" != "xno"
13415 then
13416 if ${TIFF_CFLAGS:+false} :; then :
13417 if ${PKG_CONFIG+:} false; then :
13418 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13422 if ${TIFF_LIBS:+false} :; then :
13423 if ${PKG_CONFIG+:} false; then :
13424 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13429 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13430 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13431 ac_save_CPPFLAGS=$CPPFLAGS
13432 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13433 for ac_header in tiffio.h
13434 do :
13435 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13436 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13437 cat >>confdefs.h <<_ACEOF
13438 #define HAVE_TIFFIO_H 1
13439 _ACEOF
13443 done
13445 if test "$ac_cv_header_tiffio_h" = "yes"
13446 then
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13448 $as_echo_n "checking for -ltiff... " >&6; }
13449 if ${ac_cv_lib_soname_tiff+:} false; then :
13450 $as_echo_n "(cached) " >&6
13451 else
13452 ac_check_soname_save_LIBS=$LIBS
13453 LIBS="-ltiff $TIFF_LIBS $LIBS"
13454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13455 /* end confdefs.h. */
13457 /* Override any GCC internal prototype to avoid an error.
13458 Use char because int might match the return type of a GCC
13459 builtin and then its argument prototype would still apply. */
13460 #ifdef __cplusplus
13461 extern "C"
13462 #endif
13463 char TIFFClientOpen ();
13465 main ()
13467 return TIFFClientOpen ();
13469 return 0;
13471 _ACEOF
13472 if ac_fn_c_try_link "$LINENO"; then :
13473 case "$LIBEXT" in
13474 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13475 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'` ;;
13476 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13477 if ${ac_cv_lib_soname_tiff:+false} :; then :
13478 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13479 fi ;;
13480 esac
13482 rm -f core conftest.err conftest.$ac_objext \
13483 conftest$ac_exeext conftest.$ac_ext
13484 LIBS=$ac_check_soname_save_LIBS
13486 if ${ac_cv_lib_soname_tiff:+false} :; then :
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13488 $as_echo "not found" >&6; }
13490 else
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13492 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13494 cat >>confdefs.h <<_ACEOF
13495 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13496 _ACEOF
13501 CPPFLAGS=$ac_save_CPPFLAGS
13502 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13503 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13506 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13507 case "x$with_tiff" in
13508 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13509 xno) ;;
13510 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13511 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13512 esac
13515 if test "x$with_mpg123" != "xno"
13516 then
13517 if ${MPG123_CFLAGS:+false} :; then :
13518 if ${PKG_CONFIG+:} false; then :
13519 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13523 if ${MPG123_LIBS:+false} :; then :
13524 if ${PKG_CONFIG+:} false; then :
13525 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13529 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13530 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13531 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13532 ac_save_CPPFLAGS=$CPPFLAGS
13533 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13534 for ac_header in mpg123.h
13535 do :
13536 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13537 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13538 cat >>confdefs.h <<_ACEOF
13539 #define HAVE_MPG123_H 1
13540 _ACEOF
13544 done
13546 if test "$ac_cv_header_mpg123_h" = "yes"
13547 then
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13549 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13550 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13551 $as_echo_n "(cached) " >&6
13552 else
13553 ac_check_lib_save_LIBS=$LIBS
13554 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13556 /* end confdefs.h. */
13558 /* Override any GCC internal prototype to avoid an error.
13559 Use char because int might match the return type of a GCC
13560 builtin and then its argument prototype would still apply. */
13561 #ifdef __cplusplus
13562 extern "C"
13563 #endif
13564 char mpg123_feed ();
13566 main ()
13568 return mpg123_feed ();
13570 return 0;
13572 _ACEOF
13573 if ac_fn_c_try_link "$LINENO"; then :
13574 ac_cv_lib_mpg123_mpg123_feed=yes
13575 else
13576 ac_cv_lib_mpg123_mpg123_feed=no
13578 rm -f core conftest.err conftest.$ac_objext \
13579 conftest$ac_exeext conftest.$ac_ext
13580 LIBS=$ac_check_lib_save_LIBS
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13583 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13584 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13586 else
13587 MPG123_LIBS=""
13590 else
13591 MPG123_CFLAGS=""
13592 MPG123_LIBS=""
13594 CPPFLAGS=$ac_save_CPPFLAGS
13595 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13596 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13599 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13600 case "x$with_mpg123" in
13601 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13602 xno) ;;
13603 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13604 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13605 esac
13607 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes -o "x$ac_cv_header_AudioToolbox_AudioConverter_h" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
13609 if test "$ac_cv_header_AL_al_h" = "yes"
13610 then
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13612 $as_echo_n "checking for -lopenal... " >&6; }
13613 if ${ac_cv_lib_soname_openal+:} false; then :
13614 $as_echo_n "(cached) " >&6
13615 else
13616 ac_check_soname_save_LIBS=$LIBS
13617 LIBS="-lopenal $LIBS"
13618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13619 /* end confdefs.h. */
13621 /* Override any GCC internal prototype to avoid an error.
13622 Use char because int might match the return type of a GCC
13623 builtin and then its argument prototype would still apply. */
13624 #ifdef __cplusplus
13625 extern "C"
13626 #endif
13627 char alGetSource3i ();
13629 main ()
13631 return alGetSource3i ();
13633 return 0;
13635 _ACEOF
13636 if ac_fn_c_try_link "$LINENO"; then :
13637 case "$LIBEXT" in
13638 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13639 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'` ;;
13640 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13641 if ${ac_cv_lib_soname_openal:+false} :; then :
13642 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13643 fi ;;
13644 esac
13646 rm -f core conftest.err conftest.$ac_objext \
13647 conftest$ac_exeext conftest.$ac_ext
13648 LIBS=$ac_check_soname_save_LIBS
13650 if ${ac_cv_lib_soname_openal:+false} :; then :
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13652 $as_echo "not found" >&6; }
13654 else
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13656 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13658 cat >>confdefs.h <<_ACEOF
13659 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13660 _ACEOF
13662 OPENAL_LIBS="-lopenal"
13664 ac_cv_lib_openal=yes
13666 cat >>confdefs.h <<_ACEOF
13667 #define HAVE_OPENAL 1
13668 _ACEOF
13672 if test "x$ac_cv_lib_openal" != xyes; then :
13673 case "x$with_openal" in
13674 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13675 xno) ;;
13676 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13677 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13678 esac
13680 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13682 if test "x$ac_cv_lib_openal" = xyes
13683 then
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13685 $as_echo_n "checking for openal-soft... " >&6; }
13686 if ${ac_cv_have_openalsoft+:} false; then :
13687 $as_echo_n "(cached) " >&6
13688 else
13689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13690 /* end confdefs.h. */
13691 #include <AL/al.h>
13692 #include <AL/alc.h>
13693 #include <AL/alext.h>
13694 LPALCRENDERSAMPLESSOFT x;
13696 main ()
13700 return 0;
13702 _ACEOF
13703 if ac_fn_c_try_compile "$LINENO"; then :
13704 ac_cv_have_openalsoft=yes
13705 else
13706 ac_cv_have_openalsoft=no
13708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13711 $as_echo "$ac_cv_have_openalsoft" >&6; }
13713 if test "x$ac_cv_have_openalsoft" != xyes
13714 then
13715 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13716 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13717 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13718 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13719 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13720 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13721 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13722 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13723 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13724 enable_xapofx1_1=${enable_xapofx1_1:-no}
13725 enable_xapofx1_2=${enable_xapofx1_2:-no}
13726 enable_xapofx1_3=${enable_xapofx1_3:-no}
13727 enable_xapofx1_4=${enable_xapofx1_4:-no}
13728 enable_xapofx1_5=${enable_xapofx1_5:-no}
13729 enable_xaudio2_0=${enable_xaudio2_0:-no}
13730 enable_xaudio2_1=${enable_xaudio2_1:-no}
13731 enable_xaudio2_2=${enable_xaudio2_2:-no}
13732 enable_xaudio2_3=${enable_xaudio2_3:-no}
13733 enable_xaudio2_4=${enable_xaudio2_4:-no}
13734 enable_xaudio2_5=${enable_xaudio2_5:-no}
13735 enable_xaudio2_6=${enable_xaudio2_6:-no}
13736 enable_xaudio2_7=${enable_xaudio2_7:-no}
13737 enable_xaudio2_8=${enable_xaudio2_8:-no}
13738 enable_xaudio2_9=${enable_xaudio2_9:-no}
13741 if test "$ac_cv_header_kstat_h" = "yes"
13742 then
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13744 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13745 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13746 $as_echo_n "(cached) " >&6
13747 else
13748 ac_check_lib_save_LIBS=$LIBS
13749 LIBS="-lkstat $LIBS"
13750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13751 /* end confdefs.h. */
13753 /* Override any GCC internal prototype to avoid an error.
13754 Use char because int might match the return type of a GCC
13755 builtin and then its argument prototype would still apply. */
13756 #ifdef __cplusplus
13757 extern "C"
13758 #endif
13759 char kstat_open ();
13761 main ()
13763 return kstat_open ();
13765 return 0;
13767 _ACEOF
13768 if ac_fn_c_try_link "$LINENO"; then :
13769 ac_cv_lib_kstat_kstat_open=yes
13770 else
13771 ac_cv_lib_kstat_kstat_open=no
13773 rm -f core conftest.err conftest.$ac_objext \
13774 conftest$ac_exeext conftest.$ac_ext
13775 LIBS=$ac_check_lib_save_LIBS
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13778 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13779 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13781 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13783 KSTAT_LIBS="-lkstat"
13789 if test "$ac_cv_header_libprocstat_h" = "yes"
13790 then
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13792 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13793 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13794 $as_echo_n "(cached) " >&6
13795 else
13796 ac_check_lib_save_LIBS=$LIBS
13797 LIBS="-lprocstat $LIBS"
13798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13799 /* end confdefs.h. */
13801 /* Override any GCC internal prototype to avoid an error.
13802 Use char because int might match the return type of a GCC
13803 builtin and then its argument prototype would still apply. */
13804 #ifdef __cplusplus
13805 extern "C"
13806 #endif
13807 char procstat_open_sysctl ();
13809 main ()
13811 return procstat_open_sysctl ();
13813 return 0;
13815 _ACEOF
13816 if ac_fn_c_try_link "$LINENO"; then :
13817 ac_cv_lib_procstat_procstat_open_sysctl=yes
13818 else
13819 ac_cv_lib_procstat_procstat_open_sysctl=no
13821 rm -f core conftest.err conftest.$ac_objext \
13822 conftest$ac_exeext conftest.$ac_ext
13823 LIBS=$ac_check_lib_save_LIBS
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13826 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13827 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13829 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13831 PROCSTAT_LIBS="-lprocstat"
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13838 $as_echo_n "checking for -lodbc... " >&6; }
13839 if ${ac_cv_lib_soname_odbc+:} false; then :
13840 $as_echo_n "(cached) " >&6
13841 else
13842 ac_check_soname_save_LIBS=$LIBS
13843 LIBS="-lodbc $LIBS"
13844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13847 /* Override any GCC internal prototype to avoid an error.
13848 Use char because int might match the return type of a GCC
13849 builtin and then its argument prototype would still apply. */
13850 #ifdef __cplusplus
13851 extern "C"
13852 #endif
13853 char SQLConnect ();
13855 main ()
13857 return SQLConnect ();
13859 return 0;
13861 _ACEOF
13862 if ac_fn_c_try_link "$LINENO"; then :
13863 case "$LIBEXT" in
13864 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13865 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'` ;;
13866 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13867 if ${ac_cv_lib_soname_odbc:+false} :; then :
13868 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13869 fi ;;
13870 esac
13872 rm -f core conftest.err conftest.$ac_objext \
13873 conftest$ac_exeext conftest.$ac_ext
13874 LIBS=$ac_check_soname_save_LIBS
13876 if ${ac_cv_lib_soname_odbc:+false} :; then :
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13878 $as_echo "not found" >&6; }
13879 cat >>confdefs.h <<_ACEOF
13880 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13881 _ACEOF
13883 else
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13885 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13887 cat >>confdefs.h <<_ACEOF
13888 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13889 _ACEOF
13894 if test "x$with_netapi" != "xno"
13895 then
13896 if ${NETAPI_CFLAGS:+false} :; then :
13897 if ${PKG_CONFIG+:} false; then :
13898 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13902 if ${NETAPI_LIBS:+false} :; then :
13903 if ${PKG_CONFIG+:} false; then :
13904 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13909 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13910 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13911 ac_save_CPPFLAGS=$CPPFLAGS
13912 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13914 $as_echo_n "checking for -lnetapi... " >&6; }
13915 if ${ac_cv_lib_soname_netapi+:} false; then :
13916 $as_echo_n "(cached) " >&6
13917 else
13918 ac_check_soname_save_LIBS=$LIBS
13919 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13921 /* end confdefs.h. */
13923 /* Override any GCC internal prototype to avoid an error.
13924 Use char because int might match the return type of a GCC
13925 builtin and then its argument prototype would still apply. */
13926 #ifdef __cplusplus
13927 extern "C"
13928 #endif
13929 char libnetapi_init ();
13931 main ()
13933 return libnetapi_init ();
13935 return 0;
13937 _ACEOF
13938 if ac_fn_c_try_link "$LINENO"; then :
13939 case "$LIBEXT" in
13940 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13941 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'` ;;
13942 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13943 if ${ac_cv_lib_soname_netapi:+false} :; then :
13944 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13945 fi ;;
13946 esac
13948 rm -f core conftest.err conftest.$ac_objext \
13949 conftest$ac_exeext conftest.$ac_ext
13950 LIBS=$ac_check_soname_save_LIBS
13952 if ${ac_cv_lib_soname_netapi:+false} :; then :
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13954 $as_echo "not found" >&6; }
13955 cat >>confdefs.h <<_ACEOF
13956 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13957 _ACEOF
13959 else
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13961 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13963 cat >>confdefs.h <<_ACEOF
13964 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13965 _ACEOF
13969 CPPFLAGS=$ac_save_CPPFLAGS
13970 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13971 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13975 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13976 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13977 then
13978 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13982 EXTRACFLAGS=""
13984 if test "x${GCC}" = "xyes"
13985 then
13986 EXTRACFLAGS="-Wall -pipe"
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13989 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13990 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13991 $as_echo_n "(cached) " >&6
13992 else
13993 if test "$cross_compiling" = yes; then :
13994 ac_cv_c_gcc_strength_bug="no"
13995 else
13996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13997 /* end confdefs.h. */
13998 int L[4] = {0,1,2,3};
14000 main ()
14002 static int Array[3];
14003 unsigned int B = 3;
14004 int i;
14005 for(i=0; i<B; i++) Array[i] = i - 3;
14006 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14007 L[i] = 4;
14008 return (Array[1] != -2 || L[2] != 3)
14010 return 0;
14012 _ACEOF
14013 if ac_fn_c_try_run "$LINENO"; then :
14014 ac_cv_c_gcc_strength_bug="no"
14015 else
14016 ac_cv_c_gcc_strength_bug="yes"
14018 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14019 conftest.$ac_objext conftest.beam conftest.$ac_ext
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14024 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14025 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14026 then
14027 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14031 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14032 if ${ac_cv_cflags__fno_builtin+:} false; then :
14033 $as_echo_n "(cached) " >&6
14034 else
14035 ac_wine_try_cflags_saved=$CFLAGS
14036 CFLAGS="$CFLAGS -fno-builtin"
14037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14038 /* end confdefs.h. */
14039 int main(int argc, char **argv) { return 0; }
14040 _ACEOF
14041 if ac_fn_c_try_link "$LINENO"; then :
14042 ac_cv_cflags__fno_builtin=yes
14043 else
14044 ac_cv_cflags__fno_builtin=no
14046 rm -f core conftest.err conftest.$ac_objext \
14047 conftest$ac_exeext conftest.$ac_ext
14048 CFLAGS=$ac_wine_try_cflags_saved
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14051 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14052 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14053 BUILTINFLAG="-fno-builtin"
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14057 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14058 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14059 $as_echo_n "(cached) " >&6
14060 else
14061 ac_wine_try_cflags_saved=$CFLAGS
14062 CFLAGS="$CFLAGS -fno-strict-aliasing"
14063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14064 /* end confdefs.h. */
14065 int main(int argc, char **argv) { return 0; }
14066 _ACEOF
14067 if ac_fn_c_try_link "$LINENO"; then :
14068 ac_cv_cflags__fno_strict_aliasing=yes
14069 else
14070 ac_cv_cflags__fno_strict_aliasing=no
14072 rm -f core conftest.err conftest.$ac_objext \
14073 conftest$ac_exeext conftest.$ac_ext
14074 CFLAGS=$ac_wine_try_cflags_saved
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14077 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14078 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14079 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14082 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14083 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14084 $as_echo_n "(cached) " >&6
14085 else
14086 ac_wine_try_cflags_saved=$CFLAGS
14087 CFLAGS="$CFLAGS -fexcess-precision=standard"
14088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14089 /* end confdefs.h. */
14090 int main(int argc, char **argv) { return 0; }
14091 _ACEOF
14092 if ac_fn_c_try_link "$LINENO"; then :
14093 ac_cv_cflags__fexcess_precision_standard=yes
14094 else
14095 ac_cv_cflags__fexcess_precision_standard=no
14097 rm -f core conftest.err conftest.$ac_objext \
14098 conftest$ac_exeext conftest.$ac_ext
14099 CFLAGS=$ac_wine_try_cflags_saved
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14102 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14103 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14104 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14107 saved_CFLAGS=$CFLAGS
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14109 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14110 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14111 $as_echo_n "(cached) " >&6
14112 else
14113 ac_wine_try_cflags_saved=$CFLAGS
14114 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14116 /* end confdefs.h. */
14117 int main(int argc, char **argv) { return 0; }
14118 _ACEOF
14119 if ac_fn_c_try_link "$LINENO"; then :
14120 ac_cv_cflags__Werror_unknown_warning_option=yes
14121 else
14122 ac_cv_cflags__Werror_unknown_warning_option=no
14124 rm -f core conftest.err conftest.$ac_objext \
14125 conftest$ac_exeext conftest.$ac_ext
14126 CFLAGS=$ac_wine_try_cflags_saved
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14129 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14130 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14131 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14134 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14135 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14136 $as_echo_n "(cached) " >&6
14137 else
14138 ac_wine_try_cflags_saved=$CFLAGS
14139 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141 /* end confdefs.h. */
14142 int main(int argc, char **argv) { return 0; }
14143 _ACEOF
14144 if ac_fn_c_try_link "$LINENO"; then :
14145 ac_cv_cflags__Wdeclaration_after_statement=yes
14146 else
14147 ac_cv_cflags__Wdeclaration_after_statement=no
14149 rm -f core conftest.err conftest.$ac_objext \
14150 conftest$ac_exeext conftest.$ac_ext
14151 CFLAGS=$ac_wine_try_cflags_saved
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14154 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14155 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14156 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14159 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14160 if ${ac_cv_cflags__Wempty_body+:} false; then :
14161 $as_echo_n "(cached) " >&6
14162 else
14163 ac_wine_try_cflags_saved=$CFLAGS
14164 CFLAGS="$CFLAGS -Wempty-body"
14165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14166 /* end confdefs.h. */
14167 int main(int argc, char **argv) { return 0; }
14168 _ACEOF
14169 if ac_fn_c_try_link "$LINENO"; then :
14170 ac_cv_cflags__Wempty_body=yes
14171 else
14172 ac_cv_cflags__Wempty_body=no
14174 rm -f core conftest.err conftest.$ac_objext \
14175 conftest$ac_exeext conftest.$ac_ext
14176 CFLAGS=$ac_wine_try_cflags_saved
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14179 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14180 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14181 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14184 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14185 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14186 $as_echo_n "(cached) " >&6
14187 else
14188 ac_wine_try_cflags_saved=$CFLAGS
14189 CFLAGS="$CFLAGS -Wignored-qualifiers"
14190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14191 /* end confdefs.h. */
14192 int main(int argc, char **argv) { return 0; }
14193 _ACEOF
14194 if ac_fn_c_try_link "$LINENO"; then :
14195 ac_cv_cflags__Wignored_qualifiers=yes
14196 else
14197 ac_cv_cflags__Wignored_qualifiers=no
14199 rm -f core conftest.err conftest.$ac_objext \
14200 conftest$ac_exeext conftest.$ac_ext
14201 CFLAGS=$ac_wine_try_cflags_saved
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14204 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14205 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14206 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14209 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14210 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14211 $as_echo_n "(cached) " >&6
14212 else
14213 ac_wine_try_cflags_saved=$CFLAGS
14214 CFLAGS="$CFLAGS -Wshift-overflow=2"
14215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14216 /* end confdefs.h. */
14217 int main(int argc, char **argv) { return 0; }
14218 _ACEOF
14219 if ac_fn_c_try_link "$LINENO"; then :
14220 ac_cv_cflags__Wshift_overflow_2=yes
14221 else
14222 ac_cv_cflags__Wshift_overflow_2=no
14224 rm -f core conftest.err conftest.$ac_objext \
14225 conftest$ac_exeext conftest.$ac_ext
14226 CFLAGS=$ac_wine_try_cflags_saved
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14229 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14230 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14231 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14234 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14235 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14236 $as_echo_n "(cached) " >&6
14237 else
14238 ac_wine_try_cflags_saved=$CFLAGS
14239 CFLAGS="$CFLAGS -Wstrict-prototypes"
14240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h. */
14242 int main(int argc, char **argv) { return 0; }
14243 _ACEOF
14244 if ac_fn_c_try_link "$LINENO"; then :
14245 ac_cv_cflags__Wstrict_prototypes=yes
14246 else
14247 ac_cv_cflags__Wstrict_prototypes=no
14249 rm -f core conftest.err conftest.$ac_objext \
14250 conftest$ac_exeext conftest.$ac_ext
14251 CFLAGS=$ac_wine_try_cflags_saved
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14254 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14255 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14256 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14259 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14260 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14261 $as_echo_n "(cached) " >&6
14262 else
14263 ac_wine_try_cflags_saved=$CFLAGS
14264 CFLAGS="$CFLAGS -Wtype-limits"
14265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14266 /* end confdefs.h. */
14267 int main(int argc, char **argv) { return 0; }
14268 _ACEOF
14269 if ac_fn_c_try_link "$LINENO"; then :
14270 ac_cv_cflags__Wtype_limits=yes
14271 else
14272 ac_cv_cflags__Wtype_limits=no
14274 rm -f core conftest.err conftest.$ac_objext \
14275 conftest$ac_exeext conftest.$ac_ext
14276 CFLAGS=$ac_wine_try_cflags_saved
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14279 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14280 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14281 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14284 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14285 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14286 $as_echo_n "(cached) " >&6
14287 else
14288 ac_wine_try_cflags_saved=$CFLAGS
14289 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14291 /* end confdefs.h. */
14292 int main(int argc, char **argv) { return 0; }
14293 _ACEOF
14294 if ac_fn_c_try_link "$LINENO"; then :
14295 ac_cv_cflags__Wunused_but_set_parameter=yes
14296 else
14297 ac_cv_cflags__Wunused_but_set_parameter=no
14299 rm -f core conftest.err conftest.$ac_objext \
14300 conftest$ac_exeext conftest.$ac_ext
14301 CFLAGS=$ac_wine_try_cflags_saved
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14304 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14305 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14306 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14309 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14310 if ${ac_cv_cflags__Wvla+:} false; then :
14311 $as_echo_n "(cached) " >&6
14312 else
14313 ac_wine_try_cflags_saved=$CFLAGS
14314 CFLAGS="$CFLAGS -Wvla"
14315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14316 /* end confdefs.h. */
14317 int main(int argc, char **argv) { return 0; }
14318 _ACEOF
14319 if ac_fn_c_try_link "$LINENO"; then :
14320 ac_cv_cflags__Wvla=yes
14321 else
14322 ac_cv_cflags__Wvla=no
14324 rm -f core conftest.err conftest.$ac_objext \
14325 conftest$ac_exeext conftest.$ac_ext
14326 CFLAGS=$ac_wine_try_cflags_saved
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14329 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14330 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14331 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14334 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14335 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14336 $as_echo_n "(cached) " >&6
14337 else
14338 ac_wine_try_cflags_saved=$CFLAGS
14339 CFLAGS="$CFLAGS -Wwrite-strings"
14340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14341 /* end confdefs.h. */
14342 int main(int argc, char **argv) { return 0; }
14343 _ACEOF
14344 if ac_fn_c_try_link "$LINENO"; then :
14345 ac_cv_cflags__Wwrite_strings=yes
14346 else
14347 ac_cv_cflags__Wwrite_strings=no
14349 rm -f core conftest.err conftest.$ac_objext \
14350 conftest$ac_exeext conftest.$ac_ext
14351 CFLAGS=$ac_wine_try_cflags_saved
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14354 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14355 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14356 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14360 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14361 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14362 $as_echo_n "(cached) " >&6
14363 else
14364 ac_wine_try_cflags_saved=$CFLAGS
14365 CFLAGS="$CFLAGS -Wpointer-arith"
14366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14367 /* end confdefs.h. */
14368 int main(int argc, char **argv) { return 0; }
14369 _ACEOF
14370 if ac_fn_c_try_link "$LINENO"; then :
14371 ac_cv_cflags__Wpointer_arith=yes
14372 else
14373 ac_cv_cflags__Wpointer_arith=no
14375 rm -f core conftest.err conftest.$ac_objext \
14376 conftest$ac_exeext conftest.$ac_ext
14377 CFLAGS=$ac_wine_try_cflags_saved
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14380 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14381 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14382 saved_string_h_CFLAGS=$CFLAGS
14383 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14385 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14386 if ${ac_cv_c_string_h_warnings+:} false; then :
14387 $as_echo_n "(cached) " >&6
14388 else
14389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14390 /* end confdefs.h. */
14391 #include <string.h>
14393 main ()
14397 return 0;
14399 _ACEOF
14400 if ac_fn_c_try_compile "$LINENO"; then :
14401 ac_cv_c_string_h_warnings=no
14402 else
14403 ac_cv_c_string_h_warnings=yes
14405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14408 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14409 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14410 CFLAGS=$saved_string_h_CFLAGS
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14414 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14415 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14416 $as_echo_n "(cached) " >&6
14417 else
14418 ac_wine_try_cflags_saved=$CFLAGS
14419 CFLAGS="$CFLAGS -Wlogical-op"
14420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421 /* end confdefs.h. */
14422 int main(int argc, char **argv) { return 0; }
14423 _ACEOF
14424 if ac_fn_c_try_link "$LINENO"; then :
14425 ac_cv_cflags__Wlogical_op=yes
14426 else
14427 ac_cv_cflags__Wlogical_op=no
14429 rm -f core conftest.err conftest.$ac_objext \
14430 conftest$ac_exeext conftest.$ac_ext
14431 CFLAGS=$ac_wine_try_cflags_saved
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14434 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14435 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14436 saved_string_h_CFLAGS=$CFLAGS
14437 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14439 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14440 if ${ac_cv_c_logicalop_noisy+:} false; then :
14441 $as_echo_n "(cached) " >&6
14442 else
14443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14444 /* end confdefs.h. */
14445 #include <string.h>
14446 char*f(const char *h,char n) {return strchr(h,n);}
14448 main ()
14452 return 0;
14454 _ACEOF
14455 if ac_fn_c_try_compile "$LINENO"; then :
14456 ac_cv_c_logicalop_noisy=no
14457 else
14458 ac_cv_c_logicalop_noisy=yes
14460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14463 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14464 CFLAGS=$saved_string_h_CFLAGS
14465 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14468 CFLAGS=$saved_CFLAGS
14470 for ac_flag in $CFLAGS; do
14471 case $ac_flag in
14472 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14473 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14474 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14475 $as_echo_n "(cached) " >&6
14476 else
14477 ac_wine_try_cflags_saved=$CFLAGS
14478 CFLAGS="$CFLAGS -gdwarf-2"
14479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14480 /* end confdefs.h. */
14481 int main(int argc, char **argv) { return 0; }
14482 _ACEOF
14483 if ac_fn_c_try_link "$LINENO"; then :
14484 ac_cv_cflags__gdwarf_2=yes
14485 else
14486 ac_cv_cflags__gdwarf_2=no
14488 rm -f core conftest.err conftest.$ac_objext \
14489 conftest$ac_exeext conftest.$ac_ext
14490 CFLAGS=$ac_wine_try_cflags_saved
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14493 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14494 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14495 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14498 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14499 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14500 $as_echo_n "(cached) " >&6
14501 else
14502 ac_wine_try_cflags_saved=$CFLAGS
14503 CFLAGS="$CFLAGS -gstrict-dwarf"
14504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14505 /* end confdefs.h. */
14506 int main(int argc, char **argv) { return 0; }
14507 _ACEOF
14508 if ac_fn_c_try_link "$LINENO"; then :
14509 ac_cv_cflags__gstrict_dwarf=yes
14510 else
14511 ac_cv_cflags__gstrict_dwarf=no
14513 rm -f core conftest.err conftest.$ac_objext \
14514 conftest$ac_exeext conftest.$ac_ext
14515 CFLAGS=$ac_wine_try_cflags_saved
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14518 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14519 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14520 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14521 fi ;;
14522 esac
14523 done
14525 case $host_cpu in
14526 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14527 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14528 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14529 $as_echo_n "(cached) " >&6
14530 else
14531 ac_wine_try_cflags_saved=$CFLAGS
14532 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14534 /* end confdefs.h. */
14535 int main(int argc, char **argv) { return 0; }
14536 _ACEOF
14537 if ac_fn_c_try_link "$LINENO"; then :
14538 ac_cv_cflags__fno_omit_frame_pointer=yes
14539 else
14540 ac_cv_cflags__fno_omit_frame_pointer=no
14542 rm -f core conftest.err conftest.$ac_objext \
14543 conftest$ac_exeext conftest.$ac_ext
14544 CFLAGS=$ac_wine_try_cflags_saved
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14547 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14548 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14549 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14550 fi ;;
14551 esac
14553 case $host in
14554 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14555 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14556 if ${ac_cv_cflags__Wno_format+:} false; then :
14557 $as_echo_n "(cached) " >&6
14558 else
14559 ac_wine_try_cflags_saved=$CFLAGS
14560 CFLAGS="$CFLAGS -Wno-format"
14561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14562 /* end confdefs.h. */
14563 int main(int argc, char **argv) { return 0; }
14564 _ACEOF
14565 if ac_fn_c_try_link "$LINENO"; then :
14566 ac_cv_cflags__Wno_format=yes
14567 else
14568 ac_cv_cflags__Wno_format=no
14570 rm -f core conftest.err conftest.$ac_objext \
14571 conftest$ac_exeext conftest.$ac_ext
14572 CFLAGS=$ac_wine_try_cflags_saved
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14575 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14576 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14577 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14578 fi ;;
14579 esac
14581 if test "x$enable_maintainer_mode" = "xyes"
14582 then
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14584 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14585 if ${ac_cv_cflags__Werror+:} false; then :
14586 $as_echo_n "(cached) " >&6
14587 else
14588 ac_wine_try_cflags_saved=$CFLAGS
14589 CFLAGS="$CFLAGS -Werror"
14590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14591 /* end confdefs.h. */
14592 int main(int argc, char **argv) { return 0; }
14593 _ACEOF
14594 if ac_fn_c_try_link "$LINENO"; then :
14595 ac_cv_cflags__Werror=yes
14596 else
14597 ac_cv_cflags__Werror=no
14599 rm -f core conftest.err conftest.$ac_objext \
14600 conftest$ac_exeext conftest.$ac_ext
14601 CFLAGS=$ac_wine_try_cflags_saved
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14604 $as_echo "$ac_cv_cflags__Werror" >&6; }
14605 if test "x$ac_cv_cflags__Werror" = xyes; then :
14606 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14610 saved_CFLAGS="$CFLAGS"
14611 CFLAGS="$CFLAGS -Werror"
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14613 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14614 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14615 $as_echo_n "(cached) " >&6
14616 else
14617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14618 /* end confdefs.h. */
14619 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14621 main ()
14625 return 0;
14627 _ACEOF
14628 if ac_fn_c_try_compile "$LINENO"; then :
14629 ac_cv_have_ms_hook_prologue="yes"
14630 else
14631 ac_cv_have_ms_hook_prologue="no"
14633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14636 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14637 CFLAGS="$saved_CFLAGS"
14638 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14639 then
14641 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14643 else
14644 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14651 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14652 if ${ac_cv_c_fortify_enabled+:} false; then :
14653 $as_echo_n "(cached) " >&6
14654 else
14655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14656 /* end confdefs.h. */
14657 #include <string.h>
14659 main ()
14661 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14662 #error Fortify enabled
14663 #endif
14665 return 0;
14667 _ACEOF
14668 if ac_fn_c_try_compile "$LINENO"; then :
14669 ac_cv_c_fortify_enabled=no
14670 else
14671 ac_cv_c_fortify_enabled=yes
14673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14676 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14677 if test "$ac_cv_c_fortify_enabled" = yes
14678 then
14679 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14684 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14685 if ${ac_cv_c_extern_prefix+:} false; then :
14686 $as_echo_n "(cached) " >&6
14687 else
14688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14689 /* end confdefs.h. */
14690 extern int ac_test;
14692 main ()
14694 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14696 return 0;
14698 _ACEOF
14699 if ac_fn_c_try_link "$LINENO"; then :
14700 ac_cv_c_extern_prefix="yes"
14701 else
14702 ac_cv_c_extern_prefix="no"
14704 rm -f core conftest.err conftest.$ac_objext \
14705 conftest$ac_exeext conftest.$ac_ext
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14708 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14710 case $host_cpu in
14711 *i[3456789]86*)
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14713 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14714 if ${ac_cv_c_stdcall_suffix+:} false; then :
14715 $as_echo_n "(cached) " >&6
14716 else
14717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14718 /* end confdefs.h. */
14719 #ifndef _MSC_VER
14720 #define __stdcall __attribute__((__stdcall__))
14721 #endif
14722 int __stdcall ac_test(int i) { return i; }
14724 main ()
14726 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14728 return 0;
14730 _ACEOF
14731 if ac_fn_c_try_link "$LINENO"; then :
14732 ac_cv_c_stdcall_suffix="yes"
14733 else
14734 ac_cv_c_stdcall_suffix="no"
14736 rm -f core conftest.err conftest.$ac_objext \
14737 conftest$ac_exeext conftest.$ac_ext
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14740 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14741 *) ac_cv_c_stdcall_suffix="no" ;;
14742 esac
14745 if test "$ac_cv_c_extern_prefix" = "yes"
14746 then
14747 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14749 asm_name_prefix="_"
14750 else
14751 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14753 asm_name_prefix=""
14757 if test "$ac_cv_c_stdcall_suffix" = "yes"
14758 then
14759 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14761 else
14762 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14768 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14769 if ${ac_cv_asm_func_def+:} false; then :
14770 $as_echo_n "(cached) " >&6
14771 else
14772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14773 /* end confdefs.h. */
14776 main ()
14778 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14780 return 0;
14782 _ACEOF
14783 if ac_fn_c_try_link "$LINENO"; then :
14784 ac_cv_asm_func_def=".def"
14785 else
14786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14787 /* end confdefs.h. */
14790 main ()
14792 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14794 return 0;
14796 _ACEOF
14797 if ac_fn_c_try_link "$LINENO"; then :
14798 ac_cv_asm_func_def=".type @function"
14799 else
14800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14801 /* end confdefs.h. */
14804 main ()
14806 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14808 return 0;
14810 _ACEOF
14811 if ac_fn_c_try_link "$LINENO"; then :
14812 ac_cv_asm_func_def=".type 2"
14813 else
14814 ac_cv_asm_func_def="unknown"
14816 rm -f core conftest.err conftest.$ac_objext \
14817 conftest$ac_exeext conftest.$ac_ext
14819 rm -f core conftest.err conftest.$ac_objext \
14820 conftest$ac_exeext conftest.$ac_ext
14822 rm -f core conftest.err conftest.$ac_objext \
14823 conftest$ac_exeext conftest.$ac_ext
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14826 $as_echo "$ac_cv_asm_func_def" >&6; }
14829 case "$ac_cv_asm_func_def" in
14830 ".def")
14831 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14833 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14834 ".type @function")
14835 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14837 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14838 ".type 2")
14839 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14841 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14843 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14845 asm_func_header="" ;;
14846 esac
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14849 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14850 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14851 $as_echo_n "(cached) " >&6
14852 else
14853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14854 /* end confdefs.h. */
14855 asm(".text\n\t.long 0");
14857 main ()
14861 return 0;
14863 _ACEOF
14864 if ac_fn_c_try_compile "$LINENO"; then :
14865 ac_cv_c_asm_outside_funcs="yes"
14866 else
14867 ac_cv_c_asm_outside_funcs="no"
14869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14872 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14875 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14876 if ${ac_cv_c_dot_previous+:} false; then :
14877 $as_echo_n "(cached) " >&6
14878 else
14879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h. */
14883 main ()
14885 asm(".text\nac_test:\t.long 0\n\t.previous");
14887 return 0;
14889 _ACEOF
14890 if ac_fn_c_try_link "$LINENO"; then :
14891 ac_cv_c_dot_previous="yes"
14892 else
14893 ac_cv_c_dot_previous="no"
14895 rm -f core conftest.err conftest.$ac_objext \
14896 conftest$ac_exeext conftest.$ac_ext
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14899 $as_echo "$ac_cv_c_dot_previous" >&6; }
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14902 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14903 if ${ac_cv_c_cfi_support+:} false; then :
14904 $as_echo_n "(cached) " >&6
14905 else
14906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14908 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14910 main ()
14914 return 0;
14916 _ACEOF
14917 if ac_fn_c_try_compile "$LINENO"; then :
14918 ac_cv_c_cfi_support="yes"
14919 else
14920 ac_cv_c_cfi_support="no"
14922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14925 $as_echo "$ac_cv_c_cfi_support" >&6; }
14927 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14928 asm_func_trailer=""
14929 if test "$ac_cv_c_dot_previous" = "yes"
14930 then
14931 asm_func_trailer="\\n\\t.previous"
14933 if test "$ac_cv_c_cfi_support" = "yes"
14934 then
14935 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14936 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14938 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14940 UNWINDFLAGS=-fasynchronous-unwind-tables
14942 else
14943 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14945 if test "x$enable_win64" = "xyes"
14946 then
14947 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14951 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14954 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14955 then
14956 cat >>confdefs.h <<_ACEOF
14957 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14958 _ACEOF
14960 else
14961 cat >>confdefs.h <<_ACEOF
14962 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14963 _ACEOF
14967 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14970 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14974 case $build_os in
14975 cygwin*|mingw32*) TOOLSEXT=".exe"
14977 esac
14979 case $host_os in
14980 linux-android*) ;;
14981 linux*)
14982 case $host_cpu in
14983 *i[3456789]86*|x86_64*)
14984 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14985 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14987 esac
14989 esac
14992 ac_save_CFLAGS="$CFLAGS"
14993 CFLAGS="$CFLAGS $BUILTINFLAG"
14994 for ac_func in \
14995 __res_get_state \
14996 __res_getservers \
14997 _finite \
14998 _isnan \
14999 _pclose \
15000 _popen \
15001 _snprintf \
15002 _spawnvp \
15003 _strdup \
15004 _stricmp \
15005 _strnicmp \
15006 _strtoi64 \
15007 _strtoui64 \
15008 _vsnprintf \
15009 asctime_r \
15010 chsize \
15011 dlopen \
15012 epoll_create \
15013 ffs \
15014 finitef \
15015 fnmatch \
15016 fork \
15017 fpclass \
15018 fstatfs \
15019 fstatvfs \
15020 ftruncate \
15021 futimens \
15022 futimes \
15023 futimesat \
15024 getattrlist \
15025 getdirentries \
15026 getopt_long_only \
15027 getpwuid \
15028 gettimeofday \
15029 getuid \
15030 if_nameindex \
15031 isnanf \
15032 kqueue \
15033 lstat \
15034 memmove \
15035 mmap \
15036 pclose \
15037 pipe2 \
15038 poll \
15039 popen \
15040 port_create \
15041 prctl \
15042 pread \
15043 proc_pidinfo \
15044 pwrite \
15045 readdir \
15046 readlink \
15047 sched_yield \
15048 select \
15049 setproctitle \
15050 setrlimit \
15051 settimeofday \
15052 sigaltstack \
15053 sigprocmask \
15054 snprintf \
15055 statfs \
15056 statvfs \
15057 strcasecmp \
15058 strdup \
15059 strerror \
15060 strncasecmp \
15061 strtold \
15062 strtoll \
15063 strtoull \
15064 symlink \
15065 tcdrain \
15066 thr_kill2 \
15067 timegm \
15068 usleep \
15069 vsnprintf
15071 do :
15072 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15073 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15074 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15075 cat >>confdefs.h <<_ACEOF
15076 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15077 _ACEOF
15080 done
15082 CFLAGS="$ac_save_CFLAGS"
15084 if test "$ac_cv_func_dlopen" = no
15085 then
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15087 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15088 if ${ac_cv_lib_dl_dlopen+:} false; then :
15089 $as_echo_n "(cached) " >&6
15090 else
15091 ac_check_lib_save_LIBS=$LIBS
15092 LIBS="-ldl $LIBS"
15093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15096 /* Override any GCC internal prototype to avoid an error.
15097 Use char because int might match the return type of a GCC
15098 builtin and then its argument prototype would still apply. */
15099 #ifdef __cplusplus
15100 extern "C"
15101 #endif
15102 char dlopen ();
15104 main ()
15106 return dlopen ();
15108 return 0;
15110 _ACEOF
15111 if ac_fn_c_try_link "$LINENO"; then :
15112 ac_cv_lib_dl_dlopen=yes
15113 else
15114 ac_cv_lib_dl_dlopen=no
15116 rm -f core conftest.err conftest.$ac_objext \
15117 conftest$ac_exeext conftest.$ac_ext
15118 LIBS=$ac_check_lib_save_LIBS
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15121 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15122 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15123 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15124 DL_LIBS="-ldl"
15129 ac_wine_check_funcs_save_LIBS="$LIBS"
15130 LIBS="$LIBS $DL_LIBS"
15131 for ac_func in dladdr
15132 do :
15133 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15134 if test "x$ac_cv_func_dladdr" = xyes; then :
15135 cat >>confdefs.h <<_ACEOF
15136 #define HAVE_DLADDR 1
15137 _ACEOF
15140 done
15142 LIBS="$ac_wine_check_funcs_save_LIBS"
15144 if test "$ac_cv_func_poll" = no
15145 then
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15147 $as_echo_n "checking for poll in -lpoll... " >&6; }
15148 if ${ac_cv_lib_poll_poll+:} false; then :
15149 $as_echo_n "(cached) " >&6
15150 else
15151 ac_check_lib_save_LIBS=$LIBS
15152 LIBS="-lpoll $LIBS"
15153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15154 /* end confdefs.h. */
15156 /* Override any GCC internal prototype to avoid an error.
15157 Use char because int might match the return type of a GCC
15158 builtin and then its argument prototype would still apply. */
15159 #ifdef __cplusplus
15160 extern "C"
15161 #endif
15162 char poll ();
15164 main ()
15166 return poll ();
15168 return 0;
15170 _ACEOF
15171 if ac_fn_c_try_link "$LINENO"; then :
15172 ac_cv_lib_poll_poll=yes
15173 else
15174 ac_cv_lib_poll_poll=no
15176 rm -f core conftest.err conftest.$ac_objext \
15177 conftest$ac_exeext conftest.$ac_ext
15178 LIBS=$ac_check_lib_save_LIBS
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15181 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15182 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15183 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15184 POLL_LIBS="-lpoll"
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15191 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15192 if ${ac_cv_search_gethostbyname+:} false; then :
15193 $as_echo_n "(cached) " >&6
15194 else
15195 ac_func_search_save_LIBS=$LIBS
15196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15197 /* end confdefs.h. */
15199 /* Override any GCC internal prototype to avoid an error.
15200 Use char because int might match the return type of a GCC
15201 builtin and then its argument prototype would still apply. */
15202 #ifdef __cplusplus
15203 extern "C"
15204 #endif
15205 char gethostbyname ();
15207 main ()
15209 return gethostbyname ();
15211 return 0;
15213 _ACEOF
15214 for ac_lib in '' nsl; do
15215 if test -z "$ac_lib"; then
15216 ac_res="none required"
15217 else
15218 ac_res=-l$ac_lib
15219 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15221 if ac_fn_c_try_link "$LINENO"; then :
15222 ac_cv_search_gethostbyname=$ac_res
15224 rm -f core conftest.err conftest.$ac_objext \
15225 conftest$ac_exeext
15226 if ${ac_cv_search_gethostbyname+:} false; then :
15227 break
15229 done
15230 if ${ac_cv_search_gethostbyname+:} false; then :
15232 else
15233 ac_cv_search_gethostbyname=no
15235 rm conftest.$ac_ext
15236 LIBS=$ac_func_search_save_LIBS
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15239 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15240 ac_res=$ac_cv_search_gethostbyname
15241 if test "$ac_res" != no; then :
15242 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15248 $as_echo_n "checking for library containing connect... " >&6; }
15249 if ${ac_cv_search_connect+:} false; then :
15250 $as_echo_n "(cached) " >&6
15251 else
15252 ac_func_search_save_LIBS=$LIBS
15253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15254 /* end confdefs.h. */
15256 /* Override any GCC internal prototype to avoid an error.
15257 Use char because int might match the return type of a GCC
15258 builtin and then its argument prototype would still apply. */
15259 #ifdef __cplusplus
15260 extern "C"
15261 #endif
15262 char connect ();
15264 main ()
15266 return connect ();
15268 return 0;
15270 _ACEOF
15271 for ac_lib in '' socket; do
15272 if test -z "$ac_lib"; then
15273 ac_res="none required"
15274 else
15275 ac_res=-l$ac_lib
15276 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15278 if ac_fn_c_try_link "$LINENO"; then :
15279 ac_cv_search_connect=$ac_res
15281 rm -f core conftest.err conftest.$ac_objext \
15282 conftest$ac_exeext
15283 if ${ac_cv_search_connect+:} false; then :
15284 break
15286 done
15287 if ${ac_cv_search_connect+:} false; then :
15289 else
15290 ac_cv_search_connect=no
15292 rm conftest.$ac_ext
15293 LIBS=$ac_func_search_save_LIBS
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15296 $as_echo "$ac_cv_search_connect" >&6; }
15297 ac_res=$ac_cv_search_connect
15298 if test "$ac_res" != no; then :
15299 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15305 $as_echo_n "checking for library containing inet_aton... " >&6; }
15306 if ${ac_cv_search_inet_aton+:} false; then :
15307 $as_echo_n "(cached) " >&6
15308 else
15309 ac_func_search_save_LIBS=$LIBS
15310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15311 /* end confdefs.h. */
15313 /* Override any GCC internal prototype to avoid an error.
15314 Use char because int might match the return type of a GCC
15315 builtin and then its argument prototype would still apply. */
15316 #ifdef __cplusplus
15317 extern "C"
15318 #endif
15319 char inet_aton ();
15321 main ()
15323 return inet_aton ();
15325 return 0;
15327 _ACEOF
15328 for ac_lib in '' resolv; do
15329 if test -z "$ac_lib"; then
15330 ac_res="none required"
15331 else
15332 ac_res=-l$ac_lib
15333 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15335 if ac_fn_c_try_link "$LINENO"; then :
15336 ac_cv_search_inet_aton=$ac_res
15338 rm -f core conftest.err conftest.$ac_objext \
15339 conftest$ac_exeext
15340 if ${ac_cv_search_inet_aton+:} false; then :
15341 break
15343 done
15344 if ${ac_cv_search_inet_aton+:} false; then :
15346 else
15347 ac_cv_search_inet_aton=no
15349 rm conftest.$ac_ext
15350 LIBS=$ac_func_search_save_LIBS
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15353 $as_echo "$ac_cv_search_inet_aton" >&6; }
15354 ac_res=$ac_cv_search_inet_aton
15355 if test "$ac_res" != no; then :
15356 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15361 for ac_func in \
15362 getaddrinfo \
15363 getnameinfo \
15364 getnetbyname \
15365 getprotobyname \
15366 getprotobynumber \
15367 getservbyport \
15368 inet_addr \
15369 inet_network \
15370 inet_ntop \
15371 inet_pton \
15372 sendmsg \
15373 socketpair \
15375 do :
15376 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15377 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15378 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15379 cat >>confdefs.h <<_ACEOF
15380 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15381 _ACEOF
15384 done
15387 ac_save_LIBS=$LIBS
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15389 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15390 if ${ac_cv_search_clock_gettime+:} false; then :
15391 $as_echo_n "(cached) " >&6
15392 else
15393 ac_func_search_save_LIBS=$LIBS
15394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15395 /* end confdefs.h. */
15397 /* Override any GCC internal prototype to avoid an error.
15398 Use char because int might match the return type of a GCC
15399 builtin and then its argument prototype would still apply. */
15400 #ifdef __cplusplus
15401 extern "C"
15402 #endif
15403 char clock_gettime ();
15405 main ()
15407 return clock_gettime ();
15409 return 0;
15411 _ACEOF
15412 for ac_lib in '' rt; do
15413 if test -z "$ac_lib"; then
15414 ac_res="none required"
15415 else
15416 ac_res=-l$ac_lib
15417 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15419 if ac_fn_c_try_link "$LINENO"; then :
15420 ac_cv_search_clock_gettime=$ac_res
15422 rm -f core conftest.err conftest.$ac_objext \
15423 conftest$ac_exeext
15424 if ${ac_cv_search_clock_gettime+:} false; then :
15425 break
15427 done
15428 if ${ac_cv_search_clock_gettime+:} false; then :
15430 else
15431 ac_cv_search_clock_gettime=no
15433 rm conftest.$ac_ext
15434 LIBS=$ac_func_search_save_LIBS
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15437 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15438 ac_res=$ac_cv_search_clock_gettime
15439 if test "$ac_res" != no; then :
15440 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15442 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15444 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15448 LIBS=$ac_save_LIBS
15450 LDAP_LIBS=""
15452 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15453 then
15454 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15456 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15458 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15459 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15460 $as_echo_n "(cached) " >&6
15461 else
15462 ac_check_lib_save_LIBS=$LIBS
15463 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15465 /* end confdefs.h. */
15467 /* Override any GCC internal prototype to avoid an error.
15468 Use char because int might match the return type of a GCC
15469 builtin and then its argument prototype would still apply. */
15470 #ifdef __cplusplus
15471 extern "C"
15472 #endif
15473 char ldap_initialize ();
15475 main ()
15477 return ldap_initialize ();
15479 return 0;
15481 _ACEOF
15482 if ac_fn_c_try_link "$LINENO"; then :
15483 ac_cv_lib_ldap_r_ldap_initialize=yes
15484 else
15485 ac_cv_lib_ldap_r_ldap_initialize=no
15487 rm -f core conftest.err conftest.$ac_objext \
15488 conftest$ac_exeext conftest.$ac_ext
15489 LIBS=$ac_check_lib_save_LIBS
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15492 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15493 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15495 $as_echo_n "checking for ber_init in -llber... " >&6; }
15496 if ${ac_cv_lib_lber_ber_init+:} false; then :
15497 $as_echo_n "(cached) " >&6
15498 else
15499 ac_check_lib_save_LIBS=$LIBS
15500 LIBS="-llber $PTHREAD_LIBS $LIBS"
15501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15502 /* end confdefs.h. */
15504 /* Override any GCC internal prototype to avoid an error.
15505 Use char because int might match the return type of a GCC
15506 builtin and then its argument prototype would still apply. */
15507 #ifdef __cplusplus
15508 extern "C"
15509 #endif
15510 char ber_init ();
15512 main ()
15514 return ber_init ();
15516 return 0;
15518 _ACEOF
15519 if ac_fn_c_try_link "$LINENO"; then :
15520 ac_cv_lib_lber_ber_init=yes
15521 else
15522 ac_cv_lib_lber_ber_init=no
15524 rm -f core conftest.err conftest.$ac_objext \
15525 conftest$ac_exeext conftest.$ac_ext
15526 LIBS=$ac_check_lib_save_LIBS
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15529 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15530 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15532 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15534 LDAP_LIBS="-lldap_r -llber"
15541 ac_wine_check_funcs_save_LIBS="$LIBS"
15542 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15543 for ac_func in \
15544 ldap_count_references \
15545 ldap_first_reference \
15546 ldap_next_reference \
15547 ldap_parse_reference \
15548 ldap_parse_sort_control \
15549 ldap_parse_sortresponse_control \
15550 ldap_parse_vlv_control \
15551 ldap_parse_vlvresponse_control
15552 do :
15553 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15554 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15555 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15556 cat >>confdefs.h <<_ACEOF
15557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15558 _ACEOF
15561 done
15563 LIBS="$ac_wine_check_funcs_save_LIBS"
15565 if test "x$LDAP_LIBS" = "x"; then :
15566 case "x$with_ldap" in
15567 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15568 xno) ;;
15569 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15570 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15571 esac
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15575 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15576 if ${wine_cv_one_arg_mkdir+:} false; then :
15577 $as_echo_n "(cached) " >&6
15578 else
15579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15580 /* end confdefs.h. */
15581 #include <sys/stat.h>
15583 main ()
15585 mkdir("foo");
15587 return 0;
15589 _ACEOF
15590 if ac_fn_c_try_compile "$LINENO"; then :
15591 wine_cv_one_arg_mkdir=yes
15592 else
15593 wine_cv_one_arg_mkdir=no
15595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15598 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15599 if test "$wine_cv_one_arg_mkdir" = "yes"
15600 then
15602 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15607 $as_echo_n "checking for sched_setaffinity... " >&6; }
15608 if ${wine_cv_have_sched_setaffinity+:} false; then :
15609 $as_echo_n "(cached) " >&6
15610 else
15611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15612 /* end confdefs.h. */
15613 #define _GNU_SOURCE
15614 #include <sched.h>
15616 main ()
15618 sched_setaffinity(0, 0, 0);
15620 return 0;
15622 _ACEOF
15623 if ac_fn_c_try_link "$LINENO"; then :
15624 wine_cv_have_sched_setaffinity=yes
15625 else
15626 wine_cv_have_sched_setaffinity=no
15628 rm -f core conftest.err conftest.$ac_objext \
15629 conftest$ac_exeext conftest.$ac_ext
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15632 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15633 if test "$wine_cv_have_sched_setaffinity" = "yes"
15634 then
15636 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15641 $as_echo_n "checking for fallocate... " >&6; }
15642 if ${wine_cv_have_fallocate+:} false; then :
15643 $as_echo_n "(cached) " >&6
15644 else
15645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15646 /* end confdefs.h. */
15647 #define _GNU_SOURCE
15648 #include <fcntl.h>
15650 main ()
15652 fallocate(-1, 0, 0, 0);
15654 return 0;
15656 _ACEOF
15657 if ac_fn_c_try_link "$LINENO"; then :
15658 wine_cv_have_fallocate=yes
15659 else
15660 wine_cv_have_fallocate=no
15662 rm -f core conftest.err conftest.$ac_objext \
15663 conftest$ac_exeext conftest.$ac_ext
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15666 $as_echo "$wine_cv_have_fallocate" >&6; }
15667 if test "$wine_cv_have_fallocate" = "yes"
15668 then
15670 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15676 $as_echo_n "checking for inline... " >&6; }
15677 if ${ac_cv_c_inline+:} false; then :
15678 $as_echo_n "(cached) " >&6
15679 else
15680 ac_cv_c_inline=no
15681 for ac_kw in inline __inline__ __inline; do
15682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15683 /* end confdefs.h. */
15684 #ifndef __cplusplus
15685 typedef int foo_t;
15686 static $ac_kw foo_t static_foo () {return 0; }
15687 $ac_kw foo_t foo () {return 0; }
15688 #endif
15690 _ACEOF
15691 if ac_fn_c_try_compile "$LINENO"; then :
15692 ac_cv_c_inline=$ac_kw
15694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15695 test "$ac_cv_c_inline" != no && break
15696 done
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15700 $as_echo "$ac_cv_c_inline" >&6; }
15702 case $ac_cv_c_inline in
15703 inline | yes) ;;
15705 case $ac_cv_c_inline in
15706 no) ac_val=;;
15707 *) ac_val=$ac_cv_c_inline;;
15708 esac
15709 cat >>confdefs.h <<_ACEOF
15710 #ifndef __cplusplus
15711 #define inline $ac_val
15712 #endif
15713 _ACEOF
15715 esac
15717 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15718 if test "x$ac_cv_type_mode_t" = xyes; then :
15720 cat >>confdefs.h <<_ACEOF
15721 #define HAVE_MODE_T 1
15722 _ACEOF
15726 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15727 if test "x$ac_cv_type_off_t" = xyes; then :
15729 cat >>confdefs.h <<_ACEOF
15730 #define HAVE_OFF_T 1
15731 _ACEOF
15735 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15736 if test "x$ac_cv_type_pid_t" = xyes; then :
15738 cat >>confdefs.h <<_ACEOF
15739 #define HAVE_PID_T 1
15740 _ACEOF
15744 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15745 if test "x$ac_cv_type_size_t" = xyes; then :
15747 cat >>confdefs.h <<_ACEOF
15748 #define HAVE_SIZE_T 1
15749 _ACEOF
15753 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15754 if test "x$ac_cv_type_ssize_t" = xyes; then :
15756 cat >>confdefs.h <<_ACEOF
15757 #define HAVE_SSIZE_T 1
15758 _ACEOF
15762 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15763 if test "x$ac_cv_type_long_long" = xyes; then :
15765 cat >>confdefs.h <<_ACEOF
15766 #define HAVE_LONG_LONG 1
15767 _ACEOF
15771 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15772 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15774 cat >>confdefs.h <<_ACEOF
15775 #define HAVE_FSBLKCNT_T 1
15776 _ACEOF
15780 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15781 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15783 cat >>confdefs.h <<_ACEOF
15784 #define HAVE_FSFILCNT_T 1
15785 _ACEOF
15790 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15791 #include <signal.h>
15793 if test "x$ac_cv_type_sigset_t" = xyes; then :
15795 cat >>confdefs.h <<_ACEOF
15796 #define HAVE_SIGSET_T 1
15797 _ACEOF
15802 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15804 if test "x$ac_cv_type_request_sense" = xyes; then :
15806 cat >>confdefs.h <<_ACEOF
15807 #define HAVE_REQUEST_SENSE 1
15808 _ACEOF
15814 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15815 #ifdef HAVE_SYS_SOCKET_H
15816 #include <sys/socket.h>
15817 #endif
15818 #ifdef HAVE_SYS_SOCKETVAR_H
15819 #include <sys/socketvar.h>
15820 #endif
15821 #ifdef HAVE_NET_ROUTE_H
15822 #include <net/route.h>
15823 #endif
15824 #ifdef HAVE_NETINET_IN_H
15825 #include <netinet/in.h>
15826 #endif
15827 #ifdef HAVE_NETINET_IN_SYSTM_H
15828 #include <netinet/in_systm.h>
15829 #endif
15830 #ifdef HAVE_NETINET_IP_H
15831 #include <netinet/ip.h>
15832 #endif
15833 #ifdef HAVE_NETINET_IN_PCB_H
15834 #include <netinet/in_pcb.h>
15835 #endif
15837 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15839 cat >>confdefs.h <<_ACEOF
15840 #define HAVE_STRUCT_XINPGEN 1
15841 _ACEOF
15847 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15848 #include <link.h>
15849 #endif
15850 #ifdef HAVE_SYS_LINK_H
15851 #include <sys/link.h>
15852 #endif
15854 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15856 cat >>confdefs.h <<_ACEOF
15857 #define HAVE_STRUCT_R_DEBUG 1
15858 _ACEOF
15862 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15863 #include <link.h>
15864 #endif
15865 #ifdef HAVE_SYS_LINK_H
15866 #include <sys/link.h>
15867 #endif
15869 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15871 cat >>confdefs.h <<_ACEOF
15872 #define HAVE_STRUCT_LINK_MAP 1
15873 _ACEOF
15879 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15880 #include <linux/input.h>
15881 #endif
15883 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15885 cat >>confdefs.h <<_ACEOF
15886 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15887 _ACEOF
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15894 $as_echo_n "checking for sigaddset... " >&6; }
15895 if ${wine_cv_have_sigaddset+:} false; then :
15896 $as_echo_n "(cached) " >&6
15897 else
15898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15899 /* end confdefs.h. */
15900 #include <signal.h>
15902 main ()
15904 sigset_t set; sigaddset(&set,SIGTERM);
15906 return 0;
15908 _ACEOF
15909 if ac_fn_c_try_link "$LINENO"; then :
15910 wine_cv_have_sigaddset=yes
15911 else
15912 wine_cv_have_sigaddset=no
15914 rm -f core conftest.err conftest.$ac_objext \
15915 conftest$ac_exeext conftest.$ac_ext
15917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15918 $as_echo "$wine_cv_have_sigaddset" >&6; }
15919 if test "$wine_cv_have_sigaddset" = "yes"
15920 then
15922 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15928 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15929 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15930 $as_echo_n "(cached) " >&6
15931 else
15932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15933 /* end confdefs.h. */
15934 #include <netdb.h>
15936 main ()
15939 char *name=0;
15940 struct hostent he;
15941 struct hostent *result;
15942 char *buf=0;
15943 int bufsize=0;
15944 int errnr;
15945 char *addr=0;
15946 int addrlen=0;
15947 int addrtype=0;
15948 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15949 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15952 return 0;
15954 _ACEOF
15955 if ac_fn_c_try_link "$LINENO"; then :
15956 wine_cv_linux_gethostbyname_r_6=yes
15957 else
15958 wine_cv_linux_gethostbyname_r_6=no
15961 rm -f core conftest.err conftest.$ac_objext \
15962 conftest$ac_exeext conftest.$ac_ext
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15966 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15967 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15968 then
15970 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15974 if test "$ac_cv_header_linux_joystick_h" = "yes"
15975 then
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15977 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15978 if ${wine_cv_linux_joystick_22_api+:} false; then :
15979 $as_echo_n "(cached) " >&6
15980 else
15981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15982 /* end confdefs.h. */
15984 #include <sys/ioctl.h>
15985 #include <sys/types.h>
15986 #include <linux/joystick.h>
15988 struct js_event blub;
15989 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15990 #error "no 2.2 header"
15991 #endif
15994 main ()
15996 /*empty*/
15998 return 0;
16000 _ACEOF
16001 if ac_fn_c_try_compile "$LINENO"; then :
16002 wine_cv_linux_joystick_22_api=yes
16003 else
16004 wine_cv_linux_joystick_22_api=no
16006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16010 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16011 if test "$wine_cv_linux_joystick_22_api" = "yes"
16012 then
16014 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16020 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16021 #ifdef HAVE_SYS_PARAM_H
16022 # include <sys/param.h>
16023 #endif
16024 #ifdef HAVE_SYS_MOUNT_H
16025 # include <sys/mount.h>
16026 #endif
16027 #ifdef HAVE_SYS_VFS_H
16028 # include <sys/vfs.h>
16029 #endif
16030 #ifdef HAVE_SYS_STATFS_H
16031 # include <sys/statfs.h>
16032 #endif
16034 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16036 cat >>confdefs.h <<_ACEOF
16037 #define HAVE_STRUCT_STATFS_F_BFREE 1
16038 _ACEOF
16042 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16043 #ifdef HAVE_SYS_PARAM_H
16044 # include <sys/param.h>
16045 #endif
16046 #ifdef HAVE_SYS_MOUNT_H
16047 # include <sys/mount.h>
16048 #endif
16049 #ifdef HAVE_SYS_VFS_H
16050 # include <sys/vfs.h>
16051 #endif
16052 #ifdef HAVE_SYS_STATFS_H
16053 # include <sys/statfs.h>
16054 #endif
16056 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16058 cat >>confdefs.h <<_ACEOF
16059 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16060 _ACEOF
16064 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16065 #ifdef HAVE_SYS_PARAM_H
16066 # include <sys/param.h>
16067 #endif
16068 #ifdef HAVE_SYS_MOUNT_H
16069 # include <sys/mount.h>
16070 #endif
16071 #ifdef HAVE_SYS_VFS_H
16072 # include <sys/vfs.h>
16073 #endif
16074 #ifdef HAVE_SYS_STATFS_H
16075 # include <sys/statfs.h>
16076 #endif
16078 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16080 cat >>confdefs.h <<_ACEOF
16081 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16082 _ACEOF
16086 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16087 #ifdef HAVE_SYS_PARAM_H
16088 # include <sys/param.h>
16089 #endif
16090 #ifdef HAVE_SYS_MOUNT_H
16091 # include <sys/mount.h>
16092 #endif
16093 #ifdef HAVE_SYS_VFS_H
16094 # include <sys/vfs.h>
16095 #endif
16096 #ifdef HAVE_SYS_STATFS_H
16097 # include <sys/statfs.h>
16098 #endif
16100 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16102 cat >>confdefs.h <<_ACEOF
16103 #define HAVE_STRUCT_STATFS_F_FFREE 1
16104 _ACEOF
16108 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16109 #ifdef HAVE_SYS_PARAM_H
16110 # include <sys/param.h>
16111 #endif
16112 #ifdef HAVE_SYS_MOUNT_H
16113 # include <sys/mount.h>
16114 #endif
16115 #ifdef HAVE_SYS_VFS_H
16116 # include <sys/vfs.h>
16117 #endif
16118 #ifdef HAVE_SYS_STATFS_H
16119 # include <sys/statfs.h>
16120 #endif
16122 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16124 cat >>confdefs.h <<_ACEOF
16125 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16126 _ACEOF
16130 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16131 #ifdef HAVE_SYS_PARAM_H
16132 # include <sys/param.h>
16133 #endif
16134 #ifdef HAVE_SYS_MOUNT_H
16135 # include <sys/mount.h>
16136 #endif
16137 #ifdef HAVE_SYS_VFS_H
16138 # include <sys/vfs.h>
16139 #endif
16140 #ifdef HAVE_SYS_STATFS_H
16141 # include <sys/statfs.h>
16142 #endif
16144 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16146 cat >>confdefs.h <<_ACEOF
16147 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16148 _ACEOF
16154 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16155 #include <sys/statvfs.h>
16156 #endif
16158 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16160 cat >>confdefs.h <<_ACEOF
16161 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16162 _ACEOF
16168 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16169 #include <dirent.h>
16170 #endif
16172 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16174 cat >>confdefs.h <<_ACEOF
16175 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16176 _ACEOF
16182 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16183 #ifdef HAVE_SYS_SOCKET_H
16184 # include <sys/socket.h>
16185 #endif
16186 #ifdef HAVE_SYS_UN_H
16187 # include <sys/un.h>
16188 #endif
16190 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16192 cat >>confdefs.h <<_ACEOF
16193 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16194 _ACEOF
16198 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16199 #ifdef HAVE_SYS_SOCKET_H
16200 # include <sys/socket.h>
16201 #endif
16202 #ifdef HAVE_SYS_UN_H
16203 # include <sys/un.h>
16204 #endif
16206 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16208 cat >>confdefs.h <<_ACEOF
16209 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16210 _ACEOF
16214 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16215 #ifdef HAVE_SYS_SOCKET_H
16216 # include <sys/socket.h>
16217 #endif
16218 #ifdef HAVE_SYS_UN_H
16219 # include <sys/un.h>
16220 #endif
16222 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16224 cat >>confdefs.h <<_ACEOF
16225 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16226 _ACEOF
16232 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16233 #ifdef HAVE_SCSI_SG_H
16234 #include <scsi/sg.h>
16235 #endif
16237 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16239 cat >>confdefs.h <<_ACEOF
16240 #define HAVE_SCSIREQ_T_CMD 1
16241 _ACEOF
16245 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>
16246 #ifdef HAVE_SCSI_SG_H
16247 #include <scsi/sg.h>
16248 #endif
16250 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16252 cat >>confdefs.h <<_ACEOF
16253 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16254 _ACEOF
16260 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16262 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16264 cat >>confdefs.h <<_ACEOF
16265 #define HAVE_SIGINFO_T_SI_FD 1
16266 _ACEOF
16272 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16273 #ifdef HAVE_SYS_MTIO_H
16274 #include <sys/mtio.h>
16275 #endif
16277 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16279 cat >>confdefs.h <<_ACEOF
16280 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16281 _ACEOF
16285 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16286 #ifdef HAVE_SYS_MTIO_H
16287 #include <sys/mtio.h>
16288 #endif
16290 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16292 cat >>confdefs.h <<_ACEOF
16293 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16294 _ACEOF
16298 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16299 #ifdef HAVE_SYS_MTIO_H
16300 #include <sys/mtio.h>
16301 #endif
16303 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16305 cat >>confdefs.h <<_ACEOF
16306 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16307 _ACEOF
16313 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16314 #include <getopt.h>
16315 #endif
16317 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16319 cat >>confdefs.h <<_ACEOF
16320 #define HAVE_STRUCT_OPTION_NAME 1
16321 _ACEOF
16327 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16328 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16330 cat >>confdefs.h <<_ACEOF
16331 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16332 _ACEOF
16336 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16337 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16339 cat >>confdefs.h <<_ACEOF
16340 #define HAVE_STRUCT_STAT_ST_MTIM 1
16341 _ACEOF
16345 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16346 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16348 cat >>confdefs.h <<_ACEOF
16349 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16350 _ACEOF
16354 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16355 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16357 cat >>confdefs.h <<_ACEOF
16358 #define HAVE_STRUCT_STAT_ST_CTIM 1
16359 _ACEOF
16363 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16364 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16366 cat >>confdefs.h <<_ACEOF
16367 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16368 _ACEOF
16372 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16373 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16375 cat >>confdefs.h <<_ACEOF
16376 #define HAVE_STRUCT_STAT_ST_ATIM 1
16377 _ACEOF
16381 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16382 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16384 cat >>confdefs.h <<_ACEOF
16385 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16386 _ACEOF
16390 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16391 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16393 cat >>confdefs.h <<_ACEOF
16394 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16395 _ACEOF
16399 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16400 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16402 cat >>confdefs.h <<_ACEOF
16403 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16404 _ACEOF
16408 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16409 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16411 cat >>confdefs.h <<_ACEOF
16412 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16413 _ACEOF
16417 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16418 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16420 cat >>confdefs.h <<_ACEOF
16421 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16422 _ACEOF
16426 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16427 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16429 cat >>confdefs.h <<_ACEOF
16430 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16431 _ACEOF
16437 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
16438 #include <sys/types.h>
16439 #endif
16440 #ifdef HAVE_NETINET_IN_H
16441 #include <netinet/in.h>
16442 #endif
16444 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16446 cat >>confdefs.h <<_ACEOF
16447 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16448 _ACEOF
16454 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16455 #include <resolv.h>
16456 #endif
16458 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16460 cat >>confdefs.h <<_ACEOF
16461 #define HAVE_STRUCT___RES_STATE 1
16462 _ACEOF
16468 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
16469 #include <resolv.h>
16470 #endif
16472 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16474 cat >>confdefs.h <<_ACEOF
16475 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16476 _ACEOF
16482 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16483 #include <sys/types.h>
16484 #endif
16485 #ifdef HAVE_NETINET_IN_H
16486 # include <netinet/in.h>
16487 #endif
16488 #ifdef HAVE_ARPA_NAMESER_H
16489 # include <arpa/nameser.h>
16490 #endif
16492 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16494 cat >>confdefs.h <<_ACEOF
16495 #define HAVE_NS_MSG__MSG_PTR 1
16496 _ACEOF
16502 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16503 #include <sys/types.h>
16504 #endif
16505 #ifdef HAVE_NETINET_IP_H
16506 #include <netinet/ip.h>
16507 #endif
16508 #ifdef HAVE_NETINET_IP_ICMP_H
16509 #include <netinet/ip_icmp.h>
16510 #endif
16511 #ifdef HAVE_NETINET_ICMP_VAR_H
16512 #include <netinet/icmp_var.h>
16513 #endif
16515 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16517 cat >>confdefs.h <<_ACEOF
16518 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16519 _ACEOF
16525 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16526 #include <sys/types.h>
16527 #endif
16528 #ifdef HAVE_ALIAS_H
16529 #include <alias.h>
16530 #endif
16531 #ifdef HAVE_SYS_SOCKET_H
16532 #include <sys/socket.h>
16533 #endif
16534 #ifdef HAVE_SYS_SOCKETVAR_H
16535 #include <sys/socketvar.h>
16536 #endif
16537 #ifdef HAVE_SYS_TIMEOUT_H
16538 #include <sys/timeout.h>
16539 #endif
16540 #ifdef HAVE_NETINET_IN_H
16541 #include <netinet/in.h>
16542 #endif
16543 #ifdef HAVE_NETINET_IN_SYSTM_H
16544 #include <netinet/in_systm.h>
16545 #endif
16546 #ifdef HAVE_NETINET_IP_H
16547 #include <netinet/ip.h>
16548 #endif
16549 #ifdef HAVE_NETINET_IP_VAR_H
16550 #include <netinet/ip_var.h>
16551 #endif
16552 #ifdef HAVE_NETINET_IP_ICMP_H
16553 #include <netinet/ip_icmp.h>
16554 #endif
16555 #ifdef HAVE_NETINET_ICMP_VAR_H
16556 #include <netinet/icmp_var.h>
16557 #endif
16559 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16561 cat >>confdefs.h <<_ACEOF
16562 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16563 _ACEOF
16569 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16570 #include <sys/types.h>
16571 #endif
16572 #ifdef HAVE_SYS_SOCKETVAR_H
16573 #include <sys/socketvar.h>
16574 #endif
16575 #ifdef HAVE_NETINET_IN_H
16576 #include <netinet/in.h>
16577 #endif
16578 #ifdef HAVE_NETINET_IP_VAR_H
16579 #include <netinet/ip_var.h>
16580 #endif
16582 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16584 cat >>confdefs.h <<_ACEOF
16585 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16586 _ACEOF
16592 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
16593 #include <netinet/ip_var.h>
16594 #endif
16596 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16598 cat >>confdefs.h <<_ACEOF
16599 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16600 _ACEOF
16606 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16607 #include <sys/types.h>
16608 #endif
16609 #ifdef HAVE_SYS_SOCKETVAR_H
16610 #include <sys/socketvar.h>
16611 #endif
16612 #ifdef HAVE_NETINET_IN_H
16613 #include <netinet/in.h>
16614 #endif
16615 #ifdef HAVE_NETINET_TCP_H
16616 #include <netinet/tcp.h>
16617 #endif
16618 #ifdef HAVE_NETINET_TCP_VAR_H
16619 #include <netinet/tcp_var.h>
16620 #endif
16622 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16624 cat >>confdefs.h <<_ACEOF
16625 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16626 _ACEOF
16632 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
16633 #include <netinet/tcp_var.h>
16634 #endif
16636 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16638 cat >>confdefs.h <<_ACEOF
16639 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16640 _ACEOF
16646 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16647 #include <sys/types.h>
16648 #endif
16649 #ifdef HAVE_NETINET_IN_H
16650 #include <netinet/in.h>
16651 #endif
16652 #ifdef HAVE_NETINET_IP_VAR_H
16653 #include <netinet/ip_var.h>
16654 #endif
16655 #ifdef HAVE_NETINET_UDP_H
16656 #include <netinet/udp.h>
16657 #endif
16658 #ifdef HAVE_NETINET_UDP_VAR_H
16659 #include <netinet/udp_var.h>
16660 #endif
16662 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16664 cat >>confdefs.h <<_ACEOF
16665 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16666 _ACEOF
16672 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16673 #include <sys/types.h>
16674 #endif
16675 #ifdef HAVE_NET_IF_H
16676 # include <net/if.h>
16677 #endif
16679 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16681 cat >>confdefs.h <<_ACEOF
16682 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16683 _ACEOF
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16690 $as_echo_n "checking for timezone variable... " >&6; }
16691 if ${ac_cv_have_timezone+:} false; then :
16692 $as_echo_n "(cached) " >&6
16693 else
16694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16695 /* end confdefs.h. */
16696 #include <time.h>
16698 main ()
16700 timezone = 1
16702 return 0;
16704 _ACEOF
16705 if ac_fn_c_try_link "$LINENO"; then :
16706 ac_cv_have_timezone="yes"
16707 else
16708 ac_cv_have_timezone="no"
16710 rm -f core conftest.err conftest.$ac_objext \
16711 conftest$ac_exeext conftest.$ac_ext
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16714 $as_echo "$ac_cv_have_timezone" >&6; }
16715 if test "$ac_cv_have_timezone" = "yes"
16716 then
16718 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16722 $as_echo_n "checking for daylight variable... " >&6; }
16723 if ${ac_cv_have_daylight+:} false; then :
16724 $as_echo_n "(cached) " >&6
16725 else
16726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16727 /* end confdefs.h. */
16728 #include <time.h>
16730 main ()
16732 daylight = 1
16734 return 0;
16736 _ACEOF
16737 if ac_fn_c_try_link "$LINENO"; then :
16738 ac_cv_have_daylight="yes"
16739 else
16740 ac_cv_have_daylight="no"
16742 rm -f core conftest.err conftest.$ac_objext \
16743 conftest$ac_exeext conftest.$ac_ext
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16746 $as_echo "$ac_cv_have_daylight" >&6; }
16747 if test "$ac_cv_have_daylight" = "yes"
16748 then
16750 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16754 ac_save_LIBS="$LIBS"
16755 LIBS="$LIBS -lm"
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16757 $as_echo_n "checking for isfinite... " >&6; }
16758 if ${ac_cv_have_isfinite+:} false; then :
16759 $as_echo_n "(cached) " >&6
16760 else
16761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16762 /* end confdefs.h. */
16763 #define _GNU_SOURCE
16764 #include <math.h>
16766 main ()
16768 float f = 0.0; return isfinite(f)
16770 return 0;
16772 _ACEOF
16773 if ac_fn_c_try_link "$LINENO"; then :
16774 ac_cv_have_isfinite="yes"
16775 else
16776 ac_cv_have_isfinite="no"
16778 rm -f core conftest.err conftest.$ac_objext \
16779 conftest$ac_exeext conftest.$ac_ext
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16782 $as_echo "$ac_cv_have_isfinite" >&6; }
16783 if test "$ac_cv_have_isfinite" = "yes"
16784 then
16786 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16791 $as_echo_n "checking for isinf... " >&6; }
16792 if ${ac_cv_have_isinf+:} false; then :
16793 $as_echo_n "(cached) " >&6
16794 else
16795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16796 /* end confdefs.h. */
16797 #include <math.h>
16799 main ()
16801 float f = 0.0; return isinf(f)
16803 return 0;
16805 _ACEOF
16806 if ac_fn_c_try_link "$LINENO"; then :
16807 ac_cv_have_isinf="yes"
16808 else
16809 ac_cv_have_isinf="no"
16811 rm -f core conftest.err conftest.$ac_objext \
16812 conftest$ac_exeext conftest.$ac_ext
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16815 $as_echo "$ac_cv_have_isinf" >&6; }
16816 if test "$ac_cv_have_isinf" = "yes"
16817 then
16819 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16824 $as_echo_n "checking for isnan... " >&6; }
16825 if ${ac_cv_have_isnan+:} false; then :
16826 $as_echo_n "(cached) " >&6
16827 else
16828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h. */
16830 #include <math.h>
16832 main ()
16834 float f = 0.0; return isnan(f)
16836 return 0;
16838 _ACEOF
16839 if ac_fn_c_try_link "$LINENO"; then :
16840 ac_cv_have_isnan="yes"
16841 else
16842 ac_cv_have_isnan="no"
16844 rm -f core conftest.err conftest.$ac_objext \
16845 conftest$ac_exeext conftest.$ac_ext
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16848 $as_echo "$ac_cv_have_isnan" >&6; }
16849 if test "$ac_cv_have_isnan" = "yes"
16850 then
16852 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16856 for ac_func in \
16857 cbrt \
16858 cbrtf \
16859 erf \
16860 erff \
16861 exp2 \
16862 exp2f \
16863 llrint \
16864 llrintf \
16865 llround \
16866 llroundf \
16867 log2 \
16868 log2f \
16869 lrint \
16870 lrintf \
16871 lround \
16872 lroundf \
16873 rint \
16874 rintf \
16875 round \
16876 roundf \
16877 trunc \
16878 truncf
16880 do :
16881 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16882 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16883 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16884 cat >>confdefs.h <<_ACEOF
16885 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16886 _ACEOF
16889 done
16891 LIBS="$ac_save_LIBS"
16893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16894 $as_echo_n "checking for __builtin_clz... " >&6; }
16895 if ${ac_cv_have___builtin_clz+:} false; then :
16896 $as_echo_n "(cached) " >&6
16897 else
16898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16899 /* end confdefs.h. */
16902 main ()
16904 return __builtin_clz(1)
16906 return 0;
16908 _ACEOF
16909 if ac_fn_c_try_link "$LINENO"; then :
16910 ac_cv_have___builtin_clz="yes"
16911 else
16912 ac_cv_have___builtin_clz="no"
16914 rm -f core conftest.err conftest.$ac_objext \
16915 conftest$ac_exeext conftest.$ac_ext
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16918 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16919 if test "$ac_cv_have___builtin_clz" = "yes"
16920 then
16922 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16927 $as_echo_n "checking for __builtin_popcount... " >&6; }
16928 if ${ac_cv_have___builtin_popcount+:} false; then :
16929 $as_echo_n "(cached) " >&6
16930 else
16931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16932 /* end confdefs.h. */
16935 main ()
16937 return __builtin_popcount(1)
16939 return 0;
16941 _ACEOF
16942 if ac_fn_c_try_link "$LINENO"; then :
16943 ac_cv_have___builtin_popcount="yes"
16944 else
16945 ac_cv_have___builtin_popcount="no"
16947 rm -f core conftest.err conftest.$ac_objext \
16948 conftest$ac_exeext conftest.$ac_ext
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
16951 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
16952 if test "$ac_cv_have___builtin_popcount" = "yes"
16953 then
16955 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
16960 case $host_cpu in
16961 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16962 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16963 if ${ac_cv_cpp_def___i386__+:} false; then :
16964 $as_echo_n "(cached) " >&6
16965 else
16966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16967 /* end confdefs.h. */
16968 #ifndef __i386__
16970 #endif
16971 _ACEOF
16972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16973 $EGREP "yes" >/dev/null 2>&1; then :
16974 ac_cv_cpp_def___i386__=yes
16975 else
16976 ac_cv_cpp_def___i386__=no
16978 rm -f conftest*
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16982 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16983 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16984 CFLAGS="$CFLAGS -D__i386__"
16985 LINTFLAGS="$LINTFLAGS -D__i386__"
16986 fi ;;
16987 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16988 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16989 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16990 $as_echo_n "(cached) " >&6
16991 else
16992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16994 #ifndef __x86_64__
16996 #endif
16997 _ACEOF
16998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16999 $EGREP "yes" >/dev/null 2>&1; then :
17000 ac_cv_cpp_def___x86_64__=yes
17001 else
17002 ac_cv_cpp_def___x86_64__=no
17004 rm -f conftest*
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17008 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17009 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17010 CFLAGS="$CFLAGS -D__x86_64__"
17011 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17012 fi ;;
17013 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17014 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17015 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17016 $as_echo_n "(cached) " >&6
17017 else
17018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17019 /* end confdefs.h. */
17020 #ifndef __sparc64__
17022 #endif
17023 _ACEOF
17024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17025 $EGREP "yes" >/dev/null 2>&1; then :
17026 ac_cv_cpp_def___sparc64__=yes
17027 else
17028 ac_cv_cpp_def___sparc64__=no
17030 rm -f conftest*
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17034 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17035 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17036 CFLAGS="$CFLAGS -D__sparc64__"
17037 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17038 fi ;;
17039 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17040 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17041 if ${ac_cv_cpp_def___sparc__+:} false; then :
17042 $as_echo_n "(cached) " >&6
17043 else
17044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17045 /* end confdefs.h. */
17046 #ifndef __sparc__
17048 #endif
17049 _ACEOF
17050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17051 $EGREP "yes" >/dev/null 2>&1; then :
17052 ac_cv_cpp_def___sparc__=yes
17053 else
17054 ac_cv_cpp_def___sparc__=no
17056 rm -f conftest*
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17060 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17061 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17062 CFLAGS="$CFLAGS -D__sparc__"
17063 LINTFLAGS="$LINTFLAGS -D__sparc__"
17064 fi ;;
17065 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17066 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17067 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17068 $as_echo_n "(cached) " >&6
17069 else
17070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17071 /* end confdefs.h. */
17072 #ifndef __powerpc64__
17074 #endif
17075 _ACEOF
17076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17077 $EGREP "yes" >/dev/null 2>&1; then :
17078 ac_cv_cpp_def___powerpc64__=yes
17079 else
17080 ac_cv_cpp_def___powerpc64__=no
17082 rm -f conftest*
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17086 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17087 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17088 CFLAGS="$CFLAGS -D__powerpc64__"
17089 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17090 fi ;;
17091 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17092 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17093 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17094 $as_echo_n "(cached) " >&6
17095 else
17096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17097 /* end confdefs.h. */
17098 #ifndef __powerpc__
17100 #endif
17101 _ACEOF
17102 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17103 $EGREP "yes" >/dev/null 2>&1; then :
17104 ac_cv_cpp_def___powerpc__=yes
17105 else
17106 ac_cv_cpp_def___powerpc__=no
17108 rm -f conftest*
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17112 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17113 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17114 CFLAGS="$CFLAGS -D__powerpc__"
17115 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17116 fi ;;
17117 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17118 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17119 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17120 $as_echo_n "(cached) " >&6
17121 else
17122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17123 /* end confdefs.h. */
17124 #ifndef __aarch64__
17126 #endif
17127 _ACEOF
17128 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17129 $EGREP "yes" >/dev/null 2>&1; then :
17130 ac_cv_cpp_def___aarch64__=yes
17131 else
17132 ac_cv_cpp_def___aarch64__=no
17134 rm -f conftest*
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17138 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17139 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17140 CFLAGS="$CFLAGS -D__aarch64__"
17141 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17142 fi ;;
17143 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17144 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17145 if ${ac_cv_cpp_def___arm__+:} false; then :
17146 $as_echo_n "(cached) " >&6
17147 else
17148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17149 /* end confdefs.h. */
17150 #ifndef __arm__
17152 #endif
17153 _ACEOF
17154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17155 $EGREP "yes" >/dev/null 2>&1; then :
17156 ac_cv_cpp_def___arm__=yes
17157 else
17158 ac_cv_cpp_def___arm__=no
17160 rm -f conftest*
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17164 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17165 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17166 CFLAGS="$CFLAGS -D__arm__"
17167 LINTFLAGS="$LINTFLAGS -D__arm__"
17168 fi ;;
17169 esac
17171 case $host_vendor in
17172 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17173 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17174 if ${ac_cv_cpp_def___sun__+:} false; then :
17175 $as_echo_n "(cached) " >&6
17176 else
17177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17178 /* end confdefs.h. */
17179 #ifndef __sun__
17181 #endif
17182 _ACEOF
17183 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17184 $EGREP "yes" >/dev/null 2>&1; then :
17185 ac_cv_cpp_def___sun__=yes
17186 else
17187 ac_cv_cpp_def___sun__=no
17189 rm -f conftest*
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17193 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17194 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17195 CFLAGS="$CFLAGS -D__sun__"
17196 LINTFLAGS="$LINTFLAGS -D__sun__"
17197 fi ;;
17198 esac
17204 ac_config_commands="$ac_config_commands include/stamp-h"
17206 $as_echo_n "creating Makefile rules..." >&6
17208 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17209 SOCKET_LIBS = $SOCKET_LIBS
17210 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17211 IOKIT_LIBS = $IOKIT_LIBS
17212 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17213 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17214 CORESERVICES_LIBS = $CORESERVICES_LIBS
17215 APPKIT_LIBS = $APPKIT_LIBS
17216 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17217 SECURITY_LIBS = $SECURITY_LIBS
17218 COREAUDIO_LIBS = $COREAUDIO_LIBS
17219 OPENAL_LIBS = $OPENAL_LIBS
17220 OPENCL_LIBS = $OPENCL_LIBS
17221 QUICKTIME_LIBS = $QUICKTIME_LIBS
17222 CARBON_LIBS = $CARBON_LIBS
17223 PTHREAD_LIBS = $PTHREAD_LIBS
17224 X_CFLAGS = $X_CFLAGS
17225 X_PRE_LIBS = $X_PRE_LIBS
17226 X_LIBS = $X_LIBS
17227 X_EXTRA_LIBS = $X_EXTRA_LIBS
17228 PCAP_LIBS = $PCAP_LIBS
17229 XML2_CFLAGS = $XML2_CFLAGS
17230 XML2_LIBS = $XML2_LIBS
17231 XSLT_CFLAGS = $XSLT_CFLAGS
17232 XSLT_LIBS = $XSLT_LIBS
17233 DBUS_CFLAGS = $DBUS_CFLAGS
17234 DBUS_LIBS = $DBUS_LIBS
17235 HAL_CFLAGS = $HAL_CFLAGS
17236 HAL_LIBS = $HAL_LIBS
17237 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17238 GNUTLS_LIBS = $GNUTLS_LIBS
17239 SANE_CFLAGS = $SANE_CFLAGS
17240 SANE_LIBS = $SANE_LIBS
17241 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17242 GPHOTO2_LIBS = $GPHOTO2_LIBS
17243 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17244 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17245 RESOLV_LIBS = $RESOLV_LIBS
17246 LCMS2_CFLAGS = $LCMS2_CFLAGS
17247 LCMS2_LIBS = $LCMS2_LIBS
17248 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17249 FREETYPE_LIBS = $FREETYPE_LIBS
17250 Z_LIBS = $Z_LIBS
17251 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17252 PULSE_CFLAGS = $PULSE_CFLAGS
17253 PULSE_LIBS = $PULSE_LIBS
17254 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17255 GSTREAMER_LIBS = $GSTREAMER_LIBS
17256 ALSA_LIBS = $ALSA_LIBS
17257 OSS4_CFLAGS = $OSS4_CFLAGS
17258 CAPI20_CFLAGS = $CAPI20_CFLAGS
17259 CAPI20_LIBS = $CAPI20_LIBS
17260 CUPS_CFLAGS = $CUPS_CFLAGS
17261 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17262 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17263 JPEG_CFLAGS = $JPEG_CFLAGS
17264 JPEG_LIBS = $JPEG_LIBS
17265 PNG_CFLAGS = $PNG_CFLAGS
17266 PNG_LIBS = $PNG_LIBS
17267 TIFF_CFLAGS = $TIFF_CFLAGS
17268 TIFF_LIBS = $TIFF_LIBS
17269 MPG123_CFLAGS = $MPG123_CFLAGS
17270 MPG123_LIBS = $MPG123_LIBS
17271 KSTAT_LIBS = $KSTAT_LIBS
17272 PROCSTAT_LIBS = $PROCSTAT_LIBS
17273 NETAPI_CFLAGS = $NETAPI_CFLAGS
17274 NETAPI_LIBS = $NETAPI_LIBS
17275 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17276 DL_LIBS = $DL_LIBS
17277 POLL_LIBS = $POLL_LIBS
17278 RT_LIBS = $RT_LIBS
17279 LDAP_LIBS = $LDAP_LIBS
17284 wine_fn_append_rule "
17285 # Rules automatically generated by configure
17287 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17289 .INIT: Makefile
17290 .MAKEFILEDEPS:
17291 all: Makefile
17292 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17293 @./config.status Make.tmp Makefile
17294 depend: \$(MAKEDEP) dummy
17295 \$(MAKEDEP)"
17297 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17298 .gitignore: config.status
17299 @./config.status .gitignore"
17301 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17302 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17304 if test "x$enable_fonts" != xno; then
17305 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17306 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17307 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17308 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17309 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17310 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17312 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17313 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17314 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17315 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17316 ac_config_links="$ac_config_links wine:tools/winewrapper"
17317 wine_fn_config_symlink wine
17318 if test "x$enable_win64" != xno; then
17319 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17320 wine_fn_config_symlink wine64
17323 wine_fn_config_dll acledit enable_acledit
17324 wine_fn_config_dll aclui enable_aclui implib
17325 wine_fn_config_dll activeds enable_activeds implib
17326 wine_fn_config_dll actxprxy enable_actxprxy clean
17327 wine_fn_config_lib adsiid
17328 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17329 wine_fn_config_test dlls/advapi32/tests advapi32_test
17330 wine_fn_config_dll advpack enable_advpack implib
17331 wine_fn_config_test dlls/advpack/tests advpack_test
17332 wine_fn_config_dll amstream enable_amstream clean
17333 wine_fn_config_test dlls/amstream/tests amstream_test
17334 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17335 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17336 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17337 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17338 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17339 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17340 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17341 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17342 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17343 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17344 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17345 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17346 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17347 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17348 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17349 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17350 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17351 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17352 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17353 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17354 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17355 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17356 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17357 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17358 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17359 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17360 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17361 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17362 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17363 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17364 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17365 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17366 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17367 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17368 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17369 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17370 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17371 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17372 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17373 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17374 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17375 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17376 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17377 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17378 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17379 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17380 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17381 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17382 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17383 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17384 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17385 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17386 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17387 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17388 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17389 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17390 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17391 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17392 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17393 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17394 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17395 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17396 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17397 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17398 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17399 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17400 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17401 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17402 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17403 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17404 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17405 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17406 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17407 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17408 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17409 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17410 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17411 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17412 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17413 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17414 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17415 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17416 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17417 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17418 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17419 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17420 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17421 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17422 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17423 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17424 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17425 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17426 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17427 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17428 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17429 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17430 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17431 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17432 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17433 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17434 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17435 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17436 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17437 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17438 wine_fn_config_dll apphelp enable_apphelp
17439 wine_fn_config_test dlls/apphelp/tests apphelp_test
17440 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17441 wine_fn_config_dll atl enable_atl clean,implib
17442 wine_fn_config_test dlls/atl/tests atl_test
17443 wine_fn_config_dll atl100 enable_atl100 clean,implib
17444 wine_fn_config_test dlls/atl100/tests atl100_test
17445 wine_fn_config_dll atl110 enable_atl110 clean
17446 wine_fn_config_dll atl80 enable_atl80 clean,implib
17447 wine_fn_config_test dlls/atl80/tests atl80_test
17448 wine_fn_config_dll atl90 enable_atl90 clean
17449 wine_fn_config_dll authz enable_authz
17450 wine_fn_config_dll avicap32 enable_avicap32 implib
17451 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17452 wine_fn_config_test dlls/avifil32/tests avifil32_test
17453 wine_fn_config_dll avifile.dll16 enable_win16
17454 wine_fn_config_dll avrt enable_avrt implib
17455 wine_fn_config_dll bcrypt enable_bcrypt implib
17456 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17457 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17458 wine_fn_config_dll browseui enable_browseui clean,po
17459 wine_fn_config_test dlls/browseui/tests browseui_test
17460 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17461 wine_fn_config_dll cabinet enable_cabinet implib
17462 wine_fn_config_test dlls/cabinet/tests cabinet_test
17463 wine_fn_config_dll capi2032 enable_capi2032 implib
17464 wine_fn_config_dll cards enable_cards implib
17465 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17466 wine_fn_config_dll clusapi enable_clusapi implib
17467 wine_fn_config_dll combase enable_combase
17468 wine_fn_config_test dlls/combase/tests combase_test
17469 wine_fn_config_dll comcat enable_comcat
17470 wine_fn_config_test dlls/comcat/tests comcat_test
17471 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17472 wine_fn_config_test dlls/comctl32/tests comctl32_test
17473 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17474 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17475 wine_fn_config_dll comm.drv16 enable_win16
17476 wine_fn_config_dll commdlg.dll16 enable_win16
17477 wine_fn_config_dll compobj.dll16 enable_win16
17478 wine_fn_config_dll compstui enable_compstui implib
17479 wine_fn_config_dll comsvcs enable_comsvcs implib
17480 wine_fn_config_dll connect enable_connect
17481 wine_fn_config_dll credui enable_credui implib,po
17482 wine_fn_config_test dlls/credui/tests credui_test
17483 wine_fn_config_dll crtdll enable_crtdll implib
17484 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17485 wine_fn_config_test dlls/crypt32/tests crypt32_test
17486 wine_fn_config_dll cryptdlg enable_cryptdlg po
17487 wine_fn_config_dll cryptdll enable_cryptdll implib
17488 wine_fn_config_dll cryptext enable_cryptext
17489 wine_fn_config_dll cryptnet enable_cryptnet implib
17490 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17491 wine_fn_config_dll cryptui enable_cryptui implib,po
17492 wine_fn_config_test dlls/cryptui/tests cryptui_test
17493 wine_fn_config_dll ctapi32 enable_ctapi32
17494 wine_fn_config_dll ctl3d.dll16 enable_win16
17495 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17496 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17497 wine_fn_config_dll d2d1 enable_d2d1 implib
17498 wine_fn_config_test dlls/d2d1/tests d2d1_test
17499 wine_fn_config_dll d3d10 enable_d3d10 implib
17500 wine_fn_config_test dlls/d3d10/tests d3d10_test
17501 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17502 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17503 wine_fn_config_dll d3d10core enable_d3d10core implib
17504 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17505 wine_fn_config_dll d3d11 enable_d3d11 implib
17506 wine_fn_config_test dlls/d3d11/tests d3d11_test
17507 wine_fn_config_dll d3d8 enable_d3d8 implib
17508 wine_fn_config_test dlls/d3d8/tests d3d8_test
17509 wine_fn_config_dll d3d9 enable_d3d9 implib
17510 wine_fn_config_test dlls/d3d9/tests d3d9_test
17511 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17512 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17513 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17514 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17515 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17516 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17517 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17518 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17519 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17520 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17521 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17522 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17523 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17524 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17525 wine_fn_config_dll d3dim enable_d3dim implib
17526 wine_fn_config_dll d3drm enable_d3drm implib
17527 wine_fn_config_test dlls/d3drm/tests d3drm_test
17528 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17529 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17530 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17531 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17532 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17533 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17534 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17535 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17536 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17537 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17538 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17539 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17540 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17541 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17542 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17543 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17544 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17545 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17546 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17547 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17548 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17549 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17550 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17551 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17552 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17553 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17554 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17555 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17556 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17557 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17558 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17559 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17560 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17561 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17562 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17563 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17564 wine_fn_config_dll davclnt enable_davclnt
17565 wine_fn_config_dll dbgeng enable_dbgeng implib
17566 wine_fn_config_dll dbghelp enable_dbghelp implib
17567 wine_fn_config_dll dciman32 enable_dciman32 implib
17568 wine_fn_config_dll ddeml.dll16 enable_win16
17569 wine_fn_config_dll ddraw enable_ddraw clean,implib
17570 wine_fn_config_test dlls/ddraw/tests ddraw_test
17571 wine_fn_config_dll ddrawex enable_ddrawex clean
17572 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17573 wine_fn_config_dll devenum enable_devenum clean,po
17574 wine_fn_config_test dlls/devenum/tests devenum_test
17575 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17576 wine_fn_config_dll difxapi enable_difxapi
17577 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17578 wine_fn_config_test dlls/dinput/tests dinput_test
17579 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17580 wine_fn_config_test dlls/dinput8/tests dinput8_test
17581 wine_fn_config_dll dispdib.dll16 enable_win16
17582 wine_fn_config_dll dispex enable_dispex clean
17583 wine_fn_config_test dlls/dispex/tests dispex_test
17584 wine_fn_config_dll display.drv16 enable_win16
17585 wine_fn_config_dll dmband enable_dmband clean
17586 wine_fn_config_test dlls/dmband/tests dmband_test
17587 wine_fn_config_dll dmcompos enable_dmcompos clean
17588 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17589 wine_fn_config_dll dmime enable_dmime clean
17590 wine_fn_config_test dlls/dmime/tests dmime_test
17591 wine_fn_config_dll dmloader enable_dmloader clean
17592 wine_fn_config_test dlls/dmloader/tests dmloader_test
17593 wine_fn_config_dll dmscript enable_dmscript clean
17594 wine_fn_config_test dlls/dmscript/tests dmscript_test
17595 wine_fn_config_dll dmstyle enable_dmstyle clean
17596 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17597 wine_fn_config_dll dmsynth enable_dmsynth clean
17598 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17599 wine_fn_config_dll dmusic enable_dmusic clean
17600 wine_fn_config_test dlls/dmusic/tests dmusic_test
17601 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17602 wine_fn_config_dll dnsapi enable_dnsapi implib
17603 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17604 wine_fn_config_dll dplay enable_dplay implib
17605 wine_fn_config_dll dplayx enable_dplayx clean,implib
17606 wine_fn_config_test dlls/dplayx/tests dplayx_test
17607 wine_fn_config_dll dpnaddr enable_dpnaddr
17608 wine_fn_config_dll dpnet enable_dpnet clean,implib
17609 wine_fn_config_test dlls/dpnet/tests dpnet_test
17610 wine_fn_config_dll dpnhpast enable_dpnhpast
17611 wine_fn_config_dll dpnlobby enable_dpnlobby
17612 wine_fn_config_dll dpvoice enable_dpvoice clean
17613 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17614 wine_fn_config_dll dpwsockx enable_dpwsockx
17615 wine_fn_config_dll drmclien enable_drmclien
17616 wine_fn_config_dll dsound enable_dsound clean,implib
17617 wine_fn_config_test dlls/dsound/tests dsound_test
17618 wine_fn_config_dll dssenh enable_dssenh
17619 wine_fn_config_test dlls/dssenh/tests dssenh_test
17620 wine_fn_config_dll dswave enable_dswave clean
17621 wine_fn_config_test dlls/dswave/tests dswave_test
17622 wine_fn_config_dll dwmapi enable_dwmapi implib
17623 wine_fn_config_dll dwrite enable_dwrite implib
17624 wine_fn_config_test dlls/dwrite/tests dwrite_test
17625 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17626 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17627 wine_fn_config_lib dxerr8
17628 wine_fn_config_lib dxerr9
17629 wine_fn_config_dll dxgi enable_dxgi implib
17630 wine_fn_config_test dlls/dxgi/tests dxgi_test
17631 wine_fn_config_lib dxguid
17632 wine_fn_config_dll dxva2 enable_dxva2
17633 wine_fn_config_dll esent enable_esent
17634 wine_fn_config_dll evr enable_evr
17635 wine_fn_config_dll explorerframe enable_explorerframe clean
17636 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17637 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17638 wine_fn_config_dll faultrep enable_faultrep implib
17639 wine_fn_config_test dlls/faultrep/tests faultrep_test
17640 wine_fn_config_dll fltlib enable_fltlib
17641 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17642 wine_fn_config_dll fntcache enable_fntcache
17643 wine_fn_config_dll fontsub enable_fontsub
17644 wine_fn_config_dll fusion enable_fusion
17645 wine_fn_config_test dlls/fusion/tests fusion_test
17646 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17647 wine_fn_config_dll gameux enable_gameux clean
17648 wine_fn_config_test dlls/gameux/tests gameux_test
17649 wine_fn_config_dll gdi.exe16 enable_win16
17650 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17651 wine_fn_config_test dlls/gdi32/tests gdi32_test
17652 wine_fn_config_dll gdiplus enable_gdiplus implib
17653 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17654 wine_fn_config_dll glu32 enable_glu32 implib
17655 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17656 wine_fn_config_dll gpkcsp enable_gpkcsp
17657 wine_fn_config_dll hal enable_hal
17658 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17659 wine_fn_config_dll hid enable_hid implib
17660 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17661 wine_fn_config_dll hlink enable_hlink clean,implib
17662 wine_fn_config_test dlls/hlink/tests hlink_test
17663 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17664 wine_fn_config_dll httpapi enable_httpapi
17665 wine_fn_config_dll iccvid enable_iccvid po
17666 wine_fn_config_dll icmp enable_icmp
17667 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17668 wine_fn_config_test dlls/ieframe/tests ieframe_test
17669 wine_fn_config_dll ifsmgr.vxd enable_win16
17670 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17671 wine_fn_config_dll imagehlp enable_imagehlp implib
17672 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17673 wine_fn_config_dll imm.dll16 enable_win16
17674 wine_fn_config_dll imm32 enable_imm32 implib
17675 wine_fn_config_test dlls/imm32/tests imm32_test
17676 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17677 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17678 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17679 wine_fn_config_dll inetmib1 enable_inetmib1
17680 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17681 wine_fn_config_dll infosoft enable_infosoft clean
17682 wine_fn_config_test dlls/infosoft/tests infosoft_test
17683 wine_fn_config_dll initpki enable_initpki
17684 wine_fn_config_dll inkobj enable_inkobj
17685 wine_fn_config_dll inseng enable_inseng clean
17686 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17687 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17688 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17689 wine_fn_config_dll itircl enable_itircl
17690 wine_fn_config_dll itss enable_itss clean
17691 wine_fn_config_test dlls/itss/tests itss_test
17692 wine_fn_config_dll joy.cpl enable_joy_cpl po
17693 wine_fn_config_dll jscript enable_jscript clean,po
17694 wine_fn_config_test dlls/jscript/tests jscript_test
17695 wine_fn_config_dll jsproxy enable_jsproxy implib
17696 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17697 wine_fn_config_test dlls/kernel32/tests kernel32_test
17698 wine_fn_config_dll keyboard.drv16 enable_win16
17699 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17700 wine_fn_config_dll ksuser enable_ksuser
17701 wine_fn_config_dll ktmw32 enable_ktmw32
17702 wine_fn_config_dll loadperf enable_loadperf implib
17703 wine_fn_config_dll localspl enable_localspl po
17704 wine_fn_config_test dlls/localspl/tests localspl_test
17705 wine_fn_config_dll localui enable_localui po
17706 wine_fn_config_test dlls/localui/tests localui_test
17707 wine_fn_config_dll lz32 enable_lz32 implib
17708 wine_fn_config_test dlls/lz32/tests lz32_test
17709 wine_fn_config_dll lzexpand.dll16 enable_win16
17710 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17711 wine_fn_config_test dlls/mapi32/tests mapi32_test
17712 wine_fn_config_dll mapistub enable_mapistub
17713 wine_fn_config_dll mciavi32 enable_mciavi32
17714 wine_fn_config_dll mcicda enable_mcicda
17715 wine_fn_config_dll mciqtz32 enable_mciqtz32
17716 wine_fn_config_dll mciseq enable_mciseq
17717 wine_fn_config_dll mciwave enable_mciwave
17718 wine_fn_config_dll mf enable_mf
17719 wine_fn_config_dll mfplat enable_mfplat
17720 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17721 wine_fn_config_dll mgmtapi enable_mgmtapi
17722 wine_fn_config_dll midimap enable_midimap
17723 wine_fn_config_dll mlang enable_mlang clean,implib
17724 wine_fn_config_test dlls/mlang/tests mlang_test
17725 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17726 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17727 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17728 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17729 wine_fn_config_dll mmdevldr.vxd enable_win16
17730 wine_fn_config_dll mmsystem.dll16 enable_win16
17731 wine_fn_config_dll monodebg.vxd enable_win16
17732 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17733 wine_fn_config_dll mouse.drv16 enable_win16
17734 wine_fn_config_dll mpr enable_mpr implib,po
17735 wine_fn_config_test dlls/mpr/tests mpr_test
17736 wine_fn_config_dll mprapi enable_mprapi implib
17737 wine_fn_config_dll msacm.dll16 enable_win16
17738 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17739 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17740 wine_fn_config_test dlls/msacm32/tests msacm32_test
17741 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17742 wine_fn_config_dll msasn1 enable_msasn1 implib
17743 wine_fn_config_dll mscat32 enable_mscat32
17744 wine_fn_config_dll mscms enable_mscms implib
17745 wine_fn_config_test dlls/mscms/tests mscms_test
17746 wine_fn_config_dll mscoree enable_mscoree clean
17747 wine_fn_config_test dlls/mscoree/tests mscoree_test
17748 wine_fn_config_dll msctf enable_msctf clean
17749 wine_fn_config_test dlls/msctf/tests msctf_test
17750 wine_fn_config_dll msctfp enable_msctfp clean
17751 wine_fn_config_dll msdaps enable_msdaps clean
17752 wine_fn_config_dll msdelta enable_msdelta
17753 wine_fn_config_dll msdmo enable_msdmo implib
17754 wine_fn_config_test dlls/msdmo/tests msdmo_test
17755 wine_fn_config_dll msdrm enable_msdrm
17756 wine_fn_config_dll msftedit enable_msftedit
17757 wine_fn_config_dll msg711.acm enable_msg711_acm
17758 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17759 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17760 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17761 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17762 wine_fn_config_dll msi enable_msi clean,implib,po
17763 wine_fn_config_test dlls/msi/tests msi_test
17764 wine_fn_config_dll msident enable_msident clean
17765 wine_fn_config_dll msimg32 enable_msimg32 implib
17766 wine_fn_config_dll msimsg enable_msimsg
17767 wine_fn_config_dll msimtf enable_msimtf clean
17768 wine_fn_config_dll msisip enable_msisip
17769 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17770 wine_fn_config_dll msls31 enable_msls31
17771 wine_fn_config_dll msnet32 enable_msnet32
17772 wine_fn_config_dll mspatcha enable_mspatcha implib
17773 wine_fn_config_dll msrle32 enable_msrle32 po
17774 wine_fn_config_test dlls/msrle32/tests msrle32_test
17775 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17776 wine_fn_config_dll mssign32 enable_mssign32
17777 wine_fn_config_dll mssip32 enable_mssip32
17778 wine_fn_config_dll mstask enable_mstask clean
17779 wine_fn_config_test dlls/mstask/tests mstask_test
17780 wine_fn_config_dll msvcirt enable_msvcirt
17781 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17782 wine_fn_config_dll msvcm80 enable_msvcm80
17783 wine_fn_config_dll msvcm90 enable_msvcm90
17784 wine_fn_config_dll msvcp100 enable_msvcp100
17785 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17786 wine_fn_config_dll msvcp110 enable_msvcp110
17787 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17788 wine_fn_config_dll msvcp120 enable_msvcp120
17789 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17790 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17791 wine_fn_config_dll msvcp60 enable_msvcp60
17792 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17793 wine_fn_config_dll msvcp70 enable_msvcp70
17794 wine_fn_config_dll msvcp71 enable_msvcp71
17795 wine_fn_config_dll msvcp80 enable_msvcp80
17796 wine_fn_config_dll msvcp90 enable_msvcp90
17797 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17798 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17799 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17800 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17801 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17802 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17803 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17804 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17805 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17806 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17807 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17808 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17809 wine_fn_config_dll msvcrt enable_msvcrt implib
17810 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17811 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17812 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17813 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17814 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17815 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17816 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17817 wine_fn_config_dll msvidc32 enable_msvidc32 po
17818 wine_fn_config_dll msvideo.dll16 enable_win16
17819 wine_fn_config_dll mswsock enable_mswsock implib
17820 wine_fn_config_dll msxml enable_msxml clean
17821 wine_fn_config_dll msxml2 enable_msxml2 clean
17822 wine_fn_config_dll msxml3 enable_msxml3 clean
17823 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17824 wine_fn_config_dll msxml4 enable_msxml4 clean
17825 wine_fn_config_dll msxml6 enable_msxml6 clean
17826 wine_fn_config_dll nddeapi enable_nddeapi implib
17827 wine_fn_config_dll ndis.sys enable_ndis_sys
17828 wine_fn_config_dll netapi32 enable_netapi32 implib
17829 wine_fn_config_test dlls/netapi32/tests netapi32_test
17830 wine_fn_config_dll netcfgx enable_netcfgx clean
17831 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17832 wine_fn_config_dll netprofm enable_netprofm clean
17833 wine_fn_config_test dlls/netprofm/tests netprofm_test
17834 wine_fn_config_dll newdev enable_newdev implib
17835 wine_fn_config_dll normaliz enable_normaliz implib
17836 wine_fn_config_dll npmshtml enable_npmshtml
17837 wine_fn_config_dll npptools enable_npptools
17838 wine_fn_config_dll ntdll enable_ntdll implib
17839 wine_fn_config_test dlls/ntdll/tests ntdll_test
17840 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17841 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17842 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17843 wine_fn_config_dll ntprint enable_ntprint
17844 wine_fn_config_test dlls/ntprint/tests ntprint_test
17845 wine_fn_config_dll objsel enable_objsel clean
17846 wine_fn_config_dll odbc32 enable_odbc32 implib
17847 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17848 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17849 wine_fn_config_dll odbccu32 enable_odbccu32
17850 wine_fn_config_dll ole2.dll16 enable_win16
17851 wine_fn_config_dll ole2conv.dll16 enable_win16
17852 wine_fn_config_dll ole2disp.dll16 enable_win16
17853 wine_fn_config_dll ole2nls.dll16 enable_win16
17854 wine_fn_config_dll ole2prox.dll16 enable_win16
17855 wine_fn_config_dll ole2thk.dll16 enable_win16
17856 wine_fn_config_dll ole32 enable_ole32 clean,implib
17857 wine_fn_config_test dlls/ole32/tests ole32_test
17858 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17859 wine_fn_config_test dlls/oleacc/tests oleacc_test
17860 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17861 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17862 wine_fn_config_dll olecli.dll16 enable_win16
17863 wine_fn_config_dll olecli32 enable_olecli32 implib
17864 wine_fn_config_dll oledb32 enable_oledb32 clean
17865 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17866 wine_fn_config_dll oledlg enable_oledlg implib,po
17867 wine_fn_config_test dlls/oledlg/tests oledlg_test
17868 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17869 wine_fn_config_dll olesvr.dll16 enable_win16
17870 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17871 wine_fn_config_dll olethk32 enable_olethk32
17872 wine_fn_config_dll openal32 enable_openal32
17873 wine_fn_config_dll opencl enable_opencl
17874 wine_fn_config_dll opengl32 enable_opengl32 implib
17875 wine_fn_config_test dlls/opengl32/tests opengl32_test
17876 wine_fn_config_dll packager enable_packager clean
17877 wine_fn_config_test dlls/packager/tests packager_test
17878 wine_fn_config_dll pdh enable_pdh implib
17879 wine_fn_config_test dlls/pdh/tests pdh_test
17880 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17881 wine_fn_config_dll pidgen enable_pidgen
17882 wine_fn_config_dll powrprof enable_powrprof implib
17883 wine_fn_config_dll printui enable_printui
17884 wine_fn_config_dll prntvpt enable_prntvpt
17885 wine_fn_config_dll propsys enable_propsys clean,implib
17886 wine_fn_config_test dlls/propsys/tests propsys_test
17887 wine_fn_config_dll psapi enable_psapi implib
17888 wine_fn_config_test dlls/psapi/tests psapi_test
17889 wine_fn_config_dll pstorec enable_pstorec clean
17890 wine_fn_config_dll qcap enable_qcap
17891 wine_fn_config_test dlls/qcap/tests qcap_test
17892 wine_fn_config_dll qedit enable_qedit clean
17893 wine_fn_config_test dlls/qedit/tests qedit_test
17894 wine_fn_config_dll qmgr enable_qmgr clean
17895 wine_fn_config_test dlls/qmgr/tests qmgr_test
17896 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17897 wine_fn_config_dll quartz enable_quartz clean,implib
17898 wine_fn_config_test dlls/quartz/tests quartz_test clean
17899 wine_fn_config_dll query enable_query
17900 wine_fn_config_dll rasapi16.dll16 enable_win16
17901 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17902 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17903 wine_fn_config_dll rasdlg enable_rasdlg implib
17904 wine_fn_config_dll regapi enable_regapi
17905 wine_fn_config_dll resutils enable_resutils implib
17906 wine_fn_config_dll riched20 enable_riched20 clean,implib
17907 wine_fn_config_test dlls/riched20/tests riched20_test
17908 wine_fn_config_dll riched32 enable_riched32
17909 wine_fn_config_test dlls/riched32/tests riched32_test
17910 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17911 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17912 wine_fn_config_dll rsabase enable_rsabase
17913 wine_fn_config_dll rsaenh enable_rsaenh implib
17914 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17915 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17916 wine_fn_config_dll rtutils enable_rtutils implib
17917 wine_fn_config_dll samlib enable_samlib
17918 wine_fn_config_dll sane.ds enable_sane_ds po
17919 wine_fn_config_dll scarddlg enable_scarddlg
17920 wine_fn_config_dll sccbase enable_sccbase
17921 wine_fn_config_dll schannel enable_schannel
17922 wine_fn_config_test dlls/schannel/tests schannel_test
17923 wine_fn_config_dll schedsvc enable_schedsvc clean
17924 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17925 wine_fn_config_dll scrrun enable_scrrun clean
17926 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17927 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17928 wine_fn_config_dll secur32 enable_secur32 implib
17929 wine_fn_config_test dlls/secur32/tests secur32_test
17930 wine_fn_config_dll security enable_security
17931 wine_fn_config_dll sensapi enable_sensapi implib
17932 wine_fn_config_dll serialui enable_serialui implib,po
17933 wine_fn_config_test dlls/serialui/tests serialui_test
17934 wine_fn_config_dll setupapi enable_setupapi implib,po
17935 wine_fn_config_test dlls/setupapi/tests setupapi_test
17936 wine_fn_config_dll setupx.dll16 enable_win16
17937 wine_fn_config_dll sfc enable_sfc implib
17938 wine_fn_config_dll sfc_os enable_sfc_os implib
17939 wine_fn_config_dll shdoclc enable_shdoclc po
17940 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17941 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17942 wine_fn_config_dll shell.dll16 enable_win16
17943 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17944 wine_fn_config_test dlls/shell32/tests shell32_test
17945 wine_fn_config_dll shfolder enable_shfolder implib
17946 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17947 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17948 wine_fn_config_dll slbcsp enable_slbcsp
17949 wine_fn_config_dll slc enable_slc implib
17950 wine_fn_config_test dlls/slc/tests slc_test
17951 wine_fn_config_dll snmpapi enable_snmpapi implib
17952 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17953 wine_fn_config_dll softpub enable_softpub
17954 wine_fn_config_dll sound.drv16 enable_win16
17955 wine_fn_config_dll spoolss enable_spoolss implib
17956 wine_fn_config_test dlls/spoolss/tests spoolss_test
17957 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17958 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17959 wine_fn_config_dll sti enable_sti clean,implib
17960 wine_fn_config_test dlls/sti/tests sti_test
17961 wine_fn_config_dll storage.dll16 enable_win16
17962 wine_fn_config_dll stress.dll16 enable_win16
17963 wine_fn_config_lib strmbase
17964 wine_fn_config_lib strmiids
17965 wine_fn_config_dll svrapi enable_svrapi
17966 wine_fn_config_dll sxs enable_sxs implib
17967 wine_fn_config_test dlls/sxs/tests sxs_test
17968 wine_fn_config_dll system.drv16 enable_win16
17969 wine_fn_config_dll t2embed enable_t2embed
17970 wine_fn_config_dll tapi32 enable_tapi32 implib
17971 wine_fn_config_dll taskschd enable_taskschd clean
17972 wine_fn_config_test dlls/taskschd/tests taskschd_test
17973 wine_fn_config_dll tdi.sys enable_tdi_sys
17974 wine_fn_config_dll toolhelp.dll16 enable_win16
17975 wine_fn_config_dll traffic enable_traffic
17976 wine_fn_config_dll twain.dll16 enable_win16
17977 wine_fn_config_dll twain_32 enable_twain_32
17978 wine_fn_config_test dlls/twain_32/tests twain_32_test
17979 wine_fn_config_dll typelib.dll16 enable_win16
17980 wine_fn_config_dll ucrtbase enable_ucrtbase
17981 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17982 wine_fn_config_dll unicows enable_unicows implib
17983 wine_fn_config_dll updspapi enable_updspapi
17984 wine_fn_config_dll url enable_url implib
17985 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17986 wine_fn_config_test dlls/urlmon/tests urlmon_test
17987 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17988 wine_fn_config_dll user.exe16 enable_win16
17989 wine_fn_config_dll user32 enable_user32 clean,implib,po
17990 wine_fn_config_test dlls/user32/tests user32_test
17991 wine_fn_config_dll userenv enable_userenv implib
17992 wine_fn_config_test dlls/userenv/tests userenv_test
17993 wine_fn_config_dll usp10 enable_usp10 implib
17994 wine_fn_config_test dlls/usp10/tests usp10_test
17995 wine_fn_config_lib uuid
17996 wine_fn_config_dll uxtheme enable_uxtheme implib
17997 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17998 wine_fn_config_dll vbscript enable_vbscript clean
17999 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18000 wine_fn_config_dll vcomp enable_vcomp
18001 wine_fn_config_test dlls/vcomp/tests vcomp_test
18002 wine_fn_config_dll vcomp100 enable_vcomp100
18003 wine_fn_config_dll vcomp110 enable_vcomp110
18004 wine_fn_config_dll vcomp120 enable_vcomp120
18005 wine_fn_config_dll vcomp90 enable_vcomp90
18006 wine_fn_config_dll vcruntime140 enable_vcruntime140
18007 wine_fn_config_dll vdhcp.vxd enable_win16
18008 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18009 wine_fn_config_dll ver.dll16 enable_win16
18010 wine_fn_config_dll version enable_version implib
18011 wine_fn_config_test dlls/version/tests version_test
18012 wine_fn_config_dll vmm.vxd enable_win16
18013 wine_fn_config_dll vnbt.vxd enable_win16
18014 wine_fn_config_dll vnetbios.vxd enable_win16
18015 wine_fn_config_dll vssapi enable_vssapi
18016 wine_fn_config_dll vtdapi.vxd enable_win16
18017 wine_fn_config_dll vwin32.vxd enable_win16
18018 wine_fn_config_dll w32skrnl enable_win16
18019 wine_fn_config_dll w32sys.dll16 enable_win16
18020 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18021 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18022 wine_fn_config_dll wbemprox enable_wbemprox clean
18023 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18024 wine_fn_config_dll webservices enable_webservices implib
18025 wine_fn_config_test dlls/webservices/tests webservices_test
18026 wine_fn_config_dll wer enable_wer implib
18027 wine_fn_config_test dlls/wer/tests wer_test
18028 wine_fn_config_dll wevtapi enable_wevtapi
18029 wine_fn_config_dll wiaservc enable_wiaservc clean
18030 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18031 wine_fn_config_dll wimgapi enable_wimgapi
18032 wine_fn_config_dll win32s16.dll16 enable_win16
18033 wine_fn_config_dll win87em.dll16 enable_win16
18034 wine_fn_config_dll winaspi.dll16 enable_win16
18035 wine_fn_config_dll windebug.dll16 enable_win16
18036 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18037 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18038 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18039 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18040 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18041 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18042 wine_fn_config_lib winecrt0
18043 wine_fn_config_dll wined3d enable_wined3d implib
18044 wine_fn_config_dll winegstreamer enable_winegstreamer
18045 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18046 wine_fn_config_dll winemac.drv enable_winemac_drv po
18047 wine_fn_config_dll winemapi enable_winemapi
18048 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18049 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18050 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
18051 wine_fn_config_dll wineps16.drv16 enable_win16
18052 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18053 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18054 wine_fn_config_dll winex11.drv enable_winex11_drv
18055 wine_fn_config_dll wing.dll16 enable_win16
18056 wine_fn_config_dll wing32 enable_wing32
18057 wine_fn_config_dll winhttp enable_winhttp clean,implib
18058 wine_fn_config_test dlls/winhttp/tests winhttp_test
18059 wine_fn_config_dll wininet enable_wininet implib,po
18060 wine_fn_config_test dlls/wininet/tests wininet_test
18061 wine_fn_config_dll winmm enable_winmm implib,po
18062 wine_fn_config_test dlls/winmm/tests winmm_test
18063 wine_fn_config_dll winnls.dll16 enable_win16
18064 wine_fn_config_dll winnls32 enable_winnls32 implib
18065 wine_fn_config_dll winscard enable_winscard implib
18066 wine_fn_config_dll winsock.dll16 enable_win16
18067 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
18068 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18069 wine_fn_config_dll winsta enable_winsta
18070 wine_fn_config_dll wintab.dll16 enable_win16
18071 wine_fn_config_dll wintab32 enable_wintab32 implib
18072 wine_fn_config_test dlls/wintab32/tests wintab32_test
18073 wine_fn_config_dll wintrust enable_wintrust implib
18074 wine_fn_config_test dlls/wintrust/tests wintrust_test
18075 wine_fn_config_dll wlanapi enable_wlanapi
18076 wine_fn_config_dll wldap32 enable_wldap32 implib,po
18077 wine_fn_config_test dlls/wldap32/tests wldap32_test
18078 wine_fn_config_dll wmi enable_wmi
18079 wine_fn_config_dll wmiutils enable_wmiutils clean
18080 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18081 wine_fn_config_dll wmp enable_wmp clean
18082 wine_fn_config_test dlls/wmp/tests wmp_test
18083 wine_fn_config_dll wmvcore enable_wmvcore
18084 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18085 wine_fn_config_dll wow32 enable_win16 implib
18086 wine_fn_config_dll wpcap enable_wpcap
18087 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18088 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18089 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18090 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18091 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18092 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18093 wine_fn_config_dll wsock32 enable_wsock32 implib
18094 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18095 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18096 wine_fn_config_dll wuapi enable_wuapi clean
18097 wine_fn_config_dll wuaueng enable_wuaueng
18098 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18099 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18100 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18101 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18102 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18103 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18104 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18105 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18106 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18107 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18108 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18109 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18110 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18111 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18112 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18113 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18114 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18115 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18116 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18117 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18118 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18119 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18120 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18121 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18122 wine_fn_config_dll xinput1_1 enable_xinput1_1
18123 wine_fn_config_dll xinput1_2 enable_xinput1_2
18124 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18125 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18126 wine_fn_config_dll xinput1_4 enable_xinput1_4
18127 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18128 wine_fn_config_dll xmllite enable_xmllite implib
18129 wine_fn_config_test dlls/xmllite/tests xmllite_test
18130 wine_fn_config_dll xolehlp enable_xolehlp
18131 wine_fn_config_dll xpsprint enable_xpsprint
18132 wine_fn_config_dll xpssvcs enable_xpssvcs
18133 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18134 wine_fn_config_makefile include enable_include clean,install-dev
18135 wine_fn_config_makefile libs/port enable_libs_port
18136 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18137 wine_fn_config_makefile libs/wpp enable_libs_wpp
18138 wine_fn_config_makefile loader enable_loader clean,install-lib
18139 wine_fn_config_program arp enable_arp install
18140 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18141 wine_fn_config_program attrib enable_attrib install,po
18142 wine_fn_config_program cabarc enable_cabarc install
18143 wine_fn_config_program cacls enable_cacls install
18144 wine_fn_config_program clock enable_clock install,po
18145 wine_fn_config_program cmd enable_cmd install,po
18146 wine_fn_config_test programs/cmd/tests cmd.exe_test
18147 wine_fn_config_program conhost enable_conhost install
18148 wine_fn_config_program control enable_control install
18149 wine_fn_config_program cscript enable_cscript clean,install
18150 wine_fn_config_program dpnsvr enable_dpnsvr install
18151 wine_fn_config_program dxdiag enable_dxdiag install,po
18152 wine_fn_config_program eject enable_eject install
18153 wine_fn_config_program expand enable_expand install
18154 wine_fn_config_program explorer enable_explorer install,po
18155 wine_fn_config_program extrac32 enable_extrac32 install
18156 wine_fn_config_program findstr enable_findstr install
18157 wine_fn_config_program hh enable_hh install
18158 wine_fn_config_program hostname enable_hostname install,po
18159 wine_fn_config_program icacls enable_icacls install
18160 wine_fn_config_program icinfo enable_icinfo install
18161 wine_fn_config_program iexplore enable_iexplore install
18162 wine_fn_config_program ipconfig enable_ipconfig install,po
18163 wine_fn_config_program lodctr enable_lodctr install
18164 wine_fn_config_program mofcomp enable_mofcomp install
18165 wine_fn_config_program mshta enable_mshta install
18166 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18167 wine_fn_config_program net enable_net install,po
18168 wine_fn_config_program netsh enable_netsh install
18169 wine_fn_config_program netstat enable_netstat install,po
18170 wine_fn_config_program ngen enable_ngen install
18171 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
18172 wine_fn_config_program oleview enable_oleview install,po
18173 wine_fn_config_program ping enable_ping install
18174 wine_fn_config_program plugplay enable_plugplay install
18175 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18176 wine_fn_config_program progman enable_progman install,po
18177 wine_fn_config_program reg enable_reg install,po
18178 wine_fn_config_test programs/reg/tests reg.exe_test
18179 wine_fn_config_program regasm enable_regasm install
18180 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
18181 wine_fn_config_test programs/regedit/tests regedit.exe_test
18182 wine_fn_config_program regsvcs enable_regsvcs install
18183 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
18184 wine_fn_config_program rpcss enable_rpcss clean,install
18185 wine_fn_config_program rundll.exe16 enable_win16 install
18186 wine_fn_config_program rundll32 enable_rundll32 install
18187 wine_fn_config_program sc enable_sc install
18188 wine_fn_config_program schtasks enable_schtasks install
18189 wine_fn_config_program sdbinst enable_sdbinst install
18190 wine_fn_config_program secedit enable_secedit install
18191 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18192 wine_fn_config_program services enable_services clean,install
18193 wine_fn_config_test programs/services/tests services.exe_test
18194 wine_fn_config_program spoolsv enable_spoolsv install
18195 wine_fn_config_program start enable_start install,po
18196 wine_fn_config_program svchost enable_svchost install
18197 wine_fn_config_program systeminfo enable_systeminfo install
18198 wine_fn_config_program taskkill enable_taskkill install,po
18199 wine_fn_config_program tasklist enable_tasklist install
18200 wine_fn_config_program taskmgr enable_taskmgr install,po
18201 wine_fn_config_program termsv enable_termsv install
18202 wine_fn_config_program uninstaller enable_uninstaller install,po
18203 wine_fn_config_program unlodctr enable_unlodctr install
18204 wine_fn_config_program view enable_view install,po
18205 wine_fn_config_program wevtutil enable_wevtutil install
18206 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
18207 wine_fn_config_program winebrowser enable_winebrowser install
18208 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
18209 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
18210 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
18211 wine_fn_config_program winedevice enable_winedevice install
18212 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
18213 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18214 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
18215 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18216 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18217 wine_fn_config_program winetest enable_winetest clean
18218 wine_fn_config_program winevdm enable_win16 install
18219 wine_fn_config_program winhelp.exe16 enable_win16 install
18220 wine_fn_config_program winhlp32 enable_winhlp32 install,po
18221 wine_fn_config_program winoldap.mod16 enable_win16 install
18222 wine_fn_config_program winver enable_winver install
18223 wine_fn_config_program wmic enable_wmic install,po
18224 wine_fn_config_program wmplayer enable_wmplayer install
18225 wine_fn_config_program wordpad enable_wordpad install,po
18226 wine_fn_config_program write enable_write install,po
18227 wine_fn_config_program wscript enable_wscript clean,install
18228 wine_fn_config_test programs/wscript/tests wscript.exe_test
18229 wine_fn_config_program wusa enable_wusa install
18230 wine_fn_config_program xcopy enable_xcopy install,po
18231 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18232 wine_fn_config_makefile server enable_server clean,install-lib
18233 wine_fn_config_tool tools clean
18234 wine_fn_config_tool tools/sfnt2fon clean
18235 wine_fn_config_tool tools/widl clean,install-dev
18236 wine_fn_config_tool tools/winebuild clean,install-dev
18237 wine_fn_config_tool tools/winedump clean,install-dev
18238 wine_fn_config_tool tools/winegcc clean,install-dev
18239 wine_fn_config_tool tools/winemaker clean,install-dev
18240 wine_fn_config_tool tools/wmc clean,install-dev
18241 wine_fn_config_tool tools/wrc clean,install-dev
18243 LINGUAS="\
18244 ar \
18245 bg \
18246 ca \
18247 cs \
18248 da \
18249 de \
18250 el \
18251 en \
18252 en_US \
18253 eo \
18254 es \
18255 fa \
18256 fi \
18257 fr \
18258 he \
18259 hi \
18260 hr \
18261 hu \
18262 it \
18263 ja \
18264 ko \
18265 lt \
18266 ml \
18267 nb_NO \
18268 nl \
18269 or \
18270 pa \
18271 pl \
18272 pt_BR \
18273 pt_PT \
18274 rm \
18275 ro \
18276 ru \
18277 sk \
18278 sl \
18279 sr_RS@cyrillic \
18280 sr_RS@latin \
18281 sv \
18282 te \
18283 th \
18284 tr \
18285 uk \
18286 wa \
18287 zh_CN \
18288 zh_TW"
18293 wine_fn_ignore_file ".gitignore"
18294 wine_fn_ignore_file "Makefile"
18295 wine_fn_ignore_file "TAGS"
18296 wine_fn_ignore_file "tags"
18297 wine_fn_ignore_file "autom4te.cache"
18298 wine_fn_ignore_file "config.cache"
18299 wine_fn_ignore_file "config.log"
18300 wine_fn_ignore_file "config.status"
18301 wine_fn_ignore_file "configure.lineno"
18302 wine_fn_ignore_file "include/config.h"
18303 wine_fn_ignore_file "include/stamp-h"
18304 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18306 if test "x$enable_tools" != xno
18307 then
18308 wine_fn_ignore_file "tools/makedep$ac_exeext"
18309 ac_config_commands="$ac_config_commands tools/makedep"
18313 ac_config_commands="$ac_config_commands Makefile"
18316 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18320 if test "x$enable_maintainer_mode" = xyes
18321 then
18322 wine_fn_append_rule "configure: configure.ac aclocal.m4
18323 autoconf --warnings=all
18324 include/config.h.in: include/stamp-h.in
18325 include/stamp-h.in: configure.ac aclocal.m4
18326 autoheader --warnings=all
18327 @echo timestamp > \$@"
18330 if test "x$with_gettextpo" = xyes
18331 then
18332 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18333 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18334 \$(LINGUAS:%=po/%.po): po/wine.pot
18335 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18336 po/wine.pot: \$(ALL_POT_FILES)
18337 msgcat -o \$@ \$(ALL_POT_FILES)"
18340 if test "$MSGFMT" != false
18341 then
18342 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18343 clean::
18344 \$(RM) \$(LINGUAS:%=po/%.mo)"
18346 posrc="po"
18347 test "$srcdir" = . || posrc="$srcdir/po"
18348 for i in $LINGUAS
18350 wine_fn_ignore_file "po/$i.mo"
18351 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18352 \$(MSGFMT) -o \$@ $posrc/$i.po"
18353 done
18354 else
18355 LINGUAS=
18358 if test "x$enable_tools" != xno
18359 then
18360 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18361 @./config.status tools/makedep
18362 Makefile: tools/makedep$ac_exeext
18363 distclean:: clean
18364 \$(RM) tools/makedep$ac_exeext"
18365 else
18366 wine_fn_append_rule "\$(MAKEDEP):
18367 @echo \"You need to run make in $TOOLSDIR first\" && false"
18370 if test -n "$with_wine64"
18371 then
18372 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18373 fonts server tools:
18374 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18375 $with_wine64/loader/wine:
18376 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18377 $with_wine64/loader/wine-preloader:
18378 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18379 clean::
18380 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18381 else
18382 WINELOADER_INSTALL="wine.inf"
18384 wine_fn_append_rule "install install-lib::
18385 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18386 uninstall::
18387 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18388 case $host_os in
18389 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18390 *) wine_fn_append_rule "install install-lib::
18391 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18392 uninstall::
18393 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18394 esac
18397 if test "$srcdir" = .
18398 then
18399 ac_config_commands="$ac_config_commands .gitignore"
18403 $as_echo " done" >&6
18404 cat >confcache <<\_ACEOF
18405 # This file is a shell script that caches the results of configure
18406 # tests run on this system so they can be shared between configure
18407 # scripts and configure runs, see configure's option --config-cache.
18408 # It is not useful on other systems. If it contains results you don't
18409 # want to keep, you may remove or edit it.
18411 # config.status only pays attention to the cache file if you give it
18412 # the --recheck option to rerun configure.
18414 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18415 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18416 # following values.
18418 _ACEOF
18420 # The following way of writing the cache mishandles newlines in values,
18421 # but we know of no workaround that is simple, portable, and efficient.
18422 # So, we kill variables containing newlines.
18423 # Ultrix sh set writes to stderr and can't be redirected directly,
18424 # and sets the high bit in the cache file unless we assign to the vars.
18426 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18427 eval ac_val=\$$ac_var
18428 case $ac_val in #(
18429 *${as_nl}*)
18430 case $ac_var in #(
18431 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18432 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18433 esac
18434 case $ac_var in #(
18435 _ | IFS | as_nl) ;; #(
18436 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18437 *) { eval $ac_var=; unset $ac_var;} ;;
18438 esac ;;
18439 esac
18440 done
18442 (set) 2>&1 |
18443 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18444 *${as_nl}ac_space=\ *)
18445 # `set' does not quote correctly, so add quotes: double-quote
18446 # substitution turns \\\\ into \\, and sed turns \\ into \.
18447 sed -n \
18448 "s/'/'\\\\''/g;
18449 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18450 ;; #(
18452 # `set' quotes correctly as required by POSIX, so do not add quotes.
18453 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18455 esac |
18456 sort
18458 sed '
18459 /^ac_cv_env_/b end
18460 t clear
18461 :clear
18462 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18463 t end
18464 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18465 :end' >>confcache
18466 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18467 if test -w "$cache_file"; then
18468 if test "x$cache_file" != "x/dev/null"; then
18469 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18470 $as_echo "$as_me: updating cache $cache_file" >&6;}
18471 if test ! -f "$cache_file" || test -h "$cache_file"; then
18472 cat confcache >"$cache_file"
18473 else
18474 case $cache_file in #(
18475 */* | ?:*)
18476 mv -f confcache "$cache_file"$$ &&
18477 mv -f "$cache_file"$$ "$cache_file" ;; #(
18479 mv -f confcache "$cache_file" ;;
18480 esac
18483 else
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18485 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18488 rm -f confcache
18490 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18491 # Let make expand exec_prefix.
18492 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18494 DEFS=-DHAVE_CONFIG_H
18496 ac_libobjs=
18497 ac_ltlibobjs=
18499 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18500 # 1. Remove the extension, and $U if already installed.
18501 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18502 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18503 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18504 # will be set to the directory where LIBOBJS objects are built.
18505 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18506 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18507 done
18508 LIBOBJS=$ac_libobjs
18510 LTLIBOBJS=$ac_ltlibobjs
18514 : "${CONFIG_STATUS=./config.status}"
18515 ac_write_fail=0
18516 ac_clean_files_save=$ac_clean_files
18517 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18519 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18520 as_write_fail=0
18521 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18522 #! $SHELL
18523 # Generated by $as_me.
18524 # Run this file to recreate the current configuration.
18525 # Compiler output produced by configure, useful for debugging
18526 # configure, is in config.log if it exists.
18528 debug=false
18529 ac_cs_recheck=false
18530 ac_cs_silent=false
18532 SHELL=\${CONFIG_SHELL-$SHELL}
18533 export SHELL
18534 _ASEOF
18535 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18536 ## -------------------- ##
18537 ## M4sh Initialization. ##
18538 ## -------------------- ##
18540 # Be more Bourne compatible
18541 DUALCASE=1; export DUALCASE # for MKS sh
18542 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18543 emulate sh
18544 NULLCMD=:
18545 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18546 # is contrary to our usage. Disable this feature.
18547 alias -g '${1+"$@"}'='"$@"'
18548 setopt NO_GLOB_SUBST
18549 else
18550 case `(set -o) 2>/dev/null` in #(
18551 *posix*) :
18552 set -o posix ;; #(
18553 *) :
18555 esac
18559 as_nl='
18561 export as_nl
18562 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18563 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18564 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18565 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18566 # Prefer a ksh shell builtin over an external printf program on Solaris,
18567 # but without wasting forks for bash or zsh.
18568 if test -z "$BASH_VERSION$ZSH_VERSION" \
18569 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18570 as_echo='print -r --'
18571 as_echo_n='print -rn --'
18572 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18573 as_echo='printf %s\n'
18574 as_echo_n='printf %s'
18575 else
18576 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18577 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18578 as_echo_n='/usr/ucb/echo -n'
18579 else
18580 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18581 as_echo_n_body='eval
18582 arg=$1;
18583 case $arg in #(
18584 *"$as_nl"*)
18585 expr "X$arg" : "X\\(.*\\)$as_nl";
18586 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18587 esac;
18588 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18590 export as_echo_n_body
18591 as_echo_n='sh -c $as_echo_n_body as_echo'
18593 export as_echo_body
18594 as_echo='sh -c $as_echo_body as_echo'
18597 # The user is always right.
18598 if test "${PATH_SEPARATOR+set}" != set; then
18599 PATH_SEPARATOR=:
18600 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18601 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18602 PATH_SEPARATOR=';'
18607 # IFS
18608 # We need space, tab and new line, in precisely that order. Quoting is
18609 # there to prevent editors from complaining about space-tab.
18610 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18611 # splitting by setting IFS to empty value.)
18612 IFS=" "" $as_nl"
18614 # Find who we are. Look in the path if we contain no directory separator.
18615 as_myself=
18616 case $0 in #((
18617 *[\\/]* ) as_myself=$0 ;;
18618 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18619 for as_dir in $PATH
18621 IFS=$as_save_IFS
18622 test -z "$as_dir" && as_dir=.
18623 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18624 done
18625 IFS=$as_save_IFS
18628 esac
18629 # We did not find ourselves, most probably we were run as `sh COMMAND'
18630 # in which case we are not to be found in the path.
18631 if test "x$as_myself" = x; then
18632 as_myself=$0
18634 if test ! -f "$as_myself"; then
18635 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18636 exit 1
18639 # Unset variables that we do not need and which cause bugs (e.g. in
18640 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18641 # suppresses any "Segmentation fault" message there. '((' could
18642 # trigger a bug in pdksh 5.2.14.
18643 for as_var in BASH_ENV ENV MAIL MAILPATH
18644 do eval test x\${$as_var+set} = xset \
18645 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18646 done
18647 PS1='$ '
18648 PS2='> '
18649 PS4='+ '
18651 # NLS nuisances.
18652 LC_ALL=C
18653 export LC_ALL
18654 LANGUAGE=C
18655 export LANGUAGE
18657 # CDPATH.
18658 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18661 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18662 # ----------------------------------------
18663 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18664 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18665 # script with STATUS, using 1 if that was 0.
18666 as_fn_error ()
18668 as_status=$1; test $as_status -eq 0 && as_status=1
18669 if test "$4"; then
18670 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18671 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18673 $as_echo "$as_me: error: $2" >&2
18674 as_fn_exit $as_status
18675 } # as_fn_error
18678 # as_fn_set_status STATUS
18679 # -----------------------
18680 # Set $? to STATUS, without forking.
18681 as_fn_set_status ()
18683 return $1
18684 } # as_fn_set_status
18686 # as_fn_exit STATUS
18687 # -----------------
18688 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18689 as_fn_exit ()
18691 set +e
18692 as_fn_set_status $1
18693 exit $1
18694 } # as_fn_exit
18696 # as_fn_unset VAR
18697 # ---------------
18698 # Portably unset VAR.
18699 as_fn_unset ()
18701 { eval $1=; unset $1;}
18703 as_unset=as_fn_unset
18704 # as_fn_append VAR VALUE
18705 # ----------------------
18706 # Append the text in VALUE to the end of the definition contained in VAR. Take
18707 # advantage of any shell optimizations that allow amortized linear growth over
18708 # repeated appends, instead of the typical quadratic growth present in naive
18709 # implementations.
18710 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18711 eval 'as_fn_append ()
18713 eval $1+=\$2
18715 else
18716 as_fn_append ()
18718 eval $1=\$$1\$2
18720 fi # as_fn_append
18722 # as_fn_arith ARG...
18723 # ------------------
18724 # Perform arithmetic evaluation on the ARGs, and store the result in the
18725 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18726 # must be portable across $(()) and expr.
18727 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18728 eval 'as_fn_arith ()
18730 as_val=$(( $* ))
18732 else
18733 as_fn_arith ()
18735 as_val=`expr "$@" || test $? -eq 1`
18737 fi # as_fn_arith
18740 if expr a : '\(a\)' >/dev/null 2>&1 &&
18741 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18742 as_expr=expr
18743 else
18744 as_expr=false
18747 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18748 as_basename=basename
18749 else
18750 as_basename=false
18753 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18754 as_dirname=dirname
18755 else
18756 as_dirname=false
18759 as_me=`$as_basename -- "$0" ||
18760 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18761 X"$0" : 'X\(//\)$' \| \
18762 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18763 $as_echo X/"$0" |
18764 sed '/^.*\/\([^/][^/]*\)\/*$/{
18765 s//\1/
18768 /^X\/\(\/\/\)$/{
18769 s//\1/
18772 /^X\/\(\/\).*/{
18773 s//\1/
18776 s/.*/./; q'`
18778 # Avoid depending upon Character Ranges.
18779 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18780 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18781 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18782 as_cr_digits='0123456789'
18783 as_cr_alnum=$as_cr_Letters$as_cr_digits
18785 ECHO_C= ECHO_N= ECHO_T=
18786 case `echo -n x` in #(((((
18787 -n*)
18788 case `echo 'xy\c'` in
18789 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18790 xy) ECHO_C='\c';;
18791 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18792 ECHO_T=' ';;
18793 esac;;
18795 ECHO_N='-n';;
18796 esac
18798 rm -f conf$$ conf$$.exe conf$$.file
18799 if test -d conf$$.dir; then
18800 rm -f conf$$.dir/conf$$.file
18801 else
18802 rm -f conf$$.dir
18803 mkdir conf$$.dir 2>/dev/null
18805 if (echo >conf$$.file) 2>/dev/null; then
18806 if ln -s conf$$.file conf$$ 2>/dev/null; then
18807 as_ln_s='ln -s'
18808 # ... but there are two gotchas:
18809 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18810 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18811 # In both cases, we have to default to `cp -pR'.
18812 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18813 as_ln_s='cp -pR'
18814 elif ln conf$$.file conf$$ 2>/dev/null; then
18815 as_ln_s=ln
18816 else
18817 as_ln_s='cp -pR'
18819 else
18820 as_ln_s='cp -pR'
18822 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18823 rmdir conf$$.dir 2>/dev/null
18826 # as_fn_mkdir_p
18827 # -------------
18828 # Create "$as_dir" as a directory, including parents if necessary.
18829 as_fn_mkdir_p ()
18832 case $as_dir in #(
18833 -*) as_dir=./$as_dir;;
18834 esac
18835 test -d "$as_dir" || eval $as_mkdir_p || {
18836 as_dirs=
18837 while :; do
18838 case $as_dir in #(
18839 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18840 *) as_qdir=$as_dir;;
18841 esac
18842 as_dirs="'$as_qdir' $as_dirs"
18843 as_dir=`$as_dirname -- "$as_dir" ||
18844 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18845 X"$as_dir" : 'X\(//\)[^/]' \| \
18846 X"$as_dir" : 'X\(//\)$' \| \
18847 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18848 $as_echo X"$as_dir" |
18849 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18850 s//\1/
18853 /^X\(\/\/\)[^/].*/{
18854 s//\1/
18857 /^X\(\/\/\)$/{
18858 s//\1/
18861 /^X\(\/\).*/{
18862 s//\1/
18865 s/.*/./; q'`
18866 test -d "$as_dir" && break
18867 done
18868 test -z "$as_dirs" || eval "mkdir $as_dirs"
18869 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18872 } # as_fn_mkdir_p
18873 if mkdir -p . 2>/dev/null; then
18874 as_mkdir_p='mkdir -p "$as_dir"'
18875 else
18876 test -d ./-p && rmdir ./-p
18877 as_mkdir_p=false
18881 # as_fn_executable_p FILE
18882 # -----------------------
18883 # Test if FILE is an executable regular file.
18884 as_fn_executable_p ()
18886 test -f "$1" && test -x "$1"
18887 } # as_fn_executable_p
18888 as_test_x='test -x'
18889 as_executable_p=as_fn_executable_p
18891 # Sed expression to map a string onto a valid CPP name.
18892 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18894 # Sed expression to map a string onto a valid variable name.
18895 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18898 exec 6>&1
18899 ## ----------------------------------- ##
18900 ## Main body of $CONFIG_STATUS script. ##
18901 ## ----------------------------------- ##
18902 _ASEOF
18903 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18906 # Save the log message, to keep $0 and so on meaningful, and to
18907 # report actual input values of CONFIG_FILES etc. instead of their
18908 # values after options handling.
18909 ac_log="
18910 This file was extended by Wine $as_me 1.9.3, which was
18911 generated by GNU Autoconf 2.69. Invocation command line was
18913 CONFIG_FILES = $CONFIG_FILES
18914 CONFIG_HEADERS = $CONFIG_HEADERS
18915 CONFIG_LINKS = $CONFIG_LINKS
18916 CONFIG_COMMANDS = $CONFIG_COMMANDS
18917 $ $0 $@
18919 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18922 _ACEOF
18924 case $ac_config_files in *"
18925 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18926 esac
18928 case $ac_config_headers in *"
18929 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18930 esac
18933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18934 # Files that config.status was made for.
18935 config_files="$ac_config_files"
18936 config_headers="$ac_config_headers"
18937 config_links="$ac_config_links"
18938 config_commands="$ac_config_commands"
18940 _ACEOF
18942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18943 ac_cs_usage="\
18944 \`$as_me' instantiates files and other configuration actions
18945 from templates according to the current configuration. Unless the files
18946 and actions are specified as TAGs, all are instantiated by default.
18948 Usage: $0 [OPTION]... [TAG]...
18950 -h, --help print this help, then exit
18951 -V, --version print version number and configuration settings, then exit
18952 --config print configuration, then exit
18953 -q, --quiet, --silent
18954 do not print progress messages
18955 -d, --debug don't remove temporary files
18956 --recheck update $as_me by reconfiguring in the same conditions
18957 --file=FILE[:TEMPLATE]
18958 instantiate the configuration file FILE
18959 --header=FILE[:TEMPLATE]
18960 instantiate the configuration header FILE
18962 Configuration files:
18963 $config_files
18965 Configuration headers:
18966 $config_headers
18968 Configuration links:
18969 $config_links
18971 Configuration commands:
18972 $config_commands
18974 Report bugs to <wine-devel@winehq.org>.
18975 Wine home page: <http://www.winehq.org>."
18977 _ACEOF
18978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18979 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18980 ac_cs_version="\\
18981 Wine config.status 1.9.3
18982 configured by $0, generated by GNU Autoconf 2.69,
18983 with options \\"\$ac_cs_config\\"
18985 Copyright (C) 2012 Free Software Foundation, Inc.
18986 This config.status script is free software; the Free Software Foundation
18987 gives unlimited permission to copy, distribute and modify it."
18989 ac_pwd='$ac_pwd'
18990 srcdir='$srcdir'
18991 test -n "\$AWK" || AWK=awk
18992 _ACEOF
18994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18995 # The default lists apply if the user does not specify any file.
18996 ac_need_defaults=:
18997 while test $# != 0
18999 case $1 in
19000 --*=?*)
19001 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19002 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19003 ac_shift=:
19005 --*=)
19006 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19007 ac_optarg=
19008 ac_shift=:
19011 ac_option=$1
19012 ac_optarg=$2
19013 ac_shift=shift
19015 esac
19017 case $ac_option in
19018 # Handling of the options.
19019 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19020 ac_cs_recheck=: ;;
19021 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19022 $as_echo "$ac_cs_version"; exit ;;
19023 --config | --confi | --conf | --con | --co | --c )
19024 $as_echo "$ac_cs_config"; exit ;;
19025 --debug | --debu | --deb | --de | --d | -d )
19026 debug=: ;;
19027 --file | --fil | --fi | --f )
19028 $ac_shift
19029 case $ac_optarg in
19030 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19031 '') as_fn_error $? "missing file argument" ;;
19032 esac
19033 as_fn_append CONFIG_FILES " '$ac_optarg'"
19034 ac_need_defaults=false;;
19035 --header | --heade | --head | --hea )
19036 $ac_shift
19037 case $ac_optarg in
19038 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19039 esac
19040 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19041 ac_need_defaults=false;;
19042 --he | --h)
19043 # Conflict between --help and --header
19044 as_fn_error $? "ambiguous option: \`$1'
19045 Try \`$0 --help' for more information.";;
19046 --help | --hel | -h )
19047 $as_echo "$ac_cs_usage"; exit ;;
19048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19049 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19050 ac_cs_silent=: ;;
19052 # This is an error.
19053 -*) as_fn_error $? "unrecognized option: \`$1'
19054 Try \`$0 --help' for more information." ;;
19056 *) as_fn_append ac_config_targets " $1"
19057 ac_need_defaults=false ;;
19059 esac
19060 shift
19061 done
19063 ac_configure_extra_args=
19065 if $ac_cs_silent; then
19066 exec 6>/dev/null
19067 ac_configure_extra_args="$ac_configure_extra_args --silent"
19070 _ACEOF
19071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19072 if \$ac_cs_recheck; then
19073 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19074 shift
19075 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19076 CONFIG_SHELL='$SHELL'
19077 export CONFIG_SHELL
19078 exec "\$@"
19081 _ACEOF
19082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19083 exec 5>>config.log
19085 echo
19086 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19087 ## Running $as_me. ##
19088 _ASBOX
19089 $as_echo "$ac_log"
19090 } >&5
19092 _ACEOF
19093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19095 # INIT-COMMANDS
19097 wine_fn_output_makedep ()
19099 as_dir=tools; as_fn_mkdir_p
19100 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19102 wine_fn_output_makefile ()
19104 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19105 `cat $wine_rules_file`
19106 _WINE_EOF
19107 as_fn_error $? "could not create Makefile" "$LINENO" 5
19109 wine_fn_output_gitignore ()
19111 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
19112 $GITIGNORE
19113 _WINE_EOF
19114 as_fn_error $? "could not create .gitignore" "$LINENO" 5
19117 _ACEOF
19119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19121 # Handling of arguments.
19122 for ac_config_target in $ac_config_targets
19124 case $ac_config_target in
19125 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19126 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19127 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19128 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19129 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19130 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19131 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19132 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19133 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
19134 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19135 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19136 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19137 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19138 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19139 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
19141 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19142 esac
19143 done
19146 # If the user did not use the arguments to specify the items to instantiate,
19147 # then the envvar interface is used. Set only those that are not.
19148 # We use the long form for the default assignment because of an extremely
19149 # bizarre bug on SunOS 4.1.3.
19150 if $ac_need_defaults; then
19151 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19152 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19153 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19154 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19157 # Have a temporary directory for convenience. Make it in the build tree
19158 # simply because there is no reason against having it here, and in addition,
19159 # creating and moving files from /tmp can sometimes cause problems.
19160 # Hook for its removal unless debugging.
19161 # Note that there is a small window in which the directory will not be cleaned:
19162 # after its creation but before its name has been assigned to `$tmp'.
19163 $debug ||
19165 tmp= ac_tmp=
19166 trap 'exit_status=$?
19167 : "${ac_tmp:=$tmp}"
19168 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19170 trap 'as_fn_exit 1' 1 2 13 15
19172 # Create a (secure) tmp directory for tmp files.
19175 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19176 test -d "$tmp"
19177 } ||
19179 tmp=./conf$$-$RANDOM
19180 (umask 077 && mkdir "$tmp")
19181 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19182 ac_tmp=$tmp
19184 # Set up the scripts for CONFIG_FILES section.
19185 # No need to generate them if there are no CONFIG_FILES.
19186 # This happens for instance with `./config.status config.h'.
19187 if test -n "$CONFIG_FILES"; then
19190 ac_cr=`echo X | tr X '\015'`
19191 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19192 # But we know of no other shell where ac_cr would be empty at this
19193 # point, so we can use a bashism as a fallback.
19194 if test "x$ac_cr" = x; then
19195 eval ac_cr=\$\'\\r\'
19197 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19198 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19199 ac_cs_awk_cr='\\r'
19200 else
19201 ac_cs_awk_cr=$ac_cr
19204 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19205 _ACEOF
19209 echo "cat >conf$$subs.awk <<_ACEOF" &&
19210 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19211 echo "_ACEOF"
19212 } >conf$$subs.sh ||
19213 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19214 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19215 ac_delim='%!_!# '
19216 for ac_last_try in false false false false false :; do
19217 . ./conf$$subs.sh ||
19218 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19220 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19221 if test $ac_delim_n = $ac_delim_num; then
19222 break
19223 elif $ac_last_try; then
19224 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19225 else
19226 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19228 done
19229 rm -f conf$$subs.sh
19231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19232 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19233 _ACEOF
19234 sed -n '
19236 s/^/S["/; s/!.*/"]=/
19239 s/^[^!]*!//
19240 :repl
19241 t repl
19242 s/'"$ac_delim"'$//
19243 t delim
19246 s/\(.\{148\}\)..*/\1/
19247 t more1
19248 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19251 b repl
19252 :more1
19253 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19256 s/.\{148\}//
19257 t nl
19258 :delim
19260 s/\(.\{148\}\)..*/\1/
19261 t more2
19262 s/["\\]/\\&/g; s/^/"/; s/$/"/
19265 :more2
19266 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19269 s/.\{148\}//
19270 t delim
19271 ' <conf$$subs.awk | sed '
19272 /^[^""]/{
19274 s/\n//
19276 ' >>$CONFIG_STATUS || ac_write_fail=1
19277 rm -f conf$$subs.awk
19278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19279 _ACAWK
19280 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19281 for (key in S) S_is_set[key] = 1
19282 FS = "\a"
19286 line = $ 0
19287 nfields = split(line, field, "@")
19288 substed = 0
19289 len = length(field[1])
19290 for (i = 2; i < nfields; i++) {
19291 key = field[i]
19292 keylen = length(key)
19293 if (S_is_set[key]) {
19294 value = S[key]
19295 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19296 len += length(value) + length(field[++i])
19297 substed = 1
19298 } else
19299 len += 1 + keylen
19302 print line
19305 _ACAWK
19306 _ACEOF
19307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19308 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19309 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19310 else
19312 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19313 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19314 _ACEOF
19316 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19317 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19318 # trailing colons and then remove the whole line if VPATH becomes empty
19319 # (actually we leave an empty line to preserve line numbers).
19320 if test "x$srcdir" = x.; then
19321 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19323 s///
19324 s/^/:/
19325 s/[ ]*$/:/
19326 s/:\$(srcdir):/:/g
19327 s/:\${srcdir}:/:/g
19328 s/:@srcdir@:/:/g
19329 s/^:*//
19330 s/:*$//
19332 s/\(=[ ]*\).*/\1/
19334 s/\n//
19335 s/^[^=]*=[ ]*$//
19339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19340 fi # test -n "$CONFIG_FILES"
19342 # Set up the scripts for CONFIG_HEADERS section.
19343 # No need to generate them if there are no CONFIG_HEADERS.
19344 # This happens for instance with `./config.status Makefile'.
19345 if test -n "$CONFIG_HEADERS"; then
19346 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19347 BEGIN {
19348 _ACEOF
19350 # Transform confdefs.h into an awk script `defines.awk', embedded as
19351 # here-document in config.status, that substitutes the proper values into
19352 # config.h.in to produce config.h.
19354 # Create a delimiter string that does not exist in confdefs.h, to ease
19355 # handling of long lines.
19356 ac_delim='%!_!# '
19357 for ac_last_try in false false :; do
19358 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19359 if test -z "$ac_tt"; then
19360 break
19361 elif $ac_last_try; then
19362 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19363 else
19364 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19366 done
19368 # For the awk script, D is an array of macro values keyed by name,
19369 # likewise P contains macro parameters if any. Preserve backslash
19370 # newline sequences.
19372 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19373 sed -n '
19374 s/.\{148\}/&'"$ac_delim"'/g
19375 t rset
19376 :rset
19377 s/^[ ]*#[ ]*define[ ][ ]*/ /
19378 t def
19380 :def
19381 s/\\$//
19382 t bsnl
19383 s/["\\]/\\&/g
19384 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19385 D["\1"]=" \3"/p
19386 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19388 :bsnl
19389 s/["\\]/\\&/g
19390 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19391 D["\1"]=" \3\\\\\\n"\\/p
19392 t cont
19393 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19394 t cont
19396 :cont
19398 s/.\{148\}/&'"$ac_delim"'/g
19399 t clear
19400 :clear
19401 s/\\$//
19402 t bsnlc
19403 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19405 :bsnlc
19406 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19407 b cont
19408 ' <confdefs.h | sed '
19409 s/'"$ac_delim"'/"\\\
19410 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19413 for (key in D) D_is_set[key] = 1
19414 FS = "\a"
19416 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19417 line = \$ 0
19418 split(line, arg, " ")
19419 if (arg[1] == "#") {
19420 defundef = arg[2]
19421 mac1 = arg[3]
19422 } else {
19423 defundef = substr(arg[1], 2)
19424 mac1 = arg[2]
19426 split(mac1, mac2, "(") #)
19427 macro = mac2[1]
19428 prefix = substr(line, 1, index(line, defundef) - 1)
19429 if (D_is_set[macro]) {
19430 # Preserve the white space surrounding the "#".
19431 print prefix "define", macro P[macro] D[macro]
19432 next
19433 } else {
19434 # Replace #undef with comments. This is necessary, for example,
19435 # in the case of _POSIX_SOURCE, which is predefined and required
19436 # on some systems where configure will not decide to define it.
19437 if (defundef == "undef") {
19438 print "/*", prefix defundef, macro, "*/"
19439 next
19443 { print }
19444 _ACAWK
19445 _ACEOF
19446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19447 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19448 fi # test -n "$CONFIG_HEADERS"
19451 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19452 shift
19453 for ac_tag
19455 case $ac_tag in
19456 :[FHLC]) ac_mode=$ac_tag; continue;;
19457 esac
19458 case $ac_mode$ac_tag in
19459 :[FHL]*:*);;
19460 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19461 :[FH]-) ac_tag=-:-;;
19462 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19463 esac
19464 ac_save_IFS=$IFS
19465 IFS=:
19466 set x $ac_tag
19467 IFS=$ac_save_IFS
19468 shift
19469 ac_file=$1
19470 shift
19472 case $ac_mode in
19473 :L) ac_source=$1;;
19474 :[FH])
19475 ac_file_inputs=
19476 for ac_f
19478 case $ac_f in
19479 -) ac_f="$ac_tmp/stdin";;
19480 *) # Look for the file first in the build tree, then in the source tree
19481 # (if the path is not absolute). The absolute path cannot be DOS-style,
19482 # because $ac_f cannot contain `:'.
19483 test -f "$ac_f" ||
19484 case $ac_f in
19485 [\\/$]*) false;;
19486 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19487 esac ||
19488 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19489 esac
19490 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19491 as_fn_append ac_file_inputs " '$ac_f'"
19492 done
19494 # Let's still pretend it is `configure' which instantiates (i.e., don't
19495 # use $as_me), people would be surprised to read:
19496 # /* config.h. Generated by config.status. */
19497 configure_input='Generated from '`
19498 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19499 `' by configure.'
19500 if test x"$ac_file" != x-; then
19501 configure_input="$ac_file. $configure_input"
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19503 $as_echo "$as_me: creating $ac_file" >&6;}
19505 # Neutralize special characters interpreted by sed in replacement strings.
19506 case $configure_input in #(
19507 *\&* | *\|* | *\\* )
19508 ac_sed_conf_input=`$as_echo "$configure_input" |
19509 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19510 *) ac_sed_conf_input=$configure_input;;
19511 esac
19513 case $ac_tag in
19514 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19515 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19516 esac
19518 esac
19520 ac_dir=`$as_dirname -- "$ac_file" ||
19521 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19522 X"$ac_file" : 'X\(//\)[^/]' \| \
19523 X"$ac_file" : 'X\(//\)$' \| \
19524 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19525 $as_echo X"$ac_file" |
19526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19527 s//\1/
19530 /^X\(\/\/\)[^/].*/{
19531 s//\1/
19534 /^X\(\/\/\)$/{
19535 s//\1/
19538 /^X\(\/\).*/{
19539 s//\1/
19542 s/.*/./; q'`
19543 as_dir="$ac_dir"; as_fn_mkdir_p
19544 ac_builddir=.
19546 case "$ac_dir" in
19547 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19549 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19550 # A ".." for each directory in $ac_dir_suffix.
19551 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19552 case $ac_top_builddir_sub in
19553 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19554 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19555 esac ;;
19556 esac
19557 ac_abs_top_builddir=$ac_pwd
19558 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19559 # for backward compatibility:
19560 ac_top_builddir=$ac_top_build_prefix
19562 case $srcdir in
19563 .) # We are building in place.
19564 ac_srcdir=.
19565 ac_top_srcdir=$ac_top_builddir_sub
19566 ac_abs_top_srcdir=$ac_pwd ;;
19567 [\\/]* | ?:[\\/]* ) # Absolute name.
19568 ac_srcdir=$srcdir$ac_dir_suffix;
19569 ac_top_srcdir=$srcdir
19570 ac_abs_top_srcdir=$srcdir ;;
19571 *) # Relative name.
19572 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19573 ac_top_srcdir=$ac_top_build_prefix$srcdir
19574 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19575 esac
19576 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19579 case $ac_mode in
19582 # CONFIG_FILE
19585 _ACEOF
19587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19588 # If the template does not know about datarootdir, expand it.
19589 # FIXME: This hack should be removed a few years after 2.60.
19590 ac_datarootdir_hack=; ac_datarootdir_seen=
19591 ac_sed_dataroot='
19592 /datarootdir/ {
19596 /@datadir@/p
19597 /@docdir@/p
19598 /@infodir@/p
19599 /@localedir@/p
19600 /@mandir@/p'
19601 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19602 *datarootdir*) ac_datarootdir_seen=yes;;
19603 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19605 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19606 _ACEOF
19607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19608 ac_datarootdir_hack='
19609 s&@datadir@&$datadir&g
19610 s&@docdir@&$docdir&g
19611 s&@infodir@&$infodir&g
19612 s&@localedir@&$localedir&g
19613 s&@mandir@&$mandir&g
19614 s&\\\${datarootdir}&$datarootdir&g' ;;
19615 esac
19616 _ACEOF
19618 # Neutralize VPATH when `$srcdir' = `.'.
19619 # Shell code in configure.ac might set extrasub.
19620 # FIXME: do we really want to maintain this feature?
19621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19622 ac_sed_extra="$ac_vpsub
19623 $extrasub
19624 _ACEOF
19625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19627 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19628 s|@configure_input@|$ac_sed_conf_input|;t t
19629 s&@top_builddir@&$ac_top_builddir_sub&;t t
19630 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19631 s&@srcdir@&$ac_srcdir&;t t
19632 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19633 s&@top_srcdir@&$ac_top_srcdir&;t t
19634 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19635 s&@builddir@&$ac_builddir&;t t
19636 s&@abs_builddir@&$ac_abs_builddir&;t t
19637 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19638 $ac_datarootdir_hack
19640 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19641 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19643 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19644 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19645 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19646 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19648 which seems to be undefined. Please make sure it is defined" >&5
19649 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19650 which seems to be undefined. Please make sure it is defined" >&2;}
19652 rm -f "$ac_tmp/stdin"
19653 case $ac_file in
19654 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19655 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19656 esac \
19657 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19661 # CONFIG_HEADER
19663 if test x"$ac_file" != x-; then
19665 $as_echo "/* $configure_input */" \
19666 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19667 } >"$ac_tmp/config.h" \
19668 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19669 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19671 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19672 else
19673 rm -f "$ac_file"
19674 mv "$ac_tmp/config.h" "$ac_file" \
19675 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19677 else
19678 $as_echo "/* $configure_input */" \
19679 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19680 || as_fn_error $? "could not create -" "$LINENO" 5
19685 # CONFIG_LINK
19688 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19690 else
19691 # Prefer the file from the source tree if names are identical.
19692 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19693 ac_source=$srcdir/$ac_source
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19697 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19699 if test ! -r "$ac_source"; then
19700 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19702 rm -f "$ac_file"
19704 # Try a relative symlink, then a hard link, then a copy.
19705 case $ac_source in
19706 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19707 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19708 esac
19709 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19710 ln "$ac_source" "$ac_file" 2>/dev/null ||
19711 cp -p "$ac_source" "$ac_file" ||
19712 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19715 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19716 $as_echo "$as_me: executing $ac_file commands" >&6;}
19718 esac
19721 case $ac_file$ac_mode in
19722 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19723 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19724 "Makefile":C) wine_fn_output_makefile Makefile ;;
19725 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19727 esac
19728 done # for ac_tag
19731 as_fn_exit 0
19732 _ACEOF
19733 ac_clean_files=$ac_clean_files_save
19735 test $ac_write_fail = 0 ||
19736 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19739 # configure is writing to config.log, and then calls config.status.
19740 # config.status does its own redirection, appending to config.log.
19741 # Unfortunately, on DOS this fails, as config.log is still kept open
19742 # by configure, so config.status won't be able to write to it; its
19743 # output is simply discarded. So we exec the FD to /dev/null,
19744 # effectively closing config.log, so it can be properly (re)opened and
19745 # appended to by config.status. When coming back to configure, we
19746 # need to make the FD available again.
19747 if test "$no_create" != yes; then
19748 ac_cs_success=:
19749 ac_config_status_args=
19750 test "$silent" = yes &&
19751 ac_config_status_args="$ac_config_status_args --quiet"
19752 exec 5>/dev/null
19753 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19754 exec 5>>config.log
19755 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19756 # would make configure fail if this is the last instruction.
19757 $ac_cs_success || as_fn_exit 1
19759 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19761 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19765 if test "$no_create" = "yes"
19766 then
19767 exit 0
19770 ac_save_IFS="$IFS"
19771 if test "x$wine_notices" != x; then
19772 echo >&6
19773 IFS="|"
19774 for msg in $wine_notices; do
19775 IFS="$ac_save_IFS"
19776 if ${msg:+false} :; then :
19778 else
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19780 $as_echo "$as_me: $msg" >&6;}
19782 done
19784 IFS="|"
19785 for msg in $wine_warnings; do
19786 IFS="$ac_save_IFS"
19787 if ${msg:+false} :; then :
19789 else
19790 echo >&2
19791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19792 $as_echo "$as_me: WARNING: $msg" >&2;}
19794 done
19795 IFS="$ac_save_IFS"
19797 $as_echo "
19798 $as_me: Finished. Do '${ac_make}' to compile Wine.
19799 " >&6