mshtml: Added IHTMLTable::bgColor property implementation.
[wine.git] / configure
blobfae5c0af54d3f9849af57128ef715d60fb3f9841
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.16.
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.16'
584 PACKAGE_STRING='Wine 1.7.16'
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 X_EXTRA_LIBS
680 X_LIBS
681 X_PRE_LIBS
682 X_CFLAGS
683 XMKMF
684 PTHREAD_LIBS
685 CROSSCC
686 CROSSTARGET
687 PRELINK
688 CARBON_LIBS
689 QUICKTIME_LIBS
690 OPENCL_LIBS
691 OPENAL_LIBS
692 COREAUDIO_LIBS
693 SECURITY_LIBS
694 DISKARBITRATION_LIBS
695 APPKIT_LIBS
696 CORESERVICES_LIBS
697 APPLICATIONSERVICES_LIBS
698 FORCEFEEDBACK_LIBS
699 IOKIT_LIBS
700 COREFOUNDATION_LIBS
701 LIBWINE_RULES
702 SOCKET_LIBS
703 DLLTOOL
704 LOADER_RULES
705 ALL_TEST_RESOURCES
706 READELF
708 LDRPATH_LOCAL
709 LDRPATH_INSTALL
710 DLLFLAGS
711 DLLPREFIX
712 dlldir
714 OPENGL_LIBS
715 ICOTOOL
716 CONVERT
717 RSVG
718 FONTFORGE
719 PKG_CONFIG
720 MSGFMT
721 LDCONFIG
722 EGREP
723 GREP
724 LN_S
725 RANLIB
726 ARFLAGS
727 STRIP
728 ac_ct_AR
730 BISON
731 FLEX
732 TOOLSDIR
733 TARGETFLAGS
734 CPPBIN
735 ac_ct_CXX
736 CXXFLAGS
738 OBJEXT
739 EXEEXT
740 ac_ct_CC
741 CPPFLAGS
742 LDFLAGS
743 CFLAGS
745 SET_MAKE
746 host_os
747 host_vendor
748 host_cpu
749 host
750 build_os
751 build_vendor
752 build_cpu
753 build
754 target_alias
755 host_alias
756 build_alias
757 LIBS
758 ECHO_T
759 ECHO_N
760 ECHO_C
761 DEFS
762 mandir
763 localedir
764 libdir
765 psdir
766 pdfdir
767 dvidir
768 htmldir
769 infodir
770 docdir
771 oldincludedir
772 includedir
773 localstatedir
774 sharedstatedir
775 sysconfdir
776 datadir
777 datarootdir
778 libexecdir
779 sbindir
780 bindir
781 program_transform_name
782 prefix
783 exec_prefix
784 PACKAGE_URL
785 PACKAGE_BUGREPORT
786 PACKAGE_STRING
787 PACKAGE_VERSION
788 PACKAGE_TARNAME
789 PACKAGE_NAME
790 PATH_SEPARATOR
791 SHELL'
792 ac_subst_files=''
793 ac_user_opts='
794 enable_option_checking
795 enable_win16
796 enable_win64
797 enable_tests
798 enable_maintainer_mode
799 with_alsa
800 with_capi
801 with_cms
802 with_coreaudio
803 with_cups
804 with_curses
805 with_dbus
806 with_fontconfig
807 with_freetype
808 with_gettext
809 with_gettextpo
810 with_gphoto
811 with_glu
812 with_gnutls
813 with_gsm
814 with_gstreamer
815 with_hal
816 with_jpeg
817 with_ldap
818 with_mpg123
819 with_netapi
820 with_openal
821 with_opencl
822 with_opengl
823 with_osmesa
824 with_oss
825 with_png
826 with_pthread
827 with_sane
828 with_tiff
829 with_v4l
830 with_xcomposite
831 with_xcursor
832 with_xinerama
833 with_xinput
834 with_xinput2
835 with_xml
836 with_xrandr
837 with_xrender
838 with_xshape
839 with_xshm
840 with_xslt
841 with_xxf86vm
842 with_zlib
843 with_wine_tools
844 with_wine64
845 enable_largefile
846 with_x
847 enable_acledit
848 enable_aclui
849 enable_activeds
850 enable_actxprxy
851 enable_advapi32
852 enable_advpack
853 enable_amstream
854 enable_api_ms_win_core_com_l1_1_0
855 enable_api_ms_win_core_console_l1_1_0
856 enable_api_ms_win_core_debug_l1_1_1
857 enable_api_ms_win_core_errorhandling_l1_1_1
858 enable_api_ms_win_core_file_l1_2_0
859 enable_api_ms_win_core_handle_l1_1_0
860 enable_api_ms_win_core_heap_l1_2_0
861 enable_api_ms_win_core_heap_obsolete_l1_1_0
862 enable_api_ms_win_core_interlocked_l1_2_0
863 enable_api_ms_win_core_io_l1_1_1
864 enable_api_ms_win_core_kernel32_legacy_l1_1_0
865 enable_api_ms_win_core_libraryloader_l1_1_1
866 enable_api_ms_win_core_localization_l1_2_0
867 enable_api_ms_win_core_localization_obsolete_l1_1_0
868 enable_api_ms_win_core_localregistry_l1_1_0
869 enable_api_ms_win_core_memory_l1_1_1
870 enable_api_ms_win_core_namedpipe_l1_2_0
871 enable_api_ms_win_core_processenvironment_l1_2_0
872 enable_api_ms_win_core_processthreads_l1_1_0
873 enable_api_ms_win_core_processthreads_l1_1_1
874 enable_api_ms_win_core_profile_l1_1_0
875 enable_api_ms_win_core_psapi_l1_1_0
876 enable_api_ms_win_core_registry_l1_1_0
877 enable_api_ms_win_core_rtlsupport_l1_2_0
878 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
879 enable_api_ms_win_core_string_l1_1_0
880 enable_api_ms_win_core_synch_l1_2_0
881 enable_api_ms_win_core_sysinfo_l1_2_0
882 enable_api_ms_win_core_threadpool_legacy_l1_1_0
883 enable_api_ms_win_core_timezone_l1_1_0
884 enable_api_ms_win_core_url_l1_1_0
885 enable_api_ms_win_core_util_l1_1_0
886 enable_api_ms_win_core_winrt_error_l1_1_0
887 enable_api_ms_win_core_winrt_string_l1_1_0
888 enable_api_ms_win_downlevel_advapi32_l1_1_0
889 enable_api_ms_win_downlevel_advapi32_l2_1_0
890 enable_api_ms_win_downlevel_normaliz_l1_1_0
891 enable_api_ms_win_downlevel_ole32_l1_1_0
892 enable_api_ms_win_downlevel_shell32_l1_1_0
893 enable_api_ms_win_downlevel_shlwapi_l1_1_0
894 enable_api_ms_win_downlevel_shlwapi_l2_1_0
895 enable_api_ms_win_downlevel_user32_l1_1_0
896 enable_api_ms_win_downlevel_version_l1_1_0
897 enable_api_ms_win_eventing_provider_l1_1_0
898 enable_api_ms_win_ntuser_dc_access_l1_1_0
899 enable_api_ms_win_security_base_l1_1_0
900 enable_api_ms_win_security_base_l1_2_0
901 enable_api_ms_win_security_sddl_l1_1_0
902 enable_api_ms_win_service_core_l1_1_1
903 enable_api_ms_win_service_management_l1_1_0
904 enable_api_ms_win_service_winsvc_l1_2_0
905 enable_apphelp
906 enable_appwiz_cpl
907 enable_atl
908 enable_atl100
909 enable_atl110
910 enable_atl80
911 enable_atl90
912 enable_authz
913 enable_avicap32
914 enable_avifil32
915 enable_avrt
916 enable_bcrypt
917 enable_browseui
918 enable_cabinet
919 enable_capi2032
920 enable_cards
921 enable_cfgmgr32
922 enable_clusapi
923 enable_comcat
924 enable_comctl32
925 enable_comdlg32
926 enable_compstui
927 enable_comsvcs
928 enable_credui
929 enable_crtdll
930 enable_crypt32
931 enable_cryptdlg
932 enable_cryptdll
933 enable_cryptnet
934 enable_cryptui
935 enable_ctapi32
936 enable_ctl3d32
937 enable_d2d1
938 enable_d3d10
939 enable_d3d10_1
940 enable_d3d10core
941 enable_d3d11
942 enable_d3d8
943 enable_d3d9
944 enable_d3dcompiler_33
945 enable_d3dcompiler_34
946 enable_d3dcompiler_35
947 enable_d3dcompiler_36
948 enable_d3dcompiler_37
949 enable_d3dcompiler_38
950 enable_d3dcompiler_39
951 enable_d3dcompiler_40
952 enable_d3dcompiler_41
953 enable_d3dcompiler_42
954 enable_d3dcompiler_43
955 enable_d3dim
956 enable_d3drm
957 enable_d3dx10_33
958 enable_d3dx10_34
959 enable_d3dx10_35
960 enable_d3dx10_36
961 enable_d3dx10_37
962 enable_d3dx10_38
963 enable_d3dx10_39
964 enable_d3dx10_40
965 enable_d3dx10_41
966 enable_d3dx10_42
967 enable_d3dx10_43
968 enable_d3dx11_42
969 enable_d3dx11_43
970 enable_d3dx9_24
971 enable_d3dx9_25
972 enable_d3dx9_26
973 enable_d3dx9_27
974 enable_d3dx9_28
975 enable_d3dx9_29
976 enable_d3dx9_30
977 enable_d3dx9_31
978 enable_d3dx9_32
979 enable_d3dx9_33
980 enable_d3dx9_34
981 enable_d3dx9_35
982 enable_d3dx9_36
983 enable_d3dx9_37
984 enable_d3dx9_38
985 enable_d3dx9_39
986 enable_d3dx9_40
987 enable_d3dx9_41
988 enable_d3dx9_42
989 enable_d3dx9_43
990 enable_d3dxof
991 enable_dbgeng
992 enable_dbghelp
993 enable_dciman32
994 enable_ddraw
995 enable_ddrawex
996 enable_devenum
997 enable_dhcpcsvc
998 enable_difxapi
999 enable_dinput
1000 enable_dinput8
1001 enable_dispex
1002 enable_dmband
1003 enable_dmcompos
1004 enable_dmime
1005 enable_dmloader
1006 enable_dmscript
1007 enable_dmstyle
1008 enable_dmsynth
1009 enable_dmusic
1010 enable_dmusic32
1011 enable_dnsapi
1012 enable_dplay
1013 enable_dplayx
1014 enable_dpnaddr
1015 enable_dpnet
1016 enable_dpnhpast
1017 enable_dpnlobby
1018 enable_dpwsockx
1019 enable_drmclien
1020 enable_dsound
1021 enable_dssenh
1022 enable_dswave
1023 enable_dwmapi
1024 enable_dwrite
1025 enable_dxdiagn
1026 enable_dxgi
1027 enable_dxva2
1028 enable_explorerframe
1029 enable_ext_ms_win_gdi_devcaps_l1_1_0
1030 enable_faultrep
1031 enable_fltlib
1032 enable_fntcache
1033 enable_fontsub
1034 enable_fusion
1035 enable_fwpuclnt
1036 enable_gameux
1037 enable_gdi32
1038 enable_gdiplus
1039 enable_glu32
1040 enable_gphoto2_ds
1041 enable_gpkcsp
1042 enable_hal
1043 enable_hhctrl_ocx
1044 enable_hid
1045 enable_hlink
1046 enable_hnetcfg
1047 enable_httpapi
1048 enable_iccvid
1049 enable_icmp
1050 enable_ieframe
1051 enable_imaadp32_acm
1052 enable_imagehlp
1053 enable_imm32
1054 enable_inetcomm
1055 enable_inetcpl_cpl
1056 enable_inetmib1
1057 enable_infosoft
1058 enable_initpki
1059 enable_inkobj
1060 enable_inseng
1061 enable_iphlpapi
1062 enable_itircl
1063 enable_itss
1064 enable_joy_cpl
1065 enable_jscript
1066 enable_kernel32
1067 enable_ktmw32
1068 enable_loadperf
1069 enable_localspl
1070 enable_localui
1071 enable_lz32
1072 enable_mapi32
1073 enable_mapistub
1074 enable_mciavi32
1075 enable_mcicda
1076 enable_mciqtz32
1077 enable_mciseq
1078 enable_mciwave
1079 enable_mgmtapi
1080 enable_midimap
1081 enable_mlang
1082 enable_mmcndmgr
1083 enable_mmdevapi
1084 enable_mountmgr_sys
1085 enable_mpr
1086 enable_mprapi
1087 enable_msacm32_drv
1088 enable_msacm32
1089 enable_msadp32_acm
1090 enable_mscat32
1091 enable_mscms
1092 enable_mscoree
1093 enable_msctf
1094 enable_msdaps
1095 enable_msdmo
1096 enable_msftedit
1097 enable_msg711_acm
1098 enable_msgsm32_acm
1099 enable_mshtml_tlb
1100 enable_mshtml
1101 enable_msi
1102 enable_msident
1103 enable_msimg32
1104 enable_msimsg
1105 enable_msimtf
1106 enable_msisip
1107 enable_msisys_ocx
1108 enable_msls31
1109 enable_msnet32
1110 enable_mspatcha
1111 enable_msrle32
1112 enable_mssign32
1113 enable_mssip32
1114 enable_mstask
1115 enable_msvcirt
1116 enable_msvcm80
1117 enable_msvcm90
1118 enable_msvcp100
1119 enable_msvcp110
1120 enable_msvcp60
1121 enable_msvcp70
1122 enable_msvcp71
1123 enable_msvcp80
1124 enable_msvcp90
1125 enable_msvcr100
1126 enable_msvcr110
1127 enable_msvcr70
1128 enable_msvcr71
1129 enable_msvcr80
1130 enable_msvcr90
1131 enable_msvcrt
1132 enable_msvcrt20
1133 enable_msvcrt40
1134 enable_msvcrtd
1135 enable_msvfw32
1136 enable_msvidc32
1137 enable_mswsock
1138 enable_msxml
1139 enable_msxml2
1140 enable_msxml3
1141 enable_msxml4
1142 enable_msxml6
1143 enable_nddeapi
1144 enable_netapi32
1145 enable_netcfgx
1146 enable_netprofm
1147 enable_newdev
1148 enable_normaliz
1149 enable_npmshtml
1150 enable_ntdll
1151 enable_ntdsapi
1152 enable_ntoskrnl_exe
1153 enable_ntprint
1154 enable_objsel
1155 enable_odbc32
1156 enable_odbccp32
1157 enable_odbccu32
1158 enable_ole32
1159 enable_oleacc
1160 enable_oleaut32
1161 enable_olecli32
1162 enable_oledb32
1163 enable_oledlg
1164 enable_olepro32
1165 enable_olesvr32
1166 enable_olethk32
1167 enable_openal32
1168 enable_opencl
1169 enable_opengl32
1170 enable_pdh
1171 enable_photometadatahandler
1172 enable_pidgen
1173 enable_powrprof
1174 enable_printui
1175 enable_propsys
1176 enable_psapi
1177 enable_pstorec
1178 enable_qcap
1179 enable_qedit
1180 enable_qmgr
1181 enable_qmgrprxy
1182 enable_quartz
1183 enable_query
1184 enable_rasapi32
1185 enable_rasdlg
1186 enable_regapi
1187 enable_resutils
1188 enable_riched20
1189 enable_riched32
1190 enable_rpcrt4
1191 enable_rsabase
1192 enable_rsaenh
1193 enable_rstrtmgr
1194 enable_rtutils
1195 enable_samlib
1196 enable_sane_ds
1197 enable_scarddlg
1198 enable_sccbase
1199 enable_schannel
1200 enable_schedsvc
1201 enable_scrrun
1202 enable_scsiport_sys
1203 enable_secur32
1204 enable_security
1205 enable_sensapi
1206 enable_serialui
1207 enable_setupapi
1208 enable_sfc
1209 enable_sfc_os
1210 enable_shdoclc
1211 enable_shdocvw
1212 enable_shell32
1213 enable_shfolder
1214 enable_shlwapi
1215 enable_slbcsp
1216 enable_slc
1217 enable_snmpapi
1218 enable_softpub
1219 enable_spoolss
1220 enable_stdole2_tlb
1221 enable_stdole32_tlb
1222 enable_sti
1223 enable_svrapi
1224 enable_sxs
1225 enable_t2embed
1226 enable_tapi32
1227 enable_taskschd
1228 enable_traffic
1229 enable_twain_32
1230 enable_unicows
1231 enable_updspapi
1232 enable_url
1233 enable_urlmon
1234 enable_usbd_sys
1235 enable_user32
1236 enable_userenv
1237 enable_usp10
1238 enable_uxtheme
1239 enable_vbscript
1240 enable_vcomp
1241 enable_vcomp100
1242 enable_vcomp90
1243 enable_vdmdbg
1244 enable_version
1245 enable_wbemdisp
1246 enable_wbemprox
1247 enable_webservices
1248 enable_wer
1249 enable_wevtapi
1250 enable_wiaservc
1251 enable_windowscodecs
1252 enable_windowscodecsext
1253 enable_winealsa_drv
1254 enable_winecoreaudio_drv
1255 enable_wined3d
1256 enable_winegstreamer
1257 enable_winejoystick_drv
1258 enable_winemac_drv
1259 enable_winemapi
1260 enable_winemp3_acm
1261 enable_wineoss_drv
1262 enable_wineps_drv
1263 enable_wineqtdecoder
1264 enable_winex11_drv
1265 enable_wing32
1266 enable_winhttp
1267 enable_wininet
1268 enable_winmm
1269 enable_winnls32
1270 enable_winscard
1271 enable_winspool_drv
1272 enable_winsta
1273 enable_wintab32
1274 enable_wintrust
1275 enable_wlanapi
1276 enable_wldap32
1277 enable_wmi
1278 enable_wmiutils
1279 enable_wmp
1280 enable_wmvcore
1281 enable_wnaspi32
1282 enable_ws2_32
1283 enable_wshom_ocx
1284 enable_wsnmp32
1285 enable_wsock32
1286 enable_wtsapi32
1287 enable_wuapi
1288 enable_wuaueng
1289 enable_xapofx1_1
1290 enable_xinput1_1
1291 enable_xinput1_2
1292 enable_xinput1_3
1293 enable_xinput1_4
1294 enable_xinput9_1_0
1295 enable_xmllite
1296 enable_xolehlp
1297 enable_xpsprint
1298 enable_xpssvcs
1299 enable_documentation
1300 enable_fonts
1301 enable_include
1302 enable_libs_port
1303 enable_libs_wine
1304 enable_libs_wpp
1305 enable_loader
1306 enable_arp
1307 enable_aspnet_regiis
1308 enable_attrib
1309 enable_cabarc
1310 enable_cacls
1311 enable_clock
1312 enable_cmd
1313 enable_conhost
1314 enable_control
1315 enable_cscript
1316 enable_dpnsvr
1317 enable_dxdiag
1318 enable_eject
1319 enable_expand
1320 enable_explorer
1321 enable_extrac32
1322 enable_findstr
1323 enable_hh
1324 enable_hostname
1325 enable_icinfo
1326 enable_iexplore
1327 enable_ipconfig
1328 enable_lodctr
1329 enable_mofcomp
1330 enable_mshta
1331 enable_msiexec
1332 enable_net
1333 enable_netsh
1334 enable_netstat
1335 enable_ngen
1336 enable_notepad
1337 enable_oleview
1338 enable_ping
1339 enable_plugplay
1340 enable_presentationfontcache
1341 enable_progman
1342 enable_reg
1343 enable_regasm
1344 enable_regedit
1345 enable_regsvcs
1346 enable_regsvr32
1347 enable_rpcss
1348 enable_rundll32
1349 enable_sc
1350 enable_schtasks
1351 enable_secedit
1352 enable_servicemodelreg
1353 enable_services
1354 enable_spoolsv
1355 enable_start
1356 enable_svchost
1357 enable_taskkill
1358 enable_tasklist
1359 enable_taskmgr
1360 enable_termsv
1361 enable_uninstaller
1362 enable_unlodctr
1363 enable_view
1364 enable_wevtutil
1365 enable_wineboot
1366 enable_winebrowser
1367 enable_winecfg
1368 enable_wineconsole
1369 enable_winedbg
1370 enable_winedevice
1371 enable_winefile
1372 enable_winemenubuilder
1373 enable_winemine
1374 enable_winemsibuilder
1375 enable_winepath
1376 enable_winetest
1377 enable_winhlp32
1378 enable_winver
1379 enable_wmic
1380 enable_wordpad
1381 enable_write
1382 enable_wscript
1383 enable_wusa
1384 enable_xcopy
1385 enable_server
1386 enable_tools
1388 ac_precious_vars='build_alias
1389 host_alias
1390 target_alias
1392 CFLAGS
1393 LDFLAGS
1394 LIBS
1395 CPPFLAGS
1397 CXXFLAGS
1400 XMKMF
1401 XML2_CFLAGS
1402 XML2_LIBS
1403 XSLT_CFLAGS
1404 XSLT_LIBS
1405 DBUS_CFLAGS
1406 DBUS_LIBS
1407 HAL_CFLAGS
1408 HAL_LIBS
1409 GNUTLS_CFLAGS
1410 GNUTLS_LIBS
1411 SANE_CFLAGS
1412 SANE_LIBS
1413 GPHOTO2_CFLAGS
1414 GPHOTO2_LIBS
1415 GPHOTO2_PORT_CFLAGS
1416 GPHOTO2_PORT_LIBS
1417 LCMS2_CFLAGS
1418 LCMS2_LIBS
1419 FREETYPE_CFLAGS
1420 FREETYPE_LIBS
1421 GSTREAMER_CFLAGS
1422 GSTREAMER_LIBS
1423 CAPI20_CFLAGS
1424 CAPI20_LIBS
1425 FONTCONFIG_CFLAGS
1426 FONTCONFIG_LIBS
1427 JPEG_CFLAGS
1428 JPEG_LIBS
1429 PNG_CFLAGS
1430 PNG_LIBS
1431 TIFF_CFLAGS
1432 TIFF_LIBS
1433 MPG123_CFLAGS
1434 MPG123_LIBS'
1437 # Initialize some variables set by options.
1438 ac_init_help=
1439 ac_init_version=false
1440 ac_unrecognized_opts=
1441 ac_unrecognized_sep=
1442 # The variables have the same names as the options, with
1443 # dashes changed to underlines.
1444 cache_file=/dev/null
1445 exec_prefix=NONE
1446 no_create=
1447 no_recursion=
1448 prefix=NONE
1449 program_prefix=NONE
1450 program_suffix=NONE
1451 program_transform_name=s,x,x,
1452 silent=
1453 site=
1454 srcdir=
1455 verbose=
1456 x_includes=NONE
1457 x_libraries=NONE
1459 # Installation directory options.
1460 # These are left unexpanded so users can "make install exec_prefix=/foo"
1461 # and all the variables that are supposed to be based on exec_prefix
1462 # by default will actually change.
1463 # Use braces instead of parens because sh, perl, etc. also accept them.
1464 # (The list follows the same order as the GNU Coding Standards.)
1465 bindir='${exec_prefix}/bin'
1466 sbindir='${exec_prefix}/sbin'
1467 libexecdir='${exec_prefix}/libexec'
1468 datarootdir='${prefix}/share'
1469 datadir='${datarootdir}'
1470 sysconfdir='${prefix}/etc'
1471 sharedstatedir='${prefix}/com'
1472 localstatedir='${prefix}/var'
1473 includedir='${prefix}/include'
1474 oldincludedir='/usr/include'
1475 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1476 infodir='${datarootdir}/info'
1477 htmldir='${docdir}'
1478 dvidir='${docdir}'
1479 pdfdir='${docdir}'
1480 psdir='${docdir}'
1481 libdir='${exec_prefix}/lib'
1482 localedir='${datarootdir}/locale'
1483 mandir='${datarootdir}/man'
1485 ac_prev=
1486 ac_dashdash=
1487 for ac_option
1489 # If the previous option needs an argument, assign it.
1490 if test -n "$ac_prev"; then
1491 eval $ac_prev=\$ac_option
1492 ac_prev=
1493 continue
1496 case $ac_option in
1497 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1498 *=) ac_optarg= ;;
1499 *) ac_optarg=yes ;;
1500 esac
1502 # Accept the important Cygnus configure options, so we can diagnose typos.
1504 case $ac_dashdash$ac_option in
1506 ac_dashdash=yes ;;
1508 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1509 ac_prev=bindir ;;
1510 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1511 bindir=$ac_optarg ;;
1513 -build | --build | --buil | --bui | --bu)
1514 ac_prev=build_alias ;;
1515 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1516 build_alias=$ac_optarg ;;
1518 -cache-file | --cache-file | --cache-fil | --cache-fi \
1519 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1520 ac_prev=cache_file ;;
1521 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1522 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1523 cache_file=$ac_optarg ;;
1525 --config-cache | -C)
1526 cache_file=config.cache ;;
1528 -datadir | --datadir | --datadi | --datad)
1529 ac_prev=datadir ;;
1530 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1531 datadir=$ac_optarg ;;
1533 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1534 | --dataroo | --dataro | --datar)
1535 ac_prev=datarootdir ;;
1536 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1537 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1538 datarootdir=$ac_optarg ;;
1540 -disable-* | --disable-*)
1541 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1542 # Reject names that are not valid shell variable names.
1543 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1544 as_fn_error $? "invalid feature name: $ac_useropt"
1545 ac_useropt_orig=$ac_useropt
1546 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1547 case $ac_user_opts in
1549 "enable_$ac_useropt"
1550 "*) ;;
1551 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1552 ac_unrecognized_sep=', ';;
1553 esac
1554 eval enable_$ac_useropt=no ;;
1556 -docdir | --docdir | --docdi | --doc | --do)
1557 ac_prev=docdir ;;
1558 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1559 docdir=$ac_optarg ;;
1561 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1562 ac_prev=dvidir ;;
1563 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1564 dvidir=$ac_optarg ;;
1566 -enable-* | --enable-*)
1567 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1568 # Reject names that are not valid shell variable names.
1569 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1570 as_fn_error $? "invalid feature name: $ac_useropt"
1571 ac_useropt_orig=$ac_useropt
1572 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1573 case $ac_user_opts in
1575 "enable_$ac_useropt"
1576 "*) ;;
1577 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1578 ac_unrecognized_sep=', ';;
1579 esac
1580 eval enable_$ac_useropt=\$ac_optarg ;;
1582 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1583 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1584 | --exec | --exe | --ex)
1585 ac_prev=exec_prefix ;;
1586 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1587 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1588 | --exec=* | --exe=* | --ex=*)
1589 exec_prefix=$ac_optarg ;;
1591 -gas | --gas | --ga | --g)
1592 # Obsolete; use --with-gas.
1593 with_gas=yes ;;
1595 -help | --help | --hel | --he | -h)
1596 ac_init_help=long ;;
1597 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1598 ac_init_help=recursive ;;
1599 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1600 ac_init_help=short ;;
1602 -host | --host | --hos | --ho)
1603 ac_prev=host_alias ;;
1604 -host=* | --host=* | --hos=* | --ho=*)
1605 host_alias=$ac_optarg ;;
1607 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1608 ac_prev=htmldir ;;
1609 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1610 | --ht=*)
1611 htmldir=$ac_optarg ;;
1613 -includedir | --includedir | --includedi | --included | --include \
1614 | --includ | --inclu | --incl | --inc)
1615 ac_prev=includedir ;;
1616 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1617 | --includ=* | --inclu=* | --incl=* | --inc=*)
1618 includedir=$ac_optarg ;;
1620 -infodir | --infodir | --infodi | --infod | --info | --inf)
1621 ac_prev=infodir ;;
1622 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1623 infodir=$ac_optarg ;;
1625 -libdir | --libdir | --libdi | --libd)
1626 ac_prev=libdir ;;
1627 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1628 libdir=$ac_optarg ;;
1630 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1631 | --libexe | --libex | --libe)
1632 ac_prev=libexecdir ;;
1633 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1634 | --libexe=* | --libex=* | --libe=*)
1635 libexecdir=$ac_optarg ;;
1637 -localedir | --localedir | --localedi | --localed | --locale)
1638 ac_prev=localedir ;;
1639 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1640 localedir=$ac_optarg ;;
1642 -localstatedir | --localstatedir | --localstatedi | --localstated \
1643 | --localstate | --localstat | --localsta | --localst | --locals)
1644 ac_prev=localstatedir ;;
1645 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1646 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1647 localstatedir=$ac_optarg ;;
1649 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1650 ac_prev=mandir ;;
1651 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1652 mandir=$ac_optarg ;;
1654 -nfp | --nfp | --nf)
1655 # Obsolete; use --without-fp.
1656 with_fp=no ;;
1658 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1659 | --no-cr | --no-c | -n)
1660 no_create=yes ;;
1662 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1663 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1664 no_recursion=yes ;;
1666 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1667 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1668 | --oldin | --oldi | --old | --ol | --o)
1669 ac_prev=oldincludedir ;;
1670 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1671 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1672 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1673 oldincludedir=$ac_optarg ;;
1675 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1676 ac_prev=prefix ;;
1677 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1678 prefix=$ac_optarg ;;
1680 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1681 | --program-pre | --program-pr | --program-p)
1682 ac_prev=program_prefix ;;
1683 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1684 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1685 program_prefix=$ac_optarg ;;
1687 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1688 | --program-suf | --program-su | --program-s)
1689 ac_prev=program_suffix ;;
1690 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1691 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1692 program_suffix=$ac_optarg ;;
1694 -program-transform-name | --program-transform-name \
1695 | --program-transform-nam | --program-transform-na \
1696 | --program-transform-n | --program-transform- \
1697 | --program-transform | --program-transfor \
1698 | --program-transfo | --program-transf \
1699 | --program-trans | --program-tran \
1700 | --progr-tra | --program-tr | --program-t)
1701 ac_prev=program_transform_name ;;
1702 -program-transform-name=* | --program-transform-name=* \
1703 | --program-transform-nam=* | --program-transform-na=* \
1704 | --program-transform-n=* | --program-transform-=* \
1705 | --program-transform=* | --program-transfor=* \
1706 | --program-transfo=* | --program-transf=* \
1707 | --program-trans=* | --program-tran=* \
1708 | --progr-tra=* | --program-tr=* | --program-t=*)
1709 program_transform_name=$ac_optarg ;;
1711 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1712 ac_prev=pdfdir ;;
1713 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1714 pdfdir=$ac_optarg ;;
1716 -psdir | --psdir | --psdi | --psd | --ps)
1717 ac_prev=psdir ;;
1718 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1719 psdir=$ac_optarg ;;
1721 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1722 | -silent | --silent | --silen | --sile | --sil)
1723 silent=yes ;;
1725 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1726 ac_prev=sbindir ;;
1727 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1728 | --sbi=* | --sb=*)
1729 sbindir=$ac_optarg ;;
1731 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1732 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1733 | --sharedst | --shareds | --shared | --share | --shar \
1734 | --sha | --sh)
1735 ac_prev=sharedstatedir ;;
1736 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1737 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1738 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1739 | --sha=* | --sh=*)
1740 sharedstatedir=$ac_optarg ;;
1742 -site | --site | --sit)
1743 ac_prev=site ;;
1744 -site=* | --site=* | --sit=*)
1745 site=$ac_optarg ;;
1747 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1748 ac_prev=srcdir ;;
1749 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1750 srcdir=$ac_optarg ;;
1752 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1753 | --syscon | --sysco | --sysc | --sys | --sy)
1754 ac_prev=sysconfdir ;;
1755 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1756 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1757 sysconfdir=$ac_optarg ;;
1759 -target | --target | --targe | --targ | --tar | --ta | --t)
1760 ac_prev=target_alias ;;
1761 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1762 target_alias=$ac_optarg ;;
1764 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1765 verbose=yes ;;
1767 -version | --version | --versio | --versi | --vers | -V)
1768 ac_init_version=: ;;
1770 -with-* | --with-*)
1771 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1772 # Reject names that are not valid shell variable names.
1773 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1774 as_fn_error $? "invalid package name: $ac_useropt"
1775 ac_useropt_orig=$ac_useropt
1776 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1777 case $ac_user_opts in
1779 "with_$ac_useropt"
1780 "*) ;;
1781 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1782 ac_unrecognized_sep=', ';;
1783 esac
1784 eval with_$ac_useropt=\$ac_optarg ;;
1786 -without-* | --without-*)
1787 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1788 # Reject names that are not valid shell variable names.
1789 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1790 as_fn_error $? "invalid package name: $ac_useropt"
1791 ac_useropt_orig=$ac_useropt
1792 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1793 case $ac_user_opts in
1795 "with_$ac_useropt"
1796 "*) ;;
1797 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1798 ac_unrecognized_sep=', ';;
1799 esac
1800 eval with_$ac_useropt=no ;;
1802 --x)
1803 # Obsolete; use --with-x.
1804 with_x=yes ;;
1806 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1807 | --x-incl | --x-inc | --x-in | --x-i)
1808 ac_prev=x_includes ;;
1809 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1810 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1811 x_includes=$ac_optarg ;;
1813 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1814 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1815 ac_prev=x_libraries ;;
1816 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1817 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1818 x_libraries=$ac_optarg ;;
1820 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1821 Try \`$0 --help' for more information"
1824 *=*)
1825 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1826 # Reject names that are not valid shell variable names.
1827 case $ac_envvar in #(
1828 '' | [0-9]* | *[!_$as_cr_alnum]* )
1829 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1830 esac
1831 eval $ac_envvar=\$ac_optarg
1832 export $ac_envvar ;;
1835 # FIXME: should be removed in autoconf 3.0.
1836 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1837 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1838 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1839 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1842 esac
1843 done
1845 if test -n "$ac_prev"; then
1846 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1847 as_fn_error $? "missing argument to $ac_option"
1850 if test -n "$ac_unrecognized_opts"; then
1851 case $enable_option_checking in
1852 no) ;;
1853 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1854 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1855 esac
1858 # Check all directory arguments for consistency.
1859 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1860 datadir sysconfdir sharedstatedir localstatedir includedir \
1861 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1862 libdir localedir mandir
1864 eval ac_val=\$$ac_var
1865 # Remove trailing slashes.
1866 case $ac_val in
1867 */ )
1868 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1869 eval $ac_var=\$ac_val;;
1870 esac
1871 # Be sure to have absolute directory names.
1872 case $ac_val in
1873 [\\/$]* | ?:[\\/]* ) continue;;
1874 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1875 esac
1876 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1877 done
1879 # There might be people who depend on the old broken behavior: `$host'
1880 # used to hold the argument of --host etc.
1881 # FIXME: To remove some day.
1882 build=$build_alias
1883 host=$host_alias
1884 target=$target_alias
1886 # FIXME: To remove some day.
1887 if test "x$host_alias" != x; then
1888 if test "x$build_alias" = x; then
1889 cross_compiling=maybe
1890 elif test "x$build_alias" != "x$host_alias"; then
1891 cross_compiling=yes
1895 ac_tool_prefix=
1896 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1898 test "$silent" = yes && exec 6>/dev/null
1901 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1902 ac_ls_di=`ls -di .` &&
1903 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1904 as_fn_error $? "working directory cannot be determined"
1905 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1906 as_fn_error $? "pwd does not report name of working directory"
1909 # Find the source files, if location was not specified.
1910 if test -z "$srcdir"; then
1911 ac_srcdir_defaulted=yes
1912 # Try the directory containing this script, then the parent directory.
1913 ac_confdir=`$as_dirname -- "$as_myself" ||
1914 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1915 X"$as_myself" : 'X\(//\)[^/]' \| \
1916 X"$as_myself" : 'X\(//\)$' \| \
1917 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1918 $as_echo X"$as_myself" |
1919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1920 s//\1/
1923 /^X\(\/\/\)[^/].*/{
1924 s//\1/
1927 /^X\(\/\/\)$/{
1928 s//\1/
1931 /^X\(\/\).*/{
1932 s//\1/
1935 s/.*/./; q'`
1936 srcdir=$ac_confdir
1937 if test ! -r "$srcdir/$ac_unique_file"; then
1938 srcdir=..
1940 else
1941 ac_srcdir_defaulted=no
1943 if test ! -r "$srcdir/$ac_unique_file"; then
1944 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1945 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1947 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1948 ac_abs_confdir=`(
1949 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1950 pwd)`
1951 # When building in place, set srcdir=.
1952 if test "$ac_abs_confdir" = "$ac_pwd"; then
1953 srcdir=.
1955 # Remove unnecessary trailing slashes from srcdir.
1956 # Double slashes in file names in object file debugging info
1957 # mess up M-x gdb in Emacs.
1958 case $srcdir in
1959 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1960 esac
1961 for ac_var in $ac_precious_vars; do
1962 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1963 eval ac_env_${ac_var}_value=\$${ac_var}
1964 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1965 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1966 done
1969 # Report the --help message.
1971 if test "$ac_init_help" = "long"; then
1972 # Omit some internal or obsolete options to make the list less imposing.
1973 # This message is too long to be a string in the A/UX 3.1 sh.
1974 cat <<_ACEOF
1975 \`configure' configures Wine 1.7.16 to adapt to many kinds of systems.
1977 Usage: $0 [OPTION]... [VAR=VALUE]...
1979 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1980 VAR=VALUE. See below for descriptions of some of the useful variables.
1982 Defaults for the options are specified in brackets.
1984 Configuration:
1985 -h, --help display this help and exit
1986 --help=short display options specific to this package
1987 --help=recursive display the short help of all the included packages
1988 -V, --version display version information and exit
1989 -q, --quiet, --silent do not print \`checking ...' messages
1990 --cache-file=FILE cache test results in FILE [disabled]
1991 -C, --config-cache alias for \`--cache-file=config.cache'
1992 -n, --no-create do not create output files
1993 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1995 Installation directories:
1996 --prefix=PREFIX install architecture-independent files in PREFIX
1997 [$ac_default_prefix]
1998 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1999 [PREFIX]
2001 By default, \`make install' will install all the files in
2002 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2003 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2004 for instance \`--prefix=\$HOME'.
2006 For better control, use the options below.
2008 Fine tuning of the installation directories:
2009 --bindir=DIR user executables [EPREFIX/bin]
2010 --sbindir=DIR system admin executables [EPREFIX/sbin]
2011 --libexecdir=DIR program executables [EPREFIX/libexec]
2012 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2013 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2014 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2015 --libdir=DIR object code libraries [EPREFIX/lib]
2016 --includedir=DIR C header files [PREFIX/include]
2017 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2018 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2019 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2020 --infodir=DIR info documentation [DATAROOTDIR/info]
2021 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2022 --mandir=DIR man documentation [DATAROOTDIR/man]
2023 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2024 --htmldir=DIR html documentation [DOCDIR]
2025 --dvidir=DIR dvi documentation [DOCDIR]
2026 --pdfdir=DIR pdf documentation [DOCDIR]
2027 --psdir=DIR ps documentation [DOCDIR]
2028 _ACEOF
2030 cat <<\_ACEOF
2032 X features:
2033 --x-includes=DIR X include files are in DIR
2034 --x-libraries=DIR X library files are in DIR
2036 System types:
2037 --build=BUILD configure for building on BUILD [guessed]
2038 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2039 _ACEOF
2042 if test -n "$ac_init_help"; then
2043 case $ac_init_help in
2044 short | recursive ) echo "Configuration of Wine 1.7.16:";;
2045 esac
2046 cat <<\_ACEOF
2048 Optional Features:
2049 --disable-option-checking ignore unrecognized --enable/--with options
2050 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2051 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2052 --disable-win16 do not include Win16 support
2053 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2054 binaries)
2055 --disable-tests do not build the regression tests
2056 --enable-maintainer-mode
2057 enable maintainer-specific build rules
2058 --disable-largefile omit support for large files
2060 Optional Packages:
2061 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2062 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2063 --without-alsa do not use the Alsa sound support
2064 --without-capi do not use CAPI (ISDN support)
2065 --without-cms do not use CMS (color management support)
2066 --without-coreaudio do not use the CoreAudio sound support
2067 --without-cups do not use CUPS
2068 --without-curses do not use (n)curses
2069 --without-dbus do not use DBus (dynamic device support)
2070 --without-fontconfig do not use fontconfig
2071 --without-freetype do not use the FreeType library
2072 --without-gettext do not use gettext
2073 --with-gettextpo use the GetTextPO library to rebuild po files
2074 --without-gphoto do not use gphoto (Digital Camera support)
2075 --without-glu do not use the GLU library
2076 --without-gnutls do not use GnuTLS (schannel support)
2077 --without-gsm do not use libgsm (GSM 06.10 codec support)
2078 --without-gstreamer do not use GStreamer (codecs support)
2079 --without-hal do not use HAL (dynamic device support)
2080 --without-jpeg do not use JPEG
2081 --without-ldap do not use LDAP
2082 --without-mpg123 do not use the mpg123 library
2083 --without-netapi do not use the Samba NetAPI library
2084 --without-openal do not use OpenAL
2085 --without-opencl do not use OpenCL
2086 --without-opengl do not use OpenGL
2087 --without-osmesa do not use the OSMesa library
2088 --without-oss do not use the OSS sound support
2089 --without-png do not use PNG
2090 --without-pthread do not use the pthread library
2091 --without-sane do not use SANE (scanner support)
2092 --without-tiff do not use TIFF
2093 --without-v4l do not use v4l1 (v4l support)
2094 --without-xcomposite do not use the Xcomposite extension
2095 --without-xcursor do not use the Xcursor extension
2096 --without-xinerama do not use Xinerama (multi-monitor support)
2097 --without-xinput do not use the Xinput extension
2098 --without-xinput2 do not use the Xinput 2 extension
2099 --without-xml do not use XML
2100 --without-xrandr do not use Xrandr (resolution changes)
2101 --without-xrender do not use the Xrender extension
2102 --without-xshape do not use the Xshape extension
2103 --without-xshm do not use XShm (shared memory extension)
2104 --without-xslt do not use XSLT
2105 --without-xxf86vm do not use XFree video mode extension
2106 --without-zlib do not use Zlib (data compression)
2107 --with-wine-tools=DIR use Wine tools from directory DIR
2108 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2109 --with-x use the X Window System
2111 Some influential environment variables:
2112 CC C compiler command
2113 CFLAGS C compiler flags
2114 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2115 nonstandard directory <lib dir>
2116 LIBS libraries to pass to the linker, e.g. -l<library>
2117 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2118 you have headers in a nonstandard directory <include dir>
2119 CXX C++ compiler command
2120 CXXFLAGS C++ compiler flags
2121 CPP C preprocessor
2122 XMKMF Path to xmkmf, Makefile generator for X Window System
2123 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2124 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2125 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2126 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2127 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2128 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2129 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2130 HAL_LIBS Linker flags for hal, overriding pkg-config
2131 GNUTLS_CFLAGS
2132 C compiler flags for gnutls, overriding pkg-config
2133 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2134 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2135 SANE_LIBS Linker flags for libsane, overriding pkg-config
2136 GPHOTO2_CFLAGS
2137 C compiler flags for libgphoto2, overriding pkg-config
2138 GPHOTO2_LIBS
2139 Linker flags for libgphoto2, overriding pkg-config
2140 GPHOTO2_PORT_CFLAGS
2141 C compiler flags for libgphoto2_port, overriding pkg-config
2142 GPHOTO2_PORT_LIBS
2143 Linker flags for libgphoto2_port, overriding pkg-config
2144 LCMS2_CFLAGS
2145 C compiler flags for lcms2, overriding pkg-config
2146 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2147 FREETYPE_CFLAGS
2148 C compiler flags for freetype2, overriding pkg-config
2149 FREETYPE_LIBS
2150 Linker flags for freetype2, overriding pkg-config
2151 GSTREAMER_CFLAGS
2152 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2153 GSTREAMER_LIBS
2154 Linker flags for gstreamer-app-0.10, overriding pkg-config
2155 CAPI20_CFLAGS
2156 C compiler flags for capi20, overriding pkg-config
2157 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2158 FONTCONFIG_CFLAGS
2159 C compiler flags for fontconfig, overriding pkg-config
2160 FONTCONFIG_LIBS
2161 Linker flags for fontconfig, overriding pkg-config
2162 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2163 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2164 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2165 PNG_LIBS Linker flags for libpng, overriding pkg-config
2166 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2167 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2168 MPG123_CFLAGS
2169 C compiler flags for libmpg123, overriding pkg-config
2170 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2172 Use these variables to override the choices made by `configure' or to help
2173 it to find libraries and programs with nonstandard names/locations.
2175 Report bugs to <wine-devel@winehq.org>.
2176 Wine home page: <http://www.winehq.org>.
2177 _ACEOF
2178 ac_status=$?
2181 if test "$ac_init_help" = "recursive"; then
2182 # If there are subdirs, report their specific --help.
2183 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2184 test -d "$ac_dir" ||
2185 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2186 continue
2187 ac_builddir=.
2189 case "$ac_dir" in
2190 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2192 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2193 # A ".." for each directory in $ac_dir_suffix.
2194 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2195 case $ac_top_builddir_sub in
2196 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2197 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2198 esac ;;
2199 esac
2200 ac_abs_top_builddir=$ac_pwd
2201 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2202 # for backward compatibility:
2203 ac_top_builddir=$ac_top_build_prefix
2205 case $srcdir in
2206 .) # We are building in place.
2207 ac_srcdir=.
2208 ac_top_srcdir=$ac_top_builddir_sub
2209 ac_abs_top_srcdir=$ac_pwd ;;
2210 [\\/]* | ?:[\\/]* ) # Absolute name.
2211 ac_srcdir=$srcdir$ac_dir_suffix;
2212 ac_top_srcdir=$srcdir
2213 ac_abs_top_srcdir=$srcdir ;;
2214 *) # Relative name.
2215 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2216 ac_top_srcdir=$ac_top_build_prefix$srcdir
2217 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2218 esac
2219 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2221 cd "$ac_dir" || { ac_status=$?; continue; }
2222 # Check for guested configure.
2223 if test -f "$ac_srcdir/configure.gnu"; then
2224 echo &&
2225 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2226 elif test -f "$ac_srcdir/configure"; then
2227 echo &&
2228 $SHELL "$ac_srcdir/configure" --help=recursive
2229 else
2230 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2231 fi || ac_status=$?
2232 cd "$ac_pwd" || { ac_status=$?; break; }
2233 done
2236 test -n "$ac_init_help" && exit $ac_status
2237 if $ac_init_version; then
2238 cat <<\_ACEOF
2239 Wine configure 1.7.16
2240 generated by GNU Autoconf 2.69
2242 Copyright (C) 2012 Free Software Foundation, Inc.
2243 This configure script is free software; the Free Software Foundation
2244 gives unlimited permission to copy, distribute and modify it.
2245 _ACEOF
2246 exit
2249 ## ------------------------ ##
2250 ## Autoconf initialization. ##
2251 ## ------------------------ ##
2253 # ac_fn_c_try_compile LINENO
2254 # --------------------------
2255 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2256 ac_fn_c_try_compile ()
2258 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2259 rm -f conftest.$ac_objext
2260 if { { ac_try="$ac_compile"
2261 case "(($ac_try" in
2262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2263 *) ac_try_echo=$ac_try;;
2264 esac
2265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2266 $as_echo "$ac_try_echo"; } >&5
2267 (eval "$ac_compile") 2>conftest.err
2268 ac_status=$?
2269 if test -s conftest.err; then
2270 grep -v '^ *+' conftest.err >conftest.er1
2271 cat conftest.er1 >&5
2272 mv -f conftest.er1 conftest.err
2274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2275 test $ac_status = 0; } && {
2276 test -z "$ac_c_werror_flag" ||
2277 test ! -s conftest.err
2278 } && test -s conftest.$ac_objext; then :
2279 ac_retval=0
2280 else
2281 $as_echo "$as_me: failed program was:" >&5
2282 sed 's/^/| /' conftest.$ac_ext >&5
2284 ac_retval=1
2286 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2287 as_fn_set_status $ac_retval
2289 } # ac_fn_c_try_compile
2291 # ac_fn_cxx_try_compile LINENO
2292 # ----------------------------
2293 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2294 ac_fn_cxx_try_compile ()
2296 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2297 rm -f conftest.$ac_objext
2298 if { { ac_try="$ac_compile"
2299 case "(($ac_try" in
2300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2301 *) ac_try_echo=$ac_try;;
2302 esac
2303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2304 $as_echo "$ac_try_echo"; } >&5
2305 (eval "$ac_compile") 2>conftest.err
2306 ac_status=$?
2307 if test -s conftest.err; then
2308 grep -v '^ *+' conftest.err >conftest.er1
2309 cat conftest.er1 >&5
2310 mv -f conftest.er1 conftest.err
2312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2313 test $ac_status = 0; } && {
2314 test -z "$ac_cxx_werror_flag" ||
2315 test ! -s conftest.err
2316 } && test -s conftest.$ac_objext; then :
2317 ac_retval=0
2318 else
2319 $as_echo "$as_me: failed program was:" >&5
2320 sed 's/^/| /' conftest.$ac_ext >&5
2322 ac_retval=1
2324 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2325 as_fn_set_status $ac_retval
2327 } # ac_fn_cxx_try_compile
2329 # ac_fn_c_try_link LINENO
2330 # -----------------------
2331 # Try to link conftest.$ac_ext, and return whether this succeeded.
2332 ac_fn_c_try_link ()
2334 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2335 rm -f conftest.$ac_objext conftest$ac_exeext
2336 if { { ac_try="$ac_link"
2337 case "(($ac_try" in
2338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2339 *) ac_try_echo=$ac_try;;
2340 esac
2341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2342 $as_echo "$ac_try_echo"; } >&5
2343 (eval "$ac_link") 2>conftest.err
2344 ac_status=$?
2345 if test -s conftest.err; then
2346 grep -v '^ *+' conftest.err >conftest.er1
2347 cat conftest.er1 >&5
2348 mv -f conftest.er1 conftest.err
2350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2351 test $ac_status = 0; } && {
2352 test -z "$ac_c_werror_flag" ||
2353 test ! -s conftest.err
2354 } && test -s conftest$ac_exeext && {
2355 test "$cross_compiling" = yes ||
2356 test -x conftest$ac_exeext
2357 }; then :
2358 ac_retval=0
2359 else
2360 $as_echo "$as_me: failed program was:" >&5
2361 sed 's/^/| /' conftest.$ac_ext >&5
2363 ac_retval=1
2365 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2366 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2367 # interfere with the next link command; also delete a directory that is
2368 # left behind by Apple's compiler. We do this before executing the actions.
2369 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2370 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2371 as_fn_set_status $ac_retval
2373 } # ac_fn_c_try_link
2375 # ac_fn_c_try_cpp LINENO
2376 # ----------------------
2377 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2378 ac_fn_c_try_cpp ()
2380 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2381 if { { ac_try="$ac_cpp conftest.$ac_ext"
2382 case "(($ac_try" in
2383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2384 *) ac_try_echo=$ac_try;;
2385 esac
2386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2387 $as_echo "$ac_try_echo"; } >&5
2388 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2389 ac_status=$?
2390 if test -s conftest.err; then
2391 grep -v '^ *+' conftest.err >conftest.er1
2392 cat conftest.er1 >&5
2393 mv -f conftest.er1 conftest.err
2395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2396 test $ac_status = 0; } > conftest.i && {
2397 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2398 test ! -s conftest.err
2399 }; then :
2400 ac_retval=0
2401 else
2402 $as_echo "$as_me: failed program was:" >&5
2403 sed 's/^/| /' conftest.$ac_ext >&5
2405 ac_retval=1
2407 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2408 as_fn_set_status $ac_retval
2410 } # ac_fn_c_try_cpp
2412 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2413 # -------------------------------------------------------
2414 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2415 # the include files in INCLUDES and setting the cache variable VAR
2416 # accordingly.
2417 ac_fn_c_check_header_mongrel ()
2419 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2420 if eval \${$3+:} false; then :
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2422 $as_echo_n "checking for $2... " >&6; }
2423 if eval \${$3+:} false; then :
2424 $as_echo_n "(cached) " >&6
2426 eval ac_res=\$$3
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2428 $as_echo "$ac_res" >&6; }
2429 else
2430 # Is the header compilable?
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2432 $as_echo_n "checking $2 usability... " >&6; }
2433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2434 /* end confdefs.h. */
2436 #include <$2>
2437 _ACEOF
2438 if ac_fn_c_try_compile "$LINENO"; then :
2439 ac_header_compiler=yes
2440 else
2441 ac_header_compiler=no
2443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2445 $as_echo "$ac_header_compiler" >&6; }
2447 # Is the header present?
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2449 $as_echo_n "checking $2 presence... " >&6; }
2450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2451 /* end confdefs.h. */
2452 #include <$2>
2453 _ACEOF
2454 if ac_fn_c_try_cpp "$LINENO"; then :
2455 ac_header_preproc=yes
2456 else
2457 ac_header_preproc=no
2459 rm -f conftest.err conftest.i conftest.$ac_ext
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2461 $as_echo "$ac_header_preproc" >&6; }
2463 # So? What about this header?
2464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2465 yes:no: )
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2467 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2469 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2471 no:yes:* )
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2473 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2475 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2477 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2479 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2481 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2482 ( $as_echo "## ------------------------------------ ##
2483 ## Report this to wine-devel@winehq.org ##
2484 ## ------------------------------------ ##"
2485 ) | sed "s/^/$as_me: WARNING: /" >&2
2487 esac
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2489 $as_echo_n "checking for $2... " >&6; }
2490 if eval \${$3+:} false; then :
2491 $as_echo_n "(cached) " >&6
2492 else
2493 eval "$3=\$ac_header_compiler"
2495 eval ac_res=\$$3
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2497 $as_echo "$ac_res" >&6; }
2499 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2501 } # ac_fn_c_check_header_mongrel
2503 # ac_fn_c_try_run LINENO
2504 # ----------------------
2505 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2506 # that executables *can* be run.
2507 ac_fn_c_try_run ()
2509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2510 if { { ac_try="$ac_link"
2511 case "(($ac_try" in
2512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2513 *) ac_try_echo=$ac_try;;
2514 esac
2515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2516 $as_echo "$ac_try_echo"; } >&5
2517 (eval "$ac_link") 2>&5
2518 ac_status=$?
2519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2521 { { case "(($ac_try" in
2522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2523 *) ac_try_echo=$ac_try;;
2524 esac
2525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2526 $as_echo "$ac_try_echo"; } >&5
2527 (eval "$ac_try") 2>&5
2528 ac_status=$?
2529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2530 test $ac_status = 0; }; }; then :
2531 ac_retval=0
2532 else
2533 $as_echo "$as_me: program exited with status $ac_status" >&5
2534 $as_echo "$as_me: failed program was:" >&5
2535 sed 's/^/| /' conftest.$ac_ext >&5
2537 ac_retval=$ac_status
2539 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2540 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2541 as_fn_set_status $ac_retval
2543 } # ac_fn_c_try_run
2545 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2546 # -------------------------------------------------------
2547 # Tests whether HEADER exists and can be compiled using the include files in
2548 # INCLUDES, setting the cache variable VAR accordingly.
2549 ac_fn_c_check_header_compile ()
2551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2553 $as_echo_n "checking for $2... " >&6; }
2554 if eval \${$3+:} false; then :
2555 $as_echo_n "(cached) " >&6
2556 else
2557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2558 /* end confdefs.h. */
2560 #include <$2>
2561 _ACEOF
2562 if ac_fn_c_try_compile "$LINENO"; then :
2563 eval "$3=yes"
2564 else
2565 eval "$3=no"
2567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2569 eval ac_res=\$$3
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2571 $as_echo "$ac_res" >&6; }
2572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2574 } # ac_fn_c_check_header_compile
2576 # ac_fn_c_check_func LINENO FUNC VAR
2577 # ----------------------------------
2578 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2579 ac_fn_c_check_func ()
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. */
2589 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2591 #define $2 innocuous_$2
2593 /* System header to define __stub macros and hopefully few prototypes,
2594 which can conflict with char $2 (); below.
2595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2596 <limits.h> exists even on freestanding compilers. */
2598 #ifdef __STDC__
2599 # include <limits.h>
2600 #else
2601 # include <assert.h>
2602 #endif
2604 #undef $2
2606 /* Override any GCC internal prototype to avoid an error.
2607 Use char because int might match the return type of a GCC
2608 builtin and then its argument prototype would still apply. */
2609 #ifdef __cplusplus
2610 extern "C"
2611 #endif
2612 char $2 ();
2613 /* The GNU C library defines this for functions which it implements
2614 to always fail with ENOSYS. Some functions are actually named
2615 something starting with __ and the normal name is an alias. */
2616 #if defined __stub_$2 || defined __stub___$2
2617 choke me
2618 #endif
2621 main ()
2623 return $2 ();
2625 return 0;
2627 _ACEOF
2628 if ac_fn_c_try_link "$LINENO"; then :
2629 eval "$3=yes"
2630 else
2631 eval "$3=no"
2633 rm -f core conftest.err conftest.$ac_objext \
2634 conftest$ac_exeext conftest.$ac_ext
2636 eval ac_res=\$$3
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2638 $as_echo "$ac_res" >&6; }
2639 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2641 } # ac_fn_c_check_func
2643 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2644 # ----------------------------------------------------
2645 # Tries to find if the field MEMBER exists in type AGGR, after including
2646 # INCLUDES, setting cache variable VAR accordingly.
2647 ac_fn_c_check_member ()
2649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2651 $as_echo_n "checking for $2.$3... " >&6; }
2652 if eval \${$4+:} false; then :
2653 $as_echo_n "(cached) " >&6
2654 else
2655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2656 /* end confdefs.h. */
2659 main ()
2661 static $2 ac_aggr;
2662 if (ac_aggr.$3)
2663 return 0;
2665 return 0;
2667 _ACEOF
2668 if ac_fn_c_try_compile "$LINENO"; then :
2669 eval "$4=yes"
2670 else
2671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2672 /* end confdefs.h. */
2675 main ()
2677 static $2 ac_aggr;
2678 if (sizeof ac_aggr.$3)
2679 return 0;
2681 return 0;
2683 _ACEOF
2684 if ac_fn_c_try_compile "$LINENO"; then :
2685 eval "$4=yes"
2686 else
2687 eval "$4=no"
2689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2693 eval ac_res=\$$4
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2695 $as_echo "$ac_res" >&6; }
2696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2698 } # ac_fn_c_check_member
2700 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2701 # -------------------------------------------
2702 # Tests whether TYPE exists after having included INCLUDES, setting cache
2703 # variable VAR accordingly.
2704 ac_fn_c_check_type ()
2706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2708 $as_echo_n "checking for $2... " >&6; }
2709 if eval \${$3+:} false; then :
2710 $as_echo_n "(cached) " >&6
2711 else
2712 eval "$3=no"
2713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2714 /* end confdefs.h. */
2717 main ()
2719 if (sizeof ($2))
2720 return 0;
2722 return 0;
2724 _ACEOF
2725 if ac_fn_c_try_compile "$LINENO"; then :
2726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2727 /* end confdefs.h. */
2730 main ()
2732 if (sizeof (($2)))
2733 return 0;
2735 return 0;
2737 _ACEOF
2738 if ac_fn_c_try_compile "$LINENO"; then :
2740 else
2741 eval "$3=yes"
2743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2747 eval ac_res=\$$3
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2749 $as_echo "$ac_res" >&6; }
2750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2752 } # ac_fn_c_check_type
2753 cat >config.log <<_ACEOF
2754 This file contains any messages produced by compilers while
2755 running configure, to aid debugging if configure makes a mistake.
2757 It was created by Wine $as_me 1.7.16, which was
2758 generated by GNU Autoconf 2.69. Invocation command line was
2760 $ $0 $@
2762 _ACEOF
2763 exec 5>>config.log
2765 cat <<_ASUNAME
2766 ## --------- ##
2767 ## Platform. ##
2768 ## --------- ##
2770 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2771 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2772 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2773 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2774 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2776 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2777 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2779 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2780 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2781 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2782 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2783 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2784 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2785 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2787 _ASUNAME
2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2790 for as_dir in $PATH
2792 IFS=$as_save_IFS
2793 test -z "$as_dir" && as_dir=.
2794 $as_echo "PATH: $as_dir"
2795 done
2796 IFS=$as_save_IFS
2798 } >&5
2800 cat >&5 <<_ACEOF
2803 ## ----------- ##
2804 ## Core tests. ##
2805 ## ----------- ##
2807 _ACEOF
2810 # Keep a trace of the command line.
2811 # Strip out --no-create and --no-recursion so they do not pile up.
2812 # Strip out --silent because we don't want to record it for future runs.
2813 # Also quote any args containing shell meta-characters.
2814 # Make two passes to allow for proper duplicate-argument suppression.
2815 ac_configure_args=
2816 ac_configure_args0=
2817 ac_configure_args1=
2818 ac_must_keep_next=false
2819 for ac_pass in 1 2
2821 for ac_arg
2823 case $ac_arg in
2824 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2825 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2826 | -silent | --silent | --silen | --sile | --sil)
2827 continue ;;
2828 *\'*)
2829 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2830 esac
2831 case $ac_pass in
2832 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2834 as_fn_append ac_configure_args1 " '$ac_arg'"
2835 if test $ac_must_keep_next = true; then
2836 ac_must_keep_next=false # Got value, back to normal.
2837 else
2838 case $ac_arg in
2839 *=* | --config-cache | -C | -disable-* | --disable-* \
2840 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2841 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2842 | -with-* | --with-* | -without-* | --without-* | --x)
2843 case "$ac_configure_args0 " in
2844 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2845 esac
2847 -* ) ac_must_keep_next=true ;;
2848 esac
2850 as_fn_append ac_configure_args " '$ac_arg'"
2852 esac
2853 done
2854 done
2855 { ac_configure_args0=; unset ac_configure_args0;}
2856 { ac_configure_args1=; unset ac_configure_args1;}
2858 # When interrupted or exit'd, cleanup temporary files, and complete
2859 # config.log. We remove comments because anyway the quotes in there
2860 # would cause problems or look ugly.
2861 # WARNING: Use '\'' to represent an apostrophe within the trap.
2862 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2863 trap 'exit_status=$?
2864 # Save into config.log some information that might help in debugging.
2866 echo
2868 $as_echo "## ---------------- ##
2869 ## Cache variables. ##
2870 ## ---------------- ##"
2871 echo
2872 # The following way of writing the cache mishandles newlines in values,
2874 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2875 eval ac_val=\$$ac_var
2876 case $ac_val in #(
2877 *${as_nl}*)
2878 case $ac_var in #(
2879 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2880 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2881 esac
2882 case $ac_var in #(
2883 _ | IFS | as_nl) ;; #(
2884 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2885 *) { eval $ac_var=; unset $ac_var;} ;;
2886 esac ;;
2887 esac
2888 done
2889 (set) 2>&1 |
2890 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2891 *${as_nl}ac_space=\ *)
2892 sed -n \
2893 "s/'\''/'\''\\\\'\'''\''/g;
2894 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2895 ;; #(
2897 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2899 esac |
2900 sort
2902 echo
2904 $as_echo "## ----------------- ##
2905 ## Output variables. ##
2906 ## ----------------- ##"
2907 echo
2908 for ac_var in $ac_subst_vars
2910 eval ac_val=\$$ac_var
2911 case $ac_val in
2912 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2913 esac
2914 $as_echo "$ac_var='\''$ac_val'\''"
2915 done | sort
2916 echo
2918 if test -n "$ac_subst_files"; then
2919 $as_echo "## ------------------- ##
2920 ## File substitutions. ##
2921 ## ------------------- ##"
2922 echo
2923 for ac_var in $ac_subst_files
2925 eval ac_val=\$$ac_var
2926 case $ac_val in
2927 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2928 esac
2929 $as_echo "$ac_var='\''$ac_val'\''"
2930 done | sort
2931 echo
2934 if test -s confdefs.h; then
2935 $as_echo "## ----------- ##
2936 ## confdefs.h. ##
2937 ## ----------- ##"
2938 echo
2939 cat confdefs.h
2940 echo
2942 test "$ac_signal" != 0 &&
2943 $as_echo "$as_me: caught signal $ac_signal"
2944 $as_echo "$as_me: exit $exit_status"
2945 } >&5
2946 rm -f core *.core core.conftest.* &&
2947 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2948 exit $exit_status
2950 for ac_signal in 1 2 13 15; do
2951 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2952 done
2953 ac_signal=0
2955 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2956 rm -f -r conftest* confdefs.h
2958 $as_echo "/* confdefs.h */" > confdefs.h
2960 # Predefined preprocessor variables.
2962 cat >>confdefs.h <<_ACEOF
2963 #define PACKAGE_NAME "$PACKAGE_NAME"
2964 _ACEOF
2966 cat >>confdefs.h <<_ACEOF
2967 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2968 _ACEOF
2970 cat >>confdefs.h <<_ACEOF
2971 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2972 _ACEOF
2974 cat >>confdefs.h <<_ACEOF
2975 #define PACKAGE_STRING "$PACKAGE_STRING"
2976 _ACEOF
2978 cat >>confdefs.h <<_ACEOF
2979 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2980 _ACEOF
2982 cat >>confdefs.h <<_ACEOF
2983 #define PACKAGE_URL "$PACKAGE_URL"
2984 _ACEOF
2987 # Let the site file select an alternate cache file if it wants to.
2988 # Prefer an explicitly selected file to automatically selected ones.
2989 ac_site_file1=NONE
2990 ac_site_file2=NONE
2991 if test -n "$CONFIG_SITE"; then
2992 # We do not want a PATH search for config.site.
2993 case $CONFIG_SITE in #((
2994 -*) ac_site_file1=./$CONFIG_SITE;;
2995 */*) ac_site_file1=$CONFIG_SITE;;
2996 *) ac_site_file1=./$CONFIG_SITE;;
2997 esac
2998 elif test "x$prefix" != xNONE; then
2999 ac_site_file1=$prefix/share/config.site
3000 ac_site_file2=$prefix/etc/config.site
3001 else
3002 ac_site_file1=$ac_default_prefix/share/config.site
3003 ac_site_file2=$ac_default_prefix/etc/config.site
3005 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3007 test "x$ac_site_file" = xNONE && continue
3008 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3010 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3011 sed 's/^/| /' "$ac_site_file" >&5
3012 . "$ac_site_file" \
3013 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3015 as_fn_error $? "failed to load site script $ac_site_file
3016 See \`config.log' for more details" "$LINENO" 5; }
3018 done
3020 if test -r "$cache_file"; then
3021 # Some versions of bash will fail to source /dev/null (special files
3022 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3023 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3025 $as_echo "$as_me: loading cache $cache_file" >&6;}
3026 case $cache_file in
3027 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3028 *) . "./$cache_file";;
3029 esac
3031 else
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3033 $as_echo "$as_me: creating cache $cache_file" >&6;}
3034 >$cache_file
3037 # Check that the precious variables saved in the cache have kept the same
3038 # value.
3039 ac_cache_corrupted=false
3040 for ac_var in $ac_precious_vars; do
3041 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3042 eval ac_new_set=\$ac_env_${ac_var}_set
3043 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3044 eval ac_new_val=\$ac_env_${ac_var}_value
3045 case $ac_old_set,$ac_new_set in
3046 set,)
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3048 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3049 ac_cache_corrupted=: ;;
3050 ,set)
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3052 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3053 ac_cache_corrupted=: ;;
3054 ,);;
3056 if test "x$ac_old_val" != "x$ac_new_val"; then
3057 # differences in whitespace do not lead to failure.
3058 ac_old_val_w=`echo x $ac_old_val`
3059 ac_new_val_w=`echo x $ac_new_val`
3060 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3062 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3063 ac_cache_corrupted=:
3064 else
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3066 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3067 eval $ac_var=\$ac_old_val
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3070 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3072 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3073 fi;;
3074 esac
3075 # Pass precious variables to config.status.
3076 if test "$ac_new_set" = set; then
3077 case $ac_new_val in
3078 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3079 *) ac_arg=$ac_var=$ac_new_val ;;
3080 esac
3081 case " $ac_configure_args " in
3082 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3083 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3084 esac
3086 done
3087 if $ac_cache_corrupted; then
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3091 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3092 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3094 ## -------------------- ##
3095 ## Main body of script. ##
3096 ## -------------------- ##
3098 ac_ext=c
3099 ac_cpp='$CPP $CPPFLAGS'
3100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3106 ac_config_headers="$ac_config_headers include/config.h"
3108 ac_aux_dir=
3109 for ac_dir in tools "$srcdir"/tools; do
3110 if test -f "$ac_dir/install-sh"; then
3111 ac_aux_dir=$ac_dir
3112 ac_install_sh="$ac_aux_dir/install-sh -c"
3113 break
3114 elif test -f "$ac_dir/install.sh"; then
3115 ac_aux_dir=$ac_dir
3116 ac_install_sh="$ac_aux_dir/install.sh -c"
3117 break
3118 elif test -f "$ac_dir/shtool"; then
3119 ac_aux_dir=$ac_dir
3120 ac_install_sh="$ac_aux_dir/shtool install -c"
3121 break
3123 done
3124 if test -z "$ac_aux_dir"; then
3125 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3128 # These three variables are undocumented and unsupported,
3129 # and are intended to be withdrawn in a future Autoconf release.
3130 # They can cause serious problems if a builder's source tree is in a directory
3131 # whose full name contains unusual characters.
3132 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3133 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3134 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3138 libwine_version="1.0"
3142 # Check whether --enable-win16 was given.
3143 if test "${enable_win16+set}" = set; then :
3144 enableval=$enable_win16;
3147 # Check whether --enable-win64 was given.
3148 if test "${enable_win64+set}" = set; then :
3149 enableval=$enable_win64;
3152 # Check whether --enable-tests was given.
3153 if test "${enable_tests+set}" = set; then :
3154 enableval=$enable_tests;
3157 # Check whether --enable-maintainer-mode was given.
3158 if test "${enable_maintainer_mode+set}" = set; then :
3159 enableval=$enable_maintainer_mode;
3164 # Check whether --with-alsa was given.
3165 if test "${with_alsa+set}" = set; then :
3166 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3170 # Check whether --with-capi was given.
3171 if test "${with_capi+set}" = set; then :
3172 withval=$with_capi;
3176 # Check whether --with-cms was given.
3177 if test "${with_cms+set}" = set; then :
3178 withval=$with_cms;
3182 # Check whether --with-coreaudio was given.
3183 if test "${with_coreaudio+set}" = set; then :
3184 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3188 # Check whether --with-cups was given.
3189 if test "${with_cups+set}" = set; then :
3190 withval=$with_cups;
3194 # Check whether --with-curses was given.
3195 if test "${with_curses+set}" = set; then :
3196 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3200 # Check whether --with-dbus was given.
3201 if test "${with_dbus+set}" = set; then :
3202 withval=$with_dbus;
3206 # Check whether --with-fontconfig was given.
3207 if test "${with_fontconfig+set}" = set; then :
3208 withval=$with_fontconfig;
3212 # Check whether --with-freetype was given.
3213 if test "${with_freetype+set}" = set; then :
3214 withval=$with_freetype;
3218 # Check whether --with-gettext was given.
3219 if test "${with_gettext+set}" = set; then :
3220 withval=$with_gettext;
3224 # Check whether --with-gettextpo was given.
3225 if test "${with_gettextpo+set}" = set; then :
3226 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3230 # Check whether --with-gphoto was given.
3231 if test "${with_gphoto+set}" = set; then :
3232 withval=$with_gphoto;
3236 # Check whether --with-glu was given.
3237 if test "${with_glu+set}" = set; then :
3238 withval=$with_glu;
3242 # Check whether --with-gnutls was given.
3243 if test "${with_gnutls+set}" = set; then :
3244 withval=$with_gnutls;
3248 # Check whether --with-gsm was given.
3249 if test "${with_gsm+set}" = set; then :
3250 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3254 # Check whether --with-gstreamer was given.
3255 if test "${with_gstreamer+set}" = set; then :
3256 withval=$with_gstreamer;
3260 # Check whether --with-hal was given.
3261 if test "${with_hal+set}" = set; then :
3262 withval=$with_hal;
3266 # Check whether --with-jpeg was given.
3267 if test "${with_jpeg+set}" = set; then :
3268 withval=$with_jpeg;
3272 # Check whether --with-ldap was given.
3273 if test "${with_ldap+set}" = set; then :
3274 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3278 # Check whether --with-mpg123 was given.
3279 if test "${with_mpg123+set}" = set; then :
3280 withval=$with_mpg123;
3284 # Check whether --with-netapi was given.
3285 if test "${with_netapi+set}" = set; then :
3286 withval=$with_netapi;
3290 # Check whether --with-openal was given.
3291 if test "${with_openal+set}" = set; then :
3292 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3296 # Check whether --with-opencl was given.
3297 if test "${with_opencl+set}" = set; then :
3298 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3302 # Check whether --with-opengl was given.
3303 if test "${with_opengl+set}" = set; then :
3304 withval=$with_opengl;
3308 # Check whether --with-osmesa was given.
3309 if test "${with_osmesa+set}" = set; then :
3310 withval=$with_osmesa;
3314 # Check whether --with-oss was given.
3315 if test "${with_oss+set}" = set; then :
3316 withval=$with_oss;
3320 # Check whether --with-png was given.
3321 if test "${with_png+set}" = set; then :
3322 withval=$with_png;
3326 # Check whether --with-pthread was given.
3327 if test "${with_pthread+set}" = set; then :
3328 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3332 # Check whether --with-sane was given.
3333 if test "${with_sane+set}" = set; then :
3334 withval=$with_sane;
3338 # Check whether --with-tiff was given.
3339 if test "${with_tiff+set}" = set; then :
3340 withval=$with_tiff;
3344 # Check whether --with-v4l was given.
3345 if test "${with_v4l+set}" = set; then :
3346 withval=$with_v4l;
3350 # Check whether --with-xcomposite was given.
3351 if test "${with_xcomposite+set}" = set; then :
3352 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3356 # Check whether --with-xcursor was given.
3357 if test "${with_xcursor+set}" = set; then :
3358 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3362 # Check whether --with-xinerama was given.
3363 if test "${with_xinerama+set}" = set; then :
3364 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3368 # Check whether --with-xinput was given.
3369 if test "${with_xinput+set}" = set; then :
3370 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3374 # Check whether --with-xinput2 was given.
3375 if test "${with_xinput2+set}" = set; then :
3376 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3380 # Check whether --with-xml was given.
3381 if test "${with_xml+set}" = set; then :
3382 withval=$with_xml;
3386 # Check whether --with-xrandr was given.
3387 if test "${with_xrandr+set}" = set; then :
3388 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3392 # Check whether --with-xrender was given.
3393 if test "${with_xrender+set}" = set; then :
3394 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3398 # Check whether --with-xshape was given.
3399 if test "${with_xshape+set}" = set; then :
3400 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3404 # Check whether --with-xshm was given.
3405 if test "${with_xshm+set}" = set; then :
3406 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3410 # Check whether --with-xslt was given.
3411 if test "${with_xslt+set}" = set; then :
3412 withval=$with_xslt;
3416 # Check whether --with-xxf86vm was given.
3417 if test "${with_xxf86vm+set}" = set; then :
3418 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
3422 # Check whether --with-zlib was given.
3423 if test "${with_zlib+set}" = set; then :
3424 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3429 # Check whether --with-wine-tools was given.
3430 if test "${with_wine_tools+set}" = set; then :
3431 withval=$with_wine_tools;
3435 # Check whether --with-wine64 was given.
3436 if test "${with_wine64+set}" = set; then :
3437 withval=$with_wine64;
3441 # Make sure we can run config.sub.
3442 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3443 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3446 $as_echo_n "checking build system type... " >&6; }
3447 if ${ac_cv_build+:} false; then :
3448 $as_echo_n "(cached) " >&6
3449 else
3450 ac_build_alias=$build_alias
3451 test "x$ac_build_alias" = x &&
3452 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3453 test "x$ac_build_alias" = x &&
3454 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3455 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3456 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3460 $as_echo "$ac_cv_build" >&6; }
3461 case $ac_cv_build in
3462 *-*-*) ;;
3463 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3464 esac
3465 build=$ac_cv_build
3466 ac_save_IFS=$IFS; IFS='-'
3467 set x $ac_cv_build
3468 shift
3469 build_cpu=$1
3470 build_vendor=$2
3471 shift; shift
3472 # Remember, the first character of IFS is used to create $*,
3473 # except with old shells:
3474 build_os=$*
3475 IFS=$ac_save_IFS
3476 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3480 $as_echo_n "checking host system type... " >&6; }
3481 if ${ac_cv_host+:} false; then :
3482 $as_echo_n "(cached) " >&6
3483 else
3484 if test "x$host_alias" = x; then
3485 ac_cv_host=$ac_cv_build
3486 else
3487 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3488 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3493 $as_echo "$ac_cv_host" >&6; }
3494 case $ac_cv_host in
3495 *-*-*) ;;
3496 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3497 esac
3498 host=$ac_cv_host
3499 ac_save_IFS=$IFS; IFS='-'
3500 set x $ac_cv_host
3501 shift
3502 host_cpu=$1
3503 host_vendor=$2
3504 shift; shift
3505 # Remember, the first character of IFS is used to create $*,
3506 # except with old shells:
3507 host_os=$*
3508 IFS=$ac_save_IFS
3509 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3513 case "$srcdir" in
3514 .) ;;
3515 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3516 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3517 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3518 fi ;;
3519 esac
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3523 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3524 set x ${MAKE-make}
3525 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3526 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3527 $as_echo_n "(cached) " >&6
3528 else
3529 cat >conftest.make <<\_ACEOF
3530 SHELL = /bin/sh
3531 all:
3532 @echo '@@@%%%=$(MAKE)=@@@%%%'
3533 _ACEOF
3534 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3535 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3536 *@@@%%%=?*=@@@%%%*)
3537 eval ac_cv_prog_make_${ac_make}_set=yes;;
3539 eval ac_cv_prog_make_${ac_make}_set=no;;
3540 esac
3541 rm -f conftest.make
3543 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3545 $as_echo "yes" >&6; }
3546 SET_MAKE=
3547 else
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3549 $as_echo "no" >&6; }
3550 SET_MAKE="MAKE=${MAKE-make}"
3553 ac_ext=c
3554 ac_cpp='$CPP $CPPFLAGS'
3555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3558 if test -n "$ac_tool_prefix"; then
3559 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3560 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3562 $as_echo_n "checking for $ac_word... " >&6; }
3563 if ${ac_cv_prog_CC+:} false; then :
3564 $as_echo_n "(cached) " >&6
3565 else
3566 if test -n "$CC"; then
3567 ac_cv_prog_CC="$CC" # Let the user override the test.
3568 else
3569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3570 for as_dir in $PATH
3572 IFS=$as_save_IFS
3573 test -z "$as_dir" && as_dir=.
3574 for ac_exec_ext in '' $ac_executable_extensions; do
3575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3576 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3578 break 2
3580 done
3581 done
3582 IFS=$as_save_IFS
3586 CC=$ac_cv_prog_CC
3587 if test -n "$CC"; then
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3589 $as_echo "$CC" >&6; }
3590 else
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3592 $as_echo "no" >&6; }
3597 if test -z "$ac_cv_prog_CC"; then
3598 ac_ct_CC=$CC
3599 # Extract the first word of "gcc", so it can be a program name with args.
3600 set dummy gcc; ac_word=$2
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3602 $as_echo_n "checking for $ac_word... " >&6; }
3603 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3604 $as_echo_n "(cached) " >&6
3605 else
3606 if test -n "$ac_ct_CC"; then
3607 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3608 else
3609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3610 for as_dir in $PATH
3612 IFS=$as_save_IFS
3613 test -z "$as_dir" && as_dir=.
3614 for ac_exec_ext in '' $ac_executable_extensions; do
3615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3616 ac_cv_prog_ac_ct_CC="gcc"
3617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3618 break 2
3620 done
3621 done
3622 IFS=$as_save_IFS
3626 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3627 if test -n "$ac_ct_CC"; then
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3629 $as_echo "$ac_ct_CC" >&6; }
3630 else
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3632 $as_echo "no" >&6; }
3635 if test "x$ac_ct_CC" = x; then
3636 CC=""
3637 else
3638 case $cross_compiling:$ac_tool_warned in
3639 yes:)
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3642 ac_tool_warned=yes ;;
3643 esac
3644 CC=$ac_ct_CC
3646 else
3647 CC="$ac_cv_prog_CC"
3650 if test -z "$CC"; then
3651 if test -n "$ac_tool_prefix"; then
3652 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3653 set dummy ${ac_tool_prefix}cc; ac_word=$2
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3655 $as_echo_n "checking for $ac_word... " >&6; }
3656 if ${ac_cv_prog_CC+:} false; then :
3657 $as_echo_n "(cached) " >&6
3658 else
3659 if test -n "$CC"; then
3660 ac_cv_prog_CC="$CC" # Let the user override the test.
3661 else
3662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3663 for as_dir in $PATH
3665 IFS=$as_save_IFS
3666 test -z "$as_dir" && as_dir=.
3667 for ac_exec_ext in '' $ac_executable_extensions; do
3668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3669 ac_cv_prog_CC="${ac_tool_prefix}cc"
3670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3671 break 2
3673 done
3674 done
3675 IFS=$as_save_IFS
3679 CC=$ac_cv_prog_CC
3680 if test -n "$CC"; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3682 $as_echo "$CC" >&6; }
3683 else
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 $as_echo "no" >&6; }
3691 if test -z "$CC"; then
3692 # Extract the first word of "cc", so it can be a program name with args.
3693 set dummy cc; ac_word=$2
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3695 $as_echo_n "checking for $ac_word... " >&6; }
3696 if ${ac_cv_prog_CC+:} false; then :
3697 $as_echo_n "(cached) " >&6
3698 else
3699 if test -n "$CC"; then
3700 ac_cv_prog_CC="$CC" # Let the user override the test.
3701 else
3702 ac_prog_rejected=no
3703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3704 for as_dir in $PATH
3706 IFS=$as_save_IFS
3707 test -z "$as_dir" && as_dir=.
3708 for ac_exec_ext in '' $ac_executable_extensions; do
3709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3710 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3711 ac_prog_rejected=yes
3712 continue
3714 ac_cv_prog_CC="cc"
3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3716 break 2
3718 done
3719 done
3720 IFS=$as_save_IFS
3722 if test $ac_prog_rejected = yes; then
3723 # We found a bogon in the path, so make sure we never use it.
3724 set dummy $ac_cv_prog_CC
3725 shift
3726 if test $# != 0; then
3727 # We chose a different compiler from the bogus one.
3728 # However, it has the same basename, so the bogon will be chosen
3729 # first if we set CC to just the basename; use the full file name.
3730 shift
3731 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3736 CC=$ac_cv_prog_CC
3737 if test -n "$CC"; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3739 $as_echo "$CC" >&6; }
3740 else
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3742 $as_echo "no" >&6; }
3747 if test -z "$CC"; then
3748 if test -n "$ac_tool_prefix"; then
3749 for ac_prog in cl.exe
3751 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3752 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3754 $as_echo_n "checking for $ac_word... " >&6; }
3755 if ${ac_cv_prog_CC+:} false; then :
3756 $as_echo_n "(cached) " >&6
3757 else
3758 if test -n "$CC"; then
3759 ac_cv_prog_CC="$CC" # Let the user override the test.
3760 else
3761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3762 for as_dir in $PATH
3764 IFS=$as_save_IFS
3765 test -z "$as_dir" && as_dir=.
3766 for ac_exec_ext in '' $ac_executable_extensions; do
3767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3768 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 break 2
3772 done
3773 done
3774 IFS=$as_save_IFS
3778 CC=$ac_cv_prog_CC
3779 if test -n "$CC"; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3781 $as_echo "$CC" >&6; }
3782 else
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3784 $as_echo "no" >&6; }
3788 test -n "$CC" && break
3789 done
3791 if test -z "$CC"; then
3792 ac_ct_CC=$CC
3793 for ac_prog in cl.exe
3795 # Extract the first word of "$ac_prog", so it can be a program name with args.
3796 set dummy $ac_prog; ac_word=$2
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3798 $as_echo_n "checking for $ac_word... " >&6; }
3799 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3800 $as_echo_n "(cached) " >&6
3801 else
3802 if test -n "$ac_ct_CC"; then
3803 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3804 else
3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3806 for as_dir in $PATH
3808 IFS=$as_save_IFS
3809 test -z "$as_dir" && as_dir=.
3810 for ac_exec_ext in '' $ac_executable_extensions; do
3811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3812 ac_cv_prog_ac_ct_CC="$ac_prog"
3813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3814 break 2
3816 done
3817 done
3818 IFS=$as_save_IFS
3822 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3823 if test -n "$ac_ct_CC"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3825 $as_echo "$ac_ct_CC" >&6; }
3826 else
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3832 test -n "$ac_ct_CC" && break
3833 done
3835 if test "x$ac_ct_CC" = x; then
3836 CC=""
3837 else
3838 case $cross_compiling:$ac_tool_warned in
3839 yes:)
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3842 ac_tool_warned=yes ;;
3843 esac
3844 CC=$ac_ct_CC
3851 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3853 as_fn_error $? "no acceptable C compiler found in \$PATH
3854 See \`config.log' for more details" "$LINENO" 5; }
3856 # Provide some information about the compiler.
3857 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3858 set X $ac_compile
3859 ac_compiler=$2
3860 for ac_option in --version -v -V -qversion; do
3861 { { ac_try="$ac_compiler $ac_option >&5"
3862 case "(($ac_try" in
3863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3864 *) ac_try_echo=$ac_try;;
3865 esac
3866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3867 $as_echo "$ac_try_echo"; } >&5
3868 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3869 ac_status=$?
3870 if test -s conftest.err; then
3871 sed '10a\
3872 ... rest of stderr output deleted ...
3873 10q' conftest.err >conftest.er1
3874 cat conftest.er1 >&5
3876 rm -f conftest.er1 conftest.err
3877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3878 test $ac_status = 0; }
3879 done
3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3885 main ()
3889 return 0;
3891 _ACEOF
3892 ac_clean_files_save=$ac_clean_files
3893 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3894 # Try to create an executable without -o first, disregard a.out.
3895 # It will help us diagnose broken compilers, and finding out an intuition
3896 # of exeext.
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3898 $as_echo_n "checking whether the C compiler works... " >&6; }
3899 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3901 # The possible output files:
3902 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3904 ac_rmfiles=
3905 for ac_file in $ac_files
3907 case $ac_file in
3908 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3909 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3910 esac
3911 done
3912 rm -f $ac_rmfiles
3914 if { { ac_try="$ac_link_default"
3915 case "(($ac_try" in
3916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3917 *) ac_try_echo=$ac_try;;
3918 esac
3919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3920 $as_echo "$ac_try_echo"; } >&5
3921 (eval "$ac_link_default") 2>&5
3922 ac_status=$?
3923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3924 test $ac_status = 0; }; then :
3925 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3926 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3927 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3928 # so that the user can short-circuit this test for compilers unknown to
3929 # Autoconf.
3930 for ac_file in $ac_files ''
3932 test -f "$ac_file" || continue
3933 case $ac_file in
3934 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3936 [ab].out )
3937 # We found the default executable, but exeext='' is most
3938 # certainly right.
3939 break;;
3940 *.* )
3941 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3942 then :; else
3943 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3945 # We set ac_cv_exeext here because the later test for it is not
3946 # safe: cross compilers may not add the suffix if given an `-o'
3947 # argument, so we may need to know it at that point already.
3948 # Even if this section looks crufty: it has the advantage of
3949 # actually working.
3950 break;;
3952 break;;
3953 esac
3954 done
3955 test "$ac_cv_exeext" = no && ac_cv_exeext=
3957 else
3958 ac_file=''
3960 if test -z "$ac_file"; then :
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3963 $as_echo "$as_me: failed program was:" >&5
3964 sed 's/^/| /' conftest.$ac_ext >&5
3966 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3968 as_fn_error 77 "C compiler cannot create executables
3969 See \`config.log' for more details" "$LINENO" 5; }
3970 else
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3972 $as_echo "yes" >&6; }
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3975 $as_echo_n "checking for C compiler default output file name... " >&6; }
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3977 $as_echo "$ac_file" >&6; }
3978 ac_exeext=$ac_cv_exeext
3980 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3981 ac_clean_files=$ac_clean_files_save
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3983 $as_echo_n "checking for suffix of executables... " >&6; }
3984 if { { ac_try="$ac_link"
3985 case "(($ac_try" in
3986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3987 *) ac_try_echo=$ac_try;;
3988 esac
3989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3990 $as_echo "$ac_try_echo"; } >&5
3991 (eval "$ac_link") 2>&5
3992 ac_status=$?
3993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3994 test $ac_status = 0; }; then :
3995 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3996 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3997 # work properly (i.e., refer to `conftest.exe'), while it won't with
3998 # `rm'.
3999 for ac_file in conftest.exe conftest conftest.*; do
4000 test -f "$ac_file" || continue
4001 case $ac_file in
4002 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4003 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4004 break;;
4005 * ) break;;
4006 esac
4007 done
4008 else
4009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4011 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4012 See \`config.log' for more details" "$LINENO" 5; }
4014 rm -f conftest conftest$ac_cv_exeext
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4016 $as_echo "$ac_cv_exeext" >&6; }
4018 rm -f conftest.$ac_ext
4019 EXEEXT=$ac_cv_exeext
4020 ac_exeext=$EXEEXT
4021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4022 /* end confdefs.h. */
4023 #include <stdio.h>
4025 main ()
4027 FILE *f = fopen ("conftest.out", "w");
4028 return ferror (f) || fclose (f) != 0;
4031 return 0;
4033 _ACEOF
4034 ac_clean_files="$ac_clean_files conftest.out"
4035 # Check that the compiler produces executables we can run. If not, either
4036 # the compiler is broken, or we cross compile.
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4038 $as_echo_n "checking whether we are cross compiling... " >&6; }
4039 if test "$cross_compiling" != yes; then
4040 { { ac_try="$ac_link"
4041 case "(($ac_try" in
4042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4044 esac
4045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4046 $as_echo "$ac_try_echo"; } >&5
4047 (eval "$ac_link") 2>&5
4048 ac_status=$?
4049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4050 test $ac_status = 0; }
4051 if { ac_try='./conftest$ac_cv_exeext'
4052 { { case "(($ac_try" in
4053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054 *) ac_try_echo=$ac_try;;
4055 esac
4056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4057 $as_echo "$ac_try_echo"; } >&5
4058 (eval "$ac_try") 2>&5
4059 ac_status=$?
4060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4061 test $ac_status = 0; }; }; then
4062 cross_compiling=no
4063 else
4064 if test "$cross_compiling" = maybe; then
4065 cross_compiling=yes
4066 else
4067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4069 as_fn_error $? "cannot run C compiled programs.
4070 If you meant to cross compile, use \`--host'.
4071 See \`config.log' for more details" "$LINENO" 5; }
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4076 $as_echo "$cross_compiling" >&6; }
4078 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4079 ac_clean_files=$ac_clean_files_save
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4081 $as_echo_n "checking for suffix of object files... " >&6; }
4082 if ${ac_cv_objext+:} false; then :
4083 $as_echo_n "(cached) " >&6
4084 else
4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4089 main ()
4093 return 0;
4095 _ACEOF
4096 rm -f conftest.o conftest.obj
4097 if { { ac_try="$ac_compile"
4098 case "(($ac_try" in
4099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4100 *) ac_try_echo=$ac_try;;
4101 esac
4102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4103 $as_echo "$ac_try_echo"; } >&5
4104 (eval "$ac_compile") 2>&5
4105 ac_status=$?
4106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4107 test $ac_status = 0; }; then :
4108 for ac_file in conftest.o conftest.obj conftest.*; do
4109 test -f "$ac_file" || continue;
4110 case $ac_file in
4111 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4112 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4113 break;;
4114 esac
4115 done
4116 else
4117 $as_echo "$as_me: failed program was:" >&5
4118 sed 's/^/| /' conftest.$ac_ext >&5
4120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4122 as_fn_error $? "cannot compute suffix of object files: cannot compile
4123 See \`config.log' for more details" "$LINENO" 5; }
4125 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4128 $as_echo "$ac_cv_objext" >&6; }
4129 OBJEXT=$ac_cv_objext
4130 ac_objext=$OBJEXT
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4132 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4133 if ${ac_cv_c_compiler_gnu+:} false; then :
4134 $as_echo_n "(cached) " >&6
4135 else
4136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h. */
4140 main ()
4142 #ifndef __GNUC__
4143 choke me
4144 #endif
4147 return 0;
4149 _ACEOF
4150 if ac_fn_c_try_compile "$LINENO"; then :
4151 ac_compiler_gnu=yes
4152 else
4153 ac_compiler_gnu=no
4155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4156 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4160 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4161 if test $ac_compiler_gnu = yes; then
4162 GCC=yes
4163 else
4164 GCC=
4166 ac_test_CFLAGS=${CFLAGS+set}
4167 ac_save_CFLAGS=$CFLAGS
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4169 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4170 if ${ac_cv_prog_cc_g+:} false; then :
4171 $as_echo_n "(cached) " >&6
4172 else
4173 ac_save_c_werror_flag=$ac_c_werror_flag
4174 ac_c_werror_flag=yes
4175 ac_cv_prog_cc_g=no
4176 CFLAGS="-g"
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4181 main ()
4185 return 0;
4187 _ACEOF
4188 if ac_fn_c_try_compile "$LINENO"; then :
4189 ac_cv_prog_cc_g=yes
4190 else
4191 CFLAGS=""
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4196 main ()
4200 return 0;
4202 _ACEOF
4203 if ac_fn_c_try_compile "$LINENO"; then :
4205 else
4206 ac_c_werror_flag=$ac_save_c_werror_flag
4207 CFLAGS="-g"
4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209 /* end confdefs.h. */
4212 main ()
4216 return 0;
4218 _ACEOF
4219 if ac_fn_c_try_compile "$LINENO"; then :
4220 ac_cv_prog_cc_g=yes
4222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 ac_c_werror_flag=$ac_save_c_werror_flag
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4230 $as_echo "$ac_cv_prog_cc_g" >&6; }
4231 if test "$ac_test_CFLAGS" = set; then
4232 CFLAGS=$ac_save_CFLAGS
4233 elif test $ac_cv_prog_cc_g = yes; then
4234 if test "$GCC" = yes; then
4235 CFLAGS="-g -O2"
4236 else
4237 CFLAGS="-g"
4239 else
4240 if test "$GCC" = yes; then
4241 CFLAGS="-O2"
4242 else
4243 CFLAGS=
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4247 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4248 if ${ac_cv_prog_cc_c89+:} false; then :
4249 $as_echo_n "(cached) " >&6
4250 else
4251 ac_cv_prog_cc_c89=no
4252 ac_save_CC=$CC
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4255 #include <stdarg.h>
4256 #include <stdio.h>
4257 struct stat;
4258 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4259 struct buf { int x; };
4260 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4261 static char *e (p, i)
4262 char **p;
4263 int i;
4265 return p[i];
4267 static char *f (char * (*g) (char **, int), char **p, ...)
4269 char *s;
4270 va_list v;
4271 va_start (v,p);
4272 s = g (p, va_arg (v,int));
4273 va_end (v);
4274 return s;
4277 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4278 function prototypes and stuff, but not '\xHH' hex character constants.
4279 These don't provoke an error unfortunately, instead are silently treated
4280 as 'x'. The following induces an error, until -std is added to get
4281 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4282 array size at least. It's necessary to write '\x00'==0 to get something
4283 that's true only with -std. */
4284 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4286 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4287 inside strings and character constants. */
4288 #define FOO(x) 'x'
4289 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4291 int test (int i, double x);
4292 struct s1 {int (*f) (int a);};
4293 struct s2 {int (*f) (double a);};
4294 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4295 int argc;
4296 char **argv;
4298 main ()
4300 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4302 return 0;
4304 _ACEOF
4305 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4306 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4308 CC="$ac_save_CC $ac_arg"
4309 if ac_fn_c_try_compile "$LINENO"; then :
4310 ac_cv_prog_cc_c89=$ac_arg
4312 rm -f core conftest.err conftest.$ac_objext
4313 test "x$ac_cv_prog_cc_c89" != "xno" && break
4314 done
4315 rm -f conftest.$ac_ext
4316 CC=$ac_save_CC
4319 # AC_CACHE_VAL
4320 case "x$ac_cv_prog_cc_c89" in
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4323 $as_echo "none needed" >&6; } ;;
4324 xno)
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4326 $as_echo "unsupported" >&6; } ;;
4328 CC="$CC $ac_cv_prog_cc_c89"
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4330 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4331 esac
4332 if test "x$ac_cv_prog_cc_c89" != xno; then :
4336 ac_ext=c
4337 ac_cpp='$CPP $CPPFLAGS'
4338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4342 ac_ext=cpp
4343 ac_cpp='$CXXCPP $CPPFLAGS'
4344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4347 if test -z "$CXX"; then
4348 if test -n "$CCC"; then
4349 CXX=$CCC
4350 else
4351 if test -n "$ac_tool_prefix"; then
4352 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4354 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4355 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4357 $as_echo_n "checking for $ac_word... " >&6; }
4358 if ${ac_cv_prog_CXX+:} false; then :
4359 $as_echo_n "(cached) " >&6
4360 else
4361 if test -n "$CXX"; then
4362 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4363 else
4364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4365 for as_dir in $PATH
4367 IFS=$as_save_IFS
4368 test -z "$as_dir" && as_dir=.
4369 for ac_exec_ext in '' $ac_executable_extensions; do
4370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4371 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4373 break 2
4375 done
4376 done
4377 IFS=$as_save_IFS
4381 CXX=$ac_cv_prog_CXX
4382 if test -n "$CXX"; then
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4384 $as_echo "$CXX" >&6; }
4385 else
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4387 $as_echo "no" >&6; }
4391 test -n "$CXX" && break
4392 done
4394 if test -z "$CXX"; then
4395 ac_ct_CXX=$CXX
4396 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4398 # Extract the first word of "$ac_prog", so it can be a program name with args.
4399 set dummy $ac_prog; ac_word=$2
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4401 $as_echo_n "checking for $ac_word... " >&6; }
4402 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4403 $as_echo_n "(cached) " >&6
4404 else
4405 if test -n "$ac_ct_CXX"; then
4406 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4407 else
4408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4409 for as_dir in $PATH
4411 IFS=$as_save_IFS
4412 test -z "$as_dir" && as_dir=.
4413 for ac_exec_ext in '' $ac_executable_extensions; do
4414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4415 ac_cv_prog_ac_ct_CXX="$ac_prog"
4416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 break 2
4419 done
4420 done
4421 IFS=$as_save_IFS
4425 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4426 if test -n "$ac_ct_CXX"; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4428 $as_echo "$ac_ct_CXX" >&6; }
4429 else
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4435 test -n "$ac_ct_CXX" && break
4436 done
4438 if test "x$ac_ct_CXX" = x; then
4439 CXX="g++"
4440 else
4441 case $cross_compiling:$ac_tool_warned in
4442 yes:)
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4445 ac_tool_warned=yes ;;
4446 esac
4447 CXX=$ac_ct_CXX
4453 # Provide some information about the compiler.
4454 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4455 set X $ac_compile
4456 ac_compiler=$2
4457 for ac_option in --version -v -V -qversion; do
4458 { { ac_try="$ac_compiler $ac_option >&5"
4459 case "(($ac_try" in
4460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4461 *) ac_try_echo=$ac_try;;
4462 esac
4463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4464 $as_echo "$ac_try_echo"; } >&5
4465 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4466 ac_status=$?
4467 if test -s conftest.err; then
4468 sed '10a\
4469 ... rest of stderr output deleted ...
4470 10q' conftest.err >conftest.er1
4471 cat conftest.er1 >&5
4473 rm -f conftest.er1 conftest.err
4474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4475 test $ac_status = 0; }
4476 done
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4479 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4480 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4481 $as_echo_n "(cached) " >&6
4482 else
4483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4484 /* end confdefs.h. */
4487 main ()
4489 #ifndef __GNUC__
4490 choke me
4491 #endif
4494 return 0;
4496 _ACEOF
4497 if ac_fn_cxx_try_compile "$LINENO"; then :
4498 ac_compiler_gnu=yes
4499 else
4500 ac_compiler_gnu=no
4502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4503 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4507 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4508 if test $ac_compiler_gnu = yes; then
4509 GXX=yes
4510 else
4511 GXX=
4513 ac_test_CXXFLAGS=${CXXFLAGS+set}
4514 ac_save_CXXFLAGS=$CXXFLAGS
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4516 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4517 if ${ac_cv_prog_cxx_g+:} false; then :
4518 $as_echo_n "(cached) " >&6
4519 else
4520 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4521 ac_cxx_werror_flag=yes
4522 ac_cv_prog_cxx_g=no
4523 CXXFLAGS="-g"
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4528 main ()
4532 return 0;
4534 _ACEOF
4535 if ac_fn_cxx_try_compile "$LINENO"; then :
4536 ac_cv_prog_cxx_g=yes
4537 else
4538 CXXFLAGS=""
4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4543 main ()
4547 return 0;
4549 _ACEOF
4550 if ac_fn_cxx_try_compile "$LINENO"; then :
4552 else
4553 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4554 CXXFLAGS="-g"
4555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4556 /* end confdefs.h. */
4559 main ()
4563 return 0;
4565 _ACEOF
4566 if ac_fn_cxx_try_compile "$LINENO"; then :
4567 ac_cv_prog_cxx_g=yes
4569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4574 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4577 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4578 if test "$ac_test_CXXFLAGS" = set; then
4579 CXXFLAGS=$ac_save_CXXFLAGS
4580 elif test $ac_cv_prog_cxx_g = yes; then
4581 if test "$GXX" = yes; then
4582 CXXFLAGS="-g -O2"
4583 else
4584 CXXFLAGS="-g"
4586 else
4587 if test "$GXX" = yes; then
4588 CXXFLAGS="-O2"
4589 else
4590 CXXFLAGS=
4593 ac_ext=c
4594 ac_cpp='$CPP $CPPFLAGS'
4595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4599 if test -n "$ac_tool_prefix"; then
4600 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4601 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4603 $as_echo_n "checking for $ac_word... " >&6; }
4604 if ${ac_cv_prog_CPPBIN+:} false; then :
4605 $as_echo_n "(cached) " >&6
4606 else
4607 if test -n "$CPPBIN"; then
4608 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4609 else
4610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4611 for as_dir in $PATH
4613 IFS=$as_save_IFS
4614 test -z "$as_dir" && as_dir=.
4615 for ac_exec_ext in '' $ac_executable_extensions; do
4616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4617 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4619 break 2
4621 done
4622 done
4623 IFS=$as_save_IFS
4627 CPPBIN=$ac_cv_prog_CPPBIN
4628 if test -n "$CPPBIN"; then
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4630 $as_echo "$CPPBIN" >&6; }
4631 else
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4633 $as_echo "no" >&6; }
4638 if test -z "$ac_cv_prog_CPPBIN"; then
4639 ac_ct_CPPBIN=$CPPBIN
4640 # Extract the first word of "cpp", so it can be a program name with args.
4641 set dummy cpp; ac_word=$2
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4643 $as_echo_n "checking for $ac_word... " >&6; }
4644 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4645 $as_echo_n "(cached) " >&6
4646 else
4647 if test -n "$ac_ct_CPPBIN"; then
4648 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4649 else
4650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4651 for as_dir in $PATH
4653 IFS=$as_save_IFS
4654 test -z "$as_dir" && as_dir=.
4655 for ac_exec_ext in '' $ac_executable_extensions; do
4656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4657 ac_cv_prog_ac_ct_CPPBIN="cpp"
4658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4659 break 2
4661 done
4662 done
4663 IFS=$as_save_IFS
4667 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4668 if test -n "$ac_ct_CPPBIN"; then
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4670 $as_echo "$ac_ct_CPPBIN" >&6; }
4671 else
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4673 $as_echo "no" >&6; }
4676 if test "x$ac_ct_CPPBIN" = x; then
4677 CPPBIN="cpp"
4678 else
4679 case $cross_compiling:$ac_tool_warned in
4680 yes:)
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4683 ac_tool_warned=yes ;;
4684 esac
4685 CPPBIN=$ac_ct_CPPBIN
4687 else
4688 CPPBIN="$ac_cv_prog_CPPBIN"
4692 cat >>confdefs.h <<_ACEOF
4693 #define EXEEXT "$ac_exeext"
4694 _ACEOF
4697 case $host in
4698 *-darwin*)
4699 if test "x$enable_win64" = "xyes"
4700 then
4701 CC="$CC -m64"
4702 CXX="$CXX -m64"
4703 host_cpu="x86_64"
4704 notice_platform="64-bit "
4705 TARGETFLAGS="-m64"
4707 else
4708 CC="$CC -m32"
4709 CXX="$CXX -m32"
4710 host_cpu="i386"
4711 notice_platform="32-bit "
4712 TARGETFLAGS="-m32"
4714 enable_win16=${enable_win16:-yes}
4716 with_fontconfig=${with_fontconfig:-no}
4718 x86_64*)
4719 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4720 then
4721 CC="$CC -m32"
4722 CXX="$CXX -m32"
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4724 $as_echo_n "checking whether $CC works... " >&6; }
4726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4727 /* end confdefs.h. */
4730 main ()
4734 return 0;
4736 _ACEOF
4737 if ac_fn_c_try_link "$LINENO"; then :
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4739 $as_echo "yes" >&6; }
4740 else
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742 $as_echo "no" >&6; }
4743 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4745 rm -f core conftest.err conftest.$ac_objext \
4746 conftest$ac_exeext conftest.$ac_ext
4747 host_cpu="i386"
4748 notice_platform="32-bit "
4749 TARGETFLAGS="-m32"
4751 enable_win16=${enable_win16:-yes}
4752 else
4753 if test "x${GCC}" = "xyes"
4754 then
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4756 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4758 /* end confdefs.h. */
4759 #include <stdarg.h>
4761 main ()
4763 void func(__builtin_ms_va_list *args);
4765 return 0;
4767 _ACEOF
4768 if ac_fn_c_try_compile "$LINENO"; then :
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4770 $as_echo "yes" >&6; }
4771 else
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4773 $as_echo "no" >&6; }
4774 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4778 TARGETFLAGS="-m64"
4782 arm*)
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4784 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4786 /* end confdefs.h. */
4787 int ac_test(int i) { return i; }
4789 main ()
4791 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4793 return 0;
4795 _ACEOF
4796 if ac_fn_c_try_link "$LINENO"; then :
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4798 $as_echo "yes" >&6; }
4799 else
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 $as_echo "no" >&6; }
4802 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4804 rm -f core conftest.err conftest.$ac_objext \
4805 conftest$ac_exeext conftest.$ac_ext
4806 CFLAGS="$CFLAGS -marm"
4807 TARGETFLAGS="-marm"
4810 *-mingw32*|*-cygwin*)
4811 enable_win16=${enable_win16:-no}
4812 CFLAGS="$CFLAGS -D_WIN32"
4814 i[3456789]86*)
4815 enable_win16=${enable_win16:-yes}
4817 esac
4819 enable_win16=${enable_win16:-no}
4820 enable_win64=${enable_win64:-no}
4822 enable_winetest=${enable_winetest:-$enable_tests}
4824 if test -n "$with_wine64"
4825 then
4826 if test "x$enable_win64" = "xyes"
4827 then
4828 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4829 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4831 enable_fonts=${enable_fonts:-no}
4832 enable_server=${enable_server:-no}
4833 elif test "x$enable_win64" = "xyes"
4834 then
4835 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4839 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4840 if ${wine_cv_toolsdir+:} false; then :
4841 $as_echo_n "(cached) " >&6
4842 else
4843 wine_cv_toolsdir="$with_wine_tools"
4844 if test -z "$with_wine_tools"; then
4845 if test "$cross_compiling" = "yes"; then
4846 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4847 elif test -n "$with_wine64"; then
4848 wine_cv_toolsdir="$with_wine64"
4851 if test -z "$wine_cv_toolsdir"; then
4852 wine_makedep=tools/makedep
4853 wine_cv_toolsdir="\$(top_builddir)"
4854 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4855 wine_makedep=$wine_cv_toolsdir/tools/makedep
4856 case "$wine_cv_toolsdir" in
4857 /*) ;;
4858 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4859 esac
4860 enable_tools=${enable_tools:-no}
4861 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4862 else
4863 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4867 $as_echo "$wine_cv_toolsdir" >&6; }
4868 TOOLSDIR=$wine_cv_toolsdir
4870 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4871 then
4872 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4876 for ac_prog in flex
4878 # Extract the first word of "$ac_prog", so it can be a program name with args.
4879 set dummy $ac_prog; ac_word=$2
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4881 $as_echo_n "checking for $ac_word... " >&6; }
4882 if ${ac_cv_prog_FLEX+:} false; then :
4883 $as_echo_n "(cached) " >&6
4884 else
4885 if test -n "$FLEX"; then
4886 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4887 else
4888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4889 for as_dir in $PATH
4891 IFS=$as_save_IFS
4892 test -z "$as_dir" && as_dir=.
4893 for ac_exec_ext in '' $ac_executable_extensions; do
4894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4895 ac_cv_prog_FLEX="$ac_prog"
4896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4897 break 2
4899 done
4900 done
4901 IFS=$as_save_IFS
4905 FLEX=$ac_cv_prog_FLEX
4906 if test -n "$FLEX"; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4908 $as_echo "$FLEX" >&6; }
4909 else
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4911 $as_echo "no" >&6; }
4915 test -n "$FLEX" && break
4916 done
4917 test -n "$FLEX" || FLEX="none"
4919 if test "$FLEX" = "none"
4920 then
4921 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4924 $as_echo_n "checking whether flex is recent enough... " >&6; }
4925 cat >conftest.l <<EOF
4926 %top{
4927 #include "prediluvian.h"
4931 if $FLEX -t conftest.l >/dev/null 2>&5
4932 then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4934 $as_echo "yes" >&6; }
4935 else
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4937 $as_echo "no" >&6; }
4938 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4941 for ac_prog in bison
4943 # Extract the first word of "$ac_prog", so it can be a program name with args.
4944 set dummy $ac_prog; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if ${ac_cv_prog_BISON+:} false; then :
4948 $as_echo_n "(cached) " >&6
4949 else
4950 if test -n "$BISON"; then
4951 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4952 else
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 for as_dir in $PATH
4956 IFS=$as_save_IFS
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4960 ac_cv_prog_BISON="$ac_prog"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 break 2
4964 done
4965 done
4966 IFS=$as_save_IFS
4970 BISON=$ac_cv_prog_BISON
4971 if test -n "$BISON"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4973 $as_echo "$BISON" >&6; }
4974 else
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4980 test -n "$BISON" && break
4981 done
4982 test -n "$BISON" || BISON="none"
4984 if test "$BISON" = "none"
4985 then
4986 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4989 if test -n "$ac_tool_prefix"; then
4990 for ac_prog in ar gar
4992 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4993 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4995 $as_echo_n "checking for $ac_word... " >&6; }
4996 if ${ac_cv_prog_AR+:} false; then :
4997 $as_echo_n "(cached) " >&6
4998 else
4999 if test -n "$AR"; then
5000 ac_cv_prog_AR="$AR" # Let the user override the test.
5001 else
5002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5003 for as_dir in $PATH
5005 IFS=$as_save_IFS
5006 test -z "$as_dir" && as_dir=.
5007 for ac_exec_ext in '' $ac_executable_extensions; do
5008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5009 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 break 2
5013 done
5014 done
5015 IFS=$as_save_IFS
5019 AR=$ac_cv_prog_AR
5020 if test -n "$AR"; then
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5022 $as_echo "$AR" >&6; }
5023 else
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5025 $as_echo "no" >&6; }
5029 test -n "$AR" && break
5030 done
5032 if test -z "$AR"; then
5033 ac_ct_AR=$AR
5034 for ac_prog in ar gar
5036 # Extract the first word of "$ac_prog", so it can be a program name with args.
5037 set dummy $ac_prog; ac_word=$2
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039 $as_echo_n "checking for $ac_word... " >&6; }
5040 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5041 $as_echo_n "(cached) " >&6
5042 else
5043 if test -n "$ac_ct_AR"; then
5044 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5045 else
5046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5047 for as_dir in $PATH
5049 IFS=$as_save_IFS
5050 test -z "$as_dir" && as_dir=.
5051 for ac_exec_ext in '' $ac_executable_extensions; do
5052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5053 ac_cv_prog_ac_ct_AR="$ac_prog"
5054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5055 break 2
5057 done
5058 done
5059 IFS=$as_save_IFS
5063 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5064 if test -n "$ac_ct_AR"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5066 $as_echo "$ac_ct_AR" >&6; }
5067 else
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5073 test -n "$ac_ct_AR" && break
5074 done
5076 if test "x$ac_ct_AR" = x; then
5077 AR="ar"
5078 else
5079 case $cross_compiling:$ac_tool_warned in
5080 yes:)
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5083 ac_tool_warned=yes ;;
5084 esac
5085 AR=$ac_ct_AR
5089 if test -n "$ac_tool_prefix"; then
5090 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5091 set dummy ${ac_tool_prefix}strip; ac_word=$2
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5093 $as_echo_n "checking for $ac_word... " >&6; }
5094 if ${ac_cv_prog_STRIP+:} false; then :
5095 $as_echo_n "(cached) " >&6
5096 else
5097 if test -n "$STRIP"; then
5098 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5099 else
5100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5101 for as_dir in $PATH
5103 IFS=$as_save_IFS
5104 test -z "$as_dir" && as_dir=.
5105 for ac_exec_ext in '' $ac_executable_extensions; do
5106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5107 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5109 break 2
5111 done
5112 done
5113 IFS=$as_save_IFS
5117 STRIP=$ac_cv_prog_STRIP
5118 if test -n "$STRIP"; then
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5120 $as_echo "$STRIP" >&6; }
5121 else
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5123 $as_echo "no" >&6; }
5128 if test -z "$ac_cv_prog_STRIP"; then
5129 ac_ct_STRIP=$STRIP
5130 # Extract the first word of "strip", so it can be a program name with args.
5131 set dummy strip; ac_word=$2
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5133 $as_echo_n "checking for $ac_word... " >&6; }
5134 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5135 $as_echo_n "(cached) " >&6
5136 else
5137 if test -n "$ac_ct_STRIP"; then
5138 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5139 else
5140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5141 for as_dir in $PATH
5143 IFS=$as_save_IFS
5144 test -z "$as_dir" && as_dir=.
5145 for ac_exec_ext in '' $ac_executable_extensions; do
5146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5147 ac_cv_prog_ac_ct_STRIP="strip"
5148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5149 break 2
5151 done
5152 done
5153 IFS=$as_save_IFS
5157 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5158 if test -n "$ac_ct_STRIP"; then
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5160 $as_echo "$ac_ct_STRIP" >&6; }
5161 else
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5163 $as_echo "no" >&6; }
5166 if test "x$ac_ct_STRIP" = x; then
5167 STRIP="strip"
5168 else
5169 case $cross_compiling:$ac_tool_warned in
5170 yes:)
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5173 ac_tool_warned=yes ;;
5174 esac
5175 STRIP=$ac_ct_STRIP
5177 else
5178 STRIP="$ac_cv_prog_STRIP"
5181 ARFLAGS=rc
5183 if test -n "$ac_tool_prefix"; then
5184 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5185 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5187 $as_echo_n "checking for $ac_word... " >&6; }
5188 if ${ac_cv_prog_RANLIB+:} false; then :
5189 $as_echo_n "(cached) " >&6
5190 else
5191 if test -n "$RANLIB"; then
5192 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5193 else
5194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5195 for as_dir in $PATH
5197 IFS=$as_save_IFS
5198 test -z "$as_dir" && as_dir=.
5199 for ac_exec_ext in '' $ac_executable_extensions; do
5200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5201 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5203 break 2
5205 done
5206 done
5207 IFS=$as_save_IFS
5211 RANLIB=$ac_cv_prog_RANLIB
5212 if test -n "$RANLIB"; then
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5214 $as_echo "$RANLIB" >&6; }
5215 else
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5217 $as_echo "no" >&6; }
5222 if test -z "$ac_cv_prog_RANLIB"; then
5223 ac_ct_RANLIB=$RANLIB
5224 # Extract the first word of "ranlib", so it can be a program name with args.
5225 set dummy ranlib; ac_word=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5229 $as_echo_n "(cached) " >&6
5230 else
5231 if test -n "$ac_ct_RANLIB"; then
5232 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5233 else
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 for as_dir in $PATH
5237 IFS=$as_save_IFS
5238 test -z "$as_dir" && as_dir=.
5239 for ac_exec_ext in '' $ac_executable_extensions; do
5240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_prog_ac_ct_RANLIB="ranlib"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5243 break 2
5245 done
5246 done
5247 IFS=$as_save_IFS
5251 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5252 if test -n "$ac_ct_RANLIB"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5254 $as_echo "$ac_ct_RANLIB" >&6; }
5255 else
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5260 if test "x$ac_ct_RANLIB" = x; then
5261 RANLIB=":"
5262 else
5263 case $cross_compiling:$ac_tool_warned in
5264 yes:)
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5266 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5267 ac_tool_warned=yes ;;
5268 esac
5269 RANLIB=$ac_ct_RANLIB
5271 else
5272 RANLIB="$ac_cv_prog_RANLIB"
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5276 $as_echo_n "checking whether ln -s works... " >&6; }
5277 LN_S=$as_ln_s
5278 if test "$LN_S" = "ln -s"; then
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5280 $as_echo "yes" >&6; }
5281 else
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5283 $as_echo "no, using $LN_S" >&6; }
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5287 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5288 if ${ac_cv_path_GREP+:} false; then :
5289 $as_echo_n "(cached) " >&6
5290 else
5291 if test -z "$GREP"; then
5292 ac_path_GREP_found=false
5293 # Loop through the user's path and test for each of PROGNAME-LIST
5294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5295 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5297 IFS=$as_save_IFS
5298 test -z "$as_dir" && as_dir=.
5299 for ac_prog in grep ggrep; do
5300 for ac_exec_ext in '' $ac_executable_extensions; do
5301 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5302 as_fn_executable_p "$ac_path_GREP" || continue
5303 # Check for GNU ac_path_GREP and select it if it is found.
5304 # Check for GNU $ac_path_GREP
5305 case `"$ac_path_GREP" --version 2>&1` in
5306 *GNU*)
5307 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5309 ac_count=0
5310 $as_echo_n 0123456789 >"conftest.in"
5311 while :
5313 cat "conftest.in" "conftest.in" >"conftest.tmp"
5314 mv "conftest.tmp" "conftest.in"
5315 cp "conftest.in" "conftest.nl"
5316 $as_echo 'GREP' >> "conftest.nl"
5317 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5318 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5319 as_fn_arith $ac_count + 1 && ac_count=$as_val
5320 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5321 # Best one so far, save it but keep looking for a better one
5322 ac_cv_path_GREP="$ac_path_GREP"
5323 ac_path_GREP_max=$ac_count
5325 # 10*(2^10) chars as input seems more than enough
5326 test $ac_count -gt 10 && break
5327 done
5328 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5329 esac
5331 $ac_path_GREP_found && break 3
5332 done
5333 done
5334 done
5335 IFS=$as_save_IFS
5336 if test -z "$ac_cv_path_GREP"; then
5337 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5339 else
5340 ac_cv_path_GREP=$GREP
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5345 $as_echo "$ac_cv_path_GREP" >&6; }
5346 GREP="$ac_cv_path_GREP"
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5350 $as_echo_n "checking for egrep... " >&6; }
5351 if ${ac_cv_path_EGREP+:} false; then :
5352 $as_echo_n "(cached) " >&6
5353 else
5354 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5355 then ac_cv_path_EGREP="$GREP -E"
5356 else
5357 if test -z "$EGREP"; then
5358 ac_path_EGREP_found=false
5359 # Loop through the user's path and test for each of PROGNAME-LIST
5360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5361 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5363 IFS=$as_save_IFS
5364 test -z "$as_dir" && as_dir=.
5365 for ac_prog in egrep; do
5366 for ac_exec_ext in '' $ac_executable_extensions; do
5367 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5368 as_fn_executable_p "$ac_path_EGREP" || continue
5369 # Check for GNU ac_path_EGREP and select it if it is found.
5370 # Check for GNU $ac_path_EGREP
5371 case `"$ac_path_EGREP" --version 2>&1` in
5372 *GNU*)
5373 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5375 ac_count=0
5376 $as_echo_n 0123456789 >"conftest.in"
5377 while :
5379 cat "conftest.in" "conftest.in" >"conftest.tmp"
5380 mv "conftest.tmp" "conftest.in"
5381 cp "conftest.in" "conftest.nl"
5382 $as_echo 'EGREP' >> "conftest.nl"
5383 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5384 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5385 as_fn_arith $ac_count + 1 && ac_count=$as_val
5386 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5387 # Best one so far, save it but keep looking for a better one
5388 ac_cv_path_EGREP="$ac_path_EGREP"
5389 ac_path_EGREP_max=$ac_count
5391 # 10*(2^10) chars as input seems more than enough
5392 test $ac_count -gt 10 && break
5393 done
5394 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5395 esac
5397 $ac_path_EGREP_found && break 3
5398 done
5399 done
5400 done
5401 IFS=$as_save_IFS
5402 if test -z "$ac_cv_path_EGREP"; then
5403 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5405 else
5406 ac_cv_path_EGREP=$EGREP
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5412 $as_echo "$ac_cv_path_EGREP" >&6; }
5413 EGREP="$ac_cv_path_EGREP"
5416 # Extract the first word of "ldconfig", so it can be a program name with args.
5417 set dummy ldconfig; ac_word=$2
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5419 $as_echo_n "checking for $ac_word... " >&6; }
5420 if ${ac_cv_path_LDCONFIG+:} false; then :
5421 $as_echo_n "(cached) " >&6
5422 else
5423 case $LDCONFIG in
5424 [\\/]* | ?:[\\/]*)
5425 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5429 for as_dir in /sbin /usr/sbin $PATH
5431 IFS=$as_save_IFS
5432 test -z "$as_dir" && as_dir=.
5433 for ac_exec_ext in '' $ac_executable_extensions; do
5434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5435 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 break 2
5439 done
5440 done
5441 IFS=$as_save_IFS
5443 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5445 esac
5447 LDCONFIG=$ac_cv_path_LDCONFIG
5448 if test -n "$LDCONFIG"; then
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5450 $as_echo "$LDCONFIG" >&6; }
5451 else
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5453 $as_echo "no" >&6; }
5457 for ac_prog in msgfmt
5459 # Extract the first word of "$ac_prog", so it can be a program name with args.
5460 set dummy $ac_prog; ac_word=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if ${ac_cv_prog_MSGFMT+:} false; then :
5464 $as_echo_n "(cached) " >&6
5465 else
5466 if test -n "$MSGFMT"; then
5467 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5468 else
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 for as_dir in $PATH
5472 IFS=$as_save_IFS
5473 test -z "$as_dir" && as_dir=.
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_prog_MSGFMT="$ac_prog"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5478 break 2
5480 done
5481 done
5482 IFS=$as_save_IFS
5486 MSGFMT=$ac_cv_prog_MSGFMT
5487 if test -n "$MSGFMT"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5489 $as_echo "$MSGFMT" >&6; }
5490 else
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5496 test -n "$MSGFMT" && break
5497 done
5498 test -n "$MSGFMT" || MSGFMT="false"
5500 if ${ac_tool_prefix+:} false; then :
5501 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5502 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5504 $as_echo_n "checking for $ac_word... " >&6; }
5505 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5506 $as_echo_n "(cached) " >&6
5507 else
5508 if test -n "$PKG_CONFIG"; then
5509 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5510 else
5511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5512 for as_dir in $PATH
5514 IFS=$as_save_IFS
5515 test -z "$as_dir" && as_dir=.
5516 for ac_exec_ext in '' $ac_executable_extensions; do
5517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5518 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5520 break 2
5522 done
5523 done
5524 IFS=$as_save_IFS
5528 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5529 if test -n "$PKG_CONFIG"; then
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5531 $as_echo "$PKG_CONFIG" >&6; }
5532 else
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5534 $as_echo "no" >&6; }
5539 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5540 if test "x$cross_compiling" = xyes; then :
5542 else
5543 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5544 # Extract the first word of "pkg-config", so it can be a program name with args.
5545 set dummy pkg-config; ac_word=$2
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547 $as_echo_n "checking for $ac_word... " >&6; }
5548 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5549 $as_echo_n "(cached) " >&6
5550 else
5551 if test -n "$PKG_CONFIG"; then
5552 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5553 else
5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5555 for as_dir in $PATH
5557 IFS=$as_save_IFS
5558 test -z "$as_dir" && as_dir=.
5559 for ac_exec_ext in '' $ac_executable_extensions; do
5560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5561 ac_cv_prog_PKG_CONFIG="pkg-config"
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5563 break 2
5565 done
5566 done
5567 IFS=$as_save_IFS
5571 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5572 if test -n "$PKG_CONFIG"; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5574 $as_echo "$PKG_CONFIG" >&6; }
5575 else
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5577 $as_echo "no" >&6; }
5582 else
5583 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5586 if test "x$enable_maintainer_mode" != "xyes"
5587 then
5588 FONTFORGE=""
5589 RSVG=""
5590 CONVERT=""
5591 ICOTOOL=""
5592 else
5593 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5594 for ac_prog in fontforge
5596 # Extract the first word of "$ac_prog", so it can be a program name with args.
5597 set dummy $ac_prog; ac_word=$2
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5599 $as_echo_n "checking for $ac_word... " >&6; }
5600 if ${ac_cv_prog_FONTFORGE+:} false; then :
5601 $as_echo_n "(cached) " >&6
5602 else
5603 if test -n "$FONTFORGE"; then
5604 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5605 else
5606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5607 for as_dir in $PATH
5609 IFS=$as_save_IFS
5610 test -z "$as_dir" && as_dir=.
5611 for ac_exec_ext in '' $ac_executable_extensions; do
5612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5613 ac_cv_prog_FONTFORGE="$ac_prog"
5614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5615 break 2
5617 done
5618 done
5619 IFS=$as_save_IFS
5623 FONTFORGE=$ac_cv_prog_FONTFORGE
5624 if test -n "$FONTFORGE"; then
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5626 $as_echo "$FONTFORGE" >&6; }
5627 else
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5629 $as_echo "no" >&6; }
5633 test -n "$FONTFORGE" && break
5634 done
5635 test -n "$FONTFORGE" || FONTFORGE="false"
5637 for ac_prog in rsvg
5639 # Extract the first word of "$ac_prog", so it can be a program name with args.
5640 set dummy $ac_prog; ac_word=$2
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5642 $as_echo_n "checking for $ac_word... " >&6; }
5643 if ${ac_cv_prog_RSVG+:} false; then :
5644 $as_echo_n "(cached) " >&6
5645 else
5646 if test -n "$RSVG"; then
5647 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5648 else
5649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5650 for as_dir in $PATH
5652 IFS=$as_save_IFS
5653 test -z "$as_dir" && as_dir=.
5654 for ac_exec_ext in '' $ac_executable_extensions; do
5655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5656 ac_cv_prog_RSVG="$ac_prog"
5657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5658 break 2
5660 done
5661 done
5662 IFS=$as_save_IFS
5666 RSVG=$ac_cv_prog_RSVG
5667 if test -n "$RSVG"; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5669 $as_echo "$RSVG" >&6; }
5670 else
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5672 $as_echo "no" >&6; }
5676 test -n "$RSVG" && break
5677 done
5678 test -n "$RSVG" || RSVG="false"
5680 for ac_prog in convert
5682 # Extract the first word of "$ac_prog", so it can be a program name with args.
5683 set dummy $ac_prog; ac_word=$2
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 $as_echo_n "checking for $ac_word... " >&6; }
5686 if ${ac_cv_prog_CONVERT+:} false; then :
5687 $as_echo_n "(cached) " >&6
5688 else
5689 if test -n "$CONVERT"; then
5690 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5691 else
5692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5693 for as_dir in $PATH
5695 IFS=$as_save_IFS
5696 test -z "$as_dir" && as_dir=.
5697 for ac_exec_ext in '' $ac_executable_extensions; do
5698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5699 ac_cv_prog_CONVERT="$ac_prog"
5700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5701 break 2
5703 done
5704 done
5705 IFS=$as_save_IFS
5709 CONVERT=$ac_cv_prog_CONVERT
5710 if test -n "$CONVERT"; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5712 $as_echo "$CONVERT" >&6; }
5713 else
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5719 test -n "$CONVERT" && break
5720 done
5721 test -n "$CONVERT" || CONVERT="false"
5723 for ac_prog in icotool
5725 # Extract the first word of "$ac_prog", so it can be a program name with args.
5726 set dummy $ac_prog; ac_word=$2
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5728 $as_echo_n "checking for $ac_word... " >&6; }
5729 if ${ac_cv_prog_ICOTOOL+:} false; then :
5730 $as_echo_n "(cached) " >&6
5731 else
5732 if test -n "$ICOTOOL"; then
5733 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5734 else
5735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5736 for as_dir in $PATH
5738 IFS=$as_save_IFS
5739 test -z "$as_dir" && as_dir=.
5740 for ac_exec_ext in '' $ac_executable_extensions; do
5741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5742 ac_cv_prog_ICOTOOL="$ac_prog"
5743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5744 break 2
5746 done
5747 done
5748 IFS=$as_save_IFS
5752 ICOTOOL=$ac_cv_prog_ICOTOOL
5753 if test -n "$ICOTOOL"; then
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5755 $as_echo "$ICOTOOL" >&6; }
5756 else
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5758 $as_echo "no" >&6; }
5762 test -n "$ICOTOOL" && break
5763 done
5764 test -n "$ICOTOOL" || ICOTOOL="false"
5766 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5767 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5769 if test "$CONVERT" = false
5770 then
5771 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5772 else
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5774 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5775 convert_version=`convert --version | head -n1`
5776 if test "x$convert_version" != "x"
5777 then
5778 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5779 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5780 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5781 then
5782 CONVERT=false
5785 if test "$CONVERT" = false
5786 then
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5788 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5789 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5790 else
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5792 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5796 if test "$ICOTOOL" = false
5797 then
5798 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5799 else
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5801 $as_echo_n "checking for recent enough icotool... " >&6; }
5802 icotool_version=`icotool --version | head -n1`
5803 if test "x$icotool_version" != "x"
5804 then
5805 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5806 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5807 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5808 then
5809 ICOTOOL=false
5810 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5813 if test "$ICOTOOL" = false
5814 then
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5816 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5817 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5818 else
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5820 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5824 with_gettext=yes
5825 with_gettextpo=yes
5826 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5829 test "x$with_gettext" != xno || MSGFMT=false
5830 if test "$MSGFMT" != "false"
5831 then
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5833 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5834 cat >conftest.po <<EOF
5835 # comment
5836 msgctxt "ctxt"
5837 msgid "id"
5838 msgstr "str"
5840 if $MSGFMT -o /dev/null conftest.po 2>&5
5841 then
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5843 $as_echo "yes" >&6; }
5844 else
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5846 $as_echo "no" >&6; }
5847 MSGFMT=false
5850 if test "$MSGFMT" = false; then :
5851 case "x$with_gettext" in
5852 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5853 xno) ;;
5854 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5855 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5856 esac
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5861 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5862 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5863 $as_echo_n "(cached) " >&6
5864 else
5865 ac_check_lib_save_LIBS=$LIBS
5866 LIBS="-li386 $LIBS"
5867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5868 /* end confdefs.h. */
5870 /* Override any GCC internal prototype to avoid an error.
5871 Use char because int might match the return type of a GCC
5872 builtin and then its argument prototype would still apply. */
5873 #ifdef __cplusplus
5874 extern "C"
5875 #endif
5876 char i386_set_ldt ();
5878 main ()
5880 return i386_set_ldt ();
5882 return 0;
5884 _ACEOF
5885 if ac_fn_c_try_link "$LINENO"; then :
5886 ac_cv_lib_i386_i386_set_ldt=yes
5887 else
5888 ac_cv_lib_i386_i386_set_ldt=no
5890 rm -f core conftest.err conftest.$ac_objext \
5891 conftest$ac_exeext conftest.$ac_ext
5892 LIBS=$ac_check_lib_save_LIBS
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5895 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5896 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5897 cat >>confdefs.h <<_ACEOF
5898 #define HAVE_LIBI386 1
5899 _ACEOF
5901 LIBS="-li386 $LIBS"
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5906 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5907 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5908 $as_echo_n "(cached) " >&6
5909 else
5910 ac_check_lib_save_LIBS=$LIBS
5911 LIBS="-lossaudio $LIBS"
5912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5913 /* end confdefs.h. */
5915 /* Override any GCC internal prototype to avoid an error.
5916 Use char because int might match the return type of a GCC
5917 builtin and then its argument prototype would still apply. */
5918 #ifdef __cplusplus
5919 extern "C"
5920 #endif
5921 char _oss_ioctl ();
5923 main ()
5925 return _oss_ioctl ();
5927 return 0;
5929 _ACEOF
5930 if ac_fn_c_try_link "$LINENO"; then :
5931 ac_cv_lib_ossaudio__oss_ioctl=yes
5932 else
5933 ac_cv_lib_ossaudio__oss_ioctl=no
5935 rm -f core conftest.err conftest.$ac_objext \
5936 conftest$ac_exeext conftest.$ac_ext
5937 LIBS=$ac_check_lib_save_LIBS
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5940 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5941 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5942 cat >>confdefs.h <<_ACEOF
5943 #define HAVE_LIBOSSAUDIO 1
5944 _ACEOF
5946 LIBS="-lossaudio $LIBS"
5951 OPENGL_LIBS=""
5955 # Check whether --enable-largefile was given.
5956 if test "${enable_largefile+set}" = set; then :
5957 enableval=$enable_largefile;
5960 if test "$enable_largefile" != no; then
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5963 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5964 if ${ac_cv_sys_largefile_CC+:} false; then :
5965 $as_echo_n "(cached) " >&6
5966 else
5967 ac_cv_sys_largefile_CC=no
5968 if test "$GCC" != yes; then
5969 ac_save_CC=$CC
5970 while :; do
5971 # IRIX 6.2 and later do not support large files by default,
5972 # so use the C compiler's -n32 option if that helps.
5973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5974 /* end confdefs.h. */
5975 #include <sys/types.h>
5976 /* Check that off_t can represent 2**63 - 1 correctly.
5977 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5978 since some C++ compilers masquerading as C compilers
5979 incorrectly reject 9223372036854775807. */
5980 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5981 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5982 && LARGE_OFF_T % 2147483647 == 1)
5983 ? 1 : -1];
5985 main ()
5989 return 0;
5991 _ACEOF
5992 if ac_fn_c_try_compile "$LINENO"; then :
5993 break
5995 rm -f core conftest.err conftest.$ac_objext
5996 CC="$CC -n32"
5997 if ac_fn_c_try_compile "$LINENO"; then :
5998 ac_cv_sys_largefile_CC=' -n32'; break
6000 rm -f core conftest.err conftest.$ac_objext
6001 break
6002 done
6003 CC=$ac_save_CC
6004 rm -f conftest.$ac_ext
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6008 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6009 if test "$ac_cv_sys_largefile_CC" != no; then
6010 CC=$CC$ac_cv_sys_largefile_CC
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6014 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6015 if ${ac_cv_sys_file_offset_bits+:} false; then :
6016 $as_echo_n "(cached) " >&6
6017 else
6018 while :; do
6019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6020 /* end confdefs.h. */
6021 #include <sys/types.h>
6022 /* Check that off_t can represent 2**63 - 1 correctly.
6023 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6024 since some C++ compilers masquerading as C compilers
6025 incorrectly reject 9223372036854775807. */
6026 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6027 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6028 && LARGE_OFF_T % 2147483647 == 1)
6029 ? 1 : -1];
6031 main ()
6035 return 0;
6037 _ACEOF
6038 if ac_fn_c_try_compile "$LINENO"; then :
6039 ac_cv_sys_file_offset_bits=no; break
6041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6043 /* end confdefs.h. */
6044 #define _FILE_OFFSET_BITS 64
6045 #include <sys/types.h>
6046 /* Check that off_t can represent 2**63 - 1 correctly.
6047 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6048 since some C++ compilers masquerading as C compilers
6049 incorrectly reject 9223372036854775807. */
6050 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6051 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6052 && LARGE_OFF_T % 2147483647 == 1)
6053 ? 1 : -1];
6055 main ()
6059 return 0;
6061 _ACEOF
6062 if ac_fn_c_try_compile "$LINENO"; then :
6063 ac_cv_sys_file_offset_bits=64; break
6065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6066 ac_cv_sys_file_offset_bits=unknown
6067 break
6068 done
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6071 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6072 case $ac_cv_sys_file_offset_bits in #(
6073 no | unknown) ;;
6075 cat >>confdefs.h <<_ACEOF
6076 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6077 _ACEOF
6079 esac
6080 rm -rf conftest*
6081 if test $ac_cv_sys_file_offset_bits = unknown; then
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6083 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6084 if ${ac_cv_sys_large_files+:} false; then :
6085 $as_echo_n "(cached) " >&6
6086 else
6087 while :; do
6088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6089 /* end confdefs.h. */
6090 #include <sys/types.h>
6091 /* Check that off_t can represent 2**63 - 1 correctly.
6092 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6093 since some C++ compilers masquerading as C compilers
6094 incorrectly reject 9223372036854775807. */
6095 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6096 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6097 && LARGE_OFF_T % 2147483647 == 1)
6098 ? 1 : -1];
6100 main ()
6104 return 0;
6106 _ACEOF
6107 if ac_fn_c_try_compile "$LINENO"; then :
6108 ac_cv_sys_large_files=no; break
6110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6112 /* end confdefs.h. */
6113 #define _LARGE_FILES 1
6114 #include <sys/types.h>
6115 /* Check that off_t can represent 2**63 - 1 correctly.
6116 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6117 since some C++ compilers masquerading as C compilers
6118 incorrectly reject 9223372036854775807. */
6119 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6120 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6121 && LARGE_OFF_T % 2147483647 == 1)
6122 ? 1 : -1];
6124 main ()
6128 return 0;
6130 _ACEOF
6131 if ac_fn_c_try_compile "$LINENO"; then :
6132 ac_cv_sys_large_files=1; break
6134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6135 ac_cv_sys_large_files=unknown
6136 break
6137 done
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6140 $as_echo "$ac_cv_sys_large_files" >&6; }
6141 case $ac_cv_sys_large_files in #(
6142 no | unknown) ;;
6144 cat >>confdefs.h <<_ACEOF
6145 #define _LARGE_FILES $ac_cv_sys_large_files
6146 _ACEOF
6148 esac
6149 rm -rf conftest*
6156 ac_ext=c
6157 ac_cpp='$CPP $CPPFLAGS'
6158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6162 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6163 # On Suns, sometimes $CPP names a directory.
6164 if test -n "$CPP" && test -d "$CPP"; then
6165 CPP=
6167 if test -z "$CPP"; then
6168 if ${ac_cv_prog_CPP+:} false; then :
6169 $as_echo_n "(cached) " >&6
6170 else
6171 # Double quotes because CPP needs to be expanded
6172 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6174 ac_preproc_ok=false
6175 for ac_c_preproc_warn_flag in '' yes
6177 # Use a header file that comes with gcc, so configuring glibc
6178 # with a fresh cross-compiler works.
6179 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6180 # <limits.h> exists even on freestanding compilers.
6181 # On the NeXT, cc -E runs the code through the compiler's parser,
6182 # not just through cpp. "Syntax error" is here to catch this case.
6183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6184 /* end confdefs.h. */
6185 #ifdef __STDC__
6186 # include <limits.h>
6187 #else
6188 # include <assert.h>
6189 #endif
6190 Syntax error
6191 _ACEOF
6192 if ac_fn_c_try_cpp "$LINENO"; then :
6194 else
6195 # Broken: fails on valid input.
6196 continue
6198 rm -f conftest.err conftest.i conftest.$ac_ext
6200 # OK, works on sane cases. Now check whether nonexistent headers
6201 # can be detected and how.
6202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6203 /* end confdefs.h. */
6204 #include <ac_nonexistent.h>
6205 _ACEOF
6206 if ac_fn_c_try_cpp "$LINENO"; then :
6207 # Broken: success on invalid input.
6208 continue
6209 else
6210 # Passes both tests.
6211 ac_preproc_ok=:
6212 break
6214 rm -f conftest.err conftest.i conftest.$ac_ext
6216 done
6217 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6218 rm -f conftest.i conftest.err conftest.$ac_ext
6219 if $ac_preproc_ok; then :
6220 break
6223 done
6224 ac_cv_prog_CPP=$CPP
6227 CPP=$ac_cv_prog_CPP
6228 else
6229 ac_cv_prog_CPP=$CPP
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6232 $as_echo "$CPP" >&6; }
6233 ac_preproc_ok=false
6234 for ac_c_preproc_warn_flag in '' yes
6236 # Use a header file that comes with gcc, so configuring glibc
6237 # with a fresh cross-compiler works.
6238 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6239 # <limits.h> exists even on freestanding compilers.
6240 # On the NeXT, cc -E runs the code through the compiler's parser,
6241 # not just through cpp. "Syntax error" is here to catch this case.
6242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6244 #ifdef __STDC__
6245 # include <limits.h>
6246 #else
6247 # include <assert.h>
6248 #endif
6249 Syntax error
6250 _ACEOF
6251 if ac_fn_c_try_cpp "$LINENO"; then :
6253 else
6254 # Broken: fails on valid input.
6255 continue
6257 rm -f conftest.err conftest.i conftest.$ac_ext
6259 # OK, works on sane cases. Now check whether nonexistent headers
6260 # can be detected and how.
6261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6262 /* end confdefs.h. */
6263 #include <ac_nonexistent.h>
6264 _ACEOF
6265 if ac_fn_c_try_cpp "$LINENO"; then :
6266 # Broken: success on invalid input.
6267 continue
6268 else
6269 # Passes both tests.
6270 ac_preproc_ok=:
6271 break
6273 rm -f conftest.err conftest.i conftest.$ac_ext
6275 done
6276 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6277 rm -f conftest.i conftest.err conftest.$ac_ext
6278 if $ac_preproc_ok; then :
6280 else
6281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6283 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6284 See \`config.log' for more details" "$LINENO" 5; }
6287 ac_ext=c
6288 ac_cpp='$CPP $CPPFLAGS'
6289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6295 $as_echo_n "checking for ANSI C header files... " >&6; }
6296 if ${ac_cv_header_stdc+:} false; then :
6297 $as_echo_n "(cached) " >&6
6298 else
6299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6300 /* end confdefs.h. */
6301 #include <stdlib.h>
6302 #include <stdarg.h>
6303 #include <string.h>
6304 #include <float.h>
6307 main ()
6311 return 0;
6313 _ACEOF
6314 if ac_fn_c_try_compile "$LINENO"; then :
6315 ac_cv_header_stdc=yes
6316 else
6317 ac_cv_header_stdc=no
6319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6321 if test $ac_cv_header_stdc = yes; then
6322 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6324 /* end confdefs.h. */
6325 #include <string.h>
6327 _ACEOF
6328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6329 $EGREP "memchr" >/dev/null 2>&1; then :
6331 else
6332 ac_cv_header_stdc=no
6334 rm -f conftest*
6338 if test $ac_cv_header_stdc = yes; then
6339 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6342 #include <stdlib.h>
6344 _ACEOF
6345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6346 $EGREP "free" >/dev/null 2>&1; then :
6348 else
6349 ac_cv_header_stdc=no
6351 rm -f conftest*
6355 if test $ac_cv_header_stdc = yes; then
6356 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6357 if test "$cross_compiling" = yes; then :
6359 else
6360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6361 /* end confdefs.h. */
6362 #include <ctype.h>
6363 #include <stdlib.h>
6364 #if ((' ' & 0x0FF) == 0x020)
6365 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6366 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6367 #else
6368 # define ISLOWER(c) \
6369 (('a' <= (c) && (c) <= 'i') \
6370 || ('j' <= (c) && (c) <= 'r') \
6371 || ('s' <= (c) && (c) <= 'z'))
6372 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6373 #endif
6375 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6377 main ()
6379 int i;
6380 for (i = 0; i < 256; i++)
6381 if (XOR (islower (i), ISLOWER (i))
6382 || toupper (i) != TOUPPER (i))
6383 return 2;
6384 return 0;
6386 _ACEOF
6387 if ac_fn_c_try_run "$LINENO"; then :
6389 else
6390 ac_cv_header_stdc=no
6392 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6393 conftest.$ac_objext conftest.beam conftest.$ac_ext
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6399 $as_echo "$ac_cv_header_stdc" >&6; }
6400 if test $ac_cv_header_stdc = yes; then
6402 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6406 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6407 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6408 inttypes.h stdint.h unistd.h
6409 do :
6410 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6411 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6413 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6414 cat >>confdefs.h <<_ACEOF
6415 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6416 _ACEOF
6420 done
6423 for ac_header in \
6424 AL/al.h \
6425 ApplicationServices/ApplicationServices.h \
6426 AudioToolbox/AudioConverter.h \
6427 AudioUnit/AudioUnit.h \
6428 AudioUnit/AudioComponent.h \
6429 CL/cl.h \
6430 Carbon/Carbon.h \
6431 CoreAudio/CoreAudio.h \
6432 CoreServices/CoreServices.h \
6433 DiskArbitration/DiskArbitration.h \
6434 IOKit/IOKitLib.h \
6435 IOKit/hid/IOHIDLib.h \
6436 OpenAL/al.h \
6437 OpenCL/opencl.h \
6438 QuickTime/ImageCompression.h \
6439 Security/Security.h \
6440 alias.h \
6441 alsa/asoundlib.h \
6442 arpa/inet.h \
6443 arpa/nameser.h \
6444 asm/types.h \
6445 asm/user.h \
6446 curses.h \
6447 direct.h \
6448 dirent.h \
6449 dlfcn.h \
6450 elf.h \
6451 float.h \
6452 fnmatch.h \
6453 getopt.h \
6454 gettext-po.h \
6455 grp.h \
6456 gsm.h \
6457 gsm/gsm.h \
6458 ieeefp.h \
6459 inet/mib2.h \
6460 io.h \
6461 kstat.h \
6462 lber.h \
6463 ldap.h \
6464 libproc.h \
6465 link.h \
6466 linux/cdrom.h \
6467 linux/compiler.h \
6468 linux/filter.h \
6469 linux/hdreg.h \
6470 linux/input.h \
6471 linux/ioctl.h \
6472 linux/joystick.h \
6473 linux/major.h \
6474 linux/param.h \
6475 linux/serial.h \
6476 linux/types.h \
6477 linux/ucdrom.h \
6478 lwp.h \
6479 mach-o/nlist.h \
6480 mach-o/loader.h \
6481 mach/mach.h \
6482 mach/machine.h \
6483 machine/cpu.h \
6484 machine/limits.h \
6485 machine/sysarch.h \
6486 mntent.h \
6487 ncurses.h \
6488 netdb.h \
6489 netinet/in.h \
6490 netinet/in_systm.h \
6491 netinet/tcp.h \
6492 netinet/tcp_fsm.h \
6493 poll.h \
6494 port.h \
6495 process.h \
6496 pthread.h \
6497 pwd.h \
6498 sched.h \
6499 scsi/scsi.h \
6500 scsi/scsi_ioctl.h \
6501 scsi/sg.h \
6502 stdbool.h \
6503 stdint.h \
6504 stropts.h \
6505 sys/asoundlib.h \
6506 sys/attr.h \
6507 sys/cdio.h \
6508 sys/elf32.h \
6509 sys/epoll.h \
6510 sys/event.h \
6511 sys/exec_elf.h \
6512 sys/filio.h \
6513 sys/inotify.h \
6514 sys/ioctl.h \
6515 sys/ipc.h \
6516 sys/limits.h \
6517 sys/link.h \
6518 sys/mman.h \
6519 sys/modem.h \
6520 sys/msg.h \
6521 sys/mtio.h \
6522 sys/param.h \
6523 sys/poll.h \
6524 sys/prctl.h \
6525 sys/protosw.h \
6526 sys/ptrace.h \
6527 sys/queue.h \
6528 sys/resource.h \
6529 sys/scsiio.h \
6530 sys/shm.h \
6531 sys/signal.h \
6532 sys/socket.h \
6533 sys/socketvar.h \
6534 sys/sockio.h \
6535 sys/statvfs.h \
6536 sys/strtio.h \
6537 sys/syscall.h \
6538 sys/tihdr.h \
6539 sys/time.h \
6540 sys/timeout.h \
6541 sys/times.h \
6542 sys/uio.h \
6543 sys/user.h \
6544 sys/utsname.h \
6545 sys/vm86.h \
6546 sys/wait.h \
6547 syscall.h \
6548 termios.h \
6549 unistd.h \
6550 utime.h \
6551 valgrind/memcheck.h \
6552 valgrind/valgrind.h \
6553 zlib.h
6555 do :
6556 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6557 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6558 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6559 cat >>confdefs.h <<_ACEOF
6560 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6561 _ACEOF
6565 done
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6568 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6569 if ${ac_cv_header_stat_broken+:} false; then :
6570 $as_echo_n "(cached) " >&6
6571 else
6572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6573 /* end confdefs.h. */
6574 #include <sys/types.h>
6575 #include <sys/stat.h>
6577 #if defined S_ISBLK && defined S_IFDIR
6578 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6579 #endif
6581 #if defined S_ISBLK && defined S_IFCHR
6582 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6583 #endif
6585 #if defined S_ISLNK && defined S_IFREG
6586 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6587 #endif
6589 #if defined S_ISSOCK && defined S_IFREG
6590 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6591 #endif
6593 _ACEOF
6594 if ac_fn_c_try_compile "$LINENO"; then :
6595 ac_cv_header_stat_broken=no
6596 else
6597 ac_cv_header_stat_broken=yes
6599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6602 $as_echo "$ac_cv_header_stat_broken" >&6; }
6603 if test $ac_cv_header_stat_broken = yes; then
6605 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6611 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6612 do :
6613 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6614 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6615 #ifdef HAVE_SYS_PARAM_H
6616 # include <sys/param.h>
6617 #endif
6619 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6620 cat >>confdefs.h <<_ACEOF
6621 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6622 _ACEOF
6626 done
6629 for ac_header in \
6630 netinet/ip.h \
6631 net/if.h \
6632 net/if_arp.h \
6633 net/if_dl.h \
6634 net/if_types.h \
6635 net/route.h \
6636 netinet/if_ether.h \
6637 netinet/if_inarp.h \
6638 netinet/in_pcb.h \
6639 netinet/ip_icmp.h \
6640 netinet/ip_var.h \
6641 netinet/udp.h \
6642 netipx/ipx.h \
6643 sys/un.h \
6645 do :
6646 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6647 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6648 #ifdef HAVE_SYS_SOCKET_H
6649 # include <sys/socket.h>
6650 #endif
6651 #ifdef HAVE_SYS_SOCKETVAR_H
6652 # include <sys/socketvar.h>
6653 #endif
6654 #ifdef HAVE_NET_ROUTE_H
6655 # include <net/route.h>
6656 #endif
6657 #ifdef HAVE_NETINET_IN_H
6658 # include <netinet/in.h>
6659 #endif
6660 #ifdef HAVE_NETINET_IN_SYSTM_H
6661 # include <netinet/in_systm.h>
6662 #endif
6663 #ifdef HAVE_NET_IF_H
6664 # include <net/if.h>
6665 #endif
6666 #ifdef HAVE_NETINET_IP_H
6667 # include <netinet/ip.h>
6668 #endif
6670 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6671 cat >>confdefs.h <<_ACEOF
6672 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6673 _ACEOF
6677 done
6680 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6681 do :
6682 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6683 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6684 #ifdef HAVE_ALIAS_H
6685 # include <alias.h>
6686 #endif
6687 #ifdef HAVE_SYS_SOCKET_H
6688 # include <sys/socket.h>
6689 #endif
6690 #ifdef HAVE_SYS_SOCKETVAR_H
6691 # include <sys/socketvar.h>
6692 #endif
6693 #ifdef HAVE_SYS_TIMEOUT_H
6694 # include <sys/timeout.h>
6695 #endif
6696 #ifdef HAVE_NETINET_IN_H
6697 # include <netinet/in.h>
6698 #endif
6699 #ifdef HAVE_NETINET_IN_SYSTM_H
6700 # include <netinet/in_systm.h>
6701 #endif
6702 #ifdef HAVE_NETINET_IP_H
6703 # include <netinet/ip.h>
6704 #endif
6705 #ifdef HAVE_NETINET_IP_VAR_H
6706 # include <netinet/ip_var.h>
6707 #endif
6708 #ifdef HAVE_NETINET_IP_ICMP_H
6709 # include <netinet/ip_icmp.h>
6710 #endif
6711 #ifdef HAVE_NETINET_UDP_H
6712 # include <netinet/udp.h>
6713 #endif
6714 #ifdef HAVE_NETINET_TCP_H
6715 # include <netinet/tcp.h>
6716 #endif
6717 #ifdef HAVE_NETINET_TCP_TIMER_H
6718 #include <netinet/tcp_timer.h>
6719 #endif
6721 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6722 cat >>confdefs.h <<_ACEOF
6723 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6724 _ACEOF
6728 done
6731 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6732 do :
6733 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6734 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6735 #ifdef HAVE_ASM_TYPES_H
6736 # include <asm/types.h>
6737 #endif
6738 #ifdef HAVE_SYS_SOCKET_H
6739 # include <sys/socket.h>
6740 #endif
6741 #ifdef HAVE_LINUX_TYPES_H
6742 # include <linux/types.h>
6743 #endif
6745 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6746 cat >>confdefs.h <<_ACEOF
6747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6748 _ACEOF
6752 done
6755 for ac_header in mach-o/dyld_images.h
6756 do :
6757 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6758 # include <stdbool.h>
6759 #endif
6760 #ifdef HAVE_STDINT_H
6761 # include <stdint.h>
6762 #endif
6764 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6765 cat >>confdefs.h <<_ACEOF
6766 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6767 _ACEOF
6771 done
6774 for ac_header in resolv.h
6775 do :
6776 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6777 #ifdef HAVE_SYS_SOCKET_H
6778 # include <sys/socket.h>
6779 #endif
6780 #ifdef HAVE_NETINET_IN_H
6781 # include <netinet/in.h>
6782 #endif
6783 #ifdef HAVE_ARPA_NAMESER_H
6784 # include <arpa/nameser.h>
6785 #endif
6787 if test "x$ac_cv_header_resolv_h" = xyes; then :
6788 cat >>confdefs.h <<_ACEOF
6789 #define HAVE_RESOLV_H 1
6790 _ACEOF
6794 done
6797 for ac_header in ifaddrs.h
6798 do :
6799 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6801 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6802 cat >>confdefs.h <<_ACEOF
6803 #define HAVE_IFADDRS_H 1
6804 _ACEOF
6808 done
6811 for ac_header in ucontext.h
6812 do :
6813 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6815 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6816 cat >>confdefs.h <<_ACEOF
6817 #define HAVE_UCONTEXT_H 1
6818 _ACEOF
6822 done
6825 for ac_header in sys/thr.h
6826 do :
6827 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6828 #ifdef HAVE_UCONTEXT_H
6829 #include <ucontext.h>
6830 #endif
6832 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6833 cat >>confdefs.h <<_ACEOF
6834 #define HAVE_SYS_THR_H 1
6835 _ACEOF
6839 done
6842 for ac_header in pthread_np.h
6843 do :
6844 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6845 #include <pthread.h>
6846 #endif
6848 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6849 cat >>confdefs.h <<_ACEOF
6850 #define HAVE_PTHREAD_NP_H 1
6851 _ACEOF
6855 done
6858 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6859 do :
6860 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6861 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6862 #include <sys/time.h>
6863 #endif
6864 #include <sys/types.h>
6865 #ifdef HAVE_ASM_TYPES_H
6866 #include <asm/types.h>
6867 #endif
6869 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6870 cat >>confdefs.h <<_ACEOF
6871 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6872 _ACEOF
6876 done
6879 for ac_header in libprocstat.h
6880 do :
6881 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6882 #include <sys/param.h>
6883 #endif
6884 #ifdef HAVE_SYS_QUEUE_H
6885 #include <sys/queue.h>
6886 #endif
6887 #ifdef HAVE_SYS_SOCKET_H
6888 #include <sys/socket.h>
6889 #endif
6891 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6892 cat >>confdefs.h <<_ACEOF
6893 #define HAVE_LIBPROCSTAT_H 1
6894 _ACEOF
6898 done
6902 dlldir="\${libdir}/wine"
6904 DLLPREFIX=""
6906 DLLFLAGS="-D_REENTRANT"
6908 LDRPATH_INSTALL=""
6910 LDRPATH_LOCAL=""
6912 LIBEXT="so"
6913 DLLEXT=".so"
6914 IMPLIBEXT="def"
6915 STATIC_IMPLIBEXT="def.a"
6916 # Extract the first word of "ldd", so it can be a program name with args.
6917 set dummy ldd; ac_word=$2
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6919 $as_echo_n "checking for $ac_word... " >&6; }
6920 if ${ac_cv_path_LDD+:} false; then :
6921 $as_echo_n "(cached) " >&6
6922 else
6923 case $LDD in
6924 [\\/]* | ?:[\\/]*)
6925 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6929 as_dummy="/sbin:/usr/sbin:$PATH"
6930 for as_dir in $as_dummy
6932 IFS=$as_save_IFS
6933 test -z "$as_dir" && as_dir=.
6934 for ac_exec_ext in '' $ac_executable_extensions; do
6935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6936 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6938 break 2
6940 done
6941 done
6942 IFS=$as_save_IFS
6944 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6946 esac
6948 LDD=$ac_cv_path_LDD
6949 if test -n "$LDD"; then
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6951 $as_echo "$LDD" >&6; }
6952 else
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6954 $as_echo "no" >&6; }
6958 if test -n "$ac_tool_prefix"; then
6959 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6960 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6962 $as_echo_n "checking for $ac_word... " >&6; }
6963 if ${ac_cv_prog_READELF+:} false; then :
6964 $as_echo_n "(cached) " >&6
6965 else
6966 if test -n "$READELF"; then
6967 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6968 else
6969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6970 for as_dir in $PATH
6972 IFS=$as_save_IFS
6973 test -z "$as_dir" && as_dir=.
6974 for ac_exec_ext in '' $ac_executable_extensions; do
6975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6976 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6978 break 2
6980 done
6981 done
6982 IFS=$as_save_IFS
6986 READELF=$ac_cv_prog_READELF
6987 if test -n "$READELF"; then
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6989 $as_echo "$READELF" >&6; }
6990 else
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6997 if test -z "$ac_cv_prog_READELF"; then
6998 ac_ct_READELF=$READELF
6999 # Extract the first word of "readelf", so it can be a program name with args.
7000 set dummy readelf; ac_word=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002 $as_echo_n "checking for $ac_word... " >&6; }
7003 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7004 $as_echo_n "(cached) " >&6
7005 else
7006 if test -n "$ac_ct_READELF"; then
7007 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7008 else
7009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7010 for as_dir in $PATH
7012 IFS=$as_save_IFS
7013 test -z "$as_dir" && as_dir=.
7014 for ac_exec_ext in '' $ac_executable_extensions; do
7015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7016 ac_cv_prog_ac_ct_READELF="readelf"
7017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7018 break 2
7020 done
7021 done
7022 IFS=$as_save_IFS
7026 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7027 if test -n "$ac_ct_READELF"; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7029 $as_echo "$ac_ct_READELF" >&6; }
7030 else
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7035 if test "x$ac_ct_READELF" = x; then
7036 READELF="true"
7037 else
7038 case $cross_compiling:$ac_tool_warned in
7039 yes:)
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7042 ac_tool_warned=yes ;;
7043 esac
7044 READELF=$ac_ct_READELF
7046 else
7047 READELF="$ac_cv_prog_READELF"
7050 wine_rules_file=conf$$rules.make
7051 rm -f $wine_rules_file
7052 ALL_POT_FILES=""
7053 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7054 ALL_TEST_RESOURCES=""
7057 wine_fn_append_file ()
7059 as_fn_append $1 " \\$as_nl $2"
7062 wine_fn_ignore_file ()
7064 case "$1" in
7065 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7066 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7067 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7068 esac
7071 wine_fn_append_rule ()
7073 $as_echo "$1" >>$wine_rules_file
7076 wine_fn_has_flag ()
7078 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7081 wine_fn_depend_rules ()
7083 wine_fn_append_rule \
7084 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7085 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7086 depend: $ac_dir/depend
7087 .PHONY: $ac_dir/depend
7088 $ac_dir/depend: \$(MAKEDEP) dummy
7089 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7092 wine_fn_pot_rules ()
7094 test "x$with_gettextpo" = xyes || return
7096 if wine_fn_has_flag mc
7097 then
7098 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7099 wine_fn_append_rule \
7100 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7101 @cd $ac_dir && \$(MAKE) msg.pot
7102 $ac_dir/msg.pot: tools/wmc include"
7104 if wine_fn_has_flag po
7105 then
7106 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7107 wine_fn_append_rule \
7108 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7109 @cd $ac_dir && \$(MAKE) rsrc.pot
7110 $ac_dir/rsrc.pot: tools/wrc include"
7114 wine_fn_all_rules ()
7116 wine_fn_depend_rules
7117 wine_fn_append_rule \
7118 "all: $ac_dir
7119 .PHONY: $ac_dir
7120 $ac_dir: $ac_dir/Makefile dummy
7121 @cd $ac_dir && \$(MAKE)"
7124 wine_fn_install_rules ()
7126 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7128 wine_fn_append_rule \
7129 ".PHONY: $ac_dir/install $ac_dir/uninstall
7130 $ac_dir/install:: $ac_dir
7131 @cd $ac_dir && \$(MAKE) install
7132 $ac_dir/uninstall:: $ac_dir/Makefile
7133 @cd $ac_dir && \$(MAKE) uninstall
7134 install:: $ac_dir/install
7135 __uninstall__: $ac_dir/uninstall"
7137 if wine_fn_has_flag install-lib
7138 then
7139 wine_fn_append_rule \
7140 ".PHONY: $ac_dir/install-lib
7141 $ac_dir/install-lib:: $ac_dir
7142 @cd $ac_dir && \$(MAKE) install-lib
7143 install-lib:: $ac_dir/install-lib"
7146 if wine_fn_has_flag install-dev
7147 then
7148 wine_fn_append_rule \
7149 ".PHONY: $ac_dir/install-dev
7150 $ac_dir/install-dev:: $ac_dir
7151 @cd $ac_dir && \$(MAKE) install-dev
7152 install-dev:: $ac_dir/install-dev"
7156 wine_fn_clean_rules ()
7158 ac_clean=$@
7159 ac_extraclean="$ac_dir/Makefile"
7160 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7161 case $ac_dir in
7162 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7163 esac
7165 if wine_fn_has_flag clean
7166 then
7167 wine_fn_append_rule \
7168 "__clean__: $ac_dir/clean
7169 .PHONY: $ac_dir/clean
7170 $ac_dir/clean: $ac_dir/Makefile
7171 @cd $ac_dir && \$(MAKE) clean
7172 \$(RM) $ac_extraclean"
7173 else
7174 wine_fn_append_rule \
7175 "__clean__: $ac_dir/clean
7176 .PHONY: $ac_dir/clean
7177 $ac_dir/clean: dummy
7178 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7182 wine_fn_disabled_rules ()
7184 ac_clean=$@
7185 ac_extraclean="$ac_dir/Makefile"
7186 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7188 wine_fn_append_rule \
7189 "__clean__: $ac_dir/clean
7190 .PHONY: $ac_dir/clean
7191 $ac_dir/clean: dummy
7192 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7195 wine_fn_config_makefile ()
7197 ac_dir=$1
7198 ac_enable=$2
7199 ac_flags=$3
7201 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7202 wine_fn_disabled_rules; return
7204 wine_fn_all_rules
7205 wine_fn_install_rules
7206 wine_fn_clean_rules
7209 wine_fn_config_lib ()
7211 ac_name=$1
7212 ac_flags=$2
7213 ac_dir=dlls/$ac_name
7214 ac_deps="include"
7216 if test "x$enable_tools" = xno; then :
7218 else
7219 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7221 wine_fn_all_rules
7222 wine_fn_clean_rules
7224 wine_fn_append_rule \
7225 ".PHONY: $ac_dir/install $ac_dir/uninstall
7226 $ac_dir/install:: $ac_dir
7227 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7228 $ac_dir/uninstall::
7229 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7230 install install-dev:: $ac_dir/install
7231 __uninstall__: $ac_dir/uninstall
7232 __builddeps__: $ac_dir
7233 $ac_dir: $ac_deps"
7236 wine_fn_config_dll ()
7238 ac_name=$1
7239 ac_dir=dlls/$ac_name
7240 ac_enable=$2
7241 ac_flags=$3
7242 ac_implib=${4:-$ac_name}
7243 ac_file=$ac_dir/lib$ac_implib
7244 ac_dll=$ac_name
7245 ac_deps="include"
7246 ac_implibflags=""
7248 if test "x$enable_tools" = xno; then :
7250 else
7251 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7253 case $ac_name in
7254 *16) ac_implibflags=" -m16" ;;
7255 *.*) ;;
7256 *) ac_dll=$ac_dll.dll ;;
7257 esac
7259 ac_clean=
7260 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7261 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7262 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7263 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7265 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7266 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7267 then
7268 wine_fn_depend_rules
7269 wine_fn_clean_rules $ac_clean
7270 else
7271 wine_fn_disabled_rules $ac_clean
7272 return
7274 else
7275 wine_fn_all_rules
7276 wine_fn_clean_rules $ac_clean
7277 wine_fn_append_rule \
7278 "$ac_dir: __builddeps__
7279 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7280 @cd $ac_dir && \$(MAKE) \$@
7281 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7282 install install-lib:: $ac_dir/install-lib
7283 __uninstall__: $ac_dir/uninstall"
7284 if test -n "$DLLEXT"
7285 then
7286 wine_fn_append_rule \
7287 "$ac_dir/install-lib:: $ac_dir
7288 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7289 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7290 $ac_dir/uninstall::
7291 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7292 else
7293 wine_fn_append_rule \
7294 "$ac_dir/install-lib:: $ac_dir
7295 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7296 $ac_dir/uninstall::
7297 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7300 wine_fn_pot_rules
7303 if wine_fn_has_flag staticimplib
7304 then
7305 wine_fn_append_rule \
7306 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7307 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7308 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7309 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7310 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7311 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7312 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7313 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7314 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7315 $ac_dir/uninstall::
7316 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7317 install install-dev:: $ac_dir/install-dev
7318 __uninstall__: $ac_dir/uninstall"
7320 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7321 then
7322 wine_fn_append_rule \
7323 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7324 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7325 $ac_dir/uninstall::
7326 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7329 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7330 then
7331 wine_fn_append_rule \
7332 "__builddeps__: $ac_file.cross.a
7333 $ac_file.cross.a: $ac_dir/Makefile dummy
7334 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7337 elif wine_fn_has_flag implib
7338 then
7339 wine_fn_append_rule \
7340 "__builddeps__: $ac_file.$IMPLIBEXT
7341 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7342 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7343 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7344 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7345 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7346 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7347 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7348 $ac_dir/uninstall::
7349 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7350 install install-dev:: $ac_dir/install-dev
7351 __uninstall__: $ac_dir/uninstall"
7352 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7353 then
7354 wine_fn_append_rule \
7355 "__builddeps__: $ac_file.cross.a
7356 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7357 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7360 if test "$ac_name" != "$ac_implib"
7361 then
7362 wine_fn_append_rule \
7363 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7364 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7365 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7366 clean::
7367 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7368 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7369 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7370 then
7371 wine_fn_append_rule \
7372 "__builddeps__: dlls/lib$ac_implib.cross.a
7373 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7374 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7375 clean::
7376 \$(RM) dlls/lib$ac_implib.cross.a"
7377 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7383 wine_fn_config_program ()
7385 ac_name=$1
7386 ac_dir=programs/$ac_name
7387 ac_enable=$2
7388 ac_flags=$3
7389 ac_program=$ac_name
7391 case $ac_name in
7392 *.*) ;;
7393 *) ac_program=$ac_program.exe ;;
7394 esac
7396 ac_clean=
7397 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7398 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7399 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7400 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7402 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7403 wine_fn_disabled_rules $ac_clean; return
7406 wine_fn_all_rules
7407 wine_fn_clean_rules $ac_clean
7408 wine_fn_append_rule "$ac_dir: __builddeps__"
7409 wine_fn_pot_rules
7411 wine_fn_has_flag install || return
7412 wine_fn_append_rule \
7413 ".PHONY: $ac_dir/install $ac_dir/uninstall
7414 install install-lib:: $ac_dir/install
7415 __uninstall__: $ac_dir/uninstall"
7417 if test -n "$DLLEXT"
7418 then
7419 wine_fn_append_rule \
7420 "$ac_dir/install:: $ac_dir
7421 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7422 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7423 $ac_dir/uninstall::
7424 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7426 if test -z "$with_wine64" && wine_fn_has_flag installbin
7427 then
7428 wine_fn_append_rule \
7429 "$ac_dir/install:: __tooldeps__
7430 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7431 $ac_dir/uninstall::
7432 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7434 else
7435 wine_fn_append_rule \
7436 "$ac_dir/install:: $ac_dir
7437 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7438 $ac_dir/uninstall::
7439 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7442 if test -z "$with_wine64" && wine_fn_has_flag manpage
7443 then
7444 wine_fn_append_rule \
7445 "$ac_dir/install:: $ac_dir
7446 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7447 $ac_dir/uninstall::
7448 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7452 wine_fn_config_test ()
7454 ac_dir=$1
7455 ac_name=$2
7456 ac_flags=$3
7458 ac_clean=
7459 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7460 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7462 if test "x$enable_tests" = xno; then :
7463 wine_fn_disabled_rules $ac_clean; return
7466 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7467 wine_fn_all_rules
7468 wine_fn_clean_rules $ac_clean
7470 wine_fn_append_rule \
7471 "$ac_dir: programs/winetest/Makefile __builddeps__
7472 programs/winetest: $ac_dir
7473 check test: $ac_dir/test
7474 .PHONY: $ac_dir/test
7475 $ac_dir/test: dummy
7476 @cd $ac_dir && \$(MAKE) test
7477 testclean::
7478 \$(RM) $ac_dir/*.ok"
7480 if test -n "$CROSSTARGET"
7481 then
7482 wine_fn_append_rule \
7483 "crosstest: $ac_dir/crosstest
7484 .PHONY: $ac_dir/crosstest
7485 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7486 @cd $ac_dir && \$(MAKE) crosstest"
7490 wine_fn_config_tool ()
7492 ac_dir=$1
7493 ac_flags=$2
7494 if test "x$enable_tools" = xno; then :
7495 return
7498 wine_fn_all_rules
7499 wine_fn_install_rules
7500 wine_fn_clean_rules
7502 wine_fn_append_rule "__tooldeps__: $ac_dir"
7503 wine_fn_append_rule "$ac_dir: libs/port"
7504 case $ac_dir in
7505 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7506 esac
7509 wine_fn_config_symlink ()
7511 ac_linkdir=
7512 if test "x$1" = "x-d"
7513 then
7514 ac_linkdir=$2
7515 shift; shift
7517 ac_links=$@
7518 wine_fn_append_rule \
7519 "$ac_links:
7520 @./config.status \$@
7521 distclean::
7522 \$(RM) $ac_links"
7523 for f in $ac_links; do wine_fn_ignore_file $f; done
7524 test -n "$ac_linkdir" || return
7525 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7528 wine_binary="wine"
7529 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7530 loader_programs="$wine_binary wine-installed"
7531 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7533 LOADER_RULES="
7534 install install-lib:: wine-installed
7535 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7537 uninstall::
7538 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7542 case $host_os in
7543 cygwin*|mingw32*)
7544 if test -n "$ac_tool_prefix"; then
7545 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7546 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 $as_echo_n "checking for $ac_word... " >&6; }
7549 if ${ac_cv_prog_DLLTOOL+:} false; then :
7550 $as_echo_n "(cached) " >&6
7551 else
7552 if test -n "$DLLTOOL"; then
7553 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7554 else
7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7556 for as_dir in $PATH
7558 IFS=$as_save_IFS
7559 test -z "$as_dir" && as_dir=.
7560 for ac_exec_ext in '' $ac_executable_extensions; do
7561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7562 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7564 break 2
7566 done
7567 done
7568 IFS=$as_save_IFS
7572 DLLTOOL=$ac_cv_prog_DLLTOOL
7573 if test -n "$DLLTOOL"; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7575 $as_echo "$DLLTOOL" >&6; }
7576 else
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7583 if test -z "$ac_cv_prog_DLLTOOL"; then
7584 ac_ct_DLLTOOL=$DLLTOOL
7585 # Extract the first word of "dlltool", so it can be a program name with args.
7586 set dummy dlltool; ac_word=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7588 $as_echo_n "checking for $ac_word... " >&6; }
7589 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7590 $as_echo_n "(cached) " >&6
7591 else
7592 if test -n "$ac_ct_DLLTOOL"; then
7593 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7594 else
7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7596 for as_dir in $PATH
7598 IFS=$as_save_IFS
7599 test -z "$as_dir" && as_dir=.
7600 for ac_exec_ext in '' $ac_executable_extensions; do
7601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7602 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7604 break 2
7606 done
7607 done
7608 IFS=$as_save_IFS
7612 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7613 if test -n "$ac_ct_DLLTOOL"; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7615 $as_echo "$ac_ct_DLLTOOL" >&6; }
7616 else
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7621 if test "x$ac_ct_DLLTOOL" = x; then
7622 DLLTOOL="false"
7623 else
7624 case $cross_compiling:$ac_tool_warned in
7625 yes:)
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7628 ac_tool_warned=yes ;;
7629 esac
7630 DLLTOOL=$ac_ct_DLLTOOL
7632 else
7633 DLLTOOL="$ac_cv_prog_DLLTOOL"
7636 LIBEXT="dll"
7637 DLLEXT=""
7638 IMPLIBEXT="a"
7639 STATIC_IMPLIBEXT="a"
7640 enable_iphlpapi=${enable_iphlpapi:-no}
7641 enable_kernel32=${enable_kernel32:-no}
7642 enable_msvcrt=${enable_msvcrt:-no}
7643 enable_ntdll=${enable_ntdll:-no}
7644 enable_ws2_32=${enable_ws2_32:-no}
7645 enable_loader=${enable_loader:-no}
7646 enable_server=${enable_server:-no}
7647 with_x=${with_x:-no}
7648 with_pthread=${with_pthread:-no}
7650 crtlibs=""
7651 case $host_os in
7652 mingw32*)
7653 crtlibs="-lmsvcrt"
7654 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7656 esac
7658 libwine_targets="libwine.dll libwine.a"
7659 LIBWINE_RULES="
7660 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7662 all: libwine.dll libwine.a
7664 libwine.a: \$(srcdir)/wine.def
7665 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7667 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7668 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7670 install install-lib:: libwine.dll
7671 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7673 install install-dev:: libwine.a
7674 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7676 uninstall::
7677 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7682 darwin*|macosx*)
7683 LIBEXT="dylib"
7684 DLLFLAGS="$DLLFLAGS -fPIC"
7685 LIBWINE_LDFLAGS="-multiply_defined suppress"
7686 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7687 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7688 COREFOUNDATION_LIBS="-framework CoreFoundation"
7690 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7692 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7694 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7696 CORESERVICES_LIBS="-framework CoreServices"
7698 APPKIT_LIBS="-framework AppKit"
7700 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7701 case $host_os in
7702 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7703 esac
7704 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7705 then
7706 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7709 if test "$ac_cv_header_Security_Security_h" = "yes"
7710 then
7711 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7713 ac_save_LIBS="$LIBS"
7714 LIBS="$LIBS $SECURITY_LIBS"
7715 for ac_func in SSLCopyPeerCertificates
7716 do :
7717 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7718 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7719 cat >>confdefs.h <<_ACEOF
7720 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7721 _ACEOF
7724 done
7726 LIBS="$ac_save_LIBS"
7727 with_gnutls=${with_gnutls:-no}
7729 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7730 then
7731 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7732 then
7733 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7735 else
7736 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7739 ac_save_LIBS="$LIBS"
7740 LIBS="$LIBS $COREAUDIO_LIBS"
7741 for ac_func in AUGraphAddNode
7742 do :
7743 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7744 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7745 cat >>confdefs.h <<_ACEOF
7746 #define HAVE_AUGRAPHADDNODE 1
7747 _ACEOF
7750 done
7752 LIBS="$ac_save_LIBS"
7754 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7755 then
7756 OPENAL_LIBS="-framework OpenAL"
7759 cat >>confdefs.h <<_ACEOF
7760 #define HAVE_OPENAL 1
7761 _ACEOF
7763 ac_cv_lib_openal=yes
7765 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7766 then
7767 OPENCL_LIBS="-framework OpenCL"
7769 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7771 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7772 then
7773 ac_save_LIBS="$LIBS"
7774 LIBS="$LIBS $IOKIT_LIBS"
7775 for ac_func in IOHIDManagerCreate
7776 do :
7777 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7778 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7779 cat >>confdefs.h <<_ACEOF
7780 #define HAVE_IOHIDMANAGERCREATE 1
7781 _ACEOF
7784 done
7786 LIBS="$ac_save_LIBS"
7788 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7789 then
7790 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7792 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7793 else
7794 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7796 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7797 then
7798 CARBON_LIBS="-framework Carbon"
7802 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7803 then
7804 ac_save_LIBS="$LIBS"
7805 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7806 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7807 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7808 enable_winemac_drv=${enable_winemac_drv:-yes}
7811 LIBS="$ac_save_LIBS"
7814 if test "x$enable_win16" = "xyes"
7815 then
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7817 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7818 if test "$cross_compiling" = yes; then :
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7820 $as_echo "cross-compiling, assuming yes" >&6; }
7821 else
7822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7823 /* end confdefs.h. */
7824 asm(".text\n"
7825 "bad:\tnop;nop\n"
7826 "good:\tnop;nop\n\t"
7827 ".globl _testfunc\n"
7828 "_testfunc:\tcallw good");
7829 extern void testfunc();
7831 main ()
7833 unsigned short *p = (unsigned short *)testfunc;
7834 return p[0] != 0xe866 || p[1] != 0xfffa
7836 return 0;
7838 _ACEOF
7839 if ac_fn_c_try_run "$LINENO"; then :
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7841 $as_echo "yes" >&6; }
7842 else
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7844 $as_echo "no" >&6; }
7845 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
7847 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7848 conftest.$ac_objext conftest.beam conftest.$ac_ext
7853 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7854 LIBWINE_RULES="
7855 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7857 all: libwine.dylib
7859 libwine.$libwine_version.dylib: \$(OBJS)
7860 \$(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 \$@
7862 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7863 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7865 libwine.dylib: libwine.$libwine_soversion.dylib
7866 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7868 install install-lib:: libwine.$libwine_version.dylib
7869 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7870 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7872 install install-dev::
7873 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7875 uninstall::
7876 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7880 as_fn_append LOADER_RULES "
7881 $wine_binary: main.o wine_info.plist
7882 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7884 wine-installed: main.o wine_info.plist
7885 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7889 linux-android*)
7890 DLLFLAGS="$DLLFLAGS -fPIC"
7891 DLLPREFIX="lib"
7892 LDEXECFLAGS=""
7893 dlldir="\${libdir}"
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7895 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7896 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7897 $as_echo_n "(cached) " >&6
7898 else
7899 ac_wine_try_cflags_saved=$CFLAGS
7900 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7902 /* end confdefs.h. */
7903 int main(int argc, char **argv) { return 0; }
7904 _ACEOF
7905 if ac_fn_c_try_link "$LINENO"; then :
7906 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7907 else
7908 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7910 rm -f core conftest.err conftest.$ac_objext \
7911 conftest$ac_exeext conftest.$ac_ext
7912 CFLAGS=$ac_wine_try_cflags_saved
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7915 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7916 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7917 LDEXECFLAGS="-Wl,--export-dynamic"
7919 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7921 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7922 if eval \${$as_ac_var+:} false; then :
7923 $as_echo_n "(cached) " >&6
7924 else
7925 ac_wine_try_cflags_saved=$CFLAGS
7926 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7928 /* end confdefs.h. */
7929 int main(int argc, char **argv) { return 0; }
7930 _ACEOF
7931 if ac_fn_c_try_link "$LINENO"; then :
7932 eval "$as_ac_var=yes"
7933 else
7934 eval "$as_ac_var=no"
7936 rm -f core conftest.err conftest.$ac_objext \
7937 conftest$ac_exeext conftest.$ac_ext
7938 CFLAGS=$ac_wine_try_cflags_saved
7940 eval ac_res=\$$as_ac_var
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7942 $as_echo "$ac_res" >&6; }
7943 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7944 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7945 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7946 else
7947 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7949 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7950 if eval \${$as_ac_var+:} false; then :
7951 $as_echo_n "(cached) " >&6
7952 else
7953 ac_wine_try_cflags_saved=$CFLAGS
7954 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7956 /* end confdefs.h. */
7957 int main(int argc, char **argv) { return 0; }
7958 _ACEOF
7959 if ac_fn_c_try_link "$LINENO"; then :
7960 eval "$as_ac_var=yes"
7961 else
7962 eval "$as_ac_var=no"
7964 rm -f core conftest.err conftest.$ac_objext \
7965 conftest$ac_exeext conftest.$ac_ext
7966 CFLAGS=$ac_wine_try_cflags_saved
7968 eval ac_res=\$$as_ac_var
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7970 $as_echo "$ac_res" >&6; }
7971 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7972 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7973 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7978 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7979 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7980 $as_echo_n "(cached) " >&6
7981 else
7982 ac_wine_try_cflags_saved=$CFLAGS
7983 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7985 /* end confdefs.h. */
7986 int main(int argc, char **argv) { return 0; }
7987 _ACEOF
7988 if ac_fn_c_try_link "$LINENO"; then :
7989 ac_cv_cflags__Wl___enable_new_dtags=yes
7990 else
7991 ac_cv_cflags__Wl___enable_new_dtags=no
7993 rm -f core conftest.err conftest.$ac_objext \
7994 conftest$ac_exeext conftest.$ac_ext
7995 CFLAGS=$ac_wine_try_cflags_saved
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7998 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7999 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8000 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8003 case $host_cpu in
8004 *i[3456789]86* | x86_64)
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8006 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8007 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8008 $as_echo_n "(cached) " >&6
8009 else
8010 ac_wine_try_cflags_saved=$CFLAGS
8011 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8013 /* end confdefs.h. */
8014 int main(int argc, char **argv) { return 0; }
8015 _ACEOF
8016 if ac_fn_c_try_link "$LINENO"; then :
8017 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8018 else
8019 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8021 rm -f core conftest.err conftest.$ac_objext \
8022 conftest$ac_exeext conftest.$ac_ext
8023 CFLAGS=$ac_wine_try_cflags_saved
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8026 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8027 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8028 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8031 esac
8033 libwine_targets="libwine.so"
8034 LIBWINE_RULES="
8035 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8037 all: libwine.so
8039 libwine.so: \$(OBJS)
8040 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8042 install install-lib:: libwine.so
8043 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8045 uninstall::
8046 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8050 as_fn_append LOADER_RULES "
8051 $wine_binary: main.o
8052 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8054 wine-installed: main.o
8055 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8060 DLLFLAGS="$DLLFLAGS -fPIC"
8061 LDEXECFLAGS=""
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8063 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8064 if ${ac_cv_c_dll_gnuelf+:} false; then :
8065 $as_echo_n "(cached) " >&6
8066 else
8067 ac_wine_try_cflags_saved=$CFLAGS
8068 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8070 /* end confdefs.h. */
8071 void myfunc() {}
8072 _ACEOF
8073 if ac_fn_c_try_link "$LINENO"; then :
8074 ac_cv_c_dll_gnuelf="yes"
8075 else
8076 ac_cv_c_dll_gnuelf="no"
8078 rm -f core conftest.err conftest.$ac_objext \
8079 conftest$ac_exeext conftest.$ac_ext
8080 CFLAGS=$ac_wine_try_cflags_saved
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8083 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8084 if test "$ac_cv_c_dll_gnuelf" = "yes"
8085 then
8086 LDSHARED="\$(CC) -shared"
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8088 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8089 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8090 $as_echo_n "(cached) " >&6
8091 else
8092 ac_wine_try_cflags_saved=$CFLAGS
8093 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8095 /* end confdefs.h. */
8096 int main(int argc, char **argv) { return 0; }
8097 _ACEOF
8098 if ac_fn_c_try_link "$LINENO"; then :
8099 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8100 else
8101 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8103 rm -f core conftest.err conftest.$ac_objext \
8104 conftest$ac_exeext conftest.$ac_ext
8105 CFLAGS=$ac_wine_try_cflags_saved
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8108 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8109 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8110 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8111 else
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8113 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8114 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8115 $as_echo_n "(cached) " >&6
8116 else
8117 ac_wine_try_cflags_saved=$CFLAGS
8118 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8120 /* end confdefs.h. */
8121 int main(int argc, char **argv) { return 0; }
8122 _ACEOF
8123 if ac_fn_c_try_link "$LINENO"; then :
8124 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8125 else
8126 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8128 rm -f core conftest.err conftest.$ac_objext \
8129 conftest$ac_exeext conftest.$ac_ext
8130 CFLAGS=$ac_wine_try_cflags_saved
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8133 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8134 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8135 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8139 echo '{ global: *; };' >conftest.map
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8141 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8142 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8143 $as_echo_n "(cached) " >&6
8144 else
8145 ac_wine_try_cflags_saved=$CFLAGS
8146 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8148 /* end confdefs.h. */
8149 int main(int argc, char **argv) { return 0; }
8150 _ACEOF
8151 if ac_fn_c_try_link "$LINENO"; then :
8152 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8153 else
8154 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8156 rm -f core conftest.err conftest.$ac_objext \
8157 conftest$ac_exeext conftest.$ac_ext
8158 CFLAGS=$ac_wine_try_cflags_saved
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8161 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8162 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8163 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8165 rm -f conftest.map
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8168 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8169 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8170 $as_echo_n "(cached) " >&6
8171 else
8172 ac_wine_try_cflags_saved=$CFLAGS
8173 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8175 /* end confdefs.h. */
8176 int main(int argc, char **argv) { return 0; }
8177 _ACEOF
8178 if ac_fn_c_try_link "$LINENO"; then :
8179 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8180 else
8181 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8183 rm -f core conftest.err conftest.$ac_objext \
8184 conftest$ac_exeext conftest.$ac_ext
8185 CFLAGS=$ac_wine_try_cflags_saved
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8188 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8189 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8190 LDEXECFLAGS="-Wl,--export-dynamic"
8193 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8195 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8196 if eval \${$as_ac_var+:} false; then :
8197 $as_echo_n "(cached) " >&6
8198 else
8199 ac_wine_try_cflags_saved=$CFLAGS
8200 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8202 /* end confdefs.h. */
8203 int main(int argc, char **argv) { return 0; }
8204 _ACEOF
8205 if ac_fn_c_try_link "$LINENO"; then :
8206 eval "$as_ac_var=yes"
8207 else
8208 eval "$as_ac_var=no"
8210 rm -f core conftest.err conftest.$ac_objext \
8211 conftest$ac_exeext conftest.$ac_ext
8212 CFLAGS=$ac_wine_try_cflags_saved
8214 eval ac_res=\$$as_ac_var
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8216 $as_echo "$ac_res" >&6; }
8217 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8218 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8219 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8220 else
8221 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8223 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8224 if eval \${$as_ac_var+:} false; then :
8225 $as_echo_n "(cached) " >&6
8226 else
8227 ac_wine_try_cflags_saved=$CFLAGS
8228 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8230 /* end confdefs.h. */
8231 int main(int argc, char **argv) { return 0; }
8232 _ACEOF
8233 if ac_fn_c_try_link "$LINENO"; then :
8234 eval "$as_ac_var=yes"
8235 else
8236 eval "$as_ac_var=no"
8238 rm -f core conftest.err conftest.$ac_objext \
8239 conftest$ac_exeext conftest.$ac_ext
8240 CFLAGS=$ac_wine_try_cflags_saved
8242 eval ac_res=\$$as_ac_var
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8244 $as_echo "$ac_res" >&6; }
8245 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8246 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8247 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8252 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8253 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8254 $as_echo_n "(cached) " >&6
8255 else
8256 ac_wine_try_cflags_saved=$CFLAGS
8257 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8259 /* end confdefs.h. */
8260 int main(int argc, char **argv) { return 0; }
8261 _ACEOF
8262 if ac_fn_c_try_link "$LINENO"; then :
8263 ac_cv_cflags__Wl___enable_new_dtags=yes
8264 else
8265 ac_cv_cflags__Wl___enable_new_dtags=no
8267 rm -f core conftest.err conftest.$ac_objext \
8268 conftest$ac_exeext conftest.$ac_ext
8269 CFLAGS=$ac_wine_try_cflags_saved
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8272 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8273 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8274 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8277 case $host_cpu in
8278 *i[3456789]86* | x86_64)
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8280 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8281 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8282 $as_echo_n "(cached) " >&6
8283 else
8284 ac_wine_try_cflags_saved=$CFLAGS
8285 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8287 /* end confdefs.h. */
8288 int main(int argc, char **argv) { return 0; }
8289 _ACEOF
8290 if ac_fn_c_try_link "$LINENO"; then :
8291 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8292 else
8293 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8295 rm -f core conftest.err conftest.$ac_objext \
8296 conftest$ac_exeext conftest.$ac_ext
8297 CFLAGS=$ac_wine_try_cflags_saved
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8300 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8301 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8302 case $host_os in
8303 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8304 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8305 esac
8308 # Extract the first word of "prelink", so it can be a program name with args.
8309 set dummy prelink; ac_word=$2
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8311 $as_echo_n "checking for $ac_word... " >&6; }
8312 if ${ac_cv_path_PRELINK+:} false; then :
8313 $as_echo_n "(cached) " >&6
8314 else
8315 case $PRELINK in
8316 [\\/]* | ?:[\\/]*)
8317 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8321 for as_dir in /sbin /usr/sbin $PATH
8323 IFS=$as_save_IFS
8324 test -z "$as_dir" && as_dir=.
8325 for ac_exec_ext in '' $ac_executable_extensions; do
8326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8327 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8329 break 2
8331 done
8332 done
8333 IFS=$as_save_IFS
8335 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8337 esac
8339 PRELINK=$ac_cv_path_PRELINK
8340 if test -n "$PRELINK"; then
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8342 $as_echo "$PRELINK" >&6; }
8343 else
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8345 $as_echo "no" >&6; }
8349 if test "x$PRELINK" = xfalse
8350 then
8351 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8354 esac
8356 else
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8358 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8359 if ${ac_cv_c_dll_unixware+:} false; then :
8360 $as_echo_n "(cached) " >&6
8361 else
8362 ac_wine_try_cflags_saved=$CFLAGS
8363 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8365 /* end confdefs.h. */
8366 void myfunc() {}
8367 _ACEOF
8368 if ac_fn_c_try_link "$LINENO"; then :
8369 ac_cv_c_dll_unixware="yes"
8370 else
8371 ac_cv_c_dll_unixware="no"
8373 rm -f core conftest.err conftest.$ac_objext \
8374 conftest$ac_exeext conftest.$ac_ext
8375 CFLAGS=$ac_wine_try_cflags_saved
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8378 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8379 if test "$ac_cv_c_dll_unixware" = "yes"
8380 then
8381 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8384 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8385 LIBWINE_RULES="
8386 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8388 all: libwine.so
8390 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8391 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8393 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8394 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8396 libwine.so: libwine.so.$libwine_soversion
8397 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8399 install install-lib:: libwine.so.$libwine_version
8400 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8401 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8403 install install-dev::
8404 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8406 uninstall::
8407 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8411 as_fn_append LOADER_RULES "
8412 $wine_binary: main.o
8413 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8415 wine-installed: main.o
8416 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8419 esac
8421 as_fn_append LIBWINE_RULES "
8422 EXTRA_TARGETS = $libwine_targets
8425 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8426 enable_winemac_drv=${enable_winemac_drv:-no}
8428 CROSSTARGET=""
8430 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8431 then
8432 case "$host_cpu" in
8433 i[3456789]86*)
8434 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
8435 mingw32-gcc" ;;
8436 x86_64)
8437 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 " ;;
8439 ac_prefix_list="" ;;
8440 esac
8441 for ac_prog in $ac_prefix_list
8443 # Extract the first word of "$ac_prog", so it can be a program name with args.
8444 set dummy $ac_prog; ac_word=$2
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8446 $as_echo_n "checking for $ac_word... " >&6; }
8447 if ${ac_cv_prog_CROSSCC+:} false; then :
8448 $as_echo_n "(cached) " >&6
8449 else
8450 if test -n "$CROSSCC"; then
8451 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8452 else
8453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8454 for as_dir in $PATH
8456 IFS=$as_save_IFS
8457 test -z "$as_dir" && as_dir=.
8458 for ac_exec_ext in '' $ac_executable_extensions; do
8459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8460 ac_cv_prog_CROSSCC="$ac_prog"
8461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8462 break 2
8464 done
8465 done
8466 IFS=$as_save_IFS
8470 CROSSCC=$ac_cv_prog_CROSSCC
8471 if test -n "$CROSSCC"; then
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8473 $as_echo "$CROSSCC" >&6; }
8474 else
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8476 $as_echo "no" >&6; }
8480 test -n "$CROSSCC" && break
8481 done
8482 test -n "$CROSSCC" || CROSSCC="false"
8484 if test "$CROSSCC" != "false"
8485 then
8486 ac_save_CC="$CC"
8487 CC="$CROSSCC"
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8489 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8491 /* end confdefs.h. */
8494 main ()
8498 return 0;
8500 _ACEOF
8501 if ac_fn_c_try_compile "$LINENO"; then :
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8503 $as_echo "yes" >&6; }
8504 set x $CROSSCC
8505 shift
8506 while test $# -ge 1
8508 case "$1" in
8509 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8510 esac
8511 shift
8512 done
8513 else
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8515 $as_echo "no" >&6; }
8517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8518 CC="$ac_save_CC"
8523 if test "$ac_cv_header_pthread_h" = "yes"
8524 then
8525 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8526 if test "x$ac_cv_func_pthread_create" = xyes; then :
8528 else
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8530 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8531 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8532 $as_echo_n "(cached) " >&6
8533 else
8534 ac_check_lib_save_LIBS=$LIBS
8535 LIBS="-lpthread $LIBS"
8536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8539 /* Override any GCC internal prototype to avoid an error.
8540 Use char because int might match the return type of a GCC
8541 builtin and then its argument prototype would still apply. */
8542 #ifdef __cplusplus
8543 extern "C"
8544 #endif
8545 char pthread_create ();
8547 main ()
8549 return pthread_create ();
8551 return 0;
8553 _ACEOF
8554 if ac_fn_c_try_link "$LINENO"; then :
8555 ac_cv_lib_pthread_pthread_create=yes
8556 else
8557 ac_cv_lib_pthread_pthread_create=no
8559 rm -f core conftest.err conftest.$ac_objext \
8560 conftest$ac_exeext conftest.$ac_ext
8561 LIBS=$ac_check_lib_save_LIBS
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8564 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8565 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8566 PTHREAD_LIBS="-lpthread"
8573 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8574 case "x$with_pthread" in
8575 xno) ;;
8576 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8577 Wine cannot support threads without libpthread.
8578 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8579 esac
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8584 $as_echo_n "checking for X... " >&6; }
8587 # Check whether --with-x was given.
8588 if test "${with_x+set}" = set; then :
8589 withval=$with_x;
8592 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8593 if test "x$with_x" = xno; then
8594 # The user explicitly disabled X.
8595 have_x=disabled
8596 else
8597 case $x_includes,$x_libraries in #(
8598 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8599 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8600 $as_echo_n "(cached) " >&6
8601 else
8602 # One or both of the vars are not set, and there is no cached value.
8603 ac_x_includes=no ac_x_libraries=no
8604 rm -f -r conftest.dir
8605 if mkdir conftest.dir; then
8606 cd conftest.dir
8607 cat >Imakefile <<'_ACEOF'
8608 incroot:
8609 @echo incroot='${INCROOT}'
8610 usrlibdir:
8611 @echo usrlibdir='${USRLIBDIR}'
8612 libdir:
8613 @echo libdir='${LIBDIR}'
8614 _ACEOF
8615 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8616 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8617 for ac_var in incroot usrlibdir libdir; do
8618 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8619 done
8620 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8621 for ac_extension in a so sl dylib la dll; do
8622 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8623 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8624 ac_im_usrlibdir=$ac_im_libdir; break
8626 done
8627 # Screen out bogus values from the imake configuration. They are
8628 # bogus both because they are the default anyway, and because
8629 # using them would break gcc on systems where it needs fixed includes.
8630 case $ac_im_incroot in
8631 /usr/include) ac_x_includes= ;;
8632 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8633 esac
8634 case $ac_im_usrlibdir in
8635 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8636 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8637 esac
8639 cd ..
8640 rm -f -r conftest.dir
8643 # Standard set of common directories for X headers.
8644 # Check X11 before X11Rn because it is often a symlink to the current release.
8645 ac_x_header_dirs='
8646 /usr/X11/include
8647 /usr/X11R7/include
8648 /usr/X11R6/include
8649 /usr/X11R5/include
8650 /usr/X11R4/include
8652 /usr/include/X11
8653 /usr/include/X11R7
8654 /usr/include/X11R6
8655 /usr/include/X11R5
8656 /usr/include/X11R4
8658 /usr/local/X11/include
8659 /usr/local/X11R7/include
8660 /usr/local/X11R6/include
8661 /usr/local/X11R5/include
8662 /usr/local/X11R4/include
8664 /usr/local/include/X11
8665 /usr/local/include/X11R7
8666 /usr/local/include/X11R6
8667 /usr/local/include/X11R5
8668 /usr/local/include/X11R4
8670 /usr/X386/include
8671 /usr/x386/include
8672 /usr/XFree86/include/X11
8674 /usr/include
8675 /usr/local/include
8676 /usr/unsupported/include
8677 /usr/athena/include
8678 /usr/local/x11r5/include
8679 /usr/lpp/Xamples/include
8681 /usr/openwin/include
8682 /usr/openwin/share/include'
8684 if test "$ac_x_includes" = no; then
8685 # Guess where to find include files, by looking for Xlib.h.
8686 # First, try using that file with no special directory specified.
8687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8688 /* end confdefs.h. */
8689 #include <X11/Xlib.h>
8690 _ACEOF
8691 if ac_fn_c_try_cpp "$LINENO"; then :
8692 # We can compile using X headers with no special include directory.
8693 ac_x_includes=
8694 else
8695 for ac_dir in $ac_x_header_dirs; do
8696 if test -r "$ac_dir/X11/Xlib.h"; then
8697 ac_x_includes=$ac_dir
8698 break
8700 done
8702 rm -f conftest.err conftest.i conftest.$ac_ext
8703 fi # $ac_x_includes = no
8705 if test "$ac_x_libraries" = no; then
8706 # Check for the libraries.
8707 # See if we find them without any special options.
8708 # Don't add to $LIBS permanently.
8709 ac_save_LIBS=$LIBS
8710 LIBS="-lX11 $LIBS"
8711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8712 /* end confdefs.h. */
8713 #include <X11/Xlib.h>
8715 main ()
8717 XrmInitialize ()
8719 return 0;
8721 _ACEOF
8722 if ac_fn_c_try_link "$LINENO"; then :
8723 LIBS=$ac_save_LIBS
8724 # We can link X programs with no special library path.
8725 ac_x_libraries=
8726 else
8727 LIBS=$ac_save_LIBS
8728 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8730 # Don't even attempt the hair of trying to link an X program!
8731 for ac_extension in a so sl dylib la dll; do
8732 if test -r "$ac_dir/libX11.$ac_extension"; then
8733 ac_x_libraries=$ac_dir
8734 break 2
8736 done
8737 done
8739 rm -f core conftest.err conftest.$ac_objext \
8740 conftest$ac_exeext conftest.$ac_ext
8741 fi # $ac_x_libraries = no
8743 case $ac_x_includes,$ac_x_libraries in #(
8744 no,* | *,no | *\'*)
8745 # Didn't find X, or a directory has "'" in its name.
8746 ac_cv_have_x="have_x=no";; #(
8748 # Record where we found X for the cache.
8749 ac_cv_have_x="have_x=yes\
8750 ac_x_includes='$ac_x_includes'\
8751 ac_x_libraries='$ac_x_libraries'"
8752 esac
8754 ;; #(
8755 *) have_x=yes;;
8756 esac
8757 eval "$ac_cv_have_x"
8758 fi # $with_x != no
8760 if test "$have_x" != yes; then
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8762 $as_echo "$have_x" >&6; }
8763 no_x=yes
8764 else
8765 # If each of the values was on the command line, it overrides each guess.
8766 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8767 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8768 # Update the cache value to reflect the command line values.
8769 ac_cv_have_x="have_x=yes\
8770 ac_x_includes='$x_includes'\
8771 ac_x_libraries='$x_libraries'"
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8773 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8776 if test "$no_x" = yes; then
8777 # Not all programs may use this symbol, but it does not hurt to define it.
8779 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8781 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8782 else
8783 if test -n "$x_includes"; then
8784 X_CFLAGS="$X_CFLAGS -I$x_includes"
8787 # It would also be nice to do this for all -L options, not just this one.
8788 if test -n "$x_libraries"; then
8789 X_LIBS="$X_LIBS -L$x_libraries"
8790 # For Solaris; some versions of Sun CC require a space after -R and
8791 # others require no space. Words are not sufficient . . . .
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8793 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8794 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8795 ac_xsave_c_werror_flag=$ac_c_werror_flag
8796 ac_c_werror_flag=yes
8797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8798 /* end confdefs.h. */
8801 main ()
8805 return 0;
8807 _ACEOF
8808 if ac_fn_c_try_link "$LINENO"; then :
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8810 $as_echo "no" >&6; }
8811 X_LIBS="$X_LIBS -R$x_libraries"
8812 else
8813 LIBS="$ac_xsave_LIBS -R $x_libraries"
8814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8815 /* end confdefs.h. */
8818 main ()
8822 return 0;
8824 _ACEOF
8825 if ac_fn_c_try_link "$LINENO"; then :
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8827 $as_echo "yes" >&6; }
8828 X_LIBS="$X_LIBS -R $x_libraries"
8829 else
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8831 $as_echo "neither works" >&6; }
8833 rm -f core conftest.err conftest.$ac_objext \
8834 conftest$ac_exeext conftest.$ac_ext
8836 rm -f core conftest.err conftest.$ac_objext \
8837 conftest$ac_exeext conftest.$ac_ext
8838 ac_c_werror_flag=$ac_xsave_c_werror_flag
8839 LIBS=$ac_xsave_LIBS
8842 # Check for system-dependent libraries X programs must link with.
8843 # Do this before checking for the system-independent R6 libraries
8844 # (-lICE), since we may need -lsocket or whatever for X linking.
8846 if test "$ISC" = yes; then
8847 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8848 else
8849 # Martyn Johnson says this is needed for Ultrix, if the X
8850 # libraries were built with DECnet support. And Karl Berry says
8851 # the Alpha needs dnet_stub (dnet does not exist).
8852 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8854 /* end confdefs.h. */
8856 /* Override any GCC internal prototype to avoid an error.
8857 Use char because int might match the return type of a GCC
8858 builtin and then its argument prototype would still apply. */
8859 #ifdef __cplusplus
8860 extern "C"
8861 #endif
8862 char XOpenDisplay ();
8864 main ()
8866 return XOpenDisplay ();
8868 return 0;
8870 _ACEOF
8871 if ac_fn_c_try_link "$LINENO"; then :
8873 else
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8875 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8876 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8877 $as_echo_n "(cached) " >&6
8878 else
8879 ac_check_lib_save_LIBS=$LIBS
8880 LIBS="-ldnet $LIBS"
8881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8882 /* end confdefs.h. */
8884 /* Override any GCC internal prototype to avoid an error.
8885 Use char because int might match the return type of a GCC
8886 builtin and then its argument prototype would still apply. */
8887 #ifdef __cplusplus
8888 extern "C"
8889 #endif
8890 char dnet_ntoa ();
8892 main ()
8894 return dnet_ntoa ();
8896 return 0;
8898 _ACEOF
8899 if ac_fn_c_try_link "$LINENO"; then :
8900 ac_cv_lib_dnet_dnet_ntoa=yes
8901 else
8902 ac_cv_lib_dnet_dnet_ntoa=no
8904 rm -f core conftest.err conftest.$ac_objext \
8905 conftest$ac_exeext conftest.$ac_ext
8906 LIBS=$ac_check_lib_save_LIBS
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8909 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8910 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8911 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8914 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8916 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8917 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8918 $as_echo_n "(cached) " >&6
8919 else
8920 ac_check_lib_save_LIBS=$LIBS
8921 LIBS="-ldnet_stub $LIBS"
8922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8923 /* end confdefs.h. */
8925 /* Override any GCC internal prototype to avoid an error.
8926 Use char because int might match the return type of a GCC
8927 builtin and then its argument prototype would still apply. */
8928 #ifdef __cplusplus
8929 extern "C"
8930 #endif
8931 char dnet_ntoa ();
8933 main ()
8935 return dnet_ntoa ();
8937 return 0;
8939 _ACEOF
8940 if ac_fn_c_try_link "$LINENO"; then :
8941 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8942 else
8943 ac_cv_lib_dnet_stub_dnet_ntoa=no
8945 rm -f core conftest.err conftest.$ac_objext \
8946 conftest$ac_exeext conftest.$ac_ext
8947 LIBS=$ac_check_lib_save_LIBS
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8950 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8951 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8952 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8957 rm -f core conftest.err conftest.$ac_objext \
8958 conftest$ac_exeext conftest.$ac_ext
8959 LIBS="$ac_xsave_LIBS"
8961 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8962 # to get the SysV transport functions.
8963 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8964 # needs -lnsl.
8965 # The nsl library prevents programs from opening the X display
8966 # on Irix 5.2, according to T.E. Dickey.
8967 # The functions gethostbyname, getservbyname, and inet_addr are
8968 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8969 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8970 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8974 if test $ac_cv_func_gethostbyname = no; then
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8976 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8977 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8978 $as_echo_n "(cached) " >&6
8979 else
8980 ac_check_lib_save_LIBS=$LIBS
8981 LIBS="-lnsl $LIBS"
8982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8983 /* end confdefs.h. */
8985 /* Override any GCC internal prototype to avoid an error.
8986 Use char because int might match the return type of a GCC
8987 builtin and then its argument prototype would still apply. */
8988 #ifdef __cplusplus
8989 extern "C"
8990 #endif
8991 char gethostbyname ();
8993 main ()
8995 return gethostbyname ();
8997 return 0;
8999 _ACEOF
9000 if ac_fn_c_try_link "$LINENO"; then :
9001 ac_cv_lib_nsl_gethostbyname=yes
9002 else
9003 ac_cv_lib_nsl_gethostbyname=no
9005 rm -f core conftest.err conftest.$ac_objext \
9006 conftest$ac_exeext conftest.$ac_ext
9007 LIBS=$ac_check_lib_save_LIBS
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9010 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9011 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9012 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9015 if test $ac_cv_lib_nsl_gethostbyname = no; then
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9017 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9018 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9019 $as_echo_n "(cached) " >&6
9020 else
9021 ac_check_lib_save_LIBS=$LIBS
9022 LIBS="-lbsd $LIBS"
9023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9024 /* end confdefs.h. */
9026 /* Override any GCC internal prototype to avoid an error.
9027 Use char because int might match the return type of a GCC
9028 builtin and then its argument prototype would still apply. */
9029 #ifdef __cplusplus
9030 extern "C"
9031 #endif
9032 char gethostbyname ();
9034 main ()
9036 return gethostbyname ();
9038 return 0;
9040 _ACEOF
9041 if ac_fn_c_try_link "$LINENO"; then :
9042 ac_cv_lib_bsd_gethostbyname=yes
9043 else
9044 ac_cv_lib_bsd_gethostbyname=no
9046 rm -f core conftest.err conftest.$ac_objext \
9047 conftest$ac_exeext conftest.$ac_ext
9048 LIBS=$ac_check_lib_save_LIBS
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9051 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9052 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9053 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9059 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9060 # socket/setsockopt and other routines are undefined under SCO ODT
9061 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9062 # on later versions), says Simon Leinen: it contains gethostby*
9063 # variants that don't use the name server (or something). -lsocket
9064 # must be given before -lnsl if both are needed. We assume that
9065 # if connect needs -lnsl, so does gethostbyname.
9066 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9067 if test "x$ac_cv_func_connect" = xyes; then :
9071 if test $ac_cv_func_connect = no; then
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9073 $as_echo_n "checking for connect in -lsocket... " >&6; }
9074 if ${ac_cv_lib_socket_connect+:} false; then :
9075 $as_echo_n "(cached) " >&6
9076 else
9077 ac_check_lib_save_LIBS=$LIBS
9078 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9080 /* end confdefs.h. */
9082 /* Override any GCC internal prototype to avoid an error.
9083 Use char because int might match the return type of a GCC
9084 builtin and then its argument prototype would still apply. */
9085 #ifdef __cplusplus
9086 extern "C"
9087 #endif
9088 char connect ();
9090 main ()
9092 return connect ();
9094 return 0;
9096 _ACEOF
9097 if ac_fn_c_try_link "$LINENO"; then :
9098 ac_cv_lib_socket_connect=yes
9099 else
9100 ac_cv_lib_socket_connect=no
9102 rm -f core conftest.err conftest.$ac_objext \
9103 conftest$ac_exeext conftest.$ac_ext
9104 LIBS=$ac_check_lib_save_LIBS
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9107 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9108 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9109 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9114 # Guillermo Gomez says -lposix is necessary on A/UX.
9115 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9116 if test "x$ac_cv_func_remove" = xyes; then :
9120 if test $ac_cv_func_remove = no; then
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9122 $as_echo_n "checking for remove in -lposix... " >&6; }
9123 if ${ac_cv_lib_posix_remove+:} false; then :
9124 $as_echo_n "(cached) " >&6
9125 else
9126 ac_check_lib_save_LIBS=$LIBS
9127 LIBS="-lposix $LIBS"
9128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9129 /* end confdefs.h. */
9131 /* Override any GCC internal prototype to avoid an error.
9132 Use char because int might match the return type of a GCC
9133 builtin and then its argument prototype would still apply. */
9134 #ifdef __cplusplus
9135 extern "C"
9136 #endif
9137 char remove ();
9139 main ()
9141 return remove ();
9143 return 0;
9145 _ACEOF
9146 if ac_fn_c_try_link "$LINENO"; then :
9147 ac_cv_lib_posix_remove=yes
9148 else
9149 ac_cv_lib_posix_remove=no
9151 rm -f core conftest.err conftest.$ac_objext \
9152 conftest$ac_exeext conftest.$ac_ext
9153 LIBS=$ac_check_lib_save_LIBS
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9156 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9157 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9158 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9163 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9164 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9165 if test "x$ac_cv_func_shmat" = xyes; then :
9169 if test $ac_cv_func_shmat = no; then
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9171 $as_echo_n "checking for shmat in -lipc... " >&6; }
9172 if ${ac_cv_lib_ipc_shmat+:} false; then :
9173 $as_echo_n "(cached) " >&6
9174 else
9175 ac_check_lib_save_LIBS=$LIBS
9176 LIBS="-lipc $LIBS"
9177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9178 /* end confdefs.h. */
9180 /* Override any GCC internal prototype to avoid an error.
9181 Use char because int might match the return type of a GCC
9182 builtin and then its argument prototype would still apply. */
9183 #ifdef __cplusplus
9184 extern "C"
9185 #endif
9186 char shmat ();
9188 main ()
9190 return shmat ();
9192 return 0;
9194 _ACEOF
9195 if ac_fn_c_try_link "$LINENO"; then :
9196 ac_cv_lib_ipc_shmat=yes
9197 else
9198 ac_cv_lib_ipc_shmat=no
9200 rm -f core conftest.err conftest.$ac_objext \
9201 conftest$ac_exeext conftest.$ac_ext
9202 LIBS=$ac_check_lib_save_LIBS
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9205 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9206 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9207 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9213 # Check for libraries that X11R6 Xt/Xaw programs need.
9214 ac_save_LDFLAGS=$LDFLAGS
9215 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9216 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9217 # check for ICE first), but we must link in the order -lSM -lICE or
9218 # we get undefined symbols. So assume we have SM if we have ICE.
9219 # These have to be linked with before -lX11, unlike the other
9220 # libraries we check for below, so use a different variable.
9221 # John Interrante, Karl Berry
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9223 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9224 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9225 $as_echo_n "(cached) " >&6
9226 else
9227 ac_check_lib_save_LIBS=$LIBS
9228 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9230 /* end confdefs.h. */
9232 /* Override any GCC internal prototype to avoid an error.
9233 Use char because int might match the return type of a GCC
9234 builtin and then its argument prototype would still apply. */
9235 #ifdef __cplusplus
9236 extern "C"
9237 #endif
9238 char IceConnectionNumber ();
9240 main ()
9242 return IceConnectionNumber ();
9244 return 0;
9246 _ACEOF
9247 if ac_fn_c_try_link "$LINENO"; then :
9248 ac_cv_lib_ICE_IceConnectionNumber=yes
9249 else
9250 ac_cv_lib_ICE_IceConnectionNumber=no
9252 rm -f core conftest.err conftest.$ac_objext \
9253 conftest$ac_exeext conftest.$ac_ext
9254 LIBS=$ac_check_lib_save_LIBS
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9257 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9258 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9259 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9262 LDFLAGS=$ac_save_LDFLAGS
9267 if test "$have_x" = "yes"
9268 then
9269 ac_save_CPPFLAGS="$CPPFLAGS"
9270 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9273 $as_echo_n "checking for -lX11... " >&6; }
9274 if ${ac_cv_lib_soname_X11+:} false; then :
9275 $as_echo_n "(cached) " >&6
9276 else
9277 ac_check_soname_save_LIBS=$LIBS
9278 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9280 /* end confdefs.h. */
9282 /* Override any GCC internal prototype to avoid an error.
9283 Use char because int might match the return type of a GCC
9284 builtin and then its argument prototype would still apply. */
9285 #ifdef __cplusplus
9286 extern "C"
9287 #endif
9288 char XCreateWindow ();
9290 main ()
9292 return XCreateWindow ();
9294 return 0;
9296 _ACEOF
9297 if ac_fn_c_try_link "$LINENO"; then :
9298 case "$LIBEXT" in
9299 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9300 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'` ;;
9301 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9302 if ${ac_cv_lib_soname_X11:+false} :; then :
9303 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9304 fi ;;
9305 esac
9307 rm -f core conftest.err conftest.$ac_objext \
9308 conftest$ac_exeext conftest.$ac_ext
9309 LIBS=$ac_check_soname_save_LIBS
9311 if ${ac_cv_lib_soname_X11:+false} :; then :
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9313 $as_echo "not found" >&6; }
9315 else
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9317 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9319 cat >>confdefs.h <<_ACEOF
9320 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9321 _ACEOF
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9326 $as_echo_n "checking for -lXext... " >&6; }
9327 if ${ac_cv_lib_soname_Xext+:} false; then :
9328 $as_echo_n "(cached) " >&6
9329 else
9330 ac_check_soname_save_LIBS=$LIBS
9331 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9333 /* end confdefs.h. */
9335 /* Override any GCC internal prototype to avoid an error.
9336 Use char because int might match the return type of a GCC
9337 builtin and then its argument prototype would still apply. */
9338 #ifdef __cplusplus
9339 extern "C"
9340 #endif
9341 char XextCreateExtension ();
9343 main ()
9345 return XextCreateExtension ();
9347 return 0;
9349 _ACEOF
9350 if ac_fn_c_try_link "$LINENO"; then :
9351 case "$LIBEXT" in
9352 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9353 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'` ;;
9354 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9355 if ${ac_cv_lib_soname_Xext:+false} :; then :
9356 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9357 fi ;;
9358 esac
9360 rm -f core conftest.err conftest.$ac_objext \
9361 conftest$ac_exeext conftest.$ac_ext
9362 LIBS=$ac_check_soname_save_LIBS
9364 if ${ac_cv_lib_soname_Xext:+false} :; then :
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9366 $as_echo "not found" >&6; }
9368 else
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9370 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9372 cat >>confdefs.h <<_ACEOF
9373 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9374 _ACEOF
9376 X_LIBS="$X_LIBS -lXext"
9378 X_LIBS="$X_LIBS -lX11"
9380 for ac_header in X11/Xlib.h \
9381 X11/XKBlib.h \
9382 X11/Xutil.h \
9383 X11/Xcursor/Xcursor.h \
9384 X11/extensions/shape.h \
9385 X11/extensions/XInput.h \
9386 X11/extensions/XInput2.h \
9387 X11/extensions/XShm.h \
9388 X11/extensions/Xcomposite.h \
9389 X11/extensions/Xinerama.h \
9390 X11/extensions/Xrandr.h \
9391 X11/extensions/Xrender.h \
9392 X11/extensions/xf86vmode.h \
9393 X11/extensions/xf86vmproto.h
9394 do :
9395 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9396 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9397 # include <X11/Xlib.h>
9398 #endif
9399 #ifdef HAVE_X11_XUTIL_H
9400 # include <X11/Xutil.h>
9401 #endif
9403 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9404 cat >>confdefs.h <<_ACEOF
9405 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9406 _ACEOF
9410 done
9413 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9414 then
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9416 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9417 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9418 $as_echo_n "(cached) " >&6
9419 else
9420 ac_check_lib_save_LIBS=$LIBS
9421 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9423 /* end confdefs.h. */
9425 /* Override any GCC internal prototype to avoid an error.
9426 Use char because int might match the return type of a GCC
9427 builtin and then its argument prototype would still apply. */
9428 #ifdef __cplusplus
9429 extern "C"
9430 #endif
9431 char XkbQueryExtension ();
9433 main ()
9435 return XkbQueryExtension ();
9437 return 0;
9439 _ACEOF
9440 if ac_fn_c_try_link "$LINENO"; then :
9441 ac_cv_lib_X11_XkbQueryExtension=yes
9442 else
9443 ac_cv_lib_X11_XkbQueryExtension=no
9445 rm -f core conftest.err conftest.$ac_objext \
9446 conftest$ac_exeext conftest.$ac_ext
9447 LIBS=$ac_check_lib_save_LIBS
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9450 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9451 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9453 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9459 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9460 then
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9462 $as_echo_n "checking for -lXcursor... " >&6; }
9463 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9464 $as_echo_n "(cached) " >&6
9465 else
9466 ac_check_soname_save_LIBS=$LIBS
9467 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9471 /* Override any GCC internal prototype to avoid an error.
9472 Use char because int might match the return type of a GCC
9473 builtin and then its argument prototype would still apply. */
9474 #ifdef __cplusplus
9475 extern "C"
9476 #endif
9477 char XcursorImageLoadCursor ();
9479 main ()
9481 return XcursorImageLoadCursor ();
9483 return 0;
9485 _ACEOF
9486 if ac_fn_c_try_link "$LINENO"; then :
9487 case "$LIBEXT" in
9488 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9489 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'` ;;
9490 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9491 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9492 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9493 fi ;;
9494 esac
9496 rm -f core conftest.err conftest.$ac_objext \
9497 conftest$ac_exeext conftest.$ac_ext
9498 LIBS=$ac_check_soname_save_LIBS
9500 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9502 $as_echo "not found" >&6; }
9504 else
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9506 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9508 cat >>confdefs.h <<_ACEOF
9509 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9510 _ACEOF
9515 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9516 case "x$with_xcursor" in
9517 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9518 xno) ;;
9519 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9520 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9521 esac
9524 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9525 then
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9527 $as_echo_n "checking for -lXi... " >&6; }
9528 if ${ac_cv_lib_soname_Xi+:} false; then :
9529 $as_echo_n "(cached) " >&6
9530 else
9531 ac_check_soname_save_LIBS=$LIBS
9532 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9534 /* end confdefs.h. */
9536 /* Override any GCC internal prototype to avoid an error.
9537 Use char because int might match the return type of a GCC
9538 builtin and then its argument prototype would still apply. */
9539 #ifdef __cplusplus
9540 extern "C"
9541 #endif
9542 char XOpenDevice ();
9544 main ()
9546 return XOpenDevice ();
9548 return 0;
9550 _ACEOF
9551 if ac_fn_c_try_link "$LINENO"; then :
9552 case "$LIBEXT" in
9553 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9554 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'` ;;
9555 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9556 if ${ac_cv_lib_soname_Xi:+false} :; then :
9557 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9558 fi ;;
9559 esac
9561 rm -f core conftest.err conftest.$ac_objext \
9562 conftest$ac_exeext conftest.$ac_ext
9563 LIBS=$ac_check_soname_save_LIBS
9565 if ${ac_cv_lib_soname_Xi:+false} :; then :
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9567 $as_echo "not found" >&6; }
9569 else
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9571 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9573 cat >>confdefs.h <<_ACEOF
9574 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9575 _ACEOF
9580 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9581 case "x$with_xinput" in
9582 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9583 xno) ;;
9584 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9585 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9586 esac
9589 if test "x$ac_cv_lib_soname_Xi" != x
9590 then
9591 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9592 case "x$with_xinput2" in
9593 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9594 xno) ;;
9595 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9596 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9597 esac
9601 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9602 then
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9604 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9605 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9606 $as_echo_n "(cached) " >&6
9607 else
9608 ac_check_lib_save_LIBS=$LIBS
9609 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9611 /* end confdefs.h. */
9613 /* Override any GCC internal prototype to avoid an error.
9614 Use char because int might match the return type of a GCC
9615 builtin and then its argument prototype would still apply. */
9616 #ifdef __cplusplus
9617 extern "C"
9618 #endif
9619 char XShmQueryExtension ();
9621 main ()
9623 return XShmQueryExtension ();
9625 return 0;
9627 _ACEOF
9628 if ac_fn_c_try_link "$LINENO"; then :
9629 ac_cv_lib_Xext_XShmQueryExtension=yes
9630 else
9631 ac_cv_lib_Xext_XShmQueryExtension=no
9633 rm -f core conftest.err conftest.$ac_objext \
9634 conftest$ac_exeext conftest.$ac_ext
9635 LIBS=$ac_check_lib_save_LIBS
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9638 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9639 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9641 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9646 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9647 case "x$with_xshm" in
9648 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9649 xno) ;;
9650 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9651 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9652 esac
9655 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9656 then
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9658 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9659 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9660 $as_echo_n "(cached) " >&6
9661 else
9662 ac_check_lib_save_LIBS=$LIBS
9663 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9665 /* end confdefs.h. */
9667 /* Override any GCC internal prototype to avoid an error.
9668 Use char because int might match the return type of a GCC
9669 builtin and then its argument prototype would still apply. */
9670 #ifdef __cplusplus
9671 extern "C"
9672 #endif
9673 char XShapeQueryExtension ();
9675 main ()
9677 return XShapeQueryExtension ();
9679 return 0;
9681 _ACEOF
9682 if ac_fn_c_try_link "$LINENO"; then :
9683 ac_cv_lib_Xext_XShapeQueryExtension=yes
9684 else
9685 ac_cv_lib_Xext_XShapeQueryExtension=no
9687 rm -f core conftest.err conftest.$ac_objext \
9688 conftest$ac_exeext conftest.$ac_ext
9689 LIBS=$ac_check_lib_save_LIBS
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9692 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9693 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9695 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9700 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9701 case "x$with_xshape" in
9702 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9703 xno) ;;
9704 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9705 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9706 esac
9709 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9710 then
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9712 $as_echo_n "checking for -lXxf86vm... " >&6; }
9713 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9714 $as_echo_n "(cached) " >&6
9715 else
9716 ac_check_soname_save_LIBS=$LIBS
9717 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9719 /* end confdefs.h. */
9721 /* Override any GCC internal prototype to avoid an error.
9722 Use char because int might match the return type of a GCC
9723 builtin and then its argument prototype would still apply. */
9724 #ifdef __cplusplus
9725 extern "C"
9726 #endif
9727 char XF86VidModeQueryExtension ();
9729 main ()
9731 return XF86VidModeQueryExtension ();
9733 return 0;
9735 _ACEOF
9736 if ac_fn_c_try_link "$LINENO"; then :
9737 case "$LIBEXT" in
9738 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9739 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'` ;;
9740 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9741 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9742 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9743 fi ;;
9744 esac
9746 rm -f core conftest.err conftest.$ac_objext \
9747 conftest$ac_exeext conftest.$ac_ext
9748 LIBS=$ac_check_soname_save_LIBS
9750 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9752 $as_echo "not found" >&6; }
9754 else
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9756 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9758 cat >>confdefs.h <<_ACEOF
9759 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9760 _ACEOF
9765 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9766 case "x$with_xxf86vm" in
9767 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9768 xno) ;;
9769 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9770 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9771 esac
9774 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
9775 then
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9777 $as_echo_n "checking for -lXrender... " >&6; }
9778 if ${ac_cv_lib_soname_Xrender+:} false; then :
9779 $as_echo_n "(cached) " >&6
9780 else
9781 ac_check_soname_save_LIBS=$LIBS
9782 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9784 /* end confdefs.h. */
9786 /* Override any GCC internal prototype to avoid an error.
9787 Use char because int might match the return type of a GCC
9788 builtin and then its argument prototype would still apply. */
9789 #ifdef __cplusplus
9790 extern "C"
9791 #endif
9792 char XRenderQueryExtension ();
9794 main ()
9796 return XRenderQueryExtension ();
9798 return 0;
9800 _ACEOF
9801 if ac_fn_c_try_link "$LINENO"; then :
9802 case "$LIBEXT" in
9803 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9804 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'` ;;
9805 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9806 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9807 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9808 fi ;;
9809 esac
9811 rm -f core conftest.err conftest.$ac_objext \
9812 conftest$ac_exeext conftest.$ac_ext
9813 LIBS=$ac_check_soname_save_LIBS
9815 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9817 $as_echo "not found" >&6; }
9819 else
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9821 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9823 cat >>confdefs.h <<_ACEOF
9824 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9825 _ACEOF
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9828 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9829 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9830 $as_echo_n "(cached) " >&6
9831 else
9832 ac_check_lib_save_LIBS=$LIBS
9833 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9835 /* end confdefs.h. */
9837 /* Override any GCC internal prototype to avoid an error.
9838 Use char because int might match the return type of a GCC
9839 builtin and then its argument prototype would still apply. */
9840 #ifdef __cplusplus
9841 extern "C"
9842 #endif
9843 char XRenderSetPictureTransform ();
9845 main ()
9847 return XRenderSetPictureTransform ();
9849 return 0;
9851 _ACEOF
9852 if ac_fn_c_try_link "$LINENO"; then :
9853 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9854 else
9855 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9857 rm -f core conftest.err conftest.$ac_objext \
9858 conftest$ac_exeext conftest.$ac_ext
9859 LIBS=$ac_check_lib_save_LIBS
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9862 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9863 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9865 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9870 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9871 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9872 $as_echo_n "(cached) " >&6
9873 else
9874 ac_check_lib_save_LIBS=$LIBS
9875 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9879 /* Override any GCC internal prototype to avoid an error.
9880 Use char because int might match the return type of a GCC
9881 builtin and then its argument prototype would still apply. */
9882 #ifdef __cplusplus
9883 extern "C"
9884 #endif
9885 char XRenderCreateLinearGradient ();
9887 main ()
9889 return XRenderCreateLinearGradient ();
9891 return 0;
9893 _ACEOF
9894 if ac_fn_c_try_link "$LINENO"; then :
9895 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9896 else
9897 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9899 rm -f core conftest.err conftest.$ac_objext \
9900 conftest$ac_exeext conftest.$ac_ext
9901 LIBS=$ac_check_lib_save_LIBS
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9904 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9905 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9907 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9914 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9915 case "x$with_xrender" in
9916 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9917 xno) ;;
9918 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9919 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9920 esac
9923 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9924 then
9925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9926 /* end confdefs.h. */
9927 #include <X11/Xlib.h>
9928 #include <X11/extensions/Xrandr.h>
9930 main ()
9932 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9934 return 0;
9936 _ACEOF
9937 if ac_fn_c_try_compile "$LINENO"; then :
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9939 $as_echo_n "checking for -lXrandr... " >&6; }
9940 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9941 $as_echo_n "(cached) " >&6
9942 else
9943 ac_check_soname_save_LIBS=$LIBS
9944 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9946 /* end confdefs.h. */
9948 /* Override any GCC internal prototype to avoid an error.
9949 Use char because int might match the return type of a GCC
9950 builtin and then its argument prototype would still apply. */
9951 #ifdef __cplusplus
9952 extern "C"
9953 #endif
9954 char XRRQueryExtension ();
9956 main ()
9958 return XRRQueryExtension ();
9960 return 0;
9962 _ACEOF
9963 if ac_fn_c_try_link "$LINENO"; then :
9964 case "$LIBEXT" in
9965 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9966 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'` ;;
9967 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9968 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9969 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9970 fi ;;
9971 esac
9973 rm -f core conftest.err conftest.$ac_objext \
9974 conftest$ac_exeext conftest.$ac_ext
9975 LIBS=$ac_check_soname_save_LIBS
9977 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9979 $as_echo "not found" >&6; }
9981 else
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9983 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9985 cat >>confdefs.h <<_ACEOF
9986 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9987 _ACEOF
9989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9990 /* end confdefs.h. */
9991 #include <X11/Xlib.h>
9992 #include <X11/extensions/Xrandr.h>
9994 main ()
9996 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9998 return 0;
10000 _ACEOF
10001 if ac_fn_c_try_compile "$LINENO"; then :
10003 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10011 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10012 case "x$with_xrandr" in
10013 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10014 xno) ;;
10015 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10016 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10017 esac
10020 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10021 then
10022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10023 /* end confdefs.h. */
10024 #include <X11/Xlib.h>
10025 #include <X11/extensions/Xinerama.h>
10027 main ()
10029 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10031 return 0;
10033 _ACEOF
10034 if ac_fn_c_try_compile "$LINENO"; then :
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10036 $as_echo_n "checking for -lXinerama... " >&6; }
10037 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10038 $as_echo_n "(cached) " >&6
10039 else
10040 ac_check_soname_save_LIBS=$LIBS
10041 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10045 /* Override any GCC internal prototype to avoid an error.
10046 Use char because int might match the return type of a GCC
10047 builtin and then its argument prototype would still apply. */
10048 #ifdef __cplusplus
10049 extern "C"
10050 #endif
10051 char XineramaQueryScreens ();
10053 main ()
10055 return XineramaQueryScreens ();
10057 return 0;
10059 _ACEOF
10060 if ac_fn_c_try_link "$LINENO"; then :
10061 case "$LIBEXT" in
10062 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10063 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'` ;;
10064 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10065 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10066 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10067 fi ;;
10068 esac
10070 rm -f core conftest.err conftest.$ac_objext \
10071 conftest$ac_exeext conftest.$ac_ext
10072 LIBS=$ac_check_soname_save_LIBS
10074 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10076 $as_echo "not found" >&6; }
10078 else
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10080 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10082 cat >>confdefs.h <<_ACEOF
10083 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10084 _ACEOF
10089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10091 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10092 case "x$with_xinerama" in
10093 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10094 xno) ;;
10095 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10096 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10097 esac
10100 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10101 then
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10103 $as_echo_n "checking for -lXcomposite... " >&6; }
10104 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10105 $as_echo_n "(cached) " >&6
10106 else
10107 ac_check_soname_save_LIBS=$LIBS
10108 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10110 /* end confdefs.h. */
10112 /* Override any GCC internal prototype to avoid an error.
10113 Use char because int might match the return type of a GCC
10114 builtin and then its argument prototype would still apply. */
10115 #ifdef __cplusplus
10116 extern "C"
10117 #endif
10118 char XCompositeRedirectWindow ();
10120 main ()
10122 return XCompositeRedirectWindow ();
10124 return 0;
10126 _ACEOF
10127 if ac_fn_c_try_link "$LINENO"; then :
10128 case "$LIBEXT" in
10129 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10130 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'` ;;
10131 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10132 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10133 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10134 fi ;;
10135 esac
10137 rm -f core conftest.err conftest.$ac_objext \
10138 conftest$ac_exeext conftest.$ac_ext
10139 LIBS=$ac_check_soname_save_LIBS
10141 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10143 $as_echo "not found" >&6; }
10145 else
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10147 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10149 cat >>confdefs.h <<_ACEOF
10150 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10151 _ACEOF
10156 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10157 case "x$with_xcomposite" in
10158 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10159 xno) ;;
10160 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10161 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10162 esac
10165 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10166 #include <X11/Xlib.h>
10167 #endif
10169 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10171 cat >>confdefs.h <<_ACEOF
10172 #define HAVE_XICCALLBACK_CALLBACK 1
10173 _ACEOF
10177 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10178 #include <X11/Xlib.h>
10179 #endif
10181 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10183 cat >>confdefs.h <<_ACEOF
10184 #define HAVE_XEVENT_XCOOKIE 1
10185 _ACEOF
10192 opengl_msg=""
10193 if test "x$with_opengl" != "xno"
10194 then
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10196 $as_echo_n "checking for -lGL... " >&6; }
10197 if ${ac_cv_lib_soname_GL+:} false; then :
10198 $as_echo_n "(cached) " >&6
10199 else
10200 ac_check_soname_save_LIBS=$LIBS
10201 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10203 /* end confdefs.h. */
10205 /* Override any GCC internal prototype to avoid an error.
10206 Use char because int might match the return type of a GCC
10207 builtin and then its argument prototype would still apply. */
10208 #ifdef __cplusplus
10209 extern "C"
10210 #endif
10211 char glXCreateContext ();
10213 main ()
10215 return glXCreateContext ();
10217 return 0;
10219 _ACEOF
10220 if ac_fn_c_try_link "$LINENO"; then :
10221 case "$LIBEXT" in
10222 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10223 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'` ;;
10224 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10225 if ${ac_cv_lib_soname_GL:+false} :; then :
10226 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10227 fi ;;
10228 esac
10230 rm -f core conftest.err conftest.$ac_objext \
10231 conftest$ac_exeext conftest.$ac_ext
10232 LIBS=$ac_check_soname_save_LIBS
10234 if ${ac_cv_lib_soname_GL:+false} :; then :
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10236 $as_echo "not found" >&6; }
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10238 $as_echo_n "checking for -lGL... " >&6; }
10239 if ${ac_cv_lib_soname_GL+:} false; then :
10240 $as_echo_n "(cached) " >&6
10241 else
10242 ac_check_soname_save_LIBS=$LIBS
10243 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"
10244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10247 /* Override any GCC internal prototype to avoid an error.
10248 Use char because int might match the return type of a GCC
10249 builtin and then its argument prototype would still apply. */
10250 #ifdef __cplusplus
10251 extern "C"
10252 #endif
10253 char glXCreateContext ();
10255 main ()
10257 return glXCreateContext ();
10259 return 0;
10261 _ACEOF
10262 if ac_fn_c_try_link "$LINENO"; then :
10263 case "$LIBEXT" in
10264 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10265 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'` ;;
10266 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10267 if ${ac_cv_lib_soname_GL:+false} :; then :
10268 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10269 fi ;;
10270 esac
10272 rm -f core conftest.err conftest.$ac_objext \
10273 conftest$ac_exeext conftest.$ac_ext
10274 LIBS=$ac_check_soname_save_LIBS
10276 if ${ac_cv_lib_soname_GL:+false} :; then :
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10278 $as_echo "not found" >&6; }
10279 if test -f /usr/X11R6/lib/libGL.a
10280 then
10281 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10282 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10283 else
10284 opengl_msg="No OpenGL library found on this system."
10286 else
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10288 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10290 cat >>confdefs.h <<_ACEOF
10291 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10292 _ACEOF
10294 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"
10296 else
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10298 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10300 cat >>confdefs.h <<_ACEOF
10301 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10302 _ACEOF
10304 OPENGL_LIBS="-lGL"
10306 if test "x$with_glu" != "xno"
10307 then
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10309 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10310 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10311 $as_echo_n "(cached) " >&6
10312 else
10313 ac_check_lib_save_LIBS=$LIBS
10314 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10318 /* Override any GCC internal prototype to avoid an error.
10319 Use char because int might match the return type of a GCC
10320 builtin and then its argument prototype would still apply. */
10321 #ifdef __cplusplus
10322 extern "C"
10323 #endif
10324 char gluLookAt ();
10326 main ()
10328 return gluLookAt ();
10330 return 0;
10332 _ACEOF
10333 if ac_fn_c_try_link "$LINENO"; then :
10334 ac_cv_lib_GLU_gluLookAt=yes
10335 else
10336 ac_cv_lib_GLU_gluLookAt=no
10338 rm -f core conftest.err conftest.$ac_objext \
10339 conftest$ac_exeext conftest.$ac_ext
10340 LIBS=$ac_check_lib_save_LIBS
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10343 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10344 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10348 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10349 case "x$with_glu" in
10350 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10351 xno) ;;
10352 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10353 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10354 esac
10358 if test "x$with_osmesa" != "xno"
10359 then
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10361 $as_echo_n "checking for -lOSMesa... " >&6; }
10362 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10363 $as_echo_n "(cached) " >&6
10364 else
10365 ac_check_soname_save_LIBS=$LIBS
10366 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10368 /* end confdefs.h. */
10370 /* Override any GCC internal prototype to avoid an error.
10371 Use char because int might match the return type of a GCC
10372 builtin and then its argument prototype would still apply. */
10373 #ifdef __cplusplus
10374 extern "C"
10375 #endif
10376 char glAccum ();
10378 main ()
10380 return glAccum ();
10382 return 0;
10384 _ACEOF
10385 if ac_fn_c_try_link "$LINENO"; then :
10386 case "$LIBEXT" in
10387 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10388 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'` ;;
10389 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10390 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10391 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10392 fi ;;
10393 esac
10395 rm -f core conftest.err conftest.$ac_objext \
10396 conftest$ac_exeext conftest.$ac_ext
10397 LIBS=$ac_check_soname_save_LIBS
10399 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10401 $as_echo "not found" >&6; }
10403 else
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10405 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10407 cat >>confdefs.h <<_ACEOF
10408 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10409 _ACEOF
10413 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10414 case "x$with_osmesa" in
10415 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10416 xno) ;;
10417 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10418 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10419 esac
10423 if test -n "$opengl_msg"; then :
10424 case "x$with_opengl" in
10425 x) as_fn_append wine_warnings "|$opengl_msg
10426 OpenGL and Direct3D won't be supported." ;;
10427 xno) ;;
10428 *) as_fn_error $? "$opengl_msg
10429 OpenGL and Direct3D won't be supported.
10430 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10431 esac
10434 CPPFLAGS="$ac_save_CPPFLAGS"
10435 else
10436 X_CFLAGS=""
10437 X_LIBS=""
10438 enable_winex11_drv=${enable_winex11_drv:-no}
10440 if test "x$X_LIBS" = "x"; then :
10441 case "x$with_x" in
10442 xno) ;;
10443 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10444 without X support, which probably isn't what you want. You will need
10445 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10446 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10447 esac
10450 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10452 if test "$ac_cv_header_CL_cl_h" = "yes"
10453 then
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10455 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10456 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10457 $as_echo_n "(cached) " >&6
10458 else
10459 ac_check_lib_save_LIBS=$LIBS
10460 LIBS="-lOpenCL $LIBS"
10461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10462 /* end confdefs.h. */
10464 /* Override any GCC internal prototype to avoid an error.
10465 Use char because int might match the return type of a GCC
10466 builtin and then its argument prototype would still apply. */
10467 #ifdef __cplusplus
10468 extern "C"
10469 #endif
10470 char clGetPlatformInfo ();
10472 main ()
10474 return clGetPlatformInfo ();
10476 return 0;
10478 _ACEOF
10479 if ac_fn_c_try_link "$LINENO"; then :
10480 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10481 else
10482 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10484 rm -f core conftest.err conftest.$ac_objext \
10485 conftest$ac_exeext conftest.$ac_ext
10486 LIBS=$ac_check_lib_save_LIBS
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10489 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10490 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10491 OPENCL_LIBS="-lOpenCL"
10496 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10497 case "x$with_opencl" in
10498 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10499 xno) ;;
10500 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10501 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10502 esac
10504 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10507 if test "x$with_xml" != "xno"
10508 then
10509 if ${XML2_CFLAGS:+false} :; then :
10510 if ${PKG_CONFIG+:} false; then :
10511 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10514 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10515 if ${XML2_LIBS:+false} :; then :
10516 if ${PKG_CONFIG+:} false; then :
10517 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10520 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10521 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10522 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10523 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10524 ac_save_CPPFLAGS=$CPPFLAGS
10525 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10526 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10527 do :
10528 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10529 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10530 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10531 cat >>confdefs.h <<_ACEOF
10532 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10533 _ACEOF
10537 done
10539 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"
10540 then
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10542 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10543 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10544 $as_echo_n "(cached) " >&6
10545 else
10546 ac_check_lib_save_LIBS=$LIBS
10547 LIBS="-lxml2 $XML2_LIBS $LIBS"
10548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10549 /* end confdefs.h. */
10551 /* Override any GCC internal prototype to avoid an error.
10552 Use char because int might match the return type of a GCC
10553 builtin and then its argument prototype would still apply. */
10554 #ifdef __cplusplus
10555 extern "C"
10556 #endif
10557 char xmlParseMemory ();
10559 main ()
10561 return xmlParseMemory ();
10563 return 0;
10565 _ACEOF
10566 if ac_fn_c_try_link "$LINENO"; then :
10567 ac_cv_lib_xml2_xmlParseMemory=yes
10568 else
10569 ac_cv_lib_xml2_xmlParseMemory=no
10571 rm -f core conftest.err conftest.$ac_objext \
10572 conftest$ac_exeext conftest.$ac_ext
10573 LIBS=$ac_check_lib_save_LIBS
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10576 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10577 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10579 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10581 else
10582 XML2_LIBS=""
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10586 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10587 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10588 $as_echo_n "(cached) " >&6
10589 else
10590 ac_check_lib_save_LIBS=$LIBS
10591 LIBS="-lxml2 $XML2_LIBS $LIBS"
10592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10593 /* end confdefs.h. */
10595 /* Override any GCC internal prototype to avoid an error.
10596 Use char because int might match the return type of a GCC
10597 builtin and then its argument prototype would still apply. */
10598 #ifdef __cplusplus
10599 extern "C"
10600 #endif
10601 char xmlReadMemory ();
10603 main ()
10605 return xmlReadMemory ();
10607 return 0;
10609 _ACEOF
10610 if ac_fn_c_try_link "$LINENO"; then :
10611 ac_cv_lib_xml2_xmlReadMemory=yes
10612 else
10613 ac_cv_lib_xml2_xmlReadMemory=no
10615 rm -f core conftest.err conftest.$ac_objext \
10616 conftest$ac_exeext conftest.$ac_ext
10617 LIBS=$ac_check_lib_save_LIBS
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10620 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10621 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10623 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10628 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10629 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10630 $as_echo_n "(cached) " >&6
10631 else
10632 ac_check_lib_save_LIBS=$LIBS
10633 LIBS="-lxml2 $XML2_LIBS $LIBS"
10634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10635 /* end confdefs.h. */
10637 /* Override any GCC internal prototype to avoid an error.
10638 Use char because int might match the return type of a GCC
10639 builtin and then its argument prototype would still apply. */
10640 #ifdef __cplusplus
10641 extern "C"
10642 #endif
10643 char xmlNewDocPI ();
10645 main ()
10647 return xmlNewDocPI ();
10649 return 0;
10651 _ACEOF
10652 if ac_fn_c_try_link "$LINENO"; then :
10653 ac_cv_lib_xml2_xmlNewDocPI=yes
10654 else
10655 ac_cv_lib_xml2_xmlNewDocPI=no
10657 rm -f core conftest.err conftest.$ac_objext \
10658 conftest$ac_exeext conftest.$ac_ext
10659 LIBS=$ac_check_lib_save_LIBS
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10662 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10663 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10665 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10670 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10671 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10672 $as_echo_n "(cached) " >&6
10673 else
10674 ac_check_lib_save_LIBS=$LIBS
10675 LIBS="-lxml2 $XML2_LIBS $LIBS"
10676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10677 /* end confdefs.h. */
10679 /* Override any GCC internal prototype to avoid an error.
10680 Use char because int might match the return type of a GCC
10681 builtin and then its argument prototype would still apply. */
10682 #ifdef __cplusplus
10683 extern "C"
10684 #endif
10685 char xmlSchemaSetParserStructuredErrors ();
10687 main ()
10689 return xmlSchemaSetParserStructuredErrors ();
10691 return 0;
10693 _ACEOF
10694 if ac_fn_c_try_link "$LINENO"; then :
10695 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10696 else
10697 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10699 rm -f core conftest.err conftest.$ac_objext \
10700 conftest$ac_exeext conftest.$ac_ext
10701 LIBS=$ac_check_lib_save_LIBS
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10704 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10705 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10707 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10712 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10713 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10714 $as_echo_n "(cached) " >&6
10715 else
10716 ac_check_lib_save_LIBS=$LIBS
10717 LIBS="-lxml2 $XML2_LIBS $LIBS"
10718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h. */
10721 /* Override any GCC internal prototype to avoid an error.
10722 Use char because int might match the return type of a GCC
10723 builtin and then its argument prototype would still apply. */
10724 #ifdef __cplusplus
10725 extern "C"
10726 #endif
10727 char xmlSchemaSetValidStructuredErrors ();
10729 main ()
10731 return xmlSchemaSetValidStructuredErrors ();
10733 return 0;
10735 _ACEOF
10736 if ac_fn_c_try_link "$LINENO"; then :
10737 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10738 else
10739 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10741 rm -f core conftest.err conftest.$ac_objext \
10742 conftest$ac_exeext conftest.$ac_ext
10743 LIBS=$ac_check_lib_save_LIBS
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10746 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10747 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10749 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10754 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10755 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10756 $as_echo_n "(cached) " >&6
10757 else
10758 ac_check_lib_save_LIBS=$LIBS
10759 LIBS="-lxml2 $XML2_LIBS $LIBS"
10760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10761 /* end confdefs.h. */
10763 /* Override any GCC internal prototype to avoid an error.
10764 Use char because int might match the return type of a GCC
10765 builtin and then its argument prototype would still apply. */
10766 #ifdef __cplusplus
10767 extern "C"
10768 #endif
10769 char xmlFirstElementChild ();
10771 main ()
10773 return xmlFirstElementChild ();
10775 return 0;
10777 _ACEOF
10778 if ac_fn_c_try_link "$LINENO"; then :
10779 ac_cv_lib_xml2_xmlFirstElementChild=yes
10780 else
10781 ac_cv_lib_xml2_xmlFirstElementChild=no
10783 rm -f core conftest.err conftest.$ac_objext \
10784 conftest$ac_exeext conftest.$ac_ext
10785 LIBS=$ac_check_lib_save_LIBS
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10788 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10789 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10791 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10795 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10797 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10799 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10803 else
10804 XML2_CFLAGS=""
10805 XML2_LIBS=""
10807 CPPFLAGS=$ac_save_CPPFLAGS
10808 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10809 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10812 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10813 case "x$with_xml" in
10814 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10815 xno) ;;
10816 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10817 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10818 esac
10821 if test "x$with_xslt" != "xno"
10822 then
10823 if ${XSLT_CFLAGS:+false} :; then :
10824 if ${PKG_CONFIG+:} false; then :
10825 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10828 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10829 if ${XSLT_LIBS:+false} :; then :
10830 if ${PKG_CONFIG+:} false; then :
10831 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10834 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10835 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10836 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10837 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10838 ac_save_CPPFLAGS=$CPPFLAGS
10839 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10840 for ac_header in libxslt/pattern.h libxslt/transform.h
10841 do :
10842 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10843 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10844 # include <libxslt/pattern.h>
10845 #endif
10847 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10848 cat >>confdefs.h <<_ACEOF
10849 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10850 _ACEOF
10854 done
10856 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10857 then
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10859 $as_echo_n "checking for -lxslt... " >&6; }
10860 if ${ac_cv_lib_soname_xslt+:} false; then :
10861 $as_echo_n "(cached) " >&6
10862 else
10863 ac_check_soname_save_LIBS=$LIBS
10864 LIBS="-lxslt $XSLT_LIBS $LIBS"
10865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h. */
10868 /* Override any GCC internal prototype to avoid an error.
10869 Use char because int might match the return type of a GCC
10870 builtin and then its argument prototype would still apply. */
10871 #ifdef __cplusplus
10872 extern "C"
10873 #endif
10874 char xsltCompilePattern ();
10876 main ()
10878 return xsltCompilePattern ();
10880 return 0;
10882 _ACEOF
10883 if ac_fn_c_try_link "$LINENO"; then :
10884 case "$LIBEXT" in
10885 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10886 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'` ;;
10887 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10888 if ${ac_cv_lib_soname_xslt:+false} :; then :
10889 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10890 fi ;;
10891 esac
10893 rm -f core conftest.err conftest.$ac_objext \
10894 conftest$ac_exeext conftest.$ac_ext
10895 LIBS=$ac_check_soname_save_LIBS
10897 if ${ac_cv_lib_soname_xslt:+false} :; then :
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10899 $as_echo "not found" >&6; }
10901 else
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10903 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10905 cat >>confdefs.h <<_ACEOF
10906 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10907 _ACEOF
10911 else
10912 XSLT_CFLAGS=""
10914 CPPFLAGS=$ac_save_CPPFLAGS
10915 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10916 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10919 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10920 case "x$with_xslt" in
10921 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10922 xno) ;;
10923 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10924 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10925 esac
10928 if test "x$with_dbus" != "xno"
10929 then
10930 if ${DBUS_CFLAGS:+false} :; then :
10931 if ${PKG_CONFIG+:} false; then :
10932 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10936 if ${DBUS_LIBS:+false} :; then :
10937 if ${PKG_CONFIG+:} false; then :
10938 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10943 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10944 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10945 ac_save_CPPFLAGS=$CPPFLAGS
10946 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10947 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10948 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10950 $as_echo_n "checking for -ldbus-1... " >&6; }
10951 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10952 $as_echo_n "(cached) " >&6
10953 else
10954 ac_check_soname_save_LIBS=$LIBS
10955 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h. */
10959 /* Override any GCC internal prototype to avoid an error.
10960 Use char because int might match the return type of a GCC
10961 builtin and then its argument prototype would still apply. */
10962 #ifdef __cplusplus
10963 extern "C"
10964 #endif
10965 char dbus_connection_close ();
10967 main ()
10969 return dbus_connection_close ();
10971 return 0;
10973 _ACEOF
10974 if ac_fn_c_try_link "$LINENO"; then :
10975 case "$LIBEXT" in
10976 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10977 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'` ;;
10978 *) 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'`
10979 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10980 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10981 fi ;;
10982 esac
10984 rm -f core conftest.err conftest.$ac_objext \
10985 conftest$ac_exeext conftest.$ac_ext
10986 LIBS=$ac_check_soname_save_LIBS
10988 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10990 $as_echo "not found" >&6; }
10991 DBUS_CFLAGS=""
10992 else
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10994 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10996 cat >>confdefs.h <<_ACEOF
10997 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10998 _ACEOF
11002 else
11003 DBUS_CFLAGS=""
11007 CPPFLAGS=$ac_save_CPPFLAGS
11008 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11009 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11012 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11013 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11014 case "x$with_dbus" in
11015 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11016 xno) ;;
11017 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11018 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11019 esac
11022 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11023 then
11024 if ${HAL_CFLAGS:+false} :; then :
11025 if ${PKG_CONFIG+:} false; then :
11026 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11030 if ${HAL_LIBS:+false} :; then :
11031 if ${PKG_CONFIG+:} false; then :
11032 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11036 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11037 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11038 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11039 ac_save_CPPFLAGS=$CPPFLAGS
11040 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11041 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11042 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11044 $as_echo_n "checking for -lhal... " >&6; }
11045 if ${ac_cv_lib_soname_hal+:} false; then :
11046 $as_echo_n "(cached) " >&6
11047 else
11048 ac_check_soname_save_LIBS=$LIBS
11049 LIBS="-lhal $HAL_LIBS $LIBS"
11050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11051 /* end confdefs.h. */
11053 /* Override any GCC internal prototype to avoid an error.
11054 Use char because int might match the return type of a GCC
11055 builtin and then its argument prototype would still apply. */
11056 #ifdef __cplusplus
11057 extern "C"
11058 #endif
11059 char libhal_ctx_new ();
11061 main ()
11063 return libhal_ctx_new ();
11065 return 0;
11067 _ACEOF
11068 if ac_fn_c_try_link "$LINENO"; then :
11069 case "$LIBEXT" in
11070 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11071 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'` ;;
11072 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11073 if ${ac_cv_lib_soname_hal:+false} :; then :
11074 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11075 fi ;;
11076 esac
11078 rm -f core conftest.err conftest.$ac_objext \
11079 conftest$ac_exeext conftest.$ac_ext
11080 LIBS=$ac_check_soname_save_LIBS
11082 if ${ac_cv_lib_soname_hal:+false} :; then :
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11084 $as_echo "not found" >&6; }
11085 HAL_CFLAGS=""
11086 else
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11088 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11090 cat >>confdefs.h <<_ACEOF
11091 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11092 _ACEOF
11096 else
11097 HAL_CFLAGS=""
11101 CPPFLAGS=$ac_save_CPPFLAGS
11102 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11103 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11105 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11106 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11107 case "x$with_hal" in
11108 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11109 xno) ;;
11110 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11111 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11112 esac
11116 if test "x$with_gnutls" != "xno"
11117 then
11118 if ${GNUTLS_CFLAGS:+false} :; then :
11119 if ${PKG_CONFIG+:} false; then :
11120 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11124 if ${GNUTLS_LIBS:+false} :; then :
11125 if ${PKG_CONFIG+:} false; then :
11126 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11131 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11132 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11133 ac_save_CPPFLAGS=$CPPFLAGS
11134 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11135 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11136 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11138 /* end confdefs.h. */
11139 #include <gnutls/gnutls.h>
11140 #include <gnutls/crypto.h>
11142 main ()
11144 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11146 return 0;
11148 _ACEOF
11149 if ac_fn_c_try_compile "$LINENO"; then :
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11151 $as_echo_n "checking for -lgnutls... " >&6; }
11152 if ${ac_cv_lib_soname_gnutls+:} false; then :
11153 $as_echo_n "(cached) " >&6
11154 else
11155 ac_check_soname_save_LIBS=$LIBS
11156 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11160 /* Override any GCC internal prototype to avoid an error.
11161 Use char because int might match the return type of a GCC
11162 builtin and then its argument prototype would still apply. */
11163 #ifdef __cplusplus
11164 extern "C"
11165 #endif
11166 char gnutls_global_init ();
11168 main ()
11170 return gnutls_global_init ();
11172 return 0;
11174 _ACEOF
11175 if ac_fn_c_try_link "$LINENO"; then :
11176 case "$LIBEXT" in
11177 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11178 dylib) ac_cv_lib_soname_gnutls=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11179 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11180 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11181 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11182 fi ;;
11183 esac
11185 rm -f core conftest.err conftest.$ac_objext \
11186 conftest$ac_exeext conftest.$ac_ext
11187 LIBS=$ac_check_soname_save_LIBS
11189 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11191 $as_echo "not found" >&6; }
11192 GNUTLS_CFLAGS=""
11193 else
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11195 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11197 cat >>confdefs.h <<_ACEOF
11198 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11199 _ACEOF
11204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11205 else
11206 GNUTLS_CFLAGS=""
11210 CPPFLAGS=$ac_save_CPPFLAGS
11211 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11212 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11215 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11216 case "x$with_gnutls" in
11217 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11218 xno) ;;
11219 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11220 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11221 esac
11224 CURSES_LIBS=""
11225 if test "$ac_cv_header_ncurses_h" = "yes"
11226 then
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11228 $as_echo_n "checking for -lncurses... " >&6; }
11229 if ${ac_cv_lib_soname_ncurses+:} false; then :
11230 $as_echo_n "(cached) " >&6
11231 else
11232 ac_check_soname_save_LIBS=$LIBS
11233 LIBS="-lncurses $LIBS"
11234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11235 /* end confdefs.h. */
11237 /* Override any GCC internal prototype to avoid an error.
11238 Use char because int might match the return type of a GCC
11239 builtin and then its argument prototype would still apply. */
11240 #ifdef __cplusplus
11241 extern "C"
11242 #endif
11243 char waddch ();
11245 main ()
11247 return waddch ();
11249 return 0;
11251 _ACEOF
11252 if ac_fn_c_try_link "$LINENO"; then :
11253 case "$LIBEXT" in
11254 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11255 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11256 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11257 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11258 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11259 fi ;;
11260 esac
11262 rm -f core conftest.err conftest.$ac_objext \
11263 conftest$ac_exeext conftest.$ac_ext
11264 LIBS=$ac_check_soname_save_LIBS
11266 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11268 $as_echo "not found" >&6; }
11270 else
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11272 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11274 cat >>confdefs.h <<_ACEOF
11275 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11276 _ACEOF
11278 CURSES_LIBS="-lncurses"
11280 elif test "$ac_cv_header_curses_h" = "yes"
11281 then
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11283 $as_echo_n "checking for -lcurses... " >&6; }
11284 if ${ac_cv_lib_soname_curses+:} false; then :
11285 $as_echo_n "(cached) " >&6
11286 else
11287 ac_check_soname_save_LIBS=$LIBS
11288 LIBS="-lcurses $LIBS"
11289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h. */
11292 /* Override any GCC internal prototype to avoid an error.
11293 Use char because int might match the return type of a GCC
11294 builtin and then its argument prototype would still apply. */
11295 #ifdef __cplusplus
11296 extern "C"
11297 #endif
11298 char waddch ();
11300 main ()
11302 return waddch ();
11304 return 0;
11306 _ACEOF
11307 if ac_fn_c_try_link "$LINENO"; then :
11308 case "$LIBEXT" in
11309 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11310 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'` ;;
11311 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11312 if ${ac_cv_lib_soname_curses:+false} :; then :
11313 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11314 fi ;;
11315 esac
11317 rm -f core conftest.err conftest.$ac_objext \
11318 conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_soname_save_LIBS
11321 if ${ac_cv_lib_soname_curses:+false} :; then :
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11323 $as_echo "not found" >&6; }
11325 else
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11327 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11329 cat >>confdefs.h <<_ACEOF
11330 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11331 _ACEOF
11333 CURSES_LIBS="-lcurses"
11336 ac_save_LIBS="$LIBS"
11337 LIBS="$LIBS $CURSES_LIBS"
11338 for ac_func in mousemask
11339 do :
11340 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11341 if test "x$ac_cv_func_mousemask" = xyes; then :
11342 cat >>confdefs.h <<_ACEOF
11343 #define HAVE_MOUSEMASK 1
11344 _ACEOF
11347 done
11349 LIBS="$ac_save_LIBS"
11350 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11351 case "x$with_curses" in
11352 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11353 xno) ;;
11354 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11355 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11356 esac
11359 if test "x$with_sane" != "xno"
11360 then
11361 if ${SANE_CFLAGS:+false} :; then :
11362 if ${PKG_CONFIG+:} false; then :
11363 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11366 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11367 if ${SANE_LIBS:+false} :; then :
11368 if ${PKG_CONFIG+:} false; then :
11369 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11372 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11374 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11375 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11376 ac_save_CPPFLAGS=$CPPFLAGS
11377 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11378 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11379 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11381 $as_echo_n "checking for -lsane... " >&6; }
11382 if ${ac_cv_lib_soname_sane+:} false; then :
11383 $as_echo_n "(cached) " >&6
11384 else
11385 ac_check_soname_save_LIBS=$LIBS
11386 LIBS="-lsane $SANE_LIBS $LIBS"
11387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11388 /* end confdefs.h. */
11390 /* Override any GCC internal prototype to avoid an error.
11391 Use char because int might match the return type of a GCC
11392 builtin and then its argument prototype would still apply. */
11393 #ifdef __cplusplus
11394 extern "C"
11395 #endif
11396 char sane_init ();
11398 main ()
11400 return sane_init ();
11402 return 0;
11404 _ACEOF
11405 if ac_fn_c_try_link "$LINENO"; then :
11406 case "$LIBEXT" in
11407 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11408 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'` ;;
11409 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11410 if ${ac_cv_lib_soname_sane:+false} :; then :
11411 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11412 fi ;;
11413 esac
11415 rm -f core conftest.err conftest.$ac_objext \
11416 conftest$ac_exeext conftest.$ac_ext
11417 LIBS=$ac_check_soname_save_LIBS
11419 if ${ac_cv_lib_soname_sane:+false} :; then :
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11421 $as_echo "not found" >&6; }
11422 SANE_CFLAGS=""
11423 else
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11425 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11427 cat >>confdefs.h <<_ACEOF
11428 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11429 _ACEOF
11433 else
11434 SANE_CFLAGS=""
11438 CPPFLAGS=$ac_save_CPPFLAGS
11439 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11440 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11443 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11444 case "x$with_sane" in
11445 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11446 xno) ;;
11447 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11448 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11449 esac
11452 if test "x$with_v4l" != "xno"
11453 then
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11455 $as_echo_n "checking for -lv4l1... " >&6; }
11456 if ${ac_cv_lib_soname_v4l1+:} false; then :
11457 $as_echo_n "(cached) " >&6
11458 else
11459 ac_check_soname_save_LIBS=$LIBS
11460 LIBS="-lv4l1 $LIBS"
11461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11462 /* end confdefs.h. */
11464 /* Override any GCC internal prototype to avoid an error.
11465 Use char because int might match the return type of a GCC
11466 builtin and then its argument prototype would still apply. */
11467 #ifdef __cplusplus
11468 extern "C"
11469 #endif
11470 char v4l1_open ();
11472 main ()
11474 return v4l1_open ();
11476 return 0;
11478 _ACEOF
11479 if ac_fn_c_try_link "$LINENO"; then :
11480 case "$LIBEXT" in
11481 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11482 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'` ;;
11483 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11484 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11485 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11486 fi ;;
11487 esac
11489 rm -f core conftest.err conftest.$ac_objext \
11490 conftest$ac_exeext conftest.$ac_ext
11491 LIBS=$ac_check_soname_save_LIBS
11493 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11495 $as_echo "not found" >&6; }
11497 else
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11499 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11501 cat >>confdefs.h <<_ACEOF
11502 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11503 _ACEOF
11508 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11509 case "x$with_v4l" in
11510 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11511 xno) ;;
11512 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11513 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11514 esac
11517 if test "x$with_gphoto" != "xno"
11518 then
11519 if ${GPHOTO2_CFLAGS:+false} :; then :
11520 if ${PKG_CONFIG+:} false; then :
11521 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11524 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11525 if ${GPHOTO2_LIBS:+false} :; then :
11526 if ${PKG_CONFIG+:} false; then :
11527 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11530 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11531 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11532 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11533 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11534 ac_save_CPPFLAGS=$CPPFLAGS
11535 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11536 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11537 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11539 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11540 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11541 $as_echo_n "(cached) " >&6
11542 else
11543 ac_check_lib_save_LIBS=$LIBS
11544 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11546 /* end confdefs.h. */
11548 /* Override any GCC internal prototype to avoid an error.
11549 Use char because int might match the return type of a GCC
11550 builtin and then its argument prototype would still apply. */
11551 #ifdef __cplusplus
11552 extern "C"
11553 #endif
11554 char gp_camera_new ();
11556 main ()
11558 return gp_camera_new ();
11560 return 0;
11562 _ACEOF
11563 if ac_fn_c_try_link "$LINENO"; then :
11564 ac_cv_lib_gphoto2_gp_camera_new=yes
11565 else
11566 ac_cv_lib_gphoto2_gp_camera_new=no
11568 rm -f core conftest.err conftest.$ac_objext \
11569 conftest$ac_exeext conftest.$ac_ext
11570 LIBS=$ac_check_lib_save_LIBS
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11573 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11574 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11576 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11578 else
11579 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11582 else
11583 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11587 CPPFLAGS=$ac_save_CPPFLAGS
11588 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11589 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11591 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11592 if ${PKG_CONFIG+:} false; then :
11593 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11596 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11597 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11598 if ${PKG_CONFIG+:} false; then :
11599 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11602 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11603 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11604 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11605 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11606 ac_save_CPPFLAGS=$CPPFLAGS
11607 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11608 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11609 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11611 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11612 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11613 $as_echo_n "(cached) " >&6
11614 else
11615 ac_check_lib_save_LIBS=$LIBS
11616 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11620 /* Override any GCC internal prototype to avoid an error.
11621 Use char because int might match the return type of a GCC
11622 builtin and then its argument prototype would still apply. */
11623 #ifdef __cplusplus
11624 extern "C"
11625 #endif
11626 char gp_port_info_list_new ();
11628 main ()
11630 return gp_port_info_list_new ();
11632 return 0;
11634 _ACEOF
11635 if ac_fn_c_try_link "$LINENO"; then :
11636 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11637 else
11638 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11640 rm -f core conftest.err conftest.$ac_objext \
11641 conftest$ac_exeext conftest.$ac_ext
11642 LIBS=$ac_check_lib_save_LIBS
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11645 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11646 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11648 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11650 else
11651 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11654 else
11655 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11659 CPPFLAGS=$ac_save_CPPFLAGS
11660 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11661 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11664 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11665 case "x$with_gphoto" in
11666 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11667 xno) ;;
11668 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11669 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11670 esac
11672 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11673 case "x$with_gphoto" in
11674 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11675 xno) ;;
11676 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11677 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11678 esac
11682 if test "$ac_cv_header_resolv_h" = "yes"
11683 then
11684 ac_save_LIBS="$LIBS"
11685 for lib in '' -lresolv
11687 LIBS="$lib $ac_save_LIBS"
11688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11689 /* end confdefs.h. */
11690 #ifdef HAVE_NETINET_IN_H
11691 #include <netinet/in.h>
11692 #endif
11693 #include <resolv.h>
11695 main ()
11697 res_query("foo",ns_c_in,0,0,0);
11699 return 0;
11701 _ACEOF
11702 if ac_fn_c_try_link "$LINENO"; then :
11704 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11706 RESOLV_LIBS="$lib"
11709 rm -f core conftest.err conftest.$ac_objext \
11710 conftest$ac_exeext conftest.$ac_ext
11711 if test "${RESOLV_LIBS+set}" = set; then
11712 break
11714 done
11715 LIBS="$ac_save_LIBS"
11718 if test "x$with_lcms2" != "xno"
11719 then
11720 if ${LCMS2_CFLAGS:+false} :; then :
11721 if ${PKG_CONFIG+:} false; then :
11722 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11726 if ${LCMS2_LIBS:+false} :; then :
11727 if ${PKG_CONFIG+:} false; then :
11728 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11732 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11733 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11734 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11735 ac_save_CPPFLAGS=$CPPFLAGS
11736 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11737 for ac_header in lcms2.h
11738 do :
11739 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11740 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11741 cat >>confdefs.h <<_ACEOF
11742 #define HAVE_LCMS2_H 1
11743 _ACEOF
11747 done
11749 if test "$ac_cv_header_lcms2_h" = "yes"
11750 then
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11752 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11753 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11754 $as_echo_n "(cached) " >&6
11755 else
11756 ac_check_lib_save_LIBS=$LIBS
11757 LIBS="-llcms2 $LIBS"
11758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11759 /* end confdefs.h. */
11761 /* Override any GCC internal prototype to avoid an error.
11762 Use char because int might match the return type of a GCC
11763 builtin and then its argument prototype would still apply. */
11764 #ifdef __cplusplus
11765 extern "C"
11766 #endif
11767 char cmsOpenProfileFromFile ();
11769 main ()
11771 return cmsOpenProfileFromFile ();
11773 return 0;
11775 _ACEOF
11776 if ac_fn_c_try_link "$LINENO"; then :
11777 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11778 else
11779 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11781 rm -f core conftest.err conftest.$ac_objext \
11782 conftest$ac_exeext conftest.$ac_ext
11783 LIBS=$ac_check_lib_save_LIBS
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11786 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11787 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11789 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11791 else
11792 LCMS2_LIBS=""
11795 else
11796 LCMS2_CFLAGS=""
11797 LCMS2_LIBS=""
11799 CPPFLAGS=$ac_save_CPPFLAGS
11800 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11801 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11804 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11805 case "x$with_cms" in
11806 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11807 xno) ;;
11808 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11809 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11810 esac
11813 if test "x$with_freetype" != "xno"
11814 then
11815 if ${FREETYPE_CFLAGS:+false} :; then :
11816 if ${PKG_CONFIG+:} false; then :
11817 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11820 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11821 if ${FREETYPE_LIBS:+false} :; then :
11822 if ${PKG_CONFIG+:} false; then :
11823 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11826 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11827 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11828 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11829 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11830 ac_save_CPPFLAGS=$CPPFLAGS
11831 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11832 for ac_header in ft2build.h
11833 do :
11834 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11835 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11836 cat >>confdefs.h <<_ACEOF
11837 #define HAVE_FT2BUILD_H 1
11838 _ACEOF
11842 done
11844 if test "$ac_cv_header_ft2build_h" = "yes"
11845 then
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11847 $as_echo_n "checking for -lfreetype... " >&6; }
11848 if ${ac_cv_lib_soname_freetype+:} false; then :
11849 $as_echo_n "(cached) " >&6
11850 else
11851 ac_check_soname_save_LIBS=$LIBS
11852 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11854 /* end confdefs.h. */
11856 /* Override any GCC internal prototype to avoid an error.
11857 Use char because int might match the return type of a GCC
11858 builtin and then its argument prototype would still apply. */
11859 #ifdef __cplusplus
11860 extern "C"
11861 #endif
11862 char FT_Init_FreeType ();
11864 main ()
11866 return FT_Init_FreeType ();
11868 return 0;
11870 _ACEOF
11871 if ac_fn_c_try_link "$LINENO"; then :
11872 case "$LIBEXT" in
11873 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11874 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'` ;;
11875 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11876 if ${ac_cv_lib_soname_freetype:+false} :; then :
11877 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11878 fi ;;
11879 esac
11881 rm -f core conftest.err conftest.$ac_objext \
11882 conftest$ac_exeext conftest.$ac_ext
11883 LIBS=$ac_check_soname_save_LIBS
11885 if ${ac_cv_lib_soname_freetype:+false} :; then :
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11887 $as_echo "not found" >&6; }
11888 FREETYPE_LIBS=""
11889 else
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11891 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11893 cat >>confdefs.h <<_ACEOF
11894 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11895 _ACEOF
11898 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11900 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11901 #include FT_MODULE_H
11903 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11905 cat >>confdefs.h <<_ACEOF
11906 #define HAVE_FT_TRUETYPEENGINETYPE 1
11907 _ACEOF
11913 else
11914 FREETYPE_CFLAGS=""
11915 FREETYPE_LIBS=""
11917 CPPFLAGS=$ac_save_CPPFLAGS
11918 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11919 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11922 if test "x$ac_cv_lib_soname_freetype" = x; then :
11923 case "x$with_freetype" in
11924 xno) ;;
11925 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11926 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11927 esac
11929 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11932 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11933 if ${ac_cv_c_ppdev+:} false; then :
11934 $as_echo_n "(cached) " >&6
11935 else
11936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11937 /* end confdefs.h. */
11938 #ifdef HAVE_SYS_IOCTL_H
11939 # include <sys/ioctl.h>
11940 #endif
11941 #include <linux/ppdev.h>
11943 main ()
11945 ioctl (1,PPCLAIM,0)
11947 return 0;
11949 _ACEOF
11950 if ac_fn_c_try_compile "$LINENO"; then :
11951 ac_cv_c_ppdev="yes"
11952 else
11953 ac_cv_c_ppdev="no"
11955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11958 $as_echo "$ac_cv_c_ppdev" >&6; }
11959 if test "$ac_cv_c_ppdev" = "yes"
11960 then
11962 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11966 ac_wine_check_funcs_save_LIBS="$LIBS"
11967 LIBS="$LIBS $PTHREAD_LIBS"
11968 for ac_func in \
11969 pthread_attr_get_np \
11970 pthread_getattr_np \
11971 pthread_getthreadid_np \
11972 pthread_get_stackaddr_np \
11973 pthread_get_stacksize_np
11974 do :
11975 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11976 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11977 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11978 cat >>confdefs.h <<_ACEOF
11979 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11980 _ACEOF
11983 done
11985 LIBS="$ac_wine_check_funcs_save_LIBS"
11987 if test "$ac_cv_header_zlib_h" = "yes"
11988 then
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11990 $as_echo_n "checking for inflate in -lz... " >&6; }
11991 if ${ac_cv_lib_z_inflate+:} false; then :
11992 $as_echo_n "(cached) " >&6
11993 else
11994 ac_check_lib_save_LIBS=$LIBS
11995 LIBS="-lz $LIBS"
11996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11997 /* end confdefs.h. */
11999 /* Override any GCC internal prototype to avoid an error.
12000 Use char because int might match the return type of a GCC
12001 builtin and then its argument prototype would still apply. */
12002 #ifdef __cplusplus
12003 extern "C"
12004 #endif
12005 char inflate ();
12007 main ()
12009 return inflate ();
12011 return 0;
12013 _ACEOF
12014 if ac_fn_c_try_link "$LINENO"; then :
12015 ac_cv_lib_z_inflate=yes
12016 else
12017 ac_cv_lib_z_inflate=no
12019 rm -f core conftest.err conftest.$ac_objext \
12020 conftest$ac_exeext conftest.$ac_ext
12021 LIBS=$ac_check_lib_save_LIBS
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12024 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12025 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12027 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12029 Z_LIBS="-lz"
12034 if test "x$Z_LIBS" = "x"; then :
12035 case "x$with_zlib" in
12036 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12037 xno) ;;
12038 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12039 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12040 esac
12043 if test "x$enable_tools" != xno
12044 then
12045 if test "$ac_cv_header_gettext_po_h" = "yes"
12046 then
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12048 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12049 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12050 $as_echo_n "(cached) " >&6
12051 else
12052 ac_check_lib_save_LIBS=$LIBS
12053 LIBS="-lgettextpo $LIBS"
12054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12055 /* end confdefs.h. */
12057 /* Override any GCC internal prototype to avoid an error.
12058 Use char because int might match the return type of a GCC
12059 builtin and then its argument prototype would still apply. */
12060 #ifdef __cplusplus
12061 extern "C"
12062 #endif
12063 char po_message_msgctxt ();
12065 main ()
12067 return po_message_msgctxt ();
12069 return 0;
12071 _ACEOF
12072 if ac_fn_c_try_link "$LINENO"; then :
12073 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12074 else
12075 ac_cv_lib_gettextpo_po_message_msgctxt=no
12077 rm -f core conftest.err conftest.$ac_objext \
12078 conftest$ac_exeext conftest.$ac_ext
12079 LIBS=$ac_check_lib_save_LIBS
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12082 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12083 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12085 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12087 GETTEXTPO_LIBS="-lgettextpo"
12092 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12093 case "x$with_gettextpo" in
12094 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12095 xno) ;;
12096 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12097 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12098 esac
12102 if test "x$with_gstreamer" != "xno"
12103 then
12104 if ${GSTREAMER_CFLAGS:+false} :; then :
12105 if ${PKG_CONFIG+:} false; then :
12106 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12110 if ${GSTREAMER_LIBS:+false} :; then :
12111 if ${PKG_CONFIG+:} false; then :
12112 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12117 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12118 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12119 ac_save_CPPFLAGS=$CPPFLAGS
12120 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12121 ac_gst_incl=""
12122 for i in $GSTREAMER_CFLAGS
12124 case "$i" in
12125 -I*) ac_gst_incl="$ac_gst_incl $i";;
12126 esac
12127 done
12128 GSTREAMER_CFLAGS=$ac_gst_incl
12129 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12130 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12131 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12132 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12133 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12135 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12137 /* end confdefs.h. */
12138 #include <gst/app/gstappsink.h>
12140 main ()
12142 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12144 return 0;
12146 _ACEOF
12147 if ac_fn_c_try_compile "$LINENO"; then :
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12149 $as_echo "yes" >&6; }
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12151 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12152 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12153 $as_echo_n "(cached) " >&6
12154 else
12155 ac_check_lib_save_LIBS=$LIBS
12156 LIBS="-lgstreamer-0.10 $LIBS"
12157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12160 /* Override any GCC internal prototype to avoid an error.
12161 Use char because int might match the return type of a GCC
12162 builtin and then its argument prototype would still apply. */
12163 #ifdef __cplusplus
12164 extern "C"
12165 #endif
12166 char gst_pad_get_caps_reffed ();
12168 main ()
12170 return gst_pad_get_caps_reffed ();
12172 return 0;
12174 _ACEOF
12175 if ac_fn_c_try_link "$LINENO"; then :
12176 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12177 else
12178 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12180 rm -f core conftest.err conftest.$ac_objext \
12181 conftest$ac_exeext conftest.$ac_ext
12182 LIBS=$ac_check_lib_save_LIBS
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12185 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12186 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12188 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12189 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12190 $as_echo_n "(cached) " >&6
12191 else
12192 ac_check_lib_save_LIBS=$LIBS
12193 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12195 /* end confdefs.h. */
12197 /* Override any GCC internal prototype to avoid an error.
12198 Use char because int might match the return type of a GCC
12199 builtin and then its argument prototype would still apply. */
12200 #ifdef __cplusplus
12201 extern "C"
12202 #endif
12203 char gst_app_buffer_new ();
12205 main ()
12207 return gst_app_buffer_new ();
12209 return 0;
12211 _ACEOF
12212 if ac_fn_c_try_link "$LINENO"; then :
12213 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12214 else
12215 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12217 rm -f core conftest.err conftest.$ac_objext \
12218 conftest$ac_exeext conftest.$ac_ext
12219 LIBS=$ac_check_lib_save_LIBS
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12222 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12223 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12229 else
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12231 $as_echo "no" >&6; }
12233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12237 else
12238 GSTREAMER_CFLAGS=""
12242 CPPFLAGS=$ac_save_CPPFLAGS
12243 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12244 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12247 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12248 case "x$with_gstreamer" in
12249 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12250 xno) ;;
12251 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12252 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12253 esac
12255 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12257 ALSA_LIBS=""
12259 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12260 then
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12262 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12263 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12264 $as_echo_n "(cached) " >&6
12265 else
12266 ac_check_lib_save_LIBS=$LIBS
12267 LIBS="-lasound $LIBS"
12268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12271 /* Override any GCC internal prototype to avoid an error.
12272 Use char because int might match the return type of a GCC
12273 builtin and then its argument prototype would still apply. */
12274 #ifdef __cplusplus
12275 extern "C"
12276 #endif
12277 char snd_pcm_hw_params_get_access_mask ();
12279 main ()
12281 return snd_pcm_hw_params_get_access_mask ();
12283 return 0;
12285 _ACEOF
12286 if ac_fn_c_try_link "$LINENO"; then :
12287 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12288 else
12289 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12291 rm -f core conftest.err conftest.$ac_objext \
12292 conftest$ac_exeext conftest.$ac_ext
12293 LIBS=$ac_check_lib_save_LIBS
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12296 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12297 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12299 /* end confdefs.h. */
12300 #ifdef HAVE_ALSA_ASOUNDLIB_H
12301 #include <alsa/asoundlib.h>
12302 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12303 #include <sys/asoundlib.h>
12304 #endif
12306 main ()
12308 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12310 return 0;
12312 _ACEOF
12313 if ac_fn_c_try_compile "$LINENO"; then :
12314 ALSA_LIBS="-lasound"
12316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12321 if test "x$with_oss" != xno
12322 then
12323 ac_save_CPPFLAGS="$CPPFLAGS"
12324 if test -f /etc/oss.conf
12325 then
12326 . /etc/oss.conf
12328 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12329 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12330 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12331 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12332 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12334 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12336 cat >>confdefs.h <<_ACEOF
12337 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12338 _ACEOF
12340 OSS4_CFLAGS="$ac_oss_incl"
12347 CPPFLAGS="$ac_save_CPPFLAGS"
12348 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12349 then
12350 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12354 if test "x$with_capi" != "xno"
12355 then
12356 if ${CAPI20_CFLAGS:+false} :; then :
12357 if ${PKG_CONFIG+:} false; then :
12358 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12362 if ${CAPI20_LIBS:+false} :; then :
12363 if ${PKG_CONFIG+:} false; then :
12364 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12369 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12370 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12371 ac_save_CPPFLAGS=$CPPFLAGS
12372 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12373 for ac_header in capi20.h linux/capi.h
12374 do :
12375 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12376 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12378 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12379 cat >>confdefs.h <<_ACEOF
12380 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12381 _ACEOF
12385 done
12387 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12388 then
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12390 $as_echo_n "checking for -lcapi20... " >&6; }
12391 if ${ac_cv_lib_soname_capi20+:} false; then :
12392 $as_echo_n "(cached) " >&6
12393 else
12394 ac_check_soname_save_LIBS=$LIBS
12395 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12397 /* end confdefs.h. */
12399 /* Override any GCC internal prototype to avoid an error.
12400 Use char because int might match the return type of a GCC
12401 builtin and then its argument prototype would still apply. */
12402 #ifdef __cplusplus
12403 extern "C"
12404 #endif
12405 char capi20_register ();
12407 main ()
12409 return capi20_register ();
12411 return 0;
12413 _ACEOF
12414 if ac_fn_c_try_link "$LINENO"; then :
12415 case "$LIBEXT" in
12416 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12417 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'` ;;
12418 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12419 if ${ac_cv_lib_soname_capi20:+false} :; then :
12420 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12421 fi ;;
12422 esac
12424 rm -f core conftest.err conftest.$ac_objext \
12425 conftest$ac_exeext conftest.$ac_ext
12426 LIBS=$ac_check_soname_save_LIBS
12428 if ${ac_cv_lib_soname_capi20:+false} :; then :
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12430 $as_echo "not found" >&6; }
12432 else
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12434 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12436 cat >>confdefs.h <<_ACEOF
12437 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12438 _ACEOF
12443 CPPFLAGS=$ac_save_CPPFLAGS
12444 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12445 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12448 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12449 case "x$with_capi" in
12450 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12451 xno) ;;
12452 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12453 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12454 esac
12457 CUPS_CFLAGS=""
12459 if test "x$with_cups" != "xno"
12460 then
12461 ac_save_CPPFLAGS="$CPPFLAGS"
12462 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12463 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12464 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12465 for ac_header in cups/cups.h
12466 do :
12467 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12468 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12469 cat >>confdefs.h <<_ACEOF
12470 #define HAVE_CUPS_CUPS_H 1
12471 _ACEOF
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12473 $as_echo_n "checking for -lcups... " >&6; }
12474 if ${ac_cv_lib_soname_cups+:} false; then :
12475 $as_echo_n "(cached) " >&6
12476 else
12477 ac_check_soname_save_LIBS=$LIBS
12478 LIBS="-lcups $ac_cups_libs $LIBS"
12479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12480 /* end confdefs.h. */
12482 /* Override any GCC internal prototype to avoid an error.
12483 Use char because int might match the return type of a GCC
12484 builtin and then its argument prototype would still apply. */
12485 #ifdef __cplusplus
12486 extern "C"
12487 #endif
12488 char cupsGetDefault ();
12490 main ()
12492 return cupsGetDefault ();
12494 return 0;
12496 _ACEOF
12497 if ac_fn_c_try_link "$LINENO"; then :
12498 case "$LIBEXT" in
12499 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12500 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'` ;;
12501 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12502 if ${ac_cv_lib_soname_cups:+false} :; then :
12503 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12504 fi ;;
12505 esac
12507 rm -f core conftest.err conftest.$ac_objext \
12508 conftest$ac_exeext conftest.$ac_ext
12509 LIBS=$ac_check_soname_save_LIBS
12511 if ${ac_cv_lib_soname_cups:+false} :; then :
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12513 $as_echo "not found" >&6; }
12515 else
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12517 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12519 cat >>confdefs.h <<_ACEOF
12520 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12521 _ACEOF
12523 CUPS_CFLAGS="$ac_cups_cflags"
12527 done
12529 CPPFLAGS="$ac_save_CPPFLAGS"
12531 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12532 case "x$with_cups" in
12533 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12534 xno) ;;
12535 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12536 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12537 esac
12540 if test "x$with_fontconfig" != "xno"
12541 then
12542 if ${FONTCONFIG_CFLAGS:+false} :; then :
12543 if ${PKG_CONFIG+:} false; then :
12544 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12547 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12548 if ${FONTCONFIG_LIBS:+false} :; then :
12549 if ${PKG_CONFIG+:} false; then :
12550 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12553 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12555 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12556 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12557 ac_save_CPPFLAGS=$CPPFLAGS
12558 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12559 for ac_header in fontconfig/fontconfig.h
12560 do :
12561 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12562 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12563 cat >>confdefs.h <<_ACEOF
12564 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12565 _ACEOF
12569 done
12571 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12572 then
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12574 $as_echo_n "checking for -lfontconfig... " >&6; }
12575 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12576 $as_echo_n "(cached) " >&6
12577 else
12578 ac_check_soname_save_LIBS=$LIBS
12579 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12581 /* end confdefs.h. */
12583 /* Override any GCC internal prototype to avoid an error.
12584 Use char because int might match the return type of a GCC
12585 builtin and then its argument prototype would still apply. */
12586 #ifdef __cplusplus
12587 extern "C"
12588 #endif
12589 char FcInit ();
12591 main ()
12593 return FcInit ();
12595 return 0;
12597 _ACEOF
12598 if ac_fn_c_try_link "$LINENO"; then :
12599 case "$LIBEXT" in
12600 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12601 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'` ;;
12602 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12603 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12604 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12605 fi ;;
12606 esac
12608 rm -f core conftest.err conftest.$ac_objext \
12609 conftest$ac_exeext conftest.$ac_ext
12610 LIBS=$ac_check_soname_save_LIBS
12612 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12614 $as_echo "not found" >&6; }
12615 FONTCONFIG_CFLAGS=""
12616 else
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12618 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12620 cat >>confdefs.h <<_ACEOF
12621 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12622 _ACEOF
12626 else
12627 FONTCONFIG_CFLAGS=""
12629 CPPFLAGS=$ac_save_CPPFLAGS
12630 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12631 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12634 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12635 case "x$with_fontconfig" in
12636 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12637 xno) ;;
12638 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12639 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12640 esac
12643 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12644 then
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12646 $as_echo_n "checking for -lgsm... " >&6; }
12647 if ${ac_cv_lib_soname_gsm+:} false; then :
12648 $as_echo_n "(cached) " >&6
12649 else
12650 ac_check_soname_save_LIBS=$LIBS
12651 LIBS="-lgsm $LIBS"
12652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12653 /* end confdefs.h. */
12655 /* Override any GCC internal prototype to avoid an error.
12656 Use char because int might match the return type of a GCC
12657 builtin and then its argument prototype would still apply. */
12658 #ifdef __cplusplus
12659 extern "C"
12660 #endif
12661 char gsm_create ();
12663 main ()
12665 return gsm_create ();
12667 return 0;
12669 _ACEOF
12670 if ac_fn_c_try_link "$LINENO"; then :
12671 case "$LIBEXT" in
12672 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12673 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'` ;;
12674 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12675 if ${ac_cv_lib_soname_gsm:+false} :; then :
12676 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12677 fi ;;
12678 esac
12680 rm -f core conftest.err conftest.$ac_objext \
12681 conftest$ac_exeext conftest.$ac_ext
12682 LIBS=$ac_check_soname_save_LIBS
12684 if ${ac_cv_lib_soname_gsm:+false} :; then :
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12686 $as_echo "not found" >&6; }
12688 else
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12690 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12692 cat >>confdefs.h <<_ACEOF
12693 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12694 _ACEOF
12699 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12700 case "x$with_gsm" in
12701 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12702 xno) ;;
12703 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12704 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12705 esac
12708 if test "x$with_jpeg" != "xno"
12709 then
12710 if ${JPEG_CFLAGS:+false} :; then :
12711 if ${PKG_CONFIG+:} false; then :
12712 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12716 if ${JPEG_LIBS:+false} :; then :
12717 if ${PKG_CONFIG+:} false; then :
12718 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12723 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12724 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12725 ac_save_CPPFLAGS=$CPPFLAGS
12726 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12727 for ac_header in jpeglib.h
12728 do :
12729 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12730 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12731 cat >>confdefs.h <<_ACEOF
12732 #define HAVE_JPEGLIB_H 1
12733 _ACEOF
12737 done
12739 if test "$ac_cv_header_jpeglib_h" = "yes"
12740 then
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12742 $as_echo_n "checking for -ljpeg... " >&6; }
12743 if ${ac_cv_lib_soname_jpeg+:} false; then :
12744 $as_echo_n "(cached) " >&6
12745 else
12746 ac_check_soname_save_LIBS=$LIBS
12747 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12749 /* end confdefs.h. */
12751 /* Override any GCC internal prototype to avoid an error.
12752 Use char because int might match the return type of a GCC
12753 builtin and then its argument prototype would still apply. */
12754 #ifdef __cplusplus
12755 extern "C"
12756 #endif
12757 char jpeg_start_decompress ();
12759 main ()
12761 return jpeg_start_decompress ();
12763 return 0;
12765 _ACEOF
12766 if ac_fn_c_try_link "$LINENO"; then :
12767 case "$LIBEXT" in
12768 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12769 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'` ;;
12770 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12771 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12772 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12773 fi ;;
12774 esac
12776 rm -f core conftest.err conftest.$ac_objext \
12777 conftest$ac_exeext conftest.$ac_ext
12778 LIBS=$ac_check_soname_save_LIBS
12780 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12782 $as_echo "not found" >&6; }
12783 JPEG_CFLAGS=""
12784 else
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12786 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12788 cat >>confdefs.h <<_ACEOF
12789 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12790 _ACEOF
12794 else
12795 JPEG_CFLAGS=""
12797 CPPFLAGS=$ac_save_CPPFLAGS
12798 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12799 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12802 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12803 case "x$with_jpeg" in
12804 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12805 xno) ;;
12806 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12807 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12808 esac
12811 if test "x$with_png" != "xno"
12812 then
12813 if ${PNG_CFLAGS:+false} :; then :
12814 if ${PKG_CONFIG+:} false; then :
12815 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12818 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12819 if ${PNG_LIBS:+false} :; then :
12820 if ${PKG_CONFIG+:} false; then :
12821 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12824 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12826 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12827 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12828 ac_save_CPPFLAGS=$CPPFLAGS
12829 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12830 for ac_header in png.h
12831 do :
12832 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12833 if test "x$ac_cv_header_png_h" = xyes; then :
12834 cat >>confdefs.h <<_ACEOF
12835 #define HAVE_PNG_H 1
12836 _ACEOF
12840 done
12842 if test "$ac_cv_header_png_h" = "yes"
12843 then
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12845 $as_echo_n "checking for -lpng... " >&6; }
12846 if ${ac_cv_lib_soname_png+:} false; then :
12847 $as_echo_n "(cached) " >&6
12848 else
12849 ac_check_soname_save_LIBS=$LIBS
12850 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12852 /* end confdefs.h. */
12854 /* Override any GCC internal prototype to avoid an error.
12855 Use char because int might match the return type of a GCC
12856 builtin and then its argument prototype would still apply. */
12857 #ifdef __cplusplus
12858 extern "C"
12859 #endif
12860 char png_create_read_struct ();
12862 main ()
12864 return png_create_read_struct ();
12866 return 0;
12868 _ACEOF
12869 if ac_fn_c_try_link "$LINENO"; then :
12870 case "$LIBEXT" in
12871 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12872 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'` ;;
12873 *) 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'`
12874 if ${ac_cv_lib_soname_png:+false} :; then :
12875 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12876 fi ;;
12877 esac
12879 rm -f core conftest.err conftest.$ac_objext \
12880 conftest$ac_exeext conftest.$ac_ext
12881 LIBS=$ac_check_soname_save_LIBS
12883 if ${ac_cv_lib_soname_png:+false} :; then :
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12885 $as_echo "not found" >&6; }
12886 PNG_CFLAGS=""
12887 else
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12889 $as_echo "$ac_cv_lib_soname_png" >&6; }
12891 cat >>confdefs.h <<_ACEOF
12892 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12893 _ACEOF
12895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12896 /* end confdefs.h. */
12897 #include <png.h>
12899 main ()
12901 typeof(png_set_expand_gray_1_2_4_to_8) *p
12903 return 0;
12905 _ACEOF
12906 if ac_fn_c_try_compile "$LINENO"; then :
12908 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12913 else
12914 PNG_CFLAGS=""
12916 CPPFLAGS=$ac_save_CPPFLAGS
12917 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12918 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12921 if test "x$ac_cv_lib_soname_png" = "x"; then :
12922 case "x$with_png" in
12923 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12924 xno) ;;
12925 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12926 This is an error since --with-png was requested." "$LINENO" 5 ;;
12927 esac
12930 if test "x$with_tiff" != "xno"
12931 then
12932 if ${TIFF_CFLAGS:+false} :; then :
12933 if ${PKG_CONFIG+:} false; then :
12934 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12938 if ${TIFF_LIBS:+false} :; then :
12939 if ${PKG_CONFIG+:} false; then :
12940 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12945 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12946 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12947 ac_save_CPPFLAGS=$CPPFLAGS
12948 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12949 for ac_header in tiffio.h
12950 do :
12951 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12952 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12953 cat >>confdefs.h <<_ACEOF
12954 #define HAVE_TIFFIO_H 1
12955 _ACEOF
12959 done
12961 if test "$ac_cv_header_tiffio_h" = "yes"
12962 then
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12964 $as_echo_n "checking for -ltiff... " >&6; }
12965 if ${ac_cv_lib_soname_tiff+:} false; then :
12966 $as_echo_n "(cached) " >&6
12967 else
12968 ac_check_soname_save_LIBS=$LIBS
12969 LIBS="-ltiff $TIFF_LIBS $LIBS"
12970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12971 /* end confdefs.h. */
12973 /* Override any GCC internal prototype to avoid an error.
12974 Use char because int might match the return type of a GCC
12975 builtin and then its argument prototype would still apply. */
12976 #ifdef __cplusplus
12977 extern "C"
12978 #endif
12979 char TIFFClientOpen ();
12981 main ()
12983 return TIFFClientOpen ();
12985 return 0;
12987 _ACEOF
12988 if ac_fn_c_try_link "$LINENO"; then :
12989 case "$LIBEXT" in
12990 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12991 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'` ;;
12992 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12993 if ${ac_cv_lib_soname_tiff:+false} :; then :
12994 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12995 fi ;;
12996 esac
12998 rm -f core conftest.err conftest.$ac_objext \
12999 conftest$ac_exeext conftest.$ac_ext
13000 LIBS=$ac_check_soname_save_LIBS
13002 if ${ac_cv_lib_soname_tiff:+false} :; then :
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13004 $as_echo "not found" >&6; }
13006 else
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13008 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13010 cat >>confdefs.h <<_ACEOF
13011 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13012 _ACEOF
13017 CPPFLAGS=$ac_save_CPPFLAGS
13018 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13019 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13022 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13023 case "x$with_tiff" in
13024 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13025 xno) ;;
13026 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13027 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13028 esac
13031 if test "x$with_mpg123" != "xno"
13032 then
13033 if ${MPG123_CFLAGS:+false} :; then :
13034 if ${PKG_CONFIG+:} false; then :
13035 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13039 if ${MPG123_LIBS:+false} :; then :
13040 if ${PKG_CONFIG+:} false; then :
13041 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13045 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13046 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13047 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13048 ac_save_CPPFLAGS=$CPPFLAGS
13049 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13050 for ac_header in mpg123.h
13051 do :
13052 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13053 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13054 cat >>confdefs.h <<_ACEOF
13055 #define HAVE_MPG123_H 1
13056 _ACEOF
13060 done
13062 if test "$ac_cv_header_mpg123_h" = "yes"
13063 then
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13065 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13066 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13067 $as_echo_n "(cached) " >&6
13068 else
13069 ac_check_lib_save_LIBS=$LIBS
13070 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13072 /* end confdefs.h. */
13074 /* Override any GCC internal prototype to avoid an error.
13075 Use char because int might match the return type of a GCC
13076 builtin and then its argument prototype would still apply. */
13077 #ifdef __cplusplus
13078 extern "C"
13079 #endif
13080 char mpg123_feed ();
13082 main ()
13084 return mpg123_feed ();
13086 return 0;
13088 _ACEOF
13089 if ac_fn_c_try_link "$LINENO"; then :
13090 ac_cv_lib_mpg123_mpg123_feed=yes
13091 else
13092 ac_cv_lib_mpg123_mpg123_feed=no
13094 rm -f core conftest.err conftest.$ac_objext \
13095 conftest$ac_exeext conftest.$ac_ext
13096 LIBS=$ac_check_lib_save_LIBS
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13099 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13100 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13102 else
13103 MPG123_LIBS=""
13106 else
13107 MPG123_CFLAGS=""
13108 MPG123_LIBS=""
13110 CPPFLAGS=$ac_save_CPPFLAGS
13111 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13112 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13115 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13116 case "x$with_mpg123" in
13117 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13118 xno) ;;
13119 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13120 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13121 esac
13123 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}
13125 if test "$ac_cv_header_AL_al_h" = "yes"
13126 then
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13128 $as_echo_n "checking for -lopenal... " >&6; }
13129 if ${ac_cv_lib_soname_openal+:} false; then :
13130 $as_echo_n "(cached) " >&6
13131 else
13132 ac_check_soname_save_LIBS=$LIBS
13133 LIBS="-lopenal $LIBS"
13134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13135 /* end confdefs.h. */
13137 /* Override any GCC internal prototype to avoid an error.
13138 Use char because int might match the return type of a GCC
13139 builtin and then its argument prototype would still apply. */
13140 #ifdef __cplusplus
13141 extern "C"
13142 #endif
13143 char alGetSource3i ();
13145 main ()
13147 return alGetSource3i ();
13149 return 0;
13151 _ACEOF
13152 if ac_fn_c_try_link "$LINENO"; then :
13153 case "$LIBEXT" in
13154 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13155 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'` ;;
13156 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13157 if ${ac_cv_lib_soname_openal:+false} :; then :
13158 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13159 fi ;;
13160 esac
13162 rm -f core conftest.err conftest.$ac_objext \
13163 conftest$ac_exeext conftest.$ac_ext
13164 LIBS=$ac_check_soname_save_LIBS
13166 if ${ac_cv_lib_soname_openal:+false} :; then :
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13168 $as_echo "not found" >&6; }
13170 else
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13172 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13174 cat >>confdefs.h <<_ACEOF
13175 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13176 _ACEOF
13178 OPENAL_LIBS="-lopenal"
13180 ac_cv_lib_openal=yes
13182 cat >>confdefs.h <<_ACEOF
13183 #define HAVE_OPENAL 1
13184 _ACEOF
13188 if test "x$ac_cv_lib_openal" != xyes; then :
13189 case "x$with_openal" in
13190 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13191 xno) ;;
13192 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13193 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13194 esac
13196 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13198 if test "$ac_cv_header_kstat_h" = "yes"
13199 then
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13201 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13202 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13203 $as_echo_n "(cached) " >&6
13204 else
13205 ac_check_lib_save_LIBS=$LIBS
13206 LIBS="-lkstat $LIBS"
13207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13208 /* end confdefs.h. */
13210 /* Override any GCC internal prototype to avoid an error.
13211 Use char because int might match the return type of a GCC
13212 builtin and then its argument prototype would still apply. */
13213 #ifdef __cplusplus
13214 extern "C"
13215 #endif
13216 char kstat_open ();
13218 main ()
13220 return kstat_open ();
13222 return 0;
13224 _ACEOF
13225 if ac_fn_c_try_link "$LINENO"; then :
13226 ac_cv_lib_kstat_kstat_open=yes
13227 else
13228 ac_cv_lib_kstat_kstat_open=no
13230 rm -f core conftest.err conftest.$ac_objext \
13231 conftest$ac_exeext conftest.$ac_ext
13232 LIBS=$ac_check_lib_save_LIBS
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13235 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13236 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13238 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13240 KSTAT_LIBS="-lkstat"
13246 if test "$ac_cv_header_libprocstat_h" = "yes"
13247 then
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13249 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13250 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13251 $as_echo_n "(cached) " >&6
13252 else
13253 ac_check_lib_save_LIBS=$LIBS
13254 LIBS="-lprocstat $LIBS"
13255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13256 /* end confdefs.h. */
13258 /* Override any GCC internal prototype to avoid an error.
13259 Use char because int might match the return type of a GCC
13260 builtin and then its argument prototype would still apply. */
13261 #ifdef __cplusplus
13262 extern "C"
13263 #endif
13264 char procstat_open_sysctl ();
13266 main ()
13268 return procstat_open_sysctl ();
13270 return 0;
13272 _ACEOF
13273 if ac_fn_c_try_link "$LINENO"; then :
13274 ac_cv_lib_procstat_procstat_open_sysctl=yes
13275 else
13276 ac_cv_lib_procstat_procstat_open_sysctl=no
13278 rm -f core conftest.err conftest.$ac_objext \
13279 conftest$ac_exeext conftest.$ac_ext
13280 LIBS=$ac_check_lib_save_LIBS
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13283 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13284 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13286 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13288 PROCSTAT_LIBS="-lprocstat"
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13295 $as_echo_n "checking for -lodbc... " >&6; }
13296 if ${ac_cv_lib_soname_odbc+:} false; then :
13297 $as_echo_n "(cached) " >&6
13298 else
13299 ac_check_soname_save_LIBS=$LIBS
13300 LIBS="-lodbc $LIBS"
13301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13302 /* end confdefs.h. */
13304 /* Override any GCC internal prototype to avoid an error.
13305 Use char because int might match the return type of a GCC
13306 builtin and then its argument prototype would still apply. */
13307 #ifdef __cplusplus
13308 extern "C"
13309 #endif
13310 char SQLConnect ();
13312 main ()
13314 return SQLConnect ();
13316 return 0;
13318 _ACEOF
13319 if ac_fn_c_try_link "$LINENO"; then :
13320 case "$LIBEXT" in
13321 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13322 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'` ;;
13323 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13324 if ${ac_cv_lib_soname_odbc:+false} :; then :
13325 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13326 fi ;;
13327 esac
13329 rm -f core conftest.err conftest.$ac_objext \
13330 conftest$ac_exeext conftest.$ac_ext
13331 LIBS=$ac_check_soname_save_LIBS
13333 if ${ac_cv_lib_soname_odbc:+false} :; then :
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13335 $as_echo "not found" >&6; }
13336 cat >>confdefs.h <<_ACEOF
13337 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13338 _ACEOF
13340 else
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13342 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13344 cat >>confdefs.h <<_ACEOF
13345 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13346 _ACEOF
13351 if test "x$with_netapi" != "xno"
13352 then
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13354 $as_echo_n "checking for -lnetapi... " >&6; }
13355 if ${ac_cv_lib_soname_netapi+:} false; then :
13356 $as_echo_n "(cached) " >&6
13357 else
13358 ac_check_soname_save_LIBS=$LIBS
13359 LIBS="-lnetapi $LIBS"
13360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h. */
13363 /* Override any GCC internal prototype to avoid an error.
13364 Use char because int might match the return type of a GCC
13365 builtin and then its argument prototype would still apply. */
13366 #ifdef __cplusplus
13367 extern "C"
13368 #endif
13369 char libnetapi_init ();
13371 main ()
13373 return libnetapi_init ();
13375 return 0;
13377 _ACEOF
13378 if ac_fn_c_try_link "$LINENO"; then :
13379 case "$LIBEXT" in
13380 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13381 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'` ;;
13382 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13383 if ${ac_cv_lib_soname_netapi:+false} :; then :
13384 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13385 fi ;;
13386 esac
13388 rm -f core conftest.err conftest.$ac_objext \
13389 conftest$ac_exeext conftest.$ac_ext
13390 LIBS=$ac_check_soname_save_LIBS
13392 if ${ac_cv_lib_soname_netapi:+false} :; then :
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13394 $as_echo "not found" >&6; }
13395 cat >>confdefs.h <<_ACEOF
13396 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13397 _ACEOF
13399 else
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13401 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13403 cat >>confdefs.h <<_ACEOF
13404 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13405 _ACEOF
13411 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13412 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13413 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13414 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13416 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13417 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13418 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13419 then
13420 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13424 EXTRACFLAGS=""
13426 if test "x${GCC}" = "xyes"
13427 then
13428 EXTRACFLAGS="-Wall -pipe"
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13431 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13432 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13433 $as_echo_n "(cached) " >&6
13434 else
13435 if test "$cross_compiling" = yes; then :
13436 ac_cv_c_gcc_strength_bug="yes"
13437 else
13438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13439 /* end confdefs.h. */
13440 int L[4] = {0,1,2,3};
13442 main ()
13444 static int Array[3];
13445 unsigned int B = 3;
13446 int i;
13447 for(i=0; i<B; i++) Array[i] = i - 3;
13448 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13449 L[i] = 4;
13450 return (Array[1] != -2 || L[2] != 3)
13452 return 0;
13454 _ACEOF
13455 if ac_fn_c_try_run "$LINENO"; then :
13456 ac_cv_c_gcc_strength_bug="no"
13457 else
13458 ac_cv_c_gcc_strength_bug="yes"
13460 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13461 conftest.$ac_objext conftest.beam conftest.$ac_ext
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13466 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13467 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13468 then
13469 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13473 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13474 if ${ac_cv_cflags__fno_builtin+:} false; then :
13475 $as_echo_n "(cached) " >&6
13476 else
13477 ac_wine_try_cflags_saved=$CFLAGS
13478 CFLAGS="$CFLAGS -fno-builtin"
13479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13480 /* end confdefs.h. */
13481 int main(int argc, char **argv) { return 0; }
13482 _ACEOF
13483 if ac_fn_c_try_link "$LINENO"; then :
13484 ac_cv_cflags__fno_builtin=yes
13485 else
13486 ac_cv_cflags__fno_builtin=no
13488 rm -f core conftest.err conftest.$ac_objext \
13489 conftest$ac_exeext conftest.$ac_ext
13490 CFLAGS=$ac_wine_try_cflags_saved
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13493 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13494 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13495 BUILTINFLAG="-fno-builtin"
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13499 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13500 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13501 $as_echo_n "(cached) " >&6
13502 else
13503 ac_wine_try_cflags_saved=$CFLAGS
13504 CFLAGS="$CFLAGS -fno-strict-aliasing"
13505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13506 /* end confdefs.h. */
13507 int main(int argc, char **argv) { return 0; }
13508 _ACEOF
13509 if ac_fn_c_try_link "$LINENO"; then :
13510 ac_cv_cflags__fno_strict_aliasing=yes
13511 else
13512 ac_cv_cflags__fno_strict_aliasing=no
13514 rm -f core conftest.err conftest.$ac_objext \
13515 conftest$ac_exeext conftest.$ac_ext
13516 CFLAGS=$ac_wine_try_cflags_saved
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13519 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13520 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13521 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13523 saved_CFLAGS=$CFLAGS
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13525 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13526 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13527 $as_echo_n "(cached) " >&6
13528 else
13529 ac_wine_try_cflags_saved=$CFLAGS
13530 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13532 /* end confdefs.h. */
13533 int main(int argc, char **argv) { return 0; }
13534 _ACEOF
13535 if ac_fn_c_try_link "$LINENO"; then :
13536 ac_cv_cflags__Werror_unknown_warning_option=yes
13537 else
13538 ac_cv_cflags__Werror_unknown_warning_option=no
13540 rm -f core conftest.err conftest.$ac_objext \
13541 conftest$ac_exeext conftest.$ac_ext
13542 CFLAGS=$ac_wine_try_cflags_saved
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13545 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13546 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13547 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13550 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13551 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13552 $as_echo_n "(cached) " >&6
13553 else
13554 ac_wine_try_cflags_saved=$CFLAGS
13555 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13557 /* end confdefs.h. */
13558 int main(int argc, char **argv) { return 0; }
13559 _ACEOF
13560 if ac_fn_c_try_link "$LINENO"; then :
13561 ac_cv_cflags__Wdeclaration_after_statement=yes
13562 else
13563 ac_cv_cflags__Wdeclaration_after_statement=no
13565 rm -f core conftest.err conftest.$ac_objext \
13566 conftest$ac_exeext conftest.$ac_ext
13567 CFLAGS=$ac_wine_try_cflags_saved
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13570 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13571 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13572 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13575 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13576 if ${ac_cv_cflags__Wempty_body+:} false; then :
13577 $as_echo_n "(cached) " >&6
13578 else
13579 ac_wine_try_cflags_saved=$CFLAGS
13580 CFLAGS="$CFLAGS -Wempty-body"
13581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13582 /* end confdefs.h. */
13583 int main(int argc, char **argv) { return 0; }
13584 _ACEOF
13585 if ac_fn_c_try_link "$LINENO"; then :
13586 ac_cv_cflags__Wempty_body=yes
13587 else
13588 ac_cv_cflags__Wempty_body=no
13590 rm -f core conftest.err conftest.$ac_objext \
13591 conftest$ac_exeext conftest.$ac_ext
13592 CFLAGS=$ac_wine_try_cflags_saved
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13595 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13596 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13597 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13600 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13601 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13602 $as_echo_n "(cached) " >&6
13603 else
13604 ac_wine_try_cflags_saved=$CFLAGS
13605 CFLAGS="$CFLAGS -Wignored-qualifiers"
13606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13607 /* end confdefs.h. */
13608 int main(int argc, char **argv) { return 0; }
13609 _ACEOF
13610 if ac_fn_c_try_link "$LINENO"; then :
13611 ac_cv_cflags__Wignored_qualifiers=yes
13612 else
13613 ac_cv_cflags__Wignored_qualifiers=no
13615 rm -f core conftest.err conftest.$ac_objext \
13616 conftest$ac_exeext conftest.$ac_ext
13617 CFLAGS=$ac_wine_try_cflags_saved
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13620 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13621 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13622 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13625 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13626 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13627 $as_echo_n "(cached) " >&6
13628 else
13629 ac_wine_try_cflags_saved=$CFLAGS
13630 CFLAGS="$CFLAGS -Wstrict-prototypes"
13631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13632 /* end confdefs.h. */
13633 int main(int argc, char **argv) { return 0; }
13634 _ACEOF
13635 if ac_fn_c_try_link "$LINENO"; then :
13636 ac_cv_cflags__Wstrict_prototypes=yes
13637 else
13638 ac_cv_cflags__Wstrict_prototypes=no
13640 rm -f core conftest.err conftest.$ac_objext \
13641 conftest$ac_exeext conftest.$ac_ext
13642 CFLAGS=$ac_wine_try_cflags_saved
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13645 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13646 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13647 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13650 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13651 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13652 $as_echo_n "(cached) " >&6
13653 else
13654 ac_wine_try_cflags_saved=$CFLAGS
13655 CFLAGS="$CFLAGS -Wtype-limits"
13656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13657 /* end confdefs.h. */
13658 int main(int argc, char **argv) { return 0; }
13659 _ACEOF
13660 if ac_fn_c_try_link "$LINENO"; then :
13661 ac_cv_cflags__Wtype_limits=yes
13662 else
13663 ac_cv_cflags__Wtype_limits=no
13665 rm -f core conftest.err conftest.$ac_objext \
13666 conftest$ac_exeext conftest.$ac_ext
13667 CFLAGS=$ac_wine_try_cflags_saved
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13670 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13671 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13672 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13675 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13676 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13677 $as_echo_n "(cached) " >&6
13678 else
13679 ac_wine_try_cflags_saved=$CFLAGS
13680 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13682 /* end confdefs.h. */
13683 int main(int argc, char **argv) { return 0; }
13684 _ACEOF
13685 if ac_fn_c_try_link "$LINENO"; then :
13686 ac_cv_cflags__Wunused_but_set_parameter=yes
13687 else
13688 ac_cv_cflags__Wunused_but_set_parameter=no
13690 rm -f core conftest.err conftest.$ac_objext \
13691 conftest$ac_exeext conftest.$ac_ext
13692 CFLAGS=$ac_wine_try_cflags_saved
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13695 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13696 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13697 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13700 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13701 if ${ac_cv_cflags__Wvla+:} false; then :
13702 $as_echo_n "(cached) " >&6
13703 else
13704 ac_wine_try_cflags_saved=$CFLAGS
13705 CFLAGS="$CFLAGS -Wvla"
13706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13707 /* end confdefs.h. */
13708 int main(int argc, char **argv) { return 0; }
13709 _ACEOF
13710 if ac_fn_c_try_link "$LINENO"; then :
13711 ac_cv_cflags__Wvla=yes
13712 else
13713 ac_cv_cflags__Wvla=no
13715 rm -f core conftest.err conftest.$ac_objext \
13716 conftest$ac_exeext conftest.$ac_ext
13717 CFLAGS=$ac_wine_try_cflags_saved
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13720 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13721 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13722 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13725 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13726 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13727 $as_echo_n "(cached) " >&6
13728 else
13729 ac_wine_try_cflags_saved=$CFLAGS
13730 CFLAGS="$CFLAGS -Wwrite-strings"
13731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13732 /* end confdefs.h. */
13733 int main(int argc, char **argv) { return 0; }
13734 _ACEOF
13735 if ac_fn_c_try_link "$LINENO"; then :
13736 ac_cv_cflags__Wwrite_strings=yes
13737 else
13738 ac_cv_cflags__Wwrite_strings=no
13740 rm -f core conftest.err conftest.$ac_objext \
13741 conftest$ac_exeext conftest.$ac_ext
13742 CFLAGS=$ac_wine_try_cflags_saved
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13745 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13746 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13747 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13751 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13752 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13753 $as_echo_n "(cached) " >&6
13754 else
13755 ac_wine_try_cflags_saved=$CFLAGS
13756 CFLAGS="$CFLAGS -Wpointer-arith"
13757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13758 /* end confdefs.h. */
13759 int main(int argc, char **argv) { return 0; }
13760 _ACEOF
13761 if ac_fn_c_try_link "$LINENO"; then :
13762 ac_cv_cflags__Wpointer_arith=yes
13763 else
13764 ac_cv_cflags__Wpointer_arith=no
13766 rm -f core conftest.err conftest.$ac_objext \
13767 conftest$ac_exeext conftest.$ac_ext
13768 CFLAGS=$ac_wine_try_cflags_saved
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13771 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13772 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13773 saved_string_h_CFLAGS=$CFLAGS
13774 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13776 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13777 if ${ac_cv_c_string_h_warnings+:} false; then :
13778 $as_echo_n "(cached) " >&6
13779 else
13780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13782 #include <string.h>
13784 main ()
13788 return 0;
13790 _ACEOF
13791 if ac_fn_c_try_compile "$LINENO"; then :
13792 ac_cv_c_string_h_warnings=no
13793 else
13794 ac_cv_c_string_h_warnings=yes
13796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13799 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13800 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13801 CFLAGS=$saved_string_h_CFLAGS
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13805 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13806 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13807 $as_echo_n "(cached) " >&6
13808 else
13809 ac_wine_try_cflags_saved=$CFLAGS
13810 CFLAGS="$CFLAGS -Wlogical-op"
13811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13812 /* end confdefs.h. */
13813 int main(int argc, char **argv) { return 0; }
13814 _ACEOF
13815 if ac_fn_c_try_link "$LINENO"; then :
13816 ac_cv_cflags__Wlogical_op=yes
13817 else
13818 ac_cv_cflags__Wlogical_op=no
13820 rm -f core conftest.err conftest.$ac_objext \
13821 conftest$ac_exeext conftest.$ac_ext
13822 CFLAGS=$ac_wine_try_cflags_saved
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13825 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13826 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13827 saved_string_h_CFLAGS=$CFLAGS
13828 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13830 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13831 if ${ac_cv_c_logicalop_noisy+:} false; then :
13832 $as_echo_n "(cached) " >&6
13833 else
13834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13835 /* end confdefs.h. */
13836 #include <string.h>
13837 char*f(const char *h,char n) {return strchr(h,n);}
13839 main ()
13843 return 0;
13845 _ACEOF
13846 if ac_fn_c_try_compile "$LINENO"; then :
13847 ac_cv_c_logicalop_noisy=no
13848 else
13849 ac_cv_c_logicalop_noisy=yes
13851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13854 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13855 CFLAGS=$saved_string_h_CFLAGS
13856 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13859 CFLAGS=$saved_CFLAGS
13861 for ac_flag in $CFLAGS; do
13862 case $ac_flag in
13863 -g) case $host_os in
13864 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13865 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13866 if ${ac_cv_cflags__gstabsp+:} false; then :
13867 $as_echo_n "(cached) " >&6
13868 else
13869 ac_wine_try_cflags_saved=$CFLAGS
13870 CFLAGS="$CFLAGS -gstabs+"
13871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13873 int main(int argc, char **argv) { return 0; }
13874 _ACEOF
13875 if ac_fn_c_try_link "$LINENO"; then :
13876 ac_cv_cflags__gstabsp=yes
13877 else
13878 ac_cv_cflags__gstabsp=no
13880 rm -f core conftest.err conftest.$ac_objext \
13881 conftest$ac_exeext conftest.$ac_ext
13882 CFLAGS=$ac_wine_try_cflags_saved
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13885 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13886 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13887 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13888 fi ;;
13889 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13890 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13891 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13892 $as_echo_n "(cached) " >&6
13893 else
13894 ac_wine_try_cflags_saved=$CFLAGS
13895 CFLAGS="$CFLAGS -gdwarf-2"
13896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13898 int main(int argc, char **argv) { return 0; }
13899 _ACEOF
13900 if ac_fn_c_try_link "$LINENO"; then :
13901 ac_cv_cflags__gdwarf_2=yes
13902 else
13903 ac_cv_cflags__gdwarf_2=no
13905 rm -f core conftest.err conftest.$ac_objext \
13906 conftest$ac_exeext conftest.$ac_ext
13907 CFLAGS=$ac_wine_try_cflags_saved
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13910 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13911 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
13912 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13915 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13916 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13917 $as_echo_n "(cached) " >&6
13918 else
13919 ac_wine_try_cflags_saved=$CFLAGS
13920 CFLAGS="$CFLAGS -gstrict-dwarf"
13921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13922 /* end confdefs.h. */
13923 int main(int argc, char **argv) { return 0; }
13924 _ACEOF
13925 if ac_fn_c_try_link "$LINENO"; then :
13926 ac_cv_cflags__gstrict_dwarf=yes
13927 else
13928 ac_cv_cflags__gstrict_dwarf=no
13930 rm -f core conftest.err conftest.$ac_objext \
13931 conftest$ac_exeext conftest.$ac_ext
13932 CFLAGS=$ac_wine_try_cflags_saved
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13935 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13936 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
13937 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13938 fi ;;
13939 esac ;;
13940 esac
13941 done
13943 case $host_cpu in
13944 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13945 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13946 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13947 $as_echo_n "(cached) " >&6
13948 else
13949 ac_wine_try_cflags_saved=$CFLAGS
13950 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13953 int main(int argc, char **argv) { return 0; }
13954 _ACEOF
13955 if ac_fn_c_try_link "$LINENO"; then :
13956 ac_cv_cflags__fno_omit_frame_pointer=yes
13957 else
13958 ac_cv_cflags__fno_omit_frame_pointer=no
13960 rm -f core conftest.err conftest.$ac_objext \
13961 conftest$ac_exeext conftest.$ac_ext
13962 CFLAGS=$ac_wine_try_cflags_saved
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13965 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13966 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
13967 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13968 fi ;;
13969 esac
13971 case $host in
13972 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13973 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13974 if ${ac_cv_cflags__Wno_format+:} false; then :
13975 $as_echo_n "(cached) " >&6
13976 else
13977 ac_wine_try_cflags_saved=$CFLAGS
13978 CFLAGS="$CFLAGS -Wno-format"
13979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13980 /* end confdefs.h. */
13981 int main(int argc, char **argv) { return 0; }
13982 _ACEOF
13983 if ac_fn_c_try_link "$LINENO"; then :
13984 ac_cv_cflags__Wno_format=yes
13985 else
13986 ac_cv_cflags__Wno_format=no
13988 rm -f core conftest.err conftest.$ac_objext \
13989 conftest$ac_exeext conftest.$ac_ext
13990 CFLAGS=$ac_wine_try_cflags_saved
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13993 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13994 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
13995 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13996 fi ;;
13997 esac
13999 if test "x$enable_maintainer_mode" = "xyes"
14000 then
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14002 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14003 if ${ac_cv_cflags__Werror+:} false; then :
14004 $as_echo_n "(cached) " >&6
14005 else
14006 ac_wine_try_cflags_saved=$CFLAGS
14007 CFLAGS="$CFLAGS -Werror"
14008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14009 /* end confdefs.h. */
14010 int main(int argc, char **argv) { return 0; }
14011 _ACEOF
14012 if ac_fn_c_try_link "$LINENO"; then :
14013 ac_cv_cflags__Werror=yes
14014 else
14015 ac_cv_cflags__Werror=no
14017 rm -f core conftest.err conftest.$ac_objext \
14018 conftest$ac_exeext conftest.$ac_ext
14019 CFLAGS=$ac_wine_try_cflags_saved
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14022 $as_echo "$ac_cv_cflags__Werror" >&6; }
14023 if test "x$ac_cv_cflags__Werror" = xyes; then :
14024 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14028 saved_CFLAGS="$CFLAGS"
14029 CFLAGS="$CFLAGS -Werror"
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14031 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14032 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14033 $as_echo_n "(cached) " >&6
14034 else
14035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h. */
14037 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14039 main ()
14043 return 0;
14045 _ACEOF
14046 if ac_fn_c_try_compile "$LINENO"; then :
14047 ac_cv_have_ms_hook_prologue="yes"
14048 else
14049 ac_cv_have_ms_hook_prologue="no"
14051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14054 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14055 CFLAGS="$saved_CFLAGS"
14056 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14057 then
14059 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14061 else
14062 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14069 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14070 if ${ac_cv_c_fortify_enabled+:} false; then :
14071 $as_echo_n "(cached) " >&6
14072 else
14073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14074 /* end confdefs.h. */
14075 #include <string.h>
14077 main ()
14079 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14080 #error Fortify enabled
14081 #endif
14083 return 0;
14085 _ACEOF
14086 if ac_fn_c_try_compile "$LINENO"; then :
14087 ac_cv_c_fortify_enabled=no
14088 else
14089 ac_cv_c_fortify_enabled=yes
14091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14094 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14095 if test "$ac_cv_c_fortify_enabled" = yes
14096 then
14097 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14102 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14103 if ${ac_cv_c_extern_prefix+:} false; then :
14104 $as_echo_n "(cached) " >&6
14105 else
14106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14108 extern int ac_test;
14110 main ()
14112 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14114 return 0;
14116 _ACEOF
14117 if ac_fn_c_try_link "$LINENO"; then :
14118 ac_cv_c_extern_prefix="yes"
14119 else
14120 ac_cv_c_extern_prefix="no"
14122 rm -f core conftest.err conftest.$ac_objext \
14123 conftest$ac_exeext conftest.$ac_ext
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14126 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14128 case $host_cpu in
14129 *i[3456789]86*)
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14131 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14132 if ${ac_cv_c_stdcall_suffix+:} false; then :
14133 $as_echo_n "(cached) " >&6
14134 else
14135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14137 #ifndef _MSC_VER
14138 #define __stdcall __attribute__((__stdcall__))
14139 #endif
14140 int __stdcall ac_test(int i) { return i; }
14142 main ()
14144 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14146 return 0;
14148 _ACEOF
14149 if ac_fn_c_try_link "$LINENO"; then :
14150 ac_cv_c_stdcall_suffix="yes"
14151 else
14152 ac_cv_c_stdcall_suffix="no"
14154 rm -f core conftest.err conftest.$ac_objext \
14155 conftest$ac_exeext conftest.$ac_ext
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14158 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14159 *) ac_cv_c_stdcall_suffix="no" ;;
14160 esac
14163 if test "$ac_cv_c_extern_prefix" = "yes"
14164 then
14165 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14167 asm_name_prefix="_"
14168 else
14169 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14171 asm_name_prefix=""
14175 if test "$ac_cv_c_stdcall_suffix" = "yes"
14176 then
14177 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14179 else
14180 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14186 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14187 if ${ac_cv_asm_func_def+:} false; then :
14188 $as_echo_n "(cached) " >&6
14189 else
14190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14191 /* end confdefs.h. */
14194 main ()
14196 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14198 return 0;
14200 _ACEOF
14201 if ac_fn_c_try_link "$LINENO"; then :
14202 ac_cv_asm_func_def=".def"
14203 else
14204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14205 /* end confdefs.h. */
14208 main ()
14210 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14212 return 0;
14214 _ACEOF
14215 if ac_fn_c_try_link "$LINENO"; then :
14216 ac_cv_asm_func_def=".type @function"
14217 else
14218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14219 /* end confdefs.h. */
14222 main ()
14224 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14226 return 0;
14228 _ACEOF
14229 if ac_fn_c_try_link "$LINENO"; then :
14230 ac_cv_asm_func_def=".type 2"
14231 else
14232 ac_cv_asm_func_def="unknown"
14234 rm -f core conftest.err conftest.$ac_objext \
14235 conftest$ac_exeext conftest.$ac_ext
14237 rm -f core conftest.err conftest.$ac_objext \
14238 conftest$ac_exeext conftest.$ac_ext
14240 rm -f core conftest.err conftest.$ac_objext \
14241 conftest$ac_exeext conftest.$ac_ext
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14244 $as_echo "$ac_cv_asm_func_def" >&6; }
14247 case "$ac_cv_asm_func_def" in
14248 ".def")
14249 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14251 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14252 ".type @function")
14253 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14255 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14256 ".type 2")
14257 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14259 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14261 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14263 asm_func_header="" ;;
14264 esac
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14267 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14268 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14269 $as_echo_n "(cached) " >&6
14270 else
14271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14272 /* end confdefs.h. */
14273 asm(".text\n\t.long 0");
14275 main ()
14279 return 0;
14281 _ACEOF
14282 if ac_fn_c_try_compile "$LINENO"; then :
14283 ac_cv_c_asm_outside_funcs="yes"
14284 else
14285 ac_cv_c_asm_outside_funcs="no"
14287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14290 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14293 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14294 if ${ac_cv_c_dot_previous+:} false; then :
14295 $as_echo_n "(cached) " >&6
14296 else
14297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14298 /* end confdefs.h. */
14301 main ()
14303 asm(".text\nac_test:\t.long 0\n\t.previous");
14305 return 0;
14307 _ACEOF
14308 if ac_fn_c_try_link "$LINENO"; then :
14309 ac_cv_c_dot_previous="yes"
14310 else
14311 ac_cv_c_dot_previous="no"
14313 rm -f core conftest.err conftest.$ac_objext \
14314 conftest$ac_exeext conftest.$ac_ext
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14317 $as_echo "$ac_cv_c_dot_previous" >&6; }
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14320 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14321 if ${ac_cv_c_cfi_support+:} false; then :
14322 $as_echo_n "(cached) " >&6
14323 else
14324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14325 /* end confdefs.h. */
14326 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14328 main ()
14332 return 0;
14334 _ACEOF
14335 if ac_fn_c_try_compile "$LINENO"; then :
14336 ac_cv_c_cfi_support="yes"
14337 else
14338 ac_cv_c_cfi_support="no"
14340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14343 $as_echo "$ac_cv_c_cfi_support" >&6; }
14345 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14346 asm_func_trailer=""
14347 if test "$ac_cv_c_dot_previous" = "yes"
14348 then
14349 asm_func_trailer="\\n\\t.previous"
14351 if test "$ac_cv_c_cfi_support" = "yes"
14352 then
14353 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14354 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14356 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14358 UNWINDFLAGS=-fasynchronous-unwind-tables
14360 else
14361 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14365 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14368 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14369 then
14370 cat >>confdefs.h <<_ACEOF
14371 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14372 _ACEOF
14374 else
14375 cat >>confdefs.h <<_ACEOF
14376 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14377 _ACEOF
14381 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14384 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14388 case $build_os in
14389 cygwin*|mingw32*) TOOLSEXT=".exe"
14391 esac
14393 case $host_os in
14394 linux*)
14395 case $host_cpu in
14396 *i[3456789]86*|x86_64*)
14397 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14398 loader_programs="$loader_programs $wine_binary-preloader"
14399 as_fn_append LOADER_RULES "
14400 $wine_binary-preloader: preloader.o
14401 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14403 install install-lib:: $wine_binary-preloader
14404 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14406 uninstall::
14407 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14409 preloader_EXTRADEFS = $BUILTINFLAG
14410 " ;;
14411 esac
14413 esac
14414 as_fn_append LOADER_RULES "
14415 PROGRAMS = $loader_programs
14419 ac_save_CFLAGS="$CFLAGS"
14420 CFLAGS="$CFLAGS $BUILTINFLAG"
14421 for ac_func in \
14422 __res_get_state \
14423 __res_getservers \
14424 _finite \
14425 _isnan \
14426 _pclose \
14427 _popen \
14428 _snprintf \
14429 _spawnvp \
14430 _strdup \
14431 _stricmp \
14432 _strnicmp \
14433 _strtoi64 \
14434 _strtoui64 \
14435 _vsnprintf \
14436 asctime_r \
14437 chsize \
14438 dlopen \
14439 epoll_create \
14440 ffs \
14441 fnmatch \
14442 fork \
14443 fpclass \
14444 fstatfs \
14445 fstatvfs \
14446 ftruncate \
14447 futimens \
14448 futimes \
14449 futimesat \
14450 getattrlist \
14451 getdirentries \
14452 getopt_long_only \
14453 getpwuid \
14454 gettimeofday \
14455 getuid \
14456 if_nameindex \
14457 kqueue \
14458 lstat \
14459 memmove \
14460 mmap \
14461 pclose \
14462 pipe2 \
14463 poll \
14464 popen \
14465 port_create \
14466 prctl \
14467 pread \
14468 proc_pidinfo \
14469 pwrite \
14470 readdir \
14471 readlink \
14472 sched_yield \
14473 select \
14474 setproctitle \
14475 setrlimit \
14476 settimeofday \
14477 sigaltstack \
14478 sigprocmask \
14479 snprintf \
14480 statfs \
14481 statvfs \
14482 strcasecmp \
14483 strdup \
14484 strerror \
14485 strncasecmp \
14486 strtold \
14487 strtoll \
14488 strtoull \
14489 symlink \
14490 tcdrain \
14491 thr_kill2 \
14492 timegm \
14493 usleep \
14494 vsnprintf
14496 do :
14497 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14498 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14499 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14500 cat >>confdefs.h <<_ACEOF
14501 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14502 _ACEOF
14505 done
14507 CFLAGS="$ac_save_CFLAGS"
14509 if test "$ac_cv_func_dlopen" = no
14510 then
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14512 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14513 if ${ac_cv_lib_dl_dlopen+:} false; then :
14514 $as_echo_n "(cached) " >&6
14515 else
14516 ac_check_lib_save_LIBS=$LIBS
14517 LIBS="-ldl $LIBS"
14518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14519 /* end confdefs.h. */
14521 /* Override any GCC internal prototype to avoid an error.
14522 Use char because int might match the return type of a GCC
14523 builtin and then its argument prototype would still apply. */
14524 #ifdef __cplusplus
14525 extern "C"
14526 #endif
14527 char dlopen ();
14529 main ()
14531 return dlopen ();
14533 return 0;
14535 _ACEOF
14536 if ac_fn_c_try_link "$LINENO"; then :
14537 ac_cv_lib_dl_dlopen=yes
14538 else
14539 ac_cv_lib_dl_dlopen=no
14541 rm -f core conftest.err conftest.$ac_objext \
14542 conftest$ac_exeext conftest.$ac_ext
14543 LIBS=$ac_check_lib_save_LIBS
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14546 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14547 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14548 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14549 DL_LIBS="-ldl"
14554 ac_wine_check_funcs_save_LIBS="$LIBS"
14555 LIBS="$LIBS $DL_LIBS"
14556 for ac_func in dladdr
14557 do :
14558 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14559 if test "x$ac_cv_func_dladdr" = xyes; then :
14560 cat >>confdefs.h <<_ACEOF
14561 #define HAVE_DLADDR 1
14562 _ACEOF
14565 done
14567 LIBS="$ac_wine_check_funcs_save_LIBS"
14569 if test "$ac_cv_func_poll" = no
14570 then
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14572 $as_echo_n "checking for poll in -lpoll... " >&6; }
14573 if ${ac_cv_lib_poll_poll+:} false; then :
14574 $as_echo_n "(cached) " >&6
14575 else
14576 ac_check_lib_save_LIBS=$LIBS
14577 LIBS="-lpoll $LIBS"
14578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14579 /* end confdefs.h. */
14581 /* Override any GCC internal prototype to avoid an error.
14582 Use char because int might match the return type of a GCC
14583 builtin and then its argument prototype would still apply. */
14584 #ifdef __cplusplus
14585 extern "C"
14586 #endif
14587 char poll ();
14589 main ()
14591 return poll ();
14593 return 0;
14595 _ACEOF
14596 if ac_fn_c_try_link "$LINENO"; then :
14597 ac_cv_lib_poll_poll=yes
14598 else
14599 ac_cv_lib_poll_poll=no
14601 rm -f core conftest.err conftest.$ac_objext \
14602 conftest$ac_exeext conftest.$ac_ext
14603 LIBS=$ac_check_lib_save_LIBS
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14606 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14607 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14608 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14609 POLL_LIBS="-lpoll"
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14616 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14617 if ${ac_cv_search_gethostbyname+:} false; then :
14618 $as_echo_n "(cached) " >&6
14619 else
14620 ac_func_search_save_LIBS=$LIBS
14621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14622 /* end confdefs.h. */
14624 /* Override any GCC internal prototype to avoid an error.
14625 Use char because int might match the return type of a GCC
14626 builtin and then its argument prototype would still apply. */
14627 #ifdef __cplusplus
14628 extern "C"
14629 #endif
14630 char gethostbyname ();
14632 main ()
14634 return gethostbyname ();
14636 return 0;
14638 _ACEOF
14639 for ac_lib in '' nsl; do
14640 if test -z "$ac_lib"; then
14641 ac_res="none required"
14642 else
14643 ac_res=-l$ac_lib
14644 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14646 if ac_fn_c_try_link "$LINENO"; then :
14647 ac_cv_search_gethostbyname=$ac_res
14649 rm -f core conftest.err conftest.$ac_objext \
14650 conftest$ac_exeext
14651 if ${ac_cv_search_gethostbyname+:} false; then :
14652 break
14654 done
14655 if ${ac_cv_search_gethostbyname+:} false; then :
14657 else
14658 ac_cv_search_gethostbyname=no
14660 rm conftest.$ac_ext
14661 LIBS=$ac_func_search_save_LIBS
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14664 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14665 ac_res=$ac_cv_search_gethostbyname
14666 if test "$ac_res" != no; then :
14667 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14673 $as_echo_n "checking for library containing connect... " >&6; }
14674 if ${ac_cv_search_connect+:} false; then :
14675 $as_echo_n "(cached) " >&6
14676 else
14677 ac_func_search_save_LIBS=$LIBS
14678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14679 /* end confdefs.h. */
14681 /* Override any GCC internal prototype to avoid an error.
14682 Use char because int might match the return type of a GCC
14683 builtin and then its argument prototype would still apply. */
14684 #ifdef __cplusplus
14685 extern "C"
14686 #endif
14687 char connect ();
14689 main ()
14691 return connect ();
14693 return 0;
14695 _ACEOF
14696 for ac_lib in '' socket; do
14697 if test -z "$ac_lib"; then
14698 ac_res="none required"
14699 else
14700 ac_res=-l$ac_lib
14701 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14703 if ac_fn_c_try_link "$LINENO"; then :
14704 ac_cv_search_connect=$ac_res
14706 rm -f core conftest.err conftest.$ac_objext \
14707 conftest$ac_exeext
14708 if ${ac_cv_search_connect+:} false; then :
14709 break
14711 done
14712 if ${ac_cv_search_connect+:} false; then :
14714 else
14715 ac_cv_search_connect=no
14717 rm conftest.$ac_ext
14718 LIBS=$ac_func_search_save_LIBS
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14721 $as_echo "$ac_cv_search_connect" >&6; }
14722 ac_res=$ac_cv_search_connect
14723 if test "$ac_res" != no; then :
14724 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14730 $as_echo_n "checking for library containing inet_aton... " >&6; }
14731 if ${ac_cv_search_inet_aton+:} false; then :
14732 $as_echo_n "(cached) " >&6
14733 else
14734 ac_func_search_save_LIBS=$LIBS
14735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14736 /* end confdefs.h. */
14738 /* Override any GCC internal prototype to avoid an error.
14739 Use char because int might match the return type of a GCC
14740 builtin and then its argument prototype would still apply. */
14741 #ifdef __cplusplus
14742 extern "C"
14743 #endif
14744 char inet_aton ();
14746 main ()
14748 return inet_aton ();
14750 return 0;
14752 _ACEOF
14753 for ac_lib in '' resolv; do
14754 if test -z "$ac_lib"; then
14755 ac_res="none required"
14756 else
14757 ac_res=-l$ac_lib
14758 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14760 if ac_fn_c_try_link "$LINENO"; then :
14761 ac_cv_search_inet_aton=$ac_res
14763 rm -f core conftest.err conftest.$ac_objext \
14764 conftest$ac_exeext
14765 if ${ac_cv_search_inet_aton+:} false; then :
14766 break
14768 done
14769 if ${ac_cv_search_inet_aton+:} false; then :
14771 else
14772 ac_cv_search_inet_aton=no
14774 rm conftest.$ac_ext
14775 LIBS=$ac_func_search_save_LIBS
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14778 $as_echo "$ac_cv_search_inet_aton" >&6; }
14779 ac_res=$ac_cv_search_inet_aton
14780 if test "$ac_res" != no; then :
14781 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14786 for ac_func in \
14787 getaddrinfo \
14788 getnameinfo \
14789 getnetbyname \
14790 getprotobyname \
14791 getprotobynumber \
14792 getservbyport \
14793 inet_addr \
14794 inet_network \
14795 inet_ntop \
14796 inet_pton \
14797 sendmsg \
14798 socketpair \
14800 do :
14801 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14802 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14803 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14804 cat >>confdefs.h <<_ACEOF
14805 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14806 _ACEOF
14809 done
14812 ac_save_LIBS=$LIBS
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14814 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14815 if ${ac_cv_search_clock_gettime+:} false; then :
14816 $as_echo_n "(cached) " >&6
14817 else
14818 ac_func_search_save_LIBS=$LIBS
14819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14820 /* end confdefs.h. */
14822 /* Override any GCC internal prototype to avoid an error.
14823 Use char because int might match the return type of a GCC
14824 builtin and then its argument prototype would still apply. */
14825 #ifdef __cplusplus
14826 extern "C"
14827 #endif
14828 char clock_gettime ();
14830 main ()
14832 return clock_gettime ();
14834 return 0;
14836 _ACEOF
14837 for ac_lib in '' rt; do
14838 if test -z "$ac_lib"; then
14839 ac_res="none required"
14840 else
14841 ac_res=-l$ac_lib
14842 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14844 if ac_fn_c_try_link "$LINENO"; then :
14845 ac_cv_search_clock_gettime=$ac_res
14847 rm -f core conftest.err conftest.$ac_objext \
14848 conftest$ac_exeext
14849 if ${ac_cv_search_clock_gettime+:} false; then :
14850 break
14852 done
14853 if ${ac_cv_search_clock_gettime+:} false; then :
14855 else
14856 ac_cv_search_clock_gettime=no
14858 rm conftest.$ac_ext
14859 LIBS=$ac_func_search_save_LIBS
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14862 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14863 ac_res=$ac_cv_search_clock_gettime
14864 if test "$ac_res" != no; then :
14865 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14867 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14869 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14873 LIBS=$ac_save_LIBS
14875 LDAP_LIBS=""
14877 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14878 then
14879 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14881 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14883 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14884 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14885 $as_echo_n "(cached) " >&6
14886 else
14887 ac_check_lib_save_LIBS=$LIBS
14888 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14890 /* end confdefs.h. */
14892 /* Override any GCC internal prototype to avoid an error.
14893 Use char because int might match the return type of a GCC
14894 builtin and then its argument prototype would still apply. */
14895 #ifdef __cplusplus
14896 extern "C"
14897 #endif
14898 char ldap_initialize ();
14900 main ()
14902 return ldap_initialize ();
14904 return 0;
14906 _ACEOF
14907 if ac_fn_c_try_link "$LINENO"; then :
14908 ac_cv_lib_ldap_r_ldap_initialize=yes
14909 else
14910 ac_cv_lib_ldap_r_ldap_initialize=no
14912 rm -f core conftest.err conftest.$ac_objext \
14913 conftest$ac_exeext conftest.$ac_ext
14914 LIBS=$ac_check_lib_save_LIBS
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14917 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14918 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14920 $as_echo_n "checking for ber_init in -llber... " >&6; }
14921 if ${ac_cv_lib_lber_ber_init+:} false; then :
14922 $as_echo_n "(cached) " >&6
14923 else
14924 ac_check_lib_save_LIBS=$LIBS
14925 LIBS="-llber $PTHREAD_LIBS $LIBS"
14926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14927 /* end confdefs.h. */
14929 /* Override any GCC internal prototype to avoid an error.
14930 Use char because int might match the return type of a GCC
14931 builtin and then its argument prototype would still apply. */
14932 #ifdef __cplusplus
14933 extern "C"
14934 #endif
14935 char ber_init ();
14937 main ()
14939 return ber_init ();
14941 return 0;
14943 _ACEOF
14944 if ac_fn_c_try_link "$LINENO"; then :
14945 ac_cv_lib_lber_ber_init=yes
14946 else
14947 ac_cv_lib_lber_ber_init=no
14949 rm -f core conftest.err conftest.$ac_objext \
14950 conftest$ac_exeext conftest.$ac_ext
14951 LIBS=$ac_check_lib_save_LIBS
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14954 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14955 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14957 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14959 LDAP_LIBS="-lldap_r -llber"
14966 ac_wine_check_funcs_save_LIBS="$LIBS"
14967 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14968 for ac_func in \
14969 ldap_count_references \
14970 ldap_first_reference \
14971 ldap_next_reference \
14972 ldap_parse_reference \
14973 ldap_parse_sort_control \
14974 ldap_parse_sortresponse_control \
14975 ldap_parse_vlv_control \
14976 ldap_parse_vlvresponse_control
14977 do :
14978 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14979 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14980 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14981 cat >>confdefs.h <<_ACEOF
14982 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14983 _ACEOF
14986 done
14988 LIBS="$ac_wine_check_funcs_save_LIBS"
14990 if test "x$LDAP_LIBS" = "x"; then :
14991 case "x$with_ldap" in
14992 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14993 xno) ;;
14994 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14995 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14996 esac
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15000 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15001 if ${wine_cv_one_arg_mkdir+:} false; then :
15002 $as_echo_n "(cached) " >&6
15003 else
15004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15005 /* end confdefs.h. */
15006 #include <sys/stat.h>
15008 main ()
15010 mkdir("foo");
15012 return 0;
15014 _ACEOF
15015 if ac_fn_c_try_compile "$LINENO"; then :
15016 wine_cv_one_arg_mkdir=yes
15017 else
15018 wine_cv_one_arg_mkdir=no
15020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15023 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15024 if test "$wine_cv_one_arg_mkdir" = "yes"
15025 then
15027 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15032 $as_echo_n "checking for sched_setaffinity... " >&6; }
15033 if ${wine_cv_have_sched_setaffinity+:} false; then :
15034 $as_echo_n "(cached) " >&6
15035 else
15036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15037 /* end confdefs.h. */
15038 #define _GNU_SOURCE
15039 #include <sched.h>
15041 main ()
15043 sched_setaffinity(0, 0, 0);
15045 return 0;
15047 _ACEOF
15048 if ac_fn_c_try_link "$LINENO"; then :
15049 wine_cv_have_sched_setaffinity=yes
15050 else
15051 wine_cv_have_sched_setaffinity=no
15053 rm -f core conftest.err conftest.$ac_objext \
15054 conftest$ac_exeext conftest.$ac_ext
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15057 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15058 if test "$wine_cv_have_sched_setaffinity" = "yes"
15059 then
15061 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15066 $as_echo_n "checking for fallocate... " >&6; }
15067 if ${wine_cv_have_fallocate+:} false; then :
15068 $as_echo_n "(cached) " >&6
15069 else
15070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15071 /* end confdefs.h. */
15072 #define _GNU_SOURCE
15073 #include <fcntl.h>
15075 main ()
15077 fallocate(-1, 0, 0, 0);
15079 return 0;
15081 _ACEOF
15082 if ac_fn_c_try_link "$LINENO"; then :
15083 wine_cv_have_fallocate=yes
15084 else
15085 wine_cv_have_fallocate=no
15087 rm -f core conftest.err conftest.$ac_objext \
15088 conftest$ac_exeext conftest.$ac_ext
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15091 $as_echo "$wine_cv_have_fallocate" >&6; }
15092 if test "$wine_cv_have_fallocate" = "yes"
15093 then
15095 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15101 $as_echo_n "checking for inline... " >&6; }
15102 if ${ac_cv_c_inline+:} false; then :
15103 $as_echo_n "(cached) " >&6
15104 else
15105 ac_cv_c_inline=no
15106 for ac_kw in inline __inline__ __inline; do
15107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15108 /* end confdefs.h. */
15109 #ifndef __cplusplus
15110 typedef int foo_t;
15111 static $ac_kw foo_t static_foo () {return 0; }
15112 $ac_kw foo_t foo () {return 0; }
15113 #endif
15115 _ACEOF
15116 if ac_fn_c_try_compile "$LINENO"; then :
15117 ac_cv_c_inline=$ac_kw
15119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15120 test "$ac_cv_c_inline" != no && break
15121 done
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15125 $as_echo "$ac_cv_c_inline" >&6; }
15127 case $ac_cv_c_inline in
15128 inline | yes) ;;
15130 case $ac_cv_c_inline in
15131 no) ac_val=;;
15132 *) ac_val=$ac_cv_c_inline;;
15133 esac
15134 cat >>confdefs.h <<_ACEOF
15135 #ifndef __cplusplus
15136 #define inline $ac_val
15137 #endif
15138 _ACEOF
15140 esac
15142 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15143 if test "x$ac_cv_type_mode_t" = xyes; then :
15145 cat >>confdefs.h <<_ACEOF
15146 #define HAVE_MODE_T 1
15147 _ACEOF
15151 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15152 if test "x$ac_cv_type_off_t" = xyes; then :
15154 cat >>confdefs.h <<_ACEOF
15155 #define HAVE_OFF_T 1
15156 _ACEOF
15160 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15161 if test "x$ac_cv_type_pid_t" = xyes; then :
15163 cat >>confdefs.h <<_ACEOF
15164 #define HAVE_PID_T 1
15165 _ACEOF
15169 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15170 if test "x$ac_cv_type_size_t" = xyes; then :
15172 cat >>confdefs.h <<_ACEOF
15173 #define HAVE_SIZE_T 1
15174 _ACEOF
15178 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15179 if test "x$ac_cv_type_ssize_t" = xyes; then :
15181 cat >>confdefs.h <<_ACEOF
15182 #define HAVE_SSIZE_T 1
15183 _ACEOF
15187 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15188 if test "x$ac_cv_type_long_long" = xyes; then :
15190 cat >>confdefs.h <<_ACEOF
15191 #define HAVE_LONG_LONG 1
15192 _ACEOF
15196 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15197 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15199 cat >>confdefs.h <<_ACEOF
15200 #define HAVE_FSBLKCNT_T 1
15201 _ACEOF
15205 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15206 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15208 cat >>confdefs.h <<_ACEOF
15209 #define HAVE_FSFILCNT_T 1
15210 _ACEOF
15215 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15216 #include <signal.h>
15218 if test "x$ac_cv_type_sigset_t" = xyes; then :
15220 cat >>confdefs.h <<_ACEOF
15221 #define HAVE_SIGSET_T 1
15222 _ACEOF
15227 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15229 if test "x$ac_cv_type_request_sense" = xyes; then :
15231 cat >>confdefs.h <<_ACEOF
15232 #define HAVE_REQUEST_SENSE 1
15233 _ACEOF
15239 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15240 #ifdef HAVE_SYS_SOCKET_H
15241 #include <sys/socket.h>
15242 #endif
15243 #ifdef HAVE_SYS_SOCKETVAR_H
15244 #include <sys/socketvar.h>
15245 #endif
15246 #ifdef HAVE_NET_ROUTE_H
15247 #include <net/route.h>
15248 #endif
15249 #ifdef HAVE_NETINET_IN_H
15250 #include <netinet/in.h>
15251 #endif
15252 #ifdef HAVE_NETINET_IN_SYSTM_H
15253 #include <netinet/in_systm.h>
15254 #endif
15255 #ifdef HAVE_NETINET_IP_H
15256 #include <netinet/ip.h>
15257 #endif
15258 #ifdef HAVE_NETINET_IN_PCB_H
15259 #include <netinet/in_pcb.h>
15260 #endif
15262 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15264 cat >>confdefs.h <<_ACEOF
15265 #define HAVE_STRUCT_XINPGEN 1
15266 _ACEOF
15272 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15273 #include <link.h>
15274 #endif
15275 #ifdef HAVE_SYS_LINK_H
15276 #include <sys/link.h>
15277 #endif
15279 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15281 cat >>confdefs.h <<_ACEOF
15282 #define HAVE_STRUCT_R_DEBUG 1
15283 _ACEOF
15287 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15288 #include <link.h>
15289 #endif
15290 #ifdef HAVE_SYS_LINK_H
15291 #include <sys/link.h>
15292 #endif
15294 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15296 cat >>confdefs.h <<_ACEOF
15297 #define HAVE_STRUCT_LINK_MAP 1
15298 _ACEOF
15304 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15305 #include <linux/input.h>
15306 #endif
15308 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15310 cat >>confdefs.h <<_ACEOF
15311 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15312 _ACEOF
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15319 $as_echo_n "checking for sigaddset... " >&6; }
15320 if ${wine_cv_have_sigaddset+:} false; then :
15321 $as_echo_n "(cached) " >&6
15322 else
15323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15324 /* end confdefs.h. */
15325 #include <signal.h>
15327 main ()
15329 sigset_t set; sigaddset(&set,SIGTERM);
15331 return 0;
15333 _ACEOF
15334 if ac_fn_c_try_link "$LINENO"; then :
15335 wine_cv_have_sigaddset=yes
15336 else
15337 wine_cv_have_sigaddset=no
15339 rm -f core conftest.err conftest.$ac_objext \
15340 conftest$ac_exeext conftest.$ac_ext
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15343 $as_echo "$wine_cv_have_sigaddset" >&6; }
15344 if test "$wine_cv_have_sigaddset" = "yes"
15345 then
15347 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15353 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15354 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15355 $as_echo_n "(cached) " >&6
15356 else
15357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15358 /* end confdefs.h. */
15359 #include <netdb.h>
15361 main ()
15364 char *name=0;
15365 struct hostent he;
15366 struct hostent *result;
15367 char *buf=0;
15368 int bufsize=0;
15369 int errnr;
15370 char *addr=0;
15371 int addrlen=0;
15372 int addrtype=0;
15373 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15374 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15377 return 0;
15379 _ACEOF
15380 if ac_fn_c_try_link "$LINENO"; then :
15381 wine_cv_linux_gethostbyname_r_6=yes
15382 else
15383 wine_cv_linux_gethostbyname_r_6=no
15386 rm -f core conftest.err conftest.$ac_objext \
15387 conftest$ac_exeext conftest.$ac_ext
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15391 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15392 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15393 then
15395 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15399 if test "$ac_cv_header_linux_joystick_h" = "yes"
15400 then
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15402 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15403 if ${wine_cv_linux_joystick_22_api+:} false; then :
15404 $as_echo_n "(cached) " >&6
15405 else
15406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15407 /* end confdefs.h. */
15409 #include <sys/ioctl.h>
15410 #include <sys/types.h>
15411 #include <linux/joystick.h>
15413 struct js_event blub;
15414 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15415 #error "no 2.2 header"
15416 #endif
15419 main ()
15421 /*empty*/
15423 return 0;
15425 _ACEOF
15426 if ac_fn_c_try_compile "$LINENO"; then :
15427 wine_cv_linux_joystick_22_api=yes
15428 else
15429 wine_cv_linux_joystick_22_api=no
15431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15435 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15436 if test "$wine_cv_linux_joystick_22_api" = "yes"
15437 then
15439 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15445 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15446 #ifdef HAVE_SYS_PARAM_H
15447 # include <sys/param.h>
15448 #endif
15449 #ifdef HAVE_SYS_MOUNT_H
15450 # include <sys/mount.h>
15451 #endif
15452 #ifdef HAVE_SYS_VFS_H
15453 # include <sys/vfs.h>
15454 #endif
15455 #ifdef HAVE_SYS_STATFS_H
15456 # include <sys/statfs.h>
15457 #endif
15459 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15461 cat >>confdefs.h <<_ACEOF
15462 #define HAVE_STRUCT_STATFS_F_BFREE 1
15463 _ACEOF
15467 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15468 #ifdef HAVE_SYS_PARAM_H
15469 # include <sys/param.h>
15470 #endif
15471 #ifdef HAVE_SYS_MOUNT_H
15472 # include <sys/mount.h>
15473 #endif
15474 #ifdef HAVE_SYS_VFS_H
15475 # include <sys/vfs.h>
15476 #endif
15477 #ifdef HAVE_SYS_STATFS_H
15478 # include <sys/statfs.h>
15479 #endif
15481 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15483 cat >>confdefs.h <<_ACEOF
15484 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15485 _ACEOF
15489 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15490 #ifdef HAVE_SYS_PARAM_H
15491 # include <sys/param.h>
15492 #endif
15493 #ifdef HAVE_SYS_MOUNT_H
15494 # include <sys/mount.h>
15495 #endif
15496 #ifdef HAVE_SYS_VFS_H
15497 # include <sys/vfs.h>
15498 #endif
15499 #ifdef HAVE_SYS_STATFS_H
15500 # include <sys/statfs.h>
15501 #endif
15503 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15505 cat >>confdefs.h <<_ACEOF
15506 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15507 _ACEOF
15511 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15512 #ifdef HAVE_SYS_PARAM_H
15513 # include <sys/param.h>
15514 #endif
15515 #ifdef HAVE_SYS_MOUNT_H
15516 # include <sys/mount.h>
15517 #endif
15518 #ifdef HAVE_SYS_VFS_H
15519 # include <sys/vfs.h>
15520 #endif
15521 #ifdef HAVE_SYS_STATFS_H
15522 # include <sys/statfs.h>
15523 #endif
15525 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15527 cat >>confdefs.h <<_ACEOF
15528 #define HAVE_STRUCT_STATFS_F_FFREE 1
15529 _ACEOF
15533 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15534 #ifdef HAVE_SYS_PARAM_H
15535 # include <sys/param.h>
15536 #endif
15537 #ifdef HAVE_SYS_MOUNT_H
15538 # include <sys/mount.h>
15539 #endif
15540 #ifdef HAVE_SYS_VFS_H
15541 # include <sys/vfs.h>
15542 #endif
15543 #ifdef HAVE_SYS_STATFS_H
15544 # include <sys/statfs.h>
15545 #endif
15547 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15549 cat >>confdefs.h <<_ACEOF
15550 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15551 _ACEOF
15555 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15556 #ifdef HAVE_SYS_PARAM_H
15557 # include <sys/param.h>
15558 #endif
15559 #ifdef HAVE_SYS_MOUNT_H
15560 # include <sys/mount.h>
15561 #endif
15562 #ifdef HAVE_SYS_VFS_H
15563 # include <sys/vfs.h>
15564 #endif
15565 #ifdef HAVE_SYS_STATFS_H
15566 # include <sys/statfs.h>
15567 #endif
15569 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15571 cat >>confdefs.h <<_ACEOF
15572 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15573 _ACEOF
15579 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15580 #include <sys/statvfs.h>
15581 #endif
15583 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15585 cat >>confdefs.h <<_ACEOF
15586 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15587 _ACEOF
15593 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15594 #include <dirent.h>
15595 #endif
15597 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15599 cat >>confdefs.h <<_ACEOF
15600 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15601 _ACEOF
15607 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15608 #ifdef HAVE_SYS_SOCKET_H
15609 # include <sys/socket.h>
15610 #endif
15611 #ifdef HAVE_SYS_UN_H
15612 # include <sys/un.h>
15613 #endif
15615 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15617 cat >>confdefs.h <<_ACEOF
15618 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15619 _ACEOF
15623 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15624 #ifdef HAVE_SYS_SOCKET_H
15625 # include <sys/socket.h>
15626 #endif
15627 #ifdef HAVE_SYS_UN_H
15628 # include <sys/un.h>
15629 #endif
15631 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15633 cat >>confdefs.h <<_ACEOF
15634 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15635 _ACEOF
15639 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15640 #ifdef HAVE_SYS_SOCKET_H
15641 # include <sys/socket.h>
15642 #endif
15643 #ifdef HAVE_SYS_UN_H
15644 # include <sys/un.h>
15645 #endif
15647 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15649 cat >>confdefs.h <<_ACEOF
15650 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15651 _ACEOF
15657 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15658 #ifdef HAVE_SCSI_SG_H
15659 #include <scsi/sg.h>
15660 #endif
15662 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15664 cat >>confdefs.h <<_ACEOF
15665 #define HAVE_SCSIREQ_T_CMD 1
15666 _ACEOF
15670 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>
15671 #ifdef HAVE_SCSI_SG_H
15672 #include <scsi/sg.h>
15673 #endif
15675 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15677 cat >>confdefs.h <<_ACEOF
15678 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15679 _ACEOF
15685 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15687 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15689 cat >>confdefs.h <<_ACEOF
15690 #define HAVE_SIGINFO_T_SI_FD 1
15691 _ACEOF
15697 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15698 #ifdef HAVE_SYS_MTIO_H
15699 #include <sys/mtio.h>
15700 #endif
15702 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15704 cat >>confdefs.h <<_ACEOF
15705 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15706 _ACEOF
15710 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15711 #ifdef HAVE_SYS_MTIO_H
15712 #include <sys/mtio.h>
15713 #endif
15715 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15717 cat >>confdefs.h <<_ACEOF
15718 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15719 _ACEOF
15723 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15724 #ifdef HAVE_SYS_MTIO_H
15725 #include <sys/mtio.h>
15726 #endif
15728 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15730 cat >>confdefs.h <<_ACEOF
15731 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15732 _ACEOF
15738 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15739 #include <getopt.h>
15740 #endif
15742 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15744 cat >>confdefs.h <<_ACEOF
15745 #define HAVE_STRUCT_OPTION_NAME 1
15746 _ACEOF
15752 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15753 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15755 cat >>confdefs.h <<_ACEOF
15756 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15757 _ACEOF
15761 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15762 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15764 cat >>confdefs.h <<_ACEOF
15765 #define HAVE_STRUCT_STAT_ST_MTIM 1
15766 _ACEOF
15770 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15771 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15773 cat >>confdefs.h <<_ACEOF
15774 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15775 _ACEOF
15779 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15780 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15782 cat >>confdefs.h <<_ACEOF
15783 #define HAVE_STRUCT_STAT_ST_CTIM 1
15784 _ACEOF
15788 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15789 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15791 cat >>confdefs.h <<_ACEOF
15792 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15793 _ACEOF
15797 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15798 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15800 cat >>confdefs.h <<_ACEOF
15801 #define HAVE_STRUCT_STAT_ST_ATIM 1
15802 _ACEOF
15806 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15807 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15809 cat >>confdefs.h <<_ACEOF
15810 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15811 _ACEOF
15815 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15816 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15818 cat >>confdefs.h <<_ACEOF
15819 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15820 _ACEOF
15824 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15825 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15827 cat >>confdefs.h <<_ACEOF
15828 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15829 _ACEOF
15833 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15834 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15836 cat >>confdefs.h <<_ACEOF
15837 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15838 _ACEOF
15842 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15843 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15845 cat >>confdefs.h <<_ACEOF
15846 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15847 _ACEOF
15851 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15852 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15854 cat >>confdefs.h <<_ACEOF
15855 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15856 _ACEOF
15862 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
15863 #include <sys/types.h>
15864 #endif
15865 #ifdef HAVE_NETINET_IN_H
15866 #include <netinet/in.h>
15867 #endif
15869 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15871 cat >>confdefs.h <<_ACEOF
15872 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15873 _ACEOF
15879 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15880 #include <resolv.h>
15881 #endif
15883 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15885 cat >>confdefs.h <<_ACEOF
15886 #define HAVE_STRUCT___RES_STATE 1
15887 _ACEOF
15893 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
15894 #include <resolv.h>
15895 #endif
15897 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15899 cat >>confdefs.h <<_ACEOF
15900 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15901 _ACEOF
15907 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15908 #include <sys/types.h>
15909 #endif
15910 #ifdef HAVE_NETINET_IN_H
15911 # include <netinet/in.h>
15912 #endif
15913 #ifdef HAVE_ARPA_NAMESER_H
15914 # include <arpa/nameser.h>
15915 #endif
15917 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15919 cat >>confdefs.h <<_ACEOF
15920 #define HAVE_NS_MSG__MSG_PTR 1
15921 _ACEOF
15927 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15928 #include <sys/types.h>
15929 #endif
15930 #ifdef HAVE_NETINET_IP_H
15931 #include <netinet/ip.h>
15932 #endif
15933 #ifdef HAVE_NETINET_IP_ICMP_H
15934 #include <netinet/ip_icmp.h>
15935 #endif
15936 #ifdef HAVE_NETINET_ICMP_VAR_H
15937 #include <netinet/icmp_var.h>
15938 #endif
15940 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15942 cat >>confdefs.h <<_ACEOF
15943 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15944 _ACEOF
15950 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15951 #include <sys/types.h>
15952 #endif
15953 #ifdef HAVE_ALIAS_H
15954 #include <alias.h>
15955 #endif
15956 #ifdef HAVE_SYS_SOCKET_H
15957 #include <sys/socket.h>
15958 #endif
15959 #ifdef HAVE_SYS_SOCKETVAR_H
15960 #include <sys/socketvar.h>
15961 #endif
15962 #ifdef HAVE_SYS_TIMEOUT_H
15963 #include <sys/timeout.h>
15964 #endif
15965 #ifdef HAVE_NETINET_IN_H
15966 #include <netinet/in.h>
15967 #endif
15968 #ifdef HAVE_NETINET_IN_SYSTM_H
15969 #include <netinet/in_systm.h>
15970 #endif
15971 #ifdef HAVE_NETINET_IP_H
15972 #include <netinet/ip.h>
15973 #endif
15974 #ifdef HAVE_NETINET_IP_VAR_H
15975 #include <netinet/ip_var.h>
15976 #endif
15977 #ifdef HAVE_NETINET_IP_ICMP_H
15978 #include <netinet/ip_icmp.h>
15979 #endif
15980 #ifdef HAVE_NETINET_ICMP_VAR_H
15981 #include <netinet/icmp_var.h>
15982 #endif
15984 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15986 cat >>confdefs.h <<_ACEOF
15987 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15988 _ACEOF
15994 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15995 #include <sys/types.h>
15996 #endif
15997 #ifdef HAVE_SYS_SOCKETVAR_H
15998 #include <sys/socketvar.h>
15999 #endif
16000 #ifdef HAVE_NETINET_IN_H
16001 #include <netinet/in.h>
16002 #endif
16003 #ifdef HAVE_NETINET_IP_VAR_H
16004 #include <netinet/ip_var.h>
16005 #endif
16007 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16009 cat >>confdefs.h <<_ACEOF
16010 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16011 _ACEOF
16017 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
16018 #include <netinet/ip_var.h>
16019 #endif
16021 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16023 cat >>confdefs.h <<_ACEOF
16024 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16025 _ACEOF
16031 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16032 #include <sys/types.h>
16033 #endif
16034 #ifdef HAVE_SYS_SOCKETVAR_H
16035 #include <sys/socketvar.h>
16036 #endif
16037 #ifdef HAVE_NETINET_IN_H
16038 #include <netinet/in.h>
16039 #endif
16040 #ifdef HAVE_NETINET_TCP_H
16041 #include <netinet/tcp.h>
16042 #endif
16043 #ifdef HAVE_NETINET_TCP_VAR_H
16044 #include <netinet/tcp_var.h>
16045 #endif
16047 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16049 cat >>confdefs.h <<_ACEOF
16050 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16051 _ACEOF
16057 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
16058 #include <netinet/tcp_var.h>
16059 #endif
16061 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16063 cat >>confdefs.h <<_ACEOF
16064 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16065 _ACEOF
16071 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16072 #include <sys/types.h>
16073 #endif
16074 #ifdef HAVE_NETINET_IN_H
16075 #include <netinet/in.h>
16076 #endif
16077 #ifdef HAVE_NETINET_IP_VAR_H
16078 #include <netinet/ip_var.h>
16079 #endif
16080 #ifdef HAVE_NETINET_UDP_H
16081 #include <netinet/udp.h>
16082 #endif
16083 #ifdef HAVE_NETINET_UDP_VAR_H
16084 #include <netinet/udp_var.h>
16085 #endif
16087 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16089 cat >>confdefs.h <<_ACEOF
16090 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16091 _ACEOF
16097 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16098 #include <sys/types.h>
16099 #endif
16100 #ifdef HAVE_NET_IF_H
16101 # include <net/if.h>
16102 #endif
16104 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16106 cat >>confdefs.h <<_ACEOF
16107 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16108 _ACEOF
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16115 $as_echo_n "checking for timezone variable... " >&6; }
16116 if ${ac_cv_have_timezone+:} false; then :
16117 $as_echo_n "(cached) " >&6
16118 else
16119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16120 /* end confdefs.h. */
16121 #include <time.h>
16123 main ()
16125 timezone = 1
16127 return 0;
16129 _ACEOF
16130 if ac_fn_c_try_link "$LINENO"; then :
16131 ac_cv_have_timezone="yes"
16132 else
16133 ac_cv_have_timezone="no"
16135 rm -f core conftest.err conftest.$ac_objext \
16136 conftest$ac_exeext conftest.$ac_ext
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16139 $as_echo "$ac_cv_have_timezone" >&6; }
16140 if test "$ac_cv_have_timezone" = "yes"
16141 then
16143 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16147 $as_echo_n "checking for daylight variable... " >&6; }
16148 if ${ac_cv_have_daylight+:} false; then :
16149 $as_echo_n "(cached) " >&6
16150 else
16151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16152 /* end confdefs.h. */
16153 #include <time.h>
16155 main ()
16157 daylight = 1
16159 return 0;
16161 _ACEOF
16162 if ac_fn_c_try_link "$LINENO"; then :
16163 ac_cv_have_daylight="yes"
16164 else
16165 ac_cv_have_daylight="no"
16167 rm -f core conftest.err conftest.$ac_objext \
16168 conftest$ac_exeext conftest.$ac_ext
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16171 $as_echo "$ac_cv_have_daylight" >&6; }
16172 if test "$ac_cv_have_daylight" = "yes"
16173 then
16175 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16179 ac_save_LIBS="$LIBS"
16180 LIBS="$LIBS -lm"
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16182 $as_echo_n "checking for isfinite... " >&6; }
16183 if ${ac_cv_have_isfinite+:} false; then :
16184 $as_echo_n "(cached) " >&6
16185 else
16186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16187 /* end confdefs.h. */
16188 #define _GNU_SOURCE
16189 #include <math.h>
16191 main ()
16193 float f = 0.0; return isfinite(f)
16195 return 0;
16197 _ACEOF
16198 if ac_fn_c_try_link "$LINENO"; then :
16199 ac_cv_have_isfinite="yes"
16200 else
16201 ac_cv_have_isfinite="no"
16203 rm -f core conftest.err conftest.$ac_objext \
16204 conftest$ac_exeext conftest.$ac_ext
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16207 $as_echo "$ac_cv_have_isfinite" >&6; }
16208 if test "$ac_cv_have_isfinite" = "yes"
16209 then
16211 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16215 ac_save_LIBS="$LIBS"
16216 LIBS="$LIBS -lm"
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16218 $as_echo_n "checking for isinf... " >&6; }
16219 if ${ac_cv_have_isinf+:} false; then :
16220 $as_echo_n "(cached) " >&6
16221 else
16222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16223 /* end confdefs.h. */
16224 #include <math.h>
16226 main ()
16228 float f = 0.0; return isinf(f)
16230 return 0;
16232 _ACEOF
16233 if ac_fn_c_try_link "$LINENO"; then :
16234 ac_cv_have_isinf="yes"
16235 else
16236 ac_cv_have_isinf="no"
16238 rm -f core conftest.err conftest.$ac_objext \
16239 conftest$ac_exeext conftest.$ac_ext
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16242 $as_echo "$ac_cv_have_isinf" >&6; }
16243 if test "$ac_cv_have_isinf" = "yes"
16244 then
16246 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16251 $as_echo_n "checking for isnan... " >&6; }
16252 if ${ac_cv_have_isnan+:} false; then :
16253 $as_echo_n "(cached) " >&6
16254 else
16255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16256 /* end confdefs.h. */
16257 #include <math.h>
16259 main ()
16261 float f = 0.0; return isnan(f)
16263 return 0;
16265 _ACEOF
16266 if ac_fn_c_try_link "$LINENO"; then :
16267 ac_cv_have_isnan="yes"
16268 else
16269 ac_cv_have_isnan="no"
16271 rm -f core conftest.err conftest.$ac_objext \
16272 conftest$ac_exeext conftest.$ac_ext
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16275 $as_echo "$ac_cv_have_isnan" >&6; }
16276 if test "$ac_cv_have_isnan" = "yes"
16277 then
16279 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16282 LIBS="$ac_save_LIBS"
16285 case $host_cpu in
16286 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16287 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16288 if ${ac_cv_cpp_def___i386__+:} false; then :
16289 $as_echo_n "(cached) " >&6
16290 else
16291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16292 /* end confdefs.h. */
16293 #ifndef __i386__
16295 #endif
16296 _ACEOF
16297 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16298 $EGREP "yes" >/dev/null 2>&1; then :
16299 ac_cv_cpp_def___i386__=yes
16300 else
16301 ac_cv_cpp_def___i386__=no
16303 rm -f conftest*
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16307 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16308 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16309 CFLAGS="$CFLAGS -D__i386__"
16310 LINTFLAGS="$LINTFLAGS -D__i386__"
16311 fi ;;
16312 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16313 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16314 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16315 $as_echo_n "(cached) " >&6
16316 else
16317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16318 /* end confdefs.h. */
16319 #ifndef __x86_64__
16321 #endif
16322 _ACEOF
16323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16324 $EGREP "yes" >/dev/null 2>&1; then :
16325 ac_cv_cpp_def___x86_64__=yes
16326 else
16327 ac_cv_cpp_def___x86_64__=no
16329 rm -f conftest*
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16333 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16334 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16335 CFLAGS="$CFLAGS -D__x86_64__"
16336 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16337 fi ;;
16338 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16339 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16340 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16341 $as_echo_n "(cached) " >&6
16342 else
16343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16344 /* end confdefs.h. */
16345 #ifndef __sparc64__
16347 #endif
16348 _ACEOF
16349 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16350 $EGREP "yes" >/dev/null 2>&1; then :
16351 ac_cv_cpp_def___sparc64__=yes
16352 else
16353 ac_cv_cpp_def___sparc64__=no
16355 rm -f conftest*
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16359 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16360 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16361 CFLAGS="$CFLAGS -D__sparc64__"
16362 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16363 fi ;;
16364 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16365 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16366 if ${ac_cv_cpp_def___sparc__+:} false; then :
16367 $as_echo_n "(cached) " >&6
16368 else
16369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16371 #ifndef __sparc__
16373 #endif
16374 _ACEOF
16375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16376 $EGREP "yes" >/dev/null 2>&1; then :
16377 ac_cv_cpp_def___sparc__=yes
16378 else
16379 ac_cv_cpp_def___sparc__=no
16381 rm -f conftest*
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16385 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16386 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16387 CFLAGS="$CFLAGS -D__sparc__"
16388 LINTFLAGS="$LINTFLAGS -D__sparc__"
16389 fi ;;
16390 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16391 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16392 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16393 $as_echo_n "(cached) " >&6
16394 else
16395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16396 /* end confdefs.h. */
16397 #ifndef __powerpc64__
16399 #endif
16400 _ACEOF
16401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16402 $EGREP "yes" >/dev/null 2>&1; then :
16403 ac_cv_cpp_def___powerpc64__=yes
16404 else
16405 ac_cv_cpp_def___powerpc64__=no
16407 rm -f conftest*
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16411 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16412 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16413 CFLAGS="$CFLAGS -D__powerpc64__"
16414 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16415 fi ;;
16416 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16417 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16418 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16419 $as_echo_n "(cached) " >&6
16420 else
16421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16422 /* end confdefs.h. */
16423 #ifndef __powerpc__
16425 #endif
16426 _ACEOF
16427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16428 $EGREP "yes" >/dev/null 2>&1; then :
16429 ac_cv_cpp_def___powerpc__=yes
16430 else
16431 ac_cv_cpp_def___powerpc__=no
16433 rm -f conftest*
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16437 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16438 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16439 CFLAGS="$CFLAGS -D__powerpc__"
16440 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16441 fi ;;
16442 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16443 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16444 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16445 $as_echo_n "(cached) " >&6
16446 else
16447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16448 /* end confdefs.h. */
16449 #ifndef __aarch64__
16451 #endif
16452 _ACEOF
16453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16454 $EGREP "yes" >/dev/null 2>&1; then :
16455 ac_cv_cpp_def___aarch64__=yes
16456 else
16457 ac_cv_cpp_def___aarch64__=no
16459 rm -f conftest*
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16463 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16464 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16465 CFLAGS="$CFLAGS -D__aarch64__"
16466 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16467 fi ;;
16468 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16469 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16470 if ${ac_cv_cpp_def___arm__+:} false; then :
16471 $as_echo_n "(cached) " >&6
16472 else
16473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16474 /* end confdefs.h. */
16475 #ifndef __arm__
16477 #endif
16478 _ACEOF
16479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16480 $EGREP "yes" >/dev/null 2>&1; then :
16481 ac_cv_cpp_def___arm__=yes
16482 else
16483 ac_cv_cpp_def___arm__=no
16485 rm -f conftest*
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16489 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16490 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16491 CFLAGS="$CFLAGS -D__arm__"
16492 LINTFLAGS="$LINTFLAGS -D__arm__"
16493 fi ;;
16494 esac
16496 case $host_vendor in
16497 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16498 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16499 if ${ac_cv_cpp_def___sun__+:} false; then :
16500 $as_echo_n "(cached) " >&6
16501 else
16502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16503 /* end confdefs.h. */
16504 #ifndef __sun__
16506 #endif
16507 _ACEOF
16508 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16509 $EGREP "yes" >/dev/null 2>&1; then :
16510 ac_cv_cpp_def___sun__=yes
16511 else
16512 ac_cv_cpp_def___sun__=no
16514 rm -f conftest*
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16518 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16519 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16520 CFLAGS="$CFLAGS -D__sun__"
16521 LINTFLAGS="$LINTFLAGS -D__sun__"
16522 fi ;;
16523 esac
16529 ac_config_commands="$ac_config_commands include/stamp-h"
16531 $as_echo_n "creating Makefile rules..." >&6
16533 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16534 SOCKET_LIBS = $SOCKET_LIBS
16535 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16536 IOKIT_LIBS = $IOKIT_LIBS
16537 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16538 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16539 CORESERVICES_LIBS = $CORESERVICES_LIBS
16540 APPKIT_LIBS = $APPKIT_LIBS
16541 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16542 SECURITY_LIBS = $SECURITY_LIBS
16543 COREAUDIO_LIBS = $COREAUDIO_LIBS
16544 OPENAL_LIBS = $OPENAL_LIBS
16545 OPENCL_LIBS = $OPENCL_LIBS
16546 QUICKTIME_LIBS = $QUICKTIME_LIBS
16547 CARBON_LIBS = $CARBON_LIBS
16548 PTHREAD_LIBS = $PTHREAD_LIBS
16549 X_CFLAGS = $X_CFLAGS
16550 X_PRE_LIBS = $X_PRE_LIBS
16551 X_LIBS = $X_LIBS
16552 X_EXTRA_LIBS = $X_EXTRA_LIBS
16553 XML2_CFLAGS = $XML2_CFLAGS
16554 XML2_LIBS = $XML2_LIBS
16555 XSLT_CFLAGS = $XSLT_CFLAGS
16556 XSLT_LIBS = $XSLT_LIBS
16557 DBUS_CFLAGS = $DBUS_CFLAGS
16558 DBUS_LIBS = $DBUS_LIBS
16559 HAL_CFLAGS = $HAL_CFLAGS
16560 HAL_LIBS = $HAL_LIBS
16561 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16562 GNUTLS_LIBS = $GNUTLS_LIBS
16563 SANE_CFLAGS = $SANE_CFLAGS
16564 SANE_LIBS = $SANE_LIBS
16565 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16566 GPHOTO2_LIBS = $GPHOTO2_LIBS
16567 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16568 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16569 RESOLV_LIBS = $RESOLV_LIBS
16570 LCMS2_CFLAGS = $LCMS2_CFLAGS
16571 LCMS2_LIBS = $LCMS2_LIBS
16572 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16573 FREETYPE_LIBS = $FREETYPE_LIBS
16574 Z_LIBS = $Z_LIBS
16575 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16576 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16577 GSTREAMER_LIBS = $GSTREAMER_LIBS
16578 ALSA_LIBS = $ALSA_LIBS
16579 OSS4_CFLAGS = $OSS4_CFLAGS
16580 CAPI20_CFLAGS = $CAPI20_CFLAGS
16581 CAPI20_LIBS = $CAPI20_LIBS
16582 CUPS_CFLAGS = $CUPS_CFLAGS
16583 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16584 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16585 JPEG_CFLAGS = $JPEG_CFLAGS
16586 JPEG_LIBS = $JPEG_LIBS
16587 PNG_CFLAGS = $PNG_CFLAGS
16588 PNG_LIBS = $PNG_LIBS
16589 TIFF_CFLAGS = $TIFF_CFLAGS
16590 TIFF_LIBS = $TIFF_LIBS
16591 MPG123_CFLAGS = $MPG123_CFLAGS
16592 MPG123_LIBS = $MPG123_LIBS
16593 KSTAT_LIBS = $KSTAT_LIBS
16594 PROCSTAT_LIBS = $PROCSTAT_LIBS
16595 DL_LIBS = $DL_LIBS
16596 POLL_LIBS = $POLL_LIBS
16597 RT_LIBS = $RT_LIBS
16598 LDAP_LIBS = $LDAP_LIBS
16603 wine_fn_append_rule "
16604 # Rules automatically generated by configure
16606 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16608 .INIT: Makefile
16609 .MAKEFILEDEPS:
16610 all: Makefile
16611 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16612 @./config.status Make.tmp Makefile"
16614 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16615 .gitignore: config.status
16616 @./config.status .gitignore"
16618 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16619 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16621 if test "x$enable_fonts" != xno; then
16622 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16623 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16624 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16625 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16626 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16628 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16629 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16630 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16631 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16632 ac_config_links="$ac_config_links wine:tools/winewrapper"
16633 wine_fn_config_symlink wine
16634 if test "x$enable_win64" != xno; then
16635 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16636 wine_fn_config_symlink wine64
16639 wine_fn_config_dll acledit enable_acledit
16640 wine_fn_config_dll aclui enable_aclui implib
16641 wine_fn_config_dll activeds enable_activeds implib
16642 wine_fn_config_dll actxprxy enable_actxprxy clean
16643 wine_fn_config_lib adsiid
16644 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16645 wine_fn_config_test dlls/advapi32/tests advapi32_test
16646 wine_fn_config_dll advpack enable_advpack implib
16647 wine_fn_config_test dlls/advpack/tests advpack_test
16648 wine_fn_config_dll amstream enable_amstream clean
16649 wine_fn_config_test dlls/amstream/tests amstream_test
16650 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16651 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16652 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16653 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16654 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16655 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16656 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16657 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16658 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16659 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16660 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16661 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16662 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16663 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16664 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16665 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16666 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16667 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16668 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16669 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16670 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16671 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16672 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16673 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16674 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16675 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16676 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16677 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16678 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16679 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16680 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16681 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16682 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16683 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16684 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16685 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16686 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16687 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16688 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16689 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16690 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16691 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16692 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16693 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16694 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16695 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16696 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16697 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16698 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16699 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16700 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16701 wine_fn_config_dll apphelp enable_apphelp
16702 wine_fn_config_test dlls/apphelp/tests apphelp_test
16703 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16704 wine_fn_config_dll atl enable_atl clean,implib
16705 wine_fn_config_test dlls/atl/tests atl_test
16706 wine_fn_config_dll atl100 enable_atl100 implib
16707 wine_fn_config_test dlls/atl100/tests atl100_test
16708 wine_fn_config_dll atl110 enable_atl110
16709 wine_fn_config_dll atl80 enable_atl80 implib
16710 wine_fn_config_test dlls/atl80/tests atl80_test
16711 wine_fn_config_dll atl90 enable_atl90
16712 wine_fn_config_dll authz enable_authz
16713 wine_fn_config_dll avicap32 enable_avicap32 implib
16714 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16715 wine_fn_config_test dlls/avifil32/tests avifil32_test
16716 wine_fn_config_dll avifile.dll16 enable_win16
16717 wine_fn_config_dll avrt enable_avrt implib
16718 wine_fn_config_dll bcrypt enable_bcrypt
16719 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16720 wine_fn_config_dll browseui enable_browseui clean,po
16721 wine_fn_config_test dlls/browseui/tests browseui_test
16722 wine_fn_config_dll cabinet enable_cabinet implib
16723 wine_fn_config_test dlls/cabinet/tests cabinet_test
16724 wine_fn_config_dll capi2032 enable_capi2032 implib
16725 wine_fn_config_dll cards enable_cards implib
16726 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16727 wine_fn_config_dll clusapi enable_clusapi implib
16728 wine_fn_config_dll comcat enable_comcat
16729 wine_fn_config_test dlls/comcat/tests comcat_test
16730 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16731 wine_fn_config_test dlls/comctl32/tests comctl32_test
16732 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16733 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16734 wine_fn_config_dll comm.drv16 enable_win16
16735 wine_fn_config_dll commdlg.dll16 enable_win16
16736 wine_fn_config_dll compobj.dll16 enable_win16
16737 wine_fn_config_dll compstui enable_compstui implib
16738 wine_fn_config_dll comsvcs enable_comsvcs implib
16739 wine_fn_config_dll credui enable_credui implib,po
16740 wine_fn_config_test dlls/credui/tests credui_test
16741 wine_fn_config_dll crtdll enable_crtdll implib
16742 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16743 wine_fn_config_test dlls/crypt32/tests crypt32_test
16744 wine_fn_config_dll cryptdlg enable_cryptdlg po
16745 wine_fn_config_dll cryptdll enable_cryptdll implib
16746 wine_fn_config_dll cryptnet enable_cryptnet implib
16747 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16748 wine_fn_config_dll cryptui enable_cryptui implib,po
16749 wine_fn_config_test dlls/cryptui/tests cryptui_test
16750 wine_fn_config_dll ctapi32 enable_ctapi32
16751 wine_fn_config_dll ctl3d.dll16 enable_win16
16752 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16753 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16754 wine_fn_config_dll d2d1 enable_d2d1 implib
16755 wine_fn_config_dll d3d10 enable_d3d10 implib
16756 wine_fn_config_test dlls/d3d10/tests d3d10_test
16757 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16758 wine_fn_config_dll d3d10core enable_d3d10core implib
16759 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16760 wine_fn_config_dll d3d11 enable_d3d11
16761 wine_fn_config_dll d3d8 enable_d3d8 implib
16762 wine_fn_config_test dlls/d3d8/tests d3d8_test
16763 wine_fn_config_dll d3d9 enable_d3d9 implib
16764 wine_fn_config_test dlls/d3d9/tests d3d9_test
16765 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16766 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16767 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16768 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16769 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16770 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16771 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16772 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16773 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16774 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16775 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16776 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16777 wine_fn_config_dll d3dim enable_d3dim implib
16778 wine_fn_config_dll d3drm enable_d3drm implib
16779 wine_fn_config_test dlls/d3drm/tests d3drm_test
16780 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16781 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16782 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16783 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16784 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16785 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16786 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16787 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16788 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16789 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16790 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16791 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16792 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16793 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16794 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16795 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16796 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16797 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16798 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16799 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16800 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16801 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16802 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16803 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16804 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16805 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16806 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16807 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16808 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16809 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16810 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16811 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16812 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16813 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16814 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16815 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16816 wine_fn_config_dll dbgeng enable_dbgeng implib
16817 wine_fn_config_dll dbghelp enable_dbghelp implib
16818 wine_fn_config_dll dciman32 enable_dciman32 implib
16819 wine_fn_config_dll ddeml.dll16 enable_win16
16820 wine_fn_config_dll ddraw enable_ddraw clean,implib
16821 wine_fn_config_test dlls/ddraw/tests ddraw_test
16822 wine_fn_config_dll ddrawex enable_ddrawex clean
16823 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16824 wine_fn_config_dll devenum enable_devenum clean,po
16825 wine_fn_config_test dlls/devenum/tests devenum_test
16826 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16827 wine_fn_config_dll difxapi enable_difxapi
16828 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16829 wine_fn_config_test dlls/dinput/tests dinput_test
16830 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16831 wine_fn_config_test dlls/dinput8/tests dinput8_test
16832 wine_fn_config_dll dispdib.dll16 enable_win16
16833 wine_fn_config_dll dispex enable_dispex clean
16834 wine_fn_config_test dlls/dispex/tests dispex_test
16835 wine_fn_config_dll display.drv16 enable_win16
16836 wine_fn_config_dll dmband enable_dmband clean
16837 wine_fn_config_test dlls/dmband/tests dmband_test
16838 wine_fn_config_dll dmcompos enable_dmcompos clean
16839 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16840 wine_fn_config_dll dmime enable_dmime clean
16841 wine_fn_config_test dlls/dmime/tests dmime_test
16842 wine_fn_config_dll dmloader enable_dmloader clean
16843 wine_fn_config_test dlls/dmloader/tests dmloader_test
16844 wine_fn_config_dll dmscript enable_dmscript clean
16845 wine_fn_config_test dlls/dmscript/tests dmscript_test
16846 wine_fn_config_dll dmstyle enable_dmstyle clean
16847 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16848 wine_fn_config_dll dmsynth enable_dmsynth clean
16849 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16850 wine_fn_config_dll dmusic enable_dmusic clean
16851 wine_fn_config_test dlls/dmusic/tests dmusic_test
16852 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16853 wine_fn_config_dll dnsapi enable_dnsapi implib
16854 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16855 wine_fn_config_dll dplay enable_dplay implib
16856 wine_fn_config_dll dplayx enable_dplayx clean,implib
16857 wine_fn_config_test dlls/dplayx/tests dplayx_test
16858 wine_fn_config_dll dpnaddr enable_dpnaddr
16859 wine_fn_config_dll dpnet enable_dpnet clean,implib
16860 wine_fn_config_test dlls/dpnet/tests dpnet_test
16861 wine_fn_config_dll dpnhpast enable_dpnhpast
16862 wine_fn_config_dll dpnlobby enable_dpnlobby
16863 wine_fn_config_dll dpwsockx enable_dpwsockx
16864 wine_fn_config_dll drmclien enable_drmclien
16865 wine_fn_config_dll dsound enable_dsound clean,implib
16866 wine_fn_config_test dlls/dsound/tests dsound_test
16867 wine_fn_config_dll dssenh enable_dssenh
16868 wine_fn_config_test dlls/dssenh/tests dssenh_test
16869 wine_fn_config_dll dswave enable_dswave clean
16870 wine_fn_config_test dlls/dswave/tests dswave_test
16871 wine_fn_config_dll dwmapi enable_dwmapi implib
16872 wine_fn_config_dll dwrite enable_dwrite implib
16873 wine_fn_config_test dlls/dwrite/tests dwrite_test
16874 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16875 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16876 wine_fn_config_lib dxerr8
16877 wine_fn_config_lib dxerr9
16878 wine_fn_config_dll dxgi enable_dxgi implib
16879 wine_fn_config_test dlls/dxgi/tests dxgi_test
16880 wine_fn_config_lib dxguid
16881 wine_fn_config_dll dxva2 enable_dxva2
16882 wine_fn_config_dll explorerframe enable_explorerframe clean
16883 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16884 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16885 wine_fn_config_dll faultrep enable_faultrep implib
16886 wine_fn_config_test dlls/faultrep/tests faultrep_test
16887 wine_fn_config_dll fltlib enable_fltlib
16888 wine_fn_config_dll fntcache enable_fntcache
16889 wine_fn_config_dll fontsub enable_fontsub
16890 wine_fn_config_dll fusion enable_fusion
16891 wine_fn_config_test dlls/fusion/tests fusion_test
16892 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16893 wine_fn_config_dll gameux enable_gameux clean
16894 wine_fn_config_test dlls/gameux/tests gameux_test
16895 wine_fn_config_dll gdi.exe16 enable_win16
16896 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16897 wine_fn_config_test dlls/gdi32/tests gdi32_test
16898 wine_fn_config_dll gdiplus enable_gdiplus implib
16899 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16900 wine_fn_config_dll glu32 enable_glu32 implib
16901 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16902 wine_fn_config_dll gpkcsp enable_gpkcsp
16903 wine_fn_config_dll hal enable_hal
16904 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16905 wine_fn_config_dll hid enable_hid implib
16906 wine_fn_config_dll hlink enable_hlink clean,implib
16907 wine_fn_config_test dlls/hlink/tests hlink_test
16908 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16909 wine_fn_config_dll httpapi enable_httpapi
16910 wine_fn_config_dll iccvid enable_iccvid po
16911 wine_fn_config_dll icmp enable_icmp
16912 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16913 wine_fn_config_test dlls/ieframe/tests ieframe_test
16914 wine_fn_config_dll ifsmgr.vxd enable_win16
16915 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16916 wine_fn_config_dll imagehlp enable_imagehlp implib
16917 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16918 wine_fn_config_dll imm.dll16 enable_win16
16919 wine_fn_config_dll imm32 enable_imm32 implib
16920 wine_fn_config_test dlls/imm32/tests imm32_test
16921 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16922 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16923 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16924 wine_fn_config_dll inetmib1 enable_inetmib1
16925 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16926 wine_fn_config_dll infosoft enable_infosoft clean
16927 wine_fn_config_test dlls/infosoft/tests infosoft_test
16928 wine_fn_config_dll initpki enable_initpki
16929 wine_fn_config_dll inkobj enable_inkobj
16930 wine_fn_config_dll inseng enable_inseng clean
16931 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16932 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16933 wine_fn_config_dll itircl enable_itircl
16934 wine_fn_config_dll itss enable_itss clean
16935 wine_fn_config_test dlls/itss/tests itss_test
16936 wine_fn_config_dll joy.cpl enable_joy_cpl po
16937 wine_fn_config_dll jscript enable_jscript clean,po
16938 wine_fn_config_test dlls/jscript/tests jscript_test
16939 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
16940 wine_fn_config_test dlls/kernel32/tests kernel32_test
16941 wine_fn_config_dll keyboard.drv16 enable_win16
16942 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16943 wine_fn_config_dll ktmw32 enable_ktmw32
16944 wine_fn_config_dll loadperf enable_loadperf implib
16945 wine_fn_config_dll localspl enable_localspl po
16946 wine_fn_config_test dlls/localspl/tests localspl_test
16947 wine_fn_config_dll localui enable_localui po
16948 wine_fn_config_test dlls/localui/tests localui_test
16949 wine_fn_config_dll lz32 enable_lz32 implib
16950 wine_fn_config_test dlls/lz32/tests lz32_test
16951 wine_fn_config_dll lzexpand.dll16 enable_win16
16952 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16953 wine_fn_config_test dlls/mapi32/tests mapi32_test
16954 wine_fn_config_dll mapistub enable_mapistub
16955 wine_fn_config_dll mciavi32 enable_mciavi32
16956 wine_fn_config_dll mcicda enable_mcicda
16957 wine_fn_config_dll mciqtz32 enable_mciqtz32
16958 wine_fn_config_dll mciseq enable_mciseq
16959 wine_fn_config_dll mciwave enable_mciwave
16960 wine_fn_config_dll mgmtapi enable_mgmtapi
16961 wine_fn_config_dll midimap enable_midimap
16962 wine_fn_config_dll mlang enable_mlang clean,implib
16963 wine_fn_config_test dlls/mlang/tests mlang_test
16964 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16965 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16966 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16967 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16968 wine_fn_config_dll mmdevldr.vxd enable_win16
16969 wine_fn_config_dll mmsystem.dll16 enable_win16
16970 wine_fn_config_dll monodebg.vxd enable_win16
16971 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16972 wine_fn_config_dll mouse.drv16 enable_win16
16973 wine_fn_config_dll mpr enable_mpr implib,po
16974 wine_fn_config_test dlls/mpr/tests mpr_test
16975 wine_fn_config_dll mprapi enable_mprapi implib
16976 wine_fn_config_dll msacm.dll16 enable_win16
16977 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16978 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16979 wine_fn_config_test dlls/msacm32/tests msacm32_test
16980 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16981 wine_fn_config_dll mscat32 enable_mscat32
16982 wine_fn_config_dll mscms enable_mscms implib
16983 wine_fn_config_test dlls/mscms/tests mscms_test
16984 wine_fn_config_dll mscoree enable_mscoree clean
16985 wine_fn_config_test dlls/mscoree/tests mscoree_test
16986 wine_fn_config_dll msctf enable_msctf clean
16987 wine_fn_config_test dlls/msctf/tests msctf_test
16988 wine_fn_config_dll msdaps enable_msdaps clean
16989 wine_fn_config_dll msdmo enable_msdmo implib
16990 wine_fn_config_dll msftedit enable_msftedit
16991 wine_fn_config_dll msg711.acm enable_msg711_acm
16992 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16993 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16994 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16995 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16996 wine_fn_config_dll msi enable_msi clean,implib,po
16997 wine_fn_config_test dlls/msi/tests msi_test
16998 wine_fn_config_dll msident enable_msident clean
16999 wine_fn_config_dll msimg32 enable_msimg32 implib
17000 wine_fn_config_dll msimsg enable_msimsg
17001 wine_fn_config_dll msimtf enable_msimtf clean
17002 wine_fn_config_dll msisip enable_msisip
17003 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17004 wine_fn_config_dll msls31 enable_msls31
17005 wine_fn_config_dll msnet32 enable_msnet32
17006 wine_fn_config_dll mspatcha enable_mspatcha
17007 wine_fn_config_dll msrle32 enable_msrle32 po
17008 wine_fn_config_test dlls/msrle32/tests msrle32_test
17009 wine_fn_config_dll mssign32 enable_mssign32
17010 wine_fn_config_dll mssip32 enable_mssip32
17011 wine_fn_config_dll mstask enable_mstask clean
17012 wine_fn_config_test dlls/mstask/tests mstask_test
17013 wine_fn_config_dll msvcirt enable_msvcirt
17014 wine_fn_config_dll msvcm80 enable_msvcm80
17015 wine_fn_config_dll msvcm90 enable_msvcm90
17016 wine_fn_config_dll msvcp100 enable_msvcp100
17017 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17018 wine_fn_config_dll msvcp110 enable_msvcp110
17019 wine_fn_config_dll msvcp60 enable_msvcp60
17020 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17021 wine_fn_config_dll msvcp70 enable_msvcp70
17022 wine_fn_config_dll msvcp71 enable_msvcp71
17023 wine_fn_config_dll msvcp80 enable_msvcp80
17024 wine_fn_config_dll msvcp90 enable_msvcp90
17025 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17026 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17027 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17028 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17029 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17030 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17031 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17032 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17033 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17034 wine_fn_config_dll msvcrt enable_msvcrt implib
17035 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17036 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17037 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17038 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17039 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17040 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17041 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17042 wine_fn_config_dll msvidc32 enable_msvidc32 po
17043 wine_fn_config_dll msvideo.dll16 enable_win16
17044 wine_fn_config_dll mswsock enable_mswsock implib
17045 wine_fn_config_dll msxml enable_msxml clean
17046 wine_fn_config_dll msxml2 enable_msxml2 clean
17047 wine_fn_config_dll msxml3 enable_msxml3 clean
17048 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17049 wine_fn_config_dll msxml4 enable_msxml4 clean
17050 wine_fn_config_dll msxml6 enable_msxml6 clean
17051 wine_fn_config_dll nddeapi enable_nddeapi implib
17052 wine_fn_config_dll netapi32 enable_netapi32 implib
17053 wine_fn_config_test dlls/netapi32/tests netapi32_test
17054 wine_fn_config_dll netcfgx enable_netcfgx clean
17055 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17056 wine_fn_config_dll netprofm enable_netprofm clean
17057 wine_fn_config_test dlls/netprofm/tests netprofm_test
17058 wine_fn_config_dll newdev enable_newdev implib
17059 wine_fn_config_dll normaliz enable_normaliz implib
17060 wine_fn_config_dll npmshtml enable_npmshtml
17061 wine_fn_config_dll ntdll enable_ntdll implib
17062 wine_fn_config_test dlls/ntdll/tests ntdll_test
17063 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17064 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17065 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17066 wine_fn_config_dll ntprint enable_ntprint
17067 wine_fn_config_test dlls/ntprint/tests ntprint_test
17068 wine_fn_config_dll objsel enable_objsel clean
17069 wine_fn_config_dll odbc32 enable_odbc32 implib
17070 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17071 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17072 wine_fn_config_dll odbccu32 enable_odbccu32
17073 wine_fn_config_dll ole2.dll16 enable_win16
17074 wine_fn_config_dll ole2conv.dll16 enable_win16
17075 wine_fn_config_dll ole2disp.dll16 enable_win16
17076 wine_fn_config_dll ole2nls.dll16 enable_win16
17077 wine_fn_config_dll ole2prox.dll16 enable_win16
17078 wine_fn_config_dll ole2thk.dll16 enable_win16
17079 wine_fn_config_dll ole32 enable_ole32 clean,implib
17080 wine_fn_config_test dlls/ole32/tests ole32_test
17081 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17082 wine_fn_config_test dlls/oleacc/tests oleacc_test
17083 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17084 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17085 wine_fn_config_dll olecli.dll16 enable_win16
17086 wine_fn_config_dll olecli32 enable_olecli32 implib
17087 wine_fn_config_dll oledb32 enable_oledb32 clean
17088 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17089 wine_fn_config_dll oledlg enable_oledlg implib,po
17090 wine_fn_config_dll olepro32 enable_olepro32 implib
17091 wine_fn_config_dll olesvr.dll16 enable_win16
17092 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17093 wine_fn_config_dll olethk32 enable_olethk32
17094 wine_fn_config_dll openal32 enable_openal32
17095 wine_fn_config_dll opencl enable_opencl
17096 wine_fn_config_dll opengl32 enable_opengl32 implib
17097 wine_fn_config_test dlls/opengl32/tests opengl32_test
17098 wine_fn_config_dll pdh enable_pdh implib
17099 wine_fn_config_test dlls/pdh/tests pdh_test
17100 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17101 wine_fn_config_dll pidgen enable_pidgen
17102 wine_fn_config_dll powrprof enable_powrprof implib
17103 wine_fn_config_dll printui enable_printui
17104 wine_fn_config_dll propsys enable_propsys clean,implib
17105 wine_fn_config_test dlls/propsys/tests propsys_test
17106 wine_fn_config_dll psapi enable_psapi implib
17107 wine_fn_config_test dlls/psapi/tests psapi_test
17108 wine_fn_config_dll pstorec enable_pstorec clean
17109 wine_fn_config_dll qcap enable_qcap
17110 wine_fn_config_test dlls/qcap/tests qcap_test
17111 wine_fn_config_dll qedit enable_qedit clean
17112 wine_fn_config_test dlls/qedit/tests qedit_test
17113 wine_fn_config_dll qmgr enable_qmgr clean
17114 wine_fn_config_test dlls/qmgr/tests qmgr_test
17115 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17116 wine_fn_config_dll quartz enable_quartz clean,implib
17117 wine_fn_config_test dlls/quartz/tests quartz_test clean
17118 wine_fn_config_dll query enable_query
17119 wine_fn_config_dll rasapi16.dll16 enable_win16
17120 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17121 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17122 wine_fn_config_dll rasdlg enable_rasdlg implib
17123 wine_fn_config_dll regapi enable_regapi
17124 wine_fn_config_dll resutils enable_resutils implib
17125 wine_fn_config_dll riched20 enable_riched20 implib
17126 wine_fn_config_test dlls/riched20/tests riched20_test
17127 wine_fn_config_dll riched32 enable_riched32
17128 wine_fn_config_test dlls/riched32/tests riched32_test
17129 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17130 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17131 wine_fn_config_dll rsabase enable_rsabase
17132 wine_fn_config_dll rsaenh enable_rsaenh implib
17133 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17134 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17135 wine_fn_config_dll rtutils enable_rtutils implib
17136 wine_fn_config_dll samlib enable_samlib
17137 wine_fn_config_dll sane.ds enable_sane_ds po
17138 wine_fn_config_dll scarddlg enable_scarddlg
17139 wine_fn_config_dll sccbase enable_sccbase
17140 wine_fn_config_dll schannel enable_schannel
17141 wine_fn_config_test dlls/schannel/tests schannel_test
17142 wine_fn_config_dll schedsvc enable_schedsvc clean
17143 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17144 wine_fn_config_dll scrrun enable_scrrun clean
17145 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17146 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17147 wine_fn_config_dll secur32 enable_secur32 implib
17148 wine_fn_config_test dlls/secur32/tests secur32_test
17149 wine_fn_config_dll security enable_security
17150 wine_fn_config_dll sensapi enable_sensapi implib
17151 wine_fn_config_dll serialui enable_serialui implib,po
17152 wine_fn_config_test dlls/serialui/tests serialui_test
17153 wine_fn_config_dll setupapi enable_setupapi implib,po
17154 wine_fn_config_test dlls/setupapi/tests setupapi_test
17155 wine_fn_config_dll setupx.dll16 enable_win16
17156 wine_fn_config_dll sfc enable_sfc implib
17157 wine_fn_config_dll sfc_os enable_sfc_os implib
17158 wine_fn_config_dll shdoclc enable_shdoclc po
17159 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17160 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17161 wine_fn_config_dll shell.dll16 enable_win16
17162 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17163 wine_fn_config_test dlls/shell32/tests shell32_test
17164 wine_fn_config_dll shfolder enable_shfolder implib
17165 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17166 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17167 wine_fn_config_dll slbcsp enable_slbcsp
17168 wine_fn_config_dll slc enable_slc implib
17169 wine_fn_config_dll snmpapi enable_snmpapi implib
17170 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17171 wine_fn_config_dll softpub enable_softpub
17172 wine_fn_config_dll sound.drv16 enable_win16
17173 wine_fn_config_dll spoolss enable_spoolss implib
17174 wine_fn_config_test dlls/spoolss/tests spoolss_test
17175 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17176 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17177 wine_fn_config_dll sti enable_sti clean,implib
17178 wine_fn_config_test dlls/sti/tests sti_test
17179 wine_fn_config_dll storage.dll16 enable_win16
17180 wine_fn_config_dll stress.dll16 enable_win16
17181 wine_fn_config_lib strmbase
17182 wine_fn_config_lib strmiids
17183 wine_fn_config_dll svrapi enable_svrapi
17184 wine_fn_config_dll sxs enable_sxs implib
17185 wine_fn_config_test dlls/sxs/tests sxs_test
17186 wine_fn_config_dll system.drv16 enable_win16
17187 wine_fn_config_dll t2embed enable_t2embed
17188 wine_fn_config_dll tapi32 enable_tapi32 implib
17189 wine_fn_config_dll taskschd enable_taskschd clean
17190 wine_fn_config_test dlls/taskschd/tests taskschd_test
17191 wine_fn_config_dll toolhelp.dll16 enable_win16
17192 wine_fn_config_dll traffic enable_traffic
17193 wine_fn_config_dll twain.dll16 enable_win16
17194 wine_fn_config_dll twain_32 enable_twain_32
17195 wine_fn_config_test dlls/twain_32/tests twain_32_test
17196 wine_fn_config_dll typelib.dll16 enable_win16
17197 wine_fn_config_dll unicows enable_unicows implib
17198 wine_fn_config_dll updspapi enable_updspapi
17199 wine_fn_config_dll url enable_url implib
17200 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17201 wine_fn_config_test dlls/urlmon/tests urlmon_test
17202 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17203 wine_fn_config_dll user.exe16 enable_win16
17204 wine_fn_config_dll user32 enable_user32 clean,implib,po
17205 wine_fn_config_test dlls/user32/tests user32_test
17206 wine_fn_config_dll userenv enable_userenv implib
17207 wine_fn_config_test dlls/userenv/tests userenv_test
17208 wine_fn_config_dll usp10 enable_usp10 implib
17209 wine_fn_config_test dlls/usp10/tests usp10_test
17210 wine_fn_config_lib uuid
17211 wine_fn_config_dll uxtheme enable_uxtheme implib
17212 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17213 wine_fn_config_dll vbscript enable_vbscript clean
17214 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17215 wine_fn_config_dll vcomp enable_vcomp
17216 wine_fn_config_dll vcomp100 enable_vcomp100
17217 wine_fn_config_dll vcomp90 enable_vcomp90
17218 wine_fn_config_dll vdhcp.vxd enable_win16
17219 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17220 wine_fn_config_dll ver.dll16 enable_win16
17221 wine_fn_config_dll version enable_version implib
17222 wine_fn_config_test dlls/version/tests version_test
17223 wine_fn_config_dll vmm.vxd enable_win16
17224 wine_fn_config_dll vnbt.vxd enable_win16
17225 wine_fn_config_dll vnetbios.vxd enable_win16
17226 wine_fn_config_dll vtdapi.vxd enable_win16
17227 wine_fn_config_dll vwin32.vxd enable_win16
17228 wine_fn_config_dll w32skrnl enable_win16
17229 wine_fn_config_dll w32sys.dll16 enable_win16
17230 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17231 wine_fn_config_dll wbemprox enable_wbemprox clean
17232 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17233 wine_fn_config_dll webservices enable_webservices implib
17234 wine_fn_config_dll wer enable_wer implib
17235 wine_fn_config_test dlls/wer/tests wer_test
17236 wine_fn_config_dll wevtapi enable_wevtapi
17237 wine_fn_config_dll wiaservc enable_wiaservc clean
17238 wine_fn_config_dll win32s16.dll16 enable_win16
17239 wine_fn_config_dll win87em.dll16 enable_win16
17240 wine_fn_config_dll winaspi.dll16 enable_win16
17241 wine_fn_config_dll windebug.dll16 enable_win16
17242 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17243 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17244 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17245 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17246 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17247 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17248 wine_fn_config_lib winecrt0
17249 wine_fn_config_dll wined3d enable_wined3d implib
17250 wine_fn_config_dll winegstreamer enable_winegstreamer
17251 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17252 wine_fn_config_dll winemac.drv enable_winemac_drv
17253 wine_fn_config_dll winemapi enable_winemapi
17254 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17255 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17256 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17257 wine_fn_config_dll wineps16.drv16 enable_win16
17258 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17259 wine_fn_config_dll winex11.drv enable_winex11_drv
17260 wine_fn_config_dll wing.dll16 enable_win16
17261 wine_fn_config_dll wing32 enable_wing32
17262 wine_fn_config_dll winhttp enable_winhttp clean,implib
17263 wine_fn_config_test dlls/winhttp/tests winhttp_test
17264 wine_fn_config_dll wininet enable_wininet implib,po
17265 wine_fn_config_test dlls/wininet/tests wininet_test
17266 wine_fn_config_dll winmm enable_winmm implib,po
17267 wine_fn_config_test dlls/winmm/tests winmm_test
17268 wine_fn_config_dll winnls.dll16 enable_win16
17269 wine_fn_config_dll winnls32 enable_winnls32 implib
17270 wine_fn_config_dll winscard enable_winscard implib
17271 wine_fn_config_dll winsock.dll16 enable_win16
17272 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17273 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17274 wine_fn_config_dll winsta enable_winsta
17275 wine_fn_config_dll wintab.dll16 enable_win16
17276 wine_fn_config_dll wintab32 enable_wintab32 implib
17277 wine_fn_config_test dlls/wintab32/tests wintab32_test
17278 wine_fn_config_dll wintrust enable_wintrust implib
17279 wine_fn_config_test dlls/wintrust/tests wintrust_test
17280 wine_fn_config_dll wlanapi enable_wlanapi
17281 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17282 wine_fn_config_test dlls/wldap32/tests wldap32_test
17283 wine_fn_config_dll wmi enable_wmi
17284 wine_fn_config_dll wmiutils enable_wmiutils clean
17285 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17286 wine_fn_config_dll wmp enable_wmp clean
17287 wine_fn_config_test dlls/wmp/tests wmp_test
17288 wine_fn_config_dll wmvcore enable_wmvcore
17289 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17290 wine_fn_config_dll wow32 enable_win16 implib
17291 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17292 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17293 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17294 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17295 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17296 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17297 wine_fn_config_dll wsock32 enable_wsock32 implib
17298 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17299 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17300 wine_fn_config_dll wuapi enable_wuapi clean
17301 wine_fn_config_dll wuaueng enable_wuaueng
17302 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17303 wine_fn_config_dll xinput1_1 enable_xinput1_1
17304 wine_fn_config_dll xinput1_2 enable_xinput1_2
17305 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17306 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17307 wine_fn_config_dll xinput1_4 enable_xinput1_4
17308 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17309 wine_fn_config_dll xmllite enable_xmllite implib
17310 wine_fn_config_test dlls/xmllite/tests xmllite_test
17311 wine_fn_config_dll xolehlp enable_xolehlp
17312 wine_fn_config_dll xpsprint enable_xpsprint
17313 wine_fn_config_dll xpssvcs enable_xpssvcs
17314 wine_fn_config_makefile documentation enable_documentation clean
17315 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17316 wine_fn_config_makefile include enable_include clean,install-dev
17317 wine_fn_config_makefile libs/port enable_libs_port
17318 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17319 wine_fn_config_makefile libs/wpp enable_libs_wpp
17320 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17321 wine_fn_config_program arp enable_arp install
17322 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17323 wine_fn_config_program attrib enable_attrib install,po
17324 wine_fn_config_program cabarc enable_cabarc install
17325 wine_fn_config_program cacls enable_cacls install
17326 wine_fn_config_program clock enable_clock install,po
17327 wine_fn_config_program cmd enable_cmd install,po
17328 wine_fn_config_test programs/cmd/tests cmd.exe_test
17329 wine_fn_config_program conhost enable_conhost install
17330 wine_fn_config_program control enable_control install
17331 wine_fn_config_program cscript enable_cscript install
17332 wine_fn_config_program dpnsvr enable_dpnsvr install
17333 wine_fn_config_program dxdiag enable_dxdiag install,po
17334 wine_fn_config_program eject enable_eject install
17335 wine_fn_config_program expand enable_expand install
17336 wine_fn_config_program explorer enable_explorer install,po
17337 wine_fn_config_program extrac32 enable_extrac32 install
17338 wine_fn_config_program findstr enable_findstr install
17339 wine_fn_config_program hh enable_hh install
17340 wine_fn_config_program hostname enable_hostname install,po
17341 wine_fn_config_program icinfo enable_icinfo install
17342 wine_fn_config_program iexplore enable_iexplore install
17343 wine_fn_config_program ipconfig enable_ipconfig install,po
17344 wine_fn_config_program lodctr enable_lodctr install
17345 wine_fn_config_program mofcomp enable_mofcomp install
17346 wine_fn_config_program mshta enable_mshta install
17347 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17348 wine_fn_config_program net enable_net install,po
17349 wine_fn_config_program netsh enable_netsh install
17350 wine_fn_config_program netstat enable_netstat install,po
17351 wine_fn_config_program ngen enable_ngen install
17352 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17353 wine_fn_config_program oleview enable_oleview install,po
17354 wine_fn_config_program ping enable_ping install
17355 wine_fn_config_program plugplay enable_plugplay install
17356 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17357 wine_fn_config_program progman enable_progman install,po
17358 wine_fn_config_program reg enable_reg install,po
17359 wine_fn_config_program regasm enable_regasm install
17360 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17361 wine_fn_config_test programs/regedit/tests regedit.exe_test
17362 wine_fn_config_program regsvcs enable_regsvcs install
17363 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17364 wine_fn_config_program rpcss enable_rpcss clean,install
17365 wine_fn_config_program rundll.exe16 enable_win16 install
17366 wine_fn_config_program rundll32 enable_rundll32 install
17367 wine_fn_config_program sc enable_sc install
17368 wine_fn_config_program schtasks enable_schtasks install
17369 wine_fn_config_program secedit enable_secedit install
17370 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17371 wine_fn_config_program services enable_services clean,install
17372 wine_fn_config_test programs/services/tests services.exe_test
17373 wine_fn_config_program spoolsv enable_spoolsv install
17374 wine_fn_config_program start enable_start install,po
17375 wine_fn_config_program svchost enable_svchost install
17376 wine_fn_config_program taskkill enable_taskkill install,po
17377 wine_fn_config_program tasklist enable_tasklist install
17378 wine_fn_config_program taskmgr enable_taskmgr install,po
17379 wine_fn_config_program termsv enable_termsv install
17380 wine_fn_config_program uninstaller enable_uninstaller install,po
17381 wine_fn_config_program unlodctr enable_unlodctr install
17382 wine_fn_config_program view enable_view install,po
17383 wine_fn_config_program wevtutil enable_wevtutil install
17384 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17385 wine_fn_config_program winebrowser enable_winebrowser install
17386 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17387 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17388 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17389 wine_fn_config_program winedevice enable_winedevice install
17390 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17391 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17392 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17393 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17394 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17395 wine_fn_config_program winetest enable_winetest clean
17396 wine_fn_config_program winevdm enable_win16 install
17397 wine_fn_config_program winhelp.exe16 enable_win16 install
17398 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17399 wine_fn_config_program winoldap.mod16 enable_win16 install
17400 wine_fn_config_program winver enable_winver install
17401 wine_fn_config_program wmic enable_wmic install,po
17402 wine_fn_config_program wordpad enable_wordpad install,po
17403 wine_fn_config_program write enable_write install,po
17404 wine_fn_config_program wscript enable_wscript clean,install
17405 wine_fn_config_test programs/wscript/tests wscript.exe_test
17406 wine_fn_config_program wusa enable_wusa install
17407 wine_fn_config_program xcopy enable_xcopy install,po
17408 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17409 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17410 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17411 wine_fn_config_tool tools/sfnt2fon clean
17412 wine_fn_config_tool tools/widl clean,install-dev,manpage
17413 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17414 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17415 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17416 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17417 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17419 LINGUAS="\
17420 ar \
17421 bg \
17422 ca \
17423 cs \
17424 da \
17425 de \
17426 el \
17427 en \
17428 en_US \
17429 eo \
17430 es \
17431 fa \
17432 fi \
17433 fr \
17434 he \
17435 hi \
17436 hr \
17437 hu \
17438 it \
17439 ja \
17440 ko \
17441 lt \
17442 ml \
17443 nb_NO \
17444 nl \
17445 or \
17446 pa \
17447 pl \
17448 pt_BR \
17449 pt_PT \
17450 rm \
17451 ro \
17452 ru \
17453 sk \
17454 sl \
17455 sr_RS@cyrillic \
17456 sr_RS@latin \
17457 sv \
17458 te \
17459 th \
17460 tr \
17461 uk \
17462 wa \
17463 zh_CN \
17464 zh_TW"
17469 wine_fn_ignore_file ".gitignore"
17470 wine_fn_ignore_file "Makefile"
17471 wine_fn_ignore_file "TAGS"
17472 wine_fn_ignore_file "tags"
17473 wine_fn_ignore_file "autom4te.cache"
17474 wine_fn_ignore_file "config.cache"
17475 wine_fn_ignore_file "config.log"
17476 wine_fn_ignore_file "config.status"
17477 wine_fn_ignore_file "configure.lineno"
17478 wine_fn_ignore_file "include/config.h"
17479 wine_fn_ignore_file "include/stamp-h"
17480 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17482 if test "x$enable_tools" != xno
17483 then
17484 wine_fn_ignore_file "tools/makedep$ac_exeext"
17485 ac_config_commands="$ac_config_commands tools/makedep"
17489 ac_config_commands="$ac_config_commands Makefile"
17492 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17496 if test "x$enable_maintainer_mode" = xyes
17497 then
17498 wine_fn_append_rule "configure: configure.ac aclocal.m4
17499 autoconf --warnings=all
17500 include/config.h.in: include/stamp-h.in
17501 include/stamp-h.in: configure.ac aclocal.m4
17502 autoheader --warnings=all
17503 @echo timestamp > \$@"
17506 if test "x$with_gettextpo" = xyes
17507 then
17508 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17509 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17510 \$(LINGUAS:%=po/%.po): po/wine.pot
17511 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17512 po/wine.pot: \$(ALL_POT_FILES)
17513 msgcat -o \$@ \$(ALL_POT_FILES)"
17516 if test "$MSGFMT" != false
17517 then
17518 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17519 clean::
17520 \$(RM) \$(LINGUAS:%=po/%.mo)"
17522 posrc="po"
17523 test "$srcdir" = . || posrc="$srcdir/po"
17524 for i in $LINGUAS
17526 wine_fn_ignore_file "po/$i.mo"
17527 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17528 \$(MSGFMT) -o \$@ $posrc/$i.po"
17529 done
17530 else
17531 LINGUAS=
17534 if test "x$enable_tools" != xno
17535 then
17536 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17537 @./config.status tools/makedep
17538 Makefile: tools/makedep$ac_exeext
17539 distclean:: clean
17540 \$(RM) tools/makedep$ac_exeext"
17541 else
17542 wine_fn_append_rule "\$(MAKEDEP):
17543 @echo \"You need to run make in $TOOLSDIR first\" && false"
17546 if test -n "$with_wine64"
17547 then
17548 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17549 fonts server tools:
17550 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17551 $with_wine64/loader/wine:
17552 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17553 $with_wine64/loader/wine-preloader:
17554 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17555 clean::
17556 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17557 else
17558 as_fn_append LOADER_RULES "
17559 all: wine.inf
17561 install install-lib:: wine.inf install-man-pages
17562 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17563 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17565 uninstall::
17566 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17570 if test "$srcdir" = .
17571 then
17572 ac_config_commands="$ac_config_commands .gitignore"
17576 $as_echo " done" >&6
17577 cat >confcache <<\_ACEOF
17578 # This file is a shell script that caches the results of configure
17579 # tests run on this system so they can be shared between configure
17580 # scripts and configure runs, see configure's option --config-cache.
17581 # It is not useful on other systems. If it contains results you don't
17582 # want to keep, you may remove or edit it.
17584 # config.status only pays attention to the cache file if you give it
17585 # the --recheck option to rerun configure.
17587 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17588 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17589 # following values.
17591 _ACEOF
17593 # The following way of writing the cache mishandles newlines in values,
17594 # but we know of no workaround that is simple, portable, and efficient.
17595 # So, we kill variables containing newlines.
17596 # Ultrix sh set writes to stderr and can't be redirected directly,
17597 # and sets the high bit in the cache file unless we assign to the vars.
17599 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17600 eval ac_val=\$$ac_var
17601 case $ac_val in #(
17602 *${as_nl}*)
17603 case $ac_var in #(
17604 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17605 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17606 esac
17607 case $ac_var in #(
17608 _ | IFS | as_nl) ;; #(
17609 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17610 *) { eval $ac_var=; unset $ac_var;} ;;
17611 esac ;;
17612 esac
17613 done
17615 (set) 2>&1 |
17616 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17617 *${as_nl}ac_space=\ *)
17618 # `set' does not quote correctly, so add quotes: double-quote
17619 # substitution turns \\\\ into \\, and sed turns \\ into \.
17620 sed -n \
17621 "s/'/'\\\\''/g;
17622 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17623 ;; #(
17625 # `set' quotes correctly as required by POSIX, so do not add quotes.
17626 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17628 esac |
17629 sort
17631 sed '
17632 /^ac_cv_env_/b end
17633 t clear
17634 :clear
17635 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17636 t end
17637 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17638 :end' >>confcache
17639 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17640 if test -w "$cache_file"; then
17641 if test "x$cache_file" != "x/dev/null"; then
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17643 $as_echo "$as_me: updating cache $cache_file" >&6;}
17644 if test ! -f "$cache_file" || test -h "$cache_file"; then
17645 cat confcache >"$cache_file"
17646 else
17647 case $cache_file in #(
17648 */* | ?:*)
17649 mv -f confcache "$cache_file"$$ &&
17650 mv -f "$cache_file"$$ "$cache_file" ;; #(
17652 mv -f confcache "$cache_file" ;;
17653 esac
17656 else
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17658 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17661 rm -f confcache
17663 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17664 # Let make expand exec_prefix.
17665 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17667 DEFS=-DHAVE_CONFIG_H
17669 ac_libobjs=
17670 ac_ltlibobjs=
17672 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17673 # 1. Remove the extension, and $U if already installed.
17674 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17675 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17676 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17677 # will be set to the directory where LIBOBJS objects are built.
17678 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17679 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17680 done
17681 LIBOBJS=$ac_libobjs
17683 LTLIBOBJS=$ac_ltlibobjs
17687 : "${CONFIG_STATUS=./config.status}"
17688 ac_write_fail=0
17689 ac_clean_files_save=$ac_clean_files
17690 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17692 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17693 as_write_fail=0
17694 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17695 #! $SHELL
17696 # Generated by $as_me.
17697 # Run this file to recreate the current configuration.
17698 # Compiler output produced by configure, useful for debugging
17699 # configure, is in config.log if it exists.
17701 debug=false
17702 ac_cs_recheck=false
17703 ac_cs_silent=false
17705 SHELL=\${CONFIG_SHELL-$SHELL}
17706 export SHELL
17707 _ASEOF
17708 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17709 ## -------------------- ##
17710 ## M4sh Initialization. ##
17711 ## -------------------- ##
17713 # Be more Bourne compatible
17714 DUALCASE=1; export DUALCASE # for MKS sh
17715 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17716 emulate sh
17717 NULLCMD=:
17718 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17719 # is contrary to our usage. Disable this feature.
17720 alias -g '${1+"$@"}'='"$@"'
17721 setopt NO_GLOB_SUBST
17722 else
17723 case `(set -o) 2>/dev/null` in #(
17724 *posix*) :
17725 set -o posix ;; #(
17726 *) :
17728 esac
17732 as_nl='
17734 export as_nl
17735 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17736 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17737 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17738 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17739 # Prefer a ksh shell builtin over an external printf program on Solaris,
17740 # but without wasting forks for bash or zsh.
17741 if test -z "$BASH_VERSION$ZSH_VERSION" \
17742 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17743 as_echo='print -r --'
17744 as_echo_n='print -rn --'
17745 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17746 as_echo='printf %s\n'
17747 as_echo_n='printf %s'
17748 else
17749 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17750 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17751 as_echo_n='/usr/ucb/echo -n'
17752 else
17753 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17754 as_echo_n_body='eval
17755 arg=$1;
17756 case $arg in #(
17757 *"$as_nl"*)
17758 expr "X$arg" : "X\\(.*\\)$as_nl";
17759 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17760 esac;
17761 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17763 export as_echo_n_body
17764 as_echo_n='sh -c $as_echo_n_body as_echo'
17766 export as_echo_body
17767 as_echo='sh -c $as_echo_body as_echo'
17770 # The user is always right.
17771 if test "${PATH_SEPARATOR+set}" != set; then
17772 PATH_SEPARATOR=:
17773 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17774 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17775 PATH_SEPARATOR=';'
17780 # IFS
17781 # We need space, tab and new line, in precisely that order. Quoting is
17782 # there to prevent editors from complaining about space-tab.
17783 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17784 # splitting by setting IFS to empty value.)
17785 IFS=" "" $as_nl"
17787 # Find who we are. Look in the path if we contain no directory separator.
17788 as_myself=
17789 case $0 in #((
17790 *[\\/]* ) as_myself=$0 ;;
17791 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17792 for as_dir in $PATH
17794 IFS=$as_save_IFS
17795 test -z "$as_dir" && as_dir=.
17796 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17797 done
17798 IFS=$as_save_IFS
17801 esac
17802 # We did not find ourselves, most probably we were run as `sh COMMAND'
17803 # in which case we are not to be found in the path.
17804 if test "x$as_myself" = x; then
17805 as_myself=$0
17807 if test ! -f "$as_myself"; then
17808 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17809 exit 1
17812 # Unset variables that we do not need and which cause bugs (e.g. in
17813 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17814 # suppresses any "Segmentation fault" message there. '((' could
17815 # trigger a bug in pdksh 5.2.14.
17816 for as_var in BASH_ENV ENV MAIL MAILPATH
17817 do eval test x\${$as_var+set} = xset \
17818 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17819 done
17820 PS1='$ '
17821 PS2='> '
17822 PS4='+ '
17824 # NLS nuisances.
17825 LC_ALL=C
17826 export LC_ALL
17827 LANGUAGE=C
17828 export LANGUAGE
17830 # CDPATH.
17831 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17834 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17835 # ----------------------------------------
17836 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17837 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17838 # script with STATUS, using 1 if that was 0.
17839 as_fn_error ()
17841 as_status=$1; test $as_status -eq 0 && as_status=1
17842 if test "$4"; then
17843 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17844 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17846 $as_echo "$as_me: error: $2" >&2
17847 as_fn_exit $as_status
17848 } # as_fn_error
17851 # as_fn_set_status STATUS
17852 # -----------------------
17853 # Set $? to STATUS, without forking.
17854 as_fn_set_status ()
17856 return $1
17857 } # as_fn_set_status
17859 # as_fn_exit STATUS
17860 # -----------------
17861 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17862 as_fn_exit ()
17864 set +e
17865 as_fn_set_status $1
17866 exit $1
17867 } # as_fn_exit
17869 # as_fn_unset VAR
17870 # ---------------
17871 # Portably unset VAR.
17872 as_fn_unset ()
17874 { eval $1=; unset $1;}
17876 as_unset=as_fn_unset
17877 # as_fn_append VAR VALUE
17878 # ----------------------
17879 # Append the text in VALUE to the end of the definition contained in VAR. Take
17880 # advantage of any shell optimizations that allow amortized linear growth over
17881 # repeated appends, instead of the typical quadratic growth present in naive
17882 # implementations.
17883 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17884 eval 'as_fn_append ()
17886 eval $1+=\$2
17888 else
17889 as_fn_append ()
17891 eval $1=\$$1\$2
17893 fi # as_fn_append
17895 # as_fn_arith ARG...
17896 # ------------------
17897 # Perform arithmetic evaluation on the ARGs, and store the result in the
17898 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17899 # must be portable across $(()) and expr.
17900 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17901 eval 'as_fn_arith ()
17903 as_val=$(( $* ))
17905 else
17906 as_fn_arith ()
17908 as_val=`expr "$@" || test $? -eq 1`
17910 fi # as_fn_arith
17913 if expr a : '\(a\)' >/dev/null 2>&1 &&
17914 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17915 as_expr=expr
17916 else
17917 as_expr=false
17920 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17921 as_basename=basename
17922 else
17923 as_basename=false
17926 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17927 as_dirname=dirname
17928 else
17929 as_dirname=false
17932 as_me=`$as_basename -- "$0" ||
17933 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17934 X"$0" : 'X\(//\)$' \| \
17935 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17936 $as_echo X/"$0" |
17937 sed '/^.*\/\([^/][^/]*\)\/*$/{
17938 s//\1/
17941 /^X\/\(\/\/\)$/{
17942 s//\1/
17945 /^X\/\(\/\).*/{
17946 s//\1/
17949 s/.*/./; q'`
17951 # Avoid depending upon Character Ranges.
17952 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17953 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17954 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17955 as_cr_digits='0123456789'
17956 as_cr_alnum=$as_cr_Letters$as_cr_digits
17958 ECHO_C= ECHO_N= ECHO_T=
17959 case `echo -n x` in #(((((
17960 -n*)
17961 case `echo 'xy\c'` in
17962 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17963 xy) ECHO_C='\c';;
17964 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17965 ECHO_T=' ';;
17966 esac;;
17968 ECHO_N='-n';;
17969 esac
17971 rm -f conf$$ conf$$.exe conf$$.file
17972 if test -d conf$$.dir; then
17973 rm -f conf$$.dir/conf$$.file
17974 else
17975 rm -f conf$$.dir
17976 mkdir conf$$.dir 2>/dev/null
17978 if (echo >conf$$.file) 2>/dev/null; then
17979 if ln -s conf$$.file conf$$ 2>/dev/null; then
17980 as_ln_s='ln -s'
17981 # ... but there are two gotchas:
17982 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17983 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17984 # In both cases, we have to default to `cp -pR'.
17985 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17986 as_ln_s='cp -pR'
17987 elif ln conf$$.file conf$$ 2>/dev/null; then
17988 as_ln_s=ln
17989 else
17990 as_ln_s='cp -pR'
17992 else
17993 as_ln_s='cp -pR'
17995 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17996 rmdir conf$$.dir 2>/dev/null
17999 # as_fn_mkdir_p
18000 # -------------
18001 # Create "$as_dir" as a directory, including parents if necessary.
18002 as_fn_mkdir_p ()
18005 case $as_dir in #(
18006 -*) as_dir=./$as_dir;;
18007 esac
18008 test -d "$as_dir" || eval $as_mkdir_p || {
18009 as_dirs=
18010 while :; do
18011 case $as_dir in #(
18012 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18013 *) as_qdir=$as_dir;;
18014 esac
18015 as_dirs="'$as_qdir' $as_dirs"
18016 as_dir=`$as_dirname -- "$as_dir" ||
18017 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18018 X"$as_dir" : 'X\(//\)[^/]' \| \
18019 X"$as_dir" : 'X\(//\)$' \| \
18020 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18021 $as_echo X"$as_dir" |
18022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18023 s//\1/
18026 /^X\(\/\/\)[^/].*/{
18027 s//\1/
18030 /^X\(\/\/\)$/{
18031 s//\1/
18034 /^X\(\/\).*/{
18035 s//\1/
18038 s/.*/./; q'`
18039 test -d "$as_dir" && break
18040 done
18041 test -z "$as_dirs" || eval "mkdir $as_dirs"
18042 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18045 } # as_fn_mkdir_p
18046 if mkdir -p . 2>/dev/null; then
18047 as_mkdir_p='mkdir -p "$as_dir"'
18048 else
18049 test -d ./-p && rmdir ./-p
18050 as_mkdir_p=false
18054 # as_fn_executable_p FILE
18055 # -----------------------
18056 # Test if FILE is an executable regular file.
18057 as_fn_executable_p ()
18059 test -f "$1" && test -x "$1"
18060 } # as_fn_executable_p
18061 as_test_x='test -x'
18062 as_executable_p=as_fn_executable_p
18064 # Sed expression to map a string onto a valid CPP name.
18065 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18067 # Sed expression to map a string onto a valid variable name.
18068 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18071 exec 6>&1
18072 ## ----------------------------------- ##
18073 ## Main body of $CONFIG_STATUS script. ##
18074 ## ----------------------------------- ##
18075 _ASEOF
18076 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18079 # Save the log message, to keep $0 and so on meaningful, and to
18080 # report actual input values of CONFIG_FILES etc. instead of their
18081 # values after options handling.
18082 ac_log="
18083 This file was extended by Wine $as_me 1.7.16, which was
18084 generated by GNU Autoconf 2.69. Invocation command line was
18086 CONFIG_FILES = $CONFIG_FILES
18087 CONFIG_HEADERS = $CONFIG_HEADERS
18088 CONFIG_LINKS = $CONFIG_LINKS
18089 CONFIG_COMMANDS = $CONFIG_COMMANDS
18090 $ $0 $@
18092 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18095 _ACEOF
18097 case $ac_config_files in *"
18098 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18099 esac
18101 case $ac_config_headers in *"
18102 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18103 esac
18106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18107 # Files that config.status was made for.
18108 config_files="$ac_config_files"
18109 config_headers="$ac_config_headers"
18110 config_links="$ac_config_links"
18111 config_commands="$ac_config_commands"
18113 _ACEOF
18115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18116 ac_cs_usage="\
18117 \`$as_me' instantiates files and other configuration actions
18118 from templates according to the current configuration. Unless the files
18119 and actions are specified as TAGs, all are instantiated by default.
18121 Usage: $0 [OPTION]... [TAG]...
18123 -h, --help print this help, then exit
18124 -V, --version print version number and configuration settings, then exit
18125 --config print configuration, then exit
18126 -q, --quiet, --silent
18127 do not print progress messages
18128 -d, --debug don't remove temporary files
18129 --recheck update $as_me by reconfiguring in the same conditions
18130 --file=FILE[:TEMPLATE]
18131 instantiate the configuration file FILE
18132 --header=FILE[:TEMPLATE]
18133 instantiate the configuration header FILE
18135 Configuration files:
18136 $config_files
18138 Configuration headers:
18139 $config_headers
18141 Configuration links:
18142 $config_links
18144 Configuration commands:
18145 $config_commands
18147 Report bugs to <wine-devel@winehq.org>.
18148 Wine home page: <http://www.winehq.org>."
18150 _ACEOF
18151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18152 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18153 ac_cs_version="\\
18154 Wine config.status 1.7.16
18155 configured by $0, generated by GNU Autoconf 2.69,
18156 with options \\"\$ac_cs_config\\"
18158 Copyright (C) 2012 Free Software Foundation, Inc.
18159 This config.status script is free software; the Free Software Foundation
18160 gives unlimited permission to copy, distribute and modify it."
18162 ac_pwd='$ac_pwd'
18163 srcdir='$srcdir'
18164 test -n "\$AWK" || AWK=awk
18165 _ACEOF
18167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18168 # The default lists apply if the user does not specify any file.
18169 ac_need_defaults=:
18170 while test $# != 0
18172 case $1 in
18173 --*=?*)
18174 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18175 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18176 ac_shift=:
18178 --*=)
18179 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18180 ac_optarg=
18181 ac_shift=:
18184 ac_option=$1
18185 ac_optarg=$2
18186 ac_shift=shift
18188 esac
18190 case $ac_option in
18191 # Handling of the options.
18192 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18193 ac_cs_recheck=: ;;
18194 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18195 $as_echo "$ac_cs_version"; exit ;;
18196 --config | --confi | --conf | --con | --co | --c )
18197 $as_echo "$ac_cs_config"; exit ;;
18198 --debug | --debu | --deb | --de | --d | -d )
18199 debug=: ;;
18200 --file | --fil | --fi | --f )
18201 $ac_shift
18202 case $ac_optarg in
18203 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18204 '') as_fn_error $? "missing file argument" ;;
18205 esac
18206 as_fn_append CONFIG_FILES " '$ac_optarg'"
18207 ac_need_defaults=false;;
18208 --header | --heade | --head | --hea )
18209 $ac_shift
18210 case $ac_optarg in
18211 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18212 esac
18213 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18214 ac_need_defaults=false;;
18215 --he | --h)
18216 # Conflict between --help and --header
18217 as_fn_error $? "ambiguous option: \`$1'
18218 Try \`$0 --help' for more information.";;
18219 --help | --hel | -h )
18220 $as_echo "$ac_cs_usage"; exit ;;
18221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18222 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18223 ac_cs_silent=: ;;
18225 # This is an error.
18226 -*) as_fn_error $? "unrecognized option: \`$1'
18227 Try \`$0 --help' for more information." ;;
18229 *) as_fn_append ac_config_targets " $1"
18230 ac_need_defaults=false ;;
18232 esac
18233 shift
18234 done
18236 ac_configure_extra_args=
18238 if $ac_cs_silent; then
18239 exec 6>/dev/null
18240 ac_configure_extra_args="$ac_configure_extra_args --silent"
18243 _ACEOF
18244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18245 if \$ac_cs_recheck; then
18246 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18247 shift
18248 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18249 CONFIG_SHELL='$SHELL'
18250 export CONFIG_SHELL
18251 exec "\$@"
18254 _ACEOF
18255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18256 exec 5>>config.log
18258 echo
18259 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18260 ## Running $as_me. ##
18261 _ASBOX
18262 $as_echo "$ac_log"
18263 } >&5
18265 _ACEOF
18266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18268 # INIT-COMMANDS
18270 wine_fn_output_makedep ()
18272 as_dir=tools; as_fn_mkdir_p
18273 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18275 wine_fn_output_makefile ()
18277 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18278 `cat $wine_rules_file`
18279 _WINE_EOF
18280 as_fn_error $? "could not create Makefile" "$LINENO" 5
18282 wine_fn_output_gitignore ()
18284 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18285 $GITIGNORE
18286 _WINE_EOF
18287 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18290 _ACEOF
18292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18294 # Handling of arguments.
18295 for ac_config_target in $ac_config_targets
18297 case $ac_config_target in
18298 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18299 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18300 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18301 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18302 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18303 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18304 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18305 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18306 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18307 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18308 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18309 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18310 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18311 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18313 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18314 esac
18315 done
18318 # If the user did not use the arguments to specify the items to instantiate,
18319 # then the envvar interface is used. Set only those that are not.
18320 # We use the long form for the default assignment because of an extremely
18321 # bizarre bug on SunOS 4.1.3.
18322 if $ac_need_defaults; then
18323 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18324 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18325 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18326 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18329 # Have a temporary directory for convenience. Make it in the build tree
18330 # simply because there is no reason against having it here, and in addition,
18331 # creating and moving files from /tmp can sometimes cause problems.
18332 # Hook for its removal unless debugging.
18333 # Note that there is a small window in which the directory will not be cleaned:
18334 # after its creation but before its name has been assigned to `$tmp'.
18335 $debug ||
18337 tmp= ac_tmp=
18338 trap 'exit_status=$?
18339 : "${ac_tmp:=$tmp}"
18340 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18342 trap 'as_fn_exit 1' 1 2 13 15
18344 # Create a (secure) tmp directory for tmp files.
18347 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18348 test -d "$tmp"
18349 } ||
18351 tmp=./conf$$-$RANDOM
18352 (umask 077 && mkdir "$tmp")
18353 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18354 ac_tmp=$tmp
18356 # Set up the scripts for CONFIG_FILES section.
18357 # No need to generate them if there are no CONFIG_FILES.
18358 # This happens for instance with `./config.status config.h'.
18359 if test -n "$CONFIG_FILES"; then
18362 ac_cr=`echo X | tr X '\015'`
18363 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18364 # But we know of no other shell where ac_cr would be empty at this
18365 # point, so we can use a bashism as a fallback.
18366 if test "x$ac_cr" = x; then
18367 eval ac_cr=\$\'\\r\'
18369 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18370 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18371 ac_cs_awk_cr='\\r'
18372 else
18373 ac_cs_awk_cr=$ac_cr
18376 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18377 _ACEOF
18381 echo "cat >conf$$subs.awk <<_ACEOF" &&
18382 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18383 echo "_ACEOF"
18384 } >conf$$subs.sh ||
18385 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18386 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18387 ac_delim='%!_!# '
18388 for ac_last_try in false false false false false :; do
18389 . ./conf$$subs.sh ||
18390 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18392 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18393 if test $ac_delim_n = $ac_delim_num; then
18394 break
18395 elif $ac_last_try; then
18396 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18397 else
18398 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18400 done
18401 rm -f conf$$subs.sh
18403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18404 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18405 _ACEOF
18406 sed -n '
18408 s/^/S["/; s/!.*/"]=/
18411 s/^[^!]*!//
18412 :repl
18413 t repl
18414 s/'"$ac_delim"'$//
18415 t delim
18418 s/\(.\{148\}\)..*/\1/
18419 t more1
18420 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18423 b repl
18424 :more1
18425 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18428 s/.\{148\}//
18429 t nl
18430 :delim
18432 s/\(.\{148\}\)..*/\1/
18433 t more2
18434 s/["\\]/\\&/g; s/^/"/; s/$/"/
18437 :more2
18438 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18441 s/.\{148\}//
18442 t delim
18443 ' <conf$$subs.awk | sed '
18444 /^[^""]/{
18446 s/\n//
18448 ' >>$CONFIG_STATUS || ac_write_fail=1
18449 rm -f conf$$subs.awk
18450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18451 _ACAWK
18452 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18453 for (key in S) S_is_set[key] = 1
18454 FS = "\a"
18458 line = $ 0
18459 nfields = split(line, field, "@")
18460 substed = 0
18461 len = length(field[1])
18462 for (i = 2; i < nfields; i++) {
18463 key = field[i]
18464 keylen = length(key)
18465 if (S_is_set[key]) {
18466 value = S[key]
18467 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18468 len += length(value) + length(field[++i])
18469 substed = 1
18470 } else
18471 len += 1 + keylen
18474 print line
18477 _ACAWK
18478 _ACEOF
18479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18480 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18481 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18482 else
18484 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18485 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18486 _ACEOF
18488 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18489 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18490 # trailing colons and then remove the whole line if VPATH becomes empty
18491 # (actually we leave an empty line to preserve line numbers).
18492 if test "x$srcdir" = x.; then
18493 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18495 s///
18496 s/^/:/
18497 s/[ ]*$/:/
18498 s/:\$(srcdir):/:/g
18499 s/:\${srcdir}:/:/g
18500 s/:@srcdir@:/:/g
18501 s/^:*//
18502 s/:*$//
18504 s/\(=[ ]*\).*/\1/
18506 s/\n//
18507 s/^[^=]*=[ ]*$//
18511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18512 fi # test -n "$CONFIG_FILES"
18514 # Set up the scripts for CONFIG_HEADERS section.
18515 # No need to generate them if there are no CONFIG_HEADERS.
18516 # This happens for instance with `./config.status Makefile'.
18517 if test -n "$CONFIG_HEADERS"; then
18518 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18519 BEGIN {
18520 _ACEOF
18522 # Transform confdefs.h into an awk script `defines.awk', embedded as
18523 # here-document in config.status, that substitutes the proper values into
18524 # config.h.in to produce config.h.
18526 # Create a delimiter string that does not exist in confdefs.h, to ease
18527 # handling of long lines.
18528 ac_delim='%!_!# '
18529 for ac_last_try in false false :; do
18530 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18531 if test -z "$ac_tt"; then
18532 break
18533 elif $ac_last_try; then
18534 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18535 else
18536 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18538 done
18540 # For the awk script, D is an array of macro values keyed by name,
18541 # likewise P contains macro parameters if any. Preserve backslash
18542 # newline sequences.
18544 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18545 sed -n '
18546 s/.\{148\}/&'"$ac_delim"'/g
18547 t rset
18548 :rset
18549 s/^[ ]*#[ ]*define[ ][ ]*/ /
18550 t def
18552 :def
18553 s/\\$//
18554 t bsnl
18555 s/["\\]/\\&/g
18556 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18557 D["\1"]=" \3"/p
18558 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18560 :bsnl
18561 s/["\\]/\\&/g
18562 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18563 D["\1"]=" \3\\\\\\n"\\/p
18564 t cont
18565 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18566 t cont
18568 :cont
18570 s/.\{148\}/&'"$ac_delim"'/g
18571 t clear
18572 :clear
18573 s/\\$//
18574 t bsnlc
18575 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18577 :bsnlc
18578 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18579 b cont
18580 ' <confdefs.h | sed '
18581 s/'"$ac_delim"'/"\\\
18582 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18585 for (key in D) D_is_set[key] = 1
18586 FS = "\a"
18588 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18589 line = \$ 0
18590 split(line, arg, " ")
18591 if (arg[1] == "#") {
18592 defundef = arg[2]
18593 mac1 = arg[3]
18594 } else {
18595 defundef = substr(arg[1], 2)
18596 mac1 = arg[2]
18598 split(mac1, mac2, "(") #)
18599 macro = mac2[1]
18600 prefix = substr(line, 1, index(line, defundef) - 1)
18601 if (D_is_set[macro]) {
18602 # Preserve the white space surrounding the "#".
18603 print prefix "define", macro P[macro] D[macro]
18604 next
18605 } else {
18606 # Replace #undef with comments. This is necessary, for example,
18607 # in the case of _POSIX_SOURCE, which is predefined and required
18608 # on some systems where configure will not decide to define it.
18609 if (defundef == "undef") {
18610 print "/*", prefix defundef, macro, "*/"
18611 next
18615 { print }
18616 _ACAWK
18617 _ACEOF
18618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18619 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18620 fi # test -n "$CONFIG_HEADERS"
18623 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18624 shift
18625 for ac_tag
18627 case $ac_tag in
18628 :[FHLC]) ac_mode=$ac_tag; continue;;
18629 esac
18630 case $ac_mode$ac_tag in
18631 :[FHL]*:*);;
18632 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18633 :[FH]-) ac_tag=-:-;;
18634 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18635 esac
18636 ac_save_IFS=$IFS
18637 IFS=:
18638 set x $ac_tag
18639 IFS=$ac_save_IFS
18640 shift
18641 ac_file=$1
18642 shift
18644 case $ac_mode in
18645 :L) ac_source=$1;;
18646 :[FH])
18647 ac_file_inputs=
18648 for ac_f
18650 case $ac_f in
18651 -) ac_f="$ac_tmp/stdin";;
18652 *) # Look for the file first in the build tree, then in the source tree
18653 # (if the path is not absolute). The absolute path cannot be DOS-style,
18654 # because $ac_f cannot contain `:'.
18655 test -f "$ac_f" ||
18656 case $ac_f in
18657 [\\/$]*) false;;
18658 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18659 esac ||
18660 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18661 esac
18662 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18663 as_fn_append ac_file_inputs " '$ac_f'"
18664 done
18666 # Let's still pretend it is `configure' which instantiates (i.e., don't
18667 # use $as_me), people would be surprised to read:
18668 # /* config.h. Generated by config.status. */
18669 configure_input='Generated from '`
18670 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18671 `' by configure.'
18672 if test x"$ac_file" != x-; then
18673 configure_input="$ac_file. $configure_input"
18674 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18675 $as_echo "$as_me: creating $ac_file" >&6;}
18677 # Neutralize special characters interpreted by sed in replacement strings.
18678 case $configure_input in #(
18679 *\&* | *\|* | *\\* )
18680 ac_sed_conf_input=`$as_echo "$configure_input" |
18681 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18682 *) ac_sed_conf_input=$configure_input;;
18683 esac
18685 case $ac_tag in
18686 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18687 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18688 esac
18690 esac
18692 ac_dir=`$as_dirname -- "$ac_file" ||
18693 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18694 X"$ac_file" : 'X\(//\)[^/]' \| \
18695 X"$ac_file" : 'X\(//\)$' \| \
18696 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18697 $as_echo X"$ac_file" |
18698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18699 s//\1/
18702 /^X\(\/\/\)[^/].*/{
18703 s//\1/
18706 /^X\(\/\/\)$/{
18707 s//\1/
18710 /^X\(\/\).*/{
18711 s//\1/
18714 s/.*/./; q'`
18715 as_dir="$ac_dir"; as_fn_mkdir_p
18716 ac_builddir=.
18718 case "$ac_dir" in
18719 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18721 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18722 # A ".." for each directory in $ac_dir_suffix.
18723 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18724 case $ac_top_builddir_sub in
18725 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18726 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18727 esac ;;
18728 esac
18729 ac_abs_top_builddir=$ac_pwd
18730 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18731 # for backward compatibility:
18732 ac_top_builddir=$ac_top_build_prefix
18734 case $srcdir in
18735 .) # We are building in place.
18736 ac_srcdir=.
18737 ac_top_srcdir=$ac_top_builddir_sub
18738 ac_abs_top_srcdir=$ac_pwd ;;
18739 [\\/]* | ?:[\\/]* ) # Absolute name.
18740 ac_srcdir=$srcdir$ac_dir_suffix;
18741 ac_top_srcdir=$srcdir
18742 ac_abs_top_srcdir=$srcdir ;;
18743 *) # Relative name.
18744 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18745 ac_top_srcdir=$ac_top_build_prefix$srcdir
18746 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18747 esac
18748 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18751 case $ac_mode in
18754 # CONFIG_FILE
18757 _ACEOF
18759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18760 # If the template does not know about datarootdir, expand it.
18761 # FIXME: This hack should be removed a few years after 2.60.
18762 ac_datarootdir_hack=; ac_datarootdir_seen=
18763 ac_sed_dataroot='
18764 /datarootdir/ {
18768 /@datadir@/p
18769 /@docdir@/p
18770 /@infodir@/p
18771 /@localedir@/p
18772 /@mandir@/p'
18773 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18774 *datarootdir*) ac_datarootdir_seen=yes;;
18775 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18777 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18778 _ACEOF
18779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18780 ac_datarootdir_hack='
18781 s&@datadir@&$datadir&g
18782 s&@docdir@&$docdir&g
18783 s&@infodir@&$infodir&g
18784 s&@localedir@&$localedir&g
18785 s&@mandir@&$mandir&g
18786 s&\\\${datarootdir}&$datarootdir&g' ;;
18787 esac
18788 _ACEOF
18790 # Neutralize VPATH when `$srcdir' = `.'.
18791 # Shell code in configure.ac might set extrasub.
18792 # FIXME: do we really want to maintain this feature?
18793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18794 ac_sed_extra="$ac_vpsub
18795 $extrasub
18796 _ACEOF
18797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18799 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18800 s|@configure_input@|$ac_sed_conf_input|;t t
18801 s&@top_builddir@&$ac_top_builddir_sub&;t t
18802 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18803 s&@srcdir@&$ac_srcdir&;t t
18804 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18805 s&@top_srcdir@&$ac_top_srcdir&;t t
18806 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18807 s&@builddir@&$ac_builddir&;t t
18808 s&@abs_builddir@&$ac_abs_builddir&;t t
18809 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18810 $ac_datarootdir_hack
18812 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18813 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18815 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18816 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18817 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18818 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18820 which seems to be undefined. Please make sure it is defined" >&5
18821 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18822 which seems to be undefined. Please make sure it is defined" >&2;}
18824 rm -f "$ac_tmp/stdin"
18825 case $ac_file in
18826 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18827 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18828 esac \
18829 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18833 # CONFIG_HEADER
18835 if test x"$ac_file" != x-; then
18837 $as_echo "/* $configure_input */" \
18838 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18839 } >"$ac_tmp/config.h" \
18840 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18841 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18842 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18843 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18844 else
18845 rm -f "$ac_file"
18846 mv "$ac_tmp/config.h" "$ac_file" \
18847 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18849 else
18850 $as_echo "/* $configure_input */" \
18851 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18852 || as_fn_error $? "could not create -" "$LINENO" 5
18857 # CONFIG_LINK
18860 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18862 else
18863 # Prefer the file from the source tree if names are identical.
18864 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18865 ac_source=$srcdir/$ac_source
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18869 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18871 if test ! -r "$ac_source"; then
18872 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18874 rm -f "$ac_file"
18876 # Try a relative symlink, then a hard link, then a copy.
18877 case $ac_source in
18878 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18879 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18880 esac
18881 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18882 ln "$ac_source" "$ac_file" 2>/dev/null ||
18883 cp -p "$ac_source" "$ac_file" ||
18884 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18887 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18888 $as_echo "$as_me: executing $ac_file commands" >&6;}
18890 esac
18893 case $ac_file$ac_mode in
18894 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18895 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18896 "Makefile":C) wine_fn_output_makefile Makefile ;;
18897 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18899 esac
18900 done # for ac_tag
18903 as_fn_exit 0
18904 _ACEOF
18905 ac_clean_files=$ac_clean_files_save
18907 test $ac_write_fail = 0 ||
18908 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18911 # configure is writing to config.log, and then calls config.status.
18912 # config.status does its own redirection, appending to config.log.
18913 # Unfortunately, on DOS this fails, as config.log is still kept open
18914 # by configure, so config.status won't be able to write to it; its
18915 # output is simply discarded. So we exec the FD to /dev/null,
18916 # effectively closing config.log, so it can be properly (re)opened and
18917 # appended to by config.status. When coming back to configure, we
18918 # need to make the FD available again.
18919 if test "$no_create" != yes; then
18920 ac_cs_success=:
18921 ac_config_status_args=
18922 test "$silent" = yes &&
18923 ac_config_status_args="$ac_config_status_args --quiet"
18924 exec 5>/dev/null
18925 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18926 exec 5>>config.log
18927 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18928 # would make configure fail if this is the last instruction.
18929 $ac_cs_success || as_fn_exit 1
18931 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18933 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18937 if test "$no_create" = "yes"
18938 then
18939 exit 0
18942 ac_save_IFS="$IFS"
18943 if test "x$wine_notices != "x; then
18944 echo >&6
18945 IFS="|"
18946 for msg in $wine_notices; do
18947 IFS="$ac_save_IFS"
18948 if ${msg:+false} :; then :
18950 else
18951 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18952 $as_echo "$as_me: $msg" >&6;}
18954 done
18956 IFS="|"
18957 for msg in $wine_warnings; do
18958 IFS="$ac_save_IFS"
18959 if ${msg:+false} :; then :
18961 else
18962 echo >&2
18963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18964 $as_echo "$as_me: WARNING: $msg" >&2;}
18966 done
18967 IFS="$ac_save_IFS"
18969 $as_echo "
18970 $as_me: Finished. Do '${ac_make}' to compile Wine.
18971 " >&6