api-ms-win-core-winrt-error-l1-1-1: Add stub dll.
[wine.git] / configure
blob6d94a08c4088df6c8abba9a1676ba310c0c85548
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.32.
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.7.32'
584 PACKAGE_STRING='Wine 1.7.32'
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 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
735 CPPBIN
736 ac_ct_CXX
737 CXXFLAGS
739 OBJEXT
740 EXEEXT
741 ac_ct_CC
742 CPPFLAGS
743 LDFLAGS
744 CFLAGS
746 SET_MAKE
747 host_os
748 host_vendor
749 host_cpu
750 host
751 build_os
752 build_vendor
753 build_cpu
754 build
755 target_alias
756 host_alias
757 build_alias
758 LIBS
759 ECHO_T
760 ECHO_N
761 ECHO_C
762 DEFS
763 mandir
764 localedir
765 libdir
766 psdir
767 pdfdir
768 dvidir
769 htmldir
770 infodir
771 docdir
772 oldincludedir
773 includedir
774 localstatedir
775 sharedstatedir
776 sysconfdir
777 datadir
778 datarootdir
779 libexecdir
780 sbindir
781 bindir
782 program_transform_name
783 prefix
784 exec_prefix
785 PACKAGE_URL
786 PACKAGE_BUGREPORT
787 PACKAGE_STRING
788 PACKAGE_VERSION
789 PACKAGE_TARNAME
790 PACKAGE_NAME
791 PATH_SEPARATOR
792 SHELL'
793 ac_subst_files=''
794 ac_user_opts='
795 enable_option_checking
796 enable_win16
797 enable_win64
798 enable_tests
799 enable_maintainer_mode
800 with_alsa
801 with_capi
802 with_cms
803 with_coreaudio
804 with_cups
805 with_curses
806 with_dbus
807 with_fontconfig
808 with_freetype
809 with_gettext
810 with_gettextpo
811 with_gphoto
812 with_glu
813 with_gnutls
814 with_gsm
815 with_gstreamer
816 with_hal
817 with_jpeg
818 with_ldap
819 with_mpg123
820 with_netapi
821 with_openal
822 with_opencl
823 with_opengl
824 with_osmesa
825 with_oss
826 with_pcap
827 with_png
828 with_pthread
829 with_sane
830 with_tiff
831 with_v4l
832 with_xcomposite
833 with_xcursor
834 with_xinerama
835 with_xinput
836 with_xinput2
837 with_xml
838 with_xrandr
839 with_xrender
840 with_xshape
841 with_xshm
842 with_xslt
843 with_xxf86vm
844 with_zlib
845 with_wine_tools
846 with_wine64
847 enable_largefile
848 with_x
849 enable_acledit
850 enable_aclui
851 enable_activeds
852 enable_actxprxy
853 enable_advapi32
854 enable_advpack
855 enable_amstream
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_datetime_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_1
860 enable_api_ms_win_core_debug_l1_1_1
861 enable_api_ms_win_core_errorhandling_l1_1_1
862 enable_api_ms_win_core_fibers_l1_1_0
863 enable_api_ms_win_core_fibers_l1_1_1
864 enable_api_ms_win_core_file_l1_2_0
865 enable_api_ms_win_core_file_l2_1_0
866 enable_api_ms_win_core_file_l2_1_1
867 enable_api_ms_win_core_handle_l1_1_0
868 enable_api_ms_win_core_heap_l1_2_0
869 enable_api_ms_win_core_heap_obsolete_l1_1_0
870 enable_api_ms_win_core_interlocked_l1_2_0
871 enable_api_ms_win_core_io_l1_1_1
872 enable_api_ms_win_core_kernel32_legacy_l1_1_0
873 enable_api_ms_win_core_libraryloader_l1_1_1
874 enable_api_ms_win_core_localization_l1_2_0
875 enable_api_ms_win_core_localization_l1_2_1
876 enable_api_ms_win_core_localization_obsolete_l1_1_0
877 enable_api_ms_win_core_localregistry_l1_1_0
878 enable_api_ms_win_core_memory_l1_1_1
879 enable_api_ms_win_core_namedpipe_l1_2_0
880 enable_api_ms_win_core_processenvironment_l1_2_0
881 enable_api_ms_win_core_processthreads_l1_1_0
882 enable_api_ms_win_core_processthreads_l1_1_1
883 enable_api_ms_win_core_processthreads_l1_1_2
884 enable_api_ms_win_core_profile_l1_1_0
885 enable_api_ms_win_core_psapi_l1_1_0
886 enable_api_ms_win_core_registry_l1_1_0
887 enable_api_ms_win_core_rtlsupport_l1_2_0
888 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
889 enable_api_ms_win_core_string_l1_1_0
890 enable_api_ms_win_core_synch_l1_2_0
891 enable_api_ms_win_core_sysinfo_l1_2_0
892 enable_api_ms_win_core_sysinfo_l1_2_1
893 enable_api_ms_win_core_threadpool_legacy_l1_1_0
894 enable_api_ms_win_core_timezone_l1_1_0
895 enable_api_ms_win_core_url_l1_1_0
896 enable_api_ms_win_core_util_l1_1_0
897 enable_api_ms_win_core_winrt_error_l1_1_0
898 enable_api_ms_win_core_winrt_error_l1_1_1
899 enable_api_ms_win_core_winrt_l1_1_0
900 enable_api_ms_win_core_winrt_string_l1_1_0
901 enable_api_ms_win_core_xstate_l2_1_0
902 enable_api_ms_win_downlevel_advapi32_l1_1_0
903 enable_api_ms_win_downlevel_advapi32_l2_1_0
904 enable_api_ms_win_downlevel_normaliz_l1_1_0
905 enable_api_ms_win_downlevel_ole32_l1_1_0
906 enable_api_ms_win_downlevel_shell32_l1_1_0
907 enable_api_ms_win_downlevel_shlwapi_l1_1_0
908 enable_api_ms_win_downlevel_shlwapi_l2_1_0
909 enable_api_ms_win_downlevel_user32_l1_1_0
910 enable_api_ms_win_downlevel_version_l1_1_0
911 enable_api_ms_win_eventing_provider_l1_1_0
912 enable_api_ms_win_ntuser_dc_access_l1_1_0
913 enable_api_ms_win_security_base_l1_1_0
914 enable_api_ms_win_security_base_l1_2_0
915 enable_api_ms_win_security_sddl_l1_1_0
916 enable_api_ms_win_service_core_l1_1_1
917 enable_api_ms_win_service_management_l1_1_0
918 enable_api_ms_win_service_winsvc_l1_2_0
919 enable_apphelp
920 enable_appwiz_cpl
921 enable_atl
922 enable_atl100
923 enable_atl110
924 enable_atl80
925 enable_atl90
926 enable_authz
927 enable_avicap32
928 enable_avifil32
929 enable_avrt
930 enable_bcrypt
931 enable_browseui
932 enable_cabinet
933 enable_capi2032
934 enable_cards
935 enable_cfgmgr32
936 enable_clusapi
937 enable_comcat
938 enable_comctl32
939 enable_comdlg32
940 enable_compstui
941 enable_comsvcs
942 enable_credui
943 enable_crtdll
944 enable_crypt32
945 enable_cryptdlg
946 enable_cryptdll
947 enable_cryptext
948 enable_cryptnet
949 enable_cryptui
950 enable_ctapi32
951 enable_ctl3d32
952 enable_d2d1
953 enable_d3d10
954 enable_d3d10_1
955 enable_d3d10core
956 enable_d3d11
957 enable_d3d8
958 enable_d3d9
959 enable_d3dcompiler_33
960 enable_d3dcompiler_34
961 enable_d3dcompiler_35
962 enable_d3dcompiler_36
963 enable_d3dcompiler_37
964 enable_d3dcompiler_38
965 enable_d3dcompiler_39
966 enable_d3dcompiler_40
967 enable_d3dcompiler_41
968 enable_d3dcompiler_42
969 enable_d3dcompiler_43
970 enable_d3dim
971 enable_d3drm
972 enable_d3dx10_33
973 enable_d3dx10_34
974 enable_d3dx10_35
975 enable_d3dx10_36
976 enable_d3dx10_37
977 enable_d3dx10_38
978 enable_d3dx10_39
979 enable_d3dx10_40
980 enable_d3dx10_41
981 enable_d3dx10_42
982 enable_d3dx10_43
983 enable_d3dx11_42
984 enable_d3dx11_43
985 enable_d3dx9_24
986 enable_d3dx9_25
987 enable_d3dx9_26
988 enable_d3dx9_27
989 enable_d3dx9_28
990 enable_d3dx9_29
991 enable_d3dx9_30
992 enable_d3dx9_31
993 enable_d3dx9_32
994 enable_d3dx9_33
995 enable_d3dx9_34
996 enable_d3dx9_35
997 enable_d3dx9_36
998 enable_d3dx9_37
999 enable_d3dx9_38
1000 enable_d3dx9_39
1001 enable_d3dx9_40
1002 enable_d3dx9_41
1003 enable_d3dx9_42
1004 enable_d3dx9_43
1005 enable_d3dxof
1006 enable_dbgeng
1007 enable_dbghelp
1008 enable_dciman32
1009 enable_ddraw
1010 enable_ddrawex
1011 enable_devenum
1012 enable_dhcpcsvc
1013 enable_difxapi
1014 enable_dinput
1015 enable_dinput8
1016 enable_dispex
1017 enable_dmband
1018 enable_dmcompos
1019 enable_dmime
1020 enable_dmloader
1021 enable_dmscript
1022 enable_dmstyle
1023 enable_dmsynth
1024 enable_dmusic
1025 enable_dmusic32
1026 enable_dnsapi
1027 enable_dplay
1028 enable_dplayx
1029 enable_dpnaddr
1030 enable_dpnet
1031 enable_dpnhpast
1032 enable_dpnlobby
1033 enable_dpvoice
1034 enable_dpwsockx
1035 enable_drmclien
1036 enable_dsound
1037 enable_dssenh
1038 enable_dswave
1039 enable_dwmapi
1040 enable_dwrite
1041 enable_dxdiagn
1042 enable_dxgi
1043 enable_dxva2
1044 enable_explorerframe
1045 enable_ext_ms_win_gdi_devcaps_l1_1_0
1046 enable_faultrep
1047 enable_fltlib
1048 enable_fntcache
1049 enable_fontsub
1050 enable_fusion
1051 enable_fwpuclnt
1052 enable_gameux
1053 enable_gdi32
1054 enable_gdiplus
1055 enable_glu32
1056 enable_gphoto2_ds
1057 enable_gpkcsp
1058 enable_hal
1059 enable_hhctrl_ocx
1060 enable_hid
1061 enable_hlink
1062 enable_hnetcfg
1063 enable_httpapi
1064 enable_iccvid
1065 enable_icmp
1066 enable_ieframe
1067 enable_imaadp32_acm
1068 enable_imagehlp
1069 enable_imm32
1070 enable_inetcomm
1071 enable_inetcpl_cpl
1072 enable_inetmib1
1073 enable_infosoft
1074 enable_initpki
1075 enable_inkobj
1076 enable_inseng
1077 enable_iphlpapi
1078 enable_itircl
1079 enable_itss
1080 enable_joy_cpl
1081 enable_jscript
1082 enable_jsproxy
1083 enable_kernel32
1084 enable_ksuser
1085 enable_ktmw32
1086 enable_loadperf
1087 enable_localspl
1088 enable_localui
1089 enable_lz32
1090 enable_mapi32
1091 enable_mapistub
1092 enable_mciavi32
1093 enable_mcicda
1094 enable_mciqtz32
1095 enable_mciseq
1096 enable_mciwave
1097 enable_mgmtapi
1098 enable_midimap
1099 enable_mlang
1100 enable_mmcndmgr
1101 enable_mmdevapi
1102 enable_mountmgr_sys
1103 enable_mpr
1104 enable_mprapi
1105 enable_msacm32_drv
1106 enable_msacm32
1107 enable_msadp32_acm
1108 enable_msasn1
1109 enable_mscat32
1110 enable_mscms
1111 enable_mscoree
1112 enable_msctf
1113 enable_msdaps
1114 enable_msdmo
1115 enable_msftedit
1116 enable_msg711_acm
1117 enable_msgsm32_acm
1118 enable_mshtml_tlb
1119 enable_mshtml
1120 enable_msi
1121 enable_msident
1122 enable_msimg32
1123 enable_msimsg
1124 enable_msimtf
1125 enable_msisip
1126 enable_msisys_ocx
1127 enable_msls31
1128 enable_msnet32
1129 enable_mspatcha
1130 enable_msrle32
1131 enable_mssign32
1132 enable_mssip32
1133 enable_mstask
1134 enable_msvcirt
1135 enable_msvcm80
1136 enable_msvcm90
1137 enable_msvcp100
1138 enable_msvcp110
1139 enable_msvcp120
1140 enable_msvcp60
1141 enable_msvcp70
1142 enable_msvcp71
1143 enable_msvcp80
1144 enable_msvcp90
1145 enable_msvcr100
1146 enable_msvcr110
1147 enable_msvcr120
1148 enable_msvcr70
1149 enable_msvcr71
1150 enable_msvcr80
1151 enable_msvcr90
1152 enable_msvcrt
1153 enable_msvcrt20
1154 enable_msvcrt40
1155 enable_msvcrtd
1156 enable_msvfw32
1157 enable_msvidc32
1158 enable_mswsock
1159 enable_msxml
1160 enable_msxml2
1161 enable_msxml3
1162 enable_msxml4
1163 enable_msxml6
1164 enable_nddeapi
1165 enable_ndis_sys
1166 enable_netapi32
1167 enable_netcfgx
1168 enable_netprofm
1169 enable_newdev
1170 enable_normaliz
1171 enable_npmshtml
1172 enable_npptools
1173 enable_ntdll
1174 enable_ntdsapi
1175 enable_ntoskrnl_exe
1176 enable_ntprint
1177 enable_objsel
1178 enable_odbc32
1179 enable_odbccp32
1180 enable_odbccu32
1181 enable_ole32
1182 enable_oleacc
1183 enable_oleaut32
1184 enable_olecli32
1185 enable_oledb32
1186 enable_oledlg
1187 enable_olepro32
1188 enable_olesvr32
1189 enable_olethk32
1190 enable_openal32
1191 enable_opencl
1192 enable_opengl32
1193 enable_packager
1194 enable_pdh
1195 enable_photometadatahandler
1196 enable_pidgen
1197 enable_powrprof
1198 enable_printui
1199 enable_prntvpt
1200 enable_propsys
1201 enable_psapi
1202 enable_pstorec
1203 enable_qcap
1204 enable_qedit
1205 enable_qmgr
1206 enable_qmgrprxy
1207 enable_quartz
1208 enable_query
1209 enable_rasapi32
1210 enable_rasdlg
1211 enable_regapi
1212 enable_resutils
1213 enable_riched20
1214 enable_riched32
1215 enable_rpcrt4
1216 enable_rsabase
1217 enable_rsaenh
1218 enable_rstrtmgr
1219 enable_rtutils
1220 enable_samlib
1221 enable_sane_ds
1222 enable_scarddlg
1223 enable_sccbase
1224 enable_schannel
1225 enable_schedsvc
1226 enable_scrrun
1227 enable_scsiport_sys
1228 enable_secur32
1229 enable_security
1230 enable_sensapi
1231 enable_serialui
1232 enable_setupapi
1233 enable_sfc
1234 enable_sfc_os
1235 enable_shdoclc
1236 enable_shdocvw
1237 enable_shell32
1238 enable_shfolder
1239 enable_shlwapi
1240 enable_slbcsp
1241 enable_slc
1242 enable_snmpapi
1243 enable_softpub
1244 enable_spoolss
1245 enable_stdole2_tlb
1246 enable_stdole32_tlb
1247 enable_sti
1248 enable_svrapi
1249 enable_sxs
1250 enable_t2embed
1251 enable_tapi32
1252 enable_taskschd
1253 enable_traffic
1254 enable_twain_32
1255 enable_unicows
1256 enable_updspapi
1257 enable_url
1258 enable_urlmon
1259 enable_usbd_sys
1260 enable_user32
1261 enable_userenv
1262 enable_usp10
1263 enable_uxtheme
1264 enable_vbscript
1265 enable_vcomp
1266 enable_vcomp100
1267 enable_vcomp90
1268 enable_vdmdbg
1269 enable_version
1270 enable_vssapi
1271 enable_wbemdisp
1272 enable_wbemprox
1273 enable_webservices
1274 enable_wer
1275 enable_wevtapi
1276 enable_wiaservc
1277 enable_windowscodecs
1278 enable_windowscodecsext
1279 enable_winealsa_drv
1280 enable_winecoreaudio_drv
1281 enable_wined3d
1282 enable_winegstreamer
1283 enable_winejoystick_drv
1284 enable_winemac_drv
1285 enable_winemapi
1286 enable_winemp3_acm
1287 enable_wineoss_drv
1288 enable_wineps_drv
1289 enable_wineqtdecoder
1290 enable_winex11_drv
1291 enable_wing32
1292 enable_winhttp
1293 enable_wininet
1294 enable_winmm
1295 enable_winnls32
1296 enable_winscard
1297 enable_winspool_drv
1298 enable_winsta
1299 enable_wintab32
1300 enable_wintrust
1301 enable_wlanapi
1302 enable_wldap32
1303 enable_wmi
1304 enable_wmiutils
1305 enable_wmp
1306 enable_wmvcore
1307 enable_wnaspi32
1308 enable_wpcap
1309 enable_ws2_32
1310 enable_wshom_ocx
1311 enable_wsnmp32
1312 enable_wsock32
1313 enable_wtsapi32
1314 enable_wuapi
1315 enable_wuaueng
1316 enable_xapofx1_1
1317 enable_xinput1_1
1318 enable_xinput1_2
1319 enable_xinput1_3
1320 enable_xinput1_4
1321 enable_xinput9_1_0
1322 enable_xmllite
1323 enable_xolehlp
1324 enable_xpsprint
1325 enable_xpssvcs
1326 enable_documentation
1327 enable_fonts
1328 enable_include
1329 enable_libs_port
1330 enable_libs_wine
1331 enable_libs_wpp
1332 enable_loader
1333 enable_arp
1334 enable_aspnet_regiis
1335 enable_attrib
1336 enable_cabarc
1337 enable_cacls
1338 enable_clock
1339 enable_cmd
1340 enable_conhost
1341 enable_control
1342 enable_cscript
1343 enable_dpnsvr
1344 enable_dxdiag
1345 enable_eject
1346 enable_expand
1347 enable_explorer
1348 enable_extrac32
1349 enable_findstr
1350 enable_hh
1351 enable_hostname
1352 enable_icinfo
1353 enable_iexplore
1354 enable_ipconfig
1355 enable_lodctr
1356 enable_mofcomp
1357 enable_mshta
1358 enable_msiexec
1359 enable_net
1360 enable_netsh
1361 enable_netstat
1362 enable_ngen
1363 enable_notepad
1364 enable_oleview
1365 enable_ping
1366 enable_plugplay
1367 enable_presentationfontcache
1368 enable_progman
1369 enable_reg
1370 enable_regasm
1371 enable_regedit
1372 enable_regsvcs
1373 enable_regsvr32
1374 enable_rpcss
1375 enable_rundll32
1376 enable_sc
1377 enable_schtasks
1378 enable_sdbinst
1379 enable_secedit
1380 enable_servicemodelreg
1381 enable_services
1382 enable_spoolsv
1383 enable_start
1384 enable_svchost
1385 enable_systeminfo
1386 enable_taskkill
1387 enable_tasklist
1388 enable_taskmgr
1389 enable_termsv
1390 enable_uninstaller
1391 enable_unlodctr
1392 enable_view
1393 enable_wevtutil
1394 enable_wineboot
1395 enable_winebrowser
1396 enable_winecfg
1397 enable_wineconsole
1398 enable_winedbg
1399 enable_winedevice
1400 enable_winefile
1401 enable_winemenubuilder
1402 enable_winemine
1403 enable_winemsibuilder
1404 enable_winepath
1405 enable_winetest
1406 enable_winhlp32
1407 enable_winver
1408 enable_wmic
1409 enable_wordpad
1410 enable_write
1411 enable_wscript
1412 enable_wusa
1413 enable_xcopy
1414 enable_server
1415 enable_tools
1417 ac_precious_vars='build_alias
1418 host_alias
1419 target_alias
1421 CFLAGS
1422 LDFLAGS
1423 LIBS
1424 CPPFLAGS
1426 CXXFLAGS
1429 XMKMF
1430 XML2_CFLAGS
1431 XML2_LIBS
1432 XSLT_CFLAGS
1433 XSLT_LIBS
1434 DBUS_CFLAGS
1435 DBUS_LIBS
1436 HAL_CFLAGS
1437 HAL_LIBS
1438 GNUTLS_CFLAGS
1439 GNUTLS_LIBS
1440 SANE_CFLAGS
1441 SANE_LIBS
1442 GPHOTO2_CFLAGS
1443 GPHOTO2_LIBS
1444 GPHOTO2_PORT_CFLAGS
1445 GPHOTO2_PORT_LIBS
1446 LCMS2_CFLAGS
1447 LCMS2_LIBS
1448 FREETYPE_CFLAGS
1449 FREETYPE_LIBS
1450 GSTREAMER_CFLAGS
1451 GSTREAMER_LIBS
1452 CAPI20_CFLAGS
1453 CAPI20_LIBS
1454 FONTCONFIG_CFLAGS
1455 FONTCONFIG_LIBS
1456 JPEG_CFLAGS
1457 JPEG_LIBS
1458 PNG_CFLAGS
1459 PNG_LIBS
1460 TIFF_CFLAGS
1461 TIFF_LIBS
1462 MPG123_CFLAGS
1463 MPG123_LIBS'
1466 # Initialize some variables set by options.
1467 ac_init_help=
1468 ac_init_version=false
1469 ac_unrecognized_opts=
1470 ac_unrecognized_sep=
1471 # The variables have the same names as the options, with
1472 # dashes changed to underlines.
1473 cache_file=/dev/null
1474 exec_prefix=NONE
1475 no_create=
1476 no_recursion=
1477 prefix=NONE
1478 program_prefix=NONE
1479 program_suffix=NONE
1480 program_transform_name=s,x,x,
1481 silent=
1482 site=
1483 srcdir=
1484 verbose=
1485 x_includes=NONE
1486 x_libraries=NONE
1488 # Installation directory options.
1489 # These are left unexpanded so users can "make install exec_prefix=/foo"
1490 # and all the variables that are supposed to be based on exec_prefix
1491 # by default will actually change.
1492 # Use braces instead of parens because sh, perl, etc. also accept them.
1493 # (The list follows the same order as the GNU Coding Standards.)
1494 bindir='${exec_prefix}/bin'
1495 sbindir='${exec_prefix}/sbin'
1496 libexecdir='${exec_prefix}/libexec'
1497 datarootdir='${prefix}/share'
1498 datadir='${datarootdir}'
1499 sysconfdir='${prefix}/etc'
1500 sharedstatedir='${prefix}/com'
1501 localstatedir='${prefix}/var'
1502 includedir='${prefix}/include'
1503 oldincludedir='/usr/include'
1504 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1505 infodir='${datarootdir}/info'
1506 htmldir='${docdir}'
1507 dvidir='${docdir}'
1508 pdfdir='${docdir}'
1509 psdir='${docdir}'
1510 libdir='${exec_prefix}/lib'
1511 localedir='${datarootdir}/locale'
1512 mandir='${datarootdir}/man'
1514 ac_prev=
1515 ac_dashdash=
1516 for ac_option
1518 # If the previous option needs an argument, assign it.
1519 if test -n "$ac_prev"; then
1520 eval $ac_prev=\$ac_option
1521 ac_prev=
1522 continue
1525 case $ac_option in
1526 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1527 *=) ac_optarg= ;;
1528 *) ac_optarg=yes ;;
1529 esac
1531 # Accept the important Cygnus configure options, so we can diagnose typos.
1533 case $ac_dashdash$ac_option in
1535 ac_dashdash=yes ;;
1537 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1538 ac_prev=bindir ;;
1539 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1540 bindir=$ac_optarg ;;
1542 -build | --build | --buil | --bui | --bu)
1543 ac_prev=build_alias ;;
1544 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1545 build_alias=$ac_optarg ;;
1547 -cache-file | --cache-file | --cache-fil | --cache-fi \
1548 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1549 ac_prev=cache_file ;;
1550 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1551 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1552 cache_file=$ac_optarg ;;
1554 --config-cache | -C)
1555 cache_file=config.cache ;;
1557 -datadir | --datadir | --datadi | --datad)
1558 ac_prev=datadir ;;
1559 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1560 datadir=$ac_optarg ;;
1562 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1563 | --dataroo | --dataro | --datar)
1564 ac_prev=datarootdir ;;
1565 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1566 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1567 datarootdir=$ac_optarg ;;
1569 -disable-* | --disable-*)
1570 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1571 # Reject names that are not valid shell variable names.
1572 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1573 as_fn_error $? "invalid feature name: $ac_useropt"
1574 ac_useropt_orig=$ac_useropt
1575 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1576 case $ac_user_opts in
1578 "enable_$ac_useropt"
1579 "*) ;;
1580 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1581 ac_unrecognized_sep=', ';;
1582 esac
1583 eval enable_$ac_useropt=no ;;
1585 -docdir | --docdir | --docdi | --doc | --do)
1586 ac_prev=docdir ;;
1587 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1588 docdir=$ac_optarg ;;
1590 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1591 ac_prev=dvidir ;;
1592 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1593 dvidir=$ac_optarg ;;
1595 -enable-* | --enable-*)
1596 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1597 # Reject names that are not valid shell variable names.
1598 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1599 as_fn_error $? "invalid feature name: $ac_useropt"
1600 ac_useropt_orig=$ac_useropt
1601 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1602 case $ac_user_opts in
1604 "enable_$ac_useropt"
1605 "*) ;;
1606 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1607 ac_unrecognized_sep=', ';;
1608 esac
1609 eval enable_$ac_useropt=\$ac_optarg ;;
1611 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1612 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1613 | --exec | --exe | --ex)
1614 ac_prev=exec_prefix ;;
1615 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1616 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1617 | --exec=* | --exe=* | --ex=*)
1618 exec_prefix=$ac_optarg ;;
1620 -gas | --gas | --ga | --g)
1621 # Obsolete; use --with-gas.
1622 with_gas=yes ;;
1624 -help | --help | --hel | --he | -h)
1625 ac_init_help=long ;;
1626 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1627 ac_init_help=recursive ;;
1628 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1629 ac_init_help=short ;;
1631 -host | --host | --hos | --ho)
1632 ac_prev=host_alias ;;
1633 -host=* | --host=* | --hos=* | --ho=*)
1634 host_alias=$ac_optarg ;;
1636 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1637 ac_prev=htmldir ;;
1638 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1639 | --ht=*)
1640 htmldir=$ac_optarg ;;
1642 -includedir | --includedir | --includedi | --included | --include \
1643 | --includ | --inclu | --incl | --inc)
1644 ac_prev=includedir ;;
1645 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1646 | --includ=* | --inclu=* | --incl=* | --inc=*)
1647 includedir=$ac_optarg ;;
1649 -infodir | --infodir | --infodi | --infod | --info | --inf)
1650 ac_prev=infodir ;;
1651 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1652 infodir=$ac_optarg ;;
1654 -libdir | --libdir | --libdi | --libd)
1655 ac_prev=libdir ;;
1656 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1657 libdir=$ac_optarg ;;
1659 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1660 | --libexe | --libex | --libe)
1661 ac_prev=libexecdir ;;
1662 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1663 | --libexe=* | --libex=* | --libe=*)
1664 libexecdir=$ac_optarg ;;
1666 -localedir | --localedir | --localedi | --localed | --locale)
1667 ac_prev=localedir ;;
1668 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1669 localedir=$ac_optarg ;;
1671 -localstatedir | --localstatedir | --localstatedi | --localstated \
1672 | --localstate | --localstat | --localsta | --localst | --locals)
1673 ac_prev=localstatedir ;;
1674 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1675 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1676 localstatedir=$ac_optarg ;;
1678 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1679 ac_prev=mandir ;;
1680 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1681 mandir=$ac_optarg ;;
1683 -nfp | --nfp | --nf)
1684 # Obsolete; use --without-fp.
1685 with_fp=no ;;
1687 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1688 | --no-cr | --no-c | -n)
1689 no_create=yes ;;
1691 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1692 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1693 no_recursion=yes ;;
1695 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1696 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1697 | --oldin | --oldi | --old | --ol | --o)
1698 ac_prev=oldincludedir ;;
1699 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1700 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1701 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1702 oldincludedir=$ac_optarg ;;
1704 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1705 ac_prev=prefix ;;
1706 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1707 prefix=$ac_optarg ;;
1709 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1710 | --program-pre | --program-pr | --program-p)
1711 ac_prev=program_prefix ;;
1712 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1713 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1714 program_prefix=$ac_optarg ;;
1716 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1717 | --program-suf | --program-su | --program-s)
1718 ac_prev=program_suffix ;;
1719 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1720 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1721 program_suffix=$ac_optarg ;;
1723 -program-transform-name | --program-transform-name \
1724 | --program-transform-nam | --program-transform-na \
1725 | --program-transform-n | --program-transform- \
1726 | --program-transform | --program-transfor \
1727 | --program-transfo | --program-transf \
1728 | --program-trans | --program-tran \
1729 | --progr-tra | --program-tr | --program-t)
1730 ac_prev=program_transform_name ;;
1731 -program-transform-name=* | --program-transform-name=* \
1732 | --program-transform-nam=* | --program-transform-na=* \
1733 | --program-transform-n=* | --program-transform-=* \
1734 | --program-transform=* | --program-transfor=* \
1735 | --program-transfo=* | --program-transf=* \
1736 | --program-trans=* | --program-tran=* \
1737 | --progr-tra=* | --program-tr=* | --program-t=*)
1738 program_transform_name=$ac_optarg ;;
1740 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1741 ac_prev=pdfdir ;;
1742 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1743 pdfdir=$ac_optarg ;;
1745 -psdir | --psdir | --psdi | --psd | --ps)
1746 ac_prev=psdir ;;
1747 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1748 psdir=$ac_optarg ;;
1750 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1751 | -silent | --silent | --silen | --sile | --sil)
1752 silent=yes ;;
1754 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1755 ac_prev=sbindir ;;
1756 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1757 | --sbi=* | --sb=*)
1758 sbindir=$ac_optarg ;;
1760 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1761 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1762 | --sharedst | --shareds | --shared | --share | --shar \
1763 | --sha | --sh)
1764 ac_prev=sharedstatedir ;;
1765 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1766 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1767 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1768 | --sha=* | --sh=*)
1769 sharedstatedir=$ac_optarg ;;
1771 -site | --site | --sit)
1772 ac_prev=site ;;
1773 -site=* | --site=* | --sit=*)
1774 site=$ac_optarg ;;
1776 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1777 ac_prev=srcdir ;;
1778 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1779 srcdir=$ac_optarg ;;
1781 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1782 | --syscon | --sysco | --sysc | --sys | --sy)
1783 ac_prev=sysconfdir ;;
1784 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1785 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1786 sysconfdir=$ac_optarg ;;
1788 -target | --target | --targe | --targ | --tar | --ta | --t)
1789 ac_prev=target_alias ;;
1790 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1791 target_alias=$ac_optarg ;;
1793 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1794 verbose=yes ;;
1796 -version | --version | --versio | --versi | --vers | -V)
1797 ac_init_version=: ;;
1799 -with-* | --with-*)
1800 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1801 # Reject names that are not valid shell variable names.
1802 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1803 as_fn_error $? "invalid package name: $ac_useropt"
1804 ac_useropt_orig=$ac_useropt
1805 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1806 case $ac_user_opts in
1808 "with_$ac_useropt"
1809 "*) ;;
1810 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1811 ac_unrecognized_sep=', ';;
1812 esac
1813 eval with_$ac_useropt=\$ac_optarg ;;
1815 -without-* | --without-*)
1816 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1817 # Reject names that are not valid shell variable names.
1818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1819 as_fn_error $? "invalid package name: $ac_useropt"
1820 ac_useropt_orig=$ac_useropt
1821 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1822 case $ac_user_opts in
1824 "with_$ac_useropt"
1825 "*) ;;
1826 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1827 ac_unrecognized_sep=', ';;
1828 esac
1829 eval with_$ac_useropt=no ;;
1831 --x)
1832 # Obsolete; use --with-x.
1833 with_x=yes ;;
1835 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1836 | --x-incl | --x-inc | --x-in | --x-i)
1837 ac_prev=x_includes ;;
1838 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1839 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1840 x_includes=$ac_optarg ;;
1842 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1843 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1844 ac_prev=x_libraries ;;
1845 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1846 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1847 x_libraries=$ac_optarg ;;
1849 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1850 Try \`$0 --help' for more information"
1853 *=*)
1854 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1855 # Reject names that are not valid shell variable names.
1856 case $ac_envvar in #(
1857 '' | [0-9]* | *[!_$as_cr_alnum]* )
1858 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1859 esac
1860 eval $ac_envvar=\$ac_optarg
1861 export $ac_envvar ;;
1864 # FIXME: should be removed in autoconf 3.0.
1865 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1866 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1867 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1868 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1871 esac
1872 done
1874 if test -n "$ac_prev"; then
1875 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1876 as_fn_error $? "missing argument to $ac_option"
1879 if test -n "$ac_unrecognized_opts"; then
1880 case $enable_option_checking in
1881 no) ;;
1882 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1883 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1884 esac
1887 # Check all directory arguments for consistency.
1888 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1889 datadir sysconfdir sharedstatedir localstatedir includedir \
1890 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1891 libdir localedir mandir
1893 eval ac_val=\$$ac_var
1894 # Remove trailing slashes.
1895 case $ac_val in
1896 */ )
1897 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1898 eval $ac_var=\$ac_val;;
1899 esac
1900 # Be sure to have absolute directory names.
1901 case $ac_val in
1902 [\\/$]* | ?:[\\/]* ) continue;;
1903 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1904 esac
1905 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1906 done
1908 # There might be people who depend on the old broken behavior: `$host'
1909 # used to hold the argument of --host etc.
1910 # FIXME: To remove some day.
1911 build=$build_alias
1912 host=$host_alias
1913 target=$target_alias
1915 # FIXME: To remove some day.
1916 if test "x$host_alias" != x; then
1917 if test "x$build_alias" = x; then
1918 cross_compiling=maybe
1919 elif test "x$build_alias" != "x$host_alias"; then
1920 cross_compiling=yes
1924 ac_tool_prefix=
1925 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1927 test "$silent" = yes && exec 6>/dev/null
1930 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1931 ac_ls_di=`ls -di .` &&
1932 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1933 as_fn_error $? "working directory cannot be determined"
1934 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1935 as_fn_error $? "pwd does not report name of working directory"
1938 # Find the source files, if location was not specified.
1939 if test -z "$srcdir"; then
1940 ac_srcdir_defaulted=yes
1941 # Try the directory containing this script, then the parent directory.
1942 ac_confdir=`$as_dirname -- "$as_myself" ||
1943 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1944 X"$as_myself" : 'X\(//\)[^/]' \| \
1945 X"$as_myself" : 'X\(//\)$' \| \
1946 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1947 $as_echo X"$as_myself" |
1948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1949 s//\1/
1952 /^X\(\/\/\)[^/].*/{
1953 s//\1/
1956 /^X\(\/\/\)$/{
1957 s//\1/
1960 /^X\(\/\).*/{
1961 s//\1/
1964 s/.*/./; q'`
1965 srcdir=$ac_confdir
1966 if test ! -r "$srcdir/$ac_unique_file"; then
1967 srcdir=..
1969 else
1970 ac_srcdir_defaulted=no
1972 if test ! -r "$srcdir/$ac_unique_file"; then
1973 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1974 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1976 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1977 ac_abs_confdir=`(
1978 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1979 pwd)`
1980 # When building in place, set srcdir=.
1981 if test "$ac_abs_confdir" = "$ac_pwd"; then
1982 srcdir=.
1984 # Remove unnecessary trailing slashes from srcdir.
1985 # Double slashes in file names in object file debugging info
1986 # mess up M-x gdb in Emacs.
1987 case $srcdir in
1988 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1989 esac
1990 for ac_var in $ac_precious_vars; do
1991 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1992 eval ac_env_${ac_var}_value=\$${ac_var}
1993 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1994 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1995 done
1998 # Report the --help message.
2000 if test "$ac_init_help" = "long"; then
2001 # Omit some internal or obsolete options to make the list less imposing.
2002 # This message is too long to be a string in the A/UX 3.1 sh.
2003 cat <<_ACEOF
2004 \`configure' configures Wine 1.7.32 to adapt to many kinds of systems.
2006 Usage: $0 [OPTION]... [VAR=VALUE]...
2008 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2009 VAR=VALUE. See below for descriptions of some of the useful variables.
2011 Defaults for the options are specified in brackets.
2013 Configuration:
2014 -h, --help display this help and exit
2015 --help=short display options specific to this package
2016 --help=recursive display the short help of all the included packages
2017 -V, --version display version information and exit
2018 -q, --quiet, --silent do not print \`checking ...' messages
2019 --cache-file=FILE cache test results in FILE [disabled]
2020 -C, --config-cache alias for \`--cache-file=config.cache'
2021 -n, --no-create do not create output files
2022 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2024 Installation directories:
2025 --prefix=PREFIX install architecture-independent files in PREFIX
2026 [$ac_default_prefix]
2027 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2028 [PREFIX]
2030 By default, \`make install' will install all the files in
2031 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2032 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2033 for instance \`--prefix=\$HOME'.
2035 For better control, use the options below.
2037 Fine tuning of the installation directories:
2038 --bindir=DIR user executables [EPREFIX/bin]
2039 --sbindir=DIR system admin executables [EPREFIX/sbin]
2040 --libexecdir=DIR program executables [EPREFIX/libexec]
2041 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2042 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2043 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2044 --libdir=DIR object code libraries [EPREFIX/lib]
2045 --includedir=DIR C header files [PREFIX/include]
2046 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2047 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2048 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2049 --infodir=DIR info documentation [DATAROOTDIR/info]
2050 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2051 --mandir=DIR man documentation [DATAROOTDIR/man]
2052 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2053 --htmldir=DIR html documentation [DOCDIR]
2054 --dvidir=DIR dvi documentation [DOCDIR]
2055 --pdfdir=DIR pdf documentation [DOCDIR]
2056 --psdir=DIR ps documentation [DOCDIR]
2057 _ACEOF
2059 cat <<\_ACEOF
2061 X features:
2062 --x-includes=DIR X include files are in DIR
2063 --x-libraries=DIR X library files are in DIR
2065 System types:
2066 --build=BUILD configure for building on BUILD [guessed]
2067 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2068 _ACEOF
2071 if test -n "$ac_init_help"; then
2072 case $ac_init_help in
2073 short | recursive ) echo "Configuration of Wine 1.7.32:";;
2074 esac
2075 cat <<\_ACEOF
2077 Optional Features:
2078 --disable-option-checking ignore unrecognized --enable/--with options
2079 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2080 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2081 --disable-win16 do not include Win16 support
2082 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2083 binaries)
2084 --disable-tests do not build the regression tests
2085 --enable-maintainer-mode
2086 enable maintainer-specific build rules
2087 --disable-largefile omit support for large files
2089 Optional Packages:
2090 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2091 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2092 --without-alsa do not use the Alsa sound support
2093 --without-capi do not use CAPI (ISDN support)
2094 --without-cms do not use CMS (color management support)
2095 --without-coreaudio do not use the CoreAudio sound support
2096 --without-cups do not use CUPS
2097 --without-curses do not use (n)curses
2098 --without-dbus do not use DBus (dynamic device support)
2099 --without-fontconfig do not use fontconfig
2100 --without-freetype do not use the FreeType library
2101 --without-gettext do not use gettext
2102 --with-gettextpo use the GetTextPO library to rebuild po files
2103 --without-gphoto do not use gphoto (Digital Camera support)
2104 --without-glu do not use the GLU library
2105 --without-gnutls do not use GnuTLS (schannel support)
2106 --without-gsm do not use libgsm (GSM 06.10 codec support)
2107 --without-gstreamer do not use GStreamer (codecs support)
2108 --without-hal do not use HAL (dynamic device support)
2109 --without-jpeg do not use JPEG
2110 --without-ldap do not use LDAP
2111 --without-mpg123 do not use the mpg123 library
2112 --without-netapi do not use the Samba NetAPI library
2113 --without-openal do not use OpenAL
2114 --without-opencl do not use OpenCL
2115 --without-opengl do not use OpenGL
2116 --without-osmesa do not use the OSMesa library
2117 --without-oss do not use the OSS sound support
2118 --without-pcap do not use the Packet Capture library
2119 --without-png do not use PNG
2120 --without-pthread do not use the pthread library
2121 --without-sane do not use SANE (scanner support)
2122 --without-tiff do not use TIFF
2123 --without-v4l do not use v4l1 (v4l support)
2124 --without-xcomposite do not use the Xcomposite extension
2125 --without-xcursor do not use the Xcursor extension
2126 --without-xinerama do not use Xinerama (multi-monitor support)
2127 --without-xinput do not use the Xinput extension
2128 --without-xinput2 do not use the Xinput 2 extension
2129 --without-xml do not use XML
2130 --without-xrandr do not use Xrandr (resolution changes)
2131 --without-xrender do not use the Xrender extension
2132 --without-xshape do not use the Xshape extension
2133 --without-xshm do not use XShm (shared memory extension)
2134 --without-xslt do not use XSLT
2135 --without-xxf86vm do not use XFree video mode extension
2136 --without-zlib do not use Zlib (data compression)
2137 --with-wine-tools=DIR use Wine tools from directory DIR
2138 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2139 --with-x use the X Window System
2141 Some influential environment variables:
2142 CC C compiler command
2143 CFLAGS C compiler flags
2144 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2145 nonstandard directory <lib dir>
2146 LIBS libraries to pass to the linker, e.g. -l<library>
2147 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2148 you have headers in a nonstandard directory <include dir>
2149 CXX C++ compiler command
2150 CXXFLAGS C++ compiler flags
2151 CPP C preprocessor
2152 XMKMF Path to xmkmf, Makefile generator for X Window System
2153 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2154 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2155 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2156 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2157 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2158 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2159 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2160 HAL_LIBS Linker flags for hal, overriding pkg-config
2161 GNUTLS_CFLAGS
2162 C compiler flags for gnutls, overriding pkg-config
2163 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2164 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2165 SANE_LIBS Linker flags for libsane, overriding pkg-config
2166 GPHOTO2_CFLAGS
2167 C compiler flags for libgphoto2, overriding pkg-config
2168 GPHOTO2_LIBS
2169 Linker flags for libgphoto2, overriding pkg-config
2170 GPHOTO2_PORT_CFLAGS
2171 C compiler flags for libgphoto2_port, overriding pkg-config
2172 GPHOTO2_PORT_LIBS
2173 Linker flags for libgphoto2_port, overriding pkg-config
2174 LCMS2_CFLAGS
2175 C compiler flags for lcms2, overriding pkg-config
2176 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2177 FREETYPE_CFLAGS
2178 C compiler flags for freetype2, overriding pkg-config
2179 FREETYPE_LIBS
2180 Linker flags for freetype2, overriding pkg-config
2181 GSTREAMER_CFLAGS
2182 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2183 GSTREAMER_LIBS
2184 Linker flags for gstreamer-app-0.10, overriding pkg-config
2185 CAPI20_CFLAGS
2186 C compiler flags for capi20, overriding pkg-config
2187 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2188 FONTCONFIG_CFLAGS
2189 C compiler flags for fontconfig, overriding pkg-config
2190 FONTCONFIG_LIBS
2191 Linker flags for fontconfig, overriding pkg-config
2192 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2193 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2194 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2195 PNG_LIBS Linker flags for libpng, overriding pkg-config
2196 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2197 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2198 MPG123_CFLAGS
2199 C compiler flags for libmpg123, overriding pkg-config
2200 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2202 Use these variables to override the choices made by `configure' or to help
2203 it to find libraries and programs with nonstandard names/locations.
2205 Report bugs to <wine-devel@winehq.org>.
2206 Wine home page: <http://www.winehq.org>.
2207 _ACEOF
2208 ac_status=$?
2211 if test "$ac_init_help" = "recursive"; then
2212 # If there are subdirs, report their specific --help.
2213 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2214 test -d "$ac_dir" ||
2215 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2216 continue
2217 ac_builddir=.
2219 case "$ac_dir" in
2220 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2222 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2223 # A ".." for each directory in $ac_dir_suffix.
2224 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2225 case $ac_top_builddir_sub in
2226 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2227 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2228 esac ;;
2229 esac
2230 ac_abs_top_builddir=$ac_pwd
2231 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2232 # for backward compatibility:
2233 ac_top_builddir=$ac_top_build_prefix
2235 case $srcdir in
2236 .) # We are building in place.
2237 ac_srcdir=.
2238 ac_top_srcdir=$ac_top_builddir_sub
2239 ac_abs_top_srcdir=$ac_pwd ;;
2240 [\\/]* | ?:[\\/]* ) # Absolute name.
2241 ac_srcdir=$srcdir$ac_dir_suffix;
2242 ac_top_srcdir=$srcdir
2243 ac_abs_top_srcdir=$srcdir ;;
2244 *) # Relative name.
2245 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2246 ac_top_srcdir=$ac_top_build_prefix$srcdir
2247 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2248 esac
2249 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2251 cd "$ac_dir" || { ac_status=$?; continue; }
2252 # Check for guested configure.
2253 if test -f "$ac_srcdir/configure.gnu"; then
2254 echo &&
2255 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2256 elif test -f "$ac_srcdir/configure"; then
2257 echo &&
2258 $SHELL "$ac_srcdir/configure" --help=recursive
2259 else
2260 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2261 fi || ac_status=$?
2262 cd "$ac_pwd" || { ac_status=$?; break; }
2263 done
2266 test -n "$ac_init_help" && exit $ac_status
2267 if $ac_init_version; then
2268 cat <<\_ACEOF
2269 Wine configure 1.7.32
2270 generated by GNU Autoconf 2.69
2272 Copyright (C) 2012 Free Software Foundation, Inc.
2273 This configure script is free software; the Free Software Foundation
2274 gives unlimited permission to copy, distribute and modify it.
2275 _ACEOF
2276 exit
2279 ## ------------------------ ##
2280 ## Autoconf initialization. ##
2281 ## ------------------------ ##
2283 # ac_fn_c_try_compile LINENO
2284 # --------------------------
2285 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2286 ac_fn_c_try_compile ()
2288 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2289 rm -f conftest.$ac_objext
2290 if { { ac_try="$ac_compile"
2291 case "(($ac_try" in
2292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2293 *) ac_try_echo=$ac_try;;
2294 esac
2295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2296 $as_echo "$ac_try_echo"; } >&5
2297 (eval "$ac_compile") 2>conftest.err
2298 ac_status=$?
2299 if test -s conftest.err; then
2300 grep -v '^ *+' conftest.err >conftest.er1
2301 cat conftest.er1 >&5
2302 mv -f conftest.er1 conftest.err
2304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2305 test $ac_status = 0; } && {
2306 test -z "$ac_c_werror_flag" ||
2307 test ! -s conftest.err
2308 } && test -s conftest.$ac_objext; then :
2309 ac_retval=0
2310 else
2311 $as_echo "$as_me: failed program was:" >&5
2312 sed 's/^/| /' conftest.$ac_ext >&5
2314 ac_retval=1
2316 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2317 as_fn_set_status $ac_retval
2319 } # ac_fn_c_try_compile
2321 # ac_fn_cxx_try_compile LINENO
2322 # ----------------------------
2323 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2324 ac_fn_cxx_try_compile ()
2326 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2327 rm -f conftest.$ac_objext
2328 if { { ac_try="$ac_compile"
2329 case "(($ac_try" in
2330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2331 *) ac_try_echo=$ac_try;;
2332 esac
2333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2334 $as_echo "$ac_try_echo"; } >&5
2335 (eval "$ac_compile") 2>conftest.err
2336 ac_status=$?
2337 if test -s conftest.err; then
2338 grep -v '^ *+' conftest.err >conftest.er1
2339 cat conftest.er1 >&5
2340 mv -f conftest.er1 conftest.err
2342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2343 test $ac_status = 0; } && {
2344 test -z "$ac_cxx_werror_flag" ||
2345 test ! -s conftest.err
2346 } && test -s conftest.$ac_objext; then :
2347 ac_retval=0
2348 else
2349 $as_echo "$as_me: failed program was:" >&5
2350 sed 's/^/| /' conftest.$ac_ext >&5
2352 ac_retval=1
2354 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2355 as_fn_set_status $ac_retval
2357 } # ac_fn_cxx_try_compile
2359 # ac_fn_c_try_link LINENO
2360 # -----------------------
2361 # Try to link conftest.$ac_ext, and return whether this succeeded.
2362 ac_fn_c_try_link ()
2364 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2365 rm -f conftest.$ac_objext conftest$ac_exeext
2366 if { { ac_try="$ac_link"
2367 case "(($ac_try" in
2368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2369 *) ac_try_echo=$ac_try;;
2370 esac
2371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2372 $as_echo "$ac_try_echo"; } >&5
2373 (eval "$ac_link") 2>conftest.err
2374 ac_status=$?
2375 if test -s conftest.err; then
2376 grep -v '^ *+' conftest.err >conftest.er1
2377 cat conftest.er1 >&5
2378 mv -f conftest.er1 conftest.err
2380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2381 test $ac_status = 0; } && {
2382 test -z "$ac_c_werror_flag" ||
2383 test ! -s conftest.err
2384 } && test -s conftest$ac_exeext && {
2385 test "$cross_compiling" = yes ||
2386 test -x conftest$ac_exeext
2387 }; then :
2388 ac_retval=0
2389 else
2390 $as_echo "$as_me: failed program was:" >&5
2391 sed 's/^/| /' conftest.$ac_ext >&5
2393 ac_retval=1
2395 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2396 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2397 # interfere with the next link command; also delete a directory that is
2398 # left behind by Apple's compiler. We do this before executing the actions.
2399 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2400 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2401 as_fn_set_status $ac_retval
2403 } # ac_fn_c_try_link
2405 # ac_fn_c_try_cpp LINENO
2406 # ----------------------
2407 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2408 ac_fn_c_try_cpp ()
2410 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2411 if { { ac_try="$ac_cpp conftest.$ac_ext"
2412 case "(($ac_try" in
2413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2414 *) ac_try_echo=$ac_try;;
2415 esac
2416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2417 $as_echo "$ac_try_echo"; } >&5
2418 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2419 ac_status=$?
2420 if test -s conftest.err; then
2421 grep -v '^ *+' conftest.err >conftest.er1
2422 cat conftest.er1 >&5
2423 mv -f conftest.er1 conftest.err
2425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2426 test $ac_status = 0; } > conftest.i && {
2427 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2428 test ! -s conftest.err
2429 }; then :
2430 ac_retval=0
2431 else
2432 $as_echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.$ac_ext >&5
2435 ac_retval=1
2437 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2438 as_fn_set_status $ac_retval
2440 } # ac_fn_c_try_cpp
2442 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2443 # -------------------------------------------------------
2444 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2445 # the include files in INCLUDES and setting the cache variable VAR
2446 # accordingly.
2447 ac_fn_c_check_header_mongrel ()
2449 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2450 if eval \${$3+:} false; then :
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2452 $as_echo_n "checking for $2... " >&6; }
2453 if eval \${$3+:} false; then :
2454 $as_echo_n "(cached) " >&6
2456 eval ac_res=\$$3
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2458 $as_echo "$ac_res" >&6; }
2459 else
2460 # Is the header compilable?
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2462 $as_echo_n "checking $2 usability... " >&6; }
2463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2464 /* end confdefs.h. */
2466 #include <$2>
2467 _ACEOF
2468 if ac_fn_c_try_compile "$LINENO"; then :
2469 ac_header_compiler=yes
2470 else
2471 ac_header_compiler=no
2473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2475 $as_echo "$ac_header_compiler" >&6; }
2477 # Is the header present?
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2479 $as_echo_n "checking $2 presence... " >&6; }
2480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2481 /* end confdefs.h. */
2482 #include <$2>
2483 _ACEOF
2484 if ac_fn_c_try_cpp "$LINENO"; then :
2485 ac_header_preproc=yes
2486 else
2487 ac_header_preproc=no
2489 rm -f conftest.err conftest.i conftest.$ac_ext
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2491 $as_echo "$ac_header_preproc" >&6; }
2493 # So? What about this header?
2494 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2495 yes:no: )
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2497 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2499 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2501 no:yes:* )
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2503 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2505 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2507 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2509 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2511 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2512 ( $as_echo "## ------------------------------------ ##
2513 ## Report this to wine-devel@winehq.org ##
2514 ## ------------------------------------ ##"
2515 ) | sed "s/^/$as_me: WARNING: /" >&2
2517 esac
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2519 $as_echo_n "checking for $2... " >&6; }
2520 if eval \${$3+:} false; then :
2521 $as_echo_n "(cached) " >&6
2522 else
2523 eval "$3=\$ac_header_compiler"
2525 eval ac_res=\$$3
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2527 $as_echo "$ac_res" >&6; }
2529 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2531 } # ac_fn_c_check_header_mongrel
2533 # ac_fn_c_try_run LINENO
2534 # ----------------------
2535 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2536 # that executables *can* be run.
2537 ac_fn_c_try_run ()
2539 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2540 if { { ac_try="$ac_link"
2541 case "(($ac_try" in
2542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2543 *) ac_try_echo=$ac_try;;
2544 esac
2545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2546 $as_echo "$ac_try_echo"; } >&5
2547 (eval "$ac_link") 2>&5
2548 ac_status=$?
2549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2550 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2551 { { case "(($ac_try" in
2552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2553 *) ac_try_echo=$ac_try;;
2554 esac
2555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2556 $as_echo "$ac_try_echo"; } >&5
2557 (eval "$ac_try") 2>&5
2558 ac_status=$?
2559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2560 test $ac_status = 0; }; }; then :
2561 ac_retval=0
2562 else
2563 $as_echo "$as_me: program exited with status $ac_status" >&5
2564 $as_echo "$as_me: failed program was:" >&5
2565 sed 's/^/| /' conftest.$ac_ext >&5
2567 ac_retval=$ac_status
2569 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2571 as_fn_set_status $ac_retval
2573 } # ac_fn_c_try_run
2575 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2576 # -------------------------------------------------------
2577 # Tests whether HEADER exists and can be compiled using the include files in
2578 # INCLUDES, setting the cache variable VAR accordingly.
2579 ac_fn_c_check_header_compile ()
2581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2583 $as_echo_n "checking for $2... " >&6; }
2584 if eval \${$3+:} false; then :
2585 $as_echo_n "(cached) " >&6
2586 else
2587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2588 /* end confdefs.h. */
2590 #include <$2>
2591 _ACEOF
2592 if ac_fn_c_try_compile "$LINENO"; then :
2593 eval "$3=yes"
2594 else
2595 eval "$3=no"
2597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2599 eval ac_res=\$$3
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2601 $as_echo "$ac_res" >&6; }
2602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2604 } # ac_fn_c_check_header_compile
2606 # ac_fn_c_check_func LINENO FUNC VAR
2607 # ----------------------------------
2608 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2609 ac_fn_c_check_func ()
2611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2613 $as_echo_n "checking for $2... " >&6; }
2614 if eval \${$3+:} false; then :
2615 $as_echo_n "(cached) " >&6
2616 else
2617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2618 /* end confdefs.h. */
2619 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2621 #define $2 innocuous_$2
2623 /* System header to define __stub macros and hopefully few prototypes,
2624 which can conflict with char $2 (); below.
2625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2626 <limits.h> exists even on freestanding compilers. */
2628 #ifdef __STDC__
2629 # include <limits.h>
2630 #else
2631 # include <assert.h>
2632 #endif
2634 #undef $2
2636 /* Override any GCC internal prototype to avoid an error.
2637 Use char because int might match the return type of a GCC
2638 builtin and then its argument prototype would still apply. */
2639 #ifdef __cplusplus
2640 extern "C"
2641 #endif
2642 char $2 ();
2643 /* The GNU C library defines this for functions which it implements
2644 to always fail with ENOSYS. Some functions are actually named
2645 something starting with __ and the normal name is an alias. */
2646 #if defined __stub_$2 || defined __stub___$2
2647 choke me
2648 #endif
2651 main ()
2653 return $2 ();
2655 return 0;
2657 _ACEOF
2658 if ac_fn_c_try_link "$LINENO"; then :
2659 eval "$3=yes"
2660 else
2661 eval "$3=no"
2663 rm -f core conftest.err conftest.$ac_objext \
2664 conftest$ac_exeext conftest.$ac_ext
2666 eval ac_res=\$$3
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2668 $as_echo "$ac_res" >&6; }
2669 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2671 } # ac_fn_c_check_func
2673 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2674 # ----------------------------------------------------
2675 # Tries to find if the field MEMBER exists in type AGGR, after including
2676 # INCLUDES, setting cache variable VAR accordingly.
2677 ac_fn_c_check_member ()
2679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2681 $as_echo_n "checking for $2.$3... " >&6; }
2682 if eval \${$4+:} false; then :
2683 $as_echo_n "(cached) " >&6
2684 else
2685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2686 /* end confdefs.h. */
2689 main ()
2691 static $2 ac_aggr;
2692 if (ac_aggr.$3)
2693 return 0;
2695 return 0;
2697 _ACEOF
2698 if ac_fn_c_try_compile "$LINENO"; then :
2699 eval "$4=yes"
2700 else
2701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2702 /* end confdefs.h. */
2705 main ()
2707 static $2 ac_aggr;
2708 if (sizeof ac_aggr.$3)
2709 return 0;
2711 return 0;
2713 _ACEOF
2714 if ac_fn_c_try_compile "$LINENO"; then :
2715 eval "$4=yes"
2716 else
2717 eval "$4=no"
2719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2723 eval ac_res=\$$4
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2725 $as_echo "$ac_res" >&6; }
2726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2728 } # ac_fn_c_check_member
2730 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2731 # -------------------------------------------
2732 # Tests whether TYPE exists after having included INCLUDES, setting cache
2733 # variable VAR accordingly.
2734 ac_fn_c_check_type ()
2736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2738 $as_echo_n "checking for $2... " >&6; }
2739 if eval \${$3+:} false; then :
2740 $as_echo_n "(cached) " >&6
2741 else
2742 eval "$3=no"
2743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2744 /* end confdefs.h. */
2747 main ()
2749 if (sizeof ($2))
2750 return 0;
2752 return 0;
2754 _ACEOF
2755 if ac_fn_c_try_compile "$LINENO"; then :
2756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2757 /* end confdefs.h. */
2760 main ()
2762 if (sizeof (($2)))
2763 return 0;
2765 return 0;
2767 _ACEOF
2768 if ac_fn_c_try_compile "$LINENO"; then :
2770 else
2771 eval "$3=yes"
2773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2777 eval ac_res=\$$3
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2779 $as_echo "$ac_res" >&6; }
2780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2782 } # ac_fn_c_check_type
2783 cat >config.log <<_ACEOF
2784 This file contains any messages produced by compilers while
2785 running configure, to aid debugging if configure makes a mistake.
2787 It was created by Wine $as_me 1.7.32, which was
2788 generated by GNU Autoconf 2.69. Invocation command line was
2790 $ $0 $@
2792 _ACEOF
2793 exec 5>>config.log
2795 cat <<_ASUNAME
2796 ## --------- ##
2797 ## Platform. ##
2798 ## --------- ##
2800 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2801 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2802 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2803 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2804 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2806 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2807 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2809 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2810 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2811 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2812 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2813 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2814 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2815 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2817 _ASUNAME
2819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820 for as_dir in $PATH
2822 IFS=$as_save_IFS
2823 test -z "$as_dir" && as_dir=.
2824 $as_echo "PATH: $as_dir"
2825 done
2826 IFS=$as_save_IFS
2828 } >&5
2830 cat >&5 <<_ACEOF
2833 ## ----------- ##
2834 ## Core tests. ##
2835 ## ----------- ##
2837 _ACEOF
2840 # Keep a trace of the command line.
2841 # Strip out --no-create and --no-recursion so they do not pile up.
2842 # Strip out --silent because we don't want to record it for future runs.
2843 # Also quote any args containing shell meta-characters.
2844 # Make two passes to allow for proper duplicate-argument suppression.
2845 ac_configure_args=
2846 ac_configure_args0=
2847 ac_configure_args1=
2848 ac_must_keep_next=false
2849 for ac_pass in 1 2
2851 for ac_arg
2853 case $ac_arg in
2854 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2855 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2856 | -silent | --silent | --silen | --sile | --sil)
2857 continue ;;
2858 *\'*)
2859 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2860 esac
2861 case $ac_pass in
2862 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2864 as_fn_append ac_configure_args1 " '$ac_arg'"
2865 if test $ac_must_keep_next = true; then
2866 ac_must_keep_next=false # Got value, back to normal.
2867 else
2868 case $ac_arg in
2869 *=* | --config-cache | -C | -disable-* | --disable-* \
2870 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2871 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2872 | -with-* | --with-* | -without-* | --without-* | --x)
2873 case "$ac_configure_args0 " in
2874 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2875 esac
2877 -* ) ac_must_keep_next=true ;;
2878 esac
2880 as_fn_append ac_configure_args " '$ac_arg'"
2882 esac
2883 done
2884 done
2885 { ac_configure_args0=; unset ac_configure_args0;}
2886 { ac_configure_args1=; unset ac_configure_args1;}
2888 # When interrupted or exit'd, cleanup temporary files, and complete
2889 # config.log. We remove comments because anyway the quotes in there
2890 # would cause problems or look ugly.
2891 # WARNING: Use '\'' to represent an apostrophe within the trap.
2892 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2893 trap 'exit_status=$?
2894 # Save into config.log some information that might help in debugging.
2896 echo
2898 $as_echo "## ---------------- ##
2899 ## Cache variables. ##
2900 ## ---------------- ##"
2901 echo
2902 # The following way of writing the cache mishandles newlines in values,
2904 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2905 eval ac_val=\$$ac_var
2906 case $ac_val in #(
2907 *${as_nl}*)
2908 case $ac_var in #(
2909 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2910 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2911 esac
2912 case $ac_var in #(
2913 _ | IFS | as_nl) ;; #(
2914 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2915 *) { eval $ac_var=; unset $ac_var;} ;;
2916 esac ;;
2917 esac
2918 done
2919 (set) 2>&1 |
2920 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2921 *${as_nl}ac_space=\ *)
2922 sed -n \
2923 "s/'\''/'\''\\\\'\'''\''/g;
2924 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2925 ;; #(
2927 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2929 esac |
2930 sort
2932 echo
2934 $as_echo "## ----------------- ##
2935 ## Output variables. ##
2936 ## ----------------- ##"
2937 echo
2938 for ac_var in $ac_subst_vars
2940 eval ac_val=\$$ac_var
2941 case $ac_val in
2942 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2943 esac
2944 $as_echo "$ac_var='\''$ac_val'\''"
2945 done | sort
2946 echo
2948 if test -n "$ac_subst_files"; then
2949 $as_echo "## ------------------- ##
2950 ## File substitutions. ##
2951 ## ------------------- ##"
2952 echo
2953 for ac_var in $ac_subst_files
2955 eval ac_val=\$$ac_var
2956 case $ac_val in
2957 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2958 esac
2959 $as_echo "$ac_var='\''$ac_val'\''"
2960 done | sort
2961 echo
2964 if test -s confdefs.h; then
2965 $as_echo "## ----------- ##
2966 ## confdefs.h. ##
2967 ## ----------- ##"
2968 echo
2969 cat confdefs.h
2970 echo
2972 test "$ac_signal" != 0 &&
2973 $as_echo "$as_me: caught signal $ac_signal"
2974 $as_echo "$as_me: exit $exit_status"
2975 } >&5
2976 rm -f core *.core core.conftest.* &&
2977 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2978 exit $exit_status
2980 for ac_signal in 1 2 13 15; do
2981 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2982 done
2983 ac_signal=0
2985 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2986 rm -f -r conftest* confdefs.h
2988 $as_echo "/* confdefs.h */" > confdefs.h
2990 # Predefined preprocessor variables.
2992 cat >>confdefs.h <<_ACEOF
2993 #define PACKAGE_NAME "$PACKAGE_NAME"
2994 _ACEOF
2996 cat >>confdefs.h <<_ACEOF
2997 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2998 _ACEOF
3000 cat >>confdefs.h <<_ACEOF
3001 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3002 _ACEOF
3004 cat >>confdefs.h <<_ACEOF
3005 #define PACKAGE_STRING "$PACKAGE_STRING"
3006 _ACEOF
3008 cat >>confdefs.h <<_ACEOF
3009 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3010 _ACEOF
3012 cat >>confdefs.h <<_ACEOF
3013 #define PACKAGE_URL "$PACKAGE_URL"
3014 _ACEOF
3017 # Let the site file select an alternate cache file if it wants to.
3018 # Prefer an explicitly selected file to automatically selected ones.
3019 ac_site_file1=NONE
3020 ac_site_file2=NONE
3021 if test -n "$CONFIG_SITE"; then
3022 # We do not want a PATH search for config.site.
3023 case $CONFIG_SITE in #((
3024 -*) ac_site_file1=./$CONFIG_SITE;;
3025 */*) ac_site_file1=$CONFIG_SITE;;
3026 *) ac_site_file1=./$CONFIG_SITE;;
3027 esac
3028 elif test "x$prefix" != xNONE; then
3029 ac_site_file1=$prefix/share/config.site
3030 ac_site_file2=$prefix/etc/config.site
3031 else
3032 ac_site_file1=$ac_default_prefix/share/config.site
3033 ac_site_file2=$ac_default_prefix/etc/config.site
3035 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3037 test "x$ac_site_file" = xNONE && continue
3038 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3040 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3041 sed 's/^/| /' "$ac_site_file" >&5
3042 . "$ac_site_file" \
3043 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3044 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3045 as_fn_error $? "failed to load site script $ac_site_file
3046 See \`config.log' for more details" "$LINENO" 5; }
3048 done
3050 if test -r "$cache_file"; then
3051 # Some versions of bash will fail to source /dev/null (special files
3052 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3053 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3055 $as_echo "$as_me: loading cache $cache_file" >&6;}
3056 case $cache_file in
3057 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3058 *) . "./$cache_file";;
3059 esac
3061 else
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3063 $as_echo "$as_me: creating cache $cache_file" >&6;}
3064 >$cache_file
3067 # Check that the precious variables saved in the cache have kept the same
3068 # value.
3069 ac_cache_corrupted=false
3070 for ac_var in $ac_precious_vars; do
3071 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3072 eval ac_new_set=\$ac_env_${ac_var}_set
3073 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3074 eval ac_new_val=\$ac_env_${ac_var}_value
3075 case $ac_old_set,$ac_new_set in
3076 set,)
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3078 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3079 ac_cache_corrupted=: ;;
3080 ,set)
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3082 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3083 ac_cache_corrupted=: ;;
3084 ,);;
3086 if test "x$ac_old_val" != "x$ac_new_val"; then
3087 # differences in whitespace do not lead to failure.
3088 ac_old_val_w=`echo x $ac_old_val`
3089 ac_new_val_w=`echo x $ac_new_val`
3090 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3092 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3093 ac_cache_corrupted=:
3094 else
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3096 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3097 eval $ac_var=\$ac_old_val
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3100 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3102 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3103 fi;;
3104 esac
3105 # Pass precious variables to config.status.
3106 if test "$ac_new_set" = set; then
3107 case $ac_new_val in
3108 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3109 *) ac_arg=$ac_var=$ac_new_val ;;
3110 esac
3111 case " $ac_configure_args " in
3112 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3113 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3114 esac
3116 done
3117 if $ac_cache_corrupted; then
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3121 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3122 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3124 ## -------------------- ##
3125 ## Main body of script. ##
3126 ## -------------------- ##
3128 ac_ext=c
3129 ac_cpp='$CPP $CPPFLAGS'
3130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3136 ac_config_headers="$ac_config_headers include/config.h"
3138 ac_aux_dir=
3139 for ac_dir in tools "$srcdir"/tools; do
3140 if test -f "$ac_dir/install-sh"; then
3141 ac_aux_dir=$ac_dir
3142 ac_install_sh="$ac_aux_dir/install-sh -c"
3143 break
3144 elif test -f "$ac_dir/install.sh"; then
3145 ac_aux_dir=$ac_dir
3146 ac_install_sh="$ac_aux_dir/install.sh -c"
3147 break
3148 elif test -f "$ac_dir/shtool"; then
3149 ac_aux_dir=$ac_dir
3150 ac_install_sh="$ac_aux_dir/shtool install -c"
3151 break
3153 done
3154 if test -z "$ac_aux_dir"; then
3155 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3158 # These three variables are undocumented and unsupported,
3159 # and are intended to be withdrawn in a future Autoconf release.
3160 # They can cause serious problems if a builder's source tree is in a directory
3161 # whose full name contains unusual characters.
3162 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3163 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3164 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3168 libwine_version="1.0"
3172 # Check whether --enable-win16 was given.
3173 if test "${enable_win16+set}" = set; then :
3174 enableval=$enable_win16;
3177 # Check whether --enable-win64 was given.
3178 if test "${enable_win64+set}" = set; then :
3179 enableval=$enable_win64;
3182 # Check whether --enable-tests was given.
3183 if test "${enable_tests+set}" = set; then :
3184 enableval=$enable_tests;
3187 # Check whether --enable-maintainer-mode was given.
3188 if test "${enable_maintainer_mode+set}" = set; then :
3189 enableval=$enable_maintainer_mode;
3194 # Check whether --with-alsa was given.
3195 if test "${with_alsa+set}" = set; then :
3196 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3200 # Check whether --with-capi was given.
3201 if test "${with_capi+set}" = set; then :
3202 withval=$with_capi;
3206 # Check whether --with-cms was given.
3207 if test "${with_cms+set}" = set; then :
3208 withval=$with_cms;
3212 # Check whether --with-coreaudio was given.
3213 if test "${with_coreaudio+set}" = set; then :
3214 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3218 # Check whether --with-cups was given.
3219 if test "${with_cups+set}" = set; then :
3220 withval=$with_cups;
3224 # Check whether --with-curses was given.
3225 if test "${with_curses+set}" = set; then :
3226 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3230 # Check whether --with-dbus was given.
3231 if test "${with_dbus+set}" = set; then :
3232 withval=$with_dbus;
3236 # Check whether --with-fontconfig was given.
3237 if test "${with_fontconfig+set}" = set; then :
3238 withval=$with_fontconfig;
3242 # Check whether --with-freetype was given.
3243 if test "${with_freetype+set}" = set; then :
3244 withval=$with_freetype;
3248 # Check whether --with-gettext was given.
3249 if test "${with_gettext+set}" = set; then :
3250 withval=$with_gettext;
3254 # Check whether --with-gettextpo was given.
3255 if test "${with_gettextpo+set}" = set; then :
3256 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3260 # Check whether --with-gphoto was given.
3261 if test "${with_gphoto+set}" = set; then :
3262 withval=$with_gphoto;
3266 # Check whether --with-glu was given.
3267 if test "${with_glu+set}" = set; then :
3268 withval=$with_glu;
3272 # Check whether --with-gnutls was given.
3273 if test "${with_gnutls+set}" = set; then :
3274 withval=$with_gnutls;
3278 # Check whether --with-gsm was given.
3279 if test "${with_gsm+set}" = set; then :
3280 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3284 # Check whether --with-gstreamer was given.
3285 if test "${with_gstreamer+set}" = set; then :
3286 withval=$with_gstreamer;
3290 # Check whether --with-hal was given.
3291 if test "${with_hal+set}" = set; then :
3292 withval=$with_hal;
3296 # Check whether --with-jpeg was given.
3297 if test "${with_jpeg+set}" = set; then :
3298 withval=$with_jpeg;
3302 # Check whether --with-ldap was given.
3303 if test "${with_ldap+set}" = set; then :
3304 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3308 # Check whether --with-mpg123 was given.
3309 if test "${with_mpg123+set}" = set; then :
3310 withval=$with_mpg123;
3314 # Check whether --with-netapi was given.
3315 if test "${with_netapi+set}" = set; then :
3316 withval=$with_netapi;
3320 # Check whether --with-openal was given.
3321 if test "${with_openal+set}" = set; then :
3322 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3326 # Check whether --with-opencl was given.
3327 if test "${with_opencl+set}" = set; then :
3328 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3332 # Check whether --with-opengl was given.
3333 if test "${with_opengl+set}" = set; then :
3334 withval=$with_opengl;
3338 # Check whether --with-osmesa was given.
3339 if test "${with_osmesa+set}" = set; then :
3340 withval=$with_osmesa;
3344 # Check whether --with-oss was given.
3345 if test "${with_oss+set}" = set; then :
3346 withval=$with_oss;
3350 # Check whether --with-pcap was given.
3351 if test "${with_pcap+set}" = set; then :
3352 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3356 # Check whether --with-png was given.
3357 if test "${with_png+set}" = set; then :
3358 withval=$with_png;
3362 # Check whether --with-pthread was given.
3363 if test "${with_pthread+set}" = set; then :
3364 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3368 # Check whether --with-sane was given.
3369 if test "${with_sane+set}" = set; then :
3370 withval=$with_sane;
3374 # Check whether --with-tiff was given.
3375 if test "${with_tiff+set}" = set; then :
3376 withval=$with_tiff;
3380 # Check whether --with-v4l was given.
3381 if test "${with_v4l+set}" = set; then :
3382 withval=$with_v4l;
3386 # Check whether --with-xcomposite was given.
3387 if test "${with_xcomposite+set}" = set; then :
3388 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3392 # Check whether --with-xcursor was given.
3393 if test "${with_xcursor+set}" = set; then :
3394 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3398 # Check whether --with-xinerama was given.
3399 if test "${with_xinerama+set}" = set; then :
3400 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3404 # Check whether --with-xinput was given.
3405 if test "${with_xinput+set}" = set; then :
3406 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3410 # Check whether --with-xinput2 was given.
3411 if test "${with_xinput2+set}" = set; then :
3412 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3416 # Check whether --with-xml was given.
3417 if test "${with_xml+set}" = set; then :
3418 withval=$with_xml;
3422 # Check whether --with-xrandr was given.
3423 if test "${with_xrandr+set}" = set; then :
3424 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3428 # Check whether --with-xrender was given.
3429 if test "${with_xrender+set}" = set; then :
3430 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3434 # Check whether --with-xshape was given.
3435 if test "${with_xshape+set}" = set; then :
3436 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3440 # Check whether --with-xshm was given.
3441 if test "${with_xshm+set}" = set; then :
3442 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3446 # Check whether --with-xslt was given.
3447 if test "${with_xslt+set}" = set; then :
3448 withval=$with_xslt;
3452 # Check whether --with-xxf86vm was given.
3453 if test "${with_xxf86vm+set}" = set; then :
3454 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
3458 # Check whether --with-zlib was given.
3459 if test "${with_zlib+set}" = set; then :
3460 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3465 # Check whether --with-wine-tools was given.
3466 if test "${with_wine_tools+set}" = set; then :
3467 withval=$with_wine_tools;
3471 # Check whether --with-wine64 was given.
3472 if test "${with_wine64+set}" = set; then :
3473 withval=$with_wine64;
3477 # Make sure we can run config.sub.
3478 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3479 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3482 $as_echo_n "checking build system type... " >&6; }
3483 if ${ac_cv_build+:} false; then :
3484 $as_echo_n "(cached) " >&6
3485 else
3486 ac_build_alias=$build_alias
3487 test "x$ac_build_alias" = x &&
3488 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3489 test "x$ac_build_alias" = x &&
3490 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3491 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3492 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3496 $as_echo "$ac_cv_build" >&6; }
3497 case $ac_cv_build in
3498 *-*-*) ;;
3499 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3500 esac
3501 build=$ac_cv_build
3502 ac_save_IFS=$IFS; IFS='-'
3503 set x $ac_cv_build
3504 shift
3505 build_cpu=$1
3506 build_vendor=$2
3507 shift; shift
3508 # Remember, the first character of IFS is used to create $*,
3509 # except with old shells:
3510 build_os=$*
3511 IFS=$ac_save_IFS
3512 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3516 $as_echo_n "checking host system type... " >&6; }
3517 if ${ac_cv_host+:} false; then :
3518 $as_echo_n "(cached) " >&6
3519 else
3520 if test "x$host_alias" = x; then
3521 ac_cv_host=$ac_cv_build
3522 else
3523 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3524 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3529 $as_echo "$ac_cv_host" >&6; }
3530 case $ac_cv_host in
3531 *-*-*) ;;
3532 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3533 esac
3534 host=$ac_cv_host
3535 ac_save_IFS=$IFS; IFS='-'
3536 set x $ac_cv_host
3537 shift
3538 host_cpu=$1
3539 host_vendor=$2
3540 shift; shift
3541 # Remember, the first character of IFS is used to create $*,
3542 # except with old shells:
3543 host_os=$*
3544 IFS=$ac_save_IFS
3545 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3549 case "$srcdir" in
3550 .) ;;
3551 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3552 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3553 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3554 fi ;;
3555 esac
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3559 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3560 set x ${MAKE-make}
3561 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3562 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3563 $as_echo_n "(cached) " >&6
3564 else
3565 cat >conftest.make <<\_ACEOF
3566 SHELL = /bin/sh
3567 all:
3568 @echo '@@@%%%=$(MAKE)=@@@%%%'
3569 _ACEOF
3570 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3571 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3572 *@@@%%%=?*=@@@%%%*)
3573 eval ac_cv_prog_make_${ac_make}_set=yes;;
3575 eval ac_cv_prog_make_${ac_make}_set=no;;
3576 esac
3577 rm -f conftest.make
3579 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3581 $as_echo "yes" >&6; }
3582 SET_MAKE=
3583 else
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3586 SET_MAKE="MAKE=${MAKE-make}"
3589 ac_ext=c
3590 ac_cpp='$CPP $CPPFLAGS'
3591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3594 if test -n "$ac_tool_prefix"; then
3595 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3596 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3598 $as_echo_n "checking for $ac_word... " >&6; }
3599 if ${ac_cv_prog_CC+:} false; then :
3600 $as_echo_n "(cached) " >&6
3601 else
3602 if test -n "$CC"; then
3603 ac_cv_prog_CC="$CC" # Let the user override the test.
3604 else
3605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3606 for as_dir in $PATH
3608 IFS=$as_save_IFS
3609 test -z "$as_dir" && as_dir=.
3610 for ac_exec_ext in '' $ac_executable_extensions; do
3611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3612 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3614 break 2
3616 done
3617 done
3618 IFS=$as_save_IFS
3622 CC=$ac_cv_prog_CC
3623 if test -n "$CC"; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3625 $as_echo "$CC" >&6; }
3626 else
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3628 $as_echo "no" >&6; }
3633 if test -z "$ac_cv_prog_CC"; then
3634 ac_ct_CC=$CC
3635 # Extract the first word of "gcc", so it can be a program name with args.
3636 set dummy gcc; ac_word=$2
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3639 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3640 $as_echo_n "(cached) " >&6
3641 else
3642 if test -n "$ac_ct_CC"; then
3643 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3644 else
3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3646 for as_dir in $PATH
3648 IFS=$as_save_IFS
3649 test -z "$as_dir" && as_dir=.
3650 for ac_exec_ext in '' $ac_executable_extensions; do
3651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3652 ac_cv_prog_ac_ct_CC="gcc"
3653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 break 2
3656 done
3657 done
3658 IFS=$as_save_IFS
3662 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3663 if test -n "$ac_ct_CC"; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3665 $as_echo "$ac_ct_CC" >&6; }
3666 else
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3671 if test "x$ac_ct_CC" = x; then
3672 CC=""
3673 else
3674 case $cross_compiling:$ac_tool_warned in
3675 yes:)
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3677 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3678 ac_tool_warned=yes ;;
3679 esac
3680 CC=$ac_ct_CC
3682 else
3683 CC="$ac_cv_prog_CC"
3686 if test -z "$CC"; then
3687 if test -n "$ac_tool_prefix"; then
3688 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3689 set dummy ${ac_tool_prefix}cc; ac_word=$2
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3691 $as_echo_n "checking for $ac_word... " >&6; }
3692 if ${ac_cv_prog_CC+:} false; then :
3693 $as_echo_n "(cached) " >&6
3694 else
3695 if test -n "$CC"; then
3696 ac_cv_prog_CC="$CC" # Let the user override the test.
3697 else
3698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3699 for as_dir in $PATH
3701 IFS=$as_save_IFS
3702 test -z "$as_dir" && as_dir=.
3703 for ac_exec_ext in '' $ac_executable_extensions; do
3704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3705 ac_cv_prog_CC="${ac_tool_prefix}cc"
3706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 break 2
3709 done
3710 done
3711 IFS=$as_save_IFS
3715 CC=$ac_cv_prog_CC
3716 if test -n "$CC"; then
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3718 $as_echo "$CC" >&6; }
3719 else
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3721 $as_echo "no" >&6; }
3727 if test -z "$CC"; then
3728 # Extract the first word of "cc", so it can be a program name with args.
3729 set dummy cc; ac_word=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if ${ac_cv_prog_CC+:} false; then :
3733 $as_echo_n "(cached) " >&6
3734 else
3735 if test -n "$CC"; then
3736 ac_cv_prog_CC="$CC" # Let the user override the test.
3737 else
3738 ac_prog_rejected=no
3739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740 for as_dir in $PATH
3742 IFS=$as_save_IFS
3743 test -z "$as_dir" && as_dir=.
3744 for ac_exec_ext in '' $ac_executable_extensions; do
3745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3746 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3747 ac_prog_rejected=yes
3748 continue
3750 ac_cv_prog_CC="cc"
3751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3752 break 2
3754 done
3755 done
3756 IFS=$as_save_IFS
3758 if test $ac_prog_rejected = yes; then
3759 # We found a bogon in the path, so make sure we never use it.
3760 set dummy $ac_cv_prog_CC
3761 shift
3762 if test $# != 0; then
3763 # We chose a different compiler from the bogus one.
3764 # However, it has the same basename, so the bogon will be chosen
3765 # first if we set CC to just the basename; use the full file name.
3766 shift
3767 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3772 CC=$ac_cv_prog_CC
3773 if test -n "$CC"; then
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3775 $as_echo "$CC" >&6; }
3776 else
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3778 $as_echo "no" >&6; }
3783 if test -z "$CC"; then
3784 if test -n "$ac_tool_prefix"; then
3785 for ac_prog in cl.exe
3787 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3788 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3790 $as_echo_n "checking for $ac_word... " >&6; }
3791 if ${ac_cv_prog_CC+:} false; then :
3792 $as_echo_n "(cached) " >&6
3793 else
3794 if test -n "$CC"; then
3795 ac_cv_prog_CC="$CC" # Let the user override the test.
3796 else
3797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3798 for as_dir in $PATH
3800 IFS=$as_save_IFS
3801 test -z "$as_dir" && as_dir=.
3802 for ac_exec_ext in '' $ac_executable_extensions; do
3803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3804 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3806 break 2
3808 done
3809 done
3810 IFS=$as_save_IFS
3814 CC=$ac_cv_prog_CC
3815 if test -n "$CC"; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3817 $as_echo "$CC" >&6; }
3818 else
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3820 $as_echo "no" >&6; }
3824 test -n "$CC" && break
3825 done
3827 if test -z "$CC"; then
3828 ac_ct_CC=$CC
3829 for ac_prog in cl.exe
3831 # Extract the first word of "$ac_prog", so it can be a program name with args.
3832 set dummy $ac_prog; ac_word=$2
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834 $as_echo_n "checking for $ac_word... " >&6; }
3835 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3836 $as_echo_n "(cached) " >&6
3837 else
3838 if test -n "$ac_ct_CC"; then
3839 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3840 else
3841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3842 for as_dir in $PATH
3844 IFS=$as_save_IFS
3845 test -z "$as_dir" && as_dir=.
3846 for ac_exec_ext in '' $ac_executable_extensions; do
3847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3848 ac_cv_prog_ac_ct_CC="$ac_prog"
3849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3850 break 2
3852 done
3853 done
3854 IFS=$as_save_IFS
3858 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3859 if test -n "$ac_ct_CC"; then
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3861 $as_echo "$ac_ct_CC" >&6; }
3862 else
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3864 $as_echo "no" >&6; }
3868 test -n "$ac_ct_CC" && break
3869 done
3871 if test "x$ac_ct_CC" = x; then
3872 CC=""
3873 else
3874 case $cross_compiling:$ac_tool_warned in
3875 yes:)
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3878 ac_tool_warned=yes ;;
3879 esac
3880 CC=$ac_ct_CC
3887 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3888 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3889 as_fn_error $? "no acceptable C compiler found in \$PATH
3890 See \`config.log' for more details" "$LINENO" 5; }
3892 # Provide some information about the compiler.
3893 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3894 set X $ac_compile
3895 ac_compiler=$2
3896 for ac_option in --version -v -V -qversion; do
3897 { { ac_try="$ac_compiler $ac_option >&5"
3898 case "(($ac_try" in
3899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3900 *) ac_try_echo=$ac_try;;
3901 esac
3902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3903 $as_echo "$ac_try_echo"; } >&5
3904 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3905 ac_status=$?
3906 if test -s conftest.err; then
3907 sed '10a\
3908 ... rest of stderr output deleted ...
3909 10q' conftest.err >conftest.er1
3910 cat conftest.er1 >&5
3912 rm -f conftest.er1 conftest.err
3913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3914 test $ac_status = 0; }
3915 done
3917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3921 main ()
3925 return 0;
3927 _ACEOF
3928 ac_clean_files_save=$ac_clean_files
3929 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3930 # Try to create an executable without -o first, disregard a.out.
3931 # It will help us diagnose broken compilers, and finding out an intuition
3932 # of exeext.
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3934 $as_echo_n "checking whether the C compiler works... " >&6; }
3935 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3937 # The possible output files:
3938 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3940 ac_rmfiles=
3941 for ac_file in $ac_files
3943 case $ac_file in
3944 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3945 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3946 esac
3947 done
3948 rm -f $ac_rmfiles
3950 if { { ac_try="$ac_link_default"
3951 case "(($ac_try" in
3952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3953 *) ac_try_echo=$ac_try;;
3954 esac
3955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3956 $as_echo "$ac_try_echo"; } >&5
3957 (eval "$ac_link_default") 2>&5
3958 ac_status=$?
3959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3960 test $ac_status = 0; }; then :
3961 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3962 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3963 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3964 # so that the user can short-circuit this test for compilers unknown to
3965 # Autoconf.
3966 for ac_file in $ac_files ''
3968 test -f "$ac_file" || continue
3969 case $ac_file in
3970 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3972 [ab].out )
3973 # We found the default executable, but exeext='' is most
3974 # certainly right.
3975 break;;
3976 *.* )
3977 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3978 then :; else
3979 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3981 # We set ac_cv_exeext here because the later test for it is not
3982 # safe: cross compilers may not add the suffix if given an `-o'
3983 # argument, so we may need to know it at that point already.
3984 # Even if this section looks crufty: it has the advantage of
3985 # actually working.
3986 break;;
3988 break;;
3989 esac
3990 done
3991 test "$ac_cv_exeext" = no && ac_cv_exeext=
3993 else
3994 ac_file=''
3996 if test -z "$ac_file"; then :
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3998 $as_echo "no" >&6; }
3999 $as_echo "$as_me: failed program was:" >&5
4000 sed 's/^/| /' conftest.$ac_ext >&5
4002 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4004 as_fn_error 77 "C compiler cannot create executables
4005 See \`config.log' for more details" "$LINENO" 5; }
4006 else
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4008 $as_echo "yes" >&6; }
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4011 $as_echo_n "checking for C compiler default output file name... " >&6; }
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4013 $as_echo "$ac_file" >&6; }
4014 ac_exeext=$ac_cv_exeext
4016 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4017 ac_clean_files=$ac_clean_files_save
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4019 $as_echo_n "checking for suffix of executables... " >&6; }
4020 if { { ac_try="$ac_link"
4021 case "(($ac_try" in
4022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4023 *) ac_try_echo=$ac_try;;
4024 esac
4025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4026 $as_echo "$ac_try_echo"; } >&5
4027 (eval "$ac_link") 2>&5
4028 ac_status=$?
4029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4030 test $ac_status = 0; }; then :
4031 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4032 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4033 # work properly (i.e., refer to `conftest.exe'), while it won't with
4034 # `rm'.
4035 for ac_file in conftest.exe conftest conftest.*; do
4036 test -f "$ac_file" || continue
4037 case $ac_file in
4038 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4039 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4040 break;;
4041 * ) break;;
4042 esac
4043 done
4044 else
4045 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4047 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4048 See \`config.log' for more details" "$LINENO" 5; }
4050 rm -f conftest conftest$ac_cv_exeext
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4052 $as_echo "$ac_cv_exeext" >&6; }
4054 rm -f conftest.$ac_ext
4055 EXEEXT=$ac_cv_exeext
4056 ac_exeext=$EXEEXT
4057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4058 /* end confdefs.h. */
4059 #include <stdio.h>
4061 main ()
4063 FILE *f = fopen ("conftest.out", "w");
4064 return ferror (f) || fclose (f) != 0;
4067 return 0;
4069 _ACEOF
4070 ac_clean_files="$ac_clean_files conftest.out"
4071 # Check that the compiler produces executables we can run. If not, either
4072 # the compiler is broken, or we cross compile.
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4074 $as_echo_n "checking whether we are cross compiling... " >&6; }
4075 if test "$cross_compiling" != yes; then
4076 { { ac_try="$ac_link"
4077 case "(($ac_try" in
4078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4079 *) ac_try_echo=$ac_try;;
4080 esac
4081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4082 $as_echo "$ac_try_echo"; } >&5
4083 (eval "$ac_link") 2>&5
4084 ac_status=$?
4085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4086 test $ac_status = 0; }
4087 if { ac_try='./conftest$ac_cv_exeext'
4088 { { case "(($ac_try" in
4089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4090 *) ac_try_echo=$ac_try;;
4091 esac
4092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4093 $as_echo "$ac_try_echo"; } >&5
4094 (eval "$ac_try") 2>&5
4095 ac_status=$?
4096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4097 test $ac_status = 0; }; }; then
4098 cross_compiling=no
4099 else
4100 if test "$cross_compiling" = maybe; then
4101 cross_compiling=yes
4102 else
4103 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4105 as_fn_error $? "cannot run C compiled programs.
4106 If you meant to cross compile, use \`--host'.
4107 See \`config.log' for more details" "$LINENO" 5; }
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4112 $as_echo "$cross_compiling" >&6; }
4114 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4115 ac_clean_files=$ac_clean_files_save
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4117 $as_echo_n "checking for suffix of object files... " >&6; }
4118 if ${ac_cv_objext+:} false; then :
4119 $as_echo_n "(cached) " >&6
4120 else
4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4122 /* end confdefs.h. */
4125 main ()
4129 return 0;
4131 _ACEOF
4132 rm -f conftest.o conftest.obj
4133 if { { ac_try="$ac_compile"
4134 case "(($ac_try" in
4135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4136 *) ac_try_echo=$ac_try;;
4137 esac
4138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4139 $as_echo "$ac_try_echo"; } >&5
4140 (eval "$ac_compile") 2>&5
4141 ac_status=$?
4142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4143 test $ac_status = 0; }; then :
4144 for ac_file in conftest.o conftest.obj conftest.*; do
4145 test -f "$ac_file" || continue;
4146 case $ac_file in
4147 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4148 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4149 break;;
4150 esac
4151 done
4152 else
4153 $as_echo "$as_me: failed program was:" >&5
4154 sed 's/^/| /' conftest.$ac_ext >&5
4156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4158 as_fn_error $? "cannot compute suffix of object files: cannot compile
4159 See \`config.log' for more details" "$LINENO" 5; }
4161 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4164 $as_echo "$ac_cv_objext" >&6; }
4165 OBJEXT=$ac_cv_objext
4166 ac_objext=$OBJEXT
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4168 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4169 if ${ac_cv_c_compiler_gnu+:} false; then :
4170 $as_echo_n "(cached) " >&6
4171 else
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4176 main ()
4178 #ifndef __GNUC__
4179 choke me
4180 #endif
4183 return 0;
4185 _ACEOF
4186 if ac_fn_c_try_compile "$LINENO"; then :
4187 ac_compiler_gnu=yes
4188 else
4189 ac_compiler_gnu=no
4191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4192 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4196 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4197 if test $ac_compiler_gnu = yes; then
4198 GCC=yes
4199 else
4200 GCC=
4202 ac_test_CFLAGS=${CFLAGS+set}
4203 ac_save_CFLAGS=$CFLAGS
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4205 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4206 if ${ac_cv_prog_cc_g+:} false; then :
4207 $as_echo_n "(cached) " >&6
4208 else
4209 ac_save_c_werror_flag=$ac_c_werror_flag
4210 ac_c_werror_flag=yes
4211 ac_cv_prog_cc_g=no
4212 CFLAGS="-g"
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4217 main ()
4221 return 0;
4223 _ACEOF
4224 if ac_fn_c_try_compile "$LINENO"; then :
4225 ac_cv_prog_cc_g=yes
4226 else
4227 CFLAGS=""
4228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4229 /* end confdefs.h. */
4232 main ()
4236 return 0;
4238 _ACEOF
4239 if ac_fn_c_try_compile "$LINENO"; then :
4241 else
4242 ac_c_werror_flag=$ac_save_c_werror_flag
4243 CFLAGS="-g"
4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4248 main ()
4252 return 0;
4254 _ACEOF
4255 if ac_fn_c_try_compile "$LINENO"; then :
4256 ac_cv_prog_cc_g=yes
4258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4263 ac_c_werror_flag=$ac_save_c_werror_flag
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4266 $as_echo "$ac_cv_prog_cc_g" >&6; }
4267 if test "$ac_test_CFLAGS" = set; then
4268 CFLAGS=$ac_save_CFLAGS
4269 elif test $ac_cv_prog_cc_g = yes; then
4270 if test "$GCC" = yes; then
4271 CFLAGS="-g -O2"
4272 else
4273 CFLAGS="-g"
4275 else
4276 if test "$GCC" = yes; then
4277 CFLAGS="-O2"
4278 else
4279 CFLAGS=
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4283 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4284 if ${ac_cv_prog_cc_c89+:} false; then :
4285 $as_echo_n "(cached) " >&6
4286 else
4287 ac_cv_prog_cc_c89=no
4288 ac_save_CC=$CC
4289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4290 /* end confdefs.h. */
4291 #include <stdarg.h>
4292 #include <stdio.h>
4293 struct stat;
4294 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4295 struct buf { int x; };
4296 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4297 static char *e (p, i)
4298 char **p;
4299 int i;
4301 return p[i];
4303 static char *f (char * (*g) (char **, int), char **p, ...)
4305 char *s;
4306 va_list v;
4307 va_start (v,p);
4308 s = g (p, va_arg (v,int));
4309 va_end (v);
4310 return s;
4313 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4314 function prototypes and stuff, but not '\xHH' hex character constants.
4315 These don't provoke an error unfortunately, instead are silently treated
4316 as 'x'. The following induces an error, until -std is added to get
4317 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4318 array size at least. It's necessary to write '\x00'==0 to get something
4319 that's true only with -std. */
4320 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4322 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4323 inside strings and character constants. */
4324 #define FOO(x) 'x'
4325 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4327 int test (int i, double x);
4328 struct s1 {int (*f) (int a);};
4329 struct s2 {int (*f) (double a);};
4330 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4331 int argc;
4332 char **argv;
4334 main ()
4336 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4338 return 0;
4340 _ACEOF
4341 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4342 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4344 CC="$ac_save_CC $ac_arg"
4345 if ac_fn_c_try_compile "$LINENO"; then :
4346 ac_cv_prog_cc_c89=$ac_arg
4348 rm -f core conftest.err conftest.$ac_objext
4349 test "x$ac_cv_prog_cc_c89" != "xno" && break
4350 done
4351 rm -f conftest.$ac_ext
4352 CC=$ac_save_CC
4355 # AC_CACHE_VAL
4356 case "x$ac_cv_prog_cc_c89" in
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4359 $as_echo "none needed" >&6; } ;;
4360 xno)
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4362 $as_echo "unsupported" >&6; } ;;
4364 CC="$CC $ac_cv_prog_cc_c89"
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4366 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4367 esac
4368 if test "x$ac_cv_prog_cc_c89" != xno; then :
4372 ac_ext=c
4373 ac_cpp='$CPP $CPPFLAGS'
4374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4378 ac_ext=cpp
4379 ac_cpp='$CXXCPP $CPPFLAGS'
4380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4383 if test -z "$CXX"; then
4384 if test -n "$CCC"; then
4385 CXX=$CCC
4386 else
4387 if test -n "$ac_tool_prefix"; then
4388 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4390 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4391 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393 $as_echo_n "checking for $ac_word... " >&6; }
4394 if ${ac_cv_prog_CXX+:} false; then :
4395 $as_echo_n "(cached) " >&6
4396 else
4397 if test -n "$CXX"; then
4398 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4399 else
4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 for as_dir in $PATH
4403 IFS=$as_save_IFS
4404 test -z "$as_dir" && as_dir=.
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 break 2
4411 done
4412 done
4413 IFS=$as_save_IFS
4417 CXX=$ac_cv_prog_CXX
4418 if test -n "$CXX"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4420 $as_echo "$CXX" >&6; }
4421 else
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4427 test -n "$CXX" && break
4428 done
4430 if test -z "$CXX"; then
4431 ac_ct_CXX=$CXX
4432 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4434 # Extract the first word of "$ac_prog", so it can be a program name with args.
4435 set dummy $ac_prog; ac_word=$2
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4437 $as_echo_n "checking for $ac_word... " >&6; }
4438 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4439 $as_echo_n "(cached) " >&6
4440 else
4441 if test -n "$ac_ct_CXX"; then
4442 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4443 else
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4445 for as_dir in $PATH
4447 IFS=$as_save_IFS
4448 test -z "$as_dir" && as_dir=.
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4451 ac_cv_prog_ac_ct_CXX="$ac_prog"
4452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4453 break 2
4455 done
4456 done
4457 IFS=$as_save_IFS
4461 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4462 if test -n "$ac_ct_CXX"; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4464 $as_echo "$ac_ct_CXX" >&6; }
4465 else
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4467 $as_echo "no" >&6; }
4471 test -n "$ac_ct_CXX" && break
4472 done
4474 if test "x$ac_ct_CXX" = x; then
4475 CXX="g++"
4476 else
4477 case $cross_compiling:$ac_tool_warned in
4478 yes:)
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4481 ac_tool_warned=yes ;;
4482 esac
4483 CXX=$ac_ct_CXX
4489 # Provide some information about the compiler.
4490 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4491 set X $ac_compile
4492 ac_compiler=$2
4493 for ac_option in --version -v -V -qversion; do
4494 { { ac_try="$ac_compiler $ac_option >&5"
4495 case "(($ac_try" in
4496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4497 *) ac_try_echo=$ac_try;;
4498 esac
4499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4500 $as_echo "$ac_try_echo"; } >&5
4501 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4502 ac_status=$?
4503 if test -s conftest.err; then
4504 sed '10a\
4505 ... rest of stderr output deleted ...
4506 10q' conftest.err >conftest.er1
4507 cat conftest.er1 >&5
4509 rm -f conftest.er1 conftest.err
4510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4511 test $ac_status = 0; }
4512 done
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4515 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4516 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4517 $as_echo_n "(cached) " >&6
4518 else
4519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4520 /* end confdefs.h. */
4523 main ()
4525 #ifndef __GNUC__
4526 choke me
4527 #endif
4530 return 0;
4532 _ACEOF
4533 if ac_fn_cxx_try_compile "$LINENO"; then :
4534 ac_compiler_gnu=yes
4535 else
4536 ac_compiler_gnu=no
4538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4539 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4543 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4544 if test $ac_compiler_gnu = yes; then
4545 GXX=yes
4546 else
4547 GXX=
4549 ac_test_CXXFLAGS=${CXXFLAGS+set}
4550 ac_save_CXXFLAGS=$CXXFLAGS
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4552 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4553 if ${ac_cv_prog_cxx_g+:} false; then :
4554 $as_echo_n "(cached) " >&6
4555 else
4556 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4557 ac_cxx_werror_flag=yes
4558 ac_cv_prog_cxx_g=no
4559 CXXFLAGS="-g"
4560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4564 main ()
4568 return 0;
4570 _ACEOF
4571 if ac_fn_cxx_try_compile "$LINENO"; then :
4572 ac_cv_prog_cxx_g=yes
4573 else
4574 CXXFLAGS=""
4575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4576 /* end confdefs.h. */
4579 main ()
4583 return 0;
4585 _ACEOF
4586 if ac_fn_cxx_try_compile "$LINENO"; then :
4588 else
4589 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4590 CXXFLAGS="-g"
4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4592 /* end confdefs.h. */
4595 main ()
4599 return 0;
4601 _ACEOF
4602 if ac_fn_cxx_try_compile "$LINENO"; then :
4603 ac_cv_prog_cxx_g=yes
4605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4610 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4613 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4614 if test "$ac_test_CXXFLAGS" = set; then
4615 CXXFLAGS=$ac_save_CXXFLAGS
4616 elif test $ac_cv_prog_cxx_g = yes; then
4617 if test "$GXX" = yes; then
4618 CXXFLAGS="-g -O2"
4619 else
4620 CXXFLAGS="-g"
4622 else
4623 if test "$GXX" = yes; then
4624 CXXFLAGS="-O2"
4625 else
4626 CXXFLAGS=
4629 ac_ext=c
4630 ac_cpp='$CPP $CPPFLAGS'
4631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4635 if test -n "$ac_tool_prefix"; then
4636 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4637 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4639 $as_echo_n "checking for $ac_word... " >&6; }
4640 if ${ac_cv_prog_CPPBIN+:} false; then :
4641 $as_echo_n "(cached) " >&6
4642 else
4643 if test -n "$CPPBIN"; then
4644 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4645 else
4646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4647 for as_dir in $PATH
4649 IFS=$as_save_IFS
4650 test -z "$as_dir" && as_dir=.
4651 for ac_exec_ext in '' $ac_executable_extensions; do
4652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4653 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4655 break 2
4657 done
4658 done
4659 IFS=$as_save_IFS
4663 CPPBIN=$ac_cv_prog_CPPBIN
4664 if test -n "$CPPBIN"; then
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4666 $as_echo "$CPPBIN" >&6; }
4667 else
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4669 $as_echo "no" >&6; }
4674 if test -z "$ac_cv_prog_CPPBIN"; then
4675 ac_ct_CPPBIN=$CPPBIN
4676 # Extract the first word of "cpp", so it can be a program name with args.
4677 set dummy cpp; ac_word=$2
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4679 $as_echo_n "checking for $ac_word... " >&6; }
4680 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4681 $as_echo_n "(cached) " >&6
4682 else
4683 if test -n "$ac_ct_CPPBIN"; then
4684 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4685 else
4686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4687 for as_dir in $PATH
4689 IFS=$as_save_IFS
4690 test -z "$as_dir" && as_dir=.
4691 for ac_exec_ext in '' $ac_executable_extensions; do
4692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4693 ac_cv_prog_ac_ct_CPPBIN="cpp"
4694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4695 break 2
4697 done
4698 done
4699 IFS=$as_save_IFS
4703 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4704 if test -n "$ac_ct_CPPBIN"; then
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4706 $as_echo "$ac_ct_CPPBIN" >&6; }
4707 else
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4709 $as_echo "no" >&6; }
4712 if test "x$ac_ct_CPPBIN" = x; then
4713 CPPBIN="cpp"
4714 else
4715 case $cross_compiling:$ac_tool_warned in
4716 yes:)
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4719 ac_tool_warned=yes ;;
4720 esac
4721 CPPBIN=$ac_ct_CPPBIN
4723 else
4724 CPPBIN="$ac_cv_prog_CPPBIN"
4728 cat >>confdefs.h <<_ACEOF
4729 #define EXEEXT "$ac_exeext"
4730 _ACEOF
4733 case $host in
4734 *-darwin*)
4735 if test "x$enable_win64" = "xyes"
4736 then
4737 CC="$CC -m64"
4738 CXX="$CXX -m64"
4739 host_cpu="x86_64"
4740 notice_platform="64-bit "
4741 TARGETFLAGS="-m64"
4743 else
4744 CC="$CC -m32"
4745 CXX="$CXX -m32"
4746 host_cpu="i386"
4747 notice_platform="32-bit "
4748 TARGETFLAGS="-m32"
4750 enable_win16=${enable_win16:-yes}
4752 with_fontconfig=${with_fontconfig:-no}
4754 x86_64*)
4755 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4756 then
4757 CC="$CC -m32"
4758 CXX="$CXX -m32"
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4760 $as_echo_n "checking whether $CC works... " >&6; }
4762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4763 /* end confdefs.h. */
4766 main ()
4770 return 0;
4772 _ACEOF
4773 if ac_fn_c_try_link "$LINENO"; then :
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4775 $as_echo "yes" >&6; }
4776 else
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4778 $as_echo "no" >&6; }
4779 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4781 rm -f core conftest.err conftest.$ac_objext \
4782 conftest$ac_exeext conftest.$ac_ext
4783 host_cpu="i386"
4784 notice_platform="32-bit "
4785 TARGETFLAGS="-m32"
4787 enable_win16=${enable_win16:-yes}
4788 else
4789 if test "x${GCC}" = "xyes"
4790 then
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4792 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4794 /* end confdefs.h. */
4795 #include <stdarg.h>
4797 main ()
4799 void func(__builtin_ms_va_list *args);
4801 return 0;
4803 _ACEOF
4804 if ac_fn_c_try_compile "$LINENO"; then :
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4806 $as_echo "yes" >&6; }
4807 else
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 $as_echo "no" >&6; }
4810 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4814 TARGETFLAGS="-m64"
4818 arm*)
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4820 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4822 /* end confdefs.h. */
4823 int ac_test(int i) { return i; }
4825 main ()
4827 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4829 return 0;
4831 _ACEOF
4832 if ac_fn_c_try_link "$LINENO"; then :
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4834 $as_echo "yes" >&6; }
4835 else
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4837 $as_echo "no" >&6; }
4838 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4840 rm -f core conftest.err conftest.$ac_objext \
4841 conftest$ac_exeext conftest.$ac_ext
4842 CFLAGS="$CFLAGS -marm"
4843 TARGETFLAGS="-marm"
4846 *-mingw32*|*-cygwin*)
4847 enable_win16=${enable_win16:-no}
4848 CFLAGS="$CFLAGS -D_WIN32"
4850 i[3456789]86*)
4851 enable_win16=${enable_win16:-yes}
4853 esac
4855 enable_win16=${enable_win16:-no}
4856 enable_win64=${enable_win64:-no}
4858 enable_winetest=${enable_winetest:-$enable_tests}
4860 if test -n "$with_wine64"
4861 then
4862 if test "x$enable_win64" = "xyes"
4863 then
4864 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4865 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4867 enable_fonts=${enable_fonts:-no}
4868 enable_server=${enable_server:-no}
4869 elif test "x$enable_win64" = "xyes"
4870 then
4871 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4875 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4876 if ${wine_cv_toolsdir+:} false; then :
4877 $as_echo_n "(cached) " >&6
4878 else
4879 wine_cv_toolsdir="$with_wine_tools"
4880 if test -z "$with_wine_tools"; then
4881 if test "$cross_compiling" = "yes"; then
4882 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4883 elif test -n "$with_wine64"; then
4884 wine_cv_toolsdir="$with_wine64"
4887 if test -z "$wine_cv_toolsdir"; then
4888 wine_makedep=tools/makedep
4889 wine_cv_toolsdir="\$(top_builddir)"
4890 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4891 wine_makedep=$wine_cv_toolsdir/tools/makedep
4892 case "$wine_cv_toolsdir" in
4893 /*) ;;
4894 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4895 esac
4896 enable_tools=${enable_tools:-no}
4897 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4898 else
4899 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4903 $as_echo "$wine_cv_toolsdir" >&6; }
4904 TOOLSDIR=$wine_cv_toolsdir
4906 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4907 then
4908 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4912 for ac_prog in flex
4914 # Extract the first word of "$ac_prog", so it can be a program name with args.
4915 set dummy $ac_prog; ac_word=$2
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4917 $as_echo_n "checking for $ac_word... " >&6; }
4918 if ${ac_cv_prog_FLEX+:} false; then :
4919 $as_echo_n "(cached) " >&6
4920 else
4921 if test -n "$FLEX"; then
4922 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4923 else
4924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4925 for as_dir in $PATH
4927 IFS=$as_save_IFS
4928 test -z "$as_dir" && as_dir=.
4929 for ac_exec_ext in '' $ac_executable_extensions; do
4930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4931 ac_cv_prog_FLEX="$ac_prog"
4932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4933 break 2
4935 done
4936 done
4937 IFS=$as_save_IFS
4941 FLEX=$ac_cv_prog_FLEX
4942 if test -n "$FLEX"; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4944 $as_echo "$FLEX" >&6; }
4945 else
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947 $as_echo "no" >&6; }
4951 test -n "$FLEX" && break
4952 done
4953 test -n "$FLEX" || FLEX="none"
4955 if test "$FLEX" = "none"
4956 then
4957 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4960 $as_echo_n "checking whether flex is recent enough... " >&6; }
4961 cat >conftest.l <<EOF
4962 %top{
4963 #include "prediluvian.h"
4967 if $FLEX -t conftest.l >/dev/null 2>&5
4968 then
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4970 $as_echo "yes" >&6; }
4971 else
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 $as_echo "no" >&6; }
4974 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4977 for ac_prog in bison
4979 # Extract the first word of "$ac_prog", so it can be a program name with args.
4980 set dummy $ac_prog; ac_word=$2
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4982 $as_echo_n "checking for $ac_word... " >&6; }
4983 if ${ac_cv_prog_BISON+:} false; then :
4984 $as_echo_n "(cached) " >&6
4985 else
4986 if test -n "$BISON"; then
4987 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4988 else
4989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4990 for as_dir in $PATH
4992 IFS=$as_save_IFS
4993 test -z "$as_dir" && as_dir=.
4994 for ac_exec_ext in '' $ac_executable_extensions; do
4995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4996 ac_cv_prog_BISON="$ac_prog"
4997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4998 break 2
5000 done
5001 done
5002 IFS=$as_save_IFS
5006 BISON=$ac_cv_prog_BISON
5007 if test -n "$BISON"; then
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5009 $as_echo "$BISON" >&6; }
5010 else
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5012 $as_echo "no" >&6; }
5016 test -n "$BISON" && break
5017 done
5018 test -n "$BISON" || BISON="none"
5020 if test "$BISON" = "none"
5021 then
5022 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5025 if test -n "$ac_tool_prefix"; then
5026 for ac_prog in ar gar
5028 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5029 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if ${ac_cv_prog_AR+:} false; then :
5033 $as_echo_n "(cached) " >&6
5034 else
5035 if test -n "$AR"; then
5036 ac_cv_prog_AR="$AR" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5041 IFS=$as_save_IFS
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5045 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 break 2
5049 done
5050 done
5051 IFS=$as_save_IFS
5055 AR=$ac_cv_prog_AR
5056 if test -n "$AR"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5058 $as_echo "$AR" >&6; }
5059 else
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5065 test -n "$AR" && break
5066 done
5068 if test -z "$AR"; then
5069 ac_ct_AR=$AR
5070 for ac_prog in ar gar
5072 # Extract the first word of "$ac_prog", so it can be a program name with args.
5073 set dummy $ac_prog; ac_word=$2
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5075 $as_echo_n "checking for $ac_word... " >&6; }
5076 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5077 $as_echo_n "(cached) " >&6
5078 else
5079 if test -n "$ac_ct_AR"; then
5080 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5081 else
5082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5083 for as_dir in $PATH
5085 IFS=$as_save_IFS
5086 test -z "$as_dir" && as_dir=.
5087 for ac_exec_ext in '' $ac_executable_extensions; do
5088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5089 ac_cv_prog_ac_ct_AR="$ac_prog"
5090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5091 break 2
5093 done
5094 done
5095 IFS=$as_save_IFS
5099 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5100 if test -n "$ac_ct_AR"; then
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5102 $as_echo "$ac_ct_AR" >&6; }
5103 else
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105 $as_echo "no" >&6; }
5109 test -n "$ac_ct_AR" && break
5110 done
5112 if test "x$ac_ct_AR" = x; then
5113 AR="ar"
5114 else
5115 case $cross_compiling:$ac_tool_warned in
5116 yes:)
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5119 ac_tool_warned=yes ;;
5120 esac
5121 AR=$ac_ct_AR
5125 if test -n "$ac_tool_prefix"; then
5126 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5127 set dummy ${ac_tool_prefix}strip; ac_word=$2
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5129 $as_echo_n "checking for $ac_word... " >&6; }
5130 if ${ac_cv_prog_STRIP+:} false; then :
5131 $as_echo_n "(cached) " >&6
5132 else
5133 if test -n "$STRIP"; then
5134 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5135 else
5136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5137 for as_dir in $PATH
5139 IFS=$as_save_IFS
5140 test -z "$as_dir" && as_dir=.
5141 for ac_exec_ext in '' $ac_executable_extensions; do
5142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5143 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5145 break 2
5147 done
5148 done
5149 IFS=$as_save_IFS
5153 STRIP=$ac_cv_prog_STRIP
5154 if test -n "$STRIP"; then
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5156 $as_echo "$STRIP" >&6; }
5157 else
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 $as_echo "no" >&6; }
5164 if test -z "$ac_cv_prog_STRIP"; then
5165 ac_ct_STRIP=$STRIP
5166 # Extract the first word of "strip", so it can be a program name with args.
5167 set dummy strip; ac_word=$2
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5169 $as_echo_n "checking for $ac_word... " >&6; }
5170 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5171 $as_echo_n "(cached) " >&6
5172 else
5173 if test -n "$ac_ct_STRIP"; then
5174 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5175 else
5176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5177 for as_dir in $PATH
5179 IFS=$as_save_IFS
5180 test -z "$as_dir" && as_dir=.
5181 for ac_exec_ext in '' $ac_executable_extensions; do
5182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5183 ac_cv_prog_ac_ct_STRIP="strip"
5184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5185 break 2
5187 done
5188 done
5189 IFS=$as_save_IFS
5193 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5194 if test -n "$ac_ct_STRIP"; then
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5196 $as_echo "$ac_ct_STRIP" >&6; }
5197 else
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5199 $as_echo "no" >&6; }
5202 if test "x$ac_ct_STRIP" = x; then
5203 STRIP="strip"
5204 else
5205 case $cross_compiling:$ac_tool_warned in
5206 yes:)
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5209 ac_tool_warned=yes ;;
5210 esac
5211 STRIP=$ac_ct_STRIP
5213 else
5214 STRIP="$ac_cv_prog_STRIP"
5217 ARFLAGS=rc
5219 if test -n "$ac_tool_prefix"; then
5220 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5221 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5223 $as_echo_n "checking for $ac_word... " >&6; }
5224 if ${ac_cv_prog_RANLIB+:} false; then :
5225 $as_echo_n "(cached) " >&6
5226 else
5227 if test -n "$RANLIB"; then
5228 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5229 else
5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5231 for as_dir in $PATH
5233 IFS=$as_save_IFS
5234 test -z "$as_dir" && as_dir=.
5235 for ac_exec_ext in '' $ac_executable_extensions; do
5236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5237 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5239 break 2
5241 done
5242 done
5243 IFS=$as_save_IFS
5247 RANLIB=$ac_cv_prog_RANLIB
5248 if test -n "$RANLIB"; then
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5250 $as_echo "$RANLIB" >&6; }
5251 else
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5253 $as_echo "no" >&6; }
5258 if test -z "$ac_cv_prog_RANLIB"; then
5259 ac_ct_RANLIB=$RANLIB
5260 # Extract the first word of "ranlib", so it can be a program name with args.
5261 set dummy ranlib; ac_word=$2
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5263 $as_echo_n "checking for $ac_word... " >&6; }
5264 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5265 $as_echo_n "(cached) " >&6
5266 else
5267 if test -n "$ac_ct_RANLIB"; then
5268 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5269 else
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 for as_dir in $PATH
5273 IFS=$as_save_IFS
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5277 ac_cv_prog_ac_ct_RANLIB="ranlib"
5278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 break 2
5281 done
5282 done
5283 IFS=$as_save_IFS
5287 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5288 if test -n "$ac_ct_RANLIB"; then
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5290 $as_echo "$ac_ct_RANLIB" >&6; }
5291 else
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5296 if test "x$ac_ct_RANLIB" = x; then
5297 RANLIB=":"
5298 else
5299 case $cross_compiling:$ac_tool_warned in
5300 yes:)
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5303 ac_tool_warned=yes ;;
5304 esac
5305 RANLIB=$ac_ct_RANLIB
5307 else
5308 RANLIB="$ac_cv_prog_RANLIB"
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5312 $as_echo_n "checking whether ln -s works... " >&6; }
5313 LN_S=$as_ln_s
5314 if test "$LN_S" = "ln -s"; then
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5316 $as_echo "yes" >&6; }
5317 else
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5319 $as_echo "no, using $LN_S" >&6; }
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5323 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5324 if ${ac_cv_path_GREP+:} false; then :
5325 $as_echo_n "(cached) " >&6
5326 else
5327 if test -z "$GREP"; then
5328 ac_path_GREP_found=false
5329 # Loop through the user's path and test for each of PROGNAME-LIST
5330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5333 IFS=$as_save_IFS
5334 test -z "$as_dir" && as_dir=.
5335 for ac_prog in grep ggrep; do
5336 for ac_exec_ext in '' $ac_executable_extensions; do
5337 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5338 as_fn_executable_p "$ac_path_GREP" || continue
5339 # Check for GNU ac_path_GREP and select it if it is found.
5340 # Check for GNU $ac_path_GREP
5341 case `"$ac_path_GREP" --version 2>&1` in
5342 *GNU*)
5343 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5345 ac_count=0
5346 $as_echo_n 0123456789 >"conftest.in"
5347 while :
5349 cat "conftest.in" "conftest.in" >"conftest.tmp"
5350 mv "conftest.tmp" "conftest.in"
5351 cp "conftest.in" "conftest.nl"
5352 $as_echo 'GREP' >> "conftest.nl"
5353 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5354 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5355 as_fn_arith $ac_count + 1 && ac_count=$as_val
5356 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5357 # Best one so far, save it but keep looking for a better one
5358 ac_cv_path_GREP="$ac_path_GREP"
5359 ac_path_GREP_max=$ac_count
5361 # 10*(2^10) chars as input seems more than enough
5362 test $ac_count -gt 10 && break
5363 done
5364 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5365 esac
5367 $ac_path_GREP_found && break 3
5368 done
5369 done
5370 done
5371 IFS=$as_save_IFS
5372 if test -z "$ac_cv_path_GREP"; then
5373 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5375 else
5376 ac_cv_path_GREP=$GREP
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5381 $as_echo "$ac_cv_path_GREP" >&6; }
5382 GREP="$ac_cv_path_GREP"
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5386 $as_echo_n "checking for egrep... " >&6; }
5387 if ${ac_cv_path_EGREP+:} false; then :
5388 $as_echo_n "(cached) " >&6
5389 else
5390 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5391 then ac_cv_path_EGREP="$GREP -E"
5392 else
5393 if test -z "$EGREP"; then
5394 ac_path_EGREP_found=false
5395 # Loop through the user's path and test for each of PROGNAME-LIST
5396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5397 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5399 IFS=$as_save_IFS
5400 test -z "$as_dir" && as_dir=.
5401 for ac_prog in egrep; do
5402 for ac_exec_ext in '' $ac_executable_extensions; do
5403 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5404 as_fn_executable_p "$ac_path_EGREP" || continue
5405 # Check for GNU ac_path_EGREP and select it if it is found.
5406 # Check for GNU $ac_path_EGREP
5407 case `"$ac_path_EGREP" --version 2>&1` in
5408 *GNU*)
5409 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5411 ac_count=0
5412 $as_echo_n 0123456789 >"conftest.in"
5413 while :
5415 cat "conftest.in" "conftest.in" >"conftest.tmp"
5416 mv "conftest.tmp" "conftest.in"
5417 cp "conftest.in" "conftest.nl"
5418 $as_echo 'EGREP' >> "conftest.nl"
5419 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5420 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5421 as_fn_arith $ac_count + 1 && ac_count=$as_val
5422 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5423 # Best one so far, save it but keep looking for a better one
5424 ac_cv_path_EGREP="$ac_path_EGREP"
5425 ac_path_EGREP_max=$ac_count
5427 # 10*(2^10) chars as input seems more than enough
5428 test $ac_count -gt 10 && break
5429 done
5430 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5431 esac
5433 $ac_path_EGREP_found && break 3
5434 done
5435 done
5436 done
5437 IFS=$as_save_IFS
5438 if test -z "$ac_cv_path_EGREP"; then
5439 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5441 else
5442 ac_cv_path_EGREP=$EGREP
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5448 $as_echo "$ac_cv_path_EGREP" >&6; }
5449 EGREP="$ac_cv_path_EGREP"
5452 # Extract the first word of "ldconfig", so it can be a program name with args.
5453 set dummy ldconfig; ac_word=$2
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5455 $as_echo_n "checking for $ac_word... " >&6; }
5456 if ${ac_cv_path_LDCONFIG+:} false; then :
5457 $as_echo_n "(cached) " >&6
5458 else
5459 case $LDCONFIG in
5460 [\\/]* | ?:[\\/]*)
5461 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 for as_dir in /sbin /usr/sbin $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_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
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
5479 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5481 esac
5483 LDCONFIG=$ac_cv_path_LDCONFIG
5484 if test -n "$LDCONFIG"; then
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5486 $as_echo "$LDCONFIG" >&6; }
5487 else
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5489 $as_echo "no" >&6; }
5493 for ac_prog in msgfmt
5495 # Extract the first word of "$ac_prog", so it can be a program name with args.
5496 set dummy $ac_prog; ac_word=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5498 $as_echo_n "checking for $ac_word... " >&6; }
5499 if ${ac_cv_prog_MSGFMT+:} false; then :
5500 $as_echo_n "(cached) " >&6
5501 else
5502 if test -n "$MSGFMT"; then
5503 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5504 else
5505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 for as_dir in $PATH
5508 IFS=$as_save_IFS
5509 test -z "$as_dir" && as_dir=.
5510 for ac_exec_ext in '' $ac_executable_extensions; do
5511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5512 ac_cv_prog_MSGFMT="$ac_prog"
5513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 break 2
5516 done
5517 done
5518 IFS=$as_save_IFS
5522 MSGFMT=$ac_cv_prog_MSGFMT
5523 if test -n "$MSGFMT"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5525 $as_echo "$MSGFMT" >&6; }
5526 else
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }
5532 test -n "$MSGFMT" && break
5533 done
5534 test -n "$MSGFMT" || MSGFMT="false"
5536 if ${ac_tool_prefix+:} false; then :
5537 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5538 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540 $as_echo_n "checking for $ac_word... " >&6; }
5541 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5542 $as_echo_n "(cached) " >&6
5543 else
5544 if test -n "$PKG_CONFIG"; then
5545 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5546 else
5547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 for as_dir in $PATH
5550 IFS=$as_save_IFS
5551 test -z "$as_dir" && as_dir=.
5552 for ac_exec_ext in '' $ac_executable_extensions; do
5553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5554 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5556 break 2
5558 done
5559 done
5560 IFS=$as_save_IFS
5564 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5565 if test -n "$PKG_CONFIG"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5567 $as_echo "$PKG_CONFIG" >&6; }
5568 else
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5575 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5576 if test "x$cross_compiling" = xyes; then :
5578 else
5579 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5580 # Extract the first word of "pkg-config", so it can be a program name with args.
5581 set dummy pkg-config; ac_word=$2
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583 $as_echo_n "checking for $ac_word... " >&6; }
5584 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5585 $as_echo_n "(cached) " >&6
5586 else
5587 if test -n "$PKG_CONFIG"; then
5588 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5589 else
5590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5591 for as_dir in $PATH
5593 IFS=$as_save_IFS
5594 test -z "$as_dir" && as_dir=.
5595 for ac_exec_ext in '' $ac_executable_extensions; do
5596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5597 ac_cv_prog_PKG_CONFIG="pkg-config"
5598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599 break 2
5601 done
5602 done
5603 IFS=$as_save_IFS
5607 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5608 if test -n "$PKG_CONFIG"; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5610 $as_echo "$PKG_CONFIG" >&6; }
5611 else
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613 $as_echo "no" >&6; }
5618 else
5619 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5622 if test "x$enable_maintainer_mode" != "xyes"
5623 then
5624 FONTFORGE=""
5625 RSVG=""
5626 CONVERT=""
5627 ICOTOOL=""
5628 else
5629 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5630 for ac_prog in fontforge
5632 # Extract the first word of "$ac_prog", so it can be a program name with args.
5633 set dummy $ac_prog; ac_word=$2
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5635 $as_echo_n "checking for $ac_word... " >&6; }
5636 if ${ac_cv_prog_FONTFORGE+:} false; then :
5637 $as_echo_n "(cached) " >&6
5638 else
5639 if test -n "$FONTFORGE"; then
5640 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5641 else
5642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5643 for as_dir in $PATH
5645 IFS=$as_save_IFS
5646 test -z "$as_dir" && as_dir=.
5647 for ac_exec_ext in '' $ac_executable_extensions; do
5648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5649 ac_cv_prog_FONTFORGE="$ac_prog"
5650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5651 break 2
5653 done
5654 done
5655 IFS=$as_save_IFS
5659 FONTFORGE=$ac_cv_prog_FONTFORGE
5660 if test -n "$FONTFORGE"; then
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5662 $as_echo "$FONTFORGE" >&6; }
5663 else
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 $as_echo "no" >&6; }
5669 test -n "$FONTFORGE" && break
5670 done
5671 test -n "$FONTFORGE" || FONTFORGE="false"
5673 for ac_prog in rsvg
5675 # Extract the first word of "$ac_prog", so it can be a program name with args.
5676 set dummy $ac_prog; ac_word=$2
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5678 $as_echo_n "checking for $ac_word... " >&6; }
5679 if ${ac_cv_prog_RSVG+:} false; then :
5680 $as_echo_n "(cached) " >&6
5681 else
5682 if test -n "$RSVG"; then
5683 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5684 else
5685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5686 for as_dir in $PATH
5688 IFS=$as_save_IFS
5689 test -z "$as_dir" && as_dir=.
5690 for ac_exec_ext in '' $ac_executable_extensions; do
5691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5692 ac_cv_prog_RSVG="$ac_prog"
5693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5694 break 2
5696 done
5697 done
5698 IFS=$as_save_IFS
5702 RSVG=$ac_cv_prog_RSVG
5703 if test -n "$RSVG"; then
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5705 $as_echo "$RSVG" >&6; }
5706 else
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5708 $as_echo "no" >&6; }
5712 test -n "$RSVG" && break
5713 done
5714 test -n "$RSVG" || RSVG="false"
5716 for ac_prog in convert
5718 # Extract the first word of "$ac_prog", so it can be a program name with args.
5719 set dummy $ac_prog; ac_word=$2
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5721 $as_echo_n "checking for $ac_word... " >&6; }
5722 if ${ac_cv_prog_CONVERT+:} false; then :
5723 $as_echo_n "(cached) " >&6
5724 else
5725 if test -n "$CONVERT"; then
5726 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5727 else
5728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5729 for as_dir in $PATH
5731 IFS=$as_save_IFS
5732 test -z "$as_dir" && as_dir=.
5733 for ac_exec_ext in '' $ac_executable_extensions; do
5734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5735 ac_cv_prog_CONVERT="$ac_prog"
5736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5737 break 2
5739 done
5740 done
5741 IFS=$as_save_IFS
5745 CONVERT=$ac_cv_prog_CONVERT
5746 if test -n "$CONVERT"; then
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5748 $as_echo "$CONVERT" >&6; }
5749 else
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5751 $as_echo "no" >&6; }
5755 test -n "$CONVERT" && break
5756 done
5757 test -n "$CONVERT" || CONVERT="false"
5759 for ac_prog in icotool
5761 # Extract the first word of "$ac_prog", so it can be a program name with args.
5762 set dummy $ac_prog; ac_word=$2
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5764 $as_echo_n "checking for $ac_word... " >&6; }
5765 if ${ac_cv_prog_ICOTOOL+:} false; then :
5766 $as_echo_n "(cached) " >&6
5767 else
5768 if test -n "$ICOTOOL"; then
5769 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5770 else
5771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5772 for as_dir in $PATH
5774 IFS=$as_save_IFS
5775 test -z "$as_dir" && as_dir=.
5776 for ac_exec_ext in '' $ac_executable_extensions; do
5777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5778 ac_cv_prog_ICOTOOL="$ac_prog"
5779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5780 break 2
5782 done
5783 done
5784 IFS=$as_save_IFS
5788 ICOTOOL=$ac_cv_prog_ICOTOOL
5789 if test -n "$ICOTOOL"; then
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5791 $as_echo "$ICOTOOL" >&6; }
5792 else
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5794 $as_echo "no" >&6; }
5798 test -n "$ICOTOOL" && break
5799 done
5800 test -n "$ICOTOOL" || ICOTOOL="false"
5802 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5803 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5805 if test "$CONVERT" = false
5806 then
5807 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5808 else
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5810 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5811 convert_version=`convert --version | head -n1`
5812 if test "x$convert_version" != "x"
5813 then
5814 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5815 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5816 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5817 then
5818 CONVERT=false
5821 if test "$CONVERT" = false
5822 then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5824 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5825 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5826 else
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5828 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5832 if test "$ICOTOOL" = false
5833 then
5834 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5835 else
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5837 $as_echo_n "checking for recent enough icotool... " >&6; }
5838 icotool_version=`icotool --version | head -n1`
5839 if test "x$icotool_version" != "x"
5840 then
5841 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5842 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5843 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5844 then
5845 ICOTOOL=false
5846 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5849 if test "$ICOTOOL" = false
5850 then
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5852 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5853 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5854 else
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5856 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5860 with_gettext=yes
5861 with_gettextpo=yes
5862 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5865 test "x$with_gettext" != xno || MSGFMT=false
5866 if test "$MSGFMT" != "false"
5867 then
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5869 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5870 cat >conftest.po <<EOF
5871 # comment
5872 msgctxt "ctxt"
5873 msgid "id"
5874 msgstr "str"
5876 if $MSGFMT -o /dev/null conftest.po 2>&5
5877 then
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5879 $as_echo "yes" >&6; }
5880 else
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5882 $as_echo "no" >&6; }
5883 MSGFMT=false
5886 if test "$MSGFMT" = false; then :
5887 case "x$with_gettext" in
5888 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5889 xno) ;;
5890 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5891 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5892 esac
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5897 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5898 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5899 $as_echo_n "(cached) " >&6
5900 else
5901 ac_check_lib_save_LIBS=$LIBS
5902 LIBS="-li386 $LIBS"
5903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5904 /* end confdefs.h. */
5906 /* Override any GCC internal prototype to avoid an error.
5907 Use char because int might match the return type of a GCC
5908 builtin and then its argument prototype would still apply. */
5909 #ifdef __cplusplus
5910 extern "C"
5911 #endif
5912 char i386_set_ldt ();
5914 main ()
5916 return i386_set_ldt ();
5918 return 0;
5920 _ACEOF
5921 if ac_fn_c_try_link "$LINENO"; then :
5922 ac_cv_lib_i386_i386_set_ldt=yes
5923 else
5924 ac_cv_lib_i386_i386_set_ldt=no
5926 rm -f core conftest.err conftest.$ac_objext \
5927 conftest$ac_exeext conftest.$ac_ext
5928 LIBS=$ac_check_lib_save_LIBS
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5931 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5932 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5933 cat >>confdefs.h <<_ACEOF
5934 #define HAVE_LIBI386 1
5935 _ACEOF
5937 LIBS="-li386 $LIBS"
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5942 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5943 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5944 $as_echo_n "(cached) " >&6
5945 else
5946 ac_check_lib_save_LIBS=$LIBS
5947 LIBS="-lossaudio $LIBS"
5948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5949 /* end confdefs.h. */
5951 /* Override any GCC internal prototype to avoid an error.
5952 Use char because int might match the return type of a GCC
5953 builtin and then its argument prototype would still apply. */
5954 #ifdef __cplusplus
5955 extern "C"
5956 #endif
5957 char _oss_ioctl ();
5959 main ()
5961 return _oss_ioctl ();
5963 return 0;
5965 _ACEOF
5966 if ac_fn_c_try_link "$LINENO"; then :
5967 ac_cv_lib_ossaudio__oss_ioctl=yes
5968 else
5969 ac_cv_lib_ossaudio__oss_ioctl=no
5971 rm -f core conftest.err conftest.$ac_objext \
5972 conftest$ac_exeext conftest.$ac_ext
5973 LIBS=$ac_check_lib_save_LIBS
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5976 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5977 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5978 cat >>confdefs.h <<_ACEOF
5979 #define HAVE_LIBOSSAUDIO 1
5980 _ACEOF
5982 LIBS="-lossaudio $LIBS"
5987 OPENGL_LIBS=""
5991 # Check whether --enable-largefile was given.
5992 if test "${enable_largefile+set}" = set; then :
5993 enableval=$enable_largefile;
5996 if test "$enable_largefile" != no; then
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5999 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6000 if ${ac_cv_sys_largefile_CC+:} false; then :
6001 $as_echo_n "(cached) " >&6
6002 else
6003 ac_cv_sys_largefile_CC=no
6004 if test "$GCC" != yes; then
6005 ac_save_CC=$CC
6006 while :; do
6007 # IRIX 6.2 and later do not support large files by default,
6008 # so use the C compiler's -n32 option if that helps.
6009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6010 /* end confdefs.h. */
6011 #include <sys/types.h>
6012 /* Check that off_t can represent 2**63 - 1 correctly.
6013 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6014 since some C++ compilers masquerading as C compilers
6015 incorrectly reject 9223372036854775807. */
6016 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6017 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6018 && LARGE_OFF_T % 2147483647 == 1)
6019 ? 1 : -1];
6021 main ()
6025 return 0;
6027 _ACEOF
6028 if ac_fn_c_try_compile "$LINENO"; then :
6029 break
6031 rm -f core conftest.err conftest.$ac_objext
6032 CC="$CC -n32"
6033 if ac_fn_c_try_compile "$LINENO"; then :
6034 ac_cv_sys_largefile_CC=' -n32'; break
6036 rm -f core conftest.err conftest.$ac_objext
6037 break
6038 done
6039 CC=$ac_save_CC
6040 rm -f conftest.$ac_ext
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6044 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6045 if test "$ac_cv_sys_largefile_CC" != no; then
6046 CC=$CC$ac_cv_sys_largefile_CC
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6050 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6051 if ${ac_cv_sys_file_offset_bits+:} false; then :
6052 $as_echo_n "(cached) " >&6
6053 else
6054 while :; do
6055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6056 /* end confdefs.h. */
6057 #include <sys/types.h>
6058 /* Check that off_t can represent 2**63 - 1 correctly.
6059 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6060 since some C++ compilers masquerading as C compilers
6061 incorrectly reject 9223372036854775807. */
6062 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6063 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6064 && LARGE_OFF_T % 2147483647 == 1)
6065 ? 1 : -1];
6067 main ()
6071 return 0;
6073 _ACEOF
6074 if ac_fn_c_try_compile "$LINENO"; then :
6075 ac_cv_sys_file_offset_bits=no; break
6077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6079 /* end confdefs.h. */
6080 #define _FILE_OFFSET_BITS 64
6081 #include <sys/types.h>
6082 /* Check that off_t can represent 2**63 - 1 correctly.
6083 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6084 since some C++ compilers masquerading as C compilers
6085 incorrectly reject 9223372036854775807. */
6086 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6087 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6088 && LARGE_OFF_T % 2147483647 == 1)
6089 ? 1 : -1];
6091 main ()
6095 return 0;
6097 _ACEOF
6098 if ac_fn_c_try_compile "$LINENO"; then :
6099 ac_cv_sys_file_offset_bits=64; break
6101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6102 ac_cv_sys_file_offset_bits=unknown
6103 break
6104 done
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6107 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6108 case $ac_cv_sys_file_offset_bits in #(
6109 no | unknown) ;;
6111 cat >>confdefs.h <<_ACEOF
6112 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6113 _ACEOF
6115 esac
6116 rm -rf conftest*
6117 if test $ac_cv_sys_file_offset_bits = unknown; then
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6119 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6120 if ${ac_cv_sys_large_files+:} false; then :
6121 $as_echo_n "(cached) " >&6
6122 else
6123 while :; do
6124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6125 /* end confdefs.h. */
6126 #include <sys/types.h>
6127 /* Check that off_t can represent 2**63 - 1 correctly.
6128 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6129 since some C++ compilers masquerading as C compilers
6130 incorrectly reject 9223372036854775807. */
6131 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6132 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6133 && LARGE_OFF_T % 2147483647 == 1)
6134 ? 1 : -1];
6136 main ()
6140 return 0;
6142 _ACEOF
6143 if ac_fn_c_try_compile "$LINENO"; then :
6144 ac_cv_sys_large_files=no; break
6146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6148 /* end confdefs.h. */
6149 #define _LARGE_FILES 1
6150 #include <sys/types.h>
6151 /* Check that off_t can represent 2**63 - 1 correctly.
6152 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6153 since some C++ compilers masquerading as C compilers
6154 incorrectly reject 9223372036854775807. */
6155 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6156 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6157 && LARGE_OFF_T % 2147483647 == 1)
6158 ? 1 : -1];
6160 main ()
6164 return 0;
6166 _ACEOF
6167 if ac_fn_c_try_compile "$LINENO"; then :
6168 ac_cv_sys_large_files=1; break
6170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6171 ac_cv_sys_large_files=unknown
6172 break
6173 done
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6176 $as_echo "$ac_cv_sys_large_files" >&6; }
6177 case $ac_cv_sys_large_files in #(
6178 no | unknown) ;;
6180 cat >>confdefs.h <<_ACEOF
6181 #define _LARGE_FILES $ac_cv_sys_large_files
6182 _ACEOF
6184 esac
6185 rm -rf conftest*
6192 ac_ext=c
6193 ac_cpp='$CPP $CPPFLAGS'
6194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6198 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6199 # On Suns, sometimes $CPP names a directory.
6200 if test -n "$CPP" && test -d "$CPP"; then
6201 CPP=
6203 if test -z "$CPP"; then
6204 if ${ac_cv_prog_CPP+:} false; then :
6205 $as_echo_n "(cached) " >&6
6206 else
6207 # Double quotes because CPP needs to be expanded
6208 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6210 ac_preproc_ok=false
6211 for ac_c_preproc_warn_flag in '' yes
6213 # Use a header file that comes with gcc, so configuring glibc
6214 # with a fresh cross-compiler works.
6215 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6216 # <limits.h> exists even on freestanding compilers.
6217 # On the NeXT, cc -E runs the code through the compiler's parser,
6218 # not just through cpp. "Syntax error" is here to catch this case.
6219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6220 /* end confdefs.h. */
6221 #ifdef __STDC__
6222 # include <limits.h>
6223 #else
6224 # include <assert.h>
6225 #endif
6226 Syntax error
6227 _ACEOF
6228 if ac_fn_c_try_cpp "$LINENO"; then :
6230 else
6231 # Broken: fails on valid input.
6232 continue
6234 rm -f conftest.err conftest.i conftest.$ac_ext
6236 # OK, works on sane cases. Now check whether nonexistent headers
6237 # can be detected and how.
6238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6239 /* end confdefs.h. */
6240 #include <ac_nonexistent.h>
6241 _ACEOF
6242 if ac_fn_c_try_cpp "$LINENO"; then :
6243 # Broken: success on invalid input.
6244 continue
6245 else
6246 # Passes both tests.
6247 ac_preproc_ok=:
6248 break
6250 rm -f conftest.err conftest.i conftest.$ac_ext
6252 done
6253 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6254 rm -f conftest.i conftest.err conftest.$ac_ext
6255 if $ac_preproc_ok; then :
6256 break
6259 done
6260 ac_cv_prog_CPP=$CPP
6263 CPP=$ac_cv_prog_CPP
6264 else
6265 ac_cv_prog_CPP=$CPP
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6268 $as_echo "$CPP" >&6; }
6269 ac_preproc_ok=false
6270 for ac_c_preproc_warn_flag in '' yes
6272 # Use a header file that comes with gcc, so configuring glibc
6273 # with a fresh cross-compiler works.
6274 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6275 # <limits.h> exists even on freestanding compilers.
6276 # On the NeXT, cc -E runs the code through the compiler's parser,
6277 # not just through cpp. "Syntax error" is here to catch this case.
6278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6280 #ifdef __STDC__
6281 # include <limits.h>
6282 #else
6283 # include <assert.h>
6284 #endif
6285 Syntax error
6286 _ACEOF
6287 if ac_fn_c_try_cpp "$LINENO"; then :
6289 else
6290 # Broken: fails on valid input.
6291 continue
6293 rm -f conftest.err conftest.i conftest.$ac_ext
6295 # OK, works on sane cases. Now check whether nonexistent headers
6296 # can be detected and how.
6297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6298 /* end confdefs.h. */
6299 #include <ac_nonexistent.h>
6300 _ACEOF
6301 if ac_fn_c_try_cpp "$LINENO"; then :
6302 # Broken: success on invalid input.
6303 continue
6304 else
6305 # Passes both tests.
6306 ac_preproc_ok=:
6307 break
6309 rm -f conftest.err conftest.i conftest.$ac_ext
6311 done
6312 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6313 rm -f conftest.i conftest.err conftest.$ac_ext
6314 if $ac_preproc_ok; then :
6316 else
6317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6319 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6320 See \`config.log' for more details" "$LINENO" 5; }
6323 ac_ext=c
6324 ac_cpp='$CPP $CPPFLAGS'
6325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6331 $as_echo_n "checking for ANSI C header files... " >&6; }
6332 if ${ac_cv_header_stdc+:} false; then :
6333 $as_echo_n "(cached) " >&6
6334 else
6335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6336 /* end confdefs.h. */
6337 #include <stdlib.h>
6338 #include <stdarg.h>
6339 #include <string.h>
6340 #include <float.h>
6343 main ()
6347 return 0;
6349 _ACEOF
6350 if ac_fn_c_try_compile "$LINENO"; then :
6351 ac_cv_header_stdc=yes
6352 else
6353 ac_cv_header_stdc=no
6355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6357 if test $ac_cv_header_stdc = yes; then
6358 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h. */
6361 #include <string.h>
6363 _ACEOF
6364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6365 $EGREP "memchr" >/dev/null 2>&1; then :
6367 else
6368 ac_cv_header_stdc=no
6370 rm -f conftest*
6374 if test $ac_cv_header_stdc = yes; then
6375 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6377 /* end confdefs.h. */
6378 #include <stdlib.h>
6380 _ACEOF
6381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6382 $EGREP "free" >/dev/null 2>&1; then :
6384 else
6385 ac_cv_header_stdc=no
6387 rm -f conftest*
6391 if test $ac_cv_header_stdc = yes; then
6392 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6393 if test "$cross_compiling" = yes; then :
6395 else
6396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6397 /* end confdefs.h. */
6398 #include <ctype.h>
6399 #include <stdlib.h>
6400 #if ((' ' & 0x0FF) == 0x020)
6401 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6402 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6403 #else
6404 # define ISLOWER(c) \
6405 (('a' <= (c) && (c) <= 'i') \
6406 || ('j' <= (c) && (c) <= 'r') \
6407 || ('s' <= (c) && (c) <= 'z'))
6408 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6409 #endif
6411 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6413 main ()
6415 int i;
6416 for (i = 0; i < 256; i++)
6417 if (XOR (islower (i), ISLOWER (i))
6418 || toupper (i) != TOUPPER (i))
6419 return 2;
6420 return 0;
6422 _ACEOF
6423 if ac_fn_c_try_run "$LINENO"; then :
6425 else
6426 ac_cv_header_stdc=no
6428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6429 conftest.$ac_objext conftest.beam conftest.$ac_ext
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6435 $as_echo "$ac_cv_header_stdc" >&6; }
6436 if test $ac_cv_header_stdc = yes; then
6438 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6442 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6443 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6444 inttypes.h stdint.h unistd.h
6445 do :
6446 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6447 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6449 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6450 cat >>confdefs.h <<_ACEOF
6451 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6452 _ACEOF
6456 done
6459 for ac_header in \
6460 AL/al.h \
6461 ApplicationServices/ApplicationServices.h \
6462 AudioToolbox/AudioConverter.h \
6463 AudioUnit/AudioUnit.h \
6464 AudioUnit/AudioComponent.h \
6465 CL/cl.h \
6466 Carbon/Carbon.h \
6467 CoreAudio/CoreAudio.h \
6468 CoreServices/CoreServices.h \
6469 DiskArbitration/DiskArbitration.h \
6470 IOKit/IOKitLib.h \
6471 IOKit/hid/IOHIDLib.h \
6472 OpenAL/al.h \
6473 OpenCL/opencl.h \
6474 QuickTime/ImageCompression.h \
6475 Security/Security.h \
6476 alias.h \
6477 alsa/asoundlib.h \
6478 arpa/inet.h \
6479 arpa/nameser.h \
6480 asm/types.h \
6481 asm/user.h \
6482 curses.h \
6483 direct.h \
6484 dirent.h \
6485 dlfcn.h \
6486 elf.h \
6487 float.h \
6488 fnmatch.h \
6489 getopt.h \
6490 gettext-po.h \
6491 grp.h \
6492 gsm.h \
6493 gsm/gsm.h \
6494 ieeefp.h \
6495 inet/mib2.h \
6496 io.h \
6497 kstat.h \
6498 lber.h \
6499 ldap.h \
6500 libproc.h \
6501 link.h \
6502 linux/cdrom.h \
6503 linux/compiler.h \
6504 linux/filter.h \
6505 linux/hdreg.h \
6506 linux/input.h \
6507 linux/ioctl.h \
6508 linux/joystick.h \
6509 linux/major.h \
6510 linux/param.h \
6511 linux/serial.h \
6512 linux/types.h \
6513 linux/ucdrom.h \
6514 lwp.h \
6515 mach-o/nlist.h \
6516 mach-o/loader.h \
6517 mach/mach.h \
6518 mach/machine.h \
6519 machine/cpu.h \
6520 machine/limits.h \
6521 machine/sysarch.h \
6522 mntent.h \
6523 ncurses.h \
6524 netdb.h \
6525 netinet/in.h \
6526 netinet/in_systm.h \
6527 netinet/tcp.h \
6528 netinet/tcp_fsm.h \
6529 pcap/pcap.h \
6530 poll.h \
6531 port.h \
6532 process.h \
6533 pthread.h \
6534 pwd.h \
6535 sched.h \
6536 scsi/scsi.h \
6537 scsi/scsi_ioctl.h \
6538 scsi/sg.h \
6539 stdbool.h \
6540 stdint.h \
6541 stropts.h \
6542 sys/asoundlib.h \
6543 sys/attr.h \
6544 sys/cdio.h \
6545 sys/elf32.h \
6546 sys/epoll.h \
6547 sys/event.h \
6548 sys/exec_elf.h \
6549 sys/filio.h \
6550 sys/inotify.h \
6551 sys/ioctl.h \
6552 sys/ipc.h \
6553 sys/limits.h \
6554 sys/link.h \
6555 sys/mman.h \
6556 sys/modem.h \
6557 sys/msg.h \
6558 sys/mtio.h \
6559 sys/param.h \
6560 sys/poll.h \
6561 sys/prctl.h \
6562 sys/protosw.h \
6563 sys/ptrace.h \
6564 sys/queue.h \
6565 sys/resource.h \
6566 sys/scsiio.h \
6567 sys/shm.h \
6568 sys/signal.h \
6569 sys/socket.h \
6570 sys/socketvar.h \
6571 sys/sockio.h \
6572 sys/statvfs.h \
6573 sys/strtio.h \
6574 sys/syscall.h \
6575 sys/tihdr.h \
6576 sys/time.h \
6577 sys/timeout.h \
6578 sys/times.h \
6579 sys/uio.h \
6580 sys/user.h \
6581 sys/utsname.h \
6582 sys/vm86.h \
6583 sys/wait.h \
6584 syscall.h \
6585 termios.h \
6586 unistd.h \
6587 utime.h \
6588 valgrind/memcheck.h \
6589 valgrind/valgrind.h \
6590 zlib.h
6592 do :
6593 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6594 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6595 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6596 cat >>confdefs.h <<_ACEOF
6597 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6598 _ACEOF
6602 done
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6605 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6606 if ${ac_cv_header_stat_broken+:} false; then :
6607 $as_echo_n "(cached) " >&6
6608 else
6609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6610 /* end confdefs.h. */
6611 #include <sys/types.h>
6612 #include <sys/stat.h>
6614 #if defined S_ISBLK && defined S_IFDIR
6615 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6616 #endif
6618 #if defined S_ISBLK && defined S_IFCHR
6619 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6620 #endif
6622 #if defined S_ISLNK && defined S_IFREG
6623 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6624 #endif
6626 #if defined S_ISSOCK && defined S_IFREG
6627 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6628 #endif
6630 _ACEOF
6631 if ac_fn_c_try_compile "$LINENO"; then :
6632 ac_cv_header_stat_broken=no
6633 else
6634 ac_cv_header_stat_broken=yes
6636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6639 $as_echo "$ac_cv_header_stat_broken" >&6; }
6640 if test $ac_cv_header_stat_broken = yes; then
6642 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6648 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6649 do :
6650 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6651 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6652 #ifdef HAVE_SYS_PARAM_H
6653 # include <sys/param.h>
6654 #endif
6656 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6657 cat >>confdefs.h <<_ACEOF
6658 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6659 _ACEOF
6663 done
6666 for ac_header in \
6667 netinet/ip.h \
6668 net/if.h \
6669 net/if_arp.h \
6670 net/if_dl.h \
6671 net/if_types.h \
6672 net/route.h \
6673 netinet/if_ether.h \
6674 netinet/if_inarp.h \
6675 netinet/in_pcb.h \
6676 netinet/ip_icmp.h \
6677 netinet/ip_var.h \
6678 netinet/udp.h \
6679 netipx/ipx.h \
6680 sys/un.h \
6682 do :
6683 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6684 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6685 #ifdef HAVE_SYS_SOCKET_H
6686 # include <sys/socket.h>
6687 #endif
6688 #ifdef HAVE_SYS_SOCKETVAR_H
6689 # include <sys/socketvar.h>
6690 #endif
6691 #ifdef HAVE_NET_ROUTE_H
6692 # include <net/route.h>
6693 #endif
6694 #ifdef HAVE_NETINET_IN_H
6695 # include <netinet/in.h>
6696 #endif
6697 #ifdef HAVE_NETINET_IN_SYSTM_H
6698 # include <netinet/in_systm.h>
6699 #endif
6700 #ifdef HAVE_NET_IF_H
6701 # include <net/if.h>
6702 #endif
6703 #ifdef HAVE_NETINET_IP_H
6704 # include <netinet/ip.h>
6705 #endif
6707 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6708 cat >>confdefs.h <<_ACEOF
6709 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6710 _ACEOF
6714 done
6717 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6718 do :
6719 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6720 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6721 #ifdef HAVE_ALIAS_H
6722 # include <alias.h>
6723 #endif
6724 #ifdef HAVE_SYS_SOCKET_H
6725 # include <sys/socket.h>
6726 #endif
6727 #ifdef HAVE_SYS_SOCKETVAR_H
6728 # include <sys/socketvar.h>
6729 #endif
6730 #ifdef HAVE_SYS_TIMEOUT_H
6731 # include <sys/timeout.h>
6732 #endif
6733 #ifdef HAVE_NETINET_IN_H
6734 # include <netinet/in.h>
6735 #endif
6736 #ifdef HAVE_NETINET_IN_SYSTM_H
6737 # include <netinet/in_systm.h>
6738 #endif
6739 #ifdef HAVE_NETINET_IP_H
6740 # include <netinet/ip.h>
6741 #endif
6742 #ifdef HAVE_NETINET_IP_VAR_H
6743 # include <netinet/ip_var.h>
6744 #endif
6745 #ifdef HAVE_NETINET_IP_ICMP_H
6746 # include <netinet/ip_icmp.h>
6747 #endif
6748 #ifdef HAVE_NETINET_UDP_H
6749 # include <netinet/udp.h>
6750 #endif
6751 #ifdef HAVE_NETINET_TCP_H
6752 # include <netinet/tcp.h>
6753 #endif
6754 #ifdef HAVE_NETINET_TCP_TIMER_H
6755 #include <netinet/tcp_timer.h>
6756 #endif
6758 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6759 cat >>confdefs.h <<_ACEOF
6760 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6761 _ACEOF
6765 done
6768 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6769 do :
6770 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6771 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6772 #ifdef HAVE_ASM_TYPES_H
6773 # include <asm/types.h>
6774 #endif
6775 #ifdef HAVE_SYS_SOCKET_H
6776 # include <sys/socket.h>
6777 #endif
6778 #ifdef HAVE_LINUX_TYPES_H
6779 # include <linux/types.h>
6780 #endif
6782 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6783 cat >>confdefs.h <<_ACEOF
6784 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6785 _ACEOF
6789 done
6792 for ac_header in mach-o/dyld_images.h
6793 do :
6794 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6795 # include <stdbool.h>
6796 #endif
6797 #ifdef HAVE_STDINT_H
6798 # include <stdint.h>
6799 #endif
6801 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6802 cat >>confdefs.h <<_ACEOF
6803 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6804 _ACEOF
6808 done
6811 for ac_header in resolv.h
6812 do :
6813 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6814 #ifdef HAVE_SYS_SOCKET_H
6815 # include <sys/socket.h>
6816 #endif
6817 #ifdef HAVE_NETINET_IN_H
6818 # include <netinet/in.h>
6819 #endif
6820 #ifdef HAVE_ARPA_NAMESER_H
6821 # include <arpa/nameser.h>
6822 #endif
6824 if test "x$ac_cv_header_resolv_h" = xyes; then :
6825 cat >>confdefs.h <<_ACEOF
6826 #define HAVE_RESOLV_H 1
6827 _ACEOF
6831 done
6834 for ac_header in ifaddrs.h
6835 do :
6836 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6838 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6839 cat >>confdefs.h <<_ACEOF
6840 #define HAVE_IFADDRS_H 1
6841 _ACEOF
6845 done
6848 for ac_header in sys/ucontext.h
6849 do :
6850 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6852 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6853 cat >>confdefs.h <<_ACEOF
6854 #define HAVE_SYS_UCONTEXT_H 1
6855 _ACEOF
6859 done
6862 for ac_header in sys/thr.h
6863 do :
6864 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6865 #ifdef HAVE_SYS_UCONTEXT_H
6866 #include <sys/ucontext.h>
6867 #endif
6869 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6870 cat >>confdefs.h <<_ACEOF
6871 #define HAVE_SYS_THR_H 1
6872 _ACEOF
6876 done
6879 for ac_header in pthread_np.h
6880 do :
6881 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6882 #include <pthread.h>
6883 #endif
6885 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6886 cat >>confdefs.h <<_ACEOF
6887 #define HAVE_PTHREAD_NP_H 1
6888 _ACEOF
6892 done
6895 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6896 do :
6897 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6898 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6899 #include <sys/time.h>
6900 #endif
6901 #include <sys/types.h>
6902 #ifdef HAVE_ASM_TYPES_H
6903 #include <asm/types.h>
6904 #endif
6906 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6907 cat >>confdefs.h <<_ACEOF
6908 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6909 _ACEOF
6913 done
6916 for ac_header in libprocstat.h
6917 do :
6918 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6919 #include <sys/param.h>
6920 #endif
6921 #ifdef HAVE_SYS_QUEUE_H
6922 #include <sys/queue.h>
6923 #endif
6924 #ifdef HAVE_SYS_SOCKET_H
6925 #include <sys/socket.h>
6926 #endif
6928 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6929 cat >>confdefs.h <<_ACEOF
6930 #define HAVE_LIBPROCSTAT_H 1
6931 _ACEOF
6935 done
6939 dlldir="\${libdir}/wine"
6941 DLLPREFIX=""
6943 DLLFLAGS="-D_REENTRANT"
6945 LDRPATH_INSTALL=""
6947 LDRPATH_LOCAL=""
6949 LIBEXT="so"
6950 DLLEXT=".so"
6951 IMPLIBEXT="def"
6952 STATIC_IMPLIBEXT="def.a"
6953 # Extract the first word of "ldd", so it can be a program name with args.
6954 set dummy ldd; ac_word=$2
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6956 $as_echo_n "checking for $ac_word... " >&6; }
6957 if ${ac_cv_path_LDD+:} false; then :
6958 $as_echo_n "(cached) " >&6
6959 else
6960 case $LDD in
6961 [\\/]* | ?:[\\/]*)
6962 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6966 as_dummy="/sbin:/usr/sbin:$PATH"
6967 for as_dir in $as_dummy
6969 IFS=$as_save_IFS
6970 test -z "$as_dir" && as_dir=.
6971 for ac_exec_ext in '' $ac_executable_extensions; do
6972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6973 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6975 break 2
6977 done
6978 done
6979 IFS=$as_save_IFS
6981 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6983 esac
6985 LDD=$ac_cv_path_LDD
6986 if test -n "$LDD"; then
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6988 $as_echo "$LDD" >&6; }
6989 else
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991 $as_echo "no" >&6; }
6995 if test -n "$ac_tool_prefix"; then
6996 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6997 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6999 $as_echo_n "checking for $ac_word... " >&6; }
7000 if ${ac_cv_prog_READELF+:} false; then :
7001 $as_echo_n "(cached) " >&6
7002 else
7003 if test -n "$READELF"; then
7004 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7005 else
7006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 for as_dir in $PATH
7009 IFS=$as_save_IFS
7010 test -z "$as_dir" && as_dir=.
7011 for ac_exec_ext in '' $ac_executable_extensions; do
7012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7013 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7015 break 2
7017 done
7018 done
7019 IFS=$as_save_IFS
7023 READELF=$ac_cv_prog_READELF
7024 if test -n "$READELF"; then
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7026 $as_echo "$READELF" >&6; }
7027 else
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7029 $as_echo "no" >&6; }
7034 if test -z "$ac_cv_prog_READELF"; then
7035 ac_ct_READELF=$READELF
7036 # Extract the first word of "readelf", so it can be a program name with args.
7037 set dummy readelf; ac_word=$2
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039 $as_echo_n "checking for $ac_word... " >&6; }
7040 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7041 $as_echo_n "(cached) " >&6
7042 else
7043 if test -n "$ac_ct_READELF"; then
7044 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7045 else
7046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 for as_dir in $PATH
7049 IFS=$as_save_IFS
7050 test -z "$as_dir" && as_dir=.
7051 for ac_exec_ext in '' $ac_executable_extensions; do
7052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7053 ac_cv_prog_ac_ct_READELF="readelf"
7054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7055 break 2
7057 done
7058 done
7059 IFS=$as_save_IFS
7063 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7064 if test -n "$ac_ct_READELF"; then
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7066 $as_echo "$ac_ct_READELF" >&6; }
7067 else
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7069 $as_echo "no" >&6; }
7072 if test "x$ac_ct_READELF" = x; then
7073 READELF="true"
7074 else
7075 case $cross_compiling:$ac_tool_warned in
7076 yes:)
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7079 ac_tool_warned=yes ;;
7080 esac
7081 READELF=$ac_ct_READELF
7083 else
7084 READELF="$ac_cv_prog_READELF"
7087 wine_rules_file=conf$$rules.make
7088 rm -f $wine_rules_file
7089 ALL_POT_FILES=""
7090 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7091 ALL_TEST_RESOURCES=""
7094 wine_fn_append_file ()
7096 as_fn_append $1 " \\$as_nl $2"
7099 wine_fn_ignore_file ()
7101 case "$1" in
7102 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7103 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7104 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7105 esac
7108 wine_fn_append_rule ()
7110 $as_echo "$1" >>$wine_rules_file
7113 wine_fn_has_flag ()
7115 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7118 wine_fn_depend_rules ()
7120 wine_fn_append_rule \
7121 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7122 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7123 depend: $ac_dir/depend
7124 .PHONY: $ac_dir/depend
7125 $ac_dir/depend: \$(MAKEDEP) dummy
7126 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7129 wine_fn_pot_rules ()
7131 test "x$with_gettextpo" = xyes || return
7133 if wine_fn_has_flag mc
7134 then
7135 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7136 wine_fn_append_rule \
7137 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7138 @cd $ac_dir && \$(MAKE) msg.pot
7139 $ac_dir/msg.pot: tools/wmc include"
7141 if wine_fn_has_flag po
7142 then
7143 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7144 wine_fn_append_rule \
7145 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7146 @cd $ac_dir && \$(MAKE) rsrc.pot
7147 $ac_dir/rsrc.pot: tools/wrc include"
7151 wine_fn_all_rules ()
7153 wine_fn_depend_rules
7154 wine_fn_append_rule \
7155 "all: $ac_dir
7156 .PHONY: $ac_dir
7157 $ac_dir: $ac_dir/Makefile dummy
7158 @cd $ac_dir && \$(MAKE)"
7161 wine_fn_install_rules ()
7163 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7165 wine_fn_append_rule \
7166 ".PHONY: $ac_dir/install $ac_dir/uninstall
7167 $ac_dir/install:: $ac_dir
7168 @cd $ac_dir && \$(MAKE) install
7169 $ac_dir/uninstall:: $ac_dir/Makefile
7170 @cd $ac_dir && \$(MAKE) uninstall
7171 install:: $ac_dir/install
7172 __uninstall__: $ac_dir/uninstall"
7174 if wine_fn_has_flag install-lib
7175 then
7176 wine_fn_append_rule \
7177 ".PHONY: $ac_dir/install-lib
7178 $ac_dir/install-lib:: $ac_dir
7179 @cd $ac_dir && \$(MAKE) install-lib
7180 install-lib:: $ac_dir/install-lib"
7183 if wine_fn_has_flag install-dev
7184 then
7185 wine_fn_append_rule \
7186 ".PHONY: $ac_dir/install-dev
7187 $ac_dir/install-dev:: $ac_dir
7188 @cd $ac_dir && \$(MAKE) install-dev
7189 install-dev:: $ac_dir/install-dev"
7193 wine_fn_clean_rules ()
7195 ac_clean=$@
7196 ac_extraclean="$ac_dir/Makefile"
7197 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7198 case $ac_dir in
7199 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7200 esac
7202 if wine_fn_has_flag clean
7203 then
7204 wine_fn_append_rule \
7205 "__clean__: $ac_dir/clean
7206 .PHONY: $ac_dir/clean
7207 $ac_dir/clean: $ac_dir/Makefile
7208 @cd $ac_dir && \$(MAKE) clean
7209 \$(RM) $ac_extraclean"
7210 else
7211 wine_fn_append_rule \
7212 "__clean__: $ac_dir/clean
7213 .PHONY: $ac_dir/clean
7214 $ac_dir/clean: dummy
7215 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7219 wine_fn_disabled_rules ()
7221 ac_clean=$@
7222 ac_extraclean="$ac_dir/Makefile"
7223 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7225 wine_fn_append_rule \
7226 "__clean__: $ac_dir/clean
7227 .PHONY: $ac_dir/clean
7228 $ac_dir/clean: dummy
7229 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7232 wine_fn_config_makefile ()
7234 ac_dir=$1
7235 ac_enable=$2
7236 ac_flags=$3
7238 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7239 wine_fn_disabled_rules; return
7241 wine_fn_all_rules
7242 wine_fn_install_rules
7243 wine_fn_clean_rules
7246 wine_fn_config_lib ()
7248 ac_name=$1
7249 ac_flags=$2
7250 ac_dir=dlls/$ac_name
7251 ac_deps="include"
7253 if test "x$enable_tools" = xno; then :
7255 else
7256 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7258 wine_fn_all_rules
7259 wine_fn_clean_rules
7261 wine_fn_append_rule \
7262 ".PHONY: $ac_dir/install $ac_dir/uninstall
7263 $ac_dir/install:: $ac_dir
7264 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7265 $ac_dir/uninstall::
7266 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7267 install install-dev:: $ac_dir/install
7268 __uninstall__: $ac_dir/uninstall
7269 __builddeps__: $ac_dir
7270 $ac_dir: $ac_deps"
7273 wine_fn_config_dll ()
7275 ac_name=$1
7276 ac_dir=dlls/$ac_name
7277 ac_enable=$2
7278 ac_flags=$3
7279 ac_implib=${4:-$ac_name}
7280 ac_file=$ac_dir/lib$ac_implib
7281 ac_dll=$ac_name
7282 ac_deps="include"
7283 ac_implibflags=""
7285 if test "x$enable_tools" = xno; then :
7287 else
7288 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7290 case $ac_name in
7291 *16) ac_implibflags=" -m16" ;;
7292 *.*) ;;
7293 *) ac_dll=$ac_dll.dll ;;
7294 esac
7296 ac_clean=
7297 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7298 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7299 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7300 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7302 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7303 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7304 then
7305 wine_fn_depend_rules
7306 wine_fn_clean_rules $ac_clean
7307 else
7308 wine_fn_disabled_rules $ac_clean
7309 return
7311 else
7312 wine_fn_all_rules
7313 wine_fn_clean_rules $ac_clean
7314 wine_fn_append_rule \
7315 "$ac_dir: __builddeps__
7316 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7317 @cd $ac_dir && \$(MAKE) \$@
7318 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7319 install install-lib:: $ac_dir/install-lib
7320 __uninstall__: $ac_dir/uninstall"
7321 if test -n "$DLLEXT"
7322 then
7323 wine_fn_append_rule \
7324 "$ac_dir/install-lib:: $ac_dir
7325 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7326 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7327 $ac_dir/uninstall::
7328 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7329 else
7330 wine_fn_append_rule \
7331 "$ac_dir/install-lib:: $ac_dir
7332 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7333 $ac_dir/uninstall::
7334 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7337 wine_fn_pot_rules
7340 if wine_fn_has_flag staticimplib
7341 then
7342 wine_fn_append_rule \
7343 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7344 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7345 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7346 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7347 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7348 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7349 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7350 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7351 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7352 $ac_dir/uninstall::
7353 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7354 install install-dev:: $ac_dir/install-dev
7355 __uninstall__: $ac_dir/uninstall"
7357 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7358 then
7359 wine_fn_append_rule \
7360 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7361 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7362 $ac_dir/uninstall::
7363 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7366 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7367 then
7368 wine_fn_append_rule \
7369 "__builddeps__: $ac_file.cross.a
7370 $ac_file.cross.a: $ac_dir/Makefile dummy
7371 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7374 elif wine_fn_has_flag implib
7375 then
7376 wine_fn_append_rule \
7377 "__builddeps__: $ac_file.$IMPLIBEXT
7378 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7379 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7380 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7381 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7382 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7383 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7384 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7385 $ac_dir/uninstall::
7386 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7387 install install-dev:: $ac_dir/install-dev
7388 __uninstall__: $ac_dir/uninstall"
7389 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7390 then
7391 wine_fn_append_rule \
7392 "__builddeps__: $ac_file.cross.a
7393 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7394 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7397 if test "$ac_name" != "$ac_implib"
7398 then
7399 wine_fn_append_rule \
7400 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7401 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7402 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7403 clean::
7404 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7405 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7406 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7407 then
7408 wine_fn_append_rule \
7409 "__builddeps__: dlls/lib$ac_implib.cross.a
7410 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7411 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7412 clean::
7413 \$(RM) dlls/lib$ac_implib.cross.a"
7414 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7420 wine_fn_config_program ()
7422 ac_name=$1
7423 ac_dir=programs/$ac_name
7424 ac_enable=$2
7425 ac_flags=$3
7426 ac_program=$ac_name
7428 case $ac_name in
7429 *.*) ;;
7430 *) ac_program=$ac_program.exe ;;
7431 esac
7433 ac_clean=
7434 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7435 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7436 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7437 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7439 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7440 wine_fn_disabled_rules $ac_clean; return
7443 wine_fn_all_rules
7444 wine_fn_clean_rules $ac_clean
7445 wine_fn_append_rule "$ac_dir: __builddeps__"
7446 wine_fn_pot_rules
7448 wine_fn_has_flag install || return
7449 wine_fn_append_rule \
7450 ".PHONY: $ac_dir/install $ac_dir/uninstall
7451 install install-lib:: $ac_dir/install
7452 __uninstall__: $ac_dir/uninstall"
7454 if test -n "$DLLEXT"
7455 then
7456 wine_fn_append_rule \
7457 "$ac_dir/install:: $ac_dir
7458 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7459 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7460 $ac_dir/uninstall::
7461 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7463 if test -z "$with_wine64" && wine_fn_has_flag installbin
7464 then
7465 wine_fn_append_rule \
7466 "$ac_dir/install:: __tooldeps__
7467 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7468 $ac_dir/uninstall::
7469 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7471 else
7472 wine_fn_append_rule \
7473 "$ac_dir/install:: $ac_dir
7474 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7475 $ac_dir/uninstall::
7476 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7479 if test -z "$with_wine64" && wine_fn_has_flag manpage
7480 then
7481 wine_fn_append_rule \
7482 "$ac_dir/install:: $ac_dir
7483 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7484 $ac_dir/uninstall::
7485 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7489 wine_fn_config_test ()
7491 ac_dir=$1
7492 ac_name=$2
7493 ac_flags=$3
7495 ac_clean=
7496 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7497 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7499 if test "x$enable_tests" = xno; then :
7500 wine_fn_disabled_rules $ac_clean; return
7503 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7504 wine_fn_all_rules
7505 wine_fn_clean_rules $ac_clean
7507 wine_fn_append_rule \
7508 "$ac_dir: programs/winetest/Makefile __builddeps__
7509 programs/winetest: $ac_dir
7510 check test: $ac_dir/test
7511 .PHONY: $ac_dir/test
7512 $ac_dir/test: dummy
7513 @cd $ac_dir && \$(MAKE) test
7514 testclean::
7515 \$(RM) $ac_dir/*.ok"
7517 if test -n "$CROSSTARGET"
7518 then
7519 wine_fn_append_rule \
7520 "crosstest: $ac_dir/crosstest
7521 .PHONY: $ac_dir/crosstest
7522 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7523 @cd $ac_dir && \$(MAKE) crosstest"
7527 wine_fn_config_tool ()
7529 ac_dir=$1
7530 ac_flags=$2
7531 if test "x$enable_tools" = xno; then :
7532 return
7535 wine_fn_all_rules
7536 wine_fn_install_rules
7537 wine_fn_clean_rules
7539 wine_fn_append_rule "__tooldeps__: $ac_dir"
7540 wine_fn_append_rule "$ac_dir: libs/port"
7541 case $ac_dir in
7542 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7543 esac
7546 wine_fn_config_symlink ()
7548 ac_linkdir=
7549 if test "x$1" = "x-d"
7550 then
7551 ac_linkdir=$2
7552 shift; shift
7554 ac_links=$@
7555 wine_fn_append_rule \
7556 "$ac_links:
7557 @./config.status \$@
7558 distclean::
7559 \$(RM) $ac_links"
7560 for f in $ac_links; do wine_fn_ignore_file $f; done
7561 test -n "$ac_linkdir" || return
7562 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7565 wine_binary="wine"
7566 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7567 loader_programs="$wine_binary wine-installed"
7568 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7570 LOADER_RULES="
7571 all: wine.inf
7573 install install-lib:: wine-installed
7574 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7576 uninstall::
7577 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7581 case $host_os in
7582 cygwin*|mingw32*)
7583 if test -n "$ac_tool_prefix"; then
7584 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7585 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7587 $as_echo_n "checking for $ac_word... " >&6; }
7588 if ${ac_cv_prog_DLLTOOL+:} false; then :
7589 $as_echo_n "(cached) " >&6
7590 else
7591 if test -n "$DLLTOOL"; then
7592 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7593 else
7594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 for as_dir in $PATH
7597 IFS=$as_save_IFS
7598 test -z "$as_dir" && as_dir=.
7599 for ac_exec_ext in '' $ac_executable_extensions; do
7600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7601 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603 break 2
7605 done
7606 done
7607 IFS=$as_save_IFS
7611 DLLTOOL=$ac_cv_prog_DLLTOOL
7612 if test -n "$DLLTOOL"; then
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7614 $as_echo "$DLLTOOL" >&6; }
7615 else
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7617 $as_echo "no" >&6; }
7622 if test -z "$ac_cv_prog_DLLTOOL"; then
7623 ac_ct_DLLTOOL=$DLLTOOL
7624 # Extract the first word of "dlltool", so it can be a program name with args.
7625 set dummy dlltool; ac_word=$2
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7627 $as_echo_n "checking for $ac_word... " >&6; }
7628 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7629 $as_echo_n "(cached) " >&6
7630 else
7631 if test -n "$ac_ct_DLLTOOL"; then
7632 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7633 else
7634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7635 for as_dir in $PATH
7637 IFS=$as_save_IFS
7638 test -z "$as_dir" && as_dir=.
7639 for ac_exec_ext in '' $ac_executable_extensions; do
7640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7641 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7643 break 2
7645 done
7646 done
7647 IFS=$as_save_IFS
7651 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7652 if test -n "$ac_ct_DLLTOOL"; then
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7654 $as_echo "$ac_ct_DLLTOOL" >&6; }
7655 else
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7657 $as_echo "no" >&6; }
7660 if test "x$ac_ct_DLLTOOL" = x; then
7661 DLLTOOL="false"
7662 else
7663 case $cross_compiling:$ac_tool_warned in
7664 yes:)
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7666 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7667 ac_tool_warned=yes ;;
7668 esac
7669 DLLTOOL=$ac_ct_DLLTOOL
7671 else
7672 DLLTOOL="$ac_cv_prog_DLLTOOL"
7675 LIBEXT="dll"
7676 DLLEXT=""
7677 IMPLIBEXT="a"
7678 STATIC_IMPLIBEXT="a"
7679 enable_iphlpapi=${enable_iphlpapi:-no}
7680 enable_kernel32=${enable_kernel32:-no}
7681 enable_msvcrt=${enable_msvcrt:-no}
7682 enable_ntdll=${enable_ntdll:-no}
7683 enable_ws2_32=${enable_ws2_32:-no}
7684 enable_loader=${enable_loader:-no}
7685 enable_server=${enable_server:-no}
7686 with_x=${with_x:-no}
7687 with_pthread=${with_pthread:-no}
7689 crtlibs=""
7690 case $host_os in
7691 mingw32*)
7692 crtlibs="-lmsvcrt"
7693 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7695 esac
7697 libwine_targets="libwine.dll libwine.a"
7698 LIBWINE_RULES="
7699 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7701 all: libwine.dll libwine.a
7703 libwine.a: \$(srcdir)/wine.def
7704 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7706 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7707 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7709 install install-lib:: libwine.dll
7710 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7712 install install-dev:: libwine.a
7713 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7715 uninstall::
7716 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7721 darwin*|macosx*)
7722 LIBEXT="dylib"
7723 DLLFLAGS="$DLLFLAGS -fPIC"
7724 LIBWINE_LDFLAGS="-multiply_defined suppress"
7725 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7726 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7727 COREFOUNDATION_LIBS="-framework CoreFoundation"
7729 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7731 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7733 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7735 CORESERVICES_LIBS="-framework CoreServices"
7737 APPKIT_LIBS="-framework AppKit"
7739 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7741 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7742 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7743 $as_echo_n "(cached) " >&6
7744 else
7745 ac_wine_try_cflags_saved=$CFLAGS
7746 CFLAGS="$CFLAGS -Wl,-no_pie"
7747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7748 /* end confdefs.h. */
7749 int main(int argc, char **argv) { return 0; }
7750 _ACEOF
7751 if ac_fn_c_try_link "$LINENO"; then :
7752 ac_cv_cflags__Wl__no_pie=yes
7753 else
7754 ac_cv_cflags__Wl__no_pie=no
7756 rm -f core conftest.err conftest.$ac_objext \
7757 conftest$ac_exeext conftest.$ac_ext
7758 CFLAGS=$ac_wine_try_cflags_saved
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7761 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7762 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7763 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7765 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7766 then
7767 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7770 if test "$ac_cv_header_Security_Security_h" = "yes"
7771 then
7772 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7774 ac_save_LIBS="$LIBS"
7775 LIBS="$LIBS $SECURITY_LIBS"
7776 for ac_func in SSLCopyPeerCertificates
7777 do :
7778 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7779 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7780 cat >>confdefs.h <<_ACEOF
7781 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7782 _ACEOF
7785 done
7787 LIBS="$ac_save_LIBS"
7788 with_gnutls=${with_gnutls:-no}
7790 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7791 then
7792 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7793 then
7794 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7796 else
7797 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7800 ac_save_LIBS="$LIBS"
7801 LIBS="$LIBS $COREAUDIO_LIBS"
7802 for ac_func in AUGraphAddNode
7803 do :
7804 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7805 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7806 cat >>confdefs.h <<_ACEOF
7807 #define HAVE_AUGRAPHADDNODE 1
7808 _ACEOF
7811 done
7813 LIBS="$ac_save_LIBS"
7815 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7816 then
7817 OPENAL_LIBS="-framework OpenAL"
7820 cat >>confdefs.h <<_ACEOF
7821 #define HAVE_OPENAL 1
7822 _ACEOF
7824 ac_cv_lib_openal=yes
7826 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7827 then
7828 OPENCL_LIBS="-framework OpenCL"
7830 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7832 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7833 then
7834 ac_save_LIBS="$LIBS"
7835 LIBS="$LIBS $IOKIT_LIBS"
7836 for ac_func in IOHIDManagerCreate
7837 do :
7838 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7839 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7840 cat >>confdefs.h <<_ACEOF
7841 #define HAVE_IOHIDMANAGERCREATE 1
7842 _ACEOF
7845 done
7847 LIBS="$ac_save_LIBS"
7849 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7850 then
7851 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7853 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7854 else
7855 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7857 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7858 then
7859 CARBON_LIBS="-framework Carbon"
7863 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7864 then
7865 ac_save_LIBS="$LIBS"
7866 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7867 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7868 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7869 enable_winemac_drv=${enable_winemac_drv:-yes}
7872 LIBS="$ac_save_LIBS"
7875 if test "x$enable_win16" = "xyes"
7876 then
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7878 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7879 if test "$cross_compiling" = yes; then :
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7881 $as_echo "cross-compiling, assuming yes" >&6; }
7882 else
7883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7884 /* end confdefs.h. */
7885 asm(".text\n"
7886 "bad:\tnop;nop\n"
7887 "good:\tnop;nop\n\t"
7888 ".globl _testfunc\n"
7889 "_testfunc:\tcallw good");
7890 extern void testfunc();
7892 main ()
7894 unsigned short *p = (unsigned short *)testfunc;
7895 return p[0] != 0xe866 || p[1] != 0xfffa
7897 return 0;
7899 _ACEOF
7900 if ac_fn_c_try_run "$LINENO"; then :
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7902 $as_echo "yes" >&6; }
7903 else
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7905 $as_echo "no" >&6; }
7906 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
7908 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7909 conftest.$ac_objext conftest.beam conftest.$ac_ext
7914 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7915 LIBWINE_RULES="
7916 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7918 all: libwine.dylib
7920 libwine.$libwine_version.dylib: \$(OBJS)
7921 \$(CC) -dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7923 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7924 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7926 libwine.dylib: libwine.$libwine_soversion.dylib
7927 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7929 install install-lib:: libwine.$libwine_version.dylib
7930 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7931 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7933 install install-dev::
7934 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7936 uninstall::
7937 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7941 as_fn_append LOADER_RULES "
7942 $wine_binary: main.o wine_info.plist
7943 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7945 wine-installed: main.o wine_info.plist
7946 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7950 linux-android*)
7951 DLLFLAGS="$DLLFLAGS -fPIC"
7952 DLLPREFIX="lib"
7953 LDEXECFLAGS=""
7954 dlldir="\${libdir}"
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7956 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7957 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7958 $as_echo_n "(cached) " >&6
7959 else
7960 ac_wine_try_cflags_saved=$CFLAGS
7961 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7963 /* end confdefs.h. */
7964 int main(int argc, char **argv) { return 0; }
7965 _ACEOF
7966 if ac_fn_c_try_link "$LINENO"; then :
7967 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7968 else
7969 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7971 rm -f core conftest.err conftest.$ac_objext \
7972 conftest$ac_exeext conftest.$ac_ext
7973 CFLAGS=$ac_wine_try_cflags_saved
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7976 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7977 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7978 LDEXECFLAGS="-Wl,--export-dynamic"
7980 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7982 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7983 if eval \${$as_ac_var+:} false; then :
7984 $as_echo_n "(cached) " >&6
7985 else
7986 ac_wine_try_cflags_saved=$CFLAGS
7987 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7989 /* end confdefs.h. */
7990 int main(int argc, char **argv) { return 0; }
7991 _ACEOF
7992 if ac_fn_c_try_link "$LINENO"; then :
7993 eval "$as_ac_var=yes"
7994 else
7995 eval "$as_ac_var=no"
7997 rm -f core conftest.err conftest.$ac_objext \
7998 conftest$ac_exeext conftest.$ac_ext
7999 CFLAGS=$ac_wine_try_cflags_saved
8001 eval ac_res=\$$as_ac_var
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8003 $as_echo "$ac_res" >&6; }
8004 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8005 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8006 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8007 else
8008 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8010 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8011 if eval \${$as_ac_var+:} false; then :
8012 $as_echo_n "(cached) " >&6
8013 else
8014 ac_wine_try_cflags_saved=$CFLAGS
8015 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8017 /* end confdefs.h. */
8018 int main(int argc, char **argv) { return 0; }
8019 _ACEOF
8020 if ac_fn_c_try_link "$LINENO"; then :
8021 eval "$as_ac_var=yes"
8022 else
8023 eval "$as_ac_var=no"
8025 rm -f core conftest.err conftest.$ac_objext \
8026 conftest$ac_exeext conftest.$ac_ext
8027 CFLAGS=$ac_wine_try_cflags_saved
8029 eval ac_res=\$$as_ac_var
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8031 $as_echo "$ac_res" >&6; }
8032 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8033 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8034 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8039 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8040 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8041 $as_echo_n "(cached) " >&6
8042 else
8043 ac_wine_try_cflags_saved=$CFLAGS
8044 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8046 /* end confdefs.h. */
8047 int main(int argc, char **argv) { return 0; }
8048 _ACEOF
8049 if ac_fn_c_try_link "$LINENO"; then :
8050 ac_cv_cflags__Wl___enable_new_dtags=yes
8051 else
8052 ac_cv_cflags__Wl___enable_new_dtags=no
8054 rm -f core conftest.err conftest.$ac_objext \
8055 conftest$ac_exeext conftest.$ac_ext
8056 CFLAGS=$ac_wine_try_cflags_saved
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8059 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8060 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8061 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8064 case $host_cpu in
8065 *i[3456789]86* | x86_64)
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8067 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8068 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8069 $as_echo_n "(cached) " >&6
8070 else
8071 ac_wine_try_cflags_saved=$CFLAGS
8072 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8074 /* end confdefs.h. */
8075 int main(int argc, char **argv) { return 0; }
8076 _ACEOF
8077 if ac_fn_c_try_link "$LINENO"; then :
8078 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8079 else
8080 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8082 rm -f core conftest.err conftest.$ac_objext \
8083 conftest$ac_exeext conftest.$ac_ext
8084 CFLAGS=$ac_wine_try_cflags_saved
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8087 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8088 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8089 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8092 esac
8094 libwine_targets="libwine.so"
8095 LIBWINE_RULES="
8096 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8098 all: libwine.so
8100 libwine.so: \$(OBJS)
8101 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8103 install install-lib:: libwine.so
8104 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8106 uninstall::
8107 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8111 as_fn_append LOADER_RULES "
8112 $wine_binary: main.o
8113 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8115 wine-installed: main.o
8116 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8121 DLLFLAGS="$DLLFLAGS -fPIC"
8122 LDEXECFLAGS=""
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8124 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8125 if ${ac_cv_c_dll_gnuelf+:} false; then :
8126 $as_echo_n "(cached) " >&6
8127 else
8128 ac_wine_try_cflags_saved=$CFLAGS
8129 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8131 /* end confdefs.h. */
8132 void myfunc() {}
8133 _ACEOF
8134 if ac_fn_c_try_link "$LINENO"; then :
8135 ac_cv_c_dll_gnuelf="yes"
8136 else
8137 ac_cv_c_dll_gnuelf="no"
8139 rm -f core conftest.err conftest.$ac_objext \
8140 conftest$ac_exeext conftest.$ac_ext
8141 CFLAGS=$ac_wine_try_cflags_saved
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8144 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8145 if test "$ac_cv_c_dll_gnuelf" = "yes"
8146 then
8147 LDSHARED="\$(CC) -shared"
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8149 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8150 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8151 $as_echo_n "(cached) " >&6
8152 else
8153 ac_wine_try_cflags_saved=$CFLAGS
8154 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8156 /* end confdefs.h. */
8157 int main(int argc, char **argv) { return 0; }
8158 _ACEOF
8159 if ac_fn_c_try_link "$LINENO"; then :
8160 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8161 else
8162 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8164 rm -f core conftest.err conftest.$ac_objext \
8165 conftest$ac_exeext conftest.$ac_ext
8166 CFLAGS=$ac_wine_try_cflags_saved
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8169 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8170 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8171 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8172 else
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8174 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8175 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8176 $as_echo_n "(cached) " >&6
8177 else
8178 ac_wine_try_cflags_saved=$CFLAGS
8179 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8181 /* end confdefs.h. */
8182 int main(int argc, char **argv) { return 0; }
8183 _ACEOF
8184 if ac_fn_c_try_link "$LINENO"; then :
8185 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8186 else
8187 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8189 rm -f core conftest.err conftest.$ac_objext \
8190 conftest$ac_exeext conftest.$ac_ext
8191 CFLAGS=$ac_wine_try_cflags_saved
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8194 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8195 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8196 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8200 echo '{ global: *; };' >conftest.map
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8202 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8203 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8204 $as_echo_n "(cached) " >&6
8205 else
8206 ac_wine_try_cflags_saved=$CFLAGS
8207 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8209 /* end confdefs.h. */
8210 int main(int argc, char **argv) { return 0; }
8211 _ACEOF
8212 if ac_fn_c_try_link "$LINENO"; then :
8213 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8214 else
8215 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8217 rm -f core conftest.err conftest.$ac_objext \
8218 conftest$ac_exeext conftest.$ac_ext
8219 CFLAGS=$ac_wine_try_cflags_saved
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8222 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8223 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8224 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8226 rm -f conftest.map
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8229 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8230 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8231 $as_echo_n "(cached) " >&6
8232 else
8233 ac_wine_try_cflags_saved=$CFLAGS
8234 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8236 /* end confdefs.h. */
8237 int main(int argc, char **argv) { return 0; }
8238 _ACEOF
8239 if ac_fn_c_try_link "$LINENO"; then :
8240 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8241 else
8242 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8244 rm -f core conftest.err conftest.$ac_objext \
8245 conftest$ac_exeext conftest.$ac_ext
8246 CFLAGS=$ac_wine_try_cflags_saved
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8249 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8250 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8251 LDEXECFLAGS="-Wl,--export-dynamic"
8254 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8256 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8257 if eval \${$as_ac_var+:} false; then :
8258 $as_echo_n "(cached) " >&6
8259 else
8260 ac_wine_try_cflags_saved=$CFLAGS
8261 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8263 /* end confdefs.h. */
8264 int main(int argc, char **argv) { return 0; }
8265 _ACEOF
8266 if ac_fn_c_try_link "$LINENO"; then :
8267 eval "$as_ac_var=yes"
8268 else
8269 eval "$as_ac_var=no"
8271 rm -f core conftest.err conftest.$ac_objext \
8272 conftest$ac_exeext conftest.$ac_ext
8273 CFLAGS=$ac_wine_try_cflags_saved
8275 eval ac_res=\$$as_ac_var
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8277 $as_echo "$ac_res" >&6; }
8278 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8279 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8280 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8281 else
8282 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8284 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8285 if eval \${$as_ac_var+:} false; then :
8286 $as_echo_n "(cached) " >&6
8287 else
8288 ac_wine_try_cflags_saved=$CFLAGS
8289 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8291 /* end confdefs.h. */
8292 int main(int argc, char **argv) { return 0; }
8293 _ACEOF
8294 if ac_fn_c_try_link "$LINENO"; then :
8295 eval "$as_ac_var=yes"
8296 else
8297 eval "$as_ac_var=no"
8299 rm -f core conftest.err conftest.$ac_objext \
8300 conftest$ac_exeext conftest.$ac_ext
8301 CFLAGS=$ac_wine_try_cflags_saved
8303 eval ac_res=\$$as_ac_var
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8305 $as_echo "$ac_res" >&6; }
8306 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8307 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8308 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8313 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8314 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8315 $as_echo_n "(cached) " >&6
8316 else
8317 ac_wine_try_cflags_saved=$CFLAGS
8318 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8320 /* end confdefs.h. */
8321 int main(int argc, char **argv) { return 0; }
8322 _ACEOF
8323 if ac_fn_c_try_link "$LINENO"; then :
8324 ac_cv_cflags__Wl___enable_new_dtags=yes
8325 else
8326 ac_cv_cflags__Wl___enable_new_dtags=no
8328 rm -f core conftest.err conftest.$ac_objext \
8329 conftest$ac_exeext conftest.$ac_ext
8330 CFLAGS=$ac_wine_try_cflags_saved
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8333 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8334 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8335 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8338 case $host_cpu in
8339 *i[3456789]86* | x86_64)
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8341 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8342 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8343 $as_echo_n "(cached) " >&6
8344 else
8345 ac_wine_try_cflags_saved=$CFLAGS
8346 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8348 /* end confdefs.h. */
8349 int main(int argc, char **argv) { return 0; }
8350 _ACEOF
8351 if ac_fn_c_try_link "$LINENO"; then :
8352 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8353 else
8354 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8356 rm -f core conftest.err conftest.$ac_objext \
8357 conftest$ac_exeext conftest.$ac_ext
8358 CFLAGS=$ac_wine_try_cflags_saved
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8361 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8362 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8363 case $host_os in
8364 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8365 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8366 esac
8369 # Extract the first word of "prelink", so it can be a program name with args.
8370 set dummy prelink; ac_word=$2
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8372 $as_echo_n "checking for $ac_word... " >&6; }
8373 if ${ac_cv_path_PRELINK+:} false; then :
8374 $as_echo_n "(cached) " >&6
8375 else
8376 case $PRELINK in
8377 [\\/]* | ?:[\\/]*)
8378 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8382 for as_dir in /sbin /usr/sbin $PATH
8384 IFS=$as_save_IFS
8385 test -z "$as_dir" && as_dir=.
8386 for ac_exec_ext in '' $ac_executable_extensions; do
8387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8388 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8390 break 2
8392 done
8393 done
8394 IFS=$as_save_IFS
8396 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8398 esac
8400 PRELINK=$ac_cv_path_PRELINK
8401 if test -n "$PRELINK"; then
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8403 $as_echo "$PRELINK" >&6; }
8404 else
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8406 $as_echo "no" >&6; }
8410 if test "x$PRELINK" = xfalse
8411 then
8412 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8415 esac
8417 else
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8419 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8420 if ${ac_cv_c_dll_unixware+:} false; then :
8421 $as_echo_n "(cached) " >&6
8422 else
8423 ac_wine_try_cflags_saved=$CFLAGS
8424 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8426 /* end confdefs.h. */
8427 void myfunc() {}
8428 _ACEOF
8429 if ac_fn_c_try_link "$LINENO"; then :
8430 ac_cv_c_dll_unixware="yes"
8431 else
8432 ac_cv_c_dll_unixware="no"
8434 rm -f core conftest.err conftest.$ac_objext \
8435 conftest$ac_exeext conftest.$ac_ext
8436 CFLAGS=$ac_wine_try_cflags_saved
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8439 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8440 if test "$ac_cv_c_dll_unixware" = "yes"
8441 then
8442 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8445 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8446 LIBWINE_RULES="
8447 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8449 all: libwine.so
8451 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8452 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8454 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8455 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8457 libwine.so: libwine.so.$libwine_soversion
8458 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8460 install install-lib:: libwine.so.$libwine_version
8461 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8462 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8464 install install-dev::
8465 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8467 uninstall::
8468 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8472 as_fn_append LOADER_RULES "
8473 $wine_binary: main.o
8474 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8476 wine-installed: main.o
8477 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8480 esac
8482 as_fn_append LIBWINE_RULES "
8483 EXTRA_TARGETS = $libwine_targets
8486 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8487 enable_winemac_drv=${enable_winemac_drv:-no}
8489 CROSSTARGET=""
8491 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8492 then
8493 case "$host_cpu" in
8494 i[3456789]86*)
8495 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
8496 mingw32-gcc" ;;
8497 x86_64)
8498 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 " ;;
8500 ac_prefix_list="" ;;
8501 esac
8502 for ac_prog in $ac_prefix_list
8504 # Extract the first word of "$ac_prog", so it can be a program name with args.
8505 set dummy $ac_prog; ac_word=$2
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8507 $as_echo_n "checking for $ac_word... " >&6; }
8508 if ${ac_cv_prog_CROSSCC+:} false; then :
8509 $as_echo_n "(cached) " >&6
8510 else
8511 if test -n "$CROSSCC"; then
8512 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8513 else
8514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8515 for as_dir in $PATH
8517 IFS=$as_save_IFS
8518 test -z "$as_dir" && as_dir=.
8519 for ac_exec_ext in '' $ac_executable_extensions; do
8520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8521 ac_cv_prog_CROSSCC="$ac_prog"
8522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8523 break 2
8525 done
8526 done
8527 IFS=$as_save_IFS
8531 CROSSCC=$ac_cv_prog_CROSSCC
8532 if test -n "$CROSSCC"; then
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8534 $as_echo "$CROSSCC" >&6; }
8535 else
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8537 $as_echo "no" >&6; }
8541 test -n "$CROSSCC" && break
8542 done
8543 test -n "$CROSSCC" || CROSSCC="false"
8545 if test "$CROSSCC" != "false"
8546 then
8547 ac_save_CC="$CC"
8548 CC="$CROSSCC"
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8550 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8552 /* end confdefs.h. */
8555 main ()
8559 return 0;
8561 _ACEOF
8562 if ac_fn_c_try_compile "$LINENO"; then :
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8564 $as_echo "yes" >&6; }
8565 set x $CROSSCC
8566 shift
8567 while test $# -ge 1
8569 case "$1" in
8570 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8571 esac
8572 shift
8573 done
8574 else
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8576 $as_echo "no" >&6; }
8578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8579 CC="$ac_save_CC"
8584 if test "$ac_cv_header_pthread_h" = "yes"
8585 then
8586 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8587 if test "x$ac_cv_func_pthread_create" = xyes; then :
8589 else
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8591 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8592 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8593 $as_echo_n "(cached) " >&6
8594 else
8595 ac_check_lib_save_LIBS=$LIBS
8596 LIBS="-lpthread $LIBS"
8597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8598 /* end confdefs.h. */
8600 /* Override any GCC internal prototype to avoid an error.
8601 Use char because int might match the return type of a GCC
8602 builtin and then its argument prototype would still apply. */
8603 #ifdef __cplusplus
8604 extern "C"
8605 #endif
8606 char pthread_create ();
8608 main ()
8610 return pthread_create ();
8612 return 0;
8614 _ACEOF
8615 if ac_fn_c_try_link "$LINENO"; then :
8616 ac_cv_lib_pthread_pthread_create=yes
8617 else
8618 ac_cv_lib_pthread_pthread_create=no
8620 rm -f core conftest.err conftest.$ac_objext \
8621 conftest$ac_exeext conftest.$ac_ext
8622 LIBS=$ac_check_lib_save_LIBS
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8625 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8626 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8627 PTHREAD_LIBS="-lpthread"
8634 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8635 case "x$with_pthread" in
8636 xno) ;;
8637 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8638 Wine cannot support threads without libpthread.
8639 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8640 esac
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8645 $as_echo_n "checking for X... " >&6; }
8648 # Check whether --with-x was given.
8649 if test "${with_x+set}" = set; then :
8650 withval=$with_x;
8653 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8654 if test "x$with_x" = xno; then
8655 # The user explicitly disabled X.
8656 have_x=disabled
8657 else
8658 case $x_includes,$x_libraries in #(
8659 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8660 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8661 $as_echo_n "(cached) " >&6
8662 else
8663 # One or both of the vars are not set, and there is no cached value.
8664 ac_x_includes=no ac_x_libraries=no
8665 rm -f -r conftest.dir
8666 if mkdir conftest.dir; then
8667 cd conftest.dir
8668 cat >Imakefile <<'_ACEOF'
8669 incroot:
8670 @echo incroot='${INCROOT}'
8671 usrlibdir:
8672 @echo usrlibdir='${USRLIBDIR}'
8673 libdir:
8674 @echo libdir='${LIBDIR}'
8675 _ACEOF
8676 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8677 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8678 for ac_var in incroot usrlibdir libdir; do
8679 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8680 done
8681 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8682 for ac_extension in a so sl dylib la dll; do
8683 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8684 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8685 ac_im_usrlibdir=$ac_im_libdir; break
8687 done
8688 # Screen out bogus values from the imake configuration. They are
8689 # bogus both because they are the default anyway, and because
8690 # using them would break gcc on systems where it needs fixed includes.
8691 case $ac_im_incroot in
8692 /usr/include) ac_x_includes= ;;
8693 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8694 esac
8695 case $ac_im_usrlibdir in
8696 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8697 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8698 esac
8700 cd ..
8701 rm -f -r conftest.dir
8704 # Standard set of common directories for X headers.
8705 # Check X11 before X11Rn because it is often a symlink to the current release.
8706 ac_x_header_dirs='
8707 /usr/X11/include
8708 /usr/X11R7/include
8709 /usr/X11R6/include
8710 /usr/X11R5/include
8711 /usr/X11R4/include
8713 /usr/include/X11
8714 /usr/include/X11R7
8715 /usr/include/X11R6
8716 /usr/include/X11R5
8717 /usr/include/X11R4
8719 /usr/local/X11/include
8720 /usr/local/X11R7/include
8721 /usr/local/X11R6/include
8722 /usr/local/X11R5/include
8723 /usr/local/X11R4/include
8725 /usr/local/include/X11
8726 /usr/local/include/X11R7
8727 /usr/local/include/X11R6
8728 /usr/local/include/X11R5
8729 /usr/local/include/X11R4
8731 /usr/X386/include
8732 /usr/x386/include
8733 /usr/XFree86/include/X11
8735 /usr/include
8736 /usr/local/include
8737 /usr/unsupported/include
8738 /usr/athena/include
8739 /usr/local/x11r5/include
8740 /usr/lpp/Xamples/include
8742 /usr/openwin/include
8743 /usr/openwin/share/include'
8745 if test "$ac_x_includes" = no; then
8746 # Guess where to find include files, by looking for Xlib.h.
8747 # First, try using that file with no special directory specified.
8748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8749 /* end confdefs.h. */
8750 #include <X11/Xlib.h>
8751 _ACEOF
8752 if ac_fn_c_try_cpp "$LINENO"; then :
8753 # We can compile using X headers with no special include directory.
8754 ac_x_includes=
8755 else
8756 for ac_dir in $ac_x_header_dirs; do
8757 if test -r "$ac_dir/X11/Xlib.h"; then
8758 ac_x_includes=$ac_dir
8759 break
8761 done
8763 rm -f conftest.err conftest.i conftest.$ac_ext
8764 fi # $ac_x_includes = no
8766 if test "$ac_x_libraries" = no; then
8767 # Check for the libraries.
8768 # See if we find them without any special options.
8769 # Don't add to $LIBS permanently.
8770 ac_save_LIBS=$LIBS
8771 LIBS="-lX11 $LIBS"
8772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8773 /* end confdefs.h. */
8774 #include <X11/Xlib.h>
8776 main ()
8778 XrmInitialize ()
8780 return 0;
8782 _ACEOF
8783 if ac_fn_c_try_link "$LINENO"; then :
8784 LIBS=$ac_save_LIBS
8785 # We can link X programs with no special library path.
8786 ac_x_libraries=
8787 else
8788 LIBS=$ac_save_LIBS
8789 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8791 # Don't even attempt the hair of trying to link an X program!
8792 for ac_extension in a so sl dylib la dll; do
8793 if test -r "$ac_dir/libX11.$ac_extension"; then
8794 ac_x_libraries=$ac_dir
8795 break 2
8797 done
8798 done
8800 rm -f core conftest.err conftest.$ac_objext \
8801 conftest$ac_exeext conftest.$ac_ext
8802 fi # $ac_x_libraries = no
8804 case $ac_x_includes,$ac_x_libraries in #(
8805 no,* | *,no | *\'*)
8806 # Didn't find X, or a directory has "'" in its name.
8807 ac_cv_have_x="have_x=no";; #(
8809 # Record where we found X for the cache.
8810 ac_cv_have_x="have_x=yes\
8811 ac_x_includes='$ac_x_includes'\
8812 ac_x_libraries='$ac_x_libraries'"
8813 esac
8815 ;; #(
8816 *) have_x=yes;;
8817 esac
8818 eval "$ac_cv_have_x"
8819 fi # $with_x != no
8821 if test "$have_x" != yes; then
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8823 $as_echo "$have_x" >&6; }
8824 no_x=yes
8825 else
8826 # If each of the values was on the command line, it overrides each guess.
8827 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8828 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8829 # Update the cache value to reflect the command line values.
8830 ac_cv_have_x="have_x=yes\
8831 ac_x_includes='$x_includes'\
8832 ac_x_libraries='$x_libraries'"
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8834 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8837 if test "$no_x" = yes; then
8838 # Not all programs may use this symbol, but it does not hurt to define it.
8840 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8842 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8843 else
8844 if test -n "$x_includes"; then
8845 X_CFLAGS="$X_CFLAGS -I$x_includes"
8848 # It would also be nice to do this for all -L options, not just this one.
8849 if test -n "$x_libraries"; then
8850 X_LIBS="$X_LIBS -L$x_libraries"
8851 # For Solaris; some versions of Sun CC require a space after -R and
8852 # others require no space. Words are not sufficient . . . .
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8854 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8855 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8856 ac_xsave_c_werror_flag=$ac_c_werror_flag
8857 ac_c_werror_flag=yes
8858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8859 /* end confdefs.h. */
8862 main ()
8866 return 0;
8868 _ACEOF
8869 if ac_fn_c_try_link "$LINENO"; then :
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8871 $as_echo "no" >&6; }
8872 X_LIBS="$X_LIBS -R$x_libraries"
8873 else
8874 LIBS="$ac_xsave_LIBS -R $x_libraries"
8875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8876 /* end confdefs.h. */
8879 main ()
8883 return 0;
8885 _ACEOF
8886 if ac_fn_c_try_link "$LINENO"; then :
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8888 $as_echo "yes" >&6; }
8889 X_LIBS="$X_LIBS -R $x_libraries"
8890 else
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8892 $as_echo "neither works" >&6; }
8894 rm -f core conftest.err conftest.$ac_objext \
8895 conftest$ac_exeext conftest.$ac_ext
8897 rm -f core conftest.err conftest.$ac_objext \
8898 conftest$ac_exeext conftest.$ac_ext
8899 ac_c_werror_flag=$ac_xsave_c_werror_flag
8900 LIBS=$ac_xsave_LIBS
8903 # Check for system-dependent libraries X programs must link with.
8904 # Do this before checking for the system-independent R6 libraries
8905 # (-lICE), since we may need -lsocket or whatever for X linking.
8907 if test "$ISC" = yes; then
8908 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8909 else
8910 # Martyn Johnson says this is needed for Ultrix, if the X
8911 # libraries were built with DECnet support. And Karl Berry says
8912 # the Alpha needs dnet_stub (dnet does not exist).
8913 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8915 /* end confdefs.h. */
8917 /* Override any GCC internal prototype to avoid an error.
8918 Use char because int might match the return type of a GCC
8919 builtin and then its argument prototype would still apply. */
8920 #ifdef __cplusplus
8921 extern "C"
8922 #endif
8923 char XOpenDisplay ();
8925 main ()
8927 return XOpenDisplay ();
8929 return 0;
8931 _ACEOF
8932 if ac_fn_c_try_link "$LINENO"; then :
8934 else
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8936 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8937 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8938 $as_echo_n "(cached) " >&6
8939 else
8940 ac_check_lib_save_LIBS=$LIBS
8941 LIBS="-ldnet $LIBS"
8942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8943 /* end confdefs.h. */
8945 /* Override any GCC internal prototype to avoid an error.
8946 Use char because int might match the return type of a GCC
8947 builtin and then its argument prototype would still apply. */
8948 #ifdef __cplusplus
8949 extern "C"
8950 #endif
8951 char dnet_ntoa ();
8953 main ()
8955 return dnet_ntoa ();
8957 return 0;
8959 _ACEOF
8960 if ac_fn_c_try_link "$LINENO"; then :
8961 ac_cv_lib_dnet_dnet_ntoa=yes
8962 else
8963 ac_cv_lib_dnet_dnet_ntoa=no
8965 rm -f core conftest.err conftest.$ac_objext \
8966 conftest$ac_exeext conftest.$ac_ext
8967 LIBS=$ac_check_lib_save_LIBS
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8970 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8971 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8972 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8975 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8977 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8978 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8979 $as_echo_n "(cached) " >&6
8980 else
8981 ac_check_lib_save_LIBS=$LIBS
8982 LIBS="-ldnet_stub $LIBS"
8983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8984 /* end confdefs.h. */
8986 /* Override any GCC internal prototype to avoid an error.
8987 Use char because int might match the return type of a GCC
8988 builtin and then its argument prototype would still apply. */
8989 #ifdef __cplusplus
8990 extern "C"
8991 #endif
8992 char dnet_ntoa ();
8994 main ()
8996 return dnet_ntoa ();
8998 return 0;
9000 _ACEOF
9001 if ac_fn_c_try_link "$LINENO"; then :
9002 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9003 else
9004 ac_cv_lib_dnet_stub_dnet_ntoa=no
9006 rm -f core conftest.err conftest.$ac_objext \
9007 conftest$ac_exeext conftest.$ac_ext
9008 LIBS=$ac_check_lib_save_LIBS
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9011 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9012 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9013 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9018 rm -f core conftest.err conftest.$ac_objext \
9019 conftest$ac_exeext conftest.$ac_ext
9020 LIBS="$ac_xsave_LIBS"
9022 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9023 # to get the SysV transport functions.
9024 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9025 # needs -lnsl.
9026 # The nsl library prevents programs from opening the X display
9027 # on Irix 5.2, according to T.E. Dickey.
9028 # The functions gethostbyname, getservbyname, and inet_addr are
9029 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9030 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9031 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9035 if test $ac_cv_func_gethostbyname = no; then
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9037 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9038 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9039 $as_echo_n "(cached) " >&6
9040 else
9041 ac_check_lib_save_LIBS=$LIBS
9042 LIBS="-lnsl $LIBS"
9043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9044 /* end confdefs.h. */
9046 /* Override any GCC internal prototype to avoid an error.
9047 Use char because int might match the return type of a GCC
9048 builtin and then its argument prototype would still apply. */
9049 #ifdef __cplusplus
9050 extern "C"
9051 #endif
9052 char gethostbyname ();
9054 main ()
9056 return gethostbyname ();
9058 return 0;
9060 _ACEOF
9061 if ac_fn_c_try_link "$LINENO"; then :
9062 ac_cv_lib_nsl_gethostbyname=yes
9063 else
9064 ac_cv_lib_nsl_gethostbyname=no
9066 rm -f core conftest.err conftest.$ac_objext \
9067 conftest$ac_exeext conftest.$ac_ext
9068 LIBS=$ac_check_lib_save_LIBS
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9071 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9072 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9073 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9076 if test $ac_cv_lib_nsl_gethostbyname = no; then
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9078 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9079 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9080 $as_echo_n "(cached) " >&6
9081 else
9082 ac_check_lib_save_LIBS=$LIBS
9083 LIBS="-lbsd $LIBS"
9084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9087 /* Override any GCC internal prototype to avoid an error.
9088 Use char because int might match the return type of a GCC
9089 builtin and then its argument prototype would still apply. */
9090 #ifdef __cplusplus
9091 extern "C"
9092 #endif
9093 char gethostbyname ();
9095 main ()
9097 return gethostbyname ();
9099 return 0;
9101 _ACEOF
9102 if ac_fn_c_try_link "$LINENO"; then :
9103 ac_cv_lib_bsd_gethostbyname=yes
9104 else
9105 ac_cv_lib_bsd_gethostbyname=no
9107 rm -f core conftest.err conftest.$ac_objext \
9108 conftest$ac_exeext conftest.$ac_ext
9109 LIBS=$ac_check_lib_save_LIBS
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9112 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9113 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9114 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9120 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9121 # socket/setsockopt and other routines are undefined under SCO ODT
9122 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9123 # on later versions), says Simon Leinen: it contains gethostby*
9124 # variants that don't use the name server (or something). -lsocket
9125 # must be given before -lnsl if both are needed. We assume that
9126 # if connect needs -lnsl, so does gethostbyname.
9127 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9128 if test "x$ac_cv_func_connect" = xyes; then :
9132 if test $ac_cv_func_connect = no; then
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9134 $as_echo_n "checking for connect in -lsocket... " >&6; }
9135 if ${ac_cv_lib_socket_connect+:} false; then :
9136 $as_echo_n "(cached) " >&6
9137 else
9138 ac_check_lib_save_LIBS=$LIBS
9139 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9141 /* end confdefs.h. */
9143 /* Override any GCC internal prototype to avoid an error.
9144 Use char because int might match the return type of a GCC
9145 builtin and then its argument prototype would still apply. */
9146 #ifdef __cplusplus
9147 extern "C"
9148 #endif
9149 char connect ();
9151 main ()
9153 return connect ();
9155 return 0;
9157 _ACEOF
9158 if ac_fn_c_try_link "$LINENO"; then :
9159 ac_cv_lib_socket_connect=yes
9160 else
9161 ac_cv_lib_socket_connect=no
9163 rm -f core conftest.err conftest.$ac_objext \
9164 conftest$ac_exeext conftest.$ac_ext
9165 LIBS=$ac_check_lib_save_LIBS
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9168 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9169 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9170 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9175 # Guillermo Gomez says -lposix is necessary on A/UX.
9176 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9177 if test "x$ac_cv_func_remove" = xyes; then :
9181 if test $ac_cv_func_remove = no; then
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9183 $as_echo_n "checking for remove in -lposix... " >&6; }
9184 if ${ac_cv_lib_posix_remove+:} false; then :
9185 $as_echo_n "(cached) " >&6
9186 else
9187 ac_check_lib_save_LIBS=$LIBS
9188 LIBS="-lposix $LIBS"
9189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9190 /* end confdefs.h. */
9192 /* Override any GCC internal prototype to avoid an error.
9193 Use char because int might match the return type of a GCC
9194 builtin and then its argument prototype would still apply. */
9195 #ifdef __cplusplus
9196 extern "C"
9197 #endif
9198 char remove ();
9200 main ()
9202 return remove ();
9204 return 0;
9206 _ACEOF
9207 if ac_fn_c_try_link "$LINENO"; then :
9208 ac_cv_lib_posix_remove=yes
9209 else
9210 ac_cv_lib_posix_remove=no
9212 rm -f core conftest.err conftest.$ac_objext \
9213 conftest$ac_exeext conftest.$ac_ext
9214 LIBS=$ac_check_lib_save_LIBS
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9217 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9218 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9219 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9224 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9225 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9226 if test "x$ac_cv_func_shmat" = xyes; then :
9230 if test $ac_cv_func_shmat = no; then
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9232 $as_echo_n "checking for shmat in -lipc... " >&6; }
9233 if ${ac_cv_lib_ipc_shmat+:} false; then :
9234 $as_echo_n "(cached) " >&6
9235 else
9236 ac_check_lib_save_LIBS=$LIBS
9237 LIBS="-lipc $LIBS"
9238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9239 /* end confdefs.h. */
9241 /* Override any GCC internal prototype to avoid an error.
9242 Use char because int might match the return type of a GCC
9243 builtin and then its argument prototype would still apply. */
9244 #ifdef __cplusplus
9245 extern "C"
9246 #endif
9247 char shmat ();
9249 main ()
9251 return shmat ();
9253 return 0;
9255 _ACEOF
9256 if ac_fn_c_try_link "$LINENO"; then :
9257 ac_cv_lib_ipc_shmat=yes
9258 else
9259 ac_cv_lib_ipc_shmat=no
9261 rm -f core conftest.err conftest.$ac_objext \
9262 conftest$ac_exeext conftest.$ac_ext
9263 LIBS=$ac_check_lib_save_LIBS
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9266 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9267 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9268 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9274 # Check for libraries that X11R6 Xt/Xaw programs need.
9275 ac_save_LDFLAGS=$LDFLAGS
9276 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9277 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9278 # check for ICE first), but we must link in the order -lSM -lICE or
9279 # we get undefined symbols. So assume we have SM if we have ICE.
9280 # These have to be linked with before -lX11, unlike the other
9281 # libraries we check for below, so use a different variable.
9282 # John Interrante, Karl Berry
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9284 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9285 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9286 $as_echo_n "(cached) " >&6
9287 else
9288 ac_check_lib_save_LIBS=$LIBS
9289 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9291 /* end confdefs.h. */
9293 /* Override any GCC internal prototype to avoid an error.
9294 Use char because int might match the return type of a GCC
9295 builtin and then its argument prototype would still apply. */
9296 #ifdef __cplusplus
9297 extern "C"
9298 #endif
9299 char IceConnectionNumber ();
9301 main ()
9303 return IceConnectionNumber ();
9305 return 0;
9307 _ACEOF
9308 if ac_fn_c_try_link "$LINENO"; then :
9309 ac_cv_lib_ICE_IceConnectionNumber=yes
9310 else
9311 ac_cv_lib_ICE_IceConnectionNumber=no
9313 rm -f core conftest.err conftest.$ac_objext \
9314 conftest$ac_exeext conftest.$ac_ext
9315 LIBS=$ac_check_lib_save_LIBS
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9318 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9319 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9320 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9323 LDFLAGS=$ac_save_LDFLAGS
9328 if test "$have_x" = "yes"
9329 then
9330 ac_save_CPPFLAGS="$CPPFLAGS"
9331 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9334 $as_echo_n "checking for -lX11... " >&6; }
9335 if ${ac_cv_lib_soname_X11+:} false; then :
9336 $as_echo_n "(cached) " >&6
9337 else
9338 ac_check_soname_save_LIBS=$LIBS
9339 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9341 /* end confdefs.h. */
9343 /* Override any GCC internal prototype to avoid an error.
9344 Use char because int might match the return type of a GCC
9345 builtin and then its argument prototype would still apply. */
9346 #ifdef __cplusplus
9347 extern "C"
9348 #endif
9349 char XCreateWindow ();
9351 main ()
9353 return XCreateWindow ();
9355 return 0;
9357 _ACEOF
9358 if ac_fn_c_try_link "$LINENO"; then :
9359 case "$LIBEXT" in
9360 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9361 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'` ;;
9362 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9363 if ${ac_cv_lib_soname_X11:+false} :; then :
9364 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9365 fi ;;
9366 esac
9368 rm -f core conftest.err conftest.$ac_objext \
9369 conftest$ac_exeext conftest.$ac_ext
9370 LIBS=$ac_check_soname_save_LIBS
9372 if ${ac_cv_lib_soname_X11:+false} :; then :
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9374 $as_echo "not found" >&6; }
9376 else
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9378 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9380 cat >>confdefs.h <<_ACEOF
9381 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9382 _ACEOF
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9387 $as_echo_n "checking for -lXext... " >&6; }
9388 if ${ac_cv_lib_soname_Xext+:} false; then :
9389 $as_echo_n "(cached) " >&6
9390 else
9391 ac_check_soname_save_LIBS=$LIBS
9392 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9394 /* end confdefs.h. */
9396 /* Override any GCC internal prototype to avoid an error.
9397 Use char because int might match the return type of a GCC
9398 builtin and then its argument prototype would still apply. */
9399 #ifdef __cplusplus
9400 extern "C"
9401 #endif
9402 char XextCreateExtension ();
9404 main ()
9406 return XextCreateExtension ();
9408 return 0;
9410 _ACEOF
9411 if ac_fn_c_try_link "$LINENO"; then :
9412 case "$LIBEXT" in
9413 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9414 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'` ;;
9415 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9416 if ${ac_cv_lib_soname_Xext:+false} :; then :
9417 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9418 fi ;;
9419 esac
9421 rm -f core conftest.err conftest.$ac_objext \
9422 conftest$ac_exeext conftest.$ac_ext
9423 LIBS=$ac_check_soname_save_LIBS
9425 if ${ac_cv_lib_soname_Xext:+false} :; then :
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9427 $as_echo "not found" >&6; }
9429 else
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9431 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9433 cat >>confdefs.h <<_ACEOF
9434 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9435 _ACEOF
9437 X_LIBS="$X_LIBS -lXext"
9439 X_LIBS="$X_LIBS -lX11"
9441 for ac_header in X11/Xlib.h \
9442 X11/XKBlib.h \
9443 X11/Xutil.h \
9444 X11/Xcursor/Xcursor.h \
9445 X11/extensions/shape.h \
9446 X11/extensions/XInput.h \
9447 X11/extensions/XInput2.h \
9448 X11/extensions/XShm.h \
9449 X11/extensions/Xcomposite.h \
9450 X11/extensions/Xinerama.h \
9451 X11/extensions/Xrandr.h \
9452 X11/extensions/Xrender.h \
9453 X11/extensions/xf86vmode.h \
9454 X11/extensions/xf86vmproto.h
9455 do :
9456 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9457 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9458 # include <X11/Xlib.h>
9459 #endif
9460 #ifdef HAVE_X11_XUTIL_H
9461 # include <X11/Xutil.h>
9462 #endif
9464 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9465 cat >>confdefs.h <<_ACEOF
9466 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9467 _ACEOF
9471 done
9474 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9475 then
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9477 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9478 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9479 $as_echo_n "(cached) " >&6
9480 else
9481 ac_check_lib_save_LIBS=$LIBS
9482 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9484 /* end confdefs.h. */
9486 /* Override any GCC internal prototype to avoid an error.
9487 Use char because int might match the return type of a GCC
9488 builtin and then its argument prototype would still apply. */
9489 #ifdef __cplusplus
9490 extern "C"
9491 #endif
9492 char XkbQueryExtension ();
9494 main ()
9496 return XkbQueryExtension ();
9498 return 0;
9500 _ACEOF
9501 if ac_fn_c_try_link "$LINENO"; then :
9502 ac_cv_lib_X11_XkbQueryExtension=yes
9503 else
9504 ac_cv_lib_X11_XkbQueryExtension=no
9506 rm -f core conftest.err conftest.$ac_objext \
9507 conftest$ac_exeext conftest.$ac_ext
9508 LIBS=$ac_check_lib_save_LIBS
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9511 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9512 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9514 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9520 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9521 then
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9523 $as_echo_n "checking for -lXcursor... " >&6; }
9524 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9525 $as_echo_n "(cached) " >&6
9526 else
9527 ac_check_soname_save_LIBS=$LIBS
9528 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9530 /* end confdefs.h. */
9532 /* Override any GCC internal prototype to avoid an error.
9533 Use char because int might match the return type of a GCC
9534 builtin and then its argument prototype would still apply. */
9535 #ifdef __cplusplus
9536 extern "C"
9537 #endif
9538 char XcursorImageLoadCursor ();
9540 main ()
9542 return XcursorImageLoadCursor ();
9544 return 0;
9546 _ACEOF
9547 if ac_fn_c_try_link "$LINENO"; then :
9548 case "$LIBEXT" in
9549 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9550 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'` ;;
9551 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9552 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9553 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9554 fi ;;
9555 esac
9557 rm -f core conftest.err conftest.$ac_objext \
9558 conftest$ac_exeext conftest.$ac_ext
9559 LIBS=$ac_check_soname_save_LIBS
9561 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9563 $as_echo "not found" >&6; }
9565 else
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9567 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9569 cat >>confdefs.h <<_ACEOF
9570 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9571 _ACEOF
9576 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9577 case "x$with_xcursor" in
9578 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9579 xno) ;;
9580 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9581 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9582 esac
9585 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9586 then
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9588 $as_echo_n "checking for -lXi... " >&6; }
9589 if ${ac_cv_lib_soname_Xi+:} false; then :
9590 $as_echo_n "(cached) " >&6
9591 else
9592 ac_check_soname_save_LIBS=$LIBS
9593 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9595 /* end confdefs.h. */
9597 /* Override any GCC internal prototype to avoid an error.
9598 Use char because int might match the return type of a GCC
9599 builtin and then its argument prototype would still apply. */
9600 #ifdef __cplusplus
9601 extern "C"
9602 #endif
9603 char XOpenDevice ();
9605 main ()
9607 return XOpenDevice ();
9609 return 0;
9611 _ACEOF
9612 if ac_fn_c_try_link "$LINENO"; then :
9613 case "$LIBEXT" in
9614 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9615 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'` ;;
9616 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9617 if ${ac_cv_lib_soname_Xi:+false} :; then :
9618 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9619 fi ;;
9620 esac
9622 rm -f core conftest.err conftest.$ac_objext \
9623 conftest$ac_exeext conftest.$ac_ext
9624 LIBS=$ac_check_soname_save_LIBS
9626 if ${ac_cv_lib_soname_Xi:+false} :; then :
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9628 $as_echo "not found" >&6; }
9630 else
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9632 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9634 cat >>confdefs.h <<_ACEOF
9635 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9636 _ACEOF
9641 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9642 case "x$with_xinput" in
9643 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9644 xno) ;;
9645 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9646 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9647 esac
9650 if test "x$ac_cv_lib_soname_Xi" != x
9651 then
9652 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9653 case "x$with_xinput2" in
9654 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9655 xno) ;;
9656 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9657 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9658 esac
9662 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9663 then
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9665 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9666 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9667 $as_echo_n "(cached) " >&6
9668 else
9669 ac_check_lib_save_LIBS=$LIBS
9670 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9672 /* end confdefs.h. */
9674 /* Override any GCC internal prototype to avoid an error.
9675 Use char because int might match the return type of a GCC
9676 builtin and then its argument prototype would still apply. */
9677 #ifdef __cplusplus
9678 extern "C"
9679 #endif
9680 char XShmQueryExtension ();
9682 main ()
9684 return XShmQueryExtension ();
9686 return 0;
9688 _ACEOF
9689 if ac_fn_c_try_link "$LINENO"; then :
9690 ac_cv_lib_Xext_XShmQueryExtension=yes
9691 else
9692 ac_cv_lib_Xext_XShmQueryExtension=no
9694 rm -f core conftest.err conftest.$ac_objext \
9695 conftest$ac_exeext conftest.$ac_ext
9696 LIBS=$ac_check_lib_save_LIBS
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9699 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9700 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9702 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9707 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9708 case "x$with_xshm" in
9709 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9710 xno) ;;
9711 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9712 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9713 esac
9716 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9717 then
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9719 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9720 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9721 $as_echo_n "(cached) " >&6
9722 else
9723 ac_check_lib_save_LIBS=$LIBS
9724 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9726 /* end confdefs.h. */
9728 /* Override any GCC internal prototype to avoid an error.
9729 Use char because int might match the return type of a GCC
9730 builtin and then its argument prototype would still apply. */
9731 #ifdef __cplusplus
9732 extern "C"
9733 #endif
9734 char XShapeQueryExtension ();
9736 main ()
9738 return XShapeQueryExtension ();
9740 return 0;
9742 _ACEOF
9743 if ac_fn_c_try_link "$LINENO"; then :
9744 ac_cv_lib_Xext_XShapeQueryExtension=yes
9745 else
9746 ac_cv_lib_Xext_XShapeQueryExtension=no
9748 rm -f core conftest.err conftest.$ac_objext \
9749 conftest$ac_exeext conftest.$ac_ext
9750 LIBS=$ac_check_lib_save_LIBS
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9753 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9754 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9756 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9761 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9762 case "x$with_xshape" in
9763 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9764 xno) ;;
9765 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9766 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9767 esac
9770 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9771 then
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9773 $as_echo_n "checking for -lXxf86vm... " >&6; }
9774 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9775 $as_echo_n "(cached) " >&6
9776 else
9777 ac_check_soname_save_LIBS=$LIBS
9778 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9780 /* end confdefs.h. */
9782 /* Override any GCC internal prototype to avoid an error.
9783 Use char because int might match the return type of a GCC
9784 builtin and then its argument prototype would still apply. */
9785 #ifdef __cplusplus
9786 extern "C"
9787 #endif
9788 char XF86VidModeQueryExtension ();
9790 main ()
9792 return XF86VidModeQueryExtension ();
9794 return 0;
9796 _ACEOF
9797 if ac_fn_c_try_link "$LINENO"; then :
9798 case "$LIBEXT" in
9799 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9800 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'` ;;
9801 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9802 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9803 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9804 fi ;;
9805 esac
9807 rm -f core conftest.err conftest.$ac_objext \
9808 conftest$ac_exeext conftest.$ac_ext
9809 LIBS=$ac_check_soname_save_LIBS
9811 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9813 $as_echo "not found" >&6; }
9815 else
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9817 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9819 cat >>confdefs.h <<_ACEOF
9820 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9821 _ACEOF
9826 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9827 case "x$with_xxf86vm" in
9828 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9829 xno) ;;
9830 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9831 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9832 esac
9835 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9836 then
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9838 $as_echo_n "checking for -lXrender... " >&6; }
9839 if ${ac_cv_lib_soname_Xrender+:} false; then :
9840 $as_echo_n "(cached) " >&6
9841 else
9842 ac_check_soname_save_LIBS=$LIBS
9843 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9847 /* Override any GCC internal prototype to avoid an error.
9848 Use char because int might match the return type of a GCC
9849 builtin and then its argument prototype would still apply. */
9850 #ifdef __cplusplus
9851 extern "C"
9852 #endif
9853 char XRenderQueryExtension ();
9855 main ()
9857 return XRenderQueryExtension ();
9859 return 0;
9861 _ACEOF
9862 if ac_fn_c_try_link "$LINENO"; then :
9863 case "$LIBEXT" in
9864 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9865 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'` ;;
9866 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9867 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9868 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9869 fi ;;
9870 esac
9872 rm -f core conftest.err conftest.$ac_objext \
9873 conftest$ac_exeext conftest.$ac_ext
9874 LIBS=$ac_check_soname_save_LIBS
9876 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9878 $as_echo "not found" >&6; }
9880 else
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9882 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9884 cat >>confdefs.h <<_ACEOF
9885 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9886 _ACEOF
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9889 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9890 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9891 $as_echo_n "(cached) " >&6
9892 else
9893 ac_check_lib_save_LIBS=$LIBS
9894 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9896 /* end confdefs.h. */
9898 /* Override any GCC internal prototype to avoid an error.
9899 Use char because int might match the return type of a GCC
9900 builtin and then its argument prototype would still apply. */
9901 #ifdef __cplusplus
9902 extern "C"
9903 #endif
9904 char XRenderSetPictureTransform ();
9906 main ()
9908 return XRenderSetPictureTransform ();
9910 return 0;
9912 _ACEOF
9913 if ac_fn_c_try_link "$LINENO"; then :
9914 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9915 else
9916 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9918 rm -f core conftest.err conftest.$ac_objext \
9919 conftest$ac_exeext conftest.$ac_ext
9920 LIBS=$ac_check_lib_save_LIBS
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9923 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9924 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9926 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9931 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9932 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9933 $as_echo_n "(cached) " >&6
9934 else
9935 ac_check_lib_save_LIBS=$LIBS
9936 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9938 /* end confdefs.h. */
9940 /* Override any GCC internal prototype to avoid an error.
9941 Use char because int might match the return type of a GCC
9942 builtin and then its argument prototype would still apply. */
9943 #ifdef __cplusplus
9944 extern "C"
9945 #endif
9946 char XRenderCreateLinearGradient ();
9948 main ()
9950 return XRenderCreateLinearGradient ();
9952 return 0;
9954 _ACEOF
9955 if ac_fn_c_try_link "$LINENO"; then :
9956 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9957 else
9958 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9960 rm -f core conftest.err conftest.$ac_objext \
9961 conftest$ac_exeext conftest.$ac_ext
9962 LIBS=$ac_check_lib_save_LIBS
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9965 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9966 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9968 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9975 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9976 case "x$with_xrender" in
9977 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9978 xno) ;;
9979 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9980 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9981 esac
9984 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9985 then
9986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9987 /* end confdefs.h. */
9988 #include <X11/Xlib.h>
9989 #include <X11/extensions/Xrandr.h>
9991 main ()
9993 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9995 return 0;
9997 _ACEOF
9998 if ac_fn_c_try_compile "$LINENO"; then :
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10000 $as_echo_n "checking for -lXrandr... " >&6; }
10001 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10002 $as_echo_n "(cached) " >&6
10003 else
10004 ac_check_soname_save_LIBS=$LIBS
10005 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10007 /* end confdefs.h. */
10009 /* Override any GCC internal prototype to avoid an error.
10010 Use char because int might match the return type of a GCC
10011 builtin and then its argument prototype would still apply. */
10012 #ifdef __cplusplus
10013 extern "C"
10014 #endif
10015 char XRRQueryExtension ();
10017 main ()
10019 return XRRQueryExtension ();
10021 return 0;
10023 _ACEOF
10024 if ac_fn_c_try_link "$LINENO"; then :
10025 case "$LIBEXT" in
10026 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10027 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'` ;;
10028 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10029 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10030 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10031 fi ;;
10032 esac
10034 rm -f core conftest.err conftest.$ac_objext \
10035 conftest$ac_exeext conftest.$ac_ext
10036 LIBS=$ac_check_soname_save_LIBS
10038 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10040 $as_echo "not found" >&6; }
10042 else
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10044 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10046 cat >>confdefs.h <<_ACEOF
10047 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10048 _ACEOF
10050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10051 /* end confdefs.h. */
10052 #include <X11/Xlib.h>
10053 #include <X11/extensions/Xrandr.h>
10055 main ()
10057 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10059 return 0;
10061 _ACEOF
10062 if ac_fn_c_try_compile "$LINENO"; then :
10064 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10072 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10073 case "x$with_xrandr" in
10074 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10075 xno) ;;
10076 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10077 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10078 esac
10081 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10082 then
10083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10084 /* end confdefs.h. */
10085 #include <X11/Xlib.h>
10086 #include <X11/extensions/Xinerama.h>
10088 main ()
10090 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10092 return 0;
10094 _ACEOF
10095 if ac_fn_c_try_compile "$LINENO"; then :
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10097 $as_echo_n "checking for -lXinerama... " >&6; }
10098 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10099 $as_echo_n "(cached) " >&6
10100 else
10101 ac_check_soname_save_LIBS=$LIBS
10102 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10104 /* end confdefs.h. */
10106 /* Override any GCC internal prototype to avoid an error.
10107 Use char because int might match the return type of a GCC
10108 builtin and then its argument prototype would still apply. */
10109 #ifdef __cplusplus
10110 extern "C"
10111 #endif
10112 char XineramaQueryScreens ();
10114 main ()
10116 return XineramaQueryScreens ();
10118 return 0;
10120 _ACEOF
10121 if ac_fn_c_try_link "$LINENO"; then :
10122 case "$LIBEXT" in
10123 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10124 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'` ;;
10125 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10126 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10127 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10128 fi ;;
10129 esac
10131 rm -f core conftest.err conftest.$ac_objext \
10132 conftest$ac_exeext conftest.$ac_ext
10133 LIBS=$ac_check_soname_save_LIBS
10135 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10137 $as_echo "not found" >&6; }
10139 else
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10141 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10143 cat >>confdefs.h <<_ACEOF
10144 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10145 _ACEOF
10150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10152 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10153 case "x$with_xinerama" in
10154 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10155 xno) ;;
10156 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10157 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10158 esac
10161 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10162 then
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10164 $as_echo_n "checking for -lXcomposite... " >&6; }
10165 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10166 $as_echo_n "(cached) " >&6
10167 else
10168 ac_check_soname_save_LIBS=$LIBS
10169 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10171 /* end confdefs.h. */
10173 /* Override any GCC internal prototype to avoid an error.
10174 Use char because int might match the return type of a GCC
10175 builtin and then its argument prototype would still apply. */
10176 #ifdef __cplusplus
10177 extern "C"
10178 #endif
10179 char XCompositeRedirectWindow ();
10181 main ()
10183 return XCompositeRedirectWindow ();
10185 return 0;
10187 _ACEOF
10188 if ac_fn_c_try_link "$LINENO"; then :
10189 case "$LIBEXT" in
10190 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10191 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'` ;;
10192 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10193 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10194 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10195 fi ;;
10196 esac
10198 rm -f core conftest.err conftest.$ac_objext \
10199 conftest$ac_exeext conftest.$ac_ext
10200 LIBS=$ac_check_soname_save_LIBS
10202 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10204 $as_echo "not found" >&6; }
10206 else
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10208 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10210 cat >>confdefs.h <<_ACEOF
10211 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10212 _ACEOF
10217 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10218 case "x$with_xcomposite" in
10219 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10220 xno) ;;
10221 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10222 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10223 esac
10226 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10227 #include <X11/Xlib.h>
10228 #endif
10230 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10232 cat >>confdefs.h <<_ACEOF
10233 #define HAVE_XICCALLBACK_CALLBACK 1
10234 _ACEOF
10238 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10239 #include <X11/Xlib.h>
10240 #endif
10242 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10244 cat >>confdefs.h <<_ACEOF
10245 #define HAVE_XEVENT_XCOOKIE 1
10246 _ACEOF
10253 opengl_msg=""
10254 if test "x$with_opengl" != "xno"
10255 then
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10257 $as_echo_n "checking for -lGL... " >&6; }
10258 if ${ac_cv_lib_soname_GL+:} false; then :
10259 $as_echo_n "(cached) " >&6
10260 else
10261 ac_check_soname_save_LIBS=$LIBS
10262 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10264 /* end confdefs.h. */
10266 /* Override any GCC internal prototype to avoid an error.
10267 Use char because int might match the return type of a GCC
10268 builtin and then its argument prototype would still apply. */
10269 #ifdef __cplusplus
10270 extern "C"
10271 #endif
10272 char glXCreateContext ();
10274 main ()
10276 return glXCreateContext ();
10278 return 0;
10280 _ACEOF
10281 if ac_fn_c_try_link "$LINENO"; then :
10282 case "$LIBEXT" in
10283 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10284 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'` ;;
10285 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10286 if ${ac_cv_lib_soname_GL:+false} :; then :
10287 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10288 fi ;;
10289 esac
10291 rm -f core conftest.err conftest.$ac_objext \
10292 conftest$ac_exeext conftest.$ac_ext
10293 LIBS=$ac_check_soname_save_LIBS
10295 if ${ac_cv_lib_soname_GL:+false} :; then :
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10297 $as_echo "not found" >&6; }
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10299 $as_echo_n "checking for -lGL... " >&6; }
10300 if ${ac_cv_lib_soname_GL+:} false; then :
10301 $as_echo_n "(cached) " >&6
10302 else
10303 ac_check_soname_save_LIBS=$LIBS
10304 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"
10305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10306 /* end confdefs.h. */
10308 /* Override any GCC internal prototype to avoid an error.
10309 Use char because int might match the return type of a GCC
10310 builtin and then its argument prototype would still apply. */
10311 #ifdef __cplusplus
10312 extern "C"
10313 #endif
10314 char glXCreateContext ();
10316 main ()
10318 return glXCreateContext ();
10320 return 0;
10322 _ACEOF
10323 if ac_fn_c_try_link "$LINENO"; then :
10324 case "$LIBEXT" in
10325 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10326 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'` ;;
10327 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10328 if ${ac_cv_lib_soname_GL:+false} :; then :
10329 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10330 fi ;;
10331 esac
10333 rm -f core conftest.err conftest.$ac_objext \
10334 conftest$ac_exeext conftest.$ac_ext
10335 LIBS=$ac_check_soname_save_LIBS
10337 if ${ac_cv_lib_soname_GL:+false} :; then :
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10339 $as_echo "not found" >&6; }
10340 if test -f /usr/X11R6/lib/libGL.a
10341 then
10342 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10343 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10344 else
10345 opengl_msg="No OpenGL library found on this system."
10347 else
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10349 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10351 cat >>confdefs.h <<_ACEOF
10352 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10353 _ACEOF
10355 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"
10357 else
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10359 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10361 cat >>confdefs.h <<_ACEOF
10362 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10363 _ACEOF
10365 OPENGL_LIBS="-lGL"
10367 if test "x$with_glu" != "xno"
10368 then
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10370 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10371 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10372 $as_echo_n "(cached) " >&6
10373 else
10374 ac_check_lib_save_LIBS=$LIBS
10375 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10377 /* end confdefs.h. */
10379 /* Override any GCC internal prototype to avoid an error.
10380 Use char because int might match the return type of a GCC
10381 builtin and then its argument prototype would still apply. */
10382 #ifdef __cplusplus
10383 extern "C"
10384 #endif
10385 char gluLookAt ();
10387 main ()
10389 return gluLookAt ();
10391 return 0;
10393 _ACEOF
10394 if ac_fn_c_try_link "$LINENO"; then :
10395 ac_cv_lib_GLU_gluLookAt=yes
10396 else
10397 ac_cv_lib_GLU_gluLookAt=no
10399 rm -f core conftest.err conftest.$ac_objext \
10400 conftest$ac_exeext conftest.$ac_ext
10401 LIBS=$ac_check_lib_save_LIBS
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10404 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10405 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10409 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10410 case "x$with_glu" in
10411 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10412 xno) ;;
10413 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10414 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10415 esac
10419 if test "x$with_osmesa" != "xno"
10420 then
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10422 $as_echo_n "checking for -lOSMesa... " >&6; }
10423 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10424 $as_echo_n "(cached) " >&6
10425 else
10426 ac_check_soname_save_LIBS=$LIBS
10427 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10429 /* end confdefs.h. */
10431 /* Override any GCC internal prototype to avoid an error.
10432 Use char because int might match the return type of a GCC
10433 builtin and then its argument prototype would still apply. */
10434 #ifdef __cplusplus
10435 extern "C"
10436 #endif
10437 char glAccum ();
10439 main ()
10441 return glAccum ();
10443 return 0;
10445 _ACEOF
10446 if ac_fn_c_try_link "$LINENO"; then :
10447 case "$LIBEXT" in
10448 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10449 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'` ;;
10450 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10451 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10452 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10453 fi ;;
10454 esac
10456 rm -f core conftest.err conftest.$ac_objext \
10457 conftest$ac_exeext conftest.$ac_ext
10458 LIBS=$ac_check_soname_save_LIBS
10460 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10462 $as_echo "not found" >&6; }
10464 else
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10466 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10468 cat >>confdefs.h <<_ACEOF
10469 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10470 _ACEOF
10474 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10475 case "x$with_osmesa" in
10476 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10477 xno) ;;
10478 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10479 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10480 esac
10484 if test -n "$opengl_msg"; then :
10485 case "x$with_opengl" in
10486 x) as_fn_append wine_warnings "|$opengl_msg
10487 OpenGL and Direct3D won't be supported." ;;
10488 xno) ;;
10489 *) as_fn_error $? "$opengl_msg
10490 OpenGL and Direct3D won't be supported.
10491 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10492 esac
10495 CPPFLAGS="$ac_save_CPPFLAGS"
10496 else
10497 X_CFLAGS=""
10498 X_LIBS=""
10499 enable_winex11_drv=${enable_winex11_drv:-no}
10501 if test "x$X_LIBS" = "x"; then :
10502 case "x$with_x" in
10503 xno) ;;
10504 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10505 without X support, which probably isn't what you want. You will need
10506 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10507 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10508 esac
10511 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10513 if test "$ac_cv_header_CL_cl_h" = "yes"
10514 then
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10516 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10517 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10518 $as_echo_n "(cached) " >&6
10519 else
10520 ac_check_lib_save_LIBS=$LIBS
10521 LIBS="-lOpenCL $LIBS"
10522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10523 /* end confdefs.h. */
10525 /* Override any GCC internal prototype to avoid an error.
10526 Use char because int might match the return type of a GCC
10527 builtin and then its argument prototype would still apply. */
10528 #ifdef __cplusplus
10529 extern "C"
10530 #endif
10531 char clGetPlatformInfo ();
10533 main ()
10535 return clGetPlatformInfo ();
10537 return 0;
10539 _ACEOF
10540 if ac_fn_c_try_link "$LINENO"; then :
10541 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10542 else
10543 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10545 rm -f core conftest.err conftest.$ac_objext \
10546 conftest$ac_exeext conftest.$ac_ext
10547 LIBS=$ac_check_lib_save_LIBS
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10550 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10551 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10552 OPENCL_LIBS="-lOpenCL"
10557 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10558 case "x$with_opencl" in
10559 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10560 xno) ;;
10561 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10562 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10563 esac
10565 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10567 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10568 then
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10570 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10571 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10572 $as_echo_n "(cached) " >&6
10573 else
10574 ac_check_lib_save_LIBS=$LIBS
10575 LIBS="-lpcap $LIBS"
10576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10577 /* end confdefs.h. */
10579 /* Override any GCC internal prototype to avoid an error.
10580 Use char because int might match the return type of a GCC
10581 builtin and then its argument prototype would still apply. */
10582 #ifdef __cplusplus
10583 extern "C"
10584 #endif
10585 char pcap_create ();
10587 main ()
10589 return pcap_create ();
10591 return 0;
10593 _ACEOF
10594 if ac_fn_c_try_link "$LINENO"; then :
10595 ac_cv_lib_pcap_pcap_create=yes
10596 else
10597 ac_cv_lib_pcap_pcap_create=no
10599 rm -f core conftest.err conftest.$ac_objext \
10600 conftest$ac_exeext conftest.$ac_ext
10601 LIBS=$ac_check_lib_save_LIBS
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10604 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10605 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10606 LIBPCAP="-lpcap"
10611 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10612 case "x$with_pcap" in
10613 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10614 xno) ;;
10615 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10616 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10617 esac
10619 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10622 if test "x$with_xml" != "xno"
10623 then
10624 if ${XML2_CFLAGS:+false} :; then :
10625 if ${PKG_CONFIG+:} false; then :
10626 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10629 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10630 if ${XML2_LIBS:+false} :; then :
10631 if ${PKG_CONFIG+:} false; then :
10632 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10635 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10636 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10637 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10638 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10639 ac_save_CPPFLAGS=$CPPFLAGS
10640 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10641 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10642 do :
10643 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10644 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10645 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10646 cat >>confdefs.h <<_ACEOF
10647 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10648 _ACEOF
10652 done
10654 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"
10655 then
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10657 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10658 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10659 $as_echo_n "(cached) " >&6
10660 else
10661 ac_check_lib_save_LIBS=$LIBS
10662 LIBS="-lxml2 $XML2_LIBS $LIBS"
10663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10664 /* end confdefs.h. */
10666 /* Override any GCC internal prototype to avoid an error.
10667 Use char because int might match the return type of a GCC
10668 builtin and then its argument prototype would still apply. */
10669 #ifdef __cplusplus
10670 extern "C"
10671 #endif
10672 char xmlParseMemory ();
10674 main ()
10676 return xmlParseMemory ();
10678 return 0;
10680 _ACEOF
10681 if ac_fn_c_try_link "$LINENO"; then :
10682 ac_cv_lib_xml2_xmlParseMemory=yes
10683 else
10684 ac_cv_lib_xml2_xmlParseMemory=no
10686 rm -f core conftest.err conftest.$ac_objext \
10687 conftest$ac_exeext conftest.$ac_ext
10688 LIBS=$ac_check_lib_save_LIBS
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10691 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10692 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10694 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10696 else
10697 XML2_LIBS=""
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10701 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10702 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10703 $as_echo_n "(cached) " >&6
10704 else
10705 ac_check_lib_save_LIBS=$LIBS
10706 LIBS="-lxml2 $XML2_LIBS $LIBS"
10707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10708 /* end confdefs.h. */
10710 /* Override any GCC internal prototype to avoid an error.
10711 Use char because int might match the return type of a GCC
10712 builtin and then its argument prototype would still apply. */
10713 #ifdef __cplusplus
10714 extern "C"
10715 #endif
10716 char xmlReadMemory ();
10718 main ()
10720 return xmlReadMemory ();
10722 return 0;
10724 _ACEOF
10725 if ac_fn_c_try_link "$LINENO"; then :
10726 ac_cv_lib_xml2_xmlReadMemory=yes
10727 else
10728 ac_cv_lib_xml2_xmlReadMemory=no
10730 rm -f core conftest.err conftest.$ac_objext \
10731 conftest$ac_exeext conftest.$ac_ext
10732 LIBS=$ac_check_lib_save_LIBS
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10735 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10736 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10738 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10743 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10744 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10745 $as_echo_n "(cached) " >&6
10746 else
10747 ac_check_lib_save_LIBS=$LIBS
10748 LIBS="-lxml2 $XML2_LIBS $LIBS"
10749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10752 /* Override any GCC internal prototype to avoid an error.
10753 Use char because int might match the return type of a GCC
10754 builtin and then its argument prototype would still apply. */
10755 #ifdef __cplusplus
10756 extern "C"
10757 #endif
10758 char xmlNewDocPI ();
10760 main ()
10762 return xmlNewDocPI ();
10764 return 0;
10766 _ACEOF
10767 if ac_fn_c_try_link "$LINENO"; then :
10768 ac_cv_lib_xml2_xmlNewDocPI=yes
10769 else
10770 ac_cv_lib_xml2_xmlNewDocPI=no
10772 rm -f core conftest.err conftest.$ac_objext \
10773 conftest$ac_exeext conftest.$ac_ext
10774 LIBS=$ac_check_lib_save_LIBS
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10777 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10778 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10780 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10785 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10786 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10787 $as_echo_n "(cached) " >&6
10788 else
10789 ac_check_lib_save_LIBS=$LIBS
10790 LIBS="-lxml2 $XML2_LIBS $LIBS"
10791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10794 /* Override any GCC internal prototype to avoid an error.
10795 Use char because int might match the return type of a GCC
10796 builtin and then its argument prototype would still apply. */
10797 #ifdef __cplusplus
10798 extern "C"
10799 #endif
10800 char xmlSchemaSetParserStructuredErrors ();
10802 main ()
10804 return xmlSchemaSetParserStructuredErrors ();
10806 return 0;
10808 _ACEOF
10809 if ac_fn_c_try_link "$LINENO"; then :
10810 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10811 else
10812 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10814 rm -f core conftest.err conftest.$ac_objext \
10815 conftest$ac_exeext conftest.$ac_ext
10816 LIBS=$ac_check_lib_save_LIBS
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10819 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10820 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10822 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10827 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10828 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10829 $as_echo_n "(cached) " >&6
10830 else
10831 ac_check_lib_save_LIBS=$LIBS
10832 LIBS="-lxml2 $XML2_LIBS $LIBS"
10833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h. */
10836 /* Override any GCC internal prototype to avoid an error.
10837 Use char because int might match the return type of a GCC
10838 builtin and then its argument prototype would still apply. */
10839 #ifdef __cplusplus
10840 extern "C"
10841 #endif
10842 char xmlSchemaSetValidStructuredErrors ();
10844 main ()
10846 return xmlSchemaSetValidStructuredErrors ();
10848 return 0;
10850 _ACEOF
10851 if ac_fn_c_try_link "$LINENO"; then :
10852 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10853 else
10854 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10856 rm -f core conftest.err conftest.$ac_objext \
10857 conftest$ac_exeext conftest.$ac_ext
10858 LIBS=$ac_check_lib_save_LIBS
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10861 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10862 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10864 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10869 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10870 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10871 $as_echo_n "(cached) " >&6
10872 else
10873 ac_check_lib_save_LIBS=$LIBS
10874 LIBS="-lxml2 $XML2_LIBS $LIBS"
10875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10876 /* end confdefs.h. */
10878 /* Override any GCC internal prototype to avoid an error.
10879 Use char because int might match the return type of a GCC
10880 builtin and then its argument prototype would still apply. */
10881 #ifdef __cplusplus
10882 extern "C"
10883 #endif
10884 char xmlFirstElementChild ();
10886 main ()
10888 return xmlFirstElementChild ();
10890 return 0;
10892 _ACEOF
10893 if ac_fn_c_try_link "$LINENO"; then :
10894 ac_cv_lib_xml2_xmlFirstElementChild=yes
10895 else
10896 ac_cv_lib_xml2_xmlFirstElementChild=no
10898 rm -f core conftest.err conftest.$ac_objext \
10899 conftest$ac_exeext conftest.$ac_ext
10900 LIBS=$ac_check_lib_save_LIBS
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10903 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10904 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10906 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10910 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10912 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10914 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10918 else
10919 XML2_CFLAGS=""
10920 XML2_LIBS=""
10922 CPPFLAGS=$ac_save_CPPFLAGS
10923 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10924 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10927 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10928 case "x$with_xml" in
10929 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10930 xno) ;;
10931 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10932 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10933 esac
10936 if test "x$with_xslt" != "xno"
10937 then
10938 if ${XSLT_CFLAGS:+false} :; then :
10939 if ${PKG_CONFIG+:} false; then :
10940 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10943 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10944 if ${XSLT_LIBS:+false} :; then :
10945 if ${PKG_CONFIG+:} false; then :
10946 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10949 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10950 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10951 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10952 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10953 ac_save_CPPFLAGS=$CPPFLAGS
10954 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10955 for ac_header in libxslt/pattern.h libxslt/transform.h
10956 do :
10957 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10958 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10959 # include <libxslt/pattern.h>
10960 #endif
10962 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10963 cat >>confdefs.h <<_ACEOF
10964 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10965 _ACEOF
10969 done
10971 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10972 then
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10974 $as_echo_n "checking for -lxslt... " >&6; }
10975 if ${ac_cv_lib_soname_xslt+:} false; then :
10976 $as_echo_n "(cached) " >&6
10977 else
10978 ac_check_soname_save_LIBS=$LIBS
10979 LIBS="-lxslt $XSLT_LIBS $LIBS"
10980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10981 /* end confdefs.h. */
10983 /* Override any GCC internal prototype to avoid an error.
10984 Use char because int might match the return type of a GCC
10985 builtin and then its argument prototype would still apply. */
10986 #ifdef __cplusplus
10987 extern "C"
10988 #endif
10989 char xsltCompilePattern ();
10991 main ()
10993 return xsltCompilePattern ();
10995 return 0;
10997 _ACEOF
10998 if ac_fn_c_try_link "$LINENO"; then :
10999 case "$LIBEXT" in
11000 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11001 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'` ;;
11002 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11003 if ${ac_cv_lib_soname_xslt:+false} :; then :
11004 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11005 fi ;;
11006 esac
11008 rm -f core conftest.err conftest.$ac_objext \
11009 conftest$ac_exeext conftest.$ac_ext
11010 LIBS=$ac_check_soname_save_LIBS
11012 if ${ac_cv_lib_soname_xslt:+false} :; then :
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11014 $as_echo "not found" >&6; }
11016 else
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11018 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11020 cat >>confdefs.h <<_ACEOF
11021 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11022 _ACEOF
11026 else
11027 XSLT_CFLAGS=""
11029 CPPFLAGS=$ac_save_CPPFLAGS
11030 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11031 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11034 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11035 case "x$with_xslt" in
11036 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11037 xno) ;;
11038 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11039 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11040 esac
11043 if test "x$with_dbus" != "xno"
11044 then
11045 if ${DBUS_CFLAGS:+false} :; then :
11046 if ${PKG_CONFIG+:} false; then :
11047 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11051 if ${DBUS_LIBS:+false} :; then :
11052 if ${PKG_CONFIG+:} false; then :
11053 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11058 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11059 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11060 ac_save_CPPFLAGS=$CPPFLAGS
11061 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11062 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11063 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11065 $as_echo_n "checking for -ldbus-1... " >&6; }
11066 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11067 $as_echo_n "(cached) " >&6
11068 else
11069 ac_check_soname_save_LIBS=$LIBS
11070 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11072 /* end confdefs.h. */
11074 /* Override any GCC internal prototype to avoid an error.
11075 Use char because int might match the return type of a GCC
11076 builtin and then its argument prototype would still apply. */
11077 #ifdef __cplusplus
11078 extern "C"
11079 #endif
11080 char dbus_connection_close ();
11082 main ()
11084 return dbus_connection_close ();
11086 return 0;
11088 _ACEOF
11089 if ac_fn_c_try_link "$LINENO"; then :
11090 case "$LIBEXT" in
11091 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11092 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'` ;;
11093 *) 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'`
11094 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11095 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11096 fi ;;
11097 esac
11099 rm -f core conftest.err conftest.$ac_objext \
11100 conftest$ac_exeext conftest.$ac_ext
11101 LIBS=$ac_check_soname_save_LIBS
11103 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11105 $as_echo "not found" >&6; }
11106 DBUS_CFLAGS=""
11107 else
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11109 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11111 cat >>confdefs.h <<_ACEOF
11112 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11113 _ACEOF
11117 else
11118 DBUS_CFLAGS=""
11122 CPPFLAGS=$ac_save_CPPFLAGS
11123 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11124 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11127 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11128 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11129 case "x$with_dbus" in
11130 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11131 xno) ;;
11132 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11133 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11134 esac
11137 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11138 then
11139 if ${HAL_CFLAGS:+false} :; then :
11140 if ${PKG_CONFIG+:} false; then :
11141 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11145 if ${HAL_LIBS:+false} :; then :
11146 if ${PKG_CONFIG+:} false; then :
11147 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11151 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11152 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11153 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11154 ac_save_CPPFLAGS=$CPPFLAGS
11155 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11156 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11157 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11159 $as_echo_n "checking for -lhal... " >&6; }
11160 if ${ac_cv_lib_soname_hal+:} false; then :
11161 $as_echo_n "(cached) " >&6
11162 else
11163 ac_check_soname_save_LIBS=$LIBS
11164 LIBS="-lhal $HAL_LIBS $LIBS"
11165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11168 /* Override any GCC internal prototype to avoid an error.
11169 Use char because int might match the return type of a GCC
11170 builtin and then its argument prototype would still apply. */
11171 #ifdef __cplusplus
11172 extern "C"
11173 #endif
11174 char libhal_ctx_new ();
11176 main ()
11178 return libhal_ctx_new ();
11180 return 0;
11182 _ACEOF
11183 if ac_fn_c_try_link "$LINENO"; then :
11184 case "$LIBEXT" in
11185 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11186 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'` ;;
11187 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11188 if ${ac_cv_lib_soname_hal:+false} :; then :
11189 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11190 fi ;;
11191 esac
11193 rm -f core conftest.err conftest.$ac_objext \
11194 conftest$ac_exeext conftest.$ac_ext
11195 LIBS=$ac_check_soname_save_LIBS
11197 if ${ac_cv_lib_soname_hal:+false} :; then :
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11199 $as_echo "not found" >&6; }
11200 HAL_CFLAGS=""
11201 else
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11203 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11205 cat >>confdefs.h <<_ACEOF
11206 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11207 _ACEOF
11211 else
11212 HAL_CFLAGS=""
11216 CPPFLAGS=$ac_save_CPPFLAGS
11217 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11218 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11220 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11221 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11222 case "x$with_hal" in
11223 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11224 xno) ;;
11225 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11226 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11227 esac
11231 if test "x$with_gnutls" != "xno"
11232 then
11233 if ${GNUTLS_CFLAGS:+false} :; then :
11234 if ${PKG_CONFIG+:} false; then :
11235 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11239 if ${GNUTLS_LIBS:+false} :; then :
11240 if ${PKG_CONFIG+:} false; then :
11241 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11246 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11247 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11248 ac_save_CPPFLAGS=$CPPFLAGS
11249 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11250 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11251 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11254 #include <gnutls/gnutls.h>
11255 #include <gnutls/crypto.h>
11257 main ()
11259 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11261 return 0;
11263 _ACEOF
11264 if ac_fn_c_try_compile "$LINENO"; then :
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11266 $as_echo_n "checking for -lgnutls... " >&6; }
11267 if ${ac_cv_lib_soname_gnutls+:} false; then :
11268 $as_echo_n "(cached) " >&6
11269 else
11270 ac_check_soname_save_LIBS=$LIBS
11271 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11273 /* end confdefs.h. */
11275 /* Override any GCC internal prototype to avoid an error.
11276 Use char because int might match the return type of a GCC
11277 builtin and then its argument prototype would still apply. */
11278 #ifdef __cplusplus
11279 extern "C"
11280 #endif
11281 char gnutls_global_init ();
11283 main ()
11285 return gnutls_global_init ();
11287 return 0;
11289 _ACEOF
11290 if ac_fn_c_try_link "$LINENO"; then :
11291 case "$LIBEXT" in
11292 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11293 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'` ;;
11294 *) 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'`
11295 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11296 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'`
11297 fi ;;
11298 esac
11300 rm -f core conftest.err conftest.$ac_objext \
11301 conftest$ac_exeext conftest.$ac_ext
11302 LIBS=$ac_check_soname_save_LIBS
11304 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11306 $as_echo "not found" >&6; }
11307 GNUTLS_CFLAGS=""
11308 else
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11310 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11312 cat >>confdefs.h <<_ACEOF
11313 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11314 _ACEOF
11319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11320 else
11321 GNUTLS_CFLAGS=""
11325 CPPFLAGS=$ac_save_CPPFLAGS
11326 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11327 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11330 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11331 case "x$with_gnutls" in
11332 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11333 xno) ;;
11334 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11335 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11336 esac
11339 CURSES_LIBS=""
11340 if test "$ac_cv_header_ncurses_h" = "yes"
11341 then
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11343 $as_echo_n "checking for -lncurses... " >&6; }
11344 if ${ac_cv_lib_soname_ncurses+:} false; then :
11345 $as_echo_n "(cached) " >&6
11346 else
11347 ac_check_soname_save_LIBS=$LIBS
11348 LIBS="-lncurses $LIBS"
11349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11350 /* end confdefs.h. */
11352 /* Override any GCC internal prototype to avoid an error.
11353 Use char because int might match the return type of a GCC
11354 builtin and then its argument prototype would still apply. */
11355 #ifdef __cplusplus
11356 extern "C"
11357 #endif
11358 char waddch ();
11360 main ()
11362 return waddch ();
11364 return 0;
11366 _ACEOF
11367 if ac_fn_c_try_link "$LINENO"; then :
11368 case "$LIBEXT" in
11369 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11370 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'` ;;
11371 *) 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'`
11372 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11373 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11374 fi ;;
11375 esac
11377 rm -f core conftest.err conftest.$ac_objext \
11378 conftest$ac_exeext conftest.$ac_ext
11379 LIBS=$ac_check_soname_save_LIBS
11381 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11383 $as_echo "not found" >&6; }
11385 else
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11387 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11389 cat >>confdefs.h <<_ACEOF
11390 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11391 _ACEOF
11393 CURSES_LIBS="-lncurses"
11395 elif test "$ac_cv_header_curses_h" = "yes"
11396 then
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11398 $as_echo_n "checking for -lcurses... " >&6; }
11399 if ${ac_cv_lib_soname_curses+:} false; then :
11400 $as_echo_n "(cached) " >&6
11401 else
11402 ac_check_soname_save_LIBS=$LIBS
11403 LIBS="-lcurses $LIBS"
11404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11405 /* end confdefs.h. */
11407 /* Override any GCC internal prototype to avoid an error.
11408 Use char because int might match the return type of a GCC
11409 builtin and then its argument prototype would still apply. */
11410 #ifdef __cplusplus
11411 extern "C"
11412 #endif
11413 char waddch ();
11415 main ()
11417 return waddch ();
11419 return 0;
11421 _ACEOF
11422 if ac_fn_c_try_link "$LINENO"; then :
11423 case "$LIBEXT" in
11424 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11425 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'` ;;
11426 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11427 if ${ac_cv_lib_soname_curses:+false} :; then :
11428 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11429 fi ;;
11430 esac
11432 rm -f core conftest.err conftest.$ac_objext \
11433 conftest$ac_exeext conftest.$ac_ext
11434 LIBS=$ac_check_soname_save_LIBS
11436 if ${ac_cv_lib_soname_curses:+false} :; then :
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11438 $as_echo "not found" >&6; }
11440 else
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11442 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11444 cat >>confdefs.h <<_ACEOF
11445 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11446 _ACEOF
11448 CURSES_LIBS="-lcurses"
11451 ac_save_LIBS="$LIBS"
11452 LIBS="$LIBS $CURSES_LIBS"
11453 for ac_func in mousemask
11454 do :
11455 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11456 if test "x$ac_cv_func_mousemask" = xyes; then :
11457 cat >>confdefs.h <<_ACEOF
11458 #define HAVE_MOUSEMASK 1
11459 _ACEOF
11462 done
11464 LIBS="$ac_save_LIBS"
11465 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11466 case "x$with_curses" in
11467 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11468 xno) ;;
11469 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11470 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11471 esac
11474 if test "x$with_sane" != "xno"
11475 then
11476 if ${SANE_CFLAGS:+false} :; then :
11477 if ${PKG_CONFIG+:} false; then :
11478 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11481 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11482 if ${SANE_LIBS:+false} :; then :
11483 if ${PKG_CONFIG+:} false; then :
11484 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11487 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11489 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11490 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11491 ac_save_CPPFLAGS=$CPPFLAGS
11492 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11493 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11494 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11496 $as_echo_n "checking for -lsane... " >&6; }
11497 if ${ac_cv_lib_soname_sane+:} false; then :
11498 $as_echo_n "(cached) " >&6
11499 else
11500 ac_check_soname_save_LIBS=$LIBS
11501 LIBS="-lsane $SANE_LIBS $LIBS"
11502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11503 /* end confdefs.h. */
11505 /* Override any GCC internal prototype to avoid an error.
11506 Use char because int might match the return type of a GCC
11507 builtin and then its argument prototype would still apply. */
11508 #ifdef __cplusplus
11509 extern "C"
11510 #endif
11511 char sane_init ();
11513 main ()
11515 return sane_init ();
11517 return 0;
11519 _ACEOF
11520 if ac_fn_c_try_link "$LINENO"; then :
11521 case "$LIBEXT" in
11522 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11523 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'` ;;
11524 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11525 if ${ac_cv_lib_soname_sane:+false} :; then :
11526 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11527 fi ;;
11528 esac
11530 rm -f core conftest.err conftest.$ac_objext \
11531 conftest$ac_exeext conftest.$ac_ext
11532 LIBS=$ac_check_soname_save_LIBS
11534 if ${ac_cv_lib_soname_sane:+false} :; then :
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11536 $as_echo "not found" >&6; }
11537 SANE_CFLAGS=""
11538 else
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11540 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11542 cat >>confdefs.h <<_ACEOF
11543 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11544 _ACEOF
11548 else
11549 SANE_CFLAGS=""
11553 CPPFLAGS=$ac_save_CPPFLAGS
11554 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11555 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11558 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11559 case "x$with_sane" in
11560 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11561 xno) ;;
11562 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11563 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11564 esac
11567 if test "x$with_v4l" != "xno"
11568 then
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11570 $as_echo_n "checking for -lv4l1... " >&6; }
11571 if ${ac_cv_lib_soname_v4l1+:} false; then :
11572 $as_echo_n "(cached) " >&6
11573 else
11574 ac_check_soname_save_LIBS=$LIBS
11575 LIBS="-lv4l1 $LIBS"
11576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11577 /* end confdefs.h. */
11579 /* Override any GCC internal prototype to avoid an error.
11580 Use char because int might match the return type of a GCC
11581 builtin and then its argument prototype would still apply. */
11582 #ifdef __cplusplus
11583 extern "C"
11584 #endif
11585 char v4l1_open ();
11587 main ()
11589 return v4l1_open ();
11591 return 0;
11593 _ACEOF
11594 if ac_fn_c_try_link "$LINENO"; then :
11595 case "$LIBEXT" in
11596 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11597 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'` ;;
11598 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11599 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11600 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11601 fi ;;
11602 esac
11604 rm -f core conftest.err conftest.$ac_objext \
11605 conftest$ac_exeext conftest.$ac_ext
11606 LIBS=$ac_check_soname_save_LIBS
11608 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11610 $as_echo "not found" >&6; }
11612 else
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11614 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11616 cat >>confdefs.h <<_ACEOF
11617 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11618 _ACEOF
11623 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11624 case "x$with_v4l" in
11625 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11626 xno) ;;
11627 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11628 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11629 esac
11632 if test "x$with_gphoto" != "xno"
11633 then
11634 if ${GPHOTO2_CFLAGS:+false} :; then :
11635 if ${PKG_CONFIG+:} false; then :
11636 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11639 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11640 if ${GPHOTO2_LIBS:+false} :; then :
11641 if ${PKG_CONFIG+:} false; then :
11642 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11645 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11646 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11647 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11648 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11649 ac_save_CPPFLAGS=$CPPFLAGS
11650 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11651 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11652 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11654 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11655 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11656 $as_echo_n "(cached) " >&6
11657 else
11658 ac_check_lib_save_LIBS=$LIBS
11659 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11661 /* end confdefs.h. */
11663 /* Override any GCC internal prototype to avoid an error.
11664 Use char because int might match the return type of a GCC
11665 builtin and then its argument prototype would still apply. */
11666 #ifdef __cplusplus
11667 extern "C"
11668 #endif
11669 char gp_camera_new ();
11671 main ()
11673 return gp_camera_new ();
11675 return 0;
11677 _ACEOF
11678 if ac_fn_c_try_link "$LINENO"; then :
11679 ac_cv_lib_gphoto2_gp_camera_new=yes
11680 else
11681 ac_cv_lib_gphoto2_gp_camera_new=no
11683 rm -f core conftest.err conftest.$ac_objext \
11684 conftest$ac_exeext conftest.$ac_ext
11685 LIBS=$ac_check_lib_save_LIBS
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11688 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11689 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11691 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11693 else
11694 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11697 else
11698 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11702 CPPFLAGS=$ac_save_CPPFLAGS
11703 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11704 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11706 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11707 if ${PKG_CONFIG+:} false; then :
11708 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11711 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11712 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11713 if ${PKG_CONFIG+:} false; then :
11714 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11717 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11718 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11719 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11720 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11721 ac_save_CPPFLAGS=$CPPFLAGS
11722 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11723 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11724 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11726 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11727 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11728 $as_echo_n "(cached) " >&6
11729 else
11730 ac_check_lib_save_LIBS=$LIBS
11731 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11733 /* end confdefs.h. */
11735 /* Override any GCC internal prototype to avoid an error.
11736 Use char because int might match the return type of a GCC
11737 builtin and then its argument prototype would still apply. */
11738 #ifdef __cplusplus
11739 extern "C"
11740 #endif
11741 char gp_port_info_list_new ();
11743 main ()
11745 return gp_port_info_list_new ();
11747 return 0;
11749 _ACEOF
11750 if ac_fn_c_try_link "$LINENO"; then :
11751 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11752 else
11753 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11755 rm -f core conftest.err conftest.$ac_objext \
11756 conftest$ac_exeext conftest.$ac_ext
11757 LIBS=$ac_check_lib_save_LIBS
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11760 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11761 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11763 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11765 else
11766 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11769 else
11770 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11774 CPPFLAGS=$ac_save_CPPFLAGS
11775 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11776 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11779 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11780 case "x$with_gphoto" in
11781 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11782 xno) ;;
11783 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11784 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11785 esac
11787 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11788 case "x$with_gphoto" in
11789 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11790 xno) ;;
11791 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11792 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11793 esac
11797 if test "$ac_cv_header_resolv_h" = "yes"
11798 then
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11800 $as_echo_n "checking for resolver library... " >&6; }
11801 if ${ac_cv_have_resolv+:} false; then :
11802 $as_echo_n "(cached) " >&6
11803 else
11804 ac_save_LIBS="$LIBS"
11805 for lib in '' -lresolv
11807 LIBS="$lib $ac_save_LIBS"
11808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11809 /* end confdefs.h. */
11810 #ifdef HAVE_NETINET_IN_H
11811 #include <netinet/in.h>
11812 #endif
11813 #include <resolv.h>
11815 main ()
11817 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11819 return 0;
11821 _ACEOF
11822 if ac_fn_c_try_link "$LINENO"; then :
11823 ac_cv_have_resolv=${lib:-"none required"}
11824 else
11825 ac_cv_have_resolv="not found"
11827 rm -f core conftest.err conftest.$ac_objext \
11828 conftest$ac_exeext conftest.$ac_ext
11829 test "x$ac_cv_have_resolv" = "xnot found" || break
11830 done
11831 LIBS="$ac_save_LIBS"
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11834 $as_echo "$ac_cv_have_resolv" >&6; }
11836 case "$ac_cv_have_resolv" in
11837 "not found") ;;
11838 "none required")
11840 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11843 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11845 RESOLV_LIBS=$ac_cv_have_resolv
11847 esac
11850 if test "x$with_lcms2" != "xno"
11851 then
11852 if ${LCMS2_CFLAGS:+false} :; then :
11853 if ${PKG_CONFIG+:} false; then :
11854 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11858 if ${LCMS2_LIBS:+false} :; then :
11859 if ${PKG_CONFIG+:} false; then :
11860 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11864 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11865 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11866 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11867 ac_save_CPPFLAGS=$CPPFLAGS
11868 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11869 for ac_header in lcms2.h
11870 do :
11871 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11872 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11873 cat >>confdefs.h <<_ACEOF
11874 #define HAVE_LCMS2_H 1
11875 _ACEOF
11879 done
11881 if test "$ac_cv_header_lcms2_h" = "yes"
11882 then
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11884 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11885 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11886 $as_echo_n "(cached) " >&6
11887 else
11888 ac_check_lib_save_LIBS=$LIBS
11889 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11891 /* end confdefs.h. */
11893 /* Override any GCC internal prototype to avoid an error.
11894 Use char because int might match the return type of a GCC
11895 builtin and then its argument prototype would still apply. */
11896 #ifdef __cplusplus
11897 extern "C"
11898 #endif
11899 char cmsOpenProfileFromFile ();
11901 main ()
11903 return cmsOpenProfileFromFile ();
11905 return 0;
11907 _ACEOF
11908 if ac_fn_c_try_link "$LINENO"; then :
11909 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11910 else
11911 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11913 rm -f core conftest.err conftest.$ac_objext \
11914 conftest$ac_exeext conftest.$ac_ext
11915 LIBS=$ac_check_lib_save_LIBS
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11918 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11919 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11921 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11923 else
11924 LCMS2_LIBS=""
11927 else
11928 LCMS2_CFLAGS=""
11929 LCMS2_LIBS=""
11931 CPPFLAGS=$ac_save_CPPFLAGS
11932 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11933 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11936 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11937 case "x$with_cms" in
11938 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11939 xno) ;;
11940 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11941 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11942 esac
11945 if test "x$with_freetype" != "xno"
11946 then
11947 if ${FREETYPE_CFLAGS:+false} :; then :
11948 if ${PKG_CONFIG+:} false; then :
11949 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11952 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11953 if ${FREETYPE_LIBS:+false} :; then :
11954 if ${PKG_CONFIG+:} false; then :
11955 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11958 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11959 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11960 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11961 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11962 ac_save_CPPFLAGS=$CPPFLAGS
11963 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11964 for ac_header in ft2build.h
11965 do :
11966 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11967 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11968 cat >>confdefs.h <<_ACEOF
11969 #define HAVE_FT2BUILD_H 1
11970 _ACEOF
11974 done
11976 if test "$ac_cv_header_ft2build_h" = "yes"
11977 then
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11979 $as_echo_n "checking for -lfreetype... " >&6; }
11980 if ${ac_cv_lib_soname_freetype+:} false; then :
11981 $as_echo_n "(cached) " >&6
11982 else
11983 ac_check_soname_save_LIBS=$LIBS
11984 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11988 /* Override any GCC internal prototype to avoid an error.
11989 Use char because int might match the return type of a GCC
11990 builtin and then its argument prototype would still apply. */
11991 #ifdef __cplusplus
11992 extern "C"
11993 #endif
11994 char FT_Init_FreeType ();
11996 main ()
11998 return FT_Init_FreeType ();
12000 return 0;
12002 _ACEOF
12003 if ac_fn_c_try_link "$LINENO"; then :
12004 case "$LIBEXT" in
12005 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12006 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'` ;;
12007 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12008 if ${ac_cv_lib_soname_freetype:+false} :; then :
12009 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12010 fi ;;
12011 esac
12013 rm -f core conftest.err conftest.$ac_objext \
12014 conftest$ac_exeext conftest.$ac_ext
12015 LIBS=$ac_check_soname_save_LIBS
12017 if ${ac_cv_lib_soname_freetype:+false} :; then :
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12019 $as_echo "not found" >&6; }
12020 FREETYPE_LIBS=""
12021 else
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12023 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12025 cat >>confdefs.h <<_ACEOF
12026 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12027 _ACEOF
12030 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12032 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12033 #include FT_MODULE_H
12035 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12037 cat >>confdefs.h <<_ACEOF
12038 #define HAVE_FT_TRUETYPEENGINETYPE 1
12039 _ACEOF
12045 else
12046 FREETYPE_CFLAGS=""
12047 FREETYPE_LIBS=""
12049 CPPFLAGS=$ac_save_CPPFLAGS
12050 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12051 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12054 if test "x$ac_cv_lib_soname_freetype" = x; then :
12055 case "x$with_freetype" in
12056 xno) ;;
12057 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12058 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12059 esac
12061 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12064 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12065 if ${ac_cv_c_ppdev+:} false; then :
12066 $as_echo_n "(cached) " >&6
12067 else
12068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12069 /* end confdefs.h. */
12070 #ifdef HAVE_SYS_IOCTL_H
12071 # include <sys/ioctl.h>
12072 #endif
12073 #include <linux/ppdev.h>
12075 main ()
12077 ioctl (1,PPCLAIM,0)
12079 return 0;
12081 _ACEOF
12082 if ac_fn_c_try_compile "$LINENO"; then :
12083 ac_cv_c_ppdev="yes"
12084 else
12085 ac_cv_c_ppdev="no"
12087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12090 $as_echo "$ac_cv_c_ppdev" >&6; }
12091 if test "$ac_cv_c_ppdev" = "yes"
12092 then
12094 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12098 ac_wine_check_funcs_save_LIBS="$LIBS"
12099 LIBS="$LIBS $PTHREAD_LIBS"
12100 for ac_func in \
12101 pthread_attr_get_np \
12102 pthread_getattr_np \
12103 pthread_getthreadid_np \
12104 pthread_get_stackaddr_np \
12105 pthread_get_stacksize_np
12106 do :
12107 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12108 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12109 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12110 cat >>confdefs.h <<_ACEOF
12111 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12112 _ACEOF
12115 done
12117 LIBS="$ac_wine_check_funcs_save_LIBS"
12119 if test "$ac_cv_header_zlib_h" = "yes"
12120 then
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12122 $as_echo_n "checking for inflate in -lz... " >&6; }
12123 if ${ac_cv_lib_z_inflate+:} false; then :
12124 $as_echo_n "(cached) " >&6
12125 else
12126 ac_check_lib_save_LIBS=$LIBS
12127 LIBS="-lz $LIBS"
12128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12129 /* end confdefs.h. */
12131 /* Override any GCC internal prototype to avoid an error.
12132 Use char because int might match the return type of a GCC
12133 builtin and then its argument prototype would still apply. */
12134 #ifdef __cplusplus
12135 extern "C"
12136 #endif
12137 char inflate ();
12139 main ()
12141 return inflate ();
12143 return 0;
12145 _ACEOF
12146 if ac_fn_c_try_link "$LINENO"; then :
12147 ac_cv_lib_z_inflate=yes
12148 else
12149 ac_cv_lib_z_inflate=no
12151 rm -f core conftest.err conftest.$ac_objext \
12152 conftest$ac_exeext conftest.$ac_ext
12153 LIBS=$ac_check_lib_save_LIBS
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12156 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12157 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12159 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12161 Z_LIBS="-lz"
12166 if test "x$Z_LIBS" = "x"; then :
12167 case "x$with_zlib" in
12168 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12169 xno) ;;
12170 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12171 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12172 esac
12175 if test "x$enable_tools" != xno
12176 then
12177 if test "$ac_cv_header_gettext_po_h" = "yes"
12178 then
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12180 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12181 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12182 $as_echo_n "(cached) " >&6
12183 else
12184 ac_check_lib_save_LIBS=$LIBS
12185 LIBS="-lgettextpo $LIBS"
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 /* Override any GCC internal prototype to avoid an error.
12190 Use char because int might match the return type of a GCC
12191 builtin and then its argument prototype would still apply. */
12192 #ifdef __cplusplus
12193 extern "C"
12194 #endif
12195 char po_message_msgctxt ();
12197 main ()
12199 return po_message_msgctxt ();
12201 return 0;
12203 _ACEOF
12204 if ac_fn_c_try_link "$LINENO"; then :
12205 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12206 else
12207 ac_cv_lib_gettextpo_po_message_msgctxt=no
12209 rm -f core conftest.err conftest.$ac_objext \
12210 conftest$ac_exeext conftest.$ac_ext
12211 LIBS=$ac_check_lib_save_LIBS
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12214 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12215 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12217 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12219 GETTEXTPO_LIBS="-lgettextpo"
12224 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12225 case "x$with_gettextpo" in
12226 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12227 xno) ;;
12228 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12229 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12230 esac
12234 if test "x$with_gstreamer" != "xno"
12235 then
12236 if ${GSTREAMER_CFLAGS:+false} :; then :
12237 if ${PKG_CONFIG+:} false; then :
12238 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12242 if ${GSTREAMER_LIBS:+false} :; then :
12243 if ${PKG_CONFIG+:} false; then :
12244 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12249 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12250 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12251 ac_save_CPPFLAGS=$CPPFLAGS
12252 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12253 ac_gst_incl=""
12254 for i in $GSTREAMER_CFLAGS
12256 case "$i" in
12257 -I*) ac_gst_incl="$ac_gst_incl $i";;
12258 esac
12259 done
12260 GSTREAMER_CFLAGS=$ac_gst_incl
12261 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12262 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12263 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12264 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12265 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12267 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12270 #include <gst/app/gstappsink.h>
12272 main ()
12274 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12276 return 0;
12278 _ACEOF
12279 if ac_fn_c_try_compile "$LINENO"; then :
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12281 $as_echo "yes" >&6; }
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12283 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12284 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12285 $as_echo_n "(cached) " >&6
12286 else
12287 ac_check_lib_save_LIBS=$LIBS
12288 LIBS="-lgstreamer-0.10 $LIBS"
12289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12290 /* end confdefs.h. */
12292 /* Override any GCC internal prototype to avoid an error.
12293 Use char because int might match the return type of a GCC
12294 builtin and then its argument prototype would still apply. */
12295 #ifdef __cplusplus
12296 extern "C"
12297 #endif
12298 char gst_pad_get_caps_reffed ();
12300 main ()
12302 return gst_pad_get_caps_reffed ();
12304 return 0;
12306 _ACEOF
12307 if ac_fn_c_try_link "$LINENO"; then :
12308 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12309 else
12310 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12312 rm -f core conftest.err conftest.$ac_objext \
12313 conftest$ac_exeext conftest.$ac_ext
12314 LIBS=$ac_check_lib_save_LIBS
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12317 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12318 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12320 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12321 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12322 $as_echo_n "(cached) " >&6
12323 else
12324 ac_check_lib_save_LIBS=$LIBS
12325 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12327 /* end confdefs.h. */
12329 /* Override any GCC internal prototype to avoid an error.
12330 Use char because int might match the return type of a GCC
12331 builtin and then its argument prototype would still apply. */
12332 #ifdef __cplusplus
12333 extern "C"
12334 #endif
12335 char gst_app_buffer_new ();
12337 main ()
12339 return gst_app_buffer_new ();
12341 return 0;
12343 _ACEOF
12344 if ac_fn_c_try_link "$LINENO"; then :
12345 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12346 else
12347 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12349 rm -f core conftest.err conftest.$ac_objext \
12350 conftest$ac_exeext conftest.$ac_ext
12351 LIBS=$ac_check_lib_save_LIBS
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12354 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12355 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12361 else
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12363 $as_echo "no" >&6; }
12365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12369 else
12370 GSTREAMER_CFLAGS=""
12374 CPPFLAGS=$ac_save_CPPFLAGS
12375 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12376 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12379 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12380 case "x$with_gstreamer" in
12381 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12382 xno) ;;
12383 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12384 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12385 esac
12387 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12389 ALSA_LIBS=""
12391 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12392 then
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12394 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12395 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12396 $as_echo_n "(cached) " >&6
12397 else
12398 ac_check_lib_save_LIBS=$LIBS
12399 LIBS="-lasound $LIBS"
12400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12401 /* end confdefs.h. */
12403 /* Override any GCC internal prototype to avoid an error.
12404 Use char because int might match the return type of a GCC
12405 builtin and then its argument prototype would still apply. */
12406 #ifdef __cplusplus
12407 extern "C"
12408 #endif
12409 char snd_pcm_hw_params_get_access_mask ();
12411 main ()
12413 return snd_pcm_hw_params_get_access_mask ();
12415 return 0;
12417 _ACEOF
12418 if ac_fn_c_try_link "$LINENO"; then :
12419 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12420 else
12421 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12423 rm -f core conftest.err conftest.$ac_objext \
12424 conftest$ac_exeext conftest.$ac_ext
12425 LIBS=$ac_check_lib_save_LIBS
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12428 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12429 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12431 /* end confdefs.h. */
12432 #ifdef HAVE_ALSA_ASOUNDLIB_H
12433 #include <alsa/asoundlib.h>
12434 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12435 #include <sys/asoundlib.h>
12436 #endif
12438 main ()
12440 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12442 return 0;
12444 _ACEOF
12445 if ac_fn_c_try_compile "$LINENO"; then :
12446 ALSA_LIBS="-lasound"
12448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12453 if test "x$with_oss" != xno
12454 then
12455 ac_save_CPPFLAGS="$CPPFLAGS"
12456 if test -f /etc/oss.conf
12457 then
12458 . /etc/oss.conf
12460 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12461 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12462 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12463 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12464 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12466 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12468 cat >>confdefs.h <<_ACEOF
12469 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12470 _ACEOF
12472 OSS4_CFLAGS="$ac_oss_incl"
12479 CPPFLAGS="$ac_save_CPPFLAGS"
12480 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12481 then
12482 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12486 if test "x$with_capi" != "xno"
12487 then
12488 if ${CAPI20_CFLAGS:+false} :; then :
12489 if ${PKG_CONFIG+:} false; then :
12490 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12494 if ${CAPI20_LIBS:+false} :; then :
12495 if ${PKG_CONFIG+:} false; then :
12496 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12501 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12502 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12503 ac_save_CPPFLAGS=$CPPFLAGS
12504 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12505 for ac_header in capi20.h linux/capi.h
12506 do :
12507 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12508 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12510 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12511 cat >>confdefs.h <<_ACEOF
12512 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12513 _ACEOF
12517 done
12519 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12520 then
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12522 $as_echo_n "checking for -lcapi20... " >&6; }
12523 if ${ac_cv_lib_soname_capi20+:} false; then :
12524 $as_echo_n "(cached) " >&6
12525 else
12526 ac_check_soname_save_LIBS=$LIBS
12527 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12529 /* end confdefs.h. */
12531 /* Override any GCC internal prototype to avoid an error.
12532 Use char because int might match the return type of a GCC
12533 builtin and then its argument prototype would still apply. */
12534 #ifdef __cplusplus
12535 extern "C"
12536 #endif
12537 char capi20_register ();
12539 main ()
12541 return capi20_register ();
12543 return 0;
12545 _ACEOF
12546 if ac_fn_c_try_link "$LINENO"; then :
12547 case "$LIBEXT" in
12548 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12549 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'` ;;
12550 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12551 if ${ac_cv_lib_soname_capi20:+false} :; then :
12552 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12553 fi ;;
12554 esac
12556 rm -f core conftest.err conftest.$ac_objext \
12557 conftest$ac_exeext conftest.$ac_ext
12558 LIBS=$ac_check_soname_save_LIBS
12560 if ${ac_cv_lib_soname_capi20:+false} :; then :
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12562 $as_echo "not found" >&6; }
12564 else
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12566 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12568 cat >>confdefs.h <<_ACEOF
12569 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12570 _ACEOF
12575 CPPFLAGS=$ac_save_CPPFLAGS
12576 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12577 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12580 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12581 case "x$with_capi" in
12582 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12583 xno) ;;
12584 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12585 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12586 esac
12589 CUPS_CFLAGS=""
12591 if test "x$with_cups" != "xno"
12592 then
12593 ac_save_CPPFLAGS="$CPPFLAGS"
12594 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12595 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12596 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12597 for ac_header in cups/cups.h
12598 do :
12599 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12600 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12601 cat >>confdefs.h <<_ACEOF
12602 #define HAVE_CUPS_CUPS_H 1
12603 _ACEOF
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12605 $as_echo_n "checking for -lcups... " >&6; }
12606 if ${ac_cv_lib_soname_cups+:} false; then :
12607 $as_echo_n "(cached) " >&6
12608 else
12609 ac_check_soname_save_LIBS=$LIBS
12610 LIBS="-lcups $ac_cups_libs $LIBS"
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12614 /* Override any GCC internal prototype to avoid an error.
12615 Use char because int might match the return type of a GCC
12616 builtin and then its argument prototype would still apply. */
12617 #ifdef __cplusplus
12618 extern "C"
12619 #endif
12620 char cupsGetDefault ();
12622 main ()
12624 return cupsGetDefault ();
12626 return 0;
12628 _ACEOF
12629 if ac_fn_c_try_link "$LINENO"; then :
12630 case "$LIBEXT" in
12631 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12632 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'` ;;
12633 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12634 if ${ac_cv_lib_soname_cups:+false} :; then :
12635 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12636 fi ;;
12637 esac
12639 rm -f core conftest.err conftest.$ac_objext \
12640 conftest$ac_exeext conftest.$ac_ext
12641 LIBS=$ac_check_soname_save_LIBS
12643 if ${ac_cv_lib_soname_cups:+false} :; then :
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12645 $as_echo "not found" >&6; }
12647 else
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12649 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12651 cat >>confdefs.h <<_ACEOF
12652 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12653 _ACEOF
12655 CUPS_CFLAGS="$ac_cups_cflags"
12659 done
12661 CPPFLAGS="$ac_save_CPPFLAGS"
12663 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12664 case "x$with_cups" in
12665 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12666 xno) ;;
12667 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12668 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12669 esac
12672 if test "x$with_fontconfig" != "xno"
12673 then
12674 if ${FONTCONFIG_CFLAGS:+false} :; then :
12675 if ${PKG_CONFIG+:} false; then :
12676 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12679 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12680 if ${FONTCONFIG_LIBS:+false} :; then :
12681 if ${PKG_CONFIG+:} false; then :
12682 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12685 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12687 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12688 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12689 ac_save_CPPFLAGS=$CPPFLAGS
12690 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12691 for ac_header in fontconfig/fontconfig.h
12692 do :
12693 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12694 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12695 cat >>confdefs.h <<_ACEOF
12696 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12697 _ACEOF
12701 done
12703 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12704 then
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12706 $as_echo_n "checking for -lfontconfig... " >&6; }
12707 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12708 $as_echo_n "(cached) " >&6
12709 else
12710 ac_check_soname_save_LIBS=$LIBS
12711 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12713 /* end confdefs.h. */
12715 /* Override any GCC internal prototype to avoid an error.
12716 Use char because int might match the return type of a GCC
12717 builtin and then its argument prototype would still apply. */
12718 #ifdef __cplusplus
12719 extern "C"
12720 #endif
12721 char FcInit ();
12723 main ()
12725 return FcInit ();
12727 return 0;
12729 _ACEOF
12730 if ac_fn_c_try_link "$LINENO"; then :
12731 case "$LIBEXT" in
12732 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12733 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'` ;;
12734 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12735 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12736 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12737 fi ;;
12738 esac
12740 rm -f core conftest.err conftest.$ac_objext \
12741 conftest$ac_exeext conftest.$ac_ext
12742 LIBS=$ac_check_soname_save_LIBS
12744 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12746 $as_echo "not found" >&6; }
12747 FONTCONFIG_CFLAGS=""
12748 else
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12750 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12752 cat >>confdefs.h <<_ACEOF
12753 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12754 _ACEOF
12758 else
12759 FONTCONFIG_CFLAGS=""
12761 CPPFLAGS=$ac_save_CPPFLAGS
12762 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12763 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12766 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12767 case "x$with_fontconfig" in
12768 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12769 xno) ;;
12770 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12771 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12772 esac
12775 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12776 then
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12778 $as_echo_n "checking for -lgsm... " >&6; }
12779 if ${ac_cv_lib_soname_gsm+:} false; then :
12780 $as_echo_n "(cached) " >&6
12781 else
12782 ac_check_soname_save_LIBS=$LIBS
12783 LIBS="-lgsm $LIBS"
12784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12785 /* end confdefs.h. */
12787 /* Override any GCC internal prototype to avoid an error.
12788 Use char because int might match the return type of a GCC
12789 builtin and then its argument prototype would still apply. */
12790 #ifdef __cplusplus
12791 extern "C"
12792 #endif
12793 char gsm_create ();
12795 main ()
12797 return gsm_create ();
12799 return 0;
12801 _ACEOF
12802 if ac_fn_c_try_link "$LINENO"; then :
12803 case "$LIBEXT" in
12804 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12805 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'` ;;
12806 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12807 if ${ac_cv_lib_soname_gsm:+false} :; then :
12808 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12809 fi ;;
12810 esac
12812 rm -f core conftest.err conftest.$ac_objext \
12813 conftest$ac_exeext conftest.$ac_ext
12814 LIBS=$ac_check_soname_save_LIBS
12816 if ${ac_cv_lib_soname_gsm:+false} :; then :
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12818 $as_echo "not found" >&6; }
12820 else
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12822 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12824 cat >>confdefs.h <<_ACEOF
12825 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12826 _ACEOF
12831 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12832 case "x$with_gsm" in
12833 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12834 xno) ;;
12835 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12836 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12837 esac
12840 if test "x$with_jpeg" != "xno"
12841 then
12842 if ${JPEG_CFLAGS:+false} :; then :
12843 if ${PKG_CONFIG+:} false; then :
12844 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12848 if ${JPEG_LIBS:+false} :; then :
12849 if ${PKG_CONFIG+:} false; then :
12850 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12855 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12856 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12857 ac_save_CPPFLAGS=$CPPFLAGS
12858 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12859 for ac_header in jpeglib.h
12860 do :
12861 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12862 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12863 cat >>confdefs.h <<_ACEOF
12864 #define HAVE_JPEGLIB_H 1
12865 _ACEOF
12869 done
12871 if test "$ac_cv_header_jpeglib_h" = "yes"
12872 then
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12874 $as_echo_n "checking for -ljpeg... " >&6; }
12875 if ${ac_cv_lib_soname_jpeg+:} false; then :
12876 $as_echo_n "(cached) " >&6
12877 else
12878 ac_check_soname_save_LIBS=$LIBS
12879 LIBS="-ljpeg $JPEG_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 jpeg_start_decompress ();
12891 main ()
12893 return jpeg_start_decompress ();
12895 return 0;
12897 _ACEOF
12898 if ac_fn_c_try_link "$LINENO"; then :
12899 case "$LIBEXT" in
12900 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12901 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'` ;;
12902 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12903 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12904 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$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_jpeg:+false} :; then :
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12914 $as_echo "not found" >&6; }
12915 JPEG_CFLAGS=""
12916 else
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12918 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12920 cat >>confdefs.h <<_ACEOF
12921 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12922 _ACEOF
12926 else
12927 JPEG_CFLAGS=""
12929 CPPFLAGS=$ac_save_CPPFLAGS
12930 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12931 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12934 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12935 case "x$with_jpeg" in
12936 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12937 xno) ;;
12938 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12939 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12940 esac
12943 if test "x$with_png" != "xno"
12944 then
12945 if ${PNG_CFLAGS:+false} :; then :
12946 if ${PKG_CONFIG+:} false; then :
12947 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12950 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12951 if ${PNG_LIBS:+false} :; then :
12952 if ${PKG_CONFIG+:} false; then :
12953 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12956 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12958 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12959 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12960 ac_save_CPPFLAGS=$CPPFLAGS
12961 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12962 for ac_header in png.h
12963 do :
12964 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12965 if test "x$ac_cv_header_png_h" = xyes; then :
12966 cat >>confdefs.h <<_ACEOF
12967 #define HAVE_PNG_H 1
12968 _ACEOF
12972 done
12974 if test "$ac_cv_header_png_h" = "yes"
12975 then
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12977 $as_echo_n "checking for -lpng... " >&6; }
12978 if ${ac_cv_lib_soname_png+:} false; then :
12979 $as_echo_n "(cached) " >&6
12980 else
12981 ac_check_soname_save_LIBS=$LIBS
12982 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12984 /* end confdefs.h. */
12986 /* Override any GCC internal prototype to avoid an error.
12987 Use char because int might match the return type of a GCC
12988 builtin and then its argument prototype would still apply. */
12989 #ifdef __cplusplus
12990 extern "C"
12991 #endif
12992 char png_create_read_struct ();
12994 main ()
12996 return png_create_read_struct ();
12998 return 0;
13000 _ACEOF
13001 if ac_fn_c_try_link "$LINENO"; then :
13002 case "$LIBEXT" in
13003 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13004 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'` ;;
13005 *) 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'`
13006 if ${ac_cv_lib_soname_png:+false} :; then :
13007 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13008 fi ;;
13009 esac
13011 rm -f core conftest.err conftest.$ac_objext \
13012 conftest$ac_exeext conftest.$ac_ext
13013 LIBS=$ac_check_soname_save_LIBS
13015 if ${ac_cv_lib_soname_png:+false} :; then :
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13017 $as_echo "not found" >&6; }
13018 PNG_CFLAGS=""
13019 else
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13021 $as_echo "$ac_cv_lib_soname_png" >&6; }
13023 cat >>confdefs.h <<_ACEOF
13024 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13025 _ACEOF
13027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13028 /* end confdefs.h. */
13029 #include <png.h>
13031 main ()
13033 typeof(png_set_expand_gray_1_2_4_to_8) *p
13035 return 0;
13037 _ACEOF
13038 if ac_fn_c_try_compile "$LINENO"; then :
13040 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13045 else
13046 PNG_CFLAGS=""
13048 CPPFLAGS=$ac_save_CPPFLAGS
13049 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13050 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13053 if test "x$ac_cv_lib_soname_png" = "x"; then :
13054 case "x$with_png" in
13055 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13056 xno) ;;
13057 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13058 This is an error since --with-png was requested." "$LINENO" 5 ;;
13059 esac
13062 if test "x$with_tiff" != "xno"
13063 then
13064 if ${TIFF_CFLAGS:+false} :; then :
13065 if ${PKG_CONFIG+:} false; then :
13066 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13070 if ${TIFF_LIBS:+false} :; then :
13071 if ${PKG_CONFIG+:} false; then :
13072 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13077 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13078 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13079 ac_save_CPPFLAGS=$CPPFLAGS
13080 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13081 for ac_header in tiffio.h
13082 do :
13083 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13084 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13085 cat >>confdefs.h <<_ACEOF
13086 #define HAVE_TIFFIO_H 1
13087 _ACEOF
13091 done
13093 if test "$ac_cv_header_tiffio_h" = "yes"
13094 then
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13096 $as_echo_n "checking for -ltiff... " >&6; }
13097 if ${ac_cv_lib_soname_tiff+:} false; then :
13098 $as_echo_n "(cached) " >&6
13099 else
13100 ac_check_soname_save_LIBS=$LIBS
13101 LIBS="-ltiff $TIFF_LIBS $LIBS"
13102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13103 /* end confdefs.h. */
13105 /* Override any GCC internal prototype to avoid an error.
13106 Use char because int might match the return type of a GCC
13107 builtin and then its argument prototype would still apply. */
13108 #ifdef __cplusplus
13109 extern "C"
13110 #endif
13111 char TIFFClientOpen ();
13113 main ()
13115 return TIFFClientOpen ();
13117 return 0;
13119 _ACEOF
13120 if ac_fn_c_try_link "$LINENO"; then :
13121 case "$LIBEXT" in
13122 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13123 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'` ;;
13124 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13125 if ${ac_cv_lib_soname_tiff:+false} :; then :
13126 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13127 fi ;;
13128 esac
13130 rm -f core conftest.err conftest.$ac_objext \
13131 conftest$ac_exeext conftest.$ac_ext
13132 LIBS=$ac_check_soname_save_LIBS
13134 if ${ac_cv_lib_soname_tiff:+false} :; then :
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13136 $as_echo "not found" >&6; }
13138 else
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13140 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13142 cat >>confdefs.h <<_ACEOF
13143 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13144 _ACEOF
13149 CPPFLAGS=$ac_save_CPPFLAGS
13150 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13151 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13154 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13155 case "x$with_tiff" in
13156 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13157 xno) ;;
13158 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13159 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13160 esac
13163 if test "x$with_mpg123" != "xno"
13164 then
13165 if ${MPG123_CFLAGS:+false} :; then :
13166 if ${PKG_CONFIG+:} false; then :
13167 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13171 if ${MPG123_LIBS:+false} :; then :
13172 if ${PKG_CONFIG+:} false; then :
13173 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13177 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13178 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13179 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13180 ac_save_CPPFLAGS=$CPPFLAGS
13181 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13182 for ac_header in mpg123.h
13183 do :
13184 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13185 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13186 cat >>confdefs.h <<_ACEOF
13187 #define HAVE_MPG123_H 1
13188 _ACEOF
13192 done
13194 if test "$ac_cv_header_mpg123_h" = "yes"
13195 then
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13197 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13198 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13199 $as_echo_n "(cached) " >&6
13200 else
13201 ac_check_lib_save_LIBS=$LIBS
13202 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13204 /* end confdefs.h. */
13206 /* Override any GCC internal prototype to avoid an error.
13207 Use char because int might match the return type of a GCC
13208 builtin and then its argument prototype would still apply. */
13209 #ifdef __cplusplus
13210 extern "C"
13211 #endif
13212 char mpg123_feed ();
13214 main ()
13216 return mpg123_feed ();
13218 return 0;
13220 _ACEOF
13221 if ac_fn_c_try_link "$LINENO"; then :
13222 ac_cv_lib_mpg123_mpg123_feed=yes
13223 else
13224 ac_cv_lib_mpg123_mpg123_feed=no
13226 rm -f core conftest.err conftest.$ac_objext \
13227 conftest$ac_exeext conftest.$ac_ext
13228 LIBS=$ac_check_lib_save_LIBS
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13231 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13232 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13234 else
13235 MPG123_LIBS=""
13238 else
13239 MPG123_CFLAGS=""
13240 MPG123_LIBS=""
13242 CPPFLAGS=$ac_save_CPPFLAGS
13243 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13244 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13247 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13248 case "x$with_mpg123" in
13249 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13250 xno) ;;
13251 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13252 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13253 esac
13255 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}
13257 if test "$ac_cv_header_AL_al_h" = "yes"
13258 then
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13260 $as_echo_n "checking for -lopenal... " >&6; }
13261 if ${ac_cv_lib_soname_openal+:} false; then :
13262 $as_echo_n "(cached) " >&6
13263 else
13264 ac_check_soname_save_LIBS=$LIBS
13265 LIBS="-lopenal $LIBS"
13266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13267 /* end confdefs.h. */
13269 /* Override any GCC internal prototype to avoid an error.
13270 Use char because int might match the return type of a GCC
13271 builtin and then its argument prototype would still apply. */
13272 #ifdef __cplusplus
13273 extern "C"
13274 #endif
13275 char alGetSource3i ();
13277 main ()
13279 return alGetSource3i ();
13281 return 0;
13283 _ACEOF
13284 if ac_fn_c_try_link "$LINENO"; then :
13285 case "$LIBEXT" in
13286 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13287 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'` ;;
13288 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13289 if ${ac_cv_lib_soname_openal:+false} :; then :
13290 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13291 fi ;;
13292 esac
13294 rm -f core conftest.err conftest.$ac_objext \
13295 conftest$ac_exeext conftest.$ac_ext
13296 LIBS=$ac_check_soname_save_LIBS
13298 if ${ac_cv_lib_soname_openal:+false} :; then :
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13300 $as_echo "not found" >&6; }
13302 else
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13304 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13306 cat >>confdefs.h <<_ACEOF
13307 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13308 _ACEOF
13310 OPENAL_LIBS="-lopenal"
13312 ac_cv_lib_openal=yes
13314 cat >>confdefs.h <<_ACEOF
13315 #define HAVE_OPENAL 1
13316 _ACEOF
13320 if test "x$ac_cv_lib_openal" != xyes; then :
13321 case "x$with_openal" in
13322 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13323 xno) ;;
13324 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13325 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13326 esac
13328 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13330 if test "$ac_cv_header_kstat_h" = "yes"
13331 then
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13333 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13334 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13335 $as_echo_n "(cached) " >&6
13336 else
13337 ac_check_lib_save_LIBS=$LIBS
13338 LIBS="-lkstat $LIBS"
13339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13340 /* end confdefs.h. */
13342 /* Override any GCC internal prototype to avoid an error.
13343 Use char because int might match the return type of a GCC
13344 builtin and then its argument prototype would still apply. */
13345 #ifdef __cplusplus
13346 extern "C"
13347 #endif
13348 char kstat_open ();
13350 main ()
13352 return kstat_open ();
13354 return 0;
13356 _ACEOF
13357 if ac_fn_c_try_link "$LINENO"; then :
13358 ac_cv_lib_kstat_kstat_open=yes
13359 else
13360 ac_cv_lib_kstat_kstat_open=no
13362 rm -f core conftest.err conftest.$ac_objext \
13363 conftest$ac_exeext conftest.$ac_ext
13364 LIBS=$ac_check_lib_save_LIBS
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13367 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13368 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13370 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13372 KSTAT_LIBS="-lkstat"
13378 if test "$ac_cv_header_libprocstat_h" = "yes"
13379 then
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13381 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13382 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13383 $as_echo_n "(cached) " >&6
13384 else
13385 ac_check_lib_save_LIBS=$LIBS
13386 LIBS="-lprocstat $LIBS"
13387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13388 /* end confdefs.h. */
13390 /* Override any GCC internal prototype to avoid an error.
13391 Use char because int might match the return type of a GCC
13392 builtin and then its argument prototype would still apply. */
13393 #ifdef __cplusplus
13394 extern "C"
13395 #endif
13396 char procstat_open_sysctl ();
13398 main ()
13400 return procstat_open_sysctl ();
13402 return 0;
13404 _ACEOF
13405 if ac_fn_c_try_link "$LINENO"; then :
13406 ac_cv_lib_procstat_procstat_open_sysctl=yes
13407 else
13408 ac_cv_lib_procstat_procstat_open_sysctl=no
13410 rm -f core conftest.err conftest.$ac_objext \
13411 conftest$ac_exeext conftest.$ac_ext
13412 LIBS=$ac_check_lib_save_LIBS
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13415 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13416 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13418 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13420 PROCSTAT_LIBS="-lprocstat"
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13427 $as_echo_n "checking for -lodbc... " >&6; }
13428 if ${ac_cv_lib_soname_odbc+:} false; then :
13429 $as_echo_n "(cached) " >&6
13430 else
13431 ac_check_soname_save_LIBS=$LIBS
13432 LIBS="-lodbc $LIBS"
13433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13434 /* end confdefs.h. */
13436 /* Override any GCC internal prototype to avoid an error.
13437 Use char because int might match the return type of a GCC
13438 builtin and then its argument prototype would still apply. */
13439 #ifdef __cplusplus
13440 extern "C"
13441 #endif
13442 char SQLConnect ();
13444 main ()
13446 return SQLConnect ();
13448 return 0;
13450 _ACEOF
13451 if ac_fn_c_try_link "$LINENO"; then :
13452 case "$LIBEXT" in
13453 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13454 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'` ;;
13455 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13456 if ${ac_cv_lib_soname_odbc:+false} :; then :
13457 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13458 fi ;;
13459 esac
13461 rm -f core conftest.err conftest.$ac_objext \
13462 conftest$ac_exeext conftest.$ac_ext
13463 LIBS=$ac_check_soname_save_LIBS
13465 if ${ac_cv_lib_soname_odbc:+false} :; then :
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13467 $as_echo "not found" >&6; }
13468 cat >>confdefs.h <<_ACEOF
13469 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13470 _ACEOF
13472 else
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13474 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13476 cat >>confdefs.h <<_ACEOF
13477 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13478 _ACEOF
13483 if test "x$with_netapi" != "xno"
13484 then
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13486 $as_echo_n "checking for -lnetapi... " >&6; }
13487 if ${ac_cv_lib_soname_netapi+:} false; then :
13488 $as_echo_n "(cached) " >&6
13489 else
13490 ac_check_soname_save_LIBS=$LIBS
13491 LIBS="-lnetapi $LIBS"
13492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13493 /* end confdefs.h. */
13495 /* Override any GCC internal prototype to avoid an error.
13496 Use char because int might match the return type of a GCC
13497 builtin and then its argument prototype would still apply. */
13498 #ifdef __cplusplus
13499 extern "C"
13500 #endif
13501 char libnetapi_init ();
13503 main ()
13505 return libnetapi_init ();
13507 return 0;
13509 _ACEOF
13510 if ac_fn_c_try_link "$LINENO"; then :
13511 case "$LIBEXT" in
13512 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13513 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'` ;;
13514 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13515 if ${ac_cv_lib_soname_netapi:+false} :; then :
13516 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13517 fi ;;
13518 esac
13520 rm -f core conftest.err conftest.$ac_objext \
13521 conftest$ac_exeext conftest.$ac_ext
13522 LIBS=$ac_check_soname_save_LIBS
13524 if ${ac_cv_lib_soname_netapi:+false} :; then :
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13526 $as_echo "not found" >&6; }
13527 cat >>confdefs.h <<_ACEOF
13528 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13529 _ACEOF
13531 else
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13533 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13535 cat >>confdefs.h <<_ACEOF
13536 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13537 _ACEOF
13543 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13544 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13545 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13546 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13548 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13549 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13550 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13551 then
13552 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13556 EXTRACFLAGS=""
13558 if test "x${GCC}" = "xyes"
13559 then
13560 EXTRACFLAGS="-Wall -pipe"
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13563 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13564 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13565 $as_echo_n "(cached) " >&6
13566 else
13567 if test "$cross_compiling" = yes; then :
13568 ac_cv_c_gcc_strength_bug="yes"
13569 else
13570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13571 /* end confdefs.h. */
13572 int L[4] = {0,1,2,3};
13574 main ()
13576 static int Array[3];
13577 unsigned int B = 3;
13578 int i;
13579 for(i=0; i<B; i++) Array[i] = i - 3;
13580 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13581 L[i] = 4;
13582 return (Array[1] != -2 || L[2] != 3)
13584 return 0;
13586 _ACEOF
13587 if ac_fn_c_try_run "$LINENO"; then :
13588 ac_cv_c_gcc_strength_bug="no"
13589 else
13590 ac_cv_c_gcc_strength_bug="yes"
13592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13593 conftest.$ac_objext conftest.beam conftest.$ac_ext
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13598 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13599 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13600 then
13601 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13605 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13606 if ${ac_cv_cflags__fno_builtin+:} false; then :
13607 $as_echo_n "(cached) " >&6
13608 else
13609 ac_wine_try_cflags_saved=$CFLAGS
13610 CFLAGS="$CFLAGS -fno-builtin"
13611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13612 /* end confdefs.h. */
13613 int main(int argc, char **argv) { return 0; }
13614 _ACEOF
13615 if ac_fn_c_try_link "$LINENO"; then :
13616 ac_cv_cflags__fno_builtin=yes
13617 else
13618 ac_cv_cflags__fno_builtin=no
13620 rm -f core conftest.err conftest.$ac_objext \
13621 conftest$ac_exeext conftest.$ac_ext
13622 CFLAGS=$ac_wine_try_cflags_saved
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13625 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13626 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13627 BUILTINFLAG="-fno-builtin"
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13631 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13632 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13633 $as_echo_n "(cached) " >&6
13634 else
13635 ac_wine_try_cflags_saved=$CFLAGS
13636 CFLAGS="$CFLAGS -fno-strict-aliasing"
13637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13638 /* end confdefs.h. */
13639 int main(int argc, char **argv) { return 0; }
13640 _ACEOF
13641 if ac_fn_c_try_link "$LINENO"; then :
13642 ac_cv_cflags__fno_strict_aliasing=yes
13643 else
13644 ac_cv_cflags__fno_strict_aliasing=no
13646 rm -f core conftest.err conftest.$ac_objext \
13647 conftest$ac_exeext conftest.$ac_ext
13648 CFLAGS=$ac_wine_try_cflags_saved
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13651 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13652 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13653 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13655 saved_CFLAGS=$CFLAGS
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13657 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13658 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13659 $as_echo_n "(cached) " >&6
13660 else
13661 ac_wine_try_cflags_saved=$CFLAGS
13662 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13664 /* end confdefs.h. */
13665 int main(int argc, char **argv) { return 0; }
13666 _ACEOF
13667 if ac_fn_c_try_link "$LINENO"; then :
13668 ac_cv_cflags__Werror_unknown_warning_option=yes
13669 else
13670 ac_cv_cflags__Werror_unknown_warning_option=no
13672 rm -f core conftest.err conftest.$ac_objext \
13673 conftest$ac_exeext conftest.$ac_ext
13674 CFLAGS=$ac_wine_try_cflags_saved
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13677 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13678 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13679 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13682 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13683 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13684 $as_echo_n "(cached) " >&6
13685 else
13686 ac_wine_try_cflags_saved=$CFLAGS
13687 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13689 /* end confdefs.h. */
13690 int main(int argc, char **argv) { return 0; }
13691 _ACEOF
13692 if ac_fn_c_try_link "$LINENO"; then :
13693 ac_cv_cflags__Wdeclaration_after_statement=yes
13694 else
13695 ac_cv_cflags__Wdeclaration_after_statement=no
13697 rm -f core conftest.err conftest.$ac_objext \
13698 conftest$ac_exeext conftest.$ac_ext
13699 CFLAGS=$ac_wine_try_cflags_saved
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13702 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13703 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13704 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13707 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13708 if ${ac_cv_cflags__Wempty_body+:} false; then :
13709 $as_echo_n "(cached) " >&6
13710 else
13711 ac_wine_try_cflags_saved=$CFLAGS
13712 CFLAGS="$CFLAGS -Wempty-body"
13713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13714 /* end confdefs.h. */
13715 int main(int argc, char **argv) { return 0; }
13716 _ACEOF
13717 if ac_fn_c_try_link "$LINENO"; then :
13718 ac_cv_cflags__Wempty_body=yes
13719 else
13720 ac_cv_cflags__Wempty_body=no
13722 rm -f core conftest.err conftest.$ac_objext \
13723 conftest$ac_exeext conftest.$ac_ext
13724 CFLAGS=$ac_wine_try_cflags_saved
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13727 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13728 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13729 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13732 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13733 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13734 $as_echo_n "(cached) " >&6
13735 else
13736 ac_wine_try_cflags_saved=$CFLAGS
13737 CFLAGS="$CFLAGS -Wignored-qualifiers"
13738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13739 /* end confdefs.h. */
13740 int main(int argc, char **argv) { return 0; }
13741 _ACEOF
13742 if ac_fn_c_try_link "$LINENO"; then :
13743 ac_cv_cflags__Wignored_qualifiers=yes
13744 else
13745 ac_cv_cflags__Wignored_qualifiers=no
13747 rm -f core conftest.err conftest.$ac_objext \
13748 conftest$ac_exeext conftest.$ac_ext
13749 CFLAGS=$ac_wine_try_cflags_saved
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13752 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13753 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13754 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13757 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13758 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13759 $as_echo_n "(cached) " >&6
13760 else
13761 ac_wine_try_cflags_saved=$CFLAGS
13762 CFLAGS="$CFLAGS -Wstrict-prototypes"
13763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13764 /* end confdefs.h. */
13765 int main(int argc, char **argv) { return 0; }
13766 _ACEOF
13767 if ac_fn_c_try_link "$LINENO"; then :
13768 ac_cv_cflags__Wstrict_prototypes=yes
13769 else
13770 ac_cv_cflags__Wstrict_prototypes=no
13772 rm -f core conftest.err conftest.$ac_objext \
13773 conftest$ac_exeext conftest.$ac_ext
13774 CFLAGS=$ac_wine_try_cflags_saved
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13777 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13778 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13779 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13782 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13783 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13784 $as_echo_n "(cached) " >&6
13785 else
13786 ac_wine_try_cflags_saved=$CFLAGS
13787 CFLAGS="$CFLAGS -Wtype-limits"
13788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13789 /* end confdefs.h. */
13790 int main(int argc, char **argv) { return 0; }
13791 _ACEOF
13792 if ac_fn_c_try_link "$LINENO"; then :
13793 ac_cv_cflags__Wtype_limits=yes
13794 else
13795 ac_cv_cflags__Wtype_limits=no
13797 rm -f core conftest.err conftest.$ac_objext \
13798 conftest$ac_exeext conftest.$ac_ext
13799 CFLAGS=$ac_wine_try_cflags_saved
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13802 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13803 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13804 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13807 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13808 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13809 $as_echo_n "(cached) " >&6
13810 else
13811 ac_wine_try_cflags_saved=$CFLAGS
13812 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13814 /* end confdefs.h. */
13815 int main(int argc, char **argv) { return 0; }
13816 _ACEOF
13817 if ac_fn_c_try_link "$LINENO"; then :
13818 ac_cv_cflags__Wunused_but_set_parameter=yes
13819 else
13820 ac_cv_cflags__Wunused_but_set_parameter=no
13822 rm -f core conftest.err conftest.$ac_objext \
13823 conftest$ac_exeext conftest.$ac_ext
13824 CFLAGS=$ac_wine_try_cflags_saved
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13827 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13828 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13829 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13832 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13833 if ${ac_cv_cflags__Wvla+:} false; then :
13834 $as_echo_n "(cached) " >&6
13835 else
13836 ac_wine_try_cflags_saved=$CFLAGS
13837 CFLAGS="$CFLAGS -Wvla"
13838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13839 /* end confdefs.h. */
13840 int main(int argc, char **argv) { return 0; }
13841 _ACEOF
13842 if ac_fn_c_try_link "$LINENO"; then :
13843 ac_cv_cflags__Wvla=yes
13844 else
13845 ac_cv_cflags__Wvla=no
13847 rm -f core conftest.err conftest.$ac_objext \
13848 conftest$ac_exeext conftest.$ac_ext
13849 CFLAGS=$ac_wine_try_cflags_saved
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13852 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13853 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13854 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13857 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13858 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13859 $as_echo_n "(cached) " >&6
13860 else
13861 ac_wine_try_cflags_saved=$CFLAGS
13862 CFLAGS="$CFLAGS -Wwrite-strings"
13863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13864 /* end confdefs.h. */
13865 int main(int argc, char **argv) { return 0; }
13866 _ACEOF
13867 if ac_fn_c_try_link "$LINENO"; then :
13868 ac_cv_cflags__Wwrite_strings=yes
13869 else
13870 ac_cv_cflags__Wwrite_strings=no
13872 rm -f core conftest.err conftest.$ac_objext \
13873 conftest$ac_exeext conftest.$ac_ext
13874 CFLAGS=$ac_wine_try_cflags_saved
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13877 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13878 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13879 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13883 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13884 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13885 $as_echo_n "(cached) " >&6
13886 else
13887 ac_wine_try_cflags_saved=$CFLAGS
13888 CFLAGS="$CFLAGS -Wpointer-arith"
13889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13890 /* end confdefs.h. */
13891 int main(int argc, char **argv) { return 0; }
13892 _ACEOF
13893 if ac_fn_c_try_link "$LINENO"; then :
13894 ac_cv_cflags__Wpointer_arith=yes
13895 else
13896 ac_cv_cflags__Wpointer_arith=no
13898 rm -f core conftest.err conftest.$ac_objext \
13899 conftest$ac_exeext conftest.$ac_ext
13900 CFLAGS=$ac_wine_try_cflags_saved
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13903 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13904 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13905 saved_string_h_CFLAGS=$CFLAGS
13906 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13908 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13909 if ${ac_cv_c_string_h_warnings+:} false; then :
13910 $as_echo_n "(cached) " >&6
13911 else
13912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13913 /* end confdefs.h. */
13914 #include <string.h>
13916 main ()
13920 return 0;
13922 _ACEOF
13923 if ac_fn_c_try_compile "$LINENO"; then :
13924 ac_cv_c_string_h_warnings=no
13925 else
13926 ac_cv_c_string_h_warnings=yes
13928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13931 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13932 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13933 CFLAGS=$saved_string_h_CFLAGS
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13937 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13938 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13939 $as_echo_n "(cached) " >&6
13940 else
13941 ac_wine_try_cflags_saved=$CFLAGS
13942 CFLAGS="$CFLAGS -Wlogical-op"
13943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13944 /* end confdefs.h. */
13945 int main(int argc, char **argv) { return 0; }
13946 _ACEOF
13947 if ac_fn_c_try_link "$LINENO"; then :
13948 ac_cv_cflags__Wlogical_op=yes
13949 else
13950 ac_cv_cflags__Wlogical_op=no
13952 rm -f core conftest.err conftest.$ac_objext \
13953 conftest$ac_exeext conftest.$ac_ext
13954 CFLAGS=$ac_wine_try_cflags_saved
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13957 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13958 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13959 saved_string_h_CFLAGS=$CFLAGS
13960 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13962 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13963 if ${ac_cv_c_logicalop_noisy+:} false; then :
13964 $as_echo_n "(cached) " >&6
13965 else
13966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13967 /* end confdefs.h. */
13968 #include <string.h>
13969 char*f(const char *h,char n) {return strchr(h,n);}
13971 main ()
13975 return 0;
13977 _ACEOF
13978 if ac_fn_c_try_compile "$LINENO"; then :
13979 ac_cv_c_logicalop_noisy=no
13980 else
13981 ac_cv_c_logicalop_noisy=yes
13983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13986 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13987 CFLAGS=$saved_string_h_CFLAGS
13988 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13991 CFLAGS=$saved_CFLAGS
13993 for ac_flag in $CFLAGS; do
13994 case $ac_flag in
13995 -g) case $host_os in
13996 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13997 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13998 if ${ac_cv_cflags__gstabsp+:} false; then :
13999 $as_echo_n "(cached) " >&6
14000 else
14001 ac_wine_try_cflags_saved=$CFLAGS
14002 CFLAGS="$CFLAGS -gstabs+"
14003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14004 /* end confdefs.h. */
14005 int main(int argc, char **argv) { return 0; }
14006 _ACEOF
14007 if ac_fn_c_try_link "$LINENO"; then :
14008 ac_cv_cflags__gstabsp=yes
14009 else
14010 ac_cv_cflags__gstabsp=no
14012 rm -f core conftest.err conftest.$ac_objext \
14013 conftest$ac_exeext conftest.$ac_ext
14014 CFLAGS=$ac_wine_try_cflags_saved
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14017 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14018 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14019 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14020 fi ;;
14021 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14022 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14023 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14024 $as_echo_n "(cached) " >&6
14025 else
14026 ac_wine_try_cflags_saved=$CFLAGS
14027 CFLAGS="$CFLAGS -gdwarf-2"
14028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14029 /* end confdefs.h. */
14030 int main(int argc, char **argv) { return 0; }
14031 _ACEOF
14032 if ac_fn_c_try_link "$LINENO"; then :
14033 ac_cv_cflags__gdwarf_2=yes
14034 else
14035 ac_cv_cflags__gdwarf_2=no
14037 rm -f core conftest.err conftest.$ac_objext \
14038 conftest$ac_exeext conftest.$ac_ext
14039 CFLAGS=$ac_wine_try_cflags_saved
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14042 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14043 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14044 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14047 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14048 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14049 $as_echo_n "(cached) " >&6
14050 else
14051 ac_wine_try_cflags_saved=$CFLAGS
14052 CFLAGS="$CFLAGS -gstrict-dwarf"
14053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14054 /* end confdefs.h. */
14055 int main(int argc, char **argv) { return 0; }
14056 _ACEOF
14057 if ac_fn_c_try_link "$LINENO"; then :
14058 ac_cv_cflags__gstrict_dwarf=yes
14059 else
14060 ac_cv_cflags__gstrict_dwarf=no
14062 rm -f core conftest.err conftest.$ac_objext \
14063 conftest$ac_exeext conftest.$ac_ext
14064 CFLAGS=$ac_wine_try_cflags_saved
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14067 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14068 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14069 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14070 fi ;;
14071 esac ;;
14072 esac
14073 done
14075 case $host_cpu in
14076 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14077 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14078 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14079 $as_echo_n "(cached) " >&6
14080 else
14081 ac_wine_try_cflags_saved=$CFLAGS
14082 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14085 int main(int argc, char **argv) { return 0; }
14086 _ACEOF
14087 if ac_fn_c_try_link "$LINENO"; then :
14088 ac_cv_cflags__fno_omit_frame_pointer=yes
14089 else
14090 ac_cv_cflags__fno_omit_frame_pointer=no
14092 rm -f core conftest.err conftest.$ac_objext \
14093 conftest$ac_exeext conftest.$ac_ext
14094 CFLAGS=$ac_wine_try_cflags_saved
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14097 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14098 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14099 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14100 fi ;;
14101 esac
14103 case $host in
14104 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14105 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14106 if ${ac_cv_cflags__Wno_format+:} false; then :
14107 $as_echo_n "(cached) " >&6
14108 else
14109 ac_wine_try_cflags_saved=$CFLAGS
14110 CFLAGS="$CFLAGS -Wno-format"
14111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14112 /* end confdefs.h. */
14113 int main(int argc, char **argv) { return 0; }
14114 _ACEOF
14115 if ac_fn_c_try_link "$LINENO"; then :
14116 ac_cv_cflags__Wno_format=yes
14117 else
14118 ac_cv_cflags__Wno_format=no
14120 rm -f core conftest.err conftest.$ac_objext \
14121 conftest$ac_exeext conftest.$ac_ext
14122 CFLAGS=$ac_wine_try_cflags_saved
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14125 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14126 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14127 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14128 fi ;;
14129 esac
14131 if test "x$enable_maintainer_mode" = "xyes"
14132 then
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14134 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14135 if ${ac_cv_cflags__Werror+:} false; then :
14136 $as_echo_n "(cached) " >&6
14137 else
14138 ac_wine_try_cflags_saved=$CFLAGS
14139 CFLAGS="$CFLAGS -Werror"
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__Werror=yes
14146 else
14147 ac_cv_cflags__Werror=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__Werror" >&5
14154 $as_echo "$ac_cv_cflags__Werror" >&6; }
14155 if test "x$ac_cv_cflags__Werror" = xyes; then :
14156 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14160 saved_CFLAGS="$CFLAGS"
14161 CFLAGS="$CFLAGS -Werror"
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14163 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14164 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14165 $as_echo_n "(cached) " >&6
14166 else
14167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14168 /* end confdefs.h. */
14169 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14171 main ()
14175 return 0;
14177 _ACEOF
14178 if ac_fn_c_try_compile "$LINENO"; then :
14179 ac_cv_have_ms_hook_prologue="yes"
14180 else
14181 ac_cv_have_ms_hook_prologue="no"
14183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14186 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14187 CFLAGS="$saved_CFLAGS"
14188 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14189 then
14191 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14193 else
14194 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14201 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14202 if ${ac_cv_c_fortify_enabled+:} false; then :
14203 $as_echo_n "(cached) " >&6
14204 else
14205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14206 /* end confdefs.h. */
14207 #include <string.h>
14209 main ()
14211 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14212 #error Fortify enabled
14213 #endif
14215 return 0;
14217 _ACEOF
14218 if ac_fn_c_try_compile "$LINENO"; then :
14219 ac_cv_c_fortify_enabled=no
14220 else
14221 ac_cv_c_fortify_enabled=yes
14223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14226 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14227 if test "$ac_cv_c_fortify_enabled" = yes
14228 then
14229 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14234 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14235 if ${ac_cv_c_extern_prefix+:} false; then :
14236 $as_echo_n "(cached) " >&6
14237 else
14238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14239 /* end confdefs.h. */
14240 extern int ac_test;
14242 main ()
14244 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14246 return 0;
14248 _ACEOF
14249 if ac_fn_c_try_link "$LINENO"; then :
14250 ac_cv_c_extern_prefix="yes"
14251 else
14252 ac_cv_c_extern_prefix="no"
14254 rm -f core conftest.err conftest.$ac_objext \
14255 conftest$ac_exeext conftest.$ac_ext
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14258 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14260 case $host_cpu in
14261 *i[3456789]86*)
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14263 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14264 if ${ac_cv_c_stdcall_suffix+:} false; then :
14265 $as_echo_n "(cached) " >&6
14266 else
14267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14268 /* end confdefs.h. */
14269 #ifndef _MSC_VER
14270 #define __stdcall __attribute__((__stdcall__))
14271 #endif
14272 int __stdcall ac_test(int i) { return i; }
14274 main ()
14276 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14278 return 0;
14280 _ACEOF
14281 if ac_fn_c_try_link "$LINENO"; then :
14282 ac_cv_c_stdcall_suffix="yes"
14283 else
14284 ac_cv_c_stdcall_suffix="no"
14286 rm -f core conftest.err conftest.$ac_objext \
14287 conftest$ac_exeext conftest.$ac_ext
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14290 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14291 *) ac_cv_c_stdcall_suffix="no" ;;
14292 esac
14295 if test "$ac_cv_c_extern_prefix" = "yes"
14296 then
14297 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14299 asm_name_prefix="_"
14300 else
14301 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14303 asm_name_prefix=""
14307 if test "$ac_cv_c_stdcall_suffix" = "yes"
14308 then
14309 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14311 else
14312 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14318 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14319 if ${ac_cv_asm_func_def+:} false; then :
14320 $as_echo_n "(cached) " >&6
14321 else
14322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14323 /* end confdefs.h. */
14326 main ()
14328 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14330 return 0;
14332 _ACEOF
14333 if ac_fn_c_try_link "$LINENO"; then :
14334 ac_cv_asm_func_def=".def"
14335 else
14336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14340 main ()
14342 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14344 return 0;
14346 _ACEOF
14347 if ac_fn_c_try_link "$LINENO"; then :
14348 ac_cv_asm_func_def=".type @function"
14349 else
14350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14351 /* end confdefs.h. */
14354 main ()
14356 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14358 return 0;
14360 _ACEOF
14361 if ac_fn_c_try_link "$LINENO"; then :
14362 ac_cv_asm_func_def=".type 2"
14363 else
14364 ac_cv_asm_func_def="unknown"
14366 rm -f core conftest.err conftest.$ac_objext \
14367 conftest$ac_exeext conftest.$ac_ext
14369 rm -f core conftest.err conftest.$ac_objext \
14370 conftest$ac_exeext conftest.$ac_ext
14372 rm -f core conftest.err conftest.$ac_objext \
14373 conftest$ac_exeext conftest.$ac_ext
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14376 $as_echo "$ac_cv_asm_func_def" >&6; }
14379 case "$ac_cv_asm_func_def" in
14380 ".def")
14381 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14383 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14384 ".type @function")
14385 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14387 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14388 ".type 2")
14389 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14391 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14393 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14395 asm_func_header="" ;;
14396 esac
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14399 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14400 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14401 $as_echo_n "(cached) " >&6
14402 else
14403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14404 /* end confdefs.h. */
14405 asm(".text\n\t.long 0");
14407 main ()
14411 return 0;
14413 _ACEOF
14414 if ac_fn_c_try_compile "$LINENO"; then :
14415 ac_cv_c_asm_outside_funcs="yes"
14416 else
14417 ac_cv_c_asm_outside_funcs="no"
14419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14422 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14425 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14426 if ${ac_cv_c_dot_previous+:} false; then :
14427 $as_echo_n "(cached) " >&6
14428 else
14429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14430 /* end confdefs.h. */
14433 main ()
14435 asm(".text\nac_test:\t.long 0\n\t.previous");
14437 return 0;
14439 _ACEOF
14440 if ac_fn_c_try_link "$LINENO"; then :
14441 ac_cv_c_dot_previous="yes"
14442 else
14443 ac_cv_c_dot_previous="no"
14445 rm -f core conftest.err conftest.$ac_objext \
14446 conftest$ac_exeext conftest.$ac_ext
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14449 $as_echo "$ac_cv_c_dot_previous" >&6; }
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14452 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14453 if ${ac_cv_c_cfi_support+:} false; then :
14454 $as_echo_n "(cached) " >&6
14455 else
14456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14457 /* end confdefs.h. */
14458 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14460 main ()
14464 return 0;
14466 _ACEOF
14467 if ac_fn_c_try_compile "$LINENO"; then :
14468 ac_cv_c_cfi_support="yes"
14469 else
14470 ac_cv_c_cfi_support="no"
14472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14475 $as_echo "$ac_cv_c_cfi_support" >&6; }
14477 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14478 asm_func_trailer=""
14479 if test "$ac_cv_c_dot_previous" = "yes"
14480 then
14481 asm_func_trailer="\\n\\t.previous"
14483 if test "$ac_cv_c_cfi_support" = "yes"
14484 then
14485 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14486 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14488 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14490 UNWINDFLAGS=-fasynchronous-unwind-tables
14492 else
14493 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14497 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14500 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14501 then
14502 cat >>confdefs.h <<_ACEOF
14503 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14504 _ACEOF
14506 else
14507 cat >>confdefs.h <<_ACEOF
14508 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14509 _ACEOF
14513 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14516 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14520 case $build_os in
14521 cygwin*|mingw32*) TOOLSEXT=".exe"
14523 esac
14525 case $host_os in
14526 linux*)
14527 case $host_cpu in
14528 *i[3456789]86*|x86_64*)
14529 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14530 loader_programs="$loader_programs $wine_binary-preloader"
14531 as_fn_append LOADER_RULES "
14532 $wine_binary-preloader: preloader.o
14533 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14535 install install-lib:: $wine_binary-preloader
14536 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14538 uninstall::
14539 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14541 preloader_EXTRADEFS = $BUILTINFLAG
14542 " ;;
14543 esac
14545 esac
14546 as_fn_append LOADER_RULES "
14547 PROGRAMS = $loader_programs
14551 ac_save_CFLAGS="$CFLAGS"
14552 CFLAGS="$CFLAGS $BUILTINFLAG"
14553 for ac_func in \
14554 __res_get_state \
14555 __res_getservers \
14556 _finite \
14557 _isnan \
14558 _pclose \
14559 _popen \
14560 _snprintf \
14561 _spawnvp \
14562 _strdup \
14563 _stricmp \
14564 _strnicmp \
14565 _strtoi64 \
14566 _strtoui64 \
14567 _vsnprintf \
14568 asctime_r \
14569 chsize \
14570 dlopen \
14571 epoll_create \
14572 ffs \
14573 fnmatch \
14574 fork \
14575 fpclass \
14576 fstatfs \
14577 fstatvfs \
14578 ftruncate \
14579 futimens \
14580 futimes \
14581 futimesat \
14582 getattrlist \
14583 getdirentries \
14584 getopt_long_only \
14585 getpwuid \
14586 gettimeofday \
14587 getuid \
14588 if_nameindex \
14589 kqueue \
14590 lstat \
14591 memmove \
14592 mmap \
14593 pclose \
14594 pipe2 \
14595 poll \
14596 popen \
14597 port_create \
14598 prctl \
14599 pread \
14600 proc_pidinfo \
14601 pwrite \
14602 readdir \
14603 readlink \
14604 sched_yield \
14605 select \
14606 setproctitle \
14607 setrlimit \
14608 settimeofday \
14609 sigaltstack \
14610 sigprocmask \
14611 snprintf \
14612 statfs \
14613 statvfs \
14614 strcasecmp \
14615 strdup \
14616 strerror \
14617 strncasecmp \
14618 strtold \
14619 strtoll \
14620 strtoull \
14621 symlink \
14622 tcdrain \
14623 thr_kill2 \
14624 timegm \
14625 usleep \
14626 vsnprintf
14628 do :
14629 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14630 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14631 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14632 cat >>confdefs.h <<_ACEOF
14633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14634 _ACEOF
14637 done
14639 CFLAGS="$ac_save_CFLAGS"
14641 if test "$ac_cv_func_dlopen" = no
14642 then
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14644 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14645 if ${ac_cv_lib_dl_dlopen+:} false; then :
14646 $as_echo_n "(cached) " >&6
14647 else
14648 ac_check_lib_save_LIBS=$LIBS
14649 LIBS="-ldl $LIBS"
14650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14651 /* end confdefs.h. */
14653 /* Override any GCC internal prototype to avoid an error.
14654 Use char because int might match the return type of a GCC
14655 builtin and then its argument prototype would still apply. */
14656 #ifdef __cplusplus
14657 extern "C"
14658 #endif
14659 char dlopen ();
14661 main ()
14663 return dlopen ();
14665 return 0;
14667 _ACEOF
14668 if ac_fn_c_try_link "$LINENO"; then :
14669 ac_cv_lib_dl_dlopen=yes
14670 else
14671 ac_cv_lib_dl_dlopen=no
14673 rm -f core conftest.err conftest.$ac_objext \
14674 conftest$ac_exeext conftest.$ac_ext
14675 LIBS=$ac_check_lib_save_LIBS
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14678 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14679 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14680 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14681 DL_LIBS="-ldl"
14686 ac_wine_check_funcs_save_LIBS="$LIBS"
14687 LIBS="$LIBS $DL_LIBS"
14688 for ac_func in dladdr
14689 do :
14690 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14691 if test "x$ac_cv_func_dladdr" = xyes; then :
14692 cat >>confdefs.h <<_ACEOF
14693 #define HAVE_DLADDR 1
14694 _ACEOF
14697 done
14699 LIBS="$ac_wine_check_funcs_save_LIBS"
14701 if test "$ac_cv_func_poll" = no
14702 then
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14704 $as_echo_n "checking for poll in -lpoll... " >&6; }
14705 if ${ac_cv_lib_poll_poll+:} false; then :
14706 $as_echo_n "(cached) " >&6
14707 else
14708 ac_check_lib_save_LIBS=$LIBS
14709 LIBS="-lpoll $LIBS"
14710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14711 /* end confdefs.h. */
14713 /* Override any GCC internal prototype to avoid an error.
14714 Use char because int might match the return type of a GCC
14715 builtin and then its argument prototype would still apply. */
14716 #ifdef __cplusplus
14717 extern "C"
14718 #endif
14719 char poll ();
14721 main ()
14723 return poll ();
14725 return 0;
14727 _ACEOF
14728 if ac_fn_c_try_link "$LINENO"; then :
14729 ac_cv_lib_poll_poll=yes
14730 else
14731 ac_cv_lib_poll_poll=no
14733 rm -f core conftest.err conftest.$ac_objext \
14734 conftest$ac_exeext conftest.$ac_ext
14735 LIBS=$ac_check_lib_save_LIBS
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14738 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14739 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14740 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14741 POLL_LIBS="-lpoll"
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14748 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14749 if ${ac_cv_search_gethostbyname+:} false; then :
14750 $as_echo_n "(cached) " >&6
14751 else
14752 ac_func_search_save_LIBS=$LIBS
14753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h. */
14756 /* Override any GCC internal prototype to avoid an error.
14757 Use char because int might match the return type of a GCC
14758 builtin and then its argument prototype would still apply. */
14759 #ifdef __cplusplus
14760 extern "C"
14761 #endif
14762 char gethostbyname ();
14764 main ()
14766 return gethostbyname ();
14768 return 0;
14770 _ACEOF
14771 for ac_lib in '' nsl; do
14772 if test -z "$ac_lib"; then
14773 ac_res="none required"
14774 else
14775 ac_res=-l$ac_lib
14776 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14778 if ac_fn_c_try_link "$LINENO"; then :
14779 ac_cv_search_gethostbyname=$ac_res
14781 rm -f core conftest.err conftest.$ac_objext \
14782 conftest$ac_exeext
14783 if ${ac_cv_search_gethostbyname+:} false; then :
14784 break
14786 done
14787 if ${ac_cv_search_gethostbyname+:} false; then :
14789 else
14790 ac_cv_search_gethostbyname=no
14792 rm conftest.$ac_ext
14793 LIBS=$ac_func_search_save_LIBS
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14796 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14797 ac_res=$ac_cv_search_gethostbyname
14798 if test "$ac_res" != no; then :
14799 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14805 $as_echo_n "checking for library containing connect... " >&6; }
14806 if ${ac_cv_search_connect+:} false; then :
14807 $as_echo_n "(cached) " >&6
14808 else
14809 ac_func_search_save_LIBS=$LIBS
14810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14811 /* end confdefs.h. */
14813 /* Override any GCC internal prototype to avoid an error.
14814 Use char because int might match the return type of a GCC
14815 builtin and then its argument prototype would still apply. */
14816 #ifdef __cplusplus
14817 extern "C"
14818 #endif
14819 char connect ();
14821 main ()
14823 return connect ();
14825 return 0;
14827 _ACEOF
14828 for ac_lib in '' socket; do
14829 if test -z "$ac_lib"; then
14830 ac_res="none required"
14831 else
14832 ac_res=-l$ac_lib
14833 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14835 if ac_fn_c_try_link "$LINENO"; then :
14836 ac_cv_search_connect=$ac_res
14838 rm -f core conftest.err conftest.$ac_objext \
14839 conftest$ac_exeext
14840 if ${ac_cv_search_connect+:} false; then :
14841 break
14843 done
14844 if ${ac_cv_search_connect+:} false; then :
14846 else
14847 ac_cv_search_connect=no
14849 rm conftest.$ac_ext
14850 LIBS=$ac_func_search_save_LIBS
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14853 $as_echo "$ac_cv_search_connect" >&6; }
14854 ac_res=$ac_cv_search_connect
14855 if test "$ac_res" != no; then :
14856 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14862 $as_echo_n "checking for library containing inet_aton... " >&6; }
14863 if ${ac_cv_search_inet_aton+:} false; then :
14864 $as_echo_n "(cached) " >&6
14865 else
14866 ac_func_search_save_LIBS=$LIBS
14867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14868 /* end confdefs.h. */
14870 /* Override any GCC internal prototype to avoid an error.
14871 Use char because int might match the return type of a GCC
14872 builtin and then its argument prototype would still apply. */
14873 #ifdef __cplusplus
14874 extern "C"
14875 #endif
14876 char inet_aton ();
14878 main ()
14880 return inet_aton ();
14882 return 0;
14884 _ACEOF
14885 for ac_lib in '' resolv; do
14886 if test -z "$ac_lib"; then
14887 ac_res="none required"
14888 else
14889 ac_res=-l$ac_lib
14890 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14892 if ac_fn_c_try_link "$LINENO"; then :
14893 ac_cv_search_inet_aton=$ac_res
14895 rm -f core conftest.err conftest.$ac_objext \
14896 conftest$ac_exeext
14897 if ${ac_cv_search_inet_aton+:} false; then :
14898 break
14900 done
14901 if ${ac_cv_search_inet_aton+:} false; then :
14903 else
14904 ac_cv_search_inet_aton=no
14906 rm conftest.$ac_ext
14907 LIBS=$ac_func_search_save_LIBS
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14910 $as_echo "$ac_cv_search_inet_aton" >&6; }
14911 ac_res=$ac_cv_search_inet_aton
14912 if test "$ac_res" != no; then :
14913 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14918 for ac_func in \
14919 getaddrinfo \
14920 getnameinfo \
14921 getnetbyname \
14922 getprotobyname \
14923 getprotobynumber \
14924 getservbyport \
14925 inet_addr \
14926 inet_network \
14927 inet_ntop \
14928 inet_pton \
14929 sendmsg \
14930 socketpair \
14932 do :
14933 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14934 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14935 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14936 cat >>confdefs.h <<_ACEOF
14937 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14938 _ACEOF
14941 done
14944 ac_save_LIBS=$LIBS
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14946 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14947 if ${ac_cv_search_clock_gettime+:} false; then :
14948 $as_echo_n "(cached) " >&6
14949 else
14950 ac_func_search_save_LIBS=$LIBS
14951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14952 /* end confdefs.h. */
14954 /* Override any GCC internal prototype to avoid an error.
14955 Use char because int might match the return type of a GCC
14956 builtin and then its argument prototype would still apply. */
14957 #ifdef __cplusplus
14958 extern "C"
14959 #endif
14960 char clock_gettime ();
14962 main ()
14964 return clock_gettime ();
14966 return 0;
14968 _ACEOF
14969 for ac_lib in '' rt; do
14970 if test -z "$ac_lib"; then
14971 ac_res="none required"
14972 else
14973 ac_res=-l$ac_lib
14974 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14976 if ac_fn_c_try_link "$LINENO"; then :
14977 ac_cv_search_clock_gettime=$ac_res
14979 rm -f core conftest.err conftest.$ac_objext \
14980 conftest$ac_exeext
14981 if ${ac_cv_search_clock_gettime+:} false; then :
14982 break
14984 done
14985 if ${ac_cv_search_clock_gettime+:} false; then :
14987 else
14988 ac_cv_search_clock_gettime=no
14990 rm conftest.$ac_ext
14991 LIBS=$ac_func_search_save_LIBS
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14994 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14995 ac_res=$ac_cv_search_clock_gettime
14996 if test "$ac_res" != no; then :
14997 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14999 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15001 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15005 LIBS=$ac_save_LIBS
15007 LDAP_LIBS=""
15009 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15010 then
15011 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15013 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15015 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15016 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15017 $as_echo_n "(cached) " >&6
15018 else
15019 ac_check_lib_save_LIBS=$LIBS
15020 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15022 /* end confdefs.h. */
15024 /* Override any GCC internal prototype to avoid an error.
15025 Use char because int might match the return type of a GCC
15026 builtin and then its argument prototype would still apply. */
15027 #ifdef __cplusplus
15028 extern "C"
15029 #endif
15030 char ldap_initialize ();
15032 main ()
15034 return ldap_initialize ();
15036 return 0;
15038 _ACEOF
15039 if ac_fn_c_try_link "$LINENO"; then :
15040 ac_cv_lib_ldap_r_ldap_initialize=yes
15041 else
15042 ac_cv_lib_ldap_r_ldap_initialize=no
15044 rm -f core conftest.err conftest.$ac_objext \
15045 conftest$ac_exeext conftest.$ac_ext
15046 LIBS=$ac_check_lib_save_LIBS
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15049 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15050 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15052 $as_echo_n "checking for ber_init in -llber... " >&6; }
15053 if ${ac_cv_lib_lber_ber_init+:} false; then :
15054 $as_echo_n "(cached) " >&6
15055 else
15056 ac_check_lib_save_LIBS=$LIBS
15057 LIBS="-llber $PTHREAD_LIBS $LIBS"
15058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15059 /* end confdefs.h. */
15061 /* Override any GCC internal prototype to avoid an error.
15062 Use char because int might match the return type of a GCC
15063 builtin and then its argument prototype would still apply. */
15064 #ifdef __cplusplus
15065 extern "C"
15066 #endif
15067 char ber_init ();
15069 main ()
15071 return ber_init ();
15073 return 0;
15075 _ACEOF
15076 if ac_fn_c_try_link "$LINENO"; then :
15077 ac_cv_lib_lber_ber_init=yes
15078 else
15079 ac_cv_lib_lber_ber_init=no
15081 rm -f core conftest.err conftest.$ac_objext \
15082 conftest$ac_exeext conftest.$ac_ext
15083 LIBS=$ac_check_lib_save_LIBS
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15086 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15087 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15089 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15091 LDAP_LIBS="-lldap_r -llber"
15098 ac_wine_check_funcs_save_LIBS="$LIBS"
15099 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15100 for ac_func in \
15101 ldap_count_references \
15102 ldap_first_reference \
15103 ldap_next_reference \
15104 ldap_parse_reference \
15105 ldap_parse_sort_control \
15106 ldap_parse_sortresponse_control \
15107 ldap_parse_vlv_control \
15108 ldap_parse_vlvresponse_control
15109 do :
15110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15112 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15113 cat >>confdefs.h <<_ACEOF
15114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15115 _ACEOF
15118 done
15120 LIBS="$ac_wine_check_funcs_save_LIBS"
15122 if test "x$LDAP_LIBS" = "x"; then :
15123 case "x$with_ldap" in
15124 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15125 xno) ;;
15126 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15127 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15128 esac
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15132 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15133 if ${wine_cv_one_arg_mkdir+:} false; then :
15134 $as_echo_n "(cached) " >&6
15135 else
15136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15137 /* end confdefs.h. */
15138 #include <sys/stat.h>
15140 main ()
15142 mkdir("foo");
15144 return 0;
15146 _ACEOF
15147 if ac_fn_c_try_compile "$LINENO"; then :
15148 wine_cv_one_arg_mkdir=yes
15149 else
15150 wine_cv_one_arg_mkdir=no
15152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15155 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15156 if test "$wine_cv_one_arg_mkdir" = "yes"
15157 then
15159 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15164 $as_echo_n "checking for sched_setaffinity... " >&6; }
15165 if ${wine_cv_have_sched_setaffinity+:} false; then :
15166 $as_echo_n "(cached) " >&6
15167 else
15168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15169 /* end confdefs.h. */
15170 #define _GNU_SOURCE
15171 #include <sched.h>
15173 main ()
15175 sched_setaffinity(0, 0, 0);
15177 return 0;
15179 _ACEOF
15180 if ac_fn_c_try_link "$LINENO"; then :
15181 wine_cv_have_sched_setaffinity=yes
15182 else
15183 wine_cv_have_sched_setaffinity=no
15185 rm -f core conftest.err conftest.$ac_objext \
15186 conftest$ac_exeext conftest.$ac_ext
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15189 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15190 if test "$wine_cv_have_sched_setaffinity" = "yes"
15191 then
15193 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15198 $as_echo_n "checking for fallocate... " >&6; }
15199 if ${wine_cv_have_fallocate+:} false; then :
15200 $as_echo_n "(cached) " >&6
15201 else
15202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15203 /* end confdefs.h. */
15204 #define _GNU_SOURCE
15205 #include <fcntl.h>
15207 main ()
15209 fallocate(-1, 0, 0, 0);
15211 return 0;
15213 _ACEOF
15214 if ac_fn_c_try_link "$LINENO"; then :
15215 wine_cv_have_fallocate=yes
15216 else
15217 wine_cv_have_fallocate=no
15219 rm -f core conftest.err conftest.$ac_objext \
15220 conftest$ac_exeext conftest.$ac_ext
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15223 $as_echo "$wine_cv_have_fallocate" >&6; }
15224 if test "$wine_cv_have_fallocate" = "yes"
15225 then
15227 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15233 $as_echo_n "checking for inline... " >&6; }
15234 if ${ac_cv_c_inline+:} false; then :
15235 $as_echo_n "(cached) " >&6
15236 else
15237 ac_cv_c_inline=no
15238 for ac_kw in inline __inline__ __inline; do
15239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15240 /* end confdefs.h. */
15241 #ifndef __cplusplus
15242 typedef int foo_t;
15243 static $ac_kw foo_t static_foo () {return 0; }
15244 $ac_kw foo_t foo () {return 0; }
15245 #endif
15247 _ACEOF
15248 if ac_fn_c_try_compile "$LINENO"; then :
15249 ac_cv_c_inline=$ac_kw
15251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15252 test "$ac_cv_c_inline" != no && break
15253 done
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15257 $as_echo "$ac_cv_c_inline" >&6; }
15259 case $ac_cv_c_inline in
15260 inline | yes) ;;
15262 case $ac_cv_c_inline in
15263 no) ac_val=;;
15264 *) ac_val=$ac_cv_c_inline;;
15265 esac
15266 cat >>confdefs.h <<_ACEOF
15267 #ifndef __cplusplus
15268 #define inline $ac_val
15269 #endif
15270 _ACEOF
15272 esac
15274 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15275 if test "x$ac_cv_type_mode_t" = xyes; then :
15277 cat >>confdefs.h <<_ACEOF
15278 #define HAVE_MODE_T 1
15279 _ACEOF
15283 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15284 if test "x$ac_cv_type_off_t" = xyes; then :
15286 cat >>confdefs.h <<_ACEOF
15287 #define HAVE_OFF_T 1
15288 _ACEOF
15292 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15293 if test "x$ac_cv_type_pid_t" = xyes; then :
15295 cat >>confdefs.h <<_ACEOF
15296 #define HAVE_PID_T 1
15297 _ACEOF
15301 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15302 if test "x$ac_cv_type_size_t" = xyes; then :
15304 cat >>confdefs.h <<_ACEOF
15305 #define HAVE_SIZE_T 1
15306 _ACEOF
15310 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15311 if test "x$ac_cv_type_ssize_t" = xyes; then :
15313 cat >>confdefs.h <<_ACEOF
15314 #define HAVE_SSIZE_T 1
15315 _ACEOF
15319 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15320 if test "x$ac_cv_type_long_long" = xyes; then :
15322 cat >>confdefs.h <<_ACEOF
15323 #define HAVE_LONG_LONG 1
15324 _ACEOF
15328 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15329 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15331 cat >>confdefs.h <<_ACEOF
15332 #define HAVE_FSBLKCNT_T 1
15333 _ACEOF
15337 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15338 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15340 cat >>confdefs.h <<_ACEOF
15341 #define HAVE_FSFILCNT_T 1
15342 _ACEOF
15347 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15348 #include <signal.h>
15350 if test "x$ac_cv_type_sigset_t" = xyes; then :
15352 cat >>confdefs.h <<_ACEOF
15353 #define HAVE_SIGSET_T 1
15354 _ACEOF
15359 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15361 if test "x$ac_cv_type_request_sense" = xyes; then :
15363 cat >>confdefs.h <<_ACEOF
15364 #define HAVE_REQUEST_SENSE 1
15365 _ACEOF
15371 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15372 #ifdef HAVE_SYS_SOCKET_H
15373 #include <sys/socket.h>
15374 #endif
15375 #ifdef HAVE_SYS_SOCKETVAR_H
15376 #include <sys/socketvar.h>
15377 #endif
15378 #ifdef HAVE_NET_ROUTE_H
15379 #include <net/route.h>
15380 #endif
15381 #ifdef HAVE_NETINET_IN_H
15382 #include <netinet/in.h>
15383 #endif
15384 #ifdef HAVE_NETINET_IN_SYSTM_H
15385 #include <netinet/in_systm.h>
15386 #endif
15387 #ifdef HAVE_NETINET_IP_H
15388 #include <netinet/ip.h>
15389 #endif
15390 #ifdef HAVE_NETINET_IN_PCB_H
15391 #include <netinet/in_pcb.h>
15392 #endif
15394 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15396 cat >>confdefs.h <<_ACEOF
15397 #define HAVE_STRUCT_XINPGEN 1
15398 _ACEOF
15404 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15405 #include <link.h>
15406 #endif
15407 #ifdef HAVE_SYS_LINK_H
15408 #include <sys/link.h>
15409 #endif
15411 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15413 cat >>confdefs.h <<_ACEOF
15414 #define HAVE_STRUCT_R_DEBUG 1
15415 _ACEOF
15419 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15420 #include <link.h>
15421 #endif
15422 #ifdef HAVE_SYS_LINK_H
15423 #include <sys/link.h>
15424 #endif
15426 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15428 cat >>confdefs.h <<_ACEOF
15429 #define HAVE_STRUCT_LINK_MAP 1
15430 _ACEOF
15436 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15437 #include <linux/input.h>
15438 #endif
15440 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15442 cat >>confdefs.h <<_ACEOF
15443 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15444 _ACEOF
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15451 $as_echo_n "checking for sigaddset... " >&6; }
15452 if ${wine_cv_have_sigaddset+:} false; then :
15453 $as_echo_n "(cached) " >&6
15454 else
15455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15456 /* end confdefs.h. */
15457 #include <signal.h>
15459 main ()
15461 sigset_t set; sigaddset(&set,SIGTERM);
15463 return 0;
15465 _ACEOF
15466 if ac_fn_c_try_link "$LINENO"; then :
15467 wine_cv_have_sigaddset=yes
15468 else
15469 wine_cv_have_sigaddset=no
15471 rm -f core conftest.err conftest.$ac_objext \
15472 conftest$ac_exeext conftest.$ac_ext
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15475 $as_echo "$wine_cv_have_sigaddset" >&6; }
15476 if test "$wine_cv_have_sigaddset" = "yes"
15477 then
15479 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15485 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15486 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15487 $as_echo_n "(cached) " >&6
15488 else
15489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15490 /* end confdefs.h. */
15491 #include <netdb.h>
15493 main ()
15496 char *name=0;
15497 struct hostent he;
15498 struct hostent *result;
15499 char *buf=0;
15500 int bufsize=0;
15501 int errnr;
15502 char *addr=0;
15503 int addrlen=0;
15504 int addrtype=0;
15505 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15506 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15509 return 0;
15511 _ACEOF
15512 if ac_fn_c_try_link "$LINENO"; then :
15513 wine_cv_linux_gethostbyname_r_6=yes
15514 else
15515 wine_cv_linux_gethostbyname_r_6=no
15518 rm -f core conftest.err conftest.$ac_objext \
15519 conftest$ac_exeext conftest.$ac_ext
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15523 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15524 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15525 then
15527 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15531 if test "$ac_cv_header_linux_joystick_h" = "yes"
15532 then
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15534 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15535 if ${wine_cv_linux_joystick_22_api+:} false; then :
15536 $as_echo_n "(cached) " >&6
15537 else
15538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15539 /* end confdefs.h. */
15541 #include <sys/ioctl.h>
15542 #include <sys/types.h>
15543 #include <linux/joystick.h>
15545 struct js_event blub;
15546 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15547 #error "no 2.2 header"
15548 #endif
15551 main ()
15553 /*empty*/
15555 return 0;
15557 _ACEOF
15558 if ac_fn_c_try_compile "$LINENO"; then :
15559 wine_cv_linux_joystick_22_api=yes
15560 else
15561 wine_cv_linux_joystick_22_api=no
15563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15567 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15568 if test "$wine_cv_linux_joystick_22_api" = "yes"
15569 then
15571 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15577 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15578 #ifdef HAVE_SYS_PARAM_H
15579 # include <sys/param.h>
15580 #endif
15581 #ifdef HAVE_SYS_MOUNT_H
15582 # include <sys/mount.h>
15583 #endif
15584 #ifdef HAVE_SYS_VFS_H
15585 # include <sys/vfs.h>
15586 #endif
15587 #ifdef HAVE_SYS_STATFS_H
15588 # include <sys/statfs.h>
15589 #endif
15591 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15593 cat >>confdefs.h <<_ACEOF
15594 #define HAVE_STRUCT_STATFS_F_BFREE 1
15595 _ACEOF
15599 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15600 #ifdef HAVE_SYS_PARAM_H
15601 # include <sys/param.h>
15602 #endif
15603 #ifdef HAVE_SYS_MOUNT_H
15604 # include <sys/mount.h>
15605 #endif
15606 #ifdef HAVE_SYS_VFS_H
15607 # include <sys/vfs.h>
15608 #endif
15609 #ifdef HAVE_SYS_STATFS_H
15610 # include <sys/statfs.h>
15611 #endif
15613 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15615 cat >>confdefs.h <<_ACEOF
15616 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15617 _ACEOF
15621 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15622 #ifdef HAVE_SYS_PARAM_H
15623 # include <sys/param.h>
15624 #endif
15625 #ifdef HAVE_SYS_MOUNT_H
15626 # include <sys/mount.h>
15627 #endif
15628 #ifdef HAVE_SYS_VFS_H
15629 # include <sys/vfs.h>
15630 #endif
15631 #ifdef HAVE_SYS_STATFS_H
15632 # include <sys/statfs.h>
15633 #endif
15635 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15637 cat >>confdefs.h <<_ACEOF
15638 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15639 _ACEOF
15643 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15644 #ifdef HAVE_SYS_PARAM_H
15645 # include <sys/param.h>
15646 #endif
15647 #ifdef HAVE_SYS_MOUNT_H
15648 # include <sys/mount.h>
15649 #endif
15650 #ifdef HAVE_SYS_VFS_H
15651 # include <sys/vfs.h>
15652 #endif
15653 #ifdef HAVE_SYS_STATFS_H
15654 # include <sys/statfs.h>
15655 #endif
15657 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15659 cat >>confdefs.h <<_ACEOF
15660 #define HAVE_STRUCT_STATFS_F_FFREE 1
15661 _ACEOF
15665 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15666 #ifdef HAVE_SYS_PARAM_H
15667 # include <sys/param.h>
15668 #endif
15669 #ifdef HAVE_SYS_MOUNT_H
15670 # include <sys/mount.h>
15671 #endif
15672 #ifdef HAVE_SYS_VFS_H
15673 # include <sys/vfs.h>
15674 #endif
15675 #ifdef HAVE_SYS_STATFS_H
15676 # include <sys/statfs.h>
15677 #endif
15679 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15681 cat >>confdefs.h <<_ACEOF
15682 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15683 _ACEOF
15687 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15688 #ifdef HAVE_SYS_PARAM_H
15689 # include <sys/param.h>
15690 #endif
15691 #ifdef HAVE_SYS_MOUNT_H
15692 # include <sys/mount.h>
15693 #endif
15694 #ifdef HAVE_SYS_VFS_H
15695 # include <sys/vfs.h>
15696 #endif
15697 #ifdef HAVE_SYS_STATFS_H
15698 # include <sys/statfs.h>
15699 #endif
15701 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15703 cat >>confdefs.h <<_ACEOF
15704 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15705 _ACEOF
15711 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15712 #include <sys/statvfs.h>
15713 #endif
15715 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15717 cat >>confdefs.h <<_ACEOF
15718 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15719 _ACEOF
15725 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15726 #include <dirent.h>
15727 #endif
15729 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15731 cat >>confdefs.h <<_ACEOF
15732 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15733 _ACEOF
15739 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15740 #ifdef HAVE_SYS_SOCKET_H
15741 # include <sys/socket.h>
15742 #endif
15743 #ifdef HAVE_SYS_UN_H
15744 # include <sys/un.h>
15745 #endif
15747 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15749 cat >>confdefs.h <<_ACEOF
15750 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15751 _ACEOF
15755 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15756 #ifdef HAVE_SYS_SOCKET_H
15757 # include <sys/socket.h>
15758 #endif
15759 #ifdef HAVE_SYS_UN_H
15760 # include <sys/un.h>
15761 #endif
15763 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15765 cat >>confdefs.h <<_ACEOF
15766 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15767 _ACEOF
15771 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15772 #ifdef HAVE_SYS_SOCKET_H
15773 # include <sys/socket.h>
15774 #endif
15775 #ifdef HAVE_SYS_UN_H
15776 # include <sys/un.h>
15777 #endif
15779 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15781 cat >>confdefs.h <<_ACEOF
15782 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15783 _ACEOF
15789 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15790 #ifdef HAVE_SCSI_SG_H
15791 #include <scsi/sg.h>
15792 #endif
15794 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15796 cat >>confdefs.h <<_ACEOF
15797 #define HAVE_SCSIREQ_T_CMD 1
15798 _ACEOF
15802 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>
15803 #ifdef HAVE_SCSI_SG_H
15804 #include <scsi/sg.h>
15805 #endif
15807 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15809 cat >>confdefs.h <<_ACEOF
15810 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15811 _ACEOF
15817 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15819 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15821 cat >>confdefs.h <<_ACEOF
15822 #define HAVE_SIGINFO_T_SI_FD 1
15823 _ACEOF
15829 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15830 #ifdef HAVE_SYS_MTIO_H
15831 #include <sys/mtio.h>
15832 #endif
15834 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15836 cat >>confdefs.h <<_ACEOF
15837 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15838 _ACEOF
15842 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15843 #ifdef HAVE_SYS_MTIO_H
15844 #include <sys/mtio.h>
15845 #endif
15847 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15849 cat >>confdefs.h <<_ACEOF
15850 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15851 _ACEOF
15855 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15856 #ifdef HAVE_SYS_MTIO_H
15857 #include <sys/mtio.h>
15858 #endif
15860 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15862 cat >>confdefs.h <<_ACEOF
15863 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15864 _ACEOF
15870 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15871 #include <getopt.h>
15872 #endif
15874 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15876 cat >>confdefs.h <<_ACEOF
15877 #define HAVE_STRUCT_OPTION_NAME 1
15878 _ACEOF
15884 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15885 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15887 cat >>confdefs.h <<_ACEOF
15888 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15889 _ACEOF
15893 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15894 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15896 cat >>confdefs.h <<_ACEOF
15897 #define HAVE_STRUCT_STAT_ST_MTIM 1
15898 _ACEOF
15902 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15903 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15905 cat >>confdefs.h <<_ACEOF
15906 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15907 _ACEOF
15911 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15912 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15914 cat >>confdefs.h <<_ACEOF
15915 #define HAVE_STRUCT_STAT_ST_CTIM 1
15916 _ACEOF
15920 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15921 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15923 cat >>confdefs.h <<_ACEOF
15924 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15925 _ACEOF
15929 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15930 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15932 cat >>confdefs.h <<_ACEOF
15933 #define HAVE_STRUCT_STAT_ST_ATIM 1
15934 _ACEOF
15938 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15939 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15941 cat >>confdefs.h <<_ACEOF
15942 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15943 _ACEOF
15947 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15948 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15950 cat >>confdefs.h <<_ACEOF
15951 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15952 _ACEOF
15956 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15957 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15959 cat >>confdefs.h <<_ACEOF
15960 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15961 _ACEOF
15965 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15966 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15968 cat >>confdefs.h <<_ACEOF
15969 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15970 _ACEOF
15974 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15975 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15977 cat >>confdefs.h <<_ACEOF
15978 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15979 _ACEOF
15983 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15984 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15986 cat >>confdefs.h <<_ACEOF
15987 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15988 _ACEOF
15994 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
15995 #include <sys/types.h>
15996 #endif
15997 #ifdef HAVE_NETINET_IN_H
15998 #include <netinet/in.h>
15999 #endif
16001 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16003 cat >>confdefs.h <<_ACEOF
16004 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16005 _ACEOF
16011 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16012 #include <resolv.h>
16013 #endif
16015 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16017 cat >>confdefs.h <<_ACEOF
16018 #define HAVE_STRUCT___RES_STATE 1
16019 _ACEOF
16025 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
16026 #include <resolv.h>
16027 #endif
16029 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16031 cat >>confdefs.h <<_ACEOF
16032 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16033 _ACEOF
16039 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16040 #include <sys/types.h>
16041 #endif
16042 #ifdef HAVE_NETINET_IN_H
16043 # include <netinet/in.h>
16044 #endif
16045 #ifdef HAVE_ARPA_NAMESER_H
16046 # include <arpa/nameser.h>
16047 #endif
16049 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16051 cat >>confdefs.h <<_ACEOF
16052 #define HAVE_NS_MSG__MSG_PTR 1
16053 _ACEOF
16059 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16060 #include <sys/types.h>
16061 #endif
16062 #ifdef HAVE_NETINET_IP_H
16063 #include <netinet/ip.h>
16064 #endif
16065 #ifdef HAVE_NETINET_IP_ICMP_H
16066 #include <netinet/ip_icmp.h>
16067 #endif
16068 #ifdef HAVE_NETINET_ICMP_VAR_H
16069 #include <netinet/icmp_var.h>
16070 #endif
16072 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16074 cat >>confdefs.h <<_ACEOF
16075 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16076 _ACEOF
16082 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16083 #include <sys/types.h>
16084 #endif
16085 #ifdef HAVE_ALIAS_H
16086 #include <alias.h>
16087 #endif
16088 #ifdef HAVE_SYS_SOCKET_H
16089 #include <sys/socket.h>
16090 #endif
16091 #ifdef HAVE_SYS_SOCKETVAR_H
16092 #include <sys/socketvar.h>
16093 #endif
16094 #ifdef HAVE_SYS_TIMEOUT_H
16095 #include <sys/timeout.h>
16096 #endif
16097 #ifdef HAVE_NETINET_IN_H
16098 #include <netinet/in.h>
16099 #endif
16100 #ifdef HAVE_NETINET_IN_SYSTM_H
16101 #include <netinet/in_systm.h>
16102 #endif
16103 #ifdef HAVE_NETINET_IP_H
16104 #include <netinet/ip.h>
16105 #endif
16106 #ifdef HAVE_NETINET_IP_VAR_H
16107 #include <netinet/ip_var.h>
16108 #endif
16109 #ifdef HAVE_NETINET_IP_ICMP_H
16110 #include <netinet/ip_icmp.h>
16111 #endif
16112 #ifdef HAVE_NETINET_ICMP_VAR_H
16113 #include <netinet/icmp_var.h>
16114 #endif
16116 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16118 cat >>confdefs.h <<_ACEOF
16119 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16120 _ACEOF
16126 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16127 #include <sys/types.h>
16128 #endif
16129 #ifdef HAVE_SYS_SOCKETVAR_H
16130 #include <sys/socketvar.h>
16131 #endif
16132 #ifdef HAVE_NETINET_IN_H
16133 #include <netinet/in.h>
16134 #endif
16135 #ifdef HAVE_NETINET_IP_VAR_H
16136 #include <netinet/ip_var.h>
16137 #endif
16139 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16141 cat >>confdefs.h <<_ACEOF
16142 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16143 _ACEOF
16149 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
16150 #include <netinet/ip_var.h>
16151 #endif
16153 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16155 cat >>confdefs.h <<_ACEOF
16156 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16157 _ACEOF
16163 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16164 #include <sys/types.h>
16165 #endif
16166 #ifdef HAVE_SYS_SOCKETVAR_H
16167 #include <sys/socketvar.h>
16168 #endif
16169 #ifdef HAVE_NETINET_IN_H
16170 #include <netinet/in.h>
16171 #endif
16172 #ifdef HAVE_NETINET_TCP_H
16173 #include <netinet/tcp.h>
16174 #endif
16175 #ifdef HAVE_NETINET_TCP_VAR_H
16176 #include <netinet/tcp_var.h>
16177 #endif
16179 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16181 cat >>confdefs.h <<_ACEOF
16182 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16183 _ACEOF
16189 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
16190 #include <netinet/tcp_var.h>
16191 #endif
16193 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16195 cat >>confdefs.h <<_ACEOF
16196 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16197 _ACEOF
16203 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16204 #include <sys/types.h>
16205 #endif
16206 #ifdef HAVE_NETINET_IN_H
16207 #include <netinet/in.h>
16208 #endif
16209 #ifdef HAVE_NETINET_IP_VAR_H
16210 #include <netinet/ip_var.h>
16211 #endif
16212 #ifdef HAVE_NETINET_UDP_H
16213 #include <netinet/udp.h>
16214 #endif
16215 #ifdef HAVE_NETINET_UDP_VAR_H
16216 #include <netinet/udp_var.h>
16217 #endif
16219 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16221 cat >>confdefs.h <<_ACEOF
16222 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16223 _ACEOF
16229 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16230 #include <sys/types.h>
16231 #endif
16232 #ifdef HAVE_NET_IF_H
16233 # include <net/if.h>
16234 #endif
16236 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16238 cat >>confdefs.h <<_ACEOF
16239 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16240 _ACEOF
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16247 $as_echo_n "checking for timezone variable... " >&6; }
16248 if ${ac_cv_have_timezone+:} false; then :
16249 $as_echo_n "(cached) " >&6
16250 else
16251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16252 /* end confdefs.h. */
16253 #include <time.h>
16255 main ()
16257 timezone = 1
16259 return 0;
16261 _ACEOF
16262 if ac_fn_c_try_link "$LINENO"; then :
16263 ac_cv_have_timezone="yes"
16264 else
16265 ac_cv_have_timezone="no"
16267 rm -f core conftest.err conftest.$ac_objext \
16268 conftest$ac_exeext conftest.$ac_ext
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16271 $as_echo "$ac_cv_have_timezone" >&6; }
16272 if test "$ac_cv_have_timezone" = "yes"
16273 then
16275 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16279 $as_echo_n "checking for daylight variable... " >&6; }
16280 if ${ac_cv_have_daylight+:} false; then :
16281 $as_echo_n "(cached) " >&6
16282 else
16283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16284 /* end confdefs.h. */
16285 #include <time.h>
16287 main ()
16289 daylight = 1
16291 return 0;
16293 _ACEOF
16294 if ac_fn_c_try_link "$LINENO"; then :
16295 ac_cv_have_daylight="yes"
16296 else
16297 ac_cv_have_daylight="no"
16299 rm -f core conftest.err conftest.$ac_objext \
16300 conftest$ac_exeext conftest.$ac_ext
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16303 $as_echo "$ac_cv_have_daylight" >&6; }
16304 if test "$ac_cv_have_daylight" = "yes"
16305 then
16307 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16311 ac_save_LIBS="$LIBS"
16312 LIBS="$LIBS -lm"
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16314 $as_echo_n "checking for isfinite... " >&6; }
16315 if ${ac_cv_have_isfinite+:} false; then :
16316 $as_echo_n "(cached) " >&6
16317 else
16318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16319 /* end confdefs.h. */
16320 #define _GNU_SOURCE
16321 #include <math.h>
16323 main ()
16325 float f = 0.0; return isfinite(f)
16327 return 0;
16329 _ACEOF
16330 if ac_fn_c_try_link "$LINENO"; then :
16331 ac_cv_have_isfinite="yes"
16332 else
16333 ac_cv_have_isfinite="no"
16335 rm -f core conftest.err conftest.$ac_objext \
16336 conftest$ac_exeext conftest.$ac_ext
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16339 $as_echo "$ac_cv_have_isfinite" >&6; }
16340 if test "$ac_cv_have_isfinite" = "yes"
16341 then
16343 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16347 ac_save_LIBS="$LIBS"
16348 LIBS="$LIBS -lm"
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16350 $as_echo_n "checking for isinf... " >&6; }
16351 if ${ac_cv_have_isinf+:} false; then :
16352 $as_echo_n "(cached) " >&6
16353 else
16354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16355 /* end confdefs.h. */
16356 #include <math.h>
16358 main ()
16360 float f = 0.0; return isinf(f)
16362 return 0;
16364 _ACEOF
16365 if ac_fn_c_try_link "$LINENO"; then :
16366 ac_cv_have_isinf="yes"
16367 else
16368 ac_cv_have_isinf="no"
16370 rm -f core conftest.err conftest.$ac_objext \
16371 conftest$ac_exeext conftest.$ac_ext
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16374 $as_echo "$ac_cv_have_isinf" >&6; }
16375 if test "$ac_cv_have_isinf" = "yes"
16376 then
16378 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16383 $as_echo_n "checking for isnan... " >&6; }
16384 if ${ac_cv_have_isnan+:} false; then :
16385 $as_echo_n "(cached) " >&6
16386 else
16387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16388 /* end confdefs.h. */
16389 #include <math.h>
16391 main ()
16393 float f = 0.0; return isnan(f)
16395 return 0;
16397 _ACEOF
16398 if ac_fn_c_try_link "$LINENO"; then :
16399 ac_cv_have_isnan="yes"
16400 else
16401 ac_cv_have_isnan="no"
16403 rm -f core conftest.err conftest.$ac_objext \
16404 conftest$ac_exeext conftest.$ac_ext
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16407 $as_echo "$ac_cv_have_isnan" >&6; }
16408 if test "$ac_cv_have_isnan" = "yes"
16409 then
16411 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16414 LIBS="$ac_save_LIBS"
16417 case $host_cpu in
16418 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16419 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16420 if ${ac_cv_cpp_def___i386__+:} false; then :
16421 $as_echo_n "(cached) " >&6
16422 else
16423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16424 /* end confdefs.h. */
16425 #ifndef __i386__
16427 #endif
16428 _ACEOF
16429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16430 $EGREP "yes" >/dev/null 2>&1; then :
16431 ac_cv_cpp_def___i386__=yes
16432 else
16433 ac_cv_cpp_def___i386__=no
16435 rm -f conftest*
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16439 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16440 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16441 CFLAGS="$CFLAGS -D__i386__"
16442 LINTFLAGS="$LINTFLAGS -D__i386__"
16443 fi ;;
16444 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16445 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16446 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16447 $as_echo_n "(cached) " >&6
16448 else
16449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16450 /* end confdefs.h. */
16451 #ifndef __x86_64__
16453 #endif
16454 _ACEOF
16455 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16456 $EGREP "yes" >/dev/null 2>&1; then :
16457 ac_cv_cpp_def___x86_64__=yes
16458 else
16459 ac_cv_cpp_def___x86_64__=no
16461 rm -f conftest*
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16465 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16466 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16467 CFLAGS="$CFLAGS -D__x86_64__"
16468 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16469 fi ;;
16470 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16471 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16472 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16473 $as_echo_n "(cached) " >&6
16474 else
16475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16476 /* end confdefs.h. */
16477 #ifndef __sparc64__
16479 #endif
16480 _ACEOF
16481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16482 $EGREP "yes" >/dev/null 2>&1; then :
16483 ac_cv_cpp_def___sparc64__=yes
16484 else
16485 ac_cv_cpp_def___sparc64__=no
16487 rm -f conftest*
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16491 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16492 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16493 CFLAGS="$CFLAGS -D__sparc64__"
16494 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16495 fi ;;
16496 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16497 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16498 if ${ac_cv_cpp_def___sparc__+:} false; then :
16499 $as_echo_n "(cached) " >&6
16500 else
16501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16502 /* end confdefs.h. */
16503 #ifndef __sparc__
16505 #endif
16506 _ACEOF
16507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16508 $EGREP "yes" >/dev/null 2>&1; then :
16509 ac_cv_cpp_def___sparc__=yes
16510 else
16511 ac_cv_cpp_def___sparc__=no
16513 rm -f conftest*
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16517 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16518 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16519 CFLAGS="$CFLAGS -D__sparc__"
16520 LINTFLAGS="$LINTFLAGS -D__sparc__"
16521 fi ;;
16522 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16523 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16524 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16525 $as_echo_n "(cached) " >&6
16526 else
16527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16528 /* end confdefs.h. */
16529 #ifndef __powerpc64__
16531 #endif
16532 _ACEOF
16533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16534 $EGREP "yes" >/dev/null 2>&1; then :
16535 ac_cv_cpp_def___powerpc64__=yes
16536 else
16537 ac_cv_cpp_def___powerpc64__=no
16539 rm -f conftest*
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16543 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16544 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16545 CFLAGS="$CFLAGS -D__powerpc64__"
16546 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16547 fi ;;
16548 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16549 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16550 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16551 $as_echo_n "(cached) " >&6
16552 else
16553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16554 /* end confdefs.h. */
16555 #ifndef __powerpc__
16557 #endif
16558 _ACEOF
16559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16560 $EGREP "yes" >/dev/null 2>&1; then :
16561 ac_cv_cpp_def___powerpc__=yes
16562 else
16563 ac_cv_cpp_def___powerpc__=no
16565 rm -f conftest*
16568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16569 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16570 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16571 CFLAGS="$CFLAGS -D__powerpc__"
16572 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16573 fi ;;
16574 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16575 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16576 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16577 $as_echo_n "(cached) " >&6
16578 else
16579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16580 /* end confdefs.h. */
16581 #ifndef __aarch64__
16583 #endif
16584 _ACEOF
16585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16586 $EGREP "yes" >/dev/null 2>&1; then :
16587 ac_cv_cpp_def___aarch64__=yes
16588 else
16589 ac_cv_cpp_def___aarch64__=no
16591 rm -f conftest*
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16595 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16596 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16597 CFLAGS="$CFLAGS -D__aarch64__"
16598 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16599 fi ;;
16600 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16601 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16602 if ${ac_cv_cpp_def___arm__+:} false; then :
16603 $as_echo_n "(cached) " >&6
16604 else
16605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16606 /* end confdefs.h. */
16607 #ifndef __arm__
16609 #endif
16610 _ACEOF
16611 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16612 $EGREP "yes" >/dev/null 2>&1; then :
16613 ac_cv_cpp_def___arm__=yes
16614 else
16615 ac_cv_cpp_def___arm__=no
16617 rm -f conftest*
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16621 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16622 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16623 CFLAGS="$CFLAGS -D__arm__"
16624 LINTFLAGS="$LINTFLAGS -D__arm__"
16625 fi ;;
16626 esac
16628 case $host_vendor in
16629 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16630 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16631 if ${ac_cv_cpp_def___sun__+:} false; then :
16632 $as_echo_n "(cached) " >&6
16633 else
16634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16635 /* end confdefs.h. */
16636 #ifndef __sun__
16638 #endif
16639 _ACEOF
16640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16641 $EGREP "yes" >/dev/null 2>&1; then :
16642 ac_cv_cpp_def___sun__=yes
16643 else
16644 ac_cv_cpp_def___sun__=no
16646 rm -f conftest*
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16650 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16651 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16652 CFLAGS="$CFLAGS -D__sun__"
16653 LINTFLAGS="$LINTFLAGS -D__sun__"
16654 fi ;;
16655 esac
16661 ac_config_commands="$ac_config_commands include/stamp-h"
16663 $as_echo_n "creating Makefile rules..." >&6
16665 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16666 SOCKET_LIBS = $SOCKET_LIBS
16667 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16668 IOKIT_LIBS = $IOKIT_LIBS
16669 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16670 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16671 CORESERVICES_LIBS = $CORESERVICES_LIBS
16672 APPKIT_LIBS = $APPKIT_LIBS
16673 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16674 SECURITY_LIBS = $SECURITY_LIBS
16675 COREAUDIO_LIBS = $COREAUDIO_LIBS
16676 OPENAL_LIBS = $OPENAL_LIBS
16677 OPENCL_LIBS = $OPENCL_LIBS
16678 QUICKTIME_LIBS = $QUICKTIME_LIBS
16679 CARBON_LIBS = $CARBON_LIBS
16680 PTHREAD_LIBS = $PTHREAD_LIBS
16681 X_CFLAGS = $X_CFLAGS
16682 X_PRE_LIBS = $X_PRE_LIBS
16683 X_LIBS = $X_LIBS
16684 X_EXTRA_LIBS = $X_EXTRA_LIBS
16685 XML2_CFLAGS = $XML2_CFLAGS
16686 XML2_LIBS = $XML2_LIBS
16687 XSLT_CFLAGS = $XSLT_CFLAGS
16688 XSLT_LIBS = $XSLT_LIBS
16689 DBUS_CFLAGS = $DBUS_CFLAGS
16690 DBUS_LIBS = $DBUS_LIBS
16691 HAL_CFLAGS = $HAL_CFLAGS
16692 HAL_LIBS = $HAL_LIBS
16693 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16694 GNUTLS_LIBS = $GNUTLS_LIBS
16695 SANE_CFLAGS = $SANE_CFLAGS
16696 SANE_LIBS = $SANE_LIBS
16697 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16698 GPHOTO2_LIBS = $GPHOTO2_LIBS
16699 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16700 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16701 RESOLV_LIBS = $RESOLV_LIBS
16702 LCMS2_CFLAGS = $LCMS2_CFLAGS
16703 LCMS2_LIBS = $LCMS2_LIBS
16704 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16705 FREETYPE_LIBS = $FREETYPE_LIBS
16706 Z_LIBS = $Z_LIBS
16707 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16708 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16709 GSTREAMER_LIBS = $GSTREAMER_LIBS
16710 ALSA_LIBS = $ALSA_LIBS
16711 OSS4_CFLAGS = $OSS4_CFLAGS
16712 CAPI20_CFLAGS = $CAPI20_CFLAGS
16713 CAPI20_LIBS = $CAPI20_LIBS
16714 CUPS_CFLAGS = $CUPS_CFLAGS
16715 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16716 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16717 JPEG_CFLAGS = $JPEG_CFLAGS
16718 JPEG_LIBS = $JPEG_LIBS
16719 PNG_CFLAGS = $PNG_CFLAGS
16720 PNG_LIBS = $PNG_LIBS
16721 TIFF_CFLAGS = $TIFF_CFLAGS
16722 TIFF_LIBS = $TIFF_LIBS
16723 MPG123_CFLAGS = $MPG123_CFLAGS
16724 MPG123_LIBS = $MPG123_LIBS
16725 KSTAT_LIBS = $KSTAT_LIBS
16726 PROCSTAT_LIBS = $PROCSTAT_LIBS
16727 DL_LIBS = $DL_LIBS
16728 POLL_LIBS = $POLL_LIBS
16729 RT_LIBS = $RT_LIBS
16730 LDAP_LIBS = $LDAP_LIBS
16735 wine_fn_append_rule "
16736 # Rules automatically generated by configure
16738 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16740 .INIT: Makefile
16741 .MAKEFILEDEPS:
16742 all: Makefile
16743 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16744 @./config.status Make.tmp Makefile"
16746 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16747 .gitignore: config.status
16748 @./config.status .gitignore"
16750 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16751 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16753 if test "x$enable_fonts" != xno; then
16754 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16755 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16756 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16757 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16758 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16760 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16761 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16762 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16763 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16764 ac_config_links="$ac_config_links wine:tools/winewrapper"
16765 wine_fn_config_symlink wine
16766 if test "x$enable_win64" != xno; then
16767 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16768 wine_fn_config_symlink wine64
16771 wine_fn_config_dll acledit enable_acledit
16772 wine_fn_config_dll aclui enable_aclui implib
16773 wine_fn_config_dll activeds enable_activeds implib
16774 wine_fn_config_dll actxprxy enable_actxprxy clean
16775 wine_fn_config_lib adsiid
16776 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16777 wine_fn_config_test dlls/advapi32/tests advapi32_test
16778 wine_fn_config_dll advpack enable_advpack implib
16779 wine_fn_config_test dlls/advpack/tests advpack_test
16780 wine_fn_config_dll amstream enable_amstream clean
16781 wine_fn_config_test dlls/amstream/tests amstream_test
16782 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16783 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16784 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16785 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16786 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16787 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16788 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16789 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16790 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16791 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16792 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16793 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16794 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16795 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16796 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16797 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16798 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16799 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16800 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16801 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16802 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16803 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16804 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16805 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16806 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16807 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16808 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16809 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16810 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16811 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16812 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16813 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16814 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16815 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16816 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16817 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16818 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16819 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16820 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16821 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16822 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16823 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16824 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
16825 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16826 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16827 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
16828 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16829 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16830 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16831 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16832 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16833 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16834 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16835 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16836 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16837 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16838 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16839 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16840 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16841 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16842 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16843 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16844 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16845 wine_fn_config_dll apphelp enable_apphelp
16846 wine_fn_config_test dlls/apphelp/tests apphelp_test
16847 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16848 wine_fn_config_dll atl enable_atl clean,implib
16849 wine_fn_config_test dlls/atl/tests atl_test
16850 wine_fn_config_dll atl100 enable_atl100 clean,implib
16851 wine_fn_config_test dlls/atl100/tests atl100_test
16852 wine_fn_config_dll atl110 enable_atl110 clean
16853 wine_fn_config_dll atl80 enable_atl80 clean,implib
16854 wine_fn_config_test dlls/atl80/tests atl80_test
16855 wine_fn_config_dll atl90 enable_atl90 clean
16856 wine_fn_config_dll authz enable_authz
16857 wine_fn_config_dll avicap32 enable_avicap32 implib
16858 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16859 wine_fn_config_test dlls/avifil32/tests avifil32_test
16860 wine_fn_config_dll avifile.dll16 enable_win16
16861 wine_fn_config_dll avrt enable_avrt implib
16862 wine_fn_config_dll bcrypt enable_bcrypt
16863 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16864 wine_fn_config_dll browseui enable_browseui clean,po
16865 wine_fn_config_test dlls/browseui/tests browseui_test
16866 wine_fn_config_dll cabinet enable_cabinet implib
16867 wine_fn_config_test dlls/cabinet/tests cabinet_test
16868 wine_fn_config_dll capi2032 enable_capi2032 implib
16869 wine_fn_config_dll cards enable_cards implib
16870 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16871 wine_fn_config_dll clusapi enable_clusapi implib
16872 wine_fn_config_dll comcat enable_comcat
16873 wine_fn_config_test dlls/comcat/tests comcat_test
16874 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16875 wine_fn_config_test dlls/comctl32/tests comctl32_test
16876 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16877 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16878 wine_fn_config_dll comm.drv16 enable_win16
16879 wine_fn_config_dll commdlg.dll16 enable_win16
16880 wine_fn_config_dll compobj.dll16 enable_win16
16881 wine_fn_config_dll compstui enable_compstui implib
16882 wine_fn_config_dll comsvcs enable_comsvcs implib
16883 wine_fn_config_dll credui enable_credui implib,po
16884 wine_fn_config_test dlls/credui/tests credui_test
16885 wine_fn_config_dll crtdll enable_crtdll implib
16886 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16887 wine_fn_config_test dlls/crypt32/tests crypt32_test
16888 wine_fn_config_dll cryptdlg enable_cryptdlg po
16889 wine_fn_config_dll cryptdll enable_cryptdll implib
16890 wine_fn_config_dll cryptext enable_cryptext
16891 wine_fn_config_dll cryptnet enable_cryptnet implib
16892 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16893 wine_fn_config_dll cryptui enable_cryptui implib,po
16894 wine_fn_config_test dlls/cryptui/tests cryptui_test
16895 wine_fn_config_dll ctapi32 enable_ctapi32
16896 wine_fn_config_dll ctl3d.dll16 enable_win16
16897 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16898 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16899 wine_fn_config_dll d2d1 enable_d2d1 implib
16900 wine_fn_config_test dlls/d2d1/tests d2d1_test
16901 wine_fn_config_dll d3d10 enable_d3d10 implib
16902 wine_fn_config_test dlls/d3d10/tests d3d10_test
16903 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16904 wine_fn_config_dll d3d10core enable_d3d10core implib
16905 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16906 wine_fn_config_dll d3d11 enable_d3d11
16907 wine_fn_config_dll d3d8 enable_d3d8 implib
16908 wine_fn_config_test dlls/d3d8/tests d3d8_test
16909 wine_fn_config_dll d3d9 enable_d3d9 implib
16910 wine_fn_config_test dlls/d3d9/tests d3d9_test
16911 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16912 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16913 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16914 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16915 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16916 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16917 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16918 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16919 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16920 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16921 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16922 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16923 wine_fn_config_dll d3dim enable_d3dim implib
16924 wine_fn_config_dll d3drm enable_d3drm implib
16925 wine_fn_config_test dlls/d3drm/tests d3drm_test
16926 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16927 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16928 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16929 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16930 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16931 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16932 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16933 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16934 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16935 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16936 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16937 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16938 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16939 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16940 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16941 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16942 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16943 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16944 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16945 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16946 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16947 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16948 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16949 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16950 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16951 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16952 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16953 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16954 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16955 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16956 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16957 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16958 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16959 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16960 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16961 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16962 wine_fn_config_dll dbgeng enable_dbgeng implib
16963 wine_fn_config_dll dbghelp enable_dbghelp implib
16964 wine_fn_config_dll dciman32 enable_dciman32 implib
16965 wine_fn_config_dll ddeml.dll16 enable_win16
16966 wine_fn_config_dll ddraw enable_ddraw clean,implib
16967 wine_fn_config_test dlls/ddraw/tests ddraw_test
16968 wine_fn_config_dll ddrawex enable_ddrawex clean
16969 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16970 wine_fn_config_dll devenum enable_devenum clean,po
16971 wine_fn_config_test dlls/devenum/tests devenum_test
16972 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16973 wine_fn_config_dll difxapi enable_difxapi
16974 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16975 wine_fn_config_test dlls/dinput/tests dinput_test
16976 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16977 wine_fn_config_test dlls/dinput8/tests dinput8_test
16978 wine_fn_config_dll dispdib.dll16 enable_win16
16979 wine_fn_config_dll dispex enable_dispex clean
16980 wine_fn_config_test dlls/dispex/tests dispex_test
16981 wine_fn_config_dll display.drv16 enable_win16
16982 wine_fn_config_dll dmband enable_dmband clean
16983 wine_fn_config_test dlls/dmband/tests dmband_test
16984 wine_fn_config_dll dmcompos enable_dmcompos clean
16985 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16986 wine_fn_config_dll dmime enable_dmime clean
16987 wine_fn_config_test dlls/dmime/tests dmime_test
16988 wine_fn_config_dll dmloader enable_dmloader clean
16989 wine_fn_config_test dlls/dmloader/tests dmloader_test
16990 wine_fn_config_dll dmscript enable_dmscript clean
16991 wine_fn_config_test dlls/dmscript/tests dmscript_test
16992 wine_fn_config_dll dmstyle enable_dmstyle clean
16993 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16994 wine_fn_config_dll dmsynth enable_dmsynth clean
16995 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16996 wine_fn_config_dll dmusic enable_dmusic clean
16997 wine_fn_config_test dlls/dmusic/tests dmusic_test
16998 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16999 wine_fn_config_dll dnsapi enable_dnsapi implib
17000 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17001 wine_fn_config_dll dplay enable_dplay implib
17002 wine_fn_config_dll dplayx enable_dplayx clean,implib
17003 wine_fn_config_test dlls/dplayx/tests dplayx_test
17004 wine_fn_config_dll dpnaddr enable_dpnaddr
17005 wine_fn_config_dll dpnet enable_dpnet clean,implib
17006 wine_fn_config_test dlls/dpnet/tests dpnet_test
17007 wine_fn_config_dll dpnhpast enable_dpnhpast
17008 wine_fn_config_dll dpnlobby enable_dpnlobby
17009 wine_fn_config_dll dpvoice enable_dpvoice clean
17010 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17011 wine_fn_config_dll dpwsockx enable_dpwsockx
17012 wine_fn_config_dll drmclien enable_drmclien
17013 wine_fn_config_dll dsound enable_dsound clean,implib
17014 wine_fn_config_test dlls/dsound/tests dsound_test
17015 wine_fn_config_dll dssenh enable_dssenh
17016 wine_fn_config_test dlls/dssenh/tests dssenh_test
17017 wine_fn_config_dll dswave enable_dswave clean
17018 wine_fn_config_test dlls/dswave/tests dswave_test
17019 wine_fn_config_dll dwmapi enable_dwmapi implib
17020 wine_fn_config_dll dwrite enable_dwrite implib
17021 wine_fn_config_test dlls/dwrite/tests dwrite_test
17022 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17023 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17024 wine_fn_config_lib dxerr8
17025 wine_fn_config_lib dxerr9
17026 wine_fn_config_dll dxgi enable_dxgi implib
17027 wine_fn_config_test dlls/dxgi/tests dxgi_test
17028 wine_fn_config_lib dxguid
17029 wine_fn_config_dll dxva2 enable_dxva2
17030 wine_fn_config_dll explorerframe enable_explorerframe clean
17031 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17032 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17033 wine_fn_config_dll faultrep enable_faultrep implib
17034 wine_fn_config_test dlls/faultrep/tests faultrep_test
17035 wine_fn_config_dll fltlib enable_fltlib
17036 wine_fn_config_dll fntcache enable_fntcache
17037 wine_fn_config_dll fontsub enable_fontsub
17038 wine_fn_config_dll fusion enable_fusion
17039 wine_fn_config_test dlls/fusion/tests fusion_test
17040 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17041 wine_fn_config_dll gameux enable_gameux clean
17042 wine_fn_config_test dlls/gameux/tests gameux_test
17043 wine_fn_config_dll gdi.exe16 enable_win16
17044 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17045 wine_fn_config_test dlls/gdi32/tests gdi32_test
17046 wine_fn_config_dll gdiplus enable_gdiplus implib
17047 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17048 wine_fn_config_dll glu32 enable_glu32 implib
17049 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17050 wine_fn_config_dll gpkcsp enable_gpkcsp
17051 wine_fn_config_dll hal enable_hal
17052 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17053 wine_fn_config_dll hid enable_hid implib
17054 wine_fn_config_dll hlink enable_hlink clean,implib
17055 wine_fn_config_test dlls/hlink/tests hlink_test
17056 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17057 wine_fn_config_dll httpapi enable_httpapi
17058 wine_fn_config_dll iccvid enable_iccvid po
17059 wine_fn_config_dll icmp enable_icmp
17060 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17061 wine_fn_config_test dlls/ieframe/tests ieframe_test
17062 wine_fn_config_dll ifsmgr.vxd enable_win16
17063 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17064 wine_fn_config_dll imagehlp enable_imagehlp implib
17065 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17066 wine_fn_config_dll imm.dll16 enable_win16
17067 wine_fn_config_dll imm32 enable_imm32 implib
17068 wine_fn_config_test dlls/imm32/tests imm32_test
17069 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17070 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17071 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17072 wine_fn_config_dll inetmib1 enable_inetmib1
17073 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17074 wine_fn_config_dll infosoft enable_infosoft clean
17075 wine_fn_config_test dlls/infosoft/tests infosoft_test
17076 wine_fn_config_dll initpki enable_initpki
17077 wine_fn_config_dll inkobj enable_inkobj
17078 wine_fn_config_dll inseng enable_inseng clean
17079 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17080 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17081 wine_fn_config_dll itircl enable_itircl
17082 wine_fn_config_dll itss enable_itss clean
17083 wine_fn_config_test dlls/itss/tests itss_test
17084 wine_fn_config_dll joy.cpl enable_joy_cpl po
17085 wine_fn_config_dll jscript enable_jscript clean,po
17086 wine_fn_config_test dlls/jscript/tests jscript_test
17087 wine_fn_config_dll jsproxy enable_jsproxy implib
17088 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17089 wine_fn_config_test dlls/kernel32/tests kernel32_test
17090 wine_fn_config_dll keyboard.drv16 enable_win16
17091 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17092 wine_fn_config_dll ksuser enable_ksuser
17093 wine_fn_config_dll ktmw32 enable_ktmw32
17094 wine_fn_config_dll loadperf enable_loadperf implib
17095 wine_fn_config_dll localspl enable_localspl po
17096 wine_fn_config_test dlls/localspl/tests localspl_test
17097 wine_fn_config_dll localui enable_localui po
17098 wine_fn_config_test dlls/localui/tests localui_test
17099 wine_fn_config_dll lz32 enable_lz32 implib
17100 wine_fn_config_test dlls/lz32/tests lz32_test
17101 wine_fn_config_dll lzexpand.dll16 enable_win16
17102 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17103 wine_fn_config_test dlls/mapi32/tests mapi32_test
17104 wine_fn_config_dll mapistub enable_mapistub
17105 wine_fn_config_dll mciavi32 enable_mciavi32
17106 wine_fn_config_dll mcicda enable_mcicda
17107 wine_fn_config_dll mciqtz32 enable_mciqtz32
17108 wine_fn_config_dll mciseq enable_mciseq
17109 wine_fn_config_dll mciwave enable_mciwave
17110 wine_fn_config_dll mgmtapi enable_mgmtapi
17111 wine_fn_config_dll midimap enable_midimap
17112 wine_fn_config_dll mlang enable_mlang clean,implib
17113 wine_fn_config_test dlls/mlang/tests mlang_test
17114 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17115 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17116 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17117 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17118 wine_fn_config_dll mmdevldr.vxd enable_win16
17119 wine_fn_config_dll mmsystem.dll16 enable_win16
17120 wine_fn_config_dll monodebg.vxd enable_win16
17121 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17122 wine_fn_config_dll mouse.drv16 enable_win16
17123 wine_fn_config_dll mpr enable_mpr implib,po
17124 wine_fn_config_test dlls/mpr/tests mpr_test
17125 wine_fn_config_dll mprapi enable_mprapi implib
17126 wine_fn_config_dll msacm.dll16 enable_win16
17127 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17128 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17129 wine_fn_config_test dlls/msacm32/tests msacm32_test
17130 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17131 wine_fn_config_dll msasn1 enable_msasn1 implib
17132 wine_fn_config_dll mscat32 enable_mscat32
17133 wine_fn_config_dll mscms enable_mscms implib
17134 wine_fn_config_test dlls/mscms/tests mscms_test
17135 wine_fn_config_dll mscoree enable_mscoree clean
17136 wine_fn_config_test dlls/mscoree/tests mscoree_test
17137 wine_fn_config_dll msctf enable_msctf clean
17138 wine_fn_config_test dlls/msctf/tests msctf_test
17139 wine_fn_config_dll msdaps enable_msdaps clean
17140 wine_fn_config_dll msdmo enable_msdmo implib
17141 wine_fn_config_dll msftedit enable_msftedit
17142 wine_fn_config_dll msg711.acm enable_msg711_acm
17143 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17144 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17145 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17146 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17147 wine_fn_config_dll msi enable_msi clean,implib,po
17148 wine_fn_config_test dlls/msi/tests msi_test
17149 wine_fn_config_dll msident enable_msident clean
17150 wine_fn_config_dll msimg32 enable_msimg32 implib
17151 wine_fn_config_dll msimsg enable_msimsg
17152 wine_fn_config_dll msimtf enable_msimtf clean
17153 wine_fn_config_dll msisip enable_msisip
17154 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17155 wine_fn_config_dll msls31 enable_msls31
17156 wine_fn_config_dll msnet32 enable_msnet32
17157 wine_fn_config_dll mspatcha enable_mspatcha
17158 wine_fn_config_dll msrle32 enable_msrle32 po
17159 wine_fn_config_test dlls/msrle32/tests msrle32_test
17160 wine_fn_config_dll mssign32 enable_mssign32
17161 wine_fn_config_dll mssip32 enable_mssip32
17162 wine_fn_config_dll mstask enable_mstask clean
17163 wine_fn_config_test dlls/mstask/tests mstask_test
17164 wine_fn_config_dll msvcirt enable_msvcirt
17165 wine_fn_config_dll msvcm80 enable_msvcm80
17166 wine_fn_config_dll msvcm90 enable_msvcm90
17167 wine_fn_config_dll msvcp100 enable_msvcp100
17168 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17169 wine_fn_config_dll msvcp110 enable_msvcp110
17170 wine_fn_config_dll msvcp120 enable_msvcp120
17171 wine_fn_config_dll msvcp60 enable_msvcp60
17172 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17173 wine_fn_config_dll msvcp70 enable_msvcp70
17174 wine_fn_config_dll msvcp71 enable_msvcp71
17175 wine_fn_config_dll msvcp80 enable_msvcp80
17176 wine_fn_config_dll msvcp90 enable_msvcp90
17177 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17178 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17179 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17180 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17181 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17182 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17183 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17184 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17185 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17186 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17187 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17188 wine_fn_config_dll msvcrt enable_msvcrt implib
17189 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17190 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17191 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17192 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17193 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17194 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17195 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17196 wine_fn_config_dll msvidc32 enable_msvidc32 po
17197 wine_fn_config_dll msvideo.dll16 enable_win16
17198 wine_fn_config_dll mswsock enable_mswsock implib
17199 wine_fn_config_dll msxml enable_msxml clean
17200 wine_fn_config_dll msxml2 enable_msxml2 clean
17201 wine_fn_config_dll msxml3 enable_msxml3 clean
17202 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17203 wine_fn_config_dll msxml4 enable_msxml4 clean
17204 wine_fn_config_dll msxml6 enable_msxml6 clean
17205 wine_fn_config_dll nddeapi enable_nddeapi implib
17206 wine_fn_config_dll ndis.sys enable_ndis_sys
17207 wine_fn_config_dll netapi32 enable_netapi32 implib
17208 wine_fn_config_test dlls/netapi32/tests netapi32_test
17209 wine_fn_config_dll netcfgx enable_netcfgx clean
17210 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17211 wine_fn_config_dll netprofm enable_netprofm clean
17212 wine_fn_config_test dlls/netprofm/tests netprofm_test
17213 wine_fn_config_dll newdev enable_newdev implib
17214 wine_fn_config_dll normaliz enable_normaliz implib
17215 wine_fn_config_dll npmshtml enable_npmshtml
17216 wine_fn_config_dll npptools enable_npptools
17217 wine_fn_config_dll ntdll enable_ntdll implib
17218 wine_fn_config_test dlls/ntdll/tests ntdll_test
17219 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17220 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17221 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17222 wine_fn_config_dll ntprint enable_ntprint
17223 wine_fn_config_test dlls/ntprint/tests ntprint_test
17224 wine_fn_config_dll objsel enable_objsel clean
17225 wine_fn_config_dll odbc32 enable_odbc32 implib
17226 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17227 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17228 wine_fn_config_dll odbccu32 enable_odbccu32
17229 wine_fn_config_dll ole2.dll16 enable_win16
17230 wine_fn_config_dll ole2conv.dll16 enable_win16
17231 wine_fn_config_dll ole2disp.dll16 enable_win16
17232 wine_fn_config_dll ole2nls.dll16 enable_win16
17233 wine_fn_config_dll ole2prox.dll16 enable_win16
17234 wine_fn_config_dll ole2thk.dll16 enable_win16
17235 wine_fn_config_dll ole32 enable_ole32 clean,implib
17236 wine_fn_config_test dlls/ole32/tests ole32_test
17237 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17238 wine_fn_config_test dlls/oleacc/tests oleacc_test
17239 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17240 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17241 wine_fn_config_dll olecli.dll16 enable_win16
17242 wine_fn_config_dll olecli32 enable_olecli32 implib
17243 wine_fn_config_dll oledb32 enable_oledb32 clean
17244 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17245 wine_fn_config_dll oledlg enable_oledlg implib,po
17246 wine_fn_config_dll olepro32 enable_olepro32 implib
17247 wine_fn_config_dll olesvr.dll16 enable_win16
17248 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17249 wine_fn_config_dll olethk32 enable_olethk32
17250 wine_fn_config_dll openal32 enable_openal32
17251 wine_fn_config_dll opencl enable_opencl
17252 wine_fn_config_dll opengl32 enable_opengl32 implib
17253 wine_fn_config_test dlls/opengl32/tests opengl32_test
17254 wine_fn_config_dll packager enable_packager clean
17255 wine_fn_config_test dlls/packager/tests packager_test
17256 wine_fn_config_dll pdh enable_pdh implib
17257 wine_fn_config_test dlls/pdh/tests pdh_test
17258 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17259 wine_fn_config_dll pidgen enable_pidgen
17260 wine_fn_config_dll powrprof enable_powrprof implib
17261 wine_fn_config_dll printui enable_printui
17262 wine_fn_config_dll prntvpt enable_prntvpt
17263 wine_fn_config_dll propsys enable_propsys clean,implib
17264 wine_fn_config_test dlls/propsys/tests propsys_test
17265 wine_fn_config_dll psapi enable_psapi implib
17266 wine_fn_config_test dlls/psapi/tests psapi_test
17267 wine_fn_config_dll pstorec enable_pstorec clean
17268 wine_fn_config_dll qcap enable_qcap
17269 wine_fn_config_test dlls/qcap/tests qcap_test
17270 wine_fn_config_dll qedit enable_qedit clean
17271 wine_fn_config_test dlls/qedit/tests qedit_test
17272 wine_fn_config_dll qmgr enable_qmgr clean
17273 wine_fn_config_test dlls/qmgr/tests qmgr_test
17274 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17275 wine_fn_config_dll quartz enable_quartz clean,implib
17276 wine_fn_config_test dlls/quartz/tests quartz_test clean
17277 wine_fn_config_dll query enable_query
17278 wine_fn_config_dll rasapi16.dll16 enable_win16
17279 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17280 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17281 wine_fn_config_dll rasdlg enable_rasdlg implib
17282 wine_fn_config_dll regapi enable_regapi
17283 wine_fn_config_dll resutils enable_resutils implib
17284 wine_fn_config_dll riched20 enable_riched20 implib
17285 wine_fn_config_test dlls/riched20/tests riched20_test
17286 wine_fn_config_dll riched32 enable_riched32
17287 wine_fn_config_test dlls/riched32/tests riched32_test
17288 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17289 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17290 wine_fn_config_dll rsabase enable_rsabase
17291 wine_fn_config_dll rsaenh enable_rsaenh implib
17292 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17293 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17294 wine_fn_config_dll rtutils enable_rtutils implib
17295 wine_fn_config_dll samlib enable_samlib
17296 wine_fn_config_dll sane.ds enable_sane_ds po
17297 wine_fn_config_dll scarddlg enable_scarddlg
17298 wine_fn_config_dll sccbase enable_sccbase
17299 wine_fn_config_dll schannel enable_schannel
17300 wine_fn_config_test dlls/schannel/tests schannel_test
17301 wine_fn_config_dll schedsvc enable_schedsvc clean
17302 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17303 wine_fn_config_dll scrrun enable_scrrun clean
17304 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17305 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17306 wine_fn_config_dll secur32 enable_secur32 implib
17307 wine_fn_config_test dlls/secur32/tests secur32_test
17308 wine_fn_config_dll security enable_security
17309 wine_fn_config_dll sensapi enable_sensapi implib
17310 wine_fn_config_dll serialui enable_serialui implib,po
17311 wine_fn_config_test dlls/serialui/tests serialui_test
17312 wine_fn_config_dll setupapi enable_setupapi implib,po
17313 wine_fn_config_test dlls/setupapi/tests setupapi_test
17314 wine_fn_config_dll setupx.dll16 enable_win16
17315 wine_fn_config_dll sfc enable_sfc implib
17316 wine_fn_config_dll sfc_os enable_sfc_os implib
17317 wine_fn_config_dll shdoclc enable_shdoclc po
17318 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17319 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17320 wine_fn_config_dll shell.dll16 enable_win16
17321 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17322 wine_fn_config_test dlls/shell32/tests shell32_test
17323 wine_fn_config_dll shfolder enable_shfolder implib
17324 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17325 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17326 wine_fn_config_dll slbcsp enable_slbcsp
17327 wine_fn_config_dll slc enable_slc implib
17328 wine_fn_config_dll snmpapi enable_snmpapi implib
17329 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17330 wine_fn_config_dll softpub enable_softpub
17331 wine_fn_config_dll sound.drv16 enable_win16
17332 wine_fn_config_dll spoolss enable_spoolss implib
17333 wine_fn_config_test dlls/spoolss/tests spoolss_test
17334 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17335 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17336 wine_fn_config_dll sti enable_sti clean,implib
17337 wine_fn_config_test dlls/sti/tests sti_test
17338 wine_fn_config_dll storage.dll16 enable_win16
17339 wine_fn_config_dll stress.dll16 enable_win16
17340 wine_fn_config_lib strmbase
17341 wine_fn_config_lib strmiids
17342 wine_fn_config_dll svrapi enable_svrapi
17343 wine_fn_config_dll sxs enable_sxs implib
17344 wine_fn_config_test dlls/sxs/tests sxs_test
17345 wine_fn_config_dll system.drv16 enable_win16
17346 wine_fn_config_dll t2embed enable_t2embed
17347 wine_fn_config_dll tapi32 enable_tapi32 implib
17348 wine_fn_config_dll taskschd enable_taskschd clean
17349 wine_fn_config_test dlls/taskschd/tests taskschd_test
17350 wine_fn_config_dll toolhelp.dll16 enable_win16
17351 wine_fn_config_dll traffic enable_traffic
17352 wine_fn_config_dll twain.dll16 enable_win16
17353 wine_fn_config_dll twain_32 enable_twain_32
17354 wine_fn_config_test dlls/twain_32/tests twain_32_test
17355 wine_fn_config_dll typelib.dll16 enable_win16
17356 wine_fn_config_dll unicows enable_unicows implib
17357 wine_fn_config_dll updspapi enable_updspapi
17358 wine_fn_config_dll url enable_url implib
17359 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17360 wine_fn_config_test dlls/urlmon/tests urlmon_test
17361 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17362 wine_fn_config_dll user.exe16 enable_win16
17363 wine_fn_config_dll user32 enable_user32 clean,implib,po
17364 wine_fn_config_test dlls/user32/tests user32_test
17365 wine_fn_config_dll userenv enable_userenv implib
17366 wine_fn_config_test dlls/userenv/tests userenv_test
17367 wine_fn_config_dll usp10 enable_usp10 implib
17368 wine_fn_config_test dlls/usp10/tests usp10_test
17369 wine_fn_config_lib uuid
17370 wine_fn_config_dll uxtheme enable_uxtheme implib
17371 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17372 wine_fn_config_dll vbscript enable_vbscript clean
17373 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17374 wine_fn_config_dll vcomp enable_vcomp
17375 wine_fn_config_dll vcomp100 enable_vcomp100
17376 wine_fn_config_dll vcomp90 enable_vcomp90
17377 wine_fn_config_dll vdhcp.vxd enable_win16
17378 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17379 wine_fn_config_dll ver.dll16 enable_win16
17380 wine_fn_config_dll version enable_version implib
17381 wine_fn_config_test dlls/version/tests version_test
17382 wine_fn_config_dll vmm.vxd enable_win16
17383 wine_fn_config_dll vnbt.vxd enable_win16
17384 wine_fn_config_dll vnetbios.vxd enable_win16
17385 wine_fn_config_dll vssapi enable_vssapi
17386 wine_fn_config_dll vtdapi.vxd enable_win16
17387 wine_fn_config_dll vwin32.vxd enable_win16
17388 wine_fn_config_dll w32skrnl enable_win16
17389 wine_fn_config_dll w32sys.dll16 enable_win16
17390 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17391 wine_fn_config_dll wbemprox enable_wbemprox clean
17392 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17393 wine_fn_config_dll webservices enable_webservices implib
17394 wine_fn_config_dll wer enable_wer implib
17395 wine_fn_config_test dlls/wer/tests wer_test
17396 wine_fn_config_dll wevtapi enable_wevtapi
17397 wine_fn_config_dll wiaservc enable_wiaservc clean
17398 wine_fn_config_dll win32s16.dll16 enable_win16
17399 wine_fn_config_dll win87em.dll16 enable_win16
17400 wine_fn_config_dll winaspi.dll16 enable_win16
17401 wine_fn_config_dll windebug.dll16 enable_win16
17402 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17403 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17404 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17405 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17406 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17407 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17408 wine_fn_config_lib winecrt0
17409 wine_fn_config_dll wined3d enable_wined3d implib
17410 wine_fn_config_dll winegstreamer enable_winegstreamer
17411 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17412 wine_fn_config_dll winemac.drv enable_winemac_drv
17413 wine_fn_config_dll winemapi enable_winemapi
17414 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17415 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17416 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17417 wine_fn_config_dll wineps16.drv16 enable_win16
17418 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17419 wine_fn_config_dll winex11.drv enable_winex11_drv
17420 wine_fn_config_dll wing.dll16 enable_win16
17421 wine_fn_config_dll wing32 enable_wing32
17422 wine_fn_config_dll winhttp enable_winhttp clean,implib
17423 wine_fn_config_test dlls/winhttp/tests winhttp_test
17424 wine_fn_config_dll wininet enable_wininet implib,po
17425 wine_fn_config_test dlls/wininet/tests wininet_test
17426 wine_fn_config_dll winmm enable_winmm implib,po
17427 wine_fn_config_test dlls/winmm/tests winmm_test
17428 wine_fn_config_dll winnls.dll16 enable_win16
17429 wine_fn_config_dll winnls32 enable_winnls32 implib
17430 wine_fn_config_dll winscard enable_winscard implib
17431 wine_fn_config_dll winsock.dll16 enable_win16
17432 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17433 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17434 wine_fn_config_dll winsta enable_winsta
17435 wine_fn_config_dll wintab.dll16 enable_win16
17436 wine_fn_config_dll wintab32 enable_wintab32 implib
17437 wine_fn_config_test dlls/wintab32/tests wintab32_test
17438 wine_fn_config_dll wintrust enable_wintrust implib
17439 wine_fn_config_test dlls/wintrust/tests wintrust_test
17440 wine_fn_config_dll wlanapi enable_wlanapi
17441 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17442 wine_fn_config_test dlls/wldap32/tests wldap32_test
17443 wine_fn_config_dll wmi enable_wmi
17444 wine_fn_config_dll wmiutils enable_wmiutils clean
17445 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17446 wine_fn_config_dll wmp enable_wmp clean
17447 wine_fn_config_test dlls/wmp/tests wmp_test
17448 wine_fn_config_dll wmvcore enable_wmvcore
17449 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17450 wine_fn_config_dll wow32 enable_win16 implib
17451 wine_fn_config_dll wpcap enable_wpcap
17452 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17453 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17454 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17455 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17456 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17457 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17458 wine_fn_config_dll wsock32 enable_wsock32 implib
17459 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17460 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17461 wine_fn_config_dll wuapi enable_wuapi clean
17462 wine_fn_config_dll wuaueng enable_wuaueng
17463 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17464 wine_fn_config_dll xinput1_1 enable_xinput1_1
17465 wine_fn_config_dll xinput1_2 enable_xinput1_2
17466 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17467 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17468 wine_fn_config_dll xinput1_4 enable_xinput1_4
17469 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17470 wine_fn_config_dll xmllite enable_xmllite implib
17471 wine_fn_config_test dlls/xmllite/tests xmllite_test
17472 wine_fn_config_dll xolehlp enable_xolehlp
17473 wine_fn_config_dll xpsprint enable_xpsprint
17474 wine_fn_config_dll xpssvcs enable_xpssvcs
17475 wine_fn_config_makefile documentation enable_documentation clean
17476 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17477 wine_fn_config_makefile include enable_include clean,install-dev
17478 wine_fn_config_makefile libs/port enable_libs_port
17479 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17480 wine_fn_config_makefile libs/wpp enable_libs_wpp
17481 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17482 wine_fn_config_program arp enable_arp install
17483 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17484 wine_fn_config_program attrib enable_attrib install,po
17485 wine_fn_config_program cabarc enable_cabarc install
17486 wine_fn_config_program cacls enable_cacls install
17487 wine_fn_config_program clock enable_clock install,po
17488 wine_fn_config_program cmd enable_cmd install,po
17489 wine_fn_config_test programs/cmd/tests cmd.exe_test
17490 wine_fn_config_program conhost enable_conhost install
17491 wine_fn_config_program control enable_control install
17492 wine_fn_config_program cscript enable_cscript clean,install
17493 wine_fn_config_program dpnsvr enable_dpnsvr install
17494 wine_fn_config_program dxdiag enable_dxdiag install,po
17495 wine_fn_config_program eject enable_eject install
17496 wine_fn_config_program expand enable_expand install
17497 wine_fn_config_program explorer enable_explorer install,po
17498 wine_fn_config_program extrac32 enable_extrac32 install
17499 wine_fn_config_program findstr enable_findstr install
17500 wine_fn_config_program hh enable_hh install
17501 wine_fn_config_program hostname enable_hostname install,po
17502 wine_fn_config_program icinfo enable_icinfo install
17503 wine_fn_config_program iexplore enable_iexplore install
17504 wine_fn_config_program ipconfig enable_ipconfig install,po
17505 wine_fn_config_program lodctr enable_lodctr install
17506 wine_fn_config_program mofcomp enable_mofcomp install
17507 wine_fn_config_program mshta enable_mshta install
17508 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17509 wine_fn_config_program net enable_net install,po
17510 wine_fn_config_program netsh enable_netsh install
17511 wine_fn_config_program netstat enable_netstat install,po
17512 wine_fn_config_program ngen enable_ngen install
17513 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17514 wine_fn_config_program oleview enable_oleview install,po
17515 wine_fn_config_program ping enable_ping install
17516 wine_fn_config_program plugplay enable_plugplay install
17517 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17518 wine_fn_config_program progman enable_progman install,po
17519 wine_fn_config_program reg enable_reg install,po
17520 wine_fn_config_test programs/reg/tests reg.exe_test
17521 wine_fn_config_program regasm enable_regasm install
17522 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17523 wine_fn_config_test programs/regedit/tests regedit.exe_test
17524 wine_fn_config_program regsvcs enable_regsvcs install
17525 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17526 wine_fn_config_program rpcss enable_rpcss clean,install
17527 wine_fn_config_program rundll.exe16 enable_win16 install
17528 wine_fn_config_program rundll32 enable_rundll32 install
17529 wine_fn_config_program sc enable_sc install
17530 wine_fn_config_program schtasks enable_schtasks install
17531 wine_fn_config_program sdbinst enable_sdbinst install
17532 wine_fn_config_program secedit enable_secedit install
17533 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17534 wine_fn_config_program services enable_services clean,install
17535 wine_fn_config_test programs/services/tests services.exe_test
17536 wine_fn_config_program spoolsv enable_spoolsv install
17537 wine_fn_config_program start enable_start install,po
17538 wine_fn_config_program svchost enable_svchost install
17539 wine_fn_config_program systeminfo enable_systeminfo install
17540 wine_fn_config_program taskkill enable_taskkill install,po
17541 wine_fn_config_program tasklist enable_tasklist install
17542 wine_fn_config_program taskmgr enable_taskmgr install,po
17543 wine_fn_config_program termsv enable_termsv install
17544 wine_fn_config_program uninstaller enable_uninstaller install,po
17545 wine_fn_config_program unlodctr enable_unlodctr install
17546 wine_fn_config_program view enable_view install,po
17547 wine_fn_config_program wevtutil enable_wevtutil install
17548 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17549 wine_fn_config_program winebrowser enable_winebrowser install
17550 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17551 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17552 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17553 wine_fn_config_program winedevice enable_winedevice install
17554 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17555 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17556 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17557 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17558 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17559 wine_fn_config_program winetest enable_winetest clean
17560 wine_fn_config_program winevdm enable_win16 install
17561 wine_fn_config_program winhelp.exe16 enable_win16 install
17562 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17563 wine_fn_config_program winoldap.mod16 enable_win16 install
17564 wine_fn_config_program winver enable_winver install
17565 wine_fn_config_program wmic enable_wmic install,po
17566 wine_fn_config_program wordpad enable_wordpad install,po
17567 wine_fn_config_program write enable_write install,po
17568 wine_fn_config_program wscript enable_wscript clean,install
17569 wine_fn_config_test programs/wscript/tests wscript.exe_test
17570 wine_fn_config_program wusa enable_wusa install
17571 wine_fn_config_program xcopy enable_xcopy install,po
17572 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17573 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17574 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17575 wine_fn_config_tool tools/sfnt2fon clean
17576 wine_fn_config_tool tools/widl clean,install-dev,manpage
17577 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17578 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17579 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17580 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17581 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17583 LINGUAS="\
17584 ar \
17585 bg \
17586 ca \
17587 cs \
17588 da \
17589 de \
17590 el \
17591 en \
17592 en_US \
17593 eo \
17594 es \
17595 fa \
17596 fi \
17597 fr \
17598 he \
17599 hi \
17600 hr \
17601 hu \
17602 it \
17603 ja \
17604 ko \
17605 lt \
17606 ml \
17607 nb_NO \
17608 nl \
17609 or \
17610 pa \
17611 pl \
17612 pt_BR \
17613 pt_PT \
17614 rm \
17615 ro \
17616 ru \
17617 sk \
17618 sl \
17619 sr_RS@cyrillic \
17620 sr_RS@latin \
17621 sv \
17622 te \
17623 th \
17624 tr \
17625 uk \
17626 wa \
17627 zh_CN \
17628 zh_TW"
17633 wine_fn_ignore_file ".gitignore"
17634 wine_fn_ignore_file "Makefile"
17635 wine_fn_ignore_file "TAGS"
17636 wine_fn_ignore_file "tags"
17637 wine_fn_ignore_file "autom4te.cache"
17638 wine_fn_ignore_file "config.cache"
17639 wine_fn_ignore_file "config.log"
17640 wine_fn_ignore_file "config.status"
17641 wine_fn_ignore_file "configure.lineno"
17642 wine_fn_ignore_file "include/config.h"
17643 wine_fn_ignore_file "include/stamp-h"
17644 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17646 if test "x$enable_tools" != xno
17647 then
17648 wine_fn_ignore_file "tools/makedep$ac_exeext"
17649 ac_config_commands="$ac_config_commands tools/makedep"
17653 ac_config_commands="$ac_config_commands Makefile"
17656 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17660 if test "x$enable_maintainer_mode" = xyes
17661 then
17662 wine_fn_append_rule "configure: configure.ac aclocal.m4
17663 autoconf --warnings=all
17664 include/config.h.in: include/stamp-h.in
17665 include/stamp-h.in: configure.ac aclocal.m4
17666 autoheader --warnings=all
17667 @echo timestamp > \$@"
17670 if test "x$with_gettextpo" = xyes
17671 then
17672 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17673 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17674 \$(LINGUAS:%=po/%.po): po/wine.pot
17675 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17676 po/wine.pot: \$(ALL_POT_FILES)
17677 msgcat -o \$@ \$(ALL_POT_FILES)"
17680 if test "$MSGFMT" != false
17681 then
17682 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17683 clean::
17684 \$(RM) \$(LINGUAS:%=po/%.mo)"
17686 posrc="po"
17687 test "$srcdir" = . || posrc="$srcdir/po"
17688 for i in $LINGUAS
17690 wine_fn_ignore_file "po/$i.mo"
17691 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17692 \$(MSGFMT) -o \$@ $posrc/$i.po"
17693 done
17694 else
17695 LINGUAS=
17698 if test "x$enable_tools" != xno
17699 then
17700 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17701 @./config.status tools/makedep
17702 Makefile: tools/makedep$ac_exeext
17703 distclean:: clean
17704 \$(RM) tools/makedep$ac_exeext"
17705 else
17706 wine_fn_append_rule "\$(MAKEDEP):
17707 @echo \"You need to run make in $TOOLSDIR first\" && false"
17710 if test -n "$with_wine64"
17711 then
17712 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17713 fonts server tools:
17714 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17715 $with_wine64/loader/wine:
17716 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17717 $with_wine64/loader/wine-preloader:
17718 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17719 clean::
17720 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17721 else
17722 as_fn_append LOADER_RULES "
17723 install install-lib:: wine.inf install-man-pages
17724 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17725 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17727 uninstall::
17728 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17732 if test "$srcdir" = .
17733 then
17734 ac_config_commands="$ac_config_commands .gitignore"
17738 $as_echo " done" >&6
17739 cat >confcache <<\_ACEOF
17740 # This file is a shell script that caches the results of configure
17741 # tests run on this system so they can be shared between configure
17742 # scripts and configure runs, see configure's option --config-cache.
17743 # It is not useful on other systems. If it contains results you don't
17744 # want to keep, you may remove or edit it.
17746 # config.status only pays attention to the cache file if you give it
17747 # the --recheck option to rerun configure.
17749 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17750 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17751 # following values.
17753 _ACEOF
17755 # The following way of writing the cache mishandles newlines in values,
17756 # but we know of no workaround that is simple, portable, and efficient.
17757 # So, we kill variables containing newlines.
17758 # Ultrix sh set writes to stderr and can't be redirected directly,
17759 # and sets the high bit in the cache file unless we assign to the vars.
17761 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17762 eval ac_val=\$$ac_var
17763 case $ac_val in #(
17764 *${as_nl}*)
17765 case $ac_var in #(
17766 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17767 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17768 esac
17769 case $ac_var in #(
17770 _ | IFS | as_nl) ;; #(
17771 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17772 *) { eval $ac_var=; unset $ac_var;} ;;
17773 esac ;;
17774 esac
17775 done
17777 (set) 2>&1 |
17778 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17779 *${as_nl}ac_space=\ *)
17780 # `set' does not quote correctly, so add quotes: double-quote
17781 # substitution turns \\\\ into \\, and sed turns \\ into \.
17782 sed -n \
17783 "s/'/'\\\\''/g;
17784 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17785 ;; #(
17787 # `set' quotes correctly as required by POSIX, so do not add quotes.
17788 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17790 esac |
17791 sort
17793 sed '
17794 /^ac_cv_env_/b end
17795 t clear
17796 :clear
17797 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17798 t end
17799 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17800 :end' >>confcache
17801 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17802 if test -w "$cache_file"; then
17803 if test "x$cache_file" != "x/dev/null"; then
17804 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17805 $as_echo "$as_me: updating cache $cache_file" >&6;}
17806 if test ! -f "$cache_file" || test -h "$cache_file"; then
17807 cat confcache >"$cache_file"
17808 else
17809 case $cache_file in #(
17810 */* | ?:*)
17811 mv -f confcache "$cache_file"$$ &&
17812 mv -f "$cache_file"$$ "$cache_file" ;; #(
17814 mv -f confcache "$cache_file" ;;
17815 esac
17818 else
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17820 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17823 rm -f confcache
17825 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17826 # Let make expand exec_prefix.
17827 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17829 DEFS=-DHAVE_CONFIG_H
17831 ac_libobjs=
17832 ac_ltlibobjs=
17834 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17835 # 1. Remove the extension, and $U if already installed.
17836 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17837 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17838 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17839 # will be set to the directory where LIBOBJS objects are built.
17840 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17841 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17842 done
17843 LIBOBJS=$ac_libobjs
17845 LTLIBOBJS=$ac_ltlibobjs
17849 : "${CONFIG_STATUS=./config.status}"
17850 ac_write_fail=0
17851 ac_clean_files_save=$ac_clean_files
17852 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17854 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17855 as_write_fail=0
17856 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17857 #! $SHELL
17858 # Generated by $as_me.
17859 # Run this file to recreate the current configuration.
17860 # Compiler output produced by configure, useful for debugging
17861 # configure, is in config.log if it exists.
17863 debug=false
17864 ac_cs_recheck=false
17865 ac_cs_silent=false
17867 SHELL=\${CONFIG_SHELL-$SHELL}
17868 export SHELL
17869 _ASEOF
17870 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17871 ## -------------------- ##
17872 ## M4sh Initialization. ##
17873 ## -------------------- ##
17875 # Be more Bourne compatible
17876 DUALCASE=1; export DUALCASE # for MKS sh
17877 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17878 emulate sh
17879 NULLCMD=:
17880 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17881 # is contrary to our usage. Disable this feature.
17882 alias -g '${1+"$@"}'='"$@"'
17883 setopt NO_GLOB_SUBST
17884 else
17885 case `(set -o) 2>/dev/null` in #(
17886 *posix*) :
17887 set -o posix ;; #(
17888 *) :
17890 esac
17894 as_nl='
17896 export as_nl
17897 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17898 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17899 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17900 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17901 # Prefer a ksh shell builtin over an external printf program on Solaris,
17902 # but without wasting forks for bash or zsh.
17903 if test -z "$BASH_VERSION$ZSH_VERSION" \
17904 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17905 as_echo='print -r --'
17906 as_echo_n='print -rn --'
17907 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17908 as_echo='printf %s\n'
17909 as_echo_n='printf %s'
17910 else
17911 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17912 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17913 as_echo_n='/usr/ucb/echo -n'
17914 else
17915 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17916 as_echo_n_body='eval
17917 arg=$1;
17918 case $arg in #(
17919 *"$as_nl"*)
17920 expr "X$arg" : "X\\(.*\\)$as_nl";
17921 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17922 esac;
17923 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17925 export as_echo_n_body
17926 as_echo_n='sh -c $as_echo_n_body as_echo'
17928 export as_echo_body
17929 as_echo='sh -c $as_echo_body as_echo'
17932 # The user is always right.
17933 if test "${PATH_SEPARATOR+set}" != set; then
17934 PATH_SEPARATOR=:
17935 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17936 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17937 PATH_SEPARATOR=';'
17942 # IFS
17943 # We need space, tab and new line, in precisely that order. Quoting is
17944 # there to prevent editors from complaining about space-tab.
17945 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17946 # splitting by setting IFS to empty value.)
17947 IFS=" "" $as_nl"
17949 # Find who we are. Look in the path if we contain no directory separator.
17950 as_myself=
17951 case $0 in #((
17952 *[\\/]* ) as_myself=$0 ;;
17953 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17954 for as_dir in $PATH
17956 IFS=$as_save_IFS
17957 test -z "$as_dir" && as_dir=.
17958 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17959 done
17960 IFS=$as_save_IFS
17963 esac
17964 # We did not find ourselves, most probably we were run as `sh COMMAND'
17965 # in which case we are not to be found in the path.
17966 if test "x$as_myself" = x; then
17967 as_myself=$0
17969 if test ! -f "$as_myself"; then
17970 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17971 exit 1
17974 # Unset variables that we do not need and which cause bugs (e.g. in
17975 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17976 # suppresses any "Segmentation fault" message there. '((' could
17977 # trigger a bug in pdksh 5.2.14.
17978 for as_var in BASH_ENV ENV MAIL MAILPATH
17979 do eval test x\${$as_var+set} = xset \
17980 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17981 done
17982 PS1='$ '
17983 PS2='> '
17984 PS4='+ '
17986 # NLS nuisances.
17987 LC_ALL=C
17988 export LC_ALL
17989 LANGUAGE=C
17990 export LANGUAGE
17992 # CDPATH.
17993 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17996 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17997 # ----------------------------------------
17998 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17999 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18000 # script with STATUS, using 1 if that was 0.
18001 as_fn_error ()
18003 as_status=$1; test $as_status -eq 0 && as_status=1
18004 if test "$4"; then
18005 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18006 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18008 $as_echo "$as_me: error: $2" >&2
18009 as_fn_exit $as_status
18010 } # as_fn_error
18013 # as_fn_set_status STATUS
18014 # -----------------------
18015 # Set $? to STATUS, without forking.
18016 as_fn_set_status ()
18018 return $1
18019 } # as_fn_set_status
18021 # as_fn_exit STATUS
18022 # -----------------
18023 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18024 as_fn_exit ()
18026 set +e
18027 as_fn_set_status $1
18028 exit $1
18029 } # as_fn_exit
18031 # as_fn_unset VAR
18032 # ---------------
18033 # Portably unset VAR.
18034 as_fn_unset ()
18036 { eval $1=; unset $1;}
18038 as_unset=as_fn_unset
18039 # as_fn_append VAR VALUE
18040 # ----------------------
18041 # Append the text in VALUE to the end of the definition contained in VAR. Take
18042 # advantage of any shell optimizations that allow amortized linear growth over
18043 # repeated appends, instead of the typical quadratic growth present in naive
18044 # implementations.
18045 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18046 eval 'as_fn_append ()
18048 eval $1+=\$2
18050 else
18051 as_fn_append ()
18053 eval $1=\$$1\$2
18055 fi # as_fn_append
18057 # as_fn_arith ARG...
18058 # ------------------
18059 # Perform arithmetic evaluation on the ARGs, and store the result in the
18060 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18061 # must be portable across $(()) and expr.
18062 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18063 eval 'as_fn_arith ()
18065 as_val=$(( $* ))
18067 else
18068 as_fn_arith ()
18070 as_val=`expr "$@" || test $? -eq 1`
18072 fi # as_fn_arith
18075 if expr a : '\(a\)' >/dev/null 2>&1 &&
18076 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18077 as_expr=expr
18078 else
18079 as_expr=false
18082 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18083 as_basename=basename
18084 else
18085 as_basename=false
18088 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18089 as_dirname=dirname
18090 else
18091 as_dirname=false
18094 as_me=`$as_basename -- "$0" ||
18095 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18096 X"$0" : 'X\(//\)$' \| \
18097 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18098 $as_echo X/"$0" |
18099 sed '/^.*\/\([^/][^/]*\)\/*$/{
18100 s//\1/
18103 /^X\/\(\/\/\)$/{
18104 s//\1/
18107 /^X\/\(\/\).*/{
18108 s//\1/
18111 s/.*/./; q'`
18113 # Avoid depending upon Character Ranges.
18114 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18115 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18116 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18117 as_cr_digits='0123456789'
18118 as_cr_alnum=$as_cr_Letters$as_cr_digits
18120 ECHO_C= ECHO_N= ECHO_T=
18121 case `echo -n x` in #(((((
18122 -n*)
18123 case `echo 'xy\c'` in
18124 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18125 xy) ECHO_C='\c';;
18126 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18127 ECHO_T=' ';;
18128 esac;;
18130 ECHO_N='-n';;
18131 esac
18133 rm -f conf$$ conf$$.exe conf$$.file
18134 if test -d conf$$.dir; then
18135 rm -f conf$$.dir/conf$$.file
18136 else
18137 rm -f conf$$.dir
18138 mkdir conf$$.dir 2>/dev/null
18140 if (echo >conf$$.file) 2>/dev/null; then
18141 if ln -s conf$$.file conf$$ 2>/dev/null; then
18142 as_ln_s='ln -s'
18143 # ... but there are two gotchas:
18144 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18145 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18146 # In both cases, we have to default to `cp -pR'.
18147 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18148 as_ln_s='cp -pR'
18149 elif ln conf$$.file conf$$ 2>/dev/null; then
18150 as_ln_s=ln
18151 else
18152 as_ln_s='cp -pR'
18154 else
18155 as_ln_s='cp -pR'
18157 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18158 rmdir conf$$.dir 2>/dev/null
18161 # as_fn_mkdir_p
18162 # -------------
18163 # Create "$as_dir" as a directory, including parents if necessary.
18164 as_fn_mkdir_p ()
18167 case $as_dir in #(
18168 -*) as_dir=./$as_dir;;
18169 esac
18170 test -d "$as_dir" || eval $as_mkdir_p || {
18171 as_dirs=
18172 while :; do
18173 case $as_dir in #(
18174 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18175 *) as_qdir=$as_dir;;
18176 esac
18177 as_dirs="'$as_qdir' $as_dirs"
18178 as_dir=`$as_dirname -- "$as_dir" ||
18179 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18180 X"$as_dir" : 'X\(//\)[^/]' \| \
18181 X"$as_dir" : 'X\(//\)$' \| \
18182 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18183 $as_echo X"$as_dir" |
18184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18185 s//\1/
18188 /^X\(\/\/\)[^/].*/{
18189 s//\1/
18192 /^X\(\/\/\)$/{
18193 s//\1/
18196 /^X\(\/\).*/{
18197 s//\1/
18200 s/.*/./; q'`
18201 test -d "$as_dir" && break
18202 done
18203 test -z "$as_dirs" || eval "mkdir $as_dirs"
18204 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18207 } # as_fn_mkdir_p
18208 if mkdir -p . 2>/dev/null; then
18209 as_mkdir_p='mkdir -p "$as_dir"'
18210 else
18211 test -d ./-p && rmdir ./-p
18212 as_mkdir_p=false
18216 # as_fn_executable_p FILE
18217 # -----------------------
18218 # Test if FILE is an executable regular file.
18219 as_fn_executable_p ()
18221 test -f "$1" && test -x "$1"
18222 } # as_fn_executable_p
18223 as_test_x='test -x'
18224 as_executable_p=as_fn_executable_p
18226 # Sed expression to map a string onto a valid CPP name.
18227 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18229 # Sed expression to map a string onto a valid variable name.
18230 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18233 exec 6>&1
18234 ## ----------------------------------- ##
18235 ## Main body of $CONFIG_STATUS script. ##
18236 ## ----------------------------------- ##
18237 _ASEOF
18238 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18241 # Save the log message, to keep $0 and so on meaningful, and to
18242 # report actual input values of CONFIG_FILES etc. instead of their
18243 # values after options handling.
18244 ac_log="
18245 This file was extended by Wine $as_me 1.7.32, which was
18246 generated by GNU Autoconf 2.69. Invocation command line was
18248 CONFIG_FILES = $CONFIG_FILES
18249 CONFIG_HEADERS = $CONFIG_HEADERS
18250 CONFIG_LINKS = $CONFIG_LINKS
18251 CONFIG_COMMANDS = $CONFIG_COMMANDS
18252 $ $0 $@
18254 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18257 _ACEOF
18259 case $ac_config_files in *"
18260 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18261 esac
18263 case $ac_config_headers in *"
18264 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18265 esac
18268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18269 # Files that config.status was made for.
18270 config_files="$ac_config_files"
18271 config_headers="$ac_config_headers"
18272 config_links="$ac_config_links"
18273 config_commands="$ac_config_commands"
18275 _ACEOF
18277 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18278 ac_cs_usage="\
18279 \`$as_me' instantiates files and other configuration actions
18280 from templates according to the current configuration. Unless the files
18281 and actions are specified as TAGs, all are instantiated by default.
18283 Usage: $0 [OPTION]... [TAG]...
18285 -h, --help print this help, then exit
18286 -V, --version print version number and configuration settings, then exit
18287 --config print configuration, then exit
18288 -q, --quiet, --silent
18289 do not print progress messages
18290 -d, --debug don't remove temporary files
18291 --recheck update $as_me by reconfiguring in the same conditions
18292 --file=FILE[:TEMPLATE]
18293 instantiate the configuration file FILE
18294 --header=FILE[:TEMPLATE]
18295 instantiate the configuration header FILE
18297 Configuration files:
18298 $config_files
18300 Configuration headers:
18301 $config_headers
18303 Configuration links:
18304 $config_links
18306 Configuration commands:
18307 $config_commands
18309 Report bugs to <wine-devel@winehq.org>.
18310 Wine home page: <http://www.winehq.org>."
18312 _ACEOF
18313 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18314 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18315 ac_cs_version="\\
18316 Wine config.status 1.7.32
18317 configured by $0, generated by GNU Autoconf 2.69,
18318 with options \\"\$ac_cs_config\\"
18320 Copyright (C) 2012 Free Software Foundation, Inc.
18321 This config.status script is free software; the Free Software Foundation
18322 gives unlimited permission to copy, distribute and modify it."
18324 ac_pwd='$ac_pwd'
18325 srcdir='$srcdir'
18326 test -n "\$AWK" || AWK=awk
18327 _ACEOF
18329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18330 # The default lists apply if the user does not specify any file.
18331 ac_need_defaults=:
18332 while test $# != 0
18334 case $1 in
18335 --*=?*)
18336 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18337 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18338 ac_shift=:
18340 --*=)
18341 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18342 ac_optarg=
18343 ac_shift=:
18346 ac_option=$1
18347 ac_optarg=$2
18348 ac_shift=shift
18350 esac
18352 case $ac_option in
18353 # Handling of the options.
18354 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18355 ac_cs_recheck=: ;;
18356 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18357 $as_echo "$ac_cs_version"; exit ;;
18358 --config | --confi | --conf | --con | --co | --c )
18359 $as_echo "$ac_cs_config"; exit ;;
18360 --debug | --debu | --deb | --de | --d | -d )
18361 debug=: ;;
18362 --file | --fil | --fi | --f )
18363 $ac_shift
18364 case $ac_optarg in
18365 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18366 '') as_fn_error $? "missing file argument" ;;
18367 esac
18368 as_fn_append CONFIG_FILES " '$ac_optarg'"
18369 ac_need_defaults=false;;
18370 --header | --heade | --head | --hea )
18371 $ac_shift
18372 case $ac_optarg in
18373 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18374 esac
18375 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18376 ac_need_defaults=false;;
18377 --he | --h)
18378 # Conflict between --help and --header
18379 as_fn_error $? "ambiguous option: \`$1'
18380 Try \`$0 --help' for more information.";;
18381 --help | --hel | -h )
18382 $as_echo "$ac_cs_usage"; exit ;;
18383 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18384 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18385 ac_cs_silent=: ;;
18387 # This is an error.
18388 -*) as_fn_error $? "unrecognized option: \`$1'
18389 Try \`$0 --help' for more information." ;;
18391 *) as_fn_append ac_config_targets " $1"
18392 ac_need_defaults=false ;;
18394 esac
18395 shift
18396 done
18398 ac_configure_extra_args=
18400 if $ac_cs_silent; then
18401 exec 6>/dev/null
18402 ac_configure_extra_args="$ac_configure_extra_args --silent"
18405 _ACEOF
18406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18407 if \$ac_cs_recheck; then
18408 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18409 shift
18410 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18411 CONFIG_SHELL='$SHELL'
18412 export CONFIG_SHELL
18413 exec "\$@"
18416 _ACEOF
18417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18418 exec 5>>config.log
18420 echo
18421 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18422 ## Running $as_me. ##
18423 _ASBOX
18424 $as_echo "$ac_log"
18425 } >&5
18427 _ACEOF
18428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18430 # INIT-COMMANDS
18432 wine_fn_output_makedep ()
18434 as_dir=tools; as_fn_mkdir_p
18435 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18437 wine_fn_output_makefile ()
18439 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18440 `cat $wine_rules_file`
18441 _WINE_EOF
18442 as_fn_error $? "could not create Makefile" "$LINENO" 5
18444 wine_fn_output_gitignore ()
18446 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18447 $GITIGNORE
18448 _WINE_EOF
18449 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18452 _ACEOF
18454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18456 # Handling of arguments.
18457 for ac_config_target in $ac_config_targets
18459 case $ac_config_target in
18460 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18461 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18462 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18463 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18464 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18465 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18466 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18467 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18468 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18469 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18470 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18471 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18472 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18473 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18475 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18476 esac
18477 done
18480 # If the user did not use the arguments to specify the items to instantiate,
18481 # then the envvar interface is used. Set only those that are not.
18482 # We use the long form for the default assignment because of an extremely
18483 # bizarre bug on SunOS 4.1.3.
18484 if $ac_need_defaults; then
18485 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18486 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18487 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18488 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18491 # Have a temporary directory for convenience. Make it in the build tree
18492 # simply because there is no reason against having it here, and in addition,
18493 # creating and moving files from /tmp can sometimes cause problems.
18494 # Hook for its removal unless debugging.
18495 # Note that there is a small window in which the directory will not be cleaned:
18496 # after its creation but before its name has been assigned to `$tmp'.
18497 $debug ||
18499 tmp= ac_tmp=
18500 trap 'exit_status=$?
18501 : "${ac_tmp:=$tmp}"
18502 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18504 trap 'as_fn_exit 1' 1 2 13 15
18506 # Create a (secure) tmp directory for tmp files.
18509 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18510 test -d "$tmp"
18511 } ||
18513 tmp=./conf$$-$RANDOM
18514 (umask 077 && mkdir "$tmp")
18515 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18516 ac_tmp=$tmp
18518 # Set up the scripts for CONFIG_FILES section.
18519 # No need to generate them if there are no CONFIG_FILES.
18520 # This happens for instance with `./config.status config.h'.
18521 if test -n "$CONFIG_FILES"; then
18524 ac_cr=`echo X | tr X '\015'`
18525 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18526 # But we know of no other shell where ac_cr would be empty at this
18527 # point, so we can use a bashism as a fallback.
18528 if test "x$ac_cr" = x; then
18529 eval ac_cr=\$\'\\r\'
18531 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18532 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18533 ac_cs_awk_cr='\\r'
18534 else
18535 ac_cs_awk_cr=$ac_cr
18538 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18539 _ACEOF
18543 echo "cat >conf$$subs.awk <<_ACEOF" &&
18544 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18545 echo "_ACEOF"
18546 } >conf$$subs.sh ||
18547 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18548 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18549 ac_delim='%!_!# '
18550 for ac_last_try in false false false false false :; do
18551 . ./conf$$subs.sh ||
18552 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18554 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18555 if test $ac_delim_n = $ac_delim_num; then
18556 break
18557 elif $ac_last_try; then
18558 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18559 else
18560 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18562 done
18563 rm -f conf$$subs.sh
18565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18566 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18567 _ACEOF
18568 sed -n '
18570 s/^/S["/; s/!.*/"]=/
18573 s/^[^!]*!//
18574 :repl
18575 t repl
18576 s/'"$ac_delim"'$//
18577 t delim
18580 s/\(.\{148\}\)..*/\1/
18581 t more1
18582 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18585 b repl
18586 :more1
18587 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18590 s/.\{148\}//
18591 t nl
18592 :delim
18594 s/\(.\{148\}\)..*/\1/
18595 t more2
18596 s/["\\]/\\&/g; s/^/"/; s/$/"/
18599 :more2
18600 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18603 s/.\{148\}//
18604 t delim
18605 ' <conf$$subs.awk | sed '
18606 /^[^""]/{
18608 s/\n//
18610 ' >>$CONFIG_STATUS || ac_write_fail=1
18611 rm -f conf$$subs.awk
18612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18613 _ACAWK
18614 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18615 for (key in S) S_is_set[key] = 1
18616 FS = "\a"
18620 line = $ 0
18621 nfields = split(line, field, "@")
18622 substed = 0
18623 len = length(field[1])
18624 for (i = 2; i < nfields; i++) {
18625 key = field[i]
18626 keylen = length(key)
18627 if (S_is_set[key]) {
18628 value = S[key]
18629 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18630 len += length(value) + length(field[++i])
18631 substed = 1
18632 } else
18633 len += 1 + keylen
18636 print line
18639 _ACAWK
18640 _ACEOF
18641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18642 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18643 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18644 else
18646 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18647 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18648 _ACEOF
18650 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18651 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18652 # trailing colons and then remove the whole line if VPATH becomes empty
18653 # (actually we leave an empty line to preserve line numbers).
18654 if test "x$srcdir" = x.; then
18655 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18657 s///
18658 s/^/:/
18659 s/[ ]*$/:/
18660 s/:\$(srcdir):/:/g
18661 s/:\${srcdir}:/:/g
18662 s/:@srcdir@:/:/g
18663 s/^:*//
18664 s/:*$//
18666 s/\(=[ ]*\).*/\1/
18668 s/\n//
18669 s/^[^=]*=[ ]*$//
18673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18674 fi # test -n "$CONFIG_FILES"
18676 # Set up the scripts for CONFIG_HEADERS section.
18677 # No need to generate them if there are no CONFIG_HEADERS.
18678 # This happens for instance with `./config.status Makefile'.
18679 if test -n "$CONFIG_HEADERS"; then
18680 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18681 BEGIN {
18682 _ACEOF
18684 # Transform confdefs.h into an awk script `defines.awk', embedded as
18685 # here-document in config.status, that substitutes the proper values into
18686 # config.h.in to produce config.h.
18688 # Create a delimiter string that does not exist in confdefs.h, to ease
18689 # handling of long lines.
18690 ac_delim='%!_!# '
18691 for ac_last_try in false false :; do
18692 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18693 if test -z "$ac_tt"; then
18694 break
18695 elif $ac_last_try; then
18696 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18697 else
18698 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18700 done
18702 # For the awk script, D is an array of macro values keyed by name,
18703 # likewise P contains macro parameters if any. Preserve backslash
18704 # newline sequences.
18706 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18707 sed -n '
18708 s/.\{148\}/&'"$ac_delim"'/g
18709 t rset
18710 :rset
18711 s/^[ ]*#[ ]*define[ ][ ]*/ /
18712 t def
18714 :def
18715 s/\\$//
18716 t bsnl
18717 s/["\\]/\\&/g
18718 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18719 D["\1"]=" \3"/p
18720 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18722 :bsnl
18723 s/["\\]/\\&/g
18724 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18725 D["\1"]=" \3\\\\\\n"\\/p
18726 t cont
18727 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18728 t cont
18730 :cont
18732 s/.\{148\}/&'"$ac_delim"'/g
18733 t clear
18734 :clear
18735 s/\\$//
18736 t bsnlc
18737 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18739 :bsnlc
18740 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18741 b cont
18742 ' <confdefs.h | sed '
18743 s/'"$ac_delim"'/"\\\
18744 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18747 for (key in D) D_is_set[key] = 1
18748 FS = "\a"
18750 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18751 line = \$ 0
18752 split(line, arg, " ")
18753 if (arg[1] == "#") {
18754 defundef = arg[2]
18755 mac1 = arg[3]
18756 } else {
18757 defundef = substr(arg[1], 2)
18758 mac1 = arg[2]
18760 split(mac1, mac2, "(") #)
18761 macro = mac2[1]
18762 prefix = substr(line, 1, index(line, defundef) - 1)
18763 if (D_is_set[macro]) {
18764 # Preserve the white space surrounding the "#".
18765 print prefix "define", macro P[macro] D[macro]
18766 next
18767 } else {
18768 # Replace #undef with comments. This is necessary, for example,
18769 # in the case of _POSIX_SOURCE, which is predefined and required
18770 # on some systems where configure will not decide to define it.
18771 if (defundef == "undef") {
18772 print "/*", prefix defundef, macro, "*/"
18773 next
18777 { print }
18778 _ACAWK
18779 _ACEOF
18780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18781 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18782 fi # test -n "$CONFIG_HEADERS"
18785 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18786 shift
18787 for ac_tag
18789 case $ac_tag in
18790 :[FHLC]) ac_mode=$ac_tag; continue;;
18791 esac
18792 case $ac_mode$ac_tag in
18793 :[FHL]*:*);;
18794 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18795 :[FH]-) ac_tag=-:-;;
18796 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18797 esac
18798 ac_save_IFS=$IFS
18799 IFS=:
18800 set x $ac_tag
18801 IFS=$ac_save_IFS
18802 shift
18803 ac_file=$1
18804 shift
18806 case $ac_mode in
18807 :L) ac_source=$1;;
18808 :[FH])
18809 ac_file_inputs=
18810 for ac_f
18812 case $ac_f in
18813 -) ac_f="$ac_tmp/stdin";;
18814 *) # Look for the file first in the build tree, then in the source tree
18815 # (if the path is not absolute). The absolute path cannot be DOS-style,
18816 # because $ac_f cannot contain `:'.
18817 test -f "$ac_f" ||
18818 case $ac_f in
18819 [\\/$]*) false;;
18820 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18821 esac ||
18822 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18823 esac
18824 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18825 as_fn_append ac_file_inputs " '$ac_f'"
18826 done
18828 # Let's still pretend it is `configure' which instantiates (i.e., don't
18829 # use $as_me), people would be surprised to read:
18830 # /* config.h. Generated by config.status. */
18831 configure_input='Generated from '`
18832 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18833 `' by configure.'
18834 if test x"$ac_file" != x-; then
18835 configure_input="$ac_file. $configure_input"
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18837 $as_echo "$as_me: creating $ac_file" >&6;}
18839 # Neutralize special characters interpreted by sed in replacement strings.
18840 case $configure_input in #(
18841 *\&* | *\|* | *\\* )
18842 ac_sed_conf_input=`$as_echo "$configure_input" |
18843 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18844 *) ac_sed_conf_input=$configure_input;;
18845 esac
18847 case $ac_tag in
18848 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18849 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18850 esac
18852 esac
18854 ac_dir=`$as_dirname -- "$ac_file" ||
18855 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18856 X"$ac_file" : 'X\(//\)[^/]' \| \
18857 X"$ac_file" : 'X\(//\)$' \| \
18858 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18859 $as_echo X"$ac_file" |
18860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18861 s//\1/
18864 /^X\(\/\/\)[^/].*/{
18865 s//\1/
18868 /^X\(\/\/\)$/{
18869 s//\1/
18872 /^X\(\/\).*/{
18873 s//\1/
18876 s/.*/./; q'`
18877 as_dir="$ac_dir"; as_fn_mkdir_p
18878 ac_builddir=.
18880 case "$ac_dir" in
18881 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18883 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18884 # A ".." for each directory in $ac_dir_suffix.
18885 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18886 case $ac_top_builddir_sub in
18887 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18888 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18889 esac ;;
18890 esac
18891 ac_abs_top_builddir=$ac_pwd
18892 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18893 # for backward compatibility:
18894 ac_top_builddir=$ac_top_build_prefix
18896 case $srcdir in
18897 .) # We are building in place.
18898 ac_srcdir=.
18899 ac_top_srcdir=$ac_top_builddir_sub
18900 ac_abs_top_srcdir=$ac_pwd ;;
18901 [\\/]* | ?:[\\/]* ) # Absolute name.
18902 ac_srcdir=$srcdir$ac_dir_suffix;
18903 ac_top_srcdir=$srcdir
18904 ac_abs_top_srcdir=$srcdir ;;
18905 *) # Relative name.
18906 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18907 ac_top_srcdir=$ac_top_build_prefix$srcdir
18908 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18909 esac
18910 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18913 case $ac_mode in
18916 # CONFIG_FILE
18919 _ACEOF
18921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18922 # If the template does not know about datarootdir, expand it.
18923 # FIXME: This hack should be removed a few years after 2.60.
18924 ac_datarootdir_hack=; ac_datarootdir_seen=
18925 ac_sed_dataroot='
18926 /datarootdir/ {
18930 /@datadir@/p
18931 /@docdir@/p
18932 /@infodir@/p
18933 /@localedir@/p
18934 /@mandir@/p'
18935 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18936 *datarootdir*) ac_datarootdir_seen=yes;;
18937 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18939 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18940 _ACEOF
18941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18942 ac_datarootdir_hack='
18943 s&@datadir@&$datadir&g
18944 s&@docdir@&$docdir&g
18945 s&@infodir@&$infodir&g
18946 s&@localedir@&$localedir&g
18947 s&@mandir@&$mandir&g
18948 s&\\\${datarootdir}&$datarootdir&g' ;;
18949 esac
18950 _ACEOF
18952 # Neutralize VPATH when `$srcdir' = `.'.
18953 # Shell code in configure.ac might set extrasub.
18954 # FIXME: do we really want to maintain this feature?
18955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18956 ac_sed_extra="$ac_vpsub
18957 $extrasub
18958 _ACEOF
18959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18961 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18962 s|@configure_input@|$ac_sed_conf_input|;t t
18963 s&@top_builddir@&$ac_top_builddir_sub&;t t
18964 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18965 s&@srcdir@&$ac_srcdir&;t t
18966 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18967 s&@top_srcdir@&$ac_top_srcdir&;t t
18968 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18969 s&@builddir@&$ac_builddir&;t t
18970 s&@abs_builddir@&$ac_abs_builddir&;t t
18971 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18972 $ac_datarootdir_hack
18974 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18975 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18977 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18978 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18979 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18980 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18982 which seems to be undefined. Please make sure it is defined" >&5
18983 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18984 which seems to be undefined. Please make sure it is defined" >&2;}
18986 rm -f "$ac_tmp/stdin"
18987 case $ac_file in
18988 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18989 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18990 esac \
18991 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18995 # CONFIG_HEADER
18997 if test x"$ac_file" != x-; then
18999 $as_echo "/* $configure_input */" \
19000 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19001 } >"$ac_tmp/config.h" \
19002 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19003 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19004 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19005 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19006 else
19007 rm -f "$ac_file"
19008 mv "$ac_tmp/config.h" "$ac_file" \
19009 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19011 else
19012 $as_echo "/* $configure_input */" \
19013 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19014 || as_fn_error $? "could not create -" "$LINENO" 5
19019 # CONFIG_LINK
19022 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19024 else
19025 # Prefer the file from the source tree if names are identical.
19026 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19027 ac_source=$srcdir/$ac_source
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19031 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19033 if test ! -r "$ac_source"; then
19034 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19036 rm -f "$ac_file"
19038 # Try a relative symlink, then a hard link, then a copy.
19039 case $ac_source in
19040 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19041 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19042 esac
19043 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19044 ln "$ac_source" "$ac_file" 2>/dev/null ||
19045 cp -p "$ac_source" "$ac_file" ||
19046 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19049 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19050 $as_echo "$as_me: executing $ac_file commands" >&6;}
19052 esac
19055 case $ac_file$ac_mode in
19056 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19057 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19058 "Makefile":C) wine_fn_output_makefile Makefile ;;
19059 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19061 esac
19062 done # for ac_tag
19065 as_fn_exit 0
19066 _ACEOF
19067 ac_clean_files=$ac_clean_files_save
19069 test $ac_write_fail = 0 ||
19070 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19073 # configure is writing to config.log, and then calls config.status.
19074 # config.status does its own redirection, appending to config.log.
19075 # Unfortunately, on DOS this fails, as config.log is still kept open
19076 # by configure, so config.status won't be able to write to it; its
19077 # output is simply discarded. So we exec the FD to /dev/null,
19078 # effectively closing config.log, so it can be properly (re)opened and
19079 # appended to by config.status. When coming back to configure, we
19080 # need to make the FD available again.
19081 if test "$no_create" != yes; then
19082 ac_cs_success=:
19083 ac_config_status_args=
19084 test "$silent" = yes &&
19085 ac_config_status_args="$ac_config_status_args --quiet"
19086 exec 5>/dev/null
19087 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19088 exec 5>>config.log
19089 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19090 # would make configure fail if this is the last instruction.
19091 $ac_cs_success || as_fn_exit 1
19093 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19095 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19099 if test "$no_create" = "yes"
19100 then
19101 exit 0
19104 ac_save_IFS="$IFS"
19105 if test "x$wine_notices != "x; then
19106 echo >&6
19107 IFS="|"
19108 for msg in $wine_notices; do
19109 IFS="$ac_save_IFS"
19110 if ${msg:+false} :; then :
19112 else
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19114 $as_echo "$as_me: $msg" >&6;}
19116 done
19118 IFS="|"
19119 for msg in $wine_warnings; do
19120 IFS="$ac_save_IFS"
19121 if ${msg:+false} :; then :
19123 else
19124 echo >&2
19125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19126 $as_echo "$as_me: WARNING: $msg" >&2;}
19128 done
19129 IFS="$ac_save_IFS"
19131 $as_echo "
19132 $as_me: Finished. Do '${ac_make}' to compile Wine.
19133 " >&6