d2d1: Add the ID2D1Image interface.
[wine/wine-gecko.git] / configure
blobe5a26d1e842a90446106663894ab953699eda4cb
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.18.
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.18'
584 PACKAGE_STRING='Wine 1.7.18'
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_sdbinst
1352 enable_secedit
1353 enable_servicemodelreg
1354 enable_services
1355 enable_spoolsv
1356 enable_start
1357 enable_svchost
1358 enable_taskkill
1359 enable_tasklist
1360 enable_taskmgr
1361 enable_termsv
1362 enable_uninstaller
1363 enable_unlodctr
1364 enable_view
1365 enable_wevtutil
1366 enable_wineboot
1367 enable_winebrowser
1368 enable_winecfg
1369 enable_wineconsole
1370 enable_winedbg
1371 enable_winedevice
1372 enable_winefile
1373 enable_winemenubuilder
1374 enable_winemine
1375 enable_winemsibuilder
1376 enable_winepath
1377 enable_winetest
1378 enable_winhlp32
1379 enable_winver
1380 enable_wmic
1381 enable_wordpad
1382 enable_write
1383 enable_wscript
1384 enable_wusa
1385 enable_xcopy
1386 enable_server
1387 enable_tools
1389 ac_precious_vars='build_alias
1390 host_alias
1391 target_alias
1393 CFLAGS
1394 LDFLAGS
1395 LIBS
1396 CPPFLAGS
1398 CXXFLAGS
1401 XMKMF
1402 XML2_CFLAGS
1403 XML2_LIBS
1404 XSLT_CFLAGS
1405 XSLT_LIBS
1406 DBUS_CFLAGS
1407 DBUS_LIBS
1408 HAL_CFLAGS
1409 HAL_LIBS
1410 GNUTLS_CFLAGS
1411 GNUTLS_LIBS
1412 SANE_CFLAGS
1413 SANE_LIBS
1414 GPHOTO2_CFLAGS
1415 GPHOTO2_LIBS
1416 GPHOTO2_PORT_CFLAGS
1417 GPHOTO2_PORT_LIBS
1418 LCMS2_CFLAGS
1419 LCMS2_LIBS
1420 FREETYPE_CFLAGS
1421 FREETYPE_LIBS
1422 GSTREAMER_CFLAGS
1423 GSTREAMER_LIBS
1424 CAPI20_CFLAGS
1425 CAPI20_LIBS
1426 FONTCONFIG_CFLAGS
1427 FONTCONFIG_LIBS
1428 JPEG_CFLAGS
1429 JPEG_LIBS
1430 PNG_CFLAGS
1431 PNG_LIBS
1432 TIFF_CFLAGS
1433 TIFF_LIBS
1434 MPG123_CFLAGS
1435 MPG123_LIBS'
1438 # Initialize some variables set by options.
1439 ac_init_help=
1440 ac_init_version=false
1441 ac_unrecognized_opts=
1442 ac_unrecognized_sep=
1443 # The variables have the same names as the options, with
1444 # dashes changed to underlines.
1445 cache_file=/dev/null
1446 exec_prefix=NONE
1447 no_create=
1448 no_recursion=
1449 prefix=NONE
1450 program_prefix=NONE
1451 program_suffix=NONE
1452 program_transform_name=s,x,x,
1453 silent=
1454 site=
1455 srcdir=
1456 verbose=
1457 x_includes=NONE
1458 x_libraries=NONE
1460 # Installation directory options.
1461 # These are left unexpanded so users can "make install exec_prefix=/foo"
1462 # and all the variables that are supposed to be based on exec_prefix
1463 # by default will actually change.
1464 # Use braces instead of parens because sh, perl, etc. also accept them.
1465 # (The list follows the same order as the GNU Coding Standards.)
1466 bindir='${exec_prefix}/bin'
1467 sbindir='${exec_prefix}/sbin'
1468 libexecdir='${exec_prefix}/libexec'
1469 datarootdir='${prefix}/share'
1470 datadir='${datarootdir}'
1471 sysconfdir='${prefix}/etc'
1472 sharedstatedir='${prefix}/com'
1473 localstatedir='${prefix}/var'
1474 includedir='${prefix}/include'
1475 oldincludedir='/usr/include'
1476 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1477 infodir='${datarootdir}/info'
1478 htmldir='${docdir}'
1479 dvidir='${docdir}'
1480 pdfdir='${docdir}'
1481 psdir='${docdir}'
1482 libdir='${exec_prefix}/lib'
1483 localedir='${datarootdir}/locale'
1484 mandir='${datarootdir}/man'
1486 ac_prev=
1487 ac_dashdash=
1488 for ac_option
1490 # If the previous option needs an argument, assign it.
1491 if test -n "$ac_prev"; then
1492 eval $ac_prev=\$ac_option
1493 ac_prev=
1494 continue
1497 case $ac_option in
1498 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1499 *=) ac_optarg= ;;
1500 *) ac_optarg=yes ;;
1501 esac
1503 # Accept the important Cygnus configure options, so we can diagnose typos.
1505 case $ac_dashdash$ac_option in
1507 ac_dashdash=yes ;;
1509 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1510 ac_prev=bindir ;;
1511 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1512 bindir=$ac_optarg ;;
1514 -build | --build | --buil | --bui | --bu)
1515 ac_prev=build_alias ;;
1516 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1517 build_alias=$ac_optarg ;;
1519 -cache-file | --cache-file | --cache-fil | --cache-fi \
1520 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1521 ac_prev=cache_file ;;
1522 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1523 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1524 cache_file=$ac_optarg ;;
1526 --config-cache | -C)
1527 cache_file=config.cache ;;
1529 -datadir | --datadir | --datadi | --datad)
1530 ac_prev=datadir ;;
1531 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1532 datadir=$ac_optarg ;;
1534 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1535 | --dataroo | --dataro | --datar)
1536 ac_prev=datarootdir ;;
1537 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1538 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1539 datarootdir=$ac_optarg ;;
1541 -disable-* | --disable-*)
1542 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1543 # Reject names that are not valid shell variable names.
1544 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1545 as_fn_error $? "invalid feature name: $ac_useropt"
1546 ac_useropt_orig=$ac_useropt
1547 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1548 case $ac_user_opts in
1550 "enable_$ac_useropt"
1551 "*) ;;
1552 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1553 ac_unrecognized_sep=', ';;
1554 esac
1555 eval enable_$ac_useropt=no ;;
1557 -docdir | --docdir | --docdi | --doc | --do)
1558 ac_prev=docdir ;;
1559 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1560 docdir=$ac_optarg ;;
1562 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1563 ac_prev=dvidir ;;
1564 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1565 dvidir=$ac_optarg ;;
1567 -enable-* | --enable-*)
1568 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1569 # Reject names that are not valid shell variable names.
1570 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1571 as_fn_error $? "invalid feature name: $ac_useropt"
1572 ac_useropt_orig=$ac_useropt
1573 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1574 case $ac_user_opts in
1576 "enable_$ac_useropt"
1577 "*) ;;
1578 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1579 ac_unrecognized_sep=', ';;
1580 esac
1581 eval enable_$ac_useropt=\$ac_optarg ;;
1583 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1584 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1585 | --exec | --exe | --ex)
1586 ac_prev=exec_prefix ;;
1587 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1588 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1589 | --exec=* | --exe=* | --ex=*)
1590 exec_prefix=$ac_optarg ;;
1592 -gas | --gas | --ga | --g)
1593 # Obsolete; use --with-gas.
1594 with_gas=yes ;;
1596 -help | --help | --hel | --he | -h)
1597 ac_init_help=long ;;
1598 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1599 ac_init_help=recursive ;;
1600 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1601 ac_init_help=short ;;
1603 -host | --host | --hos | --ho)
1604 ac_prev=host_alias ;;
1605 -host=* | --host=* | --hos=* | --ho=*)
1606 host_alias=$ac_optarg ;;
1608 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1609 ac_prev=htmldir ;;
1610 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1611 | --ht=*)
1612 htmldir=$ac_optarg ;;
1614 -includedir | --includedir | --includedi | --included | --include \
1615 | --includ | --inclu | --incl | --inc)
1616 ac_prev=includedir ;;
1617 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1618 | --includ=* | --inclu=* | --incl=* | --inc=*)
1619 includedir=$ac_optarg ;;
1621 -infodir | --infodir | --infodi | --infod | --info | --inf)
1622 ac_prev=infodir ;;
1623 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1624 infodir=$ac_optarg ;;
1626 -libdir | --libdir | --libdi | --libd)
1627 ac_prev=libdir ;;
1628 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1629 libdir=$ac_optarg ;;
1631 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1632 | --libexe | --libex | --libe)
1633 ac_prev=libexecdir ;;
1634 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1635 | --libexe=* | --libex=* | --libe=*)
1636 libexecdir=$ac_optarg ;;
1638 -localedir | --localedir | --localedi | --localed | --locale)
1639 ac_prev=localedir ;;
1640 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1641 localedir=$ac_optarg ;;
1643 -localstatedir | --localstatedir | --localstatedi | --localstated \
1644 | --localstate | --localstat | --localsta | --localst | --locals)
1645 ac_prev=localstatedir ;;
1646 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1647 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1648 localstatedir=$ac_optarg ;;
1650 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1651 ac_prev=mandir ;;
1652 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1653 mandir=$ac_optarg ;;
1655 -nfp | --nfp | --nf)
1656 # Obsolete; use --without-fp.
1657 with_fp=no ;;
1659 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1660 | --no-cr | --no-c | -n)
1661 no_create=yes ;;
1663 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1664 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1665 no_recursion=yes ;;
1667 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1668 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1669 | --oldin | --oldi | --old | --ol | --o)
1670 ac_prev=oldincludedir ;;
1671 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1672 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1673 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1674 oldincludedir=$ac_optarg ;;
1676 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1677 ac_prev=prefix ;;
1678 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1679 prefix=$ac_optarg ;;
1681 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1682 | --program-pre | --program-pr | --program-p)
1683 ac_prev=program_prefix ;;
1684 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1685 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1686 program_prefix=$ac_optarg ;;
1688 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1689 | --program-suf | --program-su | --program-s)
1690 ac_prev=program_suffix ;;
1691 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1692 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1693 program_suffix=$ac_optarg ;;
1695 -program-transform-name | --program-transform-name \
1696 | --program-transform-nam | --program-transform-na \
1697 | --program-transform-n | --program-transform- \
1698 | --program-transform | --program-transfor \
1699 | --program-transfo | --program-transf \
1700 | --program-trans | --program-tran \
1701 | --progr-tra | --program-tr | --program-t)
1702 ac_prev=program_transform_name ;;
1703 -program-transform-name=* | --program-transform-name=* \
1704 | --program-transform-nam=* | --program-transform-na=* \
1705 | --program-transform-n=* | --program-transform-=* \
1706 | --program-transform=* | --program-transfor=* \
1707 | --program-transfo=* | --program-transf=* \
1708 | --program-trans=* | --program-tran=* \
1709 | --progr-tra=* | --program-tr=* | --program-t=*)
1710 program_transform_name=$ac_optarg ;;
1712 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1713 ac_prev=pdfdir ;;
1714 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1715 pdfdir=$ac_optarg ;;
1717 -psdir | --psdir | --psdi | --psd | --ps)
1718 ac_prev=psdir ;;
1719 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1720 psdir=$ac_optarg ;;
1722 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1723 | -silent | --silent | --silen | --sile | --sil)
1724 silent=yes ;;
1726 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1727 ac_prev=sbindir ;;
1728 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1729 | --sbi=* | --sb=*)
1730 sbindir=$ac_optarg ;;
1732 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1733 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1734 | --sharedst | --shareds | --shared | --share | --shar \
1735 | --sha | --sh)
1736 ac_prev=sharedstatedir ;;
1737 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1738 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1739 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1740 | --sha=* | --sh=*)
1741 sharedstatedir=$ac_optarg ;;
1743 -site | --site | --sit)
1744 ac_prev=site ;;
1745 -site=* | --site=* | --sit=*)
1746 site=$ac_optarg ;;
1748 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1749 ac_prev=srcdir ;;
1750 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1751 srcdir=$ac_optarg ;;
1753 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1754 | --syscon | --sysco | --sysc | --sys | --sy)
1755 ac_prev=sysconfdir ;;
1756 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1757 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1758 sysconfdir=$ac_optarg ;;
1760 -target | --target | --targe | --targ | --tar | --ta | --t)
1761 ac_prev=target_alias ;;
1762 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1763 target_alias=$ac_optarg ;;
1765 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1766 verbose=yes ;;
1768 -version | --version | --versio | --versi | --vers | -V)
1769 ac_init_version=: ;;
1771 -with-* | --with-*)
1772 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1773 # Reject names that are not valid shell variable names.
1774 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1775 as_fn_error $? "invalid package name: $ac_useropt"
1776 ac_useropt_orig=$ac_useropt
1777 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1778 case $ac_user_opts in
1780 "with_$ac_useropt"
1781 "*) ;;
1782 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1783 ac_unrecognized_sep=', ';;
1784 esac
1785 eval with_$ac_useropt=\$ac_optarg ;;
1787 -without-* | --without-*)
1788 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1789 # Reject names that are not valid shell variable names.
1790 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1791 as_fn_error $? "invalid package name: $ac_useropt"
1792 ac_useropt_orig=$ac_useropt
1793 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1794 case $ac_user_opts in
1796 "with_$ac_useropt"
1797 "*) ;;
1798 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1799 ac_unrecognized_sep=', ';;
1800 esac
1801 eval with_$ac_useropt=no ;;
1803 --x)
1804 # Obsolete; use --with-x.
1805 with_x=yes ;;
1807 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1808 | --x-incl | --x-inc | --x-in | --x-i)
1809 ac_prev=x_includes ;;
1810 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1811 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1812 x_includes=$ac_optarg ;;
1814 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1815 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1816 ac_prev=x_libraries ;;
1817 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1818 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1819 x_libraries=$ac_optarg ;;
1821 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1822 Try \`$0 --help' for more information"
1825 *=*)
1826 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1827 # Reject names that are not valid shell variable names.
1828 case $ac_envvar in #(
1829 '' | [0-9]* | *[!_$as_cr_alnum]* )
1830 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1831 esac
1832 eval $ac_envvar=\$ac_optarg
1833 export $ac_envvar ;;
1836 # FIXME: should be removed in autoconf 3.0.
1837 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1838 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1839 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1840 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1843 esac
1844 done
1846 if test -n "$ac_prev"; then
1847 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1848 as_fn_error $? "missing argument to $ac_option"
1851 if test -n "$ac_unrecognized_opts"; then
1852 case $enable_option_checking in
1853 no) ;;
1854 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1855 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1856 esac
1859 # Check all directory arguments for consistency.
1860 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1861 datadir sysconfdir sharedstatedir localstatedir includedir \
1862 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1863 libdir localedir mandir
1865 eval ac_val=\$$ac_var
1866 # Remove trailing slashes.
1867 case $ac_val in
1868 */ )
1869 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1870 eval $ac_var=\$ac_val;;
1871 esac
1872 # Be sure to have absolute directory names.
1873 case $ac_val in
1874 [\\/$]* | ?:[\\/]* ) continue;;
1875 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1876 esac
1877 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1878 done
1880 # There might be people who depend on the old broken behavior: `$host'
1881 # used to hold the argument of --host etc.
1882 # FIXME: To remove some day.
1883 build=$build_alias
1884 host=$host_alias
1885 target=$target_alias
1887 # FIXME: To remove some day.
1888 if test "x$host_alias" != x; then
1889 if test "x$build_alias" = x; then
1890 cross_compiling=maybe
1891 elif test "x$build_alias" != "x$host_alias"; then
1892 cross_compiling=yes
1896 ac_tool_prefix=
1897 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1899 test "$silent" = yes && exec 6>/dev/null
1902 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1903 ac_ls_di=`ls -di .` &&
1904 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1905 as_fn_error $? "working directory cannot be determined"
1906 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1907 as_fn_error $? "pwd does not report name of working directory"
1910 # Find the source files, if location was not specified.
1911 if test -z "$srcdir"; then
1912 ac_srcdir_defaulted=yes
1913 # Try the directory containing this script, then the parent directory.
1914 ac_confdir=`$as_dirname -- "$as_myself" ||
1915 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1916 X"$as_myself" : 'X\(//\)[^/]' \| \
1917 X"$as_myself" : 'X\(//\)$' \| \
1918 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1919 $as_echo X"$as_myself" |
1920 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1921 s//\1/
1924 /^X\(\/\/\)[^/].*/{
1925 s//\1/
1928 /^X\(\/\/\)$/{
1929 s//\1/
1932 /^X\(\/\).*/{
1933 s//\1/
1936 s/.*/./; q'`
1937 srcdir=$ac_confdir
1938 if test ! -r "$srcdir/$ac_unique_file"; then
1939 srcdir=..
1941 else
1942 ac_srcdir_defaulted=no
1944 if test ! -r "$srcdir/$ac_unique_file"; then
1945 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1946 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1948 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1949 ac_abs_confdir=`(
1950 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1951 pwd)`
1952 # When building in place, set srcdir=.
1953 if test "$ac_abs_confdir" = "$ac_pwd"; then
1954 srcdir=.
1956 # Remove unnecessary trailing slashes from srcdir.
1957 # Double slashes in file names in object file debugging info
1958 # mess up M-x gdb in Emacs.
1959 case $srcdir in
1960 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1961 esac
1962 for ac_var in $ac_precious_vars; do
1963 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1964 eval ac_env_${ac_var}_value=\$${ac_var}
1965 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1966 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1967 done
1970 # Report the --help message.
1972 if test "$ac_init_help" = "long"; then
1973 # Omit some internal or obsolete options to make the list less imposing.
1974 # This message is too long to be a string in the A/UX 3.1 sh.
1975 cat <<_ACEOF
1976 \`configure' configures Wine 1.7.18 to adapt to many kinds of systems.
1978 Usage: $0 [OPTION]... [VAR=VALUE]...
1980 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1981 VAR=VALUE. See below for descriptions of some of the useful variables.
1983 Defaults for the options are specified in brackets.
1985 Configuration:
1986 -h, --help display this help and exit
1987 --help=short display options specific to this package
1988 --help=recursive display the short help of all the included packages
1989 -V, --version display version information and exit
1990 -q, --quiet, --silent do not print \`checking ...' messages
1991 --cache-file=FILE cache test results in FILE [disabled]
1992 -C, --config-cache alias for \`--cache-file=config.cache'
1993 -n, --no-create do not create output files
1994 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1996 Installation directories:
1997 --prefix=PREFIX install architecture-independent files in PREFIX
1998 [$ac_default_prefix]
1999 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2000 [PREFIX]
2002 By default, \`make install' will install all the files in
2003 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2004 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2005 for instance \`--prefix=\$HOME'.
2007 For better control, use the options below.
2009 Fine tuning of the installation directories:
2010 --bindir=DIR user executables [EPREFIX/bin]
2011 --sbindir=DIR system admin executables [EPREFIX/sbin]
2012 --libexecdir=DIR program executables [EPREFIX/libexec]
2013 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2014 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2015 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2016 --libdir=DIR object code libraries [EPREFIX/lib]
2017 --includedir=DIR C header files [PREFIX/include]
2018 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2019 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2020 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2021 --infodir=DIR info documentation [DATAROOTDIR/info]
2022 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2023 --mandir=DIR man documentation [DATAROOTDIR/man]
2024 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2025 --htmldir=DIR html documentation [DOCDIR]
2026 --dvidir=DIR dvi documentation [DOCDIR]
2027 --pdfdir=DIR pdf documentation [DOCDIR]
2028 --psdir=DIR ps documentation [DOCDIR]
2029 _ACEOF
2031 cat <<\_ACEOF
2033 X features:
2034 --x-includes=DIR X include files are in DIR
2035 --x-libraries=DIR X library files are in DIR
2037 System types:
2038 --build=BUILD configure for building on BUILD [guessed]
2039 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2040 _ACEOF
2043 if test -n "$ac_init_help"; then
2044 case $ac_init_help in
2045 short | recursive ) echo "Configuration of Wine 1.7.18:";;
2046 esac
2047 cat <<\_ACEOF
2049 Optional Features:
2050 --disable-option-checking ignore unrecognized --enable/--with options
2051 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2052 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2053 --disable-win16 do not include Win16 support
2054 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2055 binaries)
2056 --disable-tests do not build the regression tests
2057 --enable-maintainer-mode
2058 enable maintainer-specific build rules
2059 --disable-largefile omit support for large files
2061 Optional Packages:
2062 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2063 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2064 --without-alsa do not use the Alsa sound support
2065 --without-capi do not use CAPI (ISDN support)
2066 --without-cms do not use CMS (color management support)
2067 --without-coreaudio do not use the CoreAudio sound support
2068 --without-cups do not use CUPS
2069 --without-curses do not use (n)curses
2070 --without-dbus do not use DBus (dynamic device support)
2071 --without-fontconfig do not use fontconfig
2072 --without-freetype do not use the FreeType library
2073 --without-gettext do not use gettext
2074 --with-gettextpo use the GetTextPO library to rebuild po files
2075 --without-gphoto do not use gphoto (Digital Camera support)
2076 --without-glu do not use the GLU library
2077 --without-gnutls do not use GnuTLS (schannel support)
2078 --without-gsm do not use libgsm (GSM 06.10 codec support)
2079 --without-gstreamer do not use GStreamer (codecs support)
2080 --without-hal do not use HAL (dynamic device support)
2081 --without-jpeg do not use JPEG
2082 --without-ldap do not use LDAP
2083 --without-mpg123 do not use the mpg123 library
2084 --without-netapi do not use the Samba NetAPI library
2085 --without-openal do not use OpenAL
2086 --without-opencl do not use OpenCL
2087 --without-opengl do not use OpenGL
2088 --without-osmesa do not use the OSMesa library
2089 --without-oss do not use the OSS sound support
2090 --without-png do not use PNG
2091 --without-pthread do not use the pthread library
2092 --without-sane do not use SANE (scanner support)
2093 --without-tiff do not use TIFF
2094 --without-v4l do not use v4l1 (v4l support)
2095 --without-xcomposite do not use the Xcomposite extension
2096 --without-xcursor do not use the Xcursor extension
2097 --without-xinerama do not use Xinerama (multi-monitor support)
2098 --without-xinput do not use the Xinput extension
2099 --without-xinput2 do not use the Xinput 2 extension
2100 --without-xml do not use XML
2101 --without-xrandr do not use Xrandr (resolution changes)
2102 --without-xrender do not use the Xrender extension
2103 --without-xshape do not use the Xshape extension
2104 --without-xshm do not use XShm (shared memory extension)
2105 --without-xslt do not use XSLT
2106 --without-xxf86vm do not use XFree video mode extension
2107 --without-zlib do not use Zlib (data compression)
2108 --with-wine-tools=DIR use Wine tools from directory DIR
2109 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2110 --with-x use the X Window System
2112 Some influential environment variables:
2113 CC C compiler command
2114 CFLAGS C compiler flags
2115 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2116 nonstandard directory <lib dir>
2117 LIBS libraries to pass to the linker, e.g. -l<library>
2118 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2119 you have headers in a nonstandard directory <include dir>
2120 CXX C++ compiler command
2121 CXXFLAGS C++ compiler flags
2122 CPP C preprocessor
2123 XMKMF Path to xmkmf, Makefile generator for X Window System
2124 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2125 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2126 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2127 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2128 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2129 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2130 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2131 HAL_LIBS Linker flags for hal, overriding pkg-config
2132 GNUTLS_CFLAGS
2133 C compiler flags for gnutls, overriding pkg-config
2134 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2135 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2136 SANE_LIBS Linker flags for libsane, overriding pkg-config
2137 GPHOTO2_CFLAGS
2138 C compiler flags for libgphoto2, overriding pkg-config
2139 GPHOTO2_LIBS
2140 Linker flags for libgphoto2, overriding pkg-config
2141 GPHOTO2_PORT_CFLAGS
2142 C compiler flags for libgphoto2_port, overriding pkg-config
2143 GPHOTO2_PORT_LIBS
2144 Linker flags for libgphoto2_port, overriding pkg-config
2145 LCMS2_CFLAGS
2146 C compiler flags for lcms2, overriding pkg-config
2147 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2148 FREETYPE_CFLAGS
2149 C compiler flags for freetype2, overriding pkg-config
2150 FREETYPE_LIBS
2151 Linker flags for freetype2, overriding pkg-config
2152 GSTREAMER_CFLAGS
2153 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2154 GSTREAMER_LIBS
2155 Linker flags for gstreamer-app-0.10, overriding pkg-config
2156 CAPI20_CFLAGS
2157 C compiler flags for capi20, overriding pkg-config
2158 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2159 FONTCONFIG_CFLAGS
2160 C compiler flags for fontconfig, overriding pkg-config
2161 FONTCONFIG_LIBS
2162 Linker flags for fontconfig, overriding pkg-config
2163 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2164 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2165 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2166 PNG_LIBS Linker flags for libpng, overriding pkg-config
2167 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2168 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2169 MPG123_CFLAGS
2170 C compiler flags for libmpg123, overriding pkg-config
2171 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2173 Use these variables to override the choices made by `configure' or to help
2174 it to find libraries and programs with nonstandard names/locations.
2176 Report bugs to <wine-devel@winehq.org>.
2177 Wine home page: <http://www.winehq.org>.
2178 _ACEOF
2179 ac_status=$?
2182 if test "$ac_init_help" = "recursive"; then
2183 # If there are subdirs, report their specific --help.
2184 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2185 test -d "$ac_dir" ||
2186 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2187 continue
2188 ac_builddir=.
2190 case "$ac_dir" in
2191 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2193 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2194 # A ".." for each directory in $ac_dir_suffix.
2195 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2196 case $ac_top_builddir_sub in
2197 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2198 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2199 esac ;;
2200 esac
2201 ac_abs_top_builddir=$ac_pwd
2202 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2203 # for backward compatibility:
2204 ac_top_builddir=$ac_top_build_prefix
2206 case $srcdir in
2207 .) # We are building in place.
2208 ac_srcdir=.
2209 ac_top_srcdir=$ac_top_builddir_sub
2210 ac_abs_top_srcdir=$ac_pwd ;;
2211 [\\/]* | ?:[\\/]* ) # Absolute name.
2212 ac_srcdir=$srcdir$ac_dir_suffix;
2213 ac_top_srcdir=$srcdir
2214 ac_abs_top_srcdir=$srcdir ;;
2215 *) # Relative name.
2216 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2217 ac_top_srcdir=$ac_top_build_prefix$srcdir
2218 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2219 esac
2220 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2222 cd "$ac_dir" || { ac_status=$?; continue; }
2223 # Check for guested configure.
2224 if test -f "$ac_srcdir/configure.gnu"; then
2225 echo &&
2226 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2227 elif test -f "$ac_srcdir/configure"; then
2228 echo &&
2229 $SHELL "$ac_srcdir/configure" --help=recursive
2230 else
2231 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2232 fi || ac_status=$?
2233 cd "$ac_pwd" || { ac_status=$?; break; }
2234 done
2237 test -n "$ac_init_help" && exit $ac_status
2238 if $ac_init_version; then
2239 cat <<\_ACEOF
2240 Wine configure 1.7.18
2241 generated by GNU Autoconf 2.69
2243 Copyright (C) 2012 Free Software Foundation, Inc.
2244 This configure script is free software; the Free Software Foundation
2245 gives unlimited permission to copy, distribute and modify it.
2246 _ACEOF
2247 exit
2250 ## ------------------------ ##
2251 ## Autoconf initialization. ##
2252 ## ------------------------ ##
2254 # ac_fn_c_try_compile LINENO
2255 # --------------------------
2256 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2257 ac_fn_c_try_compile ()
2259 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2260 rm -f conftest.$ac_objext
2261 if { { ac_try="$ac_compile"
2262 case "(($ac_try" in
2263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2264 *) ac_try_echo=$ac_try;;
2265 esac
2266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2267 $as_echo "$ac_try_echo"; } >&5
2268 (eval "$ac_compile") 2>conftest.err
2269 ac_status=$?
2270 if test -s conftest.err; then
2271 grep -v '^ *+' conftest.err >conftest.er1
2272 cat conftest.er1 >&5
2273 mv -f conftest.er1 conftest.err
2275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2276 test $ac_status = 0; } && {
2277 test -z "$ac_c_werror_flag" ||
2278 test ! -s conftest.err
2279 } && test -s conftest.$ac_objext; then :
2280 ac_retval=0
2281 else
2282 $as_echo "$as_me: failed program was:" >&5
2283 sed 's/^/| /' conftest.$ac_ext >&5
2285 ac_retval=1
2287 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2288 as_fn_set_status $ac_retval
2290 } # ac_fn_c_try_compile
2292 # ac_fn_cxx_try_compile LINENO
2293 # ----------------------------
2294 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2295 ac_fn_cxx_try_compile ()
2297 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2298 rm -f conftest.$ac_objext
2299 if { { ac_try="$ac_compile"
2300 case "(($ac_try" in
2301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2302 *) ac_try_echo=$ac_try;;
2303 esac
2304 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2305 $as_echo "$ac_try_echo"; } >&5
2306 (eval "$ac_compile") 2>conftest.err
2307 ac_status=$?
2308 if test -s conftest.err; then
2309 grep -v '^ *+' conftest.err >conftest.er1
2310 cat conftest.er1 >&5
2311 mv -f conftest.er1 conftest.err
2313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2314 test $ac_status = 0; } && {
2315 test -z "$ac_cxx_werror_flag" ||
2316 test ! -s conftest.err
2317 } && test -s conftest.$ac_objext; then :
2318 ac_retval=0
2319 else
2320 $as_echo "$as_me: failed program was:" >&5
2321 sed 's/^/| /' conftest.$ac_ext >&5
2323 ac_retval=1
2325 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2326 as_fn_set_status $ac_retval
2328 } # ac_fn_cxx_try_compile
2330 # ac_fn_c_try_link LINENO
2331 # -----------------------
2332 # Try to link conftest.$ac_ext, and return whether this succeeded.
2333 ac_fn_c_try_link ()
2335 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2336 rm -f conftest.$ac_objext conftest$ac_exeext
2337 if { { ac_try="$ac_link"
2338 case "(($ac_try" in
2339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2340 *) ac_try_echo=$ac_try;;
2341 esac
2342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2343 $as_echo "$ac_try_echo"; } >&5
2344 (eval "$ac_link") 2>conftest.err
2345 ac_status=$?
2346 if test -s conftest.err; then
2347 grep -v '^ *+' conftest.err >conftest.er1
2348 cat conftest.er1 >&5
2349 mv -f conftest.er1 conftest.err
2351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2352 test $ac_status = 0; } && {
2353 test -z "$ac_c_werror_flag" ||
2354 test ! -s conftest.err
2355 } && test -s conftest$ac_exeext && {
2356 test "$cross_compiling" = yes ||
2357 test -x conftest$ac_exeext
2358 }; then :
2359 ac_retval=0
2360 else
2361 $as_echo "$as_me: failed program was:" >&5
2362 sed 's/^/| /' conftest.$ac_ext >&5
2364 ac_retval=1
2366 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2367 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2368 # interfere with the next link command; also delete a directory that is
2369 # left behind by Apple's compiler. We do this before executing the actions.
2370 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2371 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2372 as_fn_set_status $ac_retval
2374 } # ac_fn_c_try_link
2376 # ac_fn_c_try_cpp LINENO
2377 # ----------------------
2378 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2379 ac_fn_c_try_cpp ()
2381 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2382 if { { ac_try="$ac_cpp conftest.$ac_ext"
2383 case "(($ac_try" in
2384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2385 *) ac_try_echo=$ac_try;;
2386 esac
2387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2388 $as_echo "$ac_try_echo"; } >&5
2389 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2390 ac_status=$?
2391 if test -s conftest.err; then
2392 grep -v '^ *+' conftest.err >conftest.er1
2393 cat conftest.er1 >&5
2394 mv -f conftest.er1 conftest.err
2396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2397 test $ac_status = 0; } > conftest.i && {
2398 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2399 test ! -s conftest.err
2400 }; then :
2401 ac_retval=0
2402 else
2403 $as_echo "$as_me: failed program was:" >&5
2404 sed 's/^/| /' conftest.$ac_ext >&5
2406 ac_retval=1
2408 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2409 as_fn_set_status $ac_retval
2411 } # ac_fn_c_try_cpp
2413 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2414 # -------------------------------------------------------
2415 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2416 # the include files in INCLUDES and setting the cache variable VAR
2417 # accordingly.
2418 ac_fn_c_check_header_mongrel ()
2420 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2421 if eval \${$3+:} false; then :
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2423 $as_echo_n "checking for $2... " >&6; }
2424 if eval \${$3+:} false; then :
2425 $as_echo_n "(cached) " >&6
2427 eval ac_res=\$$3
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2429 $as_echo "$ac_res" >&6; }
2430 else
2431 # Is the header compilable?
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2433 $as_echo_n "checking $2 usability... " >&6; }
2434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2435 /* end confdefs.h. */
2437 #include <$2>
2438 _ACEOF
2439 if ac_fn_c_try_compile "$LINENO"; then :
2440 ac_header_compiler=yes
2441 else
2442 ac_header_compiler=no
2444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2446 $as_echo "$ac_header_compiler" >&6; }
2448 # Is the header present?
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2450 $as_echo_n "checking $2 presence... " >&6; }
2451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2452 /* end confdefs.h. */
2453 #include <$2>
2454 _ACEOF
2455 if ac_fn_c_try_cpp "$LINENO"; then :
2456 ac_header_preproc=yes
2457 else
2458 ac_header_preproc=no
2460 rm -f conftest.err conftest.i conftest.$ac_ext
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2462 $as_echo "$ac_header_preproc" >&6; }
2464 # So? What about this header?
2465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2466 yes:no: )
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2468 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2470 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2472 no:yes:* )
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2474 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2476 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2478 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2480 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2482 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2483 ( $as_echo "## ------------------------------------ ##
2484 ## Report this to wine-devel@winehq.org ##
2485 ## ------------------------------------ ##"
2486 ) | sed "s/^/$as_me: WARNING: /" >&2
2488 esac
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2490 $as_echo_n "checking for $2... " >&6; }
2491 if eval \${$3+:} false; then :
2492 $as_echo_n "(cached) " >&6
2493 else
2494 eval "$3=\$ac_header_compiler"
2496 eval ac_res=\$$3
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2498 $as_echo "$ac_res" >&6; }
2500 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2502 } # ac_fn_c_check_header_mongrel
2504 # ac_fn_c_try_run LINENO
2505 # ----------------------
2506 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2507 # that executables *can* be run.
2508 ac_fn_c_try_run ()
2510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2511 if { { ac_try="$ac_link"
2512 case "(($ac_try" in
2513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2514 *) ac_try_echo=$ac_try;;
2515 esac
2516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2517 $as_echo "$ac_try_echo"; } >&5
2518 (eval "$ac_link") 2>&5
2519 ac_status=$?
2520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2521 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2522 { { case "(($ac_try" in
2523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2524 *) ac_try_echo=$ac_try;;
2525 esac
2526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2527 $as_echo "$ac_try_echo"; } >&5
2528 (eval "$ac_try") 2>&5
2529 ac_status=$?
2530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2531 test $ac_status = 0; }; }; then :
2532 ac_retval=0
2533 else
2534 $as_echo "$as_me: program exited with status $ac_status" >&5
2535 $as_echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.$ac_ext >&5
2538 ac_retval=$ac_status
2540 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2541 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2542 as_fn_set_status $ac_retval
2544 } # ac_fn_c_try_run
2546 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2547 # -------------------------------------------------------
2548 # Tests whether HEADER exists and can be compiled using the include files in
2549 # INCLUDES, setting the cache variable VAR accordingly.
2550 ac_fn_c_check_header_compile ()
2552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2554 $as_echo_n "checking for $2... " >&6; }
2555 if eval \${$3+:} false; then :
2556 $as_echo_n "(cached) " >&6
2557 else
2558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2559 /* end confdefs.h. */
2561 #include <$2>
2562 _ACEOF
2563 if ac_fn_c_try_compile "$LINENO"; then :
2564 eval "$3=yes"
2565 else
2566 eval "$3=no"
2568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2570 eval ac_res=\$$3
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2572 $as_echo "$ac_res" >&6; }
2573 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2575 } # ac_fn_c_check_header_compile
2577 # ac_fn_c_check_func LINENO FUNC VAR
2578 # ----------------------------------
2579 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2580 ac_fn_c_check_func ()
2582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2584 $as_echo_n "checking for $2... " >&6; }
2585 if eval \${$3+:} false; then :
2586 $as_echo_n "(cached) " >&6
2587 else
2588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2589 /* end confdefs.h. */
2590 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2592 #define $2 innocuous_$2
2594 /* System header to define __stub macros and hopefully few prototypes,
2595 which can conflict with char $2 (); below.
2596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2597 <limits.h> exists even on freestanding compilers. */
2599 #ifdef __STDC__
2600 # include <limits.h>
2601 #else
2602 # include <assert.h>
2603 #endif
2605 #undef $2
2607 /* Override any GCC internal prototype to avoid an error.
2608 Use char because int might match the return type of a GCC
2609 builtin and then its argument prototype would still apply. */
2610 #ifdef __cplusplus
2611 extern "C"
2612 #endif
2613 char $2 ();
2614 /* The GNU C library defines this for functions which it implements
2615 to always fail with ENOSYS. Some functions are actually named
2616 something starting with __ and the normal name is an alias. */
2617 #if defined __stub_$2 || defined __stub___$2
2618 choke me
2619 #endif
2622 main ()
2624 return $2 ();
2626 return 0;
2628 _ACEOF
2629 if ac_fn_c_try_link "$LINENO"; then :
2630 eval "$3=yes"
2631 else
2632 eval "$3=no"
2634 rm -f core conftest.err conftest.$ac_objext \
2635 conftest$ac_exeext conftest.$ac_ext
2637 eval ac_res=\$$3
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2639 $as_echo "$ac_res" >&6; }
2640 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2642 } # ac_fn_c_check_func
2644 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2645 # ----------------------------------------------------
2646 # Tries to find if the field MEMBER exists in type AGGR, after including
2647 # INCLUDES, setting cache variable VAR accordingly.
2648 ac_fn_c_check_member ()
2650 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2652 $as_echo_n "checking for $2.$3... " >&6; }
2653 if eval \${$4+:} false; then :
2654 $as_echo_n "(cached) " >&6
2655 else
2656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2657 /* end confdefs.h. */
2660 main ()
2662 static $2 ac_aggr;
2663 if (ac_aggr.$3)
2664 return 0;
2666 return 0;
2668 _ACEOF
2669 if ac_fn_c_try_compile "$LINENO"; then :
2670 eval "$4=yes"
2671 else
2672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2673 /* end confdefs.h. */
2676 main ()
2678 static $2 ac_aggr;
2679 if (sizeof ac_aggr.$3)
2680 return 0;
2682 return 0;
2684 _ACEOF
2685 if ac_fn_c_try_compile "$LINENO"; then :
2686 eval "$4=yes"
2687 else
2688 eval "$4=no"
2690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2694 eval ac_res=\$$4
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2696 $as_echo "$ac_res" >&6; }
2697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2699 } # ac_fn_c_check_member
2701 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2702 # -------------------------------------------
2703 # Tests whether TYPE exists after having included INCLUDES, setting cache
2704 # variable VAR accordingly.
2705 ac_fn_c_check_type ()
2707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2709 $as_echo_n "checking for $2... " >&6; }
2710 if eval \${$3+:} false; then :
2711 $as_echo_n "(cached) " >&6
2712 else
2713 eval "$3=no"
2714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2715 /* end confdefs.h. */
2718 main ()
2720 if (sizeof ($2))
2721 return 0;
2723 return 0;
2725 _ACEOF
2726 if ac_fn_c_try_compile "$LINENO"; then :
2727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2728 /* end confdefs.h. */
2731 main ()
2733 if (sizeof (($2)))
2734 return 0;
2736 return 0;
2738 _ACEOF
2739 if ac_fn_c_try_compile "$LINENO"; then :
2741 else
2742 eval "$3=yes"
2744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2748 eval ac_res=\$$3
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2750 $as_echo "$ac_res" >&6; }
2751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2753 } # ac_fn_c_check_type
2754 cat >config.log <<_ACEOF
2755 This file contains any messages produced by compilers while
2756 running configure, to aid debugging if configure makes a mistake.
2758 It was created by Wine $as_me 1.7.18, which was
2759 generated by GNU Autoconf 2.69. Invocation command line was
2761 $ $0 $@
2763 _ACEOF
2764 exec 5>>config.log
2766 cat <<_ASUNAME
2767 ## --------- ##
2768 ## Platform. ##
2769 ## --------- ##
2771 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2772 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2773 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2774 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2775 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2777 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2778 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2780 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2781 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2782 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2783 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2784 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2785 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2786 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2788 _ASUNAME
2790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2791 for as_dir in $PATH
2793 IFS=$as_save_IFS
2794 test -z "$as_dir" && as_dir=.
2795 $as_echo "PATH: $as_dir"
2796 done
2797 IFS=$as_save_IFS
2799 } >&5
2801 cat >&5 <<_ACEOF
2804 ## ----------- ##
2805 ## Core tests. ##
2806 ## ----------- ##
2808 _ACEOF
2811 # Keep a trace of the command line.
2812 # Strip out --no-create and --no-recursion so they do not pile up.
2813 # Strip out --silent because we don't want to record it for future runs.
2814 # Also quote any args containing shell meta-characters.
2815 # Make two passes to allow for proper duplicate-argument suppression.
2816 ac_configure_args=
2817 ac_configure_args0=
2818 ac_configure_args1=
2819 ac_must_keep_next=false
2820 for ac_pass in 1 2
2822 for ac_arg
2824 case $ac_arg in
2825 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2826 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2827 | -silent | --silent | --silen | --sile | --sil)
2828 continue ;;
2829 *\'*)
2830 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2831 esac
2832 case $ac_pass in
2833 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2835 as_fn_append ac_configure_args1 " '$ac_arg'"
2836 if test $ac_must_keep_next = true; then
2837 ac_must_keep_next=false # Got value, back to normal.
2838 else
2839 case $ac_arg in
2840 *=* | --config-cache | -C | -disable-* | --disable-* \
2841 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2842 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2843 | -with-* | --with-* | -without-* | --without-* | --x)
2844 case "$ac_configure_args0 " in
2845 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2846 esac
2848 -* ) ac_must_keep_next=true ;;
2849 esac
2851 as_fn_append ac_configure_args " '$ac_arg'"
2853 esac
2854 done
2855 done
2856 { ac_configure_args0=; unset ac_configure_args0;}
2857 { ac_configure_args1=; unset ac_configure_args1;}
2859 # When interrupted or exit'd, cleanup temporary files, and complete
2860 # config.log. We remove comments because anyway the quotes in there
2861 # would cause problems or look ugly.
2862 # WARNING: Use '\'' to represent an apostrophe within the trap.
2863 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2864 trap 'exit_status=$?
2865 # Save into config.log some information that might help in debugging.
2867 echo
2869 $as_echo "## ---------------- ##
2870 ## Cache variables. ##
2871 ## ---------------- ##"
2872 echo
2873 # The following way of writing the cache mishandles newlines in values,
2875 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2876 eval ac_val=\$$ac_var
2877 case $ac_val in #(
2878 *${as_nl}*)
2879 case $ac_var in #(
2880 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2881 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2882 esac
2883 case $ac_var in #(
2884 _ | IFS | as_nl) ;; #(
2885 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2886 *) { eval $ac_var=; unset $ac_var;} ;;
2887 esac ;;
2888 esac
2889 done
2890 (set) 2>&1 |
2891 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2892 *${as_nl}ac_space=\ *)
2893 sed -n \
2894 "s/'\''/'\''\\\\'\'''\''/g;
2895 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2896 ;; #(
2898 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2900 esac |
2901 sort
2903 echo
2905 $as_echo "## ----------------- ##
2906 ## Output variables. ##
2907 ## ----------------- ##"
2908 echo
2909 for ac_var in $ac_subst_vars
2911 eval ac_val=\$$ac_var
2912 case $ac_val in
2913 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2914 esac
2915 $as_echo "$ac_var='\''$ac_val'\''"
2916 done | sort
2917 echo
2919 if test -n "$ac_subst_files"; then
2920 $as_echo "## ------------------- ##
2921 ## File substitutions. ##
2922 ## ------------------- ##"
2923 echo
2924 for ac_var in $ac_subst_files
2926 eval ac_val=\$$ac_var
2927 case $ac_val in
2928 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2929 esac
2930 $as_echo "$ac_var='\''$ac_val'\''"
2931 done | sort
2932 echo
2935 if test -s confdefs.h; then
2936 $as_echo "## ----------- ##
2937 ## confdefs.h. ##
2938 ## ----------- ##"
2939 echo
2940 cat confdefs.h
2941 echo
2943 test "$ac_signal" != 0 &&
2944 $as_echo "$as_me: caught signal $ac_signal"
2945 $as_echo "$as_me: exit $exit_status"
2946 } >&5
2947 rm -f core *.core core.conftest.* &&
2948 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2949 exit $exit_status
2951 for ac_signal in 1 2 13 15; do
2952 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2953 done
2954 ac_signal=0
2956 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2957 rm -f -r conftest* confdefs.h
2959 $as_echo "/* confdefs.h */" > confdefs.h
2961 # Predefined preprocessor variables.
2963 cat >>confdefs.h <<_ACEOF
2964 #define PACKAGE_NAME "$PACKAGE_NAME"
2965 _ACEOF
2967 cat >>confdefs.h <<_ACEOF
2968 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2969 _ACEOF
2971 cat >>confdefs.h <<_ACEOF
2972 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2973 _ACEOF
2975 cat >>confdefs.h <<_ACEOF
2976 #define PACKAGE_STRING "$PACKAGE_STRING"
2977 _ACEOF
2979 cat >>confdefs.h <<_ACEOF
2980 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2981 _ACEOF
2983 cat >>confdefs.h <<_ACEOF
2984 #define PACKAGE_URL "$PACKAGE_URL"
2985 _ACEOF
2988 # Let the site file select an alternate cache file if it wants to.
2989 # Prefer an explicitly selected file to automatically selected ones.
2990 ac_site_file1=NONE
2991 ac_site_file2=NONE
2992 if test -n "$CONFIG_SITE"; then
2993 # We do not want a PATH search for config.site.
2994 case $CONFIG_SITE in #((
2995 -*) ac_site_file1=./$CONFIG_SITE;;
2996 */*) ac_site_file1=$CONFIG_SITE;;
2997 *) ac_site_file1=./$CONFIG_SITE;;
2998 esac
2999 elif test "x$prefix" != xNONE; then
3000 ac_site_file1=$prefix/share/config.site
3001 ac_site_file2=$prefix/etc/config.site
3002 else
3003 ac_site_file1=$ac_default_prefix/share/config.site
3004 ac_site_file2=$ac_default_prefix/etc/config.site
3006 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3008 test "x$ac_site_file" = xNONE && continue
3009 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3011 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3012 sed 's/^/| /' "$ac_site_file" >&5
3013 . "$ac_site_file" \
3014 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3016 as_fn_error $? "failed to load site script $ac_site_file
3017 See \`config.log' for more details" "$LINENO" 5; }
3019 done
3021 if test -r "$cache_file"; then
3022 # Some versions of bash will fail to source /dev/null (special files
3023 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3024 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3026 $as_echo "$as_me: loading cache $cache_file" >&6;}
3027 case $cache_file in
3028 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3029 *) . "./$cache_file";;
3030 esac
3032 else
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3034 $as_echo "$as_me: creating cache $cache_file" >&6;}
3035 >$cache_file
3038 # Check that the precious variables saved in the cache have kept the same
3039 # value.
3040 ac_cache_corrupted=false
3041 for ac_var in $ac_precious_vars; do
3042 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3043 eval ac_new_set=\$ac_env_${ac_var}_set
3044 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3045 eval ac_new_val=\$ac_env_${ac_var}_value
3046 case $ac_old_set,$ac_new_set in
3047 set,)
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3049 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3050 ac_cache_corrupted=: ;;
3051 ,set)
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3053 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3054 ac_cache_corrupted=: ;;
3055 ,);;
3057 if test "x$ac_old_val" != "x$ac_new_val"; then
3058 # differences in whitespace do not lead to failure.
3059 ac_old_val_w=`echo x $ac_old_val`
3060 ac_new_val_w=`echo x $ac_new_val`
3061 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3063 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3064 ac_cache_corrupted=:
3065 else
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3067 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3068 eval $ac_var=\$ac_old_val
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3071 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3073 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3074 fi;;
3075 esac
3076 # Pass precious variables to config.status.
3077 if test "$ac_new_set" = set; then
3078 case $ac_new_val in
3079 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3080 *) ac_arg=$ac_var=$ac_new_val ;;
3081 esac
3082 case " $ac_configure_args " in
3083 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3084 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3085 esac
3087 done
3088 if $ac_cache_corrupted; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3092 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3093 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3095 ## -------------------- ##
3096 ## Main body of script. ##
3097 ## -------------------- ##
3099 ac_ext=c
3100 ac_cpp='$CPP $CPPFLAGS'
3101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3107 ac_config_headers="$ac_config_headers include/config.h"
3109 ac_aux_dir=
3110 for ac_dir in tools "$srcdir"/tools; do
3111 if test -f "$ac_dir/install-sh"; then
3112 ac_aux_dir=$ac_dir
3113 ac_install_sh="$ac_aux_dir/install-sh -c"
3114 break
3115 elif test -f "$ac_dir/install.sh"; then
3116 ac_aux_dir=$ac_dir
3117 ac_install_sh="$ac_aux_dir/install.sh -c"
3118 break
3119 elif test -f "$ac_dir/shtool"; then
3120 ac_aux_dir=$ac_dir
3121 ac_install_sh="$ac_aux_dir/shtool install -c"
3122 break
3124 done
3125 if test -z "$ac_aux_dir"; then
3126 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3129 # These three variables are undocumented and unsupported,
3130 # and are intended to be withdrawn in a future Autoconf release.
3131 # They can cause serious problems if a builder's source tree is in a directory
3132 # whose full name contains unusual characters.
3133 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3134 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3135 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3139 libwine_version="1.0"
3143 # Check whether --enable-win16 was given.
3144 if test "${enable_win16+set}" = set; then :
3145 enableval=$enable_win16;
3148 # Check whether --enable-win64 was given.
3149 if test "${enable_win64+set}" = set; then :
3150 enableval=$enable_win64;
3153 # Check whether --enable-tests was given.
3154 if test "${enable_tests+set}" = set; then :
3155 enableval=$enable_tests;
3158 # Check whether --enable-maintainer-mode was given.
3159 if test "${enable_maintainer_mode+set}" = set; then :
3160 enableval=$enable_maintainer_mode;
3165 # Check whether --with-alsa was given.
3166 if test "${with_alsa+set}" = set; then :
3167 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3171 # Check whether --with-capi was given.
3172 if test "${with_capi+set}" = set; then :
3173 withval=$with_capi;
3177 # Check whether --with-cms was given.
3178 if test "${with_cms+set}" = set; then :
3179 withval=$with_cms;
3183 # Check whether --with-coreaudio was given.
3184 if test "${with_coreaudio+set}" = set; then :
3185 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3189 # Check whether --with-cups was given.
3190 if test "${with_cups+set}" = set; then :
3191 withval=$with_cups;
3195 # Check whether --with-curses was given.
3196 if test "${with_curses+set}" = set; then :
3197 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3201 # Check whether --with-dbus was given.
3202 if test "${with_dbus+set}" = set; then :
3203 withval=$with_dbus;
3207 # Check whether --with-fontconfig was given.
3208 if test "${with_fontconfig+set}" = set; then :
3209 withval=$with_fontconfig;
3213 # Check whether --with-freetype was given.
3214 if test "${with_freetype+set}" = set; then :
3215 withval=$with_freetype;
3219 # Check whether --with-gettext was given.
3220 if test "${with_gettext+set}" = set; then :
3221 withval=$with_gettext;
3225 # Check whether --with-gettextpo was given.
3226 if test "${with_gettextpo+set}" = set; then :
3227 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3231 # Check whether --with-gphoto was given.
3232 if test "${with_gphoto+set}" = set; then :
3233 withval=$with_gphoto;
3237 # Check whether --with-glu was given.
3238 if test "${with_glu+set}" = set; then :
3239 withval=$with_glu;
3243 # Check whether --with-gnutls was given.
3244 if test "${with_gnutls+set}" = set; then :
3245 withval=$with_gnutls;
3249 # Check whether --with-gsm was given.
3250 if test "${with_gsm+set}" = set; then :
3251 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3255 # Check whether --with-gstreamer was given.
3256 if test "${with_gstreamer+set}" = set; then :
3257 withval=$with_gstreamer;
3261 # Check whether --with-hal was given.
3262 if test "${with_hal+set}" = set; then :
3263 withval=$with_hal;
3267 # Check whether --with-jpeg was given.
3268 if test "${with_jpeg+set}" = set; then :
3269 withval=$with_jpeg;
3273 # Check whether --with-ldap was given.
3274 if test "${with_ldap+set}" = set; then :
3275 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3279 # Check whether --with-mpg123 was given.
3280 if test "${with_mpg123+set}" = set; then :
3281 withval=$with_mpg123;
3285 # Check whether --with-netapi was given.
3286 if test "${with_netapi+set}" = set; then :
3287 withval=$with_netapi;
3291 # Check whether --with-openal was given.
3292 if test "${with_openal+set}" = set; then :
3293 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3297 # Check whether --with-opencl was given.
3298 if test "${with_opencl+set}" = set; then :
3299 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3303 # Check whether --with-opengl was given.
3304 if test "${with_opengl+set}" = set; then :
3305 withval=$with_opengl;
3309 # Check whether --with-osmesa was given.
3310 if test "${with_osmesa+set}" = set; then :
3311 withval=$with_osmesa;
3315 # Check whether --with-oss was given.
3316 if test "${with_oss+set}" = set; then :
3317 withval=$with_oss;
3321 # Check whether --with-png was given.
3322 if test "${with_png+set}" = set; then :
3323 withval=$with_png;
3327 # Check whether --with-pthread was given.
3328 if test "${with_pthread+set}" = set; then :
3329 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3333 # Check whether --with-sane was given.
3334 if test "${with_sane+set}" = set; then :
3335 withval=$with_sane;
3339 # Check whether --with-tiff was given.
3340 if test "${with_tiff+set}" = set; then :
3341 withval=$with_tiff;
3345 # Check whether --with-v4l was given.
3346 if test "${with_v4l+set}" = set; then :
3347 withval=$with_v4l;
3351 # Check whether --with-xcomposite was given.
3352 if test "${with_xcomposite+set}" = set; then :
3353 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3357 # Check whether --with-xcursor was given.
3358 if test "${with_xcursor+set}" = set; then :
3359 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3363 # Check whether --with-xinerama was given.
3364 if test "${with_xinerama+set}" = set; then :
3365 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3369 # Check whether --with-xinput was given.
3370 if test "${with_xinput+set}" = set; then :
3371 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3375 # Check whether --with-xinput2 was given.
3376 if test "${with_xinput2+set}" = set; then :
3377 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3381 # Check whether --with-xml was given.
3382 if test "${with_xml+set}" = set; then :
3383 withval=$with_xml;
3387 # Check whether --with-xrandr was given.
3388 if test "${with_xrandr+set}" = set; then :
3389 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3393 # Check whether --with-xrender was given.
3394 if test "${with_xrender+set}" = set; then :
3395 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3399 # Check whether --with-xshape was given.
3400 if test "${with_xshape+set}" = set; then :
3401 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3405 # Check whether --with-xshm was given.
3406 if test "${with_xshm+set}" = set; then :
3407 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3411 # Check whether --with-xslt was given.
3412 if test "${with_xslt+set}" = set; then :
3413 withval=$with_xslt;
3417 # Check whether --with-xxf86vm was given.
3418 if test "${with_xxf86vm+set}" = set; then :
3419 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
3423 # Check whether --with-zlib was given.
3424 if test "${with_zlib+set}" = set; then :
3425 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3430 # Check whether --with-wine-tools was given.
3431 if test "${with_wine_tools+set}" = set; then :
3432 withval=$with_wine_tools;
3436 # Check whether --with-wine64 was given.
3437 if test "${with_wine64+set}" = set; then :
3438 withval=$with_wine64;
3442 # Make sure we can run config.sub.
3443 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3444 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3447 $as_echo_n "checking build system type... " >&6; }
3448 if ${ac_cv_build+:} false; then :
3449 $as_echo_n "(cached) " >&6
3450 else
3451 ac_build_alias=$build_alias
3452 test "x$ac_build_alias" = x &&
3453 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3454 test "x$ac_build_alias" = x &&
3455 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3456 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3457 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3461 $as_echo "$ac_cv_build" >&6; }
3462 case $ac_cv_build in
3463 *-*-*) ;;
3464 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3465 esac
3466 build=$ac_cv_build
3467 ac_save_IFS=$IFS; IFS='-'
3468 set x $ac_cv_build
3469 shift
3470 build_cpu=$1
3471 build_vendor=$2
3472 shift; shift
3473 # Remember, the first character of IFS is used to create $*,
3474 # except with old shells:
3475 build_os=$*
3476 IFS=$ac_save_IFS
3477 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3481 $as_echo_n "checking host system type... " >&6; }
3482 if ${ac_cv_host+:} false; then :
3483 $as_echo_n "(cached) " >&6
3484 else
3485 if test "x$host_alias" = x; then
3486 ac_cv_host=$ac_cv_build
3487 else
3488 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3489 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3494 $as_echo "$ac_cv_host" >&6; }
3495 case $ac_cv_host in
3496 *-*-*) ;;
3497 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3498 esac
3499 host=$ac_cv_host
3500 ac_save_IFS=$IFS; IFS='-'
3501 set x $ac_cv_host
3502 shift
3503 host_cpu=$1
3504 host_vendor=$2
3505 shift; shift
3506 # Remember, the first character of IFS is used to create $*,
3507 # except with old shells:
3508 host_os=$*
3509 IFS=$ac_save_IFS
3510 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3514 case "$srcdir" in
3515 .) ;;
3516 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3517 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3518 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3519 fi ;;
3520 esac
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3524 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3525 set x ${MAKE-make}
3526 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3527 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3528 $as_echo_n "(cached) " >&6
3529 else
3530 cat >conftest.make <<\_ACEOF
3531 SHELL = /bin/sh
3532 all:
3533 @echo '@@@%%%=$(MAKE)=@@@%%%'
3534 _ACEOF
3535 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3536 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3537 *@@@%%%=?*=@@@%%%*)
3538 eval ac_cv_prog_make_${ac_make}_set=yes;;
3540 eval ac_cv_prog_make_${ac_make}_set=no;;
3541 esac
3542 rm -f conftest.make
3544 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3546 $as_echo "yes" >&6; }
3547 SET_MAKE=
3548 else
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3550 $as_echo "no" >&6; }
3551 SET_MAKE="MAKE=${MAKE-make}"
3554 ac_ext=c
3555 ac_cpp='$CPP $CPPFLAGS'
3556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3559 if test -n "$ac_tool_prefix"; then
3560 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3561 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3563 $as_echo_n "checking for $ac_word... " >&6; }
3564 if ${ac_cv_prog_CC+:} false; then :
3565 $as_echo_n "(cached) " >&6
3566 else
3567 if test -n "$CC"; then
3568 ac_cv_prog_CC="$CC" # Let the user override the test.
3569 else
3570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3571 for as_dir in $PATH
3573 IFS=$as_save_IFS
3574 test -z "$as_dir" && as_dir=.
3575 for ac_exec_ext in '' $ac_executable_extensions; do
3576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3577 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3579 break 2
3581 done
3582 done
3583 IFS=$as_save_IFS
3587 CC=$ac_cv_prog_CC
3588 if test -n "$CC"; then
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3590 $as_echo "$CC" >&6; }
3591 else
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3593 $as_echo "no" >&6; }
3598 if test -z "$ac_cv_prog_CC"; then
3599 ac_ct_CC=$CC
3600 # Extract the first word of "gcc", so it can be a program name with args.
3601 set dummy gcc; ac_word=$2
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3603 $as_echo_n "checking for $ac_word... " >&6; }
3604 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3605 $as_echo_n "(cached) " >&6
3606 else
3607 if test -n "$ac_ct_CC"; then
3608 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3609 else
3610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3611 for as_dir in $PATH
3613 IFS=$as_save_IFS
3614 test -z "$as_dir" && as_dir=.
3615 for ac_exec_ext in '' $ac_executable_extensions; do
3616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3617 ac_cv_prog_ac_ct_CC="gcc"
3618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3619 break 2
3621 done
3622 done
3623 IFS=$as_save_IFS
3627 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3628 if test -n "$ac_ct_CC"; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3630 $as_echo "$ac_ct_CC" >&6; }
3631 else
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3633 $as_echo "no" >&6; }
3636 if test "x$ac_ct_CC" = x; then
3637 CC=""
3638 else
3639 case $cross_compiling:$ac_tool_warned in
3640 yes:)
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3643 ac_tool_warned=yes ;;
3644 esac
3645 CC=$ac_ct_CC
3647 else
3648 CC="$ac_cv_prog_CC"
3651 if test -z "$CC"; then
3652 if test -n "$ac_tool_prefix"; then
3653 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3654 set dummy ${ac_tool_prefix}cc; ac_word=$2
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3656 $as_echo_n "checking for $ac_word... " >&6; }
3657 if ${ac_cv_prog_CC+:} false; then :
3658 $as_echo_n "(cached) " >&6
3659 else
3660 if test -n "$CC"; then
3661 ac_cv_prog_CC="$CC" # Let the user override the test.
3662 else
3663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3664 for as_dir in $PATH
3666 IFS=$as_save_IFS
3667 test -z "$as_dir" && as_dir=.
3668 for ac_exec_ext in '' $ac_executable_extensions; do
3669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3670 ac_cv_prog_CC="${ac_tool_prefix}cc"
3671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3672 break 2
3674 done
3675 done
3676 IFS=$as_save_IFS
3680 CC=$ac_cv_prog_CC
3681 if test -n "$CC"; then
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3683 $as_echo "$CC" >&6; }
3684 else
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3686 $as_echo "no" >&6; }
3692 if test -z "$CC"; then
3693 # Extract the first word of "cc", so it can be a program name with args.
3694 set dummy cc; ac_word=$2
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3696 $as_echo_n "checking for $ac_word... " >&6; }
3697 if ${ac_cv_prog_CC+:} false; then :
3698 $as_echo_n "(cached) " >&6
3699 else
3700 if test -n "$CC"; then
3701 ac_cv_prog_CC="$CC" # Let the user override the test.
3702 else
3703 ac_prog_rejected=no
3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3705 for as_dir in $PATH
3707 IFS=$as_save_IFS
3708 test -z "$as_dir" && as_dir=.
3709 for ac_exec_ext in '' $ac_executable_extensions; do
3710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3711 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3712 ac_prog_rejected=yes
3713 continue
3715 ac_cv_prog_CC="cc"
3716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3717 break 2
3719 done
3720 done
3721 IFS=$as_save_IFS
3723 if test $ac_prog_rejected = yes; then
3724 # We found a bogon in the path, so make sure we never use it.
3725 set dummy $ac_cv_prog_CC
3726 shift
3727 if test $# != 0; then
3728 # We chose a different compiler from the bogus one.
3729 # However, it has the same basename, so the bogon will be chosen
3730 # first if we set CC to just the basename; use the full file name.
3731 shift
3732 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3737 CC=$ac_cv_prog_CC
3738 if test -n "$CC"; then
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3740 $as_echo "$CC" >&6; }
3741 else
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743 $as_echo "no" >&6; }
3748 if test -z "$CC"; then
3749 if test -n "$ac_tool_prefix"; then
3750 for ac_prog in cl.exe
3752 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3753 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3755 $as_echo_n "checking for $ac_word... " >&6; }
3756 if ${ac_cv_prog_CC+:} false; then :
3757 $as_echo_n "(cached) " >&6
3758 else
3759 if test -n "$CC"; then
3760 ac_cv_prog_CC="$CC" # Let the user override the test.
3761 else
3762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3763 for as_dir in $PATH
3765 IFS=$as_save_IFS
3766 test -z "$as_dir" && as_dir=.
3767 for ac_exec_ext in '' $ac_executable_extensions; do
3768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3769 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3771 break 2
3773 done
3774 done
3775 IFS=$as_save_IFS
3779 CC=$ac_cv_prog_CC
3780 if test -n "$CC"; then
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3782 $as_echo "$CC" >&6; }
3783 else
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3785 $as_echo "no" >&6; }
3789 test -n "$CC" && break
3790 done
3792 if test -z "$CC"; then
3793 ac_ct_CC=$CC
3794 for ac_prog in cl.exe
3796 # Extract the first word of "$ac_prog", so it can be a program name with args.
3797 set dummy $ac_prog; ac_word=$2
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3801 $as_echo_n "(cached) " >&6
3802 else
3803 if test -n "$ac_ct_CC"; then
3804 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3805 else
3806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3807 for as_dir in $PATH
3809 IFS=$as_save_IFS
3810 test -z "$as_dir" && as_dir=.
3811 for ac_exec_ext in '' $ac_executable_extensions; do
3812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3813 ac_cv_prog_ac_ct_CC="$ac_prog"
3814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3815 break 2
3817 done
3818 done
3819 IFS=$as_save_IFS
3823 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3824 if test -n "$ac_ct_CC"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3826 $as_echo "$ac_ct_CC" >&6; }
3827 else
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829 $as_echo "no" >&6; }
3833 test -n "$ac_ct_CC" && break
3834 done
3836 if test "x$ac_ct_CC" = x; then
3837 CC=""
3838 else
3839 case $cross_compiling:$ac_tool_warned in
3840 yes:)
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3843 ac_tool_warned=yes ;;
3844 esac
3845 CC=$ac_ct_CC
3852 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3854 as_fn_error $? "no acceptable C compiler found in \$PATH
3855 See \`config.log' for more details" "$LINENO" 5; }
3857 # Provide some information about the compiler.
3858 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3859 set X $ac_compile
3860 ac_compiler=$2
3861 for ac_option in --version -v -V -qversion; do
3862 { { ac_try="$ac_compiler $ac_option >&5"
3863 case "(($ac_try" in
3864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3865 *) ac_try_echo=$ac_try;;
3866 esac
3867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3868 $as_echo "$ac_try_echo"; } >&5
3869 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3870 ac_status=$?
3871 if test -s conftest.err; then
3872 sed '10a\
3873 ... rest of stderr output deleted ...
3874 10q' conftest.err >conftest.er1
3875 cat conftest.er1 >&5
3877 rm -f conftest.er1 conftest.err
3878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3879 test $ac_status = 0; }
3880 done
3882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3886 main ()
3890 return 0;
3892 _ACEOF
3893 ac_clean_files_save=$ac_clean_files
3894 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3895 # Try to create an executable without -o first, disregard a.out.
3896 # It will help us diagnose broken compilers, and finding out an intuition
3897 # of exeext.
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3899 $as_echo_n "checking whether the C compiler works... " >&6; }
3900 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3902 # The possible output files:
3903 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3905 ac_rmfiles=
3906 for ac_file in $ac_files
3908 case $ac_file in
3909 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3910 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3911 esac
3912 done
3913 rm -f $ac_rmfiles
3915 if { { ac_try="$ac_link_default"
3916 case "(($ac_try" in
3917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3918 *) ac_try_echo=$ac_try;;
3919 esac
3920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3921 $as_echo "$ac_try_echo"; } >&5
3922 (eval "$ac_link_default") 2>&5
3923 ac_status=$?
3924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3925 test $ac_status = 0; }; then :
3926 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3927 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3928 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3929 # so that the user can short-circuit this test for compilers unknown to
3930 # Autoconf.
3931 for ac_file in $ac_files ''
3933 test -f "$ac_file" || continue
3934 case $ac_file in
3935 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3937 [ab].out )
3938 # We found the default executable, but exeext='' is most
3939 # certainly right.
3940 break;;
3941 *.* )
3942 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3943 then :; else
3944 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3946 # We set ac_cv_exeext here because the later test for it is not
3947 # safe: cross compilers may not add the suffix if given an `-o'
3948 # argument, so we may need to know it at that point already.
3949 # Even if this section looks crufty: it has the advantage of
3950 # actually working.
3951 break;;
3953 break;;
3954 esac
3955 done
3956 test "$ac_cv_exeext" = no && ac_cv_exeext=
3958 else
3959 ac_file=''
3961 if test -z "$ac_file"; then :
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3963 $as_echo "no" >&6; }
3964 $as_echo "$as_me: failed program was:" >&5
3965 sed 's/^/| /' conftest.$ac_ext >&5
3967 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3969 as_fn_error 77 "C compiler cannot create executables
3970 See \`config.log' for more details" "$LINENO" 5; }
3971 else
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3973 $as_echo "yes" >&6; }
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3976 $as_echo_n "checking for C compiler default output file name... " >&6; }
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3978 $as_echo "$ac_file" >&6; }
3979 ac_exeext=$ac_cv_exeext
3981 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3982 ac_clean_files=$ac_clean_files_save
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3984 $as_echo_n "checking for suffix of executables... " >&6; }
3985 if { { ac_try="$ac_link"
3986 case "(($ac_try" in
3987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3988 *) ac_try_echo=$ac_try;;
3989 esac
3990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3991 $as_echo "$ac_try_echo"; } >&5
3992 (eval "$ac_link") 2>&5
3993 ac_status=$?
3994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3995 test $ac_status = 0; }; then :
3996 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3997 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3998 # work properly (i.e., refer to `conftest.exe'), while it won't with
3999 # `rm'.
4000 for ac_file in conftest.exe conftest conftest.*; do
4001 test -f "$ac_file" || continue
4002 case $ac_file in
4003 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4004 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4005 break;;
4006 * ) break;;
4007 esac
4008 done
4009 else
4010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4012 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4013 See \`config.log' for more details" "$LINENO" 5; }
4015 rm -f conftest conftest$ac_cv_exeext
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4017 $as_echo "$ac_cv_exeext" >&6; }
4019 rm -f conftest.$ac_ext
4020 EXEEXT=$ac_cv_exeext
4021 ac_exeext=$EXEEXT
4022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4023 /* end confdefs.h. */
4024 #include <stdio.h>
4026 main ()
4028 FILE *f = fopen ("conftest.out", "w");
4029 return ferror (f) || fclose (f) != 0;
4032 return 0;
4034 _ACEOF
4035 ac_clean_files="$ac_clean_files conftest.out"
4036 # Check that the compiler produces executables we can run. If not, either
4037 # the compiler is broken, or we cross compile.
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4039 $as_echo_n "checking whether we are cross compiling... " >&6; }
4040 if test "$cross_compiling" != yes; then
4041 { { ac_try="$ac_link"
4042 case "(($ac_try" in
4043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4044 *) ac_try_echo=$ac_try;;
4045 esac
4046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4047 $as_echo "$ac_try_echo"; } >&5
4048 (eval "$ac_link") 2>&5
4049 ac_status=$?
4050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4051 test $ac_status = 0; }
4052 if { ac_try='./conftest$ac_cv_exeext'
4053 { { case "(($ac_try" in
4054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4055 *) ac_try_echo=$ac_try;;
4056 esac
4057 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4058 $as_echo "$ac_try_echo"; } >&5
4059 (eval "$ac_try") 2>&5
4060 ac_status=$?
4061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4062 test $ac_status = 0; }; }; then
4063 cross_compiling=no
4064 else
4065 if test "$cross_compiling" = maybe; then
4066 cross_compiling=yes
4067 else
4068 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4070 as_fn_error $? "cannot run C compiled programs.
4071 If you meant to cross compile, use \`--host'.
4072 See \`config.log' for more details" "$LINENO" 5; }
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4077 $as_echo "$cross_compiling" >&6; }
4079 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4080 ac_clean_files=$ac_clean_files_save
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4082 $as_echo_n "checking for suffix of object files... " >&6; }
4083 if ${ac_cv_objext+:} false; then :
4084 $as_echo_n "(cached) " >&6
4085 else
4086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4087 /* end confdefs.h. */
4090 main ()
4094 return 0;
4096 _ACEOF
4097 rm -f conftest.o conftest.obj
4098 if { { ac_try="$ac_compile"
4099 case "(($ac_try" in
4100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4101 *) ac_try_echo=$ac_try;;
4102 esac
4103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4104 $as_echo "$ac_try_echo"; } >&5
4105 (eval "$ac_compile") 2>&5
4106 ac_status=$?
4107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4108 test $ac_status = 0; }; then :
4109 for ac_file in conftest.o conftest.obj conftest.*; do
4110 test -f "$ac_file" || continue;
4111 case $ac_file in
4112 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4113 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4114 break;;
4115 esac
4116 done
4117 else
4118 $as_echo "$as_me: failed program was:" >&5
4119 sed 's/^/| /' conftest.$ac_ext >&5
4121 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4123 as_fn_error $? "cannot compute suffix of object files: cannot compile
4124 See \`config.log' for more details" "$LINENO" 5; }
4126 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4129 $as_echo "$ac_cv_objext" >&6; }
4130 OBJEXT=$ac_cv_objext
4131 ac_objext=$OBJEXT
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4133 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4134 if ${ac_cv_c_compiler_gnu+:} false; then :
4135 $as_echo_n "(cached) " >&6
4136 else
4137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4141 main ()
4143 #ifndef __GNUC__
4144 choke me
4145 #endif
4148 return 0;
4150 _ACEOF
4151 if ac_fn_c_try_compile "$LINENO"; then :
4152 ac_compiler_gnu=yes
4153 else
4154 ac_compiler_gnu=no
4156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4157 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4161 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4162 if test $ac_compiler_gnu = yes; then
4163 GCC=yes
4164 else
4165 GCC=
4167 ac_test_CFLAGS=${CFLAGS+set}
4168 ac_save_CFLAGS=$CFLAGS
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4170 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4171 if ${ac_cv_prog_cc_g+:} false; then :
4172 $as_echo_n "(cached) " >&6
4173 else
4174 ac_save_c_werror_flag=$ac_c_werror_flag
4175 ac_c_werror_flag=yes
4176 ac_cv_prog_cc_g=no
4177 CFLAGS="-g"
4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h. */
4182 main ()
4186 return 0;
4188 _ACEOF
4189 if ac_fn_c_try_compile "$LINENO"; then :
4190 ac_cv_prog_cc_g=yes
4191 else
4192 CFLAGS=""
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4197 main ()
4201 return 0;
4203 _ACEOF
4204 if ac_fn_c_try_compile "$LINENO"; then :
4206 else
4207 ac_c_werror_flag=$ac_save_c_werror_flag
4208 CFLAGS="-g"
4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h. */
4213 main ()
4217 return 0;
4219 _ACEOF
4220 if ac_fn_c_try_compile "$LINENO"; then :
4221 ac_cv_prog_cc_g=yes
4223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 ac_c_werror_flag=$ac_save_c_werror_flag
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4231 $as_echo "$ac_cv_prog_cc_g" >&6; }
4232 if test "$ac_test_CFLAGS" = set; then
4233 CFLAGS=$ac_save_CFLAGS
4234 elif test $ac_cv_prog_cc_g = yes; then
4235 if test "$GCC" = yes; then
4236 CFLAGS="-g -O2"
4237 else
4238 CFLAGS="-g"
4240 else
4241 if test "$GCC" = yes; then
4242 CFLAGS="-O2"
4243 else
4244 CFLAGS=
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4248 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4249 if ${ac_cv_prog_cc_c89+:} false; then :
4250 $as_echo_n "(cached) " >&6
4251 else
4252 ac_cv_prog_cc_c89=no
4253 ac_save_CC=$CC
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h. */
4256 #include <stdarg.h>
4257 #include <stdio.h>
4258 struct stat;
4259 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4260 struct buf { int x; };
4261 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4262 static char *e (p, i)
4263 char **p;
4264 int i;
4266 return p[i];
4268 static char *f (char * (*g) (char **, int), char **p, ...)
4270 char *s;
4271 va_list v;
4272 va_start (v,p);
4273 s = g (p, va_arg (v,int));
4274 va_end (v);
4275 return s;
4278 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4279 function prototypes and stuff, but not '\xHH' hex character constants.
4280 These don't provoke an error unfortunately, instead are silently treated
4281 as 'x'. The following induces an error, until -std is added to get
4282 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4283 array size at least. It's necessary to write '\x00'==0 to get something
4284 that's true only with -std. */
4285 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4287 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4288 inside strings and character constants. */
4289 #define FOO(x) 'x'
4290 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4292 int test (int i, double x);
4293 struct s1 {int (*f) (int a);};
4294 struct s2 {int (*f) (double a);};
4295 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4296 int argc;
4297 char **argv;
4299 main ()
4301 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4303 return 0;
4305 _ACEOF
4306 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4307 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4309 CC="$ac_save_CC $ac_arg"
4310 if ac_fn_c_try_compile "$LINENO"; then :
4311 ac_cv_prog_cc_c89=$ac_arg
4313 rm -f core conftest.err conftest.$ac_objext
4314 test "x$ac_cv_prog_cc_c89" != "xno" && break
4315 done
4316 rm -f conftest.$ac_ext
4317 CC=$ac_save_CC
4320 # AC_CACHE_VAL
4321 case "x$ac_cv_prog_cc_c89" in
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4324 $as_echo "none needed" >&6; } ;;
4325 xno)
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4327 $as_echo "unsupported" >&6; } ;;
4329 CC="$CC $ac_cv_prog_cc_c89"
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4331 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4332 esac
4333 if test "x$ac_cv_prog_cc_c89" != xno; then :
4337 ac_ext=c
4338 ac_cpp='$CPP $CPPFLAGS'
4339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4343 ac_ext=cpp
4344 ac_cpp='$CXXCPP $CPPFLAGS'
4345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4348 if test -z "$CXX"; then
4349 if test -n "$CCC"; then
4350 CXX=$CCC
4351 else
4352 if test -n "$ac_tool_prefix"; then
4353 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4355 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4356 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4358 $as_echo_n "checking for $ac_word... " >&6; }
4359 if ${ac_cv_prog_CXX+:} false; then :
4360 $as_echo_n "(cached) " >&6
4361 else
4362 if test -n "$CXX"; then
4363 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4364 else
4365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4366 for as_dir in $PATH
4368 IFS=$as_save_IFS
4369 test -z "$as_dir" && as_dir=.
4370 for ac_exec_ext in '' $ac_executable_extensions; do
4371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4372 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4374 break 2
4376 done
4377 done
4378 IFS=$as_save_IFS
4382 CXX=$ac_cv_prog_CXX
4383 if test -n "$CXX"; then
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4385 $as_echo "$CXX" >&6; }
4386 else
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4388 $as_echo "no" >&6; }
4392 test -n "$CXX" && break
4393 done
4395 if test -z "$CXX"; then
4396 ac_ct_CXX=$CXX
4397 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4399 # Extract the first word of "$ac_prog", so it can be a program name with args.
4400 set dummy $ac_prog; ac_word=$2
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4402 $as_echo_n "checking for $ac_word... " >&6; }
4403 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4404 $as_echo_n "(cached) " >&6
4405 else
4406 if test -n "$ac_ct_CXX"; then
4407 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4408 else
4409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410 for as_dir in $PATH
4412 IFS=$as_save_IFS
4413 test -z "$as_dir" && as_dir=.
4414 for ac_exec_ext in '' $ac_executable_extensions; do
4415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4416 ac_cv_prog_ac_ct_CXX="$ac_prog"
4417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4418 break 2
4420 done
4421 done
4422 IFS=$as_save_IFS
4426 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4427 if test -n "$ac_ct_CXX"; then
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4429 $as_echo "$ac_ct_CXX" >&6; }
4430 else
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432 $as_echo "no" >&6; }
4436 test -n "$ac_ct_CXX" && break
4437 done
4439 if test "x$ac_ct_CXX" = x; then
4440 CXX="g++"
4441 else
4442 case $cross_compiling:$ac_tool_warned in
4443 yes:)
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4446 ac_tool_warned=yes ;;
4447 esac
4448 CXX=$ac_ct_CXX
4454 # Provide some information about the compiler.
4455 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4456 set X $ac_compile
4457 ac_compiler=$2
4458 for ac_option in --version -v -V -qversion; do
4459 { { ac_try="$ac_compiler $ac_option >&5"
4460 case "(($ac_try" in
4461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4462 *) ac_try_echo=$ac_try;;
4463 esac
4464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4465 $as_echo "$ac_try_echo"; } >&5
4466 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4467 ac_status=$?
4468 if test -s conftest.err; then
4469 sed '10a\
4470 ... rest of stderr output deleted ...
4471 10q' conftest.err >conftest.er1
4472 cat conftest.er1 >&5
4474 rm -f conftest.er1 conftest.err
4475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4476 test $ac_status = 0; }
4477 done
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4480 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4481 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4482 $as_echo_n "(cached) " >&6
4483 else
4484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4485 /* end confdefs.h. */
4488 main ()
4490 #ifndef __GNUC__
4491 choke me
4492 #endif
4495 return 0;
4497 _ACEOF
4498 if ac_fn_cxx_try_compile "$LINENO"; then :
4499 ac_compiler_gnu=yes
4500 else
4501 ac_compiler_gnu=no
4503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4504 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4508 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4509 if test $ac_compiler_gnu = yes; then
4510 GXX=yes
4511 else
4512 GXX=
4514 ac_test_CXXFLAGS=${CXXFLAGS+set}
4515 ac_save_CXXFLAGS=$CXXFLAGS
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4517 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4518 if ${ac_cv_prog_cxx_g+:} false; then :
4519 $as_echo_n "(cached) " >&6
4520 else
4521 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4522 ac_cxx_werror_flag=yes
4523 ac_cv_prog_cxx_g=no
4524 CXXFLAGS="-g"
4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4529 main ()
4533 return 0;
4535 _ACEOF
4536 if ac_fn_cxx_try_compile "$LINENO"; then :
4537 ac_cv_prog_cxx_g=yes
4538 else
4539 CXXFLAGS=""
4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4544 main ()
4548 return 0;
4550 _ACEOF
4551 if ac_fn_cxx_try_compile "$LINENO"; then :
4553 else
4554 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4555 CXXFLAGS="-g"
4556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4557 /* end confdefs.h. */
4560 main ()
4564 return 0;
4566 _ACEOF
4567 if ac_fn_cxx_try_compile "$LINENO"; then :
4568 ac_cv_prog_cxx_g=yes
4570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4575 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4578 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4579 if test "$ac_test_CXXFLAGS" = set; then
4580 CXXFLAGS=$ac_save_CXXFLAGS
4581 elif test $ac_cv_prog_cxx_g = yes; then
4582 if test "$GXX" = yes; then
4583 CXXFLAGS="-g -O2"
4584 else
4585 CXXFLAGS="-g"
4587 else
4588 if test "$GXX" = yes; then
4589 CXXFLAGS="-O2"
4590 else
4591 CXXFLAGS=
4594 ac_ext=c
4595 ac_cpp='$CPP $CPPFLAGS'
4596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4600 if test -n "$ac_tool_prefix"; then
4601 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4602 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4604 $as_echo_n "checking for $ac_word... " >&6; }
4605 if ${ac_cv_prog_CPPBIN+:} false; then :
4606 $as_echo_n "(cached) " >&6
4607 else
4608 if test -n "$CPPBIN"; then
4609 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4610 else
4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612 for as_dir in $PATH
4614 IFS=$as_save_IFS
4615 test -z "$as_dir" && as_dir=.
4616 for ac_exec_ext in '' $ac_executable_extensions; do
4617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4618 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4620 break 2
4622 done
4623 done
4624 IFS=$as_save_IFS
4628 CPPBIN=$ac_cv_prog_CPPBIN
4629 if test -n "$CPPBIN"; then
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4631 $as_echo "$CPPBIN" >&6; }
4632 else
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 $as_echo "no" >&6; }
4639 if test -z "$ac_cv_prog_CPPBIN"; then
4640 ac_ct_CPPBIN=$CPPBIN
4641 # Extract the first word of "cpp", so it can be a program name with args.
4642 set dummy cpp; ac_word=$2
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4644 $as_echo_n "checking for $ac_word... " >&6; }
4645 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4646 $as_echo_n "(cached) " >&6
4647 else
4648 if test -n "$ac_ct_CPPBIN"; then
4649 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4650 else
4651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4652 for as_dir in $PATH
4654 IFS=$as_save_IFS
4655 test -z "$as_dir" && as_dir=.
4656 for ac_exec_ext in '' $ac_executable_extensions; do
4657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4658 ac_cv_prog_ac_ct_CPPBIN="cpp"
4659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4660 break 2
4662 done
4663 done
4664 IFS=$as_save_IFS
4668 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4669 if test -n "$ac_ct_CPPBIN"; then
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4671 $as_echo "$ac_ct_CPPBIN" >&6; }
4672 else
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4674 $as_echo "no" >&6; }
4677 if test "x$ac_ct_CPPBIN" = x; then
4678 CPPBIN="cpp"
4679 else
4680 case $cross_compiling:$ac_tool_warned in
4681 yes:)
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4684 ac_tool_warned=yes ;;
4685 esac
4686 CPPBIN=$ac_ct_CPPBIN
4688 else
4689 CPPBIN="$ac_cv_prog_CPPBIN"
4693 cat >>confdefs.h <<_ACEOF
4694 #define EXEEXT "$ac_exeext"
4695 _ACEOF
4698 case $host in
4699 *-darwin*)
4700 if test "x$enable_win64" = "xyes"
4701 then
4702 CC="$CC -m64"
4703 CXX="$CXX -m64"
4704 host_cpu="x86_64"
4705 notice_platform="64-bit "
4706 TARGETFLAGS="-m64"
4708 else
4709 CC="$CC -m32"
4710 CXX="$CXX -m32"
4711 host_cpu="i386"
4712 notice_platform="32-bit "
4713 TARGETFLAGS="-m32"
4715 enable_win16=${enable_win16:-yes}
4717 with_fontconfig=${with_fontconfig:-no}
4719 x86_64*)
4720 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4721 then
4722 CC="$CC -m32"
4723 CXX="$CXX -m32"
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4725 $as_echo_n "checking whether $CC works... " >&6; }
4727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h. */
4731 main ()
4735 return 0;
4737 _ACEOF
4738 if ac_fn_c_try_link "$LINENO"; then :
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4740 $as_echo "yes" >&6; }
4741 else
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4743 $as_echo "no" >&6; }
4744 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4746 rm -f core conftest.err conftest.$ac_objext \
4747 conftest$ac_exeext conftest.$ac_ext
4748 host_cpu="i386"
4749 notice_platform="32-bit "
4750 TARGETFLAGS="-m32"
4752 enable_win16=${enable_win16:-yes}
4753 else
4754 if test "x${GCC}" = "xyes"
4755 then
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4757 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4759 /* end confdefs.h. */
4760 #include <stdarg.h>
4762 main ()
4764 void func(__builtin_ms_va_list *args);
4766 return 0;
4768 _ACEOF
4769 if ac_fn_c_try_compile "$LINENO"; then :
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4771 $as_echo "yes" >&6; }
4772 else
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4774 $as_echo "no" >&6; }
4775 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4779 TARGETFLAGS="-m64"
4783 arm*)
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4785 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4787 /* end confdefs.h. */
4788 int ac_test(int i) { return i; }
4790 main ()
4792 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4794 return 0;
4796 _ACEOF
4797 if ac_fn_c_try_link "$LINENO"; then :
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4799 $as_echo "yes" >&6; }
4800 else
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 $as_echo "no" >&6; }
4803 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4805 rm -f core conftest.err conftest.$ac_objext \
4806 conftest$ac_exeext conftest.$ac_ext
4807 CFLAGS="$CFLAGS -marm"
4808 TARGETFLAGS="-marm"
4811 *-mingw32*|*-cygwin*)
4812 enable_win16=${enable_win16:-no}
4813 CFLAGS="$CFLAGS -D_WIN32"
4815 i[3456789]86*)
4816 enable_win16=${enable_win16:-yes}
4818 esac
4820 enable_win16=${enable_win16:-no}
4821 enable_win64=${enable_win64:-no}
4823 enable_winetest=${enable_winetest:-$enable_tests}
4825 if test -n "$with_wine64"
4826 then
4827 if test "x$enable_win64" = "xyes"
4828 then
4829 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4830 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4832 enable_fonts=${enable_fonts:-no}
4833 enable_server=${enable_server:-no}
4834 elif test "x$enable_win64" = "xyes"
4835 then
4836 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4840 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4841 if ${wine_cv_toolsdir+:} false; then :
4842 $as_echo_n "(cached) " >&6
4843 else
4844 wine_cv_toolsdir="$with_wine_tools"
4845 if test -z "$with_wine_tools"; then
4846 if test "$cross_compiling" = "yes"; then
4847 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4848 elif test -n "$with_wine64"; then
4849 wine_cv_toolsdir="$with_wine64"
4852 if test -z "$wine_cv_toolsdir"; then
4853 wine_makedep=tools/makedep
4854 wine_cv_toolsdir="\$(top_builddir)"
4855 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4856 wine_makedep=$wine_cv_toolsdir/tools/makedep
4857 case "$wine_cv_toolsdir" in
4858 /*) ;;
4859 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4860 esac
4861 enable_tools=${enable_tools:-no}
4862 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4863 else
4864 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4868 $as_echo "$wine_cv_toolsdir" >&6; }
4869 TOOLSDIR=$wine_cv_toolsdir
4871 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4872 then
4873 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4877 for ac_prog in flex
4879 # Extract the first word of "$ac_prog", so it can be a program name with args.
4880 set dummy $ac_prog; ac_word=$2
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4882 $as_echo_n "checking for $ac_word... " >&6; }
4883 if ${ac_cv_prog_FLEX+:} false; then :
4884 $as_echo_n "(cached) " >&6
4885 else
4886 if test -n "$FLEX"; then
4887 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4888 else
4889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4890 for as_dir in $PATH
4892 IFS=$as_save_IFS
4893 test -z "$as_dir" && as_dir=.
4894 for ac_exec_ext in '' $ac_executable_extensions; do
4895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4896 ac_cv_prog_FLEX="$ac_prog"
4897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4898 break 2
4900 done
4901 done
4902 IFS=$as_save_IFS
4906 FLEX=$ac_cv_prog_FLEX
4907 if test -n "$FLEX"; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4909 $as_echo "$FLEX" >&6; }
4910 else
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 $as_echo "no" >&6; }
4916 test -n "$FLEX" && break
4917 done
4918 test -n "$FLEX" || FLEX="none"
4920 if test "$FLEX" = "none"
4921 then
4922 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4925 $as_echo_n "checking whether flex is recent enough... " >&6; }
4926 cat >conftest.l <<EOF
4927 %top{
4928 #include "prediluvian.h"
4932 if $FLEX -t conftest.l >/dev/null 2>&5
4933 then
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4935 $as_echo "yes" >&6; }
4936 else
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 $as_echo "no" >&6; }
4939 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4942 for ac_prog in bison
4944 # Extract the first word of "$ac_prog", so it can be a program name with args.
4945 set dummy $ac_prog; ac_word=$2
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4947 $as_echo_n "checking for $ac_word... " >&6; }
4948 if ${ac_cv_prog_BISON+:} false; then :
4949 $as_echo_n "(cached) " >&6
4950 else
4951 if test -n "$BISON"; then
4952 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4953 else
4954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4955 for as_dir in $PATH
4957 IFS=$as_save_IFS
4958 test -z "$as_dir" && as_dir=.
4959 for ac_exec_ext in '' $ac_executable_extensions; do
4960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4961 ac_cv_prog_BISON="$ac_prog"
4962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4963 break 2
4965 done
4966 done
4967 IFS=$as_save_IFS
4971 BISON=$ac_cv_prog_BISON
4972 if test -n "$BISON"; then
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4974 $as_echo "$BISON" >&6; }
4975 else
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977 $as_echo "no" >&6; }
4981 test -n "$BISON" && break
4982 done
4983 test -n "$BISON" || BISON="none"
4985 if test "$BISON" = "none"
4986 then
4987 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4990 if test -n "$ac_tool_prefix"; then
4991 for ac_prog in ar gar
4993 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4994 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996 $as_echo_n "checking for $ac_word... " >&6; }
4997 if ${ac_cv_prog_AR+:} false; then :
4998 $as_echo_n "(cached) " >&6
4999 else
5000 if test -n "$AR"; then
5001 ac_cv_prog_AR="$AR" # Let the user override the test.
5002 else
5003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5004 for as_dir in $PATH
5006 IFS=$as_save_IFS
5007 test -z "$as_dir" && as_dir=.
5008 for ac_exec_ext in '' $ac_executable_extensions; do
5009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5010 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 break 2
5014 done
5015 done
5016 IFS=$as_save_IFS
5020 AR=$ac_cv_prog_AR
5021 if test -n "$AR"; then
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5023 $as_echo "$AR" >&6; }
5024 else
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5026 $as_echo "no" >&6; }
5030 test -n "$AR" && break
5031 done
5033 if test -z "$AR"; then
5034 ac_ct_AR=$AR
5035 for ac_prog in ar gar
5037 # Extract the first word of "$ac_prog", so it can be a program name with args.
5038 set dummy $ac_prog; ac_word=$2
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5040 $as_echo_n "checking for $ac_word... " >&6; }
5041 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5042 $as_echo_n "(cached) " >&6
5043 else
5044 if test -n "$ac_ct_AR"; then
5045 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5046 else
5047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5048 for as_dir in $PATH
5050 IFS=$as_save_IFS
5051 test -z "$as_dir" && as_dir=.
5052 for ac_exec_ext in '' $ac_executable_extensions; do
5053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5054 ac_cv_prog_ac_ct_AR="$ac_prog"
5055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5056 break 2
5058 done
5059 done
5060 IFS=$as_save_IFS
5064 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5065 if test -n "$ac_ct_AR"; then
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5067 $as_echo "$ac_ct_AR" >&6; }
5068 else
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 $as_echo "no" >&6; }
5074 test -n "$ac_ct_AR" && break
5075 done
5077 if test "x$ac_ct_AR" = x; then
5078 AR="ar"
5079 else
5080 case $cross_compiling:$ac_tool_warned in
5081 yes:)
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5084 ac_tool_warned=yes ;;
5085 esac
5086 AR=$ac_ct_AR
5090 if test -n "$ac_tool_prefix"; then
5091 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5092 set dummy ${ac_tool_prefix}strip; ac_word=$2
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5094 $as_echo_n "checking for $ac_word... " >&6; }
5095 if ${ac_cv_prog_STRIP+:} false; then :
5096 $as_echo_n "(cached) " >&6
5097 else
5098 if test -n "$STRIP"; then
5099 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5100 else
5101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5102 for as_dir in $PATH
5104 IFS=$as_save_IFS
5105 test -z "$as_dir" && as_dir=.
5106 for ac_exec_ext in '' $ac_executable_extensions; do
5107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5108 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5110 break 2
5112 done
5113 done
5114 IFS=$as_save_IFS
5118 STRIP=$ac_cv_prog_STRIP
5119 if test -n "$STRIP"; then
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5121 $as_echo "$STRIP" >&6; }
5122 else
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124 $as_echo "no" >&6; }
5129 if test -z "$ac_cv_prog_STRIP"; then
5130 ac_ct_STRIP=$STRIP
5131 # Extract the first word of "strip", so it can be a program name with args.
5132 set dummy strip; ac_word=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5136 $as_echo_n "(cached) " >&6
5137 else
5138 if test -n "$ac_ct_STRIP"; then
5139 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5140 else
5141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5142 for as_dir in $PATH
5144 IFS=$as_save_IFS
5145 test -z "$as_dir" && as_dir=.
5146 for ac_exec_ext in '' $ac_executable_extensions; do
5147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5148 ac_cv_prog_ac_ct_STRIP="strip"
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5150 break 2
5152 done
5153 done
5154 IFS=$as_save_IFS
5158 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5159 if test -n "$ac_ct_STRIP"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5161 $as_echo "$ac_ct_STRIP" >&6; }
5162 else
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5167 if test "x$ac_ct_STRIP" = x; then
5168 STRIP="strip"
5169 else
5170 case $cross_compiling:$ac_tool_warned in
5171 yes:)
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5174 ac_tool_warned=yes ;;
5175 esac
5176 STRIP=$ac_ct_STRIP
5178 else
5179 STRIP="$ac_cv_prog_STRIP"
5182 ARFLAGS=rc
5184 if test -n "$ac_tool_prefix"; then
5185 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5186 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5188 $as_echo_n "checking for $ac_word... " >&6; }
5189 if ${ac_cv_prog_RANLIB+:} false; then :
5190 $as_echo_n "(cached) " >&6
5191 else
5192 if test -n "$RANLIB"; then
5193 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5194 else
5195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5196 for as_dir in $PATH
5198 IFS=$as_save_IFS
5199 test -z "$as_dir" && as_dir=.
5200 for ac_exec_ext in '' $ac_executable_extensions; do
5201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5202 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5204 break 2
5206 done
5207 done
5208 IFS=$as_save_IFS
5212 RANLIB=$ac_cv_prog_RANLIB
5213 if test -n "$RANLIB"; then
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5215 $as_echo "$RANLIB" >&6; }
5216 else
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5218 $as_echo "no" >&6; }
5223 if test -z "$ac_cv_prog_RANLIB"; then
5224 ac_ct_RANLIB=$RANLIB
5225 # Extract the first word of "ranlib", so it can be a program name with args.
5226 set dummy ranlib; ac_word=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5230 $as_echo_n "(cached) " >&6
5231 else
5232 if test -n "$ac_ct_RANLIB"; then
5233 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5234 else
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 for as_dir in $PATH
5238 IFS=$as_save_IFS
5239 test -z "$as_dir" && as_dir=.
5240 for ac_exec_ext in '' $ac_executable_extensions; do
5241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5242 ac_cv_prog_ac_ct_RANLIB="ranlib"
5243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5244 break 2
5246 done
5247 done
5248 IFS=$as_save_IFS
5252 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5253 if test -n "$ac_ct_RANLIB"; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5255 $as_echo "$ac_ct_RANLIB" >&6; }
5256 else
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5258 $as_echo "no" >&6; }
5261 if test "x$ac_ct_RANLIB" = x; then
5262 RANLIB=":"
5263 else
5264 case $cross_compiling:$ac_tool_warned in
5265 yes:)
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5268 ac_tool_warned=yes ;;
5269 esac
5270 RANLIB=$ac_ct_RANLIB
5272 else
5273 RANLIB="$ac_cv_prog_RANLIB"
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5277 $as_echo_n "checking whether ln -s works... " >&6; }
5278 LN_S=$as_ln_s
5279 if test "$LN_S" = "ln -s"; then
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5281 $as_echo "yes" >&6; }
5282 else
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5284 $as_echo "no, using $LN_S" >&6; }
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5288 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5289 if ${ac_cv_path_GREP+:} false; then :
5290 $as_echo_n "(cached) " >&6
5291 else
5292 if test -z "$GREP"; then
5293 ac_path_GREP_found=false
5294 # Loop through the user's path and test for each of PROGNAME-LIST
5295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5296 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5298 IFS=$as_save_IFS
5299 test -z "$as_dir" && as_dir=.
5300 for ac_prog in grep ggrep; do
5301 for ac_exec_ext in '' $ac_executable_extensions; do
5302 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5303 as_fn_executable_p "$ac_path_GREP" || continue
5304 # Check for GNU ac_path_GREP and select it if it is found.
5305 # Check for GNU $ac_path_GREP
5306 case `"$ac_path_GREP" --version 2>&1` in
5307 *GNU*)
5308 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5310 ac_count=0
5311 $as_echo_n 0123456789 >"conftest.in"
5312 while :
5314 cat "conftest.in" "conftest.in" >"conftest.tmp"
5315 mv "conftest.tmp" "conftest.in"
5316 cp "conftest.in" "conftest.nl"
5317 $as_echo 'GREP' >> "conftest.nl"
5318 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5319 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5320 as_fn_arith $ac_count + 1 && ac_count=$as_val
5321 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5322 # Best one so far, save it but keep looking for a better one
5323 ac_cv_path_GREP="$ac_path_GREP"
5324 ac_path_GREP_max=$ac_count
5326 # 10*(2^10) chars as input seems more than enough
5327 test $ac_count -gt 10 && break
5328 done
5329 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5330 esac
5332 $ac_path_GREP_found && break 3
5333 done
5334 done
5335 done
5336 IFS=$as_save_IFS
5337 if test -z "$ac_cv_path_GREP"; then
5338 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5340 else
5341 ac_cv_path_GREP=$GREP
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5346 $as_echo "$ac_cv_path_GREP" >&6; }
5347 GREP="$ac_cv_path_GREP"
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5351 $as_echo_n "checking for egrep... " >&6; }
5352 if ${ac_cv_path_EGREP+:} false; then :
5353 $as_echo_n "(cached) " >&6
5354 else
5355 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5356 then ac_cv_path_EGREP="$GREP -E"
5357 else
5358 if test -z "$EGREP"; then
5359 ac_path_EGREP_found=false
5360 # Loop through the user's path and test for each of PROGNAME-LIST
5361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5362 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5364 IFS=$as_save_IFS
5365 test -z "$as_dir" && as_dir=.
5366 for ac_prog in egrep; do
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5369 as_fn_executable_p "$ac_path_EGREP" || continue
5370 # Check for GNU ac_path_EGREP and select it if it is found.
5371 # Check for GNU $ac_path_EGREP
5372 case `"$ac_path_EGREP" --version 2>&1` in
5373 *GNU*)
5374 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5376 ac_count=0
5377 $as_echo_n 0123456789 >"conftest.in"
5378 while :
5380 cat "conftest.in" "conftest.in" >"conftest.tmp"
5381 mv "conftest.tmp" "conftest.in"
5382 cp "conftest.in" "conftest.nl"
5383 $as_echo 'EGREP' >> "conftest.nl"
5384 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5385 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5386 as_fn_arith $ac_count + 1 && ac_count=$as_val
5387 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5388 # Best one so far, save it but keep looking for a better one
5389 ac_cv_path_EGREP="$ac_path_EGREP"
5390 ac_path_EGREP_max=$ac_count
5392 # 10*(2^10) chars as input seems more than enough
5393 test $ac_count -gt 10 && break
5394 done
5395 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5396 esac
5398 $ac_path_EGREP_found && break 3
5399 done
5400 done
5401 done
5402 IFS=$as_save_IFS
5403 if test -z "$ac_cv_path_EGREP"; then
5404 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5406 else
5407 ac_cv_path_EGREP=$EGREP
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5413 $as_echo "$ac_cv_path_EGREP" >&6; }
5414 EGREP="$ac_cv_path_EGREP"
5417 # Extract the first word of "ldconfig", so it can be a program name with args.
5418 set dummy ldconfig; ac_word=$2
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5420 $as_echo_n "checking for $ac_word... " >&6; }
5421 if ${ac_cv_path_LDCONFIG+:} false; then :
5422 $as_echo_n "(cached) " >&6
5423 else
5424 case $LDCONFIG in
5425 [\\/]* | ?:[\\/]*)
5426 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 for as_dir in /sbin /usr/sbin $PATH
5432 IFS=$as_save_IFS
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5436 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 break 2
5440 done
5441 done
5442 IFS=$as_save_IFS
5444 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5446 esac
5448 LDCONFIG=$ac_cv_path_LDCONFIG
5449 if test -n "$LDCONFIG"; then
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5451 $as_echo "$LDCONFIG" >&6; }
5452 else
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5454 $as_echo "no" >&6; }
5458 for ac_prog in msgfmt
5460 # Extract the first word of "$ac_prog", so it can be a program name with args.
5461 set dummy $ac_prog; ac_word=$2
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5463 $as_echo_n "checking for $ac_word... " >&6; }
5464 if ${ac_cv_prog_MSGFMT+:} false; then :
5465 $as_echo_n "(cached) " >&6
5466 else
5467 if test -n "$MSGFMT"; then
5468 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5469 else
5470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5471 for as_dir in $PATH
5473 IFS=$as_save_IFS
5474 test -z "$as_dir" && as_dir=.
5475 for ac_exec_ext in '' $ac_executable_extensions; do
5476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5477 ac_cv_prog_MSGFMT="$ac_prog"
5478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5479 break 2
5481 done
5482 done
5483 IFS=$as_save_IFS
5487 MSGFMT=$ac_cv_prog_MSGFMT
5488 if test -n "$MSGFMT"; then
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5490 $as_echo "$MSGFMT" >&6; }
5491 else
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5493 $as_echo "no" >&6; }
5497 test -n "$MSGFMT" && break
5498 done
5499 test -n "$MSGFMT" || MSGFMT="false"
5501 if ${ac_tool_prefix+:} false; then :
5502 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5503 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5505 $as_echo_n "checking for $ac_word... " >&6; }
5506 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5507 $as_echo_n "(cached) " >&6
5508 else
5509 if test -n "$PKG_CONFIG"; then
5510 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5511 else
5512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5513 for as_dir in $PATH
5515 IFS=$as_save_IFS
5516 test -z "$as_dir" && as_dir=.
5517 for ac_exec_ext in '' $ac_executable_extensions; do
5518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5519 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5521 break 2
5523 done
5524 done
5525 IFS=$as_save_IFS
5529 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5530 if test -n "$PKG_CONFIG"; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5532 $as_echo "$PKG_CONFIG" >&6; }
5533 else
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5535 $as_echo "no" >&6; }
5540 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5541 if test "x$cross_compiling" = xyes; then :
5543 else
5544 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5545 # Extract the first word of "pkg-config", so it can be a program name with args.
5546 set dummy pkg-config; ac_word=$2
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5548 $as_echo_n "checking for $ac_word... " >&6; }
5549 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5550 $as_echo_n "(cached) " >&6
5551 else
5552 if test -n "$PKG_CONFIG"; then
5553 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5554 else
5555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5556 for as_dir in $PATH
5558 IFS=$as_save_IFS
5559 test -z "$as_dir" && as_dir=.
5560 for ac_exec_ext in '' $ac_executable_extensions; do
5561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5562 ac_cv_prog_PKG_CONFIG="pkg-config"
5563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5564 break 2
5566 done
5567 done
5568 IFS=$as_save_IFS
5572 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5573 if test -n "$PKG_CONFIG"; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5575 $as_echo "$PKG_CONFIG" >&6; }
5576 else
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5578 $as_echo "no" >&6; }
5583 else
5584 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5587 if test "x$enable_maintainer_mode" != "xyes"
5588 then
5589 FONTFORGE=""
5590 RSVG=""
5591 CONVERT=""
5592 ICOTOOL=""
5593 else
5594 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5595 for ac_prog in fontforge
5597 # Extract the first word of "$ac_prog", so it can be a program name with args.
5598 set dummy $ac_prog; ac_word=$2
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5600 $as_echo_n "checking for $ac_word... " >&6; }
5601 if ${ac_cv_prog_FONTFORGE+:} false; then :
5602 $as_echo_n "(cached) " >&6
5603 else
5604 if test -n "$FONTFORGE"; then
5605 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5606 else
5607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5608 for as_dir in $PATH
5610 IFS=$as_save_IFS
5611 test -z "$as_dir" && as_dir=.
5612 for ac_exec_ext in '' $ac_executable_extensions; do
5613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5614 ac_cv_prog_FONTFORGE="$ac_prog"
5615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5616 break 2
5618 done
5619 done
5620 IFS=$as_save_IFS
5624 FONTFORGE=$ac_cv_prog_FONTFORGE
5625 if test -n "$FONTFORGE"; then
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5627 $as_echo "$FONTFORGE" >&6; }
5628 else
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5630 $as_echo "no" >&6; }
5634 test -n "$FONTFORGE" && break
5635 done
5636 test -n "$FONTFORGE" || FONTFORGE="false"
5638 for ac_prog in rsvg
5640 # Extract the first word of "$ac_prog", so it can be a program name with args.
5641 set dummy $ac_prog; ac_word=$2
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5643 $as_echo_n "checking for $ac_word... " >&6; }
5644 if ${ac_cv_prog_RSVG+:} false; then :
5645 $as_echo_n "(cached) " >&6
5646 else
5647 if test -n "$RSVG"; then
5648 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5649 else
5650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5651 for as_dir in $PATH
5653 IFS=$as_save_IFS
5654 test -z "$as_dir" && as_dir=.
5655 for ac_exec_ext in '' $ac_executable_extensions; do
5656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5657 ac_cv_prog_RSVG="$ac_prog"
5658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5659 break 2
5661 done
5662 done
5663 IFS=$as_save_IFS
5667 RSVG=$ac_cv_prog_RSVG
5668 if test -n "$RSVG"; then
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5670 $as_echo "$RSVG" >&6; }
5671 else
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5673 $as_echo "no" >&6; }
5677 test -n "$RSVG" && break
5678 done
5679 test -n "$RSVG" || RSVG="false"
5681 for ac_prog in convert
5683 # Extract the first word of "$ac_prog", so it can be a program name with args.
5684 set dummy $ac_prog; ac_word=$2
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5686 $as_echo_n "checking for $ac_word... " >&6; }
5687 if ${ac_cv_prog_CONVERT+:} false; then :
5688 $as_echo_n "(cached) " >&6
5689 else
5690 if test -n "$CONVERT"; then
5691 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5692 else
5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5694 for as_dir in $PATH
5696 IFS=$as_save_IFS
5697 test -z "$as_dir" && as_dir=.
5698 for ac_exec_ext in '' $ac_executable_extensions; do
5699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5700 ac_cv_prog_CONVERT="$ac_prog"
5701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 break 2
5704 done
5705 done
5706 IFS=$as_save_IFS
5710 CONVERT=$ac_cv_prog_CONVERT
5711 if test -n "$CONVERT"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5713 $as_echo "$CONVERT" >&6; }
5714 else
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 $as_echo "no" >&6; }
5720 test -n "$CONVERT" && break
5721 done
5722 test -n "$CONVERT" || CONVERT="false"
5724 for ac_prog in icotool
5726 # Extract the first word of "$ac_prog", so it can be a program name with args.
5727 set dummy $ac_prog; ac_word=$2
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5729 $as_echo_n "checking for $ac_word... " >&6; }
5730 if ${ac_cv_prog_ICOTOOL+:} false; then :
5731 $as_echo_n "(cached) " >&6
5732 else
5733 if test -n "$ICOTOOL"; then
5734 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5735 else
5736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737 for as_dir in $PATH
5739 IFS=$as_save_IFS
5740 test -z "$as_dir" && as_dir=.
5741 for ac_exec_ext in '' $ac_executable_extensions; do
5742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5743 ac_cv_prog_ICOTOOL="$ac_prog"
5744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5745 break 2
5747 done
5748 done
5749 IFS=$as_save_IFS
5753 ICOTOOL=$ac_cv_prog_ICOTOOL
5754 if test -n "$ICOTOOL"; then
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5756 $as_echo "$ICOTOOL" >&6; }
5757 else
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5759 $as_echo "no" >&6; }
5763 test -n "$ICOTOOL" && break
5764 done
5765 test -n "$ICOTOOL" || ICOTOOL="false"
5767 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5768 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5770 if test "$CONVERT" = false
5771 then
5772 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5773 else
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5775 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5776 convert_version=`convert --version | head -n1`
5777 if test "x$convert_version" != "x"
5778 then
5779 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5780 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5781 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5782 then
5783 CONVERT=false
5786 if test "$CONVERT" = false
5787 then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5789 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5790 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5791 else
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5793 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5797 if test "$ICOTOOL" = false
5798 then
5799 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5800 else
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5802 $as_echo_n "checking for recent enough icotool... " >&6; }
5803 icotool_version=`icotool --version | head -n1`
5804 if test "x$icotool_version" != "x"
5805 then
5806 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5807 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5808 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5809 then
5810 ICOTOOL=false
5811 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5814 if test "$ICOTOOL" = false
5815 then
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5817 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5818 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5819 else
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5821 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5825 with_gettext=yes
5826 with_gettextpo=yes
5827 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5830 test "x$with_gettext" != xno || MSGFMT=false
5831 if test "$MSGFMT" != "false"
5832 then
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5834 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5835 cat >conftest.po <<EOF
5836 # comment
5837 msgctxt "ctxt"
5838 msgid "id"
5839 msgstr "str"
5841 if $MSGFMT -o /dev/null conftest.po 2>&5
5842 then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5844 $as_echo "yes" >&6; }
5845 else
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5848 MSGFMT=false
5851 if test "$MSGFMT" = false; then :
5852 case "x$with_gettext" in
5853 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5854 xno) ;;
5855 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5856 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5857 esac
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5862 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5863 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5864 $as_echo_n "(cached) " >&6
5865 else
5866 ac_check_lib_save_LIBS=$LIBS
5867 LIBS="-li386 $LIBS"
5868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5869 /* end confdefs.h. */
5871 /* Override any GCC internal prototype to avoid an error.
5872 Use char because int might match the return type of a GCC
5873 builtin and then its argument prototype would still apply. */
5874 #ifdef __cplusplus
5875 extern "C"
5876 #endif
5877 char i386_set_ldt ();
5879 main ()
5881 return i386_set_ldt ();
5883 return 0;
5885 _ACEOF
5886 if ac_fn_c_try_link "$LINENO"; then :
5887 ac_cv_lib_i386_i386_set_ldt=yes
5888 else
5889 ac_cv_lib_i386_i386_set_ldt=no
5891 rm -f core conftest.err conftest.$ac_objext \
5892 conftest$ac_exeext conftest.$ac_ext
5893 LIBS=$ac_check_lib_save_LIBS
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5896 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5897 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5898 cat >>confdefs.h <<_ACEOF
5899 #define HAVE_LIBI386 1
5900 _ACEOF
5902 LIBS="-li386 $LIBS"
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5907 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5908 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5909 $as_echo_n "(cached) " >&6
5910 else
5911 ac_check_lib_save_LIBS=$LIBS
5912 LIBS="-lossaudio $LIBS"
5913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5914 /* end confdefs.h. */
5916 /* Override any GCC internal prototype to avoid an error.
5917 Use char because int might match the return type of a GCC
5918 builtin and then its argument prototype would still apply. */
5919 #ifdef __cplusplus
5920 extern "C"
5921 #endif
5922 char _oss_ioctl ();
5924 main ()
5926 return _oss_ioctl ();
5928 return 0;
5930 _ACEOF
5931 if ac_fn_c_try_link "$LINENO"; then :
5932 ac_cv_lib_ossaudio__oss_ioctl=yes
5933 else
5934 ac_cv_lib_ossaudio__oss_ioctl=no
5936 rm -f core conftest.err conftest.$ac_objext \
5937 conftest$ac_exeext conftest.$ac_ext
5938 LIBS=$ac_check_lib_save_LIBS
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5941 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5942 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5943 cat >>confdefs.h <<_ACEOF
5944 #define HAVE_LIBOSSAUDIO 1
5945 _ACEOF
5947 LIBS="-lossaudio $LIBS"
5952 OPENGL_LIBS=""
5956 # Check whether --enable-largefile was given.
5957 if test "${enable_largefile+set}" = set; then :
5958 enableval=$enable_largefile;
5961 if test "$enable_largefile" != no; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5964 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5965 if ${ac_cv_sys_largefile_CC+:} false; then :
5966 $as_echo_n "(cached) " >&6
5967 else
5968 ac_cv_sys_largefile_CC=no
5969 if test "$GCC" != yes; then
5970 ac_save_CC=$CC
5971 while :; do
5972 # IRIX 6.2 and later do not support large files by default,
5973 # so use the C compiler's -n32 option if that helps.
5974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5975 /* end confdefs.h. */
5976 #include <sys/types.h>
5977 /* Check that off_t can represent 2**63 - 1 correctly.
5978 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5979 since some C++ compilers masquerading as C compilers
5980 incorrectly reject 9223372036854775807. */
5981 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5982 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5983 && LARGE_OFF_T % 2147483647 == 1)
5984 ? 1 : -1];
5986 main ()
5990 return 0;
5992 _ACEOF
5993 if ac_fn_c_try_compile "$LINENO"; then :
5994 break
5996 rm -f core conftest.err conftest.$ac_objext
5997 CC="$CC -n32"
5998 if ac_fn_c_try_compile "$LINENO"; then :
5999 ac_cv_sys_largefile_CC=' -n32'; break
6001 rm -f core conftest.err conftest.$ac_objext
6002 break
6003 done
6004 CC=$ac_save_CC
6005 rm -f conftest.$ac_ext
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6009 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6010 if test "$ac_cv_sys_largefile_CC" != no; then
6011 CC=$CC$ac_cv_sys_largefile_CC
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6015 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6016 if ${ac_cv_sys_file_offset_bits+:} false; then :
6017 $as_echo_n "(cached) " >&6
6018 else
6019 while :; do
6020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6021 /* end confdefs.h. */
6022 #include <sys/types.h>
6023 /* Check that off_t can represent 2**63 - 1 correctly.
6024 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6025 since some C++ compilers masquerading as C compilers
6026 incorrectly reject 9223372036854775807. */
6027 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6028 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6029 && LARGE_OFF_T % 2147483647 == 1)
6030 ? 1 : -1];
6032 main ()
6036 return 0;
6038 _ACEOF
6039 if ac_fn_c_try_compile "$LINENO"; then :
6040 ac_cv_sys_file_offset_bits=no; break
6042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6044 /* end confdefs.h. */
6045 #define _FILE_OFFSET_BITS 64
6046 #include <sys/types.h>
6047 /* Check that off_t can represent 2**63 - 1 correctly.
6048 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6049 since some C++ compilers masquerading as C compilers
6050 incorrectly reject 9223372036854775807. */
6051 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6052 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6053 && LARGE_OFF_T % 2147483647 == 1)
6054 ? 1 : -1];
6056 main ()
6060 return 0;
6062 _ACEOF
6063 if ac_fn_c_try_compile "$LINENO"; then :
6064 ac_cv_sys_file_offset_bits=64; break
6066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6067 ac_cv_sys_file_offset_bits=unknown
6068 break
6069 done
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6072 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6073 case $ac_cv_sys_file_offset_bits in #(
6074 no | unknown) ;;
6076 cat >>confdefs.h <<_ACEOF
6077 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6078 _ACEOF
6080 esac
6081 rm -rf conftest*
6082 if test $ac_cv_sys_file_offset_bits = unknown; then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6084 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6085 if ${ac_cv_sys_large_files+:} false; then :
6086 $as_echo_n "(cached) " >&6
6087 else
6088 while :; do
6089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6090 /* end confdefs.h. */
6091 #include <sys/types.h>
6092 /* Check that off_t can represent 2**63 - 1 correctly.
6093 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6094 since some C++ compilers masquerading as C compilers
6095 incorrectly reject 9223372036854775807. */
6096 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6097 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6098 && LARGE_OFF_T % 2147483647 == 1)
6099 ? 1 : -1];
6101 main ()
6105 return 0;
6107 _ACEOF
6108 if ac_fn_c_try_compile "$LINENO"; then :
6109 ac_cv_sys_large_files=no; break
6111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6113 /* end confdefs.h. */
6114 #define _LARGE_FILES 1
6115 #include <sys/types.h>
6116 /* Check that off_t can represent 2**63 - 1 correctly.
6117 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6118 since some C++ compilers masquerading as C compilers
6119 incorrectly reject 9223372036854775807. */
6120 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6121 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6122 && LARGE_OFF_T % 2147483647 == 1)
6123 ? 1 : -1];
6125 main ()
6129 return 0;
6131 _ACEOF
6132 if ac_fn_c_try_compile "$LINENO"; then :
6133 ac_cv_sys_large_files=1; break
6135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6136 ac_cv_sys_large_files=unknown
6137 break
6138 done
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6141 $as_echo "$ac_cv_sys_large_files" >&6; }
6142 case $ac_cv_sys_large_files in #(
6143 no | unknown) ;;
6145 cat >>confdefs.h <<_ACEOF
6146 #define _LARGE_FILES $ac_cv_sys_large_files
6147 _ACEOF
6149 esac
6150 rm -rf conftest*
6157 ac_ext=c
6158 ac_cpp='$CPP $CPPFLAGS'
6159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6163 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6164 # On Suns, sometimes $CPP names a directory.
6165 if test -n "$CPP" && test -d "$CPP"; then
6166 CPP=
6168 if test -z "$CPP"; then
6169 if ${ac_cv_prog_CPP+:} false; then :
6170 $as_echo_n "(cached) " >&6
6171 else
6172 # Double quotes because CPP needs to be expanded
6173 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6175 ac_preproc_ok=false
6176 for ac_c_preproc_warn_flag in '' yes
6178 # Use a header file that comes with gcc, so configuring glibc
6179 # with a fresh cross-compiler works.
6180 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6181 # <limits.h> exists even on freestanding compilers.
6182 # On the NeXT, cc -E runs the code through the compiler's parser,
6183 # not just through cpp. "Syntax error" is here to catch this case.
6184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6185 /* end confdefs.h. */
6186 #ifdef __STDC__
6187 # include <limits.h>
6188 #else
6189 # include <assert.h>
6190 #endif
6191 Syntax error
6192 _ACEOF
6193 if ac_fn_c_try_cpp "$LINENO"; then :
6195 else
6196 # Broken: fails on valid input.
6197 continue
6199 rm -f conftest.err conftest.i conftest.$ac_ext
6201 # OK, works on sane cases. Now check whether nonexistent headers
6202 # can be detected and how.
6203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6204 /* end confdefs.h. */
6205 #include <ac_nonexistent.h>
6206 _ACEOF
6207 if ac_fn_c_try_cpp "$LINENO"; then :
6208 # Broken: success on invalid input.
6209 continue
6210 else
6211 # Passes both tests.
6212 ac_preproc_ok=:
6213 break
6215 rm -f conftest.err conftest.i conftest.$ac_ext
6217 done
6218 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6219 rm -f conftest.i conftest.err conftest.$ac_ext
6220 if $ac_preproc_ok; then :
6221 break
6224 done
6225 ac_cv_prog_CPP=$CPP
6228 CPP=$ac_cv_prog_CPP
6229 else
6230 ac_cv_prog_CPP=$CPP
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6233 $as_echo "$CPP" >&6; }
6234 ac_preproc_ok=false
6235 for ac_c_preproc_warn_flag in '' yes
6237 # Use a header file that comes with gcc, so configuring glibc
6238 # with a fresh cross-compiler works.
6239 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6240 # <limits.h> exists even on freestanding compilers.
6241 # On the NeXT, cc -E runs the code through the compiler's parser,
6242 # not just through cpp. "Syntax error" is here to catch this case.
6243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6244 /* end confdefs.h. */
6245 #ifdef __STDC__
6246 # include <limits.h>
6247 #else
6248 # include <assert.h>
6249 #endif
6250 Syntax error
6251 _ACEOF
6252 if ac_fn_c_try_cpp "$LINENO"; then :
6254 else
6255 # Broken: fails on valid input.
6256 continue
6258 rm -f conftest.err conftest.i conftest.$ac_ext
6260 # OK, works on sane cases. Now check whether nonexistent headers
6261 # can be detected and how.
6262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6263 /* end confdefs.h. */
6264 #include <ac_nonexistent.h>
6265 _ACEOF
6266 if ac_fn_c_try_cpp "$LINENO"; then :
6267 # Broken: success on invalid input.
6268 continue
6269 else
6270 # Passes both tests.
6271 ac_preproc_ok=:
6272 break
6274 rm -f conftest.err conftest.i conftest.$ac_ext
6276 done
6277 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6278 rm -f conftest.i conftest.err conftest.$ac_ext
6279 if $ac_preproc_ok; then :
6281 else
6282 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6284 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6285 See \`config.log' for more details" "$LINENO" 5; }
6288 ac_ext=c
6289 ac_cpp='$CPP $CPPFLAGS'
6290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6296 $as_echo_n "checking for ANSI C header files... " >&6; }
6297 if ${ac_cv_header_stdc+:} false; then :
6298 $as_echo_n "(cached) " >&6
6299 else
6300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6301 /* end confdefs.h. */
6302 #include <stdlib.h>
6303 #include <stdarg.h>
6304 #include <string.h>
6305 #include <float.h>
6308 main ()
6312 return 0;
6314 _ACEOF
6315 if ac_fn_c_try_compile "$LINENO"; then :
6316 ac_cv_header_stdc=yes
6317 else
6318 ac_cv_header_stdc=no
6320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6322 if test $ac_cv_header_stdc = yes; then
6323 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6325 /* end confdefs.h. */
6326 #include <string.h>
6328 _ACEOF
6329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6330 $EGREP "memchr" >/dev/null 2>&1; then :
6332 else
6333 ac_cv_header_stdc=no
6335 rm -f conftest*
6339 if test $ac_cv_header_stdc = yes; then
6340 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6342 /* end confdefs.h. */
6343 #include <stdlib.h>
6345 _ACEOF
6346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6347 $EGREP "free" >/dev/null 2>&1; then :
6349 else
6350 ac_cv_header_stdc=no
6352 rm -f conftest*
6356 if test $ac_cv_header_stdc = yes; then
6357 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6358 if test "$cross_compiling" = yes; then :
6360 else
6361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6362 /* end confdefs.h. */
6363 #include <ctype.h>
6364 #include <stdlib.h>
6365 #if ((' ' & 0x0FF) == 0x020)
6366 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6367 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6368 #else
6369 # define ISLOWER(c) \
6370 (('a' <= (c) && (c) <= 'i') \
6371 || ('j' <= (c) && (c) <= 'r') \
6372 || ('s' <= (c) && (c) <= 'z'))
6373 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6374 #endif
6376 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6378 main ()
6380 int i;
6381 for (i = 0; i < 256; i++)
6382 if (XOR (islower (i), ISLOWER (i))
6383 || toupper (i) != TOUPPER (i))
6384 return 2;
6385 return 0;
6387 _ACEOF
6388 if ac_fn_c_try_run "$LINENO"; then :
6390 else
6391 ac_cv_header_stdc=no
6393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6394 conftest.$ac_objext conftest.beam conftest.$ac_ext
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6400 $as_echo "$ac_cv_header_stdc" >&6; }
6401 if test $ac_cv_header_stdc = yes; then
6403 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6407 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6408 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6409 inttypes.h stdint.h unistd.h
6410 do :
6411 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6412 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6414 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6415 cat >>confdefs.h <<_ACEOF
6416 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6417 _ACEOF
6421 done
6424 for ac_header in \
6425 AL/al.h \
6426 ApplicationServices/ApplicationServices.h \
6427 AudioToolbox/AudioConverter.h \
6428 AudioUnit/AudioUnit.h \
6429 AudioUnit/AudioComponent.h \
6430 CL/cl.h \
6431 Carbon/Carbon.h \
6432 CoreAudio/CoreAudio.h \
6433 CoreServices/CoreServices.h \
6434 DiskArbitration/DiskArbitration.h \
6435 IOKit/IOKitLib.h \
6436 IOKit/hid/IOHIDLib.h \
6437 OpenAL/al.h \
6438 OpenCL/opencl.h \
6439 QuickTime/ImageCompression.h \
6440 Security/Security.h \
6441 alias.h \
6442 alsa/asoundlib.h \
6443 arpa/inet.h \
6444 arpa/nameser.h \
6445 asm/types.h \
6446 asm/user.h \
6447 curses.h \
6448 direct.h \
6449 dirent.h \
6450 dlfcn.h \
6451 elf.h \
6452 float.h \
6453 fnmatch.h \
6454 getopt.h \
6455 gettext-po.h \
6456 grp.h \
6457 gsm.h \
6458 gsm/gsm.h \
6459 ieeefp.h \
6460 inet/mib2.h \
6461 io.h \
6462 kstat.h \
6463 lber.h \
6464 ldap.h \
6465 libproc.h \
6466 link.h \
6467 linux/cdrom.h \
6468 linux/compiler.h \
6469 linux/filter.h \
6470 linux/hdreg.h \
6471 linux/input.h \
6472 linux/ioctl.h \
6473 linux/joystick.h \
6474 linux/major.h \
6475 linux/param.h \
6476 linux/serial.h \
6477 linux/types.h \
6478 linux/ucdrom.h \
6479 lwp.h \
6480 mach-o/nlist.h \
6481 mach-o/loader.h \
6482 mach/mach.h \
6483 mach/machine.h \
6484 machine/cpu.h \
6485 machine/limits.h \
6486 machine/sysarch.h \
6487 mntent.h \
6488 ncurses.h \
6489 netdb.h \
6490 netinet/in.h \
6491 netinet/in_systm.h \
6492 netinet/tcp.h \
6493 netinet/tcp_fsm.h \
6494 poll.h \
6495 port.h \
6496 process.h \
6497 pthread.h \
6498 pwd.h \
6499 sched.h \
6500 scsi/scsi.h \
6501 scsi/scsi_ioctl.h \
6502 scsi/sg.h \
6503 stdbool.h \
6504 stdint.h \
6505 stropts.h \
6506 sys/asoundlib.h \
6507 sys/attr.h \
6508 sys/cdio.h \
6509 sys/elf32.h \
6510 sys/epoll.h \
6511 sys/event.h \
6512 sys/exec_elf.h \
6513 sys/filio.h \
6514 sys/inotify.h \
6515 sys/ioctl.h \
6516 sys/ipc.h \
6517 sys/limits.h \
6518 sys/link.h \
6519 sys/mman.h \
6520 sys/modem.h \
6521 sys/msg.h \
6522 sys/mtio.h \
6523 sys/param.h \
6524 sys/poll.h \
6525 sys/prctl.h \
6526 sys/protosw.h \
6527 sys/ptrace.h \
6528 sys/queue.h \
6529 sys/resource.h \
6530 sys/scsiio.h \
6531 sys/shm.h \
6532 sys/signal.h \
6533 sys/socket.h \
6534 sys/socketvar.h \
6535 sys/sockio.h \
6536 sys/statvfs.h \
6537 sys/strtio.h \
6538 sys/syscall.h \
6539 sys/tihdr.h \
6540 sys/time.h \
6541 sys/timeout.h \
6542 sys/times.h \
6543 sys/uio.h \
6544 sys/user.h \
6545 sys/utsname.h \
6546 sys/vm86.h \
6547 sys/wait.h \
6548 syscall.h \
6549 termios.h \
6550 unistd.h \
6551 utime.h \
6552 valgrind/memcheck.h \
6553 valgrind/valgrind.h \
6554 zlib.h
6556 do :
6557 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6558 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6559 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6560 cat >>confdefs.h <<_ACEOF
6561 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6562 _ACEOF
6566 done
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6569 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6570 if ${ac_cv_header_stat_broken+:} false; then :
6571 $as_echo_n "(cached) " >&6
6572 else
6573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6574 /* end confdefs.h. */
6575 #include <sys/types.h>
6576 #include <sys/stat.h>
6578 #if defined S_ISBLK && defined S_IFDIR
6579 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6580 #endif
6582 #if defined S_ISBLK && defined S_IFCHR
6583 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6584 #endif
6586 #if defined S_ISLNK && defined S_IFREG
6587 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6588 #endif
6590 #if defined S_ISSOCK && defined S_IFREG
6591 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6592 #endif
6594 _ACEOF
6595 if ac_fn_c_try_compile "$LINENO"; then :
6596 ac_cv_header_stat_broken=no
6597 else
6598 ac_cv_header_stat_broken=yes
6600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6603 $as_echo "$ac_cv_header_stat_broken" >&6; }
6604 if test $ac_cv_header_stat_broken = yes; then
6606 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6612 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6613 do :
6614 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6615 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6616 #ifdef HAVE_SYS_PARAM_H
6617 # include <sys/param.h>
6618 #endif
6620 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6621 cat >>confdefs.h <<_ACEOF
6622 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6623 _ACEOF
6627 done
6630 for ac_header in \
6631 netinet/ip.h \
6632 net/if.h \
6633 net/if_arp.h \
6634 net/if_dl.h \
6635 net/if_types.h \
6636 net/route.h \
6637 netinet/if_ether.h \
6638 netinet/if_inarp.h \
6639 netinet/in_pcb.h \
6640 netinet/ip_icmp.h \
6641 netinet/ip_var.h \
6642 netinet/udp.h \
6643 netipx/ipx.h \
6644 sys/un.h \
6646 do :
6647 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6648 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6649 #ifdef HAVE_SYS_SOCKET_H
6650 # include <sys/socket.h>
6651 #endif
6652 #ifdef HAVE_SYS_SOCKETVAR_H
6653 # include <sys/socketvar.h>
6654 #endif
6655 #ifdef HAVE_NET_ROUTE_H
6656 # include <net/route.h>
6657 #endif
6658 #ifdef HAVE_NETINET_IN_H
6659 # include <netinet/in.h>
6660 #endif
6661 #ifdef HAVE_NETINET_IN_SYSTM_H
6662 # include <netinet/in_systm.h>
6663 #endif
6664 #ifdef HAVE_NET_IF_H
6665 # include <net/if.h>
6666 #endif
6667 #ifdef HAVE_NETINET_IP_H
6668 # include <netinet/ip.h>
6669 #endif
6671 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6672 cat >>confdefs.h <<_ACEOF
6673 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6674 _ACEOF
6678 done
6681 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6682 do :
6683 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6684 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6685 #ifdef HAVE_ALIAS_H
6686 # include <alias.h>
6687 #endif
6688 #ifdef HAVE_SYS_SOCKET_H
6689 # include <sys/socket.h>
6690 #endif
6691 #ifdef HAVE_SYS_SOCKETVAR_H
6692 # include <sys/socketvar.h>
6693 #endif
6694 #ifdef HAVE_SYS_TIMEOUT_H
6695 # include <sys/timeout.h>
6696 #endif
6697 #ifdef HAVE_NETINET_IN_H
6698 # include <netinet/in.h>
6699 #endif
6700 #ifdef HAVE_NETINET_IN_SYSTM_H
6701 # include <netinet/in_systm.h>
6702 #endif
6703 #ifdef HAVE_NETINET_IP_H
6704 # include <netinet/ip.h>
6705 #endif
6706 #ifdef HAVE_NETINET_IP_VAR_H
6707 # include <netinet/ip_var.h>
6708 #endif
6709 #ifdef HAVE_NETINET_IP_ICMP_H
6710 # include <netinet/ip_icmp.h>
6711 #endif
6712 #ifdef HAVE_NETINET_UDP_H
6713 # include <netinet/udp.h>
6714 #endif
6715 #ifdef HAVE_NETINET_TCP_H
6716 # include <netinet/tcp.h>
6717 #endif
6718 #ifdef HAVE_NETINET_TCP_TIMER_H
6719 #include <netinet/tcp_timer.h>
6720 #endif
6722 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6723 cat >>confdefs.h <<_ACEOF
6724 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6725 _ACEOF
6729 done
6732 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6733 do :
6734 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6735 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6736 #ifdef HAVE_ASM_TYPES_H
6737 # include <asm/types.h>
6738 #endif
6739 #ifdef HAVE_SYS_SOCKET_H
6740 # include <sys/socket.h>
6741 #endif
6742 #ifdef HAVE_LINUX_TYPES_H
6743 # include <linux/types.h>
6744 #endif
6746 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6747 cat >>confdefs.h <<_ACEOF
6748 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6749 _ACEOF
6753 done
6756 for ac_header in mach-o/dyld_images.h
6757 do :
6758 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6759 # include <stdbool.h>
6760 #endif
6761 #ifdef HAVE_STDINT_H
6762 # include <stdint.h>
6763 #endif
6765 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6766 cat >>confdefs.h <<_ACEOF
6767 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6768 _ACEOF
6772 done
6775 for ac_header in resolv.h
6776 do :
6777 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6778 #ifdef HAVE_SYS_SOCKET_H
6779 # include <sys/socket.h>
6780 #endif
6781 #ifdef HAVE_NETINET_IN_H
6782 # include <netinet/in.h>
6783 #endif
6784 #ifdef HAVE_ARPA_NAMESER_H
6785 # include <arpa/nameser.h>
6786 #endif
6788 if test "x$ac_cv_header_resolv_h" = xyes; then :
6789 cat >>confdefs.h <<_ACEOF
6790 #define HAVE_RESOLV_H 1
6791 _ACEOF
6795 done
6798 for ac_header in ifaddrs.h
6799 do :
6800 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6802 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6803 cat >>confdefs.h <<_ACEOF
6804 #define HAVE_IFADDRS_H 1
6805 _ACEOF
6809 done
6812 for ac_header in ucontext.h
6813 do :
6814 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6816 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6817 cat >>confdefs.h <<_ACEOF
6818 #define HAVE_UCONTEXT_H 1
6819 _ACEOF
6823 done
6826 for ac_header in sys/thr.h
6827 do :
6828 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6829 #ifdef HAVE_UCONTEXT_H
6830 #include <ucontext.h>
6831 #endif
6833 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6834 cat >>confdefs.h <<_ACEOF
6835 #define HAVE_SYS_THR_H 1
6836 _ACEOF
6840 done
6843 for ac_header in pthread_np.h
6844 do :
6845 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6846 #include <pthread.h>
6847 #endif
6849 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6850 cat >>confdefs.h <<_ACEOF
6851 #define HAVE_PTHREAD_NP_H 1
6852 _ACEOF
6856 done
6859 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6860 do :
6861 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6862 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6863 #include <sys/time.h>
6864 #endif
6865 #include <sys/types.h>
6866 #ifdef HAVE_ASM_TYPES_H
6867 #include <asm/types.h>
6868 #endif
6870 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6871 cat >>confdefs.h <<_ACEOF
6872 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6873 _ACEOF
6877 done
6880 for ac_header in libprocstat.h
6881 do :
6882 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6883 #include <sys/param.h>
6884 #endif
6885 #ifdef HAVE_SYS_QUEUE_H
6886 #include <sys/queue.h>
6887 #endif
6888 #ifdef HAVE_SYS_SOCKET_H
6889 #include <sys/socket.h>
6890 #endif
6892 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6893 cat >>confdefs.h <<_ACEOF
6894 #define HAVE_LIBPROCSTAT_H 1
6895 _ACEOF
6899 done
6903 dlldir="\${libdir}/wine"
6905 DLLPREFIX=""
6907 DLLFLAGS="-D_REENTRANT"
6909 LDRPATH_INSTALL=""
6911 LDRPATH_LOCAL=""
6913 LIBEXT="so"
6914 DLLEXT=".so"
6915 IMPLIBEXT="def"
6916 STATIC_IMPLIBEXT="def.a"
6917 # Extract the first word of "ldd", so it can be a program name with args.
6918 set dummy ldd; ac_word=$2
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6920 $as_echo_n "checking for $ac_word... " >&6; }
6921 if ${ac_cv_path_LDD+:} false; then :
6922 $as_echo_n "(cached) " >&6
6923 else
6924 case $LDD in
6925 [\\/]* | ?:[\\/]*)
6926 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6930 as_dummy="/sbin:/usr/sbin:$PATH"
6931 for as_dir in $as_dummy
6933 IFS=$as_save_IFS
6934 test -z "$as_dir" && as_dir=.
6935 for ac_exec_ext in '' $ac_executable_extensions; do
6936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6937 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6939 break 2
6941 done
6942 done
6943 IFS=$as_save_IFS
6945 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6947 esac
6949 LDD=$ac_cv_path_LDD
6950 if test -n "$LDD"; then
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6952 $as_echo "$LDD" >&6; }
6953 else
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6955 $as_echo "no" >&6; }
6959 if test -n "$ac_tool_prefix"; then
6960 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6961 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6963 $as_echo_n "checking for $ac_word... " >&6; }
6964 if ${ac_cv_prog_READELF+:} false; then :
6965 $as_echo_n "(cached) " >&6
6966 else
6967 if test -n "$READELF"; then
6968 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6969 else
6970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6971 for as_dir in $PATH
6973 IFS=$as_save_IFS
6974 test -z "$as_dir" && as_dir=.
6975 for ac_exec_ext in '' $ac_executable_extensions; do
6976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6977 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6979 break 2
6981 done
6982 done
6983 IFS=$as_save_IFS
6987 READELF=$ac_cv_prog_READELF
6988 if test -n "$READELF"; then
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6990 $as_echo "$READELF" >&6; }
6991 else
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6993 $as_echo "no" >&6; }
6998 if test -z "$ac_cv_prog_READELF"; then
6999 ac_ct_READELF=$READELF
7000 # Extract the first word of "readelf", so it can be a program name with args.
7001 set dummy readelf; ac_word=$2
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7003 $as_echo_n "checking for $ac_word... " >&6; }
7004 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7005 $as_echo_n "(cached) " >&6
7006 else
7007 if test -n "$ac_ct_READELF"; then
7008 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7009 else
7010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7011 for as_dir in $PATH
7013 IFS=$as_save_IFS
7014 test -z "$as_dir" && as_dir=.
7015 for ac_exec_ext in '' $ac_executable_extensions; do
7016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7017 ac_cv_prog_ac_ct_READELF="readelf"
7018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7019 break 2
7021 done
7022 done
7023 IFS=$as_save_IFS
7027 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7028 if test -n "$ac_ct_READELF"; then
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7030 $as_echo "$ac_ct_READELF" >&6; }
7031 else
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7033 $as_echo "no" >&6; }
7036 if test "x$ac_ct_READELF" = x; then
7037 READELF="true"
7038 else
7039 case $cross_compiling:$ac_tool_warned in
7040 yes:)
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7043 ac_tool_warned=yes ;;
7044 esac
7045 READELF=$ac_ct_READELF
7047 else
7048 READELF="$ac_cv_prog_READELF"
7051 wine_rules_file=conf$$rules.make
7052 rm -f $wine_rules_file
7053 ALL_POT_FILES=""
7054 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7055 ALL_TEST_RESOURCES=""
7058 wine_fn_append_file ()
7060 as_fn_append $1 " \\$as_nl $2"
7063 wine_fn_ignore_file ()
7065 case "$1" in
7066 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7067 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7068 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7069 esac
7072 wine_fn_append_rule ()
7074 $as_echo "$1" >>$wine_rules_file
7077 wine_fn_has_flag ()
7079 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7082 wine_fn_depend_rules ()
7084 wine_fn_append_rule \
7085 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7086 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7087 depend: $ac_dir/depend
7088 .PHONY: $ac_dir/depend
7089 $ac_dir/depend: \$(MAKEDEP) dummy
7090 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7093 wine_fn_pot_rules ()
7095 test "x$with_gettextpo" = xyes || return
7097 if wine_fn_has_flag mc
7098 then
7099 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7100 wine_fn_append_rule \
7101 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7102 @cd $ac_dir && \$(MAKE) msg.pot
7103 $ac_dir/msg.pot: tools/wmc include"
7105 if wine_fn_has_flag po
7106 then
7107 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7108 wine_fn_append_rule \
7109 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7110 @cd $ac_dir && \$(MAKE) rsrc.pot
7111 $ac_dir/rsrc.pot: tools/wrc include"
7115 wine_fn_all_rules ()
7117 wine_fn_depend_rules
7118 wine_fn_append_rule \
7119 "all: $ac_dir
7120 .PHONY: $ac_dir
7121 $ac_dir: $ac_dir/Makefile dummy
7122 @cd $ac_dir && \$(MAKE)"
7125 wine_fn_install_rules ()
7127 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7129 wine_fn_append_rule \
7130 ".PHONY: $ac_dir/install $ac_dir/uninstall
7131 $ac_dir/install:: $ac_dir
7132 @cd $ac_dir && \$(MAKE) install
7133 $ac_dir/uninstall:: $ac_dir/Makefile
7134 @cd $ac_dir && \$(MAKE) uninstall
7135 install:: $ac_dir/install
7136 __uninstall__: $ac_dir/uninstall"
7138 if wine_fn_has_flag install-lib
7139 then
7140 wine_fn_append_rule \
7141 ".PHONY: $ac_dir/install-lib
7142 $ac_dir/install-lib:: $ac_dir
7143 @cd $ac_dir && \$(MAKE) install-lib
7144 install-lib:: $ac_dir/install-lib"
7147 if wine_fn_has_flag install-dev
7148 then
7149 wine_fn_append_rule \
7150 ".PHONY: $ac_dir/install-dev
7151 $ac_dir/install-dev:: $ac_dir
7152 @cd $ac_dir && \$(MAKE) install-dev
7153 install-dev:: $ac_dir/install-dev"
7157 wine_fn_clean_rules ()
7159 ac_clean=$@
7160 ac_extraclean="$ac_dir/Makefile"
7161 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7162 case $ac_dir in
7163 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7164 esac
7166 if wine_fn_has_flag clean
7167 then
7168 wine_fn_append_rule \
7169 "__clean__: $ac_dir/clean
7170 .PHONY: $ac_dir/clean
7171 $ac_dir/clean: $ac_dir/Makefile
7172 @cd $ac_dir && \$(MAKE) clean
7173 \$(RM) $ac_extraclean"
7174 else
7175 wine_fn_append_rule \
7176 "__clean__: $ac_dir/clean
7177 .PHONY: $ac_dir/clean
7178 $ac_dir/clean: dummy
7179 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7183 wine_fn_disabled_rules ()
7185 ac_clean=$@
7186 ac_extraclean="$ac_dir/Makefile"
7187 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7189 wine_fn_append_rule \
7190 "__clean__: $ac_dir/clean
7191 .PHONY: $ac_dir/clean
7192 $ac_dir/clean: dummy
7193 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7196 wine_fn_config_makefile ()
7198 ac_dir=$1
7199 ac_enable=$2
7200 ac_flags=$3
7202 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7203 wine_fn_disabled_rules; return
7205 wine_fn_all_rules
7206 wine_fn_install_rules
7207 wine_fn_clean_rules
7210 wine_fn_config_lib ()
7212 ac_name=$1
7213 ac_flags=$2
7214 ac_dir=dlls/$ac_name
7215 ac_deps="include"
7217 if test "x$enable_tools" = xno; then :
7219 else
7220 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7222 wine_fn_all_rules
7223 wine_fn_clean_rules
7225 wine_fn_append_rule \
7226 ".PHONY: $ac_dir/install $ac_dir/uninstall
7227 $ac_dir/install:: $ac_dir
7228 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7229 $ac_dir/uninstall::
7230 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7231 install install-dev:: $ac_dir/install
7232 __uninstall__: $ac_dir/uninstall
7233 __builddeps__: $ac_dir
7234 $ac_dir: $ac_deps"
7237 wine_fn_config_dll ()
7239 ac_name=$1
7240 ac_dir=dlls/$ac_name
7241 ac_enable=$2
7242 ac_flags=$3
7243 ac_implib=${4:-$ac_name}
7244 ac_file=$ac_dir/lib$ac_implib
7245 ac_dll=$ac_name
7246 ac_deps="include"
7247 ac_implibflags=""
7249 if test "x$enable_tools" = xno; then :
7251 else
7252 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7254 case $ac_name in
7255 *16) ac_implibflags=" -m16" ;;
7256 *.*) ;;
7257 *) ac_dll=$ac_dll.dll ;;
7258 esac
7260 ac_clean=
7261 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7262 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7263 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7264 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7266 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7267 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7268 then
7269 wine_fn_depend_rules
7270 wine_fn_clean_rules $ac_clean
7271 else
7272 wine_fn_disabled_rules $ac_clean
7273 return
7275 else
7276 wine_fn_all_rules
7277 wine_fn_clean_rules $ac_clean
7278 wine_fn_append_rule \
7279 "$ac_dir: __builddeps__
7280 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7281 @cd $ac_dir && \$(MAKE) \$@
7282 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7283 install install-lib:: $ac_dir/install-lib
7284 __uninstall__: $ac_dir/uninstall"
7285 if test -n "$DLLEXT"
7286 then
7287 wine_fn_append_rule \
7288 "$ac_dir/install-lib:: $ac_dir
7289 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7290 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7291 $ac_dir/uninstall::
7292 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7293 else
7294 wine_fn_append_rule \
7295 "$ac_dir/install-lib:: $ac_dir
7296 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7297 $ac_dir/uninstall::
7298 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7301 wine_fn_pot_rules
7304 if wine_fn_has_flag staticimplib
7305 then
7306 wine_fn_append_rule \
7307 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7308 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7309 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7310 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7311 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7312 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7313 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7314 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7315 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7316 $ac_dir/uninstall::
7317 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7318 install install-dev:: $ac_dir/install-dev
7319 __uninstall__: $ac_dir/uninstall"
7321 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7322 then
7323 wine_fn_append_rule \
7324 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7325 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7326 $ac_dir/uninstall::
7327 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7330 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7331 then
7332 wine_fn_append_rule \
7333 "__builddeps__: $ac_file.cross.a
7334 $ac_file.cross.a: $ac_dir/Makefile dummy
7335 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7338 elif wine_fn_has_flag implib
7339 then
7340 wine_fn_append_rule \
7341 "__builddeps__: $ac_file.$IMPLIBEXT
7342 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7343 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7344 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7345 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7346 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7347 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7348 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7349 $ac_dir/uninstall::
7350 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7351 install install-dev:: $ac_dir/install-dev
7352 __uninstall__: $ac_dir/uninstall"
7353 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7354 then
7355 wine_fn_append_rule \
7356 "__builddeps__: $ac_file.cross.a
7357 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7358 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7361 if test "$ac_name" != "$ac_implib"
7362 then
7363 wine_fn_append_rule \
7364 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7365 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7366 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7367 clean::
7368 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7369 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7370 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7371 then
7372 wine_fn_append_rule \
7373 "__builddeps__: dlls/lib$ac_implib.cross.a
7374 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7375 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7376 clean::
7377 \$(RM) dlls/lib$ac_implib.cross.a"
7378 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7384 wine_fn_config_program ()
7386 ac_name=$1
7387 ac_dir=programs/$ac_name
7388 ac_enable=$2
7389 ac_flags=$3
7390 ac_program=$ac_name
7392 case $ac_name in
7393 *.*) ;;
7394 *) ac_program=$ac_program.exe ;;
7395 esac
7397 ac_clean=
7398 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7399 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7400 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7401 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7403 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7404 wine_fn_disabled_rules $ac_clean; return
7407 wine_fn_all_rules
7408 wine_fn_clean_rules $ac_clean
7409 wine_fn_append_rule "$ac_dir: __builddeps__"
7410 wine_fn_pot_rules
7412 wine_fn_has_flag install || return
7413 wine_fn_append_rule \
7414 ".PHONY: $ac_dir/install $ac_dir/uninstall
7415 install install-lib:: $ac_dir/install
7416 __uninstall__: $ac_dir/uninstall"
7418 if test -n "$DLLEXT"
7419 then
7420 wine_fn_append_rule \
7421 "$ac_dir/install:: $ac_dir
7422 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7423 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7424 $ac_dir/uninstall::
7425 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7427 if test -z "$with_wine64" && wine_fn_has_flag installbin
7428 then
7429 wine_fn_append_rule \
7430 "$ac_dir/install:: __tooldeps__
7431 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7432 $ac_dir/uninstall::
7433 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7435 else
7436 wine_fn_append_rule \
7437 "$ac_dir/install:: $ac_dir
7438 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7439 $ac_dir/uninstall::
7440 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7443 if test -z "$with_wine64" && wine_fn_has_flag manpage
7444 then
7445 wine_fn_append_rule \
7446 "$ac_dir/install:: $ac_dir
7447 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7448 $ac_dir/uninstall::
7449 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7453 wine_fn_config_test ()
7455 ac_dir=$1
7456 ac_name=$2
7457 ac_flags=$3
7459 ac_clean=
7460 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7461 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7463 if test "x$enable_tests" = xno; then :
7464 wine_fn_disabled_rules $ac_clean; return
7467 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7468 wine_fn_all_rules
7469 wine_fn_clean_rules $ac_clean
7471 wine_fn_append_rule \
7472 "$ac_dir: programs/winetest/Makefile __builddeps__
7473 programs/winetest: $ac_dir
7474 check test: $ac_dir/test
7475 .PHONY: $ac_dir/test
7476 $ac_dir/test: dummy
7477 @cd $ac_dir && \$(MAKE) test
7478 testclean::
7479 \$(RM) $ac_dir/*.ok"
7481 if test -n "$CROSSTARGET"
7482 then
7483 wine_fn_append_rule \
7484 "crosstest: $ac_dir/crosstest
7485 .PHONY: $ac_dir/crosstest
7486 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7487 @cd $ac_dir && \$(MAKE) crosstest"
7491 wine_fn_config_tool ()
7493 ac_dir=$1
7494 ac_flags=$2
7495 if test "x$enable_tools" = xno; then :
7496 return
7499 wine_fn_all_rules
7500 wine_fn_install_rules
7501 wine_fn_clean_rules
7503 wine_fn_append_rule "__tooldeps__: $ac_dir"
7504 wine_fn_append_rule "$ac_dir: libs/port"
7505 case $ac_dir in
7506 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7507 esac
7510 wine_fn_config_symlink ()
7512 ac_linkdir=
7513 if test "x$1" = "x-d"
7514 then
7515 ac_linkdir=$2
7516 shift; shift
7518 ac_links=$@
7519 wine_fn_append_rule \
7520 "$ac_links:
7521 @./config.status \$@
7522 distclean::
7523 \$(RM) $ac_links"
7524 for f in $ac_links; do wine_fn_ignore_file $f; done
7525 test -n "$ac_linkdir" || return
7526 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7529 wine_binary="wine"
7530 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7531 loader_programs="$wine_binary wine-installed"
7532 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7534 LOADER_RULES="
7535 install install-lib:: wine-installed
7536 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7538 uninstall::
7539 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7543 case $host_os in
7544 cygwin*|mingw32*)
7545 if test -n "$ac_tool_prefix"; then
7546 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7547 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7549 $as_echo_n "checking for $ac_word... " >&6; }
7550 if ${ac_cv_prog_DLLTOOL+:} false; then :
7551 $as_echo_n "(cached) " >&6
7552 else
7553 if test -n "$DLLTOOL"; then
7554 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7555 else
7556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7557 for as_dir in $PATH
7559 IFS=$as_save_IFS
7560 test -z "$as_dir" && as_dir=.
7561 for ac_exec_ext in '' $ac_executable_extensions; do
7562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7563 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7565 break 2
7567 done
7568 done
7569 IFS=$as_save_IFS
7573 DLLTOOL=$ac_cv_prog_DLLTOOL
7574 if test -n "$DLLTOOL"; then
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7576 $as_echo "$DLLTOOL" >&6; }
7577 else
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7579 $as_echo "no" >&6; }
7584 if test -z "$ac_cv_prog_DLLTOOL"; then
7585 ac_ct_DLLTOOL=$DLLTOOL
7586 # Extract the first word of "dlltool", so it can be a program name with args.
7587 set dummy dlltool; ac_word=$2
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7589 $as_echo_n "checking for $ac_word... " >&6; }
7590 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7591 $as_echo_n "(cached) " >&6
7592 else
7593 if test -n "$ac_ct_DLLTOOL"; then
7594 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7595 else
7596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7597 for as_dir in $PATH
7599 IFS=$as_save_IFS
7600 test -z "$as_dir" && as_dir=.
7601 for ac_exec_ext in '' $ac_executable_extensions; do
7602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7603 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7605 break 2
7607 done
7608 done
7609 IFS=$as_save_IFS
7613 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7614 if test -n "$ac_ct_DLLTOOL"; then
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7616 $as_echo "$ac_ct_DLLTOOL" >&6; }
7617 else
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7619 $as_echo "no" >&6; }
7622 if test "x$ac_ct_DLLTOOL" = x; then
7623 DLLTOOL="false"
7624 else
7625 case $cross_compiling:$ac_tool_warned in
7626 yes:)
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7629 ac_tool_warned=yes ;;
7630 esac
7631 DLLTOOL=$ac_ct_DLLTOOL
7633 else
7634 DLLTOOL="$ac_cv_prog_DLLTOOL"
7637 LIBEXT="dll"
7638 DLLEXT=""
7639 IMPLIBEXT="a"
7640 STATIC_IMPLIBEXT="a"
7641 enable_iphlpapi=${enable_iphlpapi:-no}
7642 enable_kernel32=${enable_kernel32:-no}
7643 enable_msvcrt=${enable_msvcrt:-no}
7644 enable_ntdll=${enable_ntdll:-no}
7645 enable_ws2_32=${enable_ws2_32:-no}
7646 enable_loader=${enable_loader:-no}
7647 enable_server=${enable_server:-no}
7648 with_x=${with_x:-no}
7649 with_pthread=${with_pthread:-no}
7651 crtlibs=""
7652 case $host_os in
7653 mingw32*)
7654 crtlibs="-lmsvcrt"
7655 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7657 esac
7659 libwine_targets="libwine.dll libwine.a"
7660 LIBWINE_RULES="
7661 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7663 all: libwine.dll libwine.a
7665 libwine.a: \$(srcdir)/wine.def
7666 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7668 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7669 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7671 install install-lib:: libwine.dll
7672 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7674 install install-dev:: libwine.a
7675 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7677 uninstall::
7678 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7683 darwin*|macosx*)
7684 LIBEXT="dylib"
7685 DLLFLAGS="$DLLFLAGS -fPIC"
7686 LIBWINE_LDFLAGS="-multiply_defined suppress"
7687 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7688 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7689 COREFOUNDATION_LIBS="-framework CoreFoundation"
7691 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7693 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7695 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7697 CORESERVICES_LIBS="-framework CoreServices"
7699 APPKIT_LIBS="-framework AppKit"
7701 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7702 case $host_os in
7703 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7704 esac
7705 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7706 then
7707 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7710 if test "$ac_cv_header_Security_Security_h" = "yes"
7711 then
7712 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7714 ac_save_LIBS="$LIBS"
7715 LIBS="$LIBS $SECURITY_LIBS"
7716 for ac_func in SSLCopyPeerCertificates
7717 do :
7718 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7719 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7720 cat >>confdefs.h <<_ACEOF
7721 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7722 _ACEOF
7725 done
7727 LIBS="$ac_save_LIBS"
7728 with_gnutls=${with_gnutls:-no}
7730 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7731 then
7732 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7733 then
7734 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7736 else
7737 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7740 ac_save_LIBS="$LIBS"
7741 LIBS="$LIBS $COREAUDIO_LIBS"
7742 for ac_func in AUGraphAddNode
7743 do :
7744 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7745 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7746 cat >>confdefs.h <<_ACEOF
7747 #define HAVE_AUGRAPHADDNODE 1
7748 _ACEOF
7751 done
7753 LIBS="$ac_save_LIBS"
7755 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7756 then
7757 OPENAL_LIBS="-framework OpenAL"
7760 cat >>confdefs.h <<_ACEOF
7761 #define HAVE_OPENAL 1
7762 _ACEOF
7764 ac_cv_lib_openal=yes
7766 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7767 then
7768 OPENCL_LIBS="-framework OpenCL"
7770 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7772 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7773 then
7774 ac_save_LIBS="$LIBS"
7775 LIBS="$LIBS $IOKIT_LIBS"
7776 for ac_func in IOHIDManagerCreate
7777 do :
7778 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7779 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7780 cat >>confdefs.h <<_ACEOF
7781 #define HAVE_IOHIDMANAGERCREATE 1
7782 _ACEOF
7785 done
7787 LIBS="$ac_save_LIBS"
7789 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7790 then
7791 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7793 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7794 else
7795 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7797 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7798 then
7799 CARBON_LIBS="-framework Carbon"
7803 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7804 then
7805 ac_save_LIBS="$LIBS"
7806 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7807 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7808 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7809 enable_winemac_drv=${enable_winemac_drv:-yes}
7812 LIBS="$ac_save_LIBS"
7815 if test "x$enable_win16" = "xyes"
7816 then
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7818 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7819 if test "$cross_compiling" = yes; then :
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7821 $as_echo "cross-compiling, assuming yes" >&6; }
7822 else
7823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7824 /* end confdefs.h. */
7825 asm(".text\n"
7826 "bad:\tnop;nop\n"
7827 "good:\tnop;nop\n\t"
7828 ".globl _testfunc\n"
7829 "_testfunc:\tcallw good");
7830 extern void testfunc();
7832 main ()
7834 unsigned short *p = (unsigned short *)testfunc;
7835 return p[0] != 0xe866 || p[1] != 0xfffa
7837 return 0;
7839 _ACEOF
7840 if ac_fn_c_try_run "$LINENO"; then :
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7842 $as_echo "yes" >&6; }
7843 else
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7845 $as_echo "no" >&6; }
7846 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
7848 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7849 conftest.$ac_objext conftest.beam conftest.$ac_ext
7854 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7855 LIBWINE_RULES="
7856 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7858 all: libwine.dylib
7860 libwine.$libwine_version.dylib: \$(OBJS)
7861 \$(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 \$@
7863 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7864 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7866 libwine.dylib: libwine.$libwine_soversion.dylib
7867 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7869 install install-lib:: libwine.$libwine_version.dylib
7870 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7871 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7873 install install-dev::
7874 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7876 uninstall::
7877 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7881 as_fn_append LOADER_RULES "
7882 $wine_binary: main.o wine_info.plist
7883 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7885 wine-installed: main.o wine_info.plist
7886 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7890 linux-android*)
7891 DLLFLAGS="$DLLFLAGS -fPIC"
7892 DLLPREFIX="lib"
7893 LDEXECFLAGS=""
7894 dlldir="\${libdir}"
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7896 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7897 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7898 $as_echo_n "(cached) " >&6
7899 else
7900 ac_wine_try_cflags_saved=$CFLAGS
7901 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7903 /* end confdefs.h. */
7904 int main(int argc, char **argv) { return 0; }
7905 _ACEOF
7906 if ac_fn_c_try_link "$LINENO"; then :
7907 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7908 else
7909 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7911 rm -f core conftest.err conftest.$ac_objext \
7912 conftest$ac_exeext conftest.$ac_ext
7913 CFLAGS=$ac_wine_try_cflags_saved
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7916 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7917 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7918 LDEXECFLAGS="-Wl,--export-dynamic"
7920 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7922 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7923 if eval \${$as_ac_var+:} false; then :
7924 $as_echo_n "(cached) " >&6
7925 else
7926 ac_wine_try_cflags_saved=$CFLAGS
7927 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7929 /* end confdefs.h. */
7930 int main(int argc, char **argv) { return 0; }
7931 _ACEOF
7932 if ac_fn_c_try_link "$LINENO"; then :
7933 eval "$as_ac_var=yes"
7934 else
7935 eval "$as_ac_var=no"
7937 rm -f core conftest.err conftest.$ac_objext \
7938 conftest$ac_exeext conftest.$ac_ext
7939 CFLAGS=$ac_wine_try_cflags_saved
7941 eval ac_res=\$$as_ac_var
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7943 $as_echo "$ac_res" >&6; }
7944 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7945 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7946 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7947 else
7948 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7950 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7951 if eval \${$as_ac_var+:} false; then :
7952 $as_echo_n "(cached) " >&6
7953 else
7954 ac_wine_try_cflags_saved=$CFLAGS
7955 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7957 /* end confdefs.h. */
7958 int main(int argc, char **argv) { return 0; }
7959 _ACEOF
7960 if ac_fn_c_try_link "$LINENO"; then :
7961 eval "$as_ac_var=yes"
7962 else
7963 eval "$as_ac_var=no"
7965 rm -f core conftest.err conftest.$ac_objext \
7966 conftest$ac_exeext conftest.$ac_ext
7967 CFLAGS=$ac_wine_try_cflags_saved
7969 eval ac_res=\$$as_ac_var
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7971 $as_echo "$ac_res" >&6; }
7972 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7973 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7974 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7979 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7980 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7981 $as_echo_n "(cached) " >&6
7982 else
7983 ac_wine_try_cflags_saved=$CFLAGS
7984 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7986 /* end confdefs.h. */
7987 int main(int argc, char **argv) { return 0; }
7988 _ACEOF
7989 if ac_fn_c_try_link "$LINENO"; then :
7990 ac_cv_cflags__Wl___enable_new_dtags=yes
7991 else
7992 ac_cv_cflags__Wl___enable_new_dtags=no
7994 rm -f core conftest.err conftest.$ac_objext \
7995 conftest$ac_exeext conftest.$ac_ext
7996 CFLAGS=$ac_wine_try_cflags_saved
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7999 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8000 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8001 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8004 case $host_cpu in
8005 *i[3456789]86* | x86_64)
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8007 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8008 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8009 $as_echo_n "(cached) " >&6
8010 else
8011 ac_wine_try_cflags_saved=$CFLAGS
8012 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8014 /* end confdefs.h. */
8015 int main(int argc, char **argv) { return 0; }
8016 _ACEOF
8017 if ac_fn_c_try_link "$LINENO"; then :
8018 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8019 else
8020 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8022 rm -f core conftest.err conftest.$ac_objext \
8023 conftest$ac_exeext conftest.$ac_ext
8024 CFLAGS=$ac_wine_try_cflags_saved
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8027 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8028 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8029 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8032 esac
8034 libwine_targets="libwine.so"
8035 LIBWINE_RULES="
8036 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8038 all: libwine.so
8040 libwine.so: \$(OBJS)
8041 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8043 install install-lib:: libwine.so
8044 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8046 uninstall::
8047 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8051 as_fn_append LOADER_RULES "
8052 $wine_binary: main.o
8053 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8055 wine-installed: main.o
8056 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8061 DLLFLAGS="$DLLFLAGS -fPIC"
8062 LDEXECFLAGS=""
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8064 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8065 if ${ac_cv_c_dll_gnuelf+:} false; then :
8066 $as_echo_n "(cached) " >&6
8067 else
8068 ac_wine_try_cflags_saved=$CFLAGS
8069 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8071 /* end confdefs.h. */
8072 void myfunc() {}
8073 _ACEOF
8074 if ac_fn_c_try_link "$LINENO"; then :
8075 ac_cv_c_dll_gnuelf="yes"
8076 else
8077 ac_cv_c_dll_gnuelf="no"
8079 rm -f core conftest.err conftest.$ac_objext \
8080 conftest$ac_exeext conftest.$ac_ext
8081 CFLAGS=$ac_wine_try_cflags_saved
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8084 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8085 if test "$ac_cv_c_dll_gnuelf" = "yes"
8086 then
8087 LDSHARED="\$(CC) -shared"
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8089 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8090 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8091 $as_echo_n "(cached) " >&6
8092 else
8093 ac_wine_try_cflags_saved=$CFLAGS
8094 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8096 /* end confdefs.h. */
8097 int main(int argc, char **argv) { return 0; }
8098 _ACEOF
8099 if ac_fn_c_try_link "$LINENO"; then :
8100 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8101 else
8102 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8104 rm -f core conftest.err conftest.$ac_objext \
8105 conftest$ac_exeext conftest.$ac_ext
8106 CFLAGS=$ac_wine_try_cflags_saved
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8109 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8110 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8111 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8112 else
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8114 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8115 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8116 $as_echo_n "(cached) " >&6
8117 else
8118 ac_wine_try_cflags_saved=$CFLAGS
8119 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8121 /* end confdefs.h. */
8122 int main(int argc, char **argv) { return 0; }
8123 _ACEOF
8124 if ac_fn_c_try_link "$LINENO"; then :
8125 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8126 else
8127 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8129 rm -f core conftest.err conftest.$ac_objext \
8130 conftest$ac_exeext conftest.$ac_ext
8131 CFLAGS=$ac_wine_try_cflags_saved
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8134 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8135 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8136 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8140 echo '{ global: *; };' >conftest.map
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8142 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8143 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8144 $as_echo_n "(cached) " >&6
8145 else
8146 ac_wine_try_cflags_saved=$CFLAGS
8147 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8149 /* end confdefs.h. */
8150 int main(int argc, char **argv) { return 0; }
8151 _ACEOF
8152 if ac_fn_c_try_link "$LINENO"; then :
8153 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8154 else
8155 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8157 rm -f core conftest.err conftest.$ac_objext \
8158 conftest$ac_exeext conftest.$ac_ext
8159 CFLAGS=$ac_wine_try_cflags_saved
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8162 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8163 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8164 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8166 rm -f conftest.map
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8169 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8170 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8171 $as_echo_n "(cached) " >&6
8172 else
8173 ac_wine_try_cflags_saved=$CFLAGS
8174 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8176 /* end confdefs.h. */
8177 int main(int argc, char **argv) { return 0; }
8178 _ACEOF
8179 if ac_fn_c_try_link "$LINENO"; then :
8180 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8181 else
8182 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8184 rm -f core conftest.err conftest.$ac_objext \
8185 conftest$ac_exeext conftest.$ac_ext
8186 CFLAGS=$ac_wine_try_cflags_saved
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8189 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8190 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8191 LDEXECFLAGS="-Wl,--export-dynamic"
8194 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8196 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8197 if eval \${$as_ac_var+:} false; then :
8198 $as_echo_n "(cached) " >&6
8199 else
8200 ac_wine_try_cflags_saved=$CFLAGS
8201 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8203 /* end confdefs.h. */
8204 int main(int argc, char **argv) { return 0; }
8205 _ACEOF
8206 if ac_fn_c_try_link "$LINENO"; then :
8207 eval "$as_ac_var=yes"
8208 else
8209 eval "$as_ac_var=no"
8211 rm -f core conftest.err conftest.$ac_objext \
8212 conftest$ac_exeext conftest.$ac_ext
8213 CFLAGS=$ac_wine_try_cflags_saved
8215 eval ac_res=\$$as_ac_var
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8217 $as_echo "$ac_res" >&6; }
8218 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8219 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8220 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8221 else
8222 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8224 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8225 if eval \${$as_ac_var+:} false; then :
8226 $as_echo_n "(cached) " >&6
8227 else
8228 ac_wine_try_cflags_saved=$CFLAGS
8229 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8231 /* end confdefs.h. */
8232 int main(int argc, char **argv) { return 0; }
8233 _ACEOF
8234 if ac_fn_c_try_link "$LINENO"; then :
8235 eval "$as_ac_var=yes"
8236 else
8237 eval "$as_ac_var=no"
8239 rm -f core conftest.err conftest.$ac_objext \
8240 conftest$ac_exeext conftest.$ac_ext
8241 CFLAGS=$ac_wine_try_cflags_saved
8243 eval ac_res=\$$as_ac_var
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8245 $as_echo "$ac_res" >&6; }
8246 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8247 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8248 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8253 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8254 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8255 $as_echo_n "(cached) " >&6
8256 else
8257 ac_wine_try_cflags_saved=$CFLAGS
8258 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8260 /* end confdefs.h. */
8261 int main(int argc, char **argv) { return 0; }
8262 _ACEOF
8263 if ac_fn_c_try_link "$LINENO"; then :
8264 ac_cv_cflags__Wl___enable_new_dtags=yes
8265 else
8266 ac_cv_cflags__Wl___enable_new_dtags=no
8268 rm -f core conftest.err conftest.$ac_objext \
8269 conftest$ac_exeext conftest.$ac_ext
8270 CFLAGS=$ac_wine_try_cflags_saved
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8273 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8274 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8275 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8278 case $host_cpu in
8279 *i[3456789]86* | x86_64)
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8281 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8282 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8283 $as_echo_n "(cached) " >&6
8284 else
8285 ac_wine_try_cflags_saved=$CFLAGS
8286 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8288 /* end confdefs.h. */
8289 int main(int argc, char **argv) { return 0; }
8290 _ACEOF
8291 if ac_fn_c_try_link "$LINENO"; then :
8292 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8293 else
8294 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8296 rm -f core conftest.err conftest.$ac_objext \
8297 conftest$ac_exeext conftest.$ac_ext
8298 CFLAGS=$ac_wine_try_cflags_saved
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8301 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8302 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8303 case $host_os in
8304 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8305 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8306 esac
8309 # Extract the first word of "prelink", so it can be a program name with args.
8310 set dummy prelink; ac_word=$2
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8312 $as_echo_n "checking for $ac_word... " >&6; }
8313 if ${ac_cv_path_PRELINK+:} false; then :
8314 $as_echo_n "(cached) " >&6
8315 else
8316 case $PRELINK in
8317 [\\/]* | ?:[\\/]*)
8318 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8322 for as_dir in /sbin /usr/sbin $PATH
8324 IFS=$as_save_IFS
8325 test -z "$as_dir" && as_dir=.
8326 for ac_exec_ext in '' $ac_executable_extensions; do
8327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8328 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8330 break 2
8332 done
8333 done
8334 IFS=$as_save_IFS
8336 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8338 esac
8340 PRELINK=$ac_cv_path_PRELINK
8341 if test -n "$PRELINK"; then
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8343 $as_echo "$PRELINK" >&6; }
8344 else
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8346 $as_echo "no" >&6; }
8350 if test "x$PRELINK" = xfalse
8351 then
8352 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8355 esac
8357 else
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8359 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8360 if ${ac_cv_c_dll_unixware+:} false; then :
8361 $as_echo_n "(cached) " >&6
8362 else
8363 ac_wine_try_cflags_saved=$CFLAGS
8364 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8366 /* end confdefs.h. */
8367 void myfunc() {}
8368 _ACEOF
8369 if ac_fn_c_try_link "$LINENO"; then :
8370 ac_cv_c_dll_unixware="yes"
8371 else
8372 ac_cv_c_dll_unixware="no"
8374 rm -f core conftest.err conftest.$ac_objext \
8375 conftest$ac_exeext conftest.$ac_ext
8376 CFLAGS=$ac_wine_try_cflags_saved
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8379 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8380 if test "$ac_cv_c_dll_unixware" = "yes"
8381 then
8382 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8385 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8386 LIBWINE_RULES="
8387 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8389 all: libwine.so
8391 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8392 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8394 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8395 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8397 libwine.so: libwine.so.$libwine_soversion
8398 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8400 install install-lib:: libwine.so.$libwine_version
8401 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8402 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8404 install install-dev::
8405 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8407 uninstall::
8408 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8412 as_fn_append LOADER_RULES "
8413 $wine_binary: main.o
8414 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8416 wine-installed: main.o
8417 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8420 esac
8422 as_fn_append LIBWINE_RULES "
8423 EXTRA_TARGETS = $libwine_targets
8426 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8427 enable_winemac_drv=${enable_winemac_drv:-no}
8429 CROSSTARGET=""
8431 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8432 then
8433 case "$host_cpu" in
8434 i[3456789]86*)
8435 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
8436 mingw32-gcc" ;;
8437 x86_64)
8438 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 " ;;
8440 ac_prefix_list="" ;;
8441 esac
8442 for ac_prog in $ac_prefix_list
8444 # Extract the first word of "$ac_prog", so it can be a program name with args.
8445 set dummy $ac_prog; ac_word=$2
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8447 $as_echo_n "checking for $ac_word... " >&6; }
8448 if ${ac_cv_prog_CROSSCC+:} false; then :
8449 $as_echo_n "(cached) " >&6
8450 else
8451 if test -n "$CROSSCC"; then
8452 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8453 else
8454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8455 for as_dir in $PATH
8457 IFS=$as_save_IFS
8458 test -z "$as_dir" && as_dir=.
8459 for ac_exec_ext in '' $ac_executable_extensions; do
8460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8461 ac_cv_prog_CROSSCC="$ac_prog"
8462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8463 break 2
8465 done
8466 done
8467 IFS=$as_save_IFS
8471 CROSSCC=$ac_cv_prog_CROSSCC
8472 if test -n "$CROSSCC"; then
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8474 $as_echo "$CROSSCC" >&6; }
8475 else
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8477 $as_echo "no" >&6; }
8481 test -n "$CROSSCC" && break
8482 done
8483 test -n "$CROSSCC" || CROSSCC="false"
8485 if test "$CROSSCC" != "false"
8486 then
8487 ac_save_CC="$CC"
8488 CC="$CROSSCC"
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8490 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8492 /* end confdefs.h. */
8495 main ()
8499 return 0;
8501 _ACEOF
8502 if ac_fn_c_try_compile "$LINENO"; then :
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8504 $as_echo "yes" >&6; }
8505 set x $CROSSCC
8506 shift
8507 while test $# -ge 1
8509 case "$1" in
8510 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8511 esac
8512 shift
8513 done
8514 else
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8516 $as_echo "no" >&6; }
8518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8519 CC="$ac_save_CC"
8524 if test "$ac_cv_header_pthread_h" = "yes"
8525 then
8526 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8527 if test "x$ac_cv_func_pthread_create" = xyes; then :
8529 else
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8531 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8532 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8533 $as_echo_n "(cached) " >&6
8534 else
8535 ac_check_lib_save_LIBS=$LIBS
8536 LIBS="-lpthread $LIBS"
8537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8538 /* end confdefs.h. */
8540 /* Override any GCC internal prototype to avoid an error.
8541 Use char because int might match the return type of a GCC
8542 builtin and then its argument prototype would still apply. */
8543 #ifdef __cplusplus
8544 extern "C"
8545 #endif
8546 char pthread_create ();
8548 main ()
8550 return pthread_create ();
8552 return 0;
8554 _ACEOF
8555 if ac_fn_c_try_link "$LINENO"; then :
8556 ac_cv_lib_pthread_pthread_create=yes
8557 else
8558 ac_cv_lib_pthread_pthread_create=no
8560 rm -f core conftest.err conftest.$ac_objext \
8561 conftest$ac_exeext conftest.$ac_ext
8562 LIBS=$ac_check_lib_save_LIBS
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8565 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8566 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8567 PTHREAD_LIBS="-lpthread"
8574 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8575 case "x$with_pthread" in
8576 xno) ;;
8577 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8578 Wine cannot support threads without libpthread.
8579 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8580 esac
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8585 $as_echo_n "checking for X... " >&6; }
8588 # Check whether --with-x was given.
8589 if test "${with_x+set}" = set; then :
8590 withval=$with_x;
8593 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8594 if test "x$with_x" = xno; then
8595 # The user explicitly disabled X.
8596 have_x=disabled
8597 else
8598 case $x_includes,$x_libraries in #(
8599 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8600 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8601 $as_echo_n "(cached) " >&6
8602 else
8603 # One or both of the vars are not set, and there is no cached value.
8604 ac_x_includes=no ac_x_libraries=no
8605 rm -f -r conftest.dir
8606 if mkdir conftest.dir; then
8607 cd conftest.dir
8608 cat >Imakefile <<'_ACEOF'
8609 incroot:
8610 @echo incroot='${INCROOT}'
8611 usrlibdir:
8612 @echo usrlibdir='${USRLIBDIR}'
8613 libdir:
8614 @echo libdir='${LIBDIR}'
8615 _ACEOF
8616 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8617 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8618 for ac_var in incroot usrlibdir libdir; do
8619 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8620 done
8621 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8622 for ac_extension in a so sl dylib la dll; do
8623 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8624 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8625 ac_im_usrlibdir=$ac_im_libdir; break
8627 done
8628 # Screen out bogus values from the imake configuration. They are
8629 # bogus both because they are the default anyway, and because
8630 # using them would break gcc on systems where it needs fixed includes.
8631 case $ac_im_incroot in
8632 /usr/include) ac_x_includes= ;;
8633 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8634 esac
8635 case $ac_im_usrlibdir in
8636 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8637 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8638 esac
8640 cd ..
8641 rm -f -r conftest.dir
8644 # Standard set of common directories for X headers.
8645 # Check X11 before X11Rn because it is often a symlink to the current release.
8646 ac_x_header_dirs='
8647 /usr/X11/include
8648 /usr/X11R7/include
8649 /usr/X11R6/include
8650 /usr/X11R5/include
8651 /usr/X11R4/include
8653 /usr/include/X11
8654 /usr/include/X11R7
8655 /usr/include/X11R6
8656 /usr/include/X11R5
8657 /usr/include/X11R4
8659 /usr/local/X11/include
8660 /usr/local/X11R7/include
8661 /usr/local/X11R6/include
8662 /usr/local/X11R5/include
8663 /usr/local/X11R4/include
8665 /usr/local/include/X11
8666 /usr/local/include/X11R7
8667 /usr/local/include/X11R6
8668 /usr/local/include/X11R5
8669 /usr/local/include/X11R4
8671 /usr/X386/include
8672 /usr/x386/include
8673 /usr/XFree86/include/X11
8675 /usr/include
8676 /usr/local/include
8677 /usr/unsupported/include
8678 /usr/athena/include
8679 /usr/local/x11r5/include
8680 /usr/lpp/Xamples/include
8682 /usr/openwin/include
8683 /usr/openwin/share/include'
8685 if test "$ac_x_includes" = no; then
8686 # Guess where to find include files, by looking for Xlib.h.
8687 # First, try using that file with no special directory specified.
8688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8689 /* end confdefs.h. */
8690 #include <X11/Xlib.h>
8691 _ACEOF
8692 if ac_fn_c_try_cpp "$LINENO"; then :
8693 # We can compile using X headers with no special include directory.
8694 ac_x_includes=
8695 else
8696 for ac_dir in $ac_x_header_dirs; do
8697 if test -r "$ac_dir/X11/Xlib.h"; then
8698 ac_x_includes=$ac_dir
8699 break
8701 done
8703 rm -f conftest.err conftest.i conftest.$ac_ext
8704 fi # $ac_x_includes = no
8706 if test "$ac_x_libraries" = no; then
8707 # Check for the libraries.
8708 # See if we find them without any special options.
8709 # Don't add to $LIBS permanently.
8710 ac_save_LIBS=$LIBS
8711 LIBS="-lX11 $LIBS"
8712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8713 /* end confdefs.h. */
8714 #include <X11/Xlib.h>
8716 main ()
8718 XrmInitialize ()
8720 return 0;
8722 _ACEOF
8723 if ac_fn_c_try_link "$LINENO"; then :
8724 LIBS=$ac_save_LIBS
8725 # We can link X programs with no special library path.
8726 ac_x_libraries=
8727 else
8728 LIBS=$ac_save_LIBS
8729 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8731 # Don't even attempt the hair of trying to link an X program!
8732 for ac_extension in a so sl dylib la dll; do
8733 if test -r "$ac_dir/libX11.$ac_extension"; then
8734 ac_x_libraries=$ac_dir
8735 break 2
8737 done
8738 done
8740 rm -f core conftest.err conftest.$ac_objext \
8741 conftest$ac_exeext conftest.$ac_ext
8742 fi # $ac_x_libraries = no
8744 case $ac_x_includes,$ac_x_libraries in #(
8745 no,* | *,no | *\'*)
8746 # Didn't find X, or a directory has "'" in its name.
8747 ac_cv_have_x="have_x=no";; #(
8749 # Record where we found X for the cache.
8750 ac_cv_have_x="have_x=yes\
8751 ac_x_includes='$ac_x_includes'\
8752 ac_x_libraries='$ac_x_libraries'"
8753 esac
8755 ;; #(
8756 *) have_x=yes;;
8757 esac
8758 eval "$ac_cv_have_x"
8759 fi # $with_x != no
8761 if test "$have_x" != yes; then
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8763 $as_echo "$have_x" >&6; }
8764 no_x=yes
8765 else
8766 # If each of the values was on the command line, it overrides each guess.
8767 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8768 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8769 # Update the cache value to reflect the command line values.
8770 ac_cv_have_x="have_x=yes\
8771 ac_x_includes='$x_includes'\
8772 ac_x_libraries='$x_libraries'"
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8774 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8777 if test "$no_x" = yes; then
8778 # Not all programs may use this symbol, but it does not hurt to define it.
8780 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8782 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8783 else
8784 if test -n "$x_includes"; then
8785 X_CFLAGS="$X_CFLAGS -I$x_includes"
8788 # It would also be nice to do this for all -L options, not just this one.
8789 if test -n "$x_libraries"; then
8790 X_LIBS="$X_LIBS -L$x_libraries"
8791 # For Solaris; some versions of Sun CC require a space after -R and
8792 # others require no space. Words are not sufficient . . . .
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8794 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8795 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8796 ac_xsave_c_werror_flag=$ac_c_werror_flag
8797 ac_c_werror_flag=yes
8798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8799 /* end confdefs.h. */
8802 main ()
8806 return 0;
8808 _ACEOF
8809 if ac_fn_c_try_link "$LINENO"; then :
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8811 $as_echo "no" >&6; }
8812 X_LIBS="$X_LIBS -R$x_libraries"
8813 else
8814 LIBS="$ac_xsave_LIBS -R $x_libraries"
8815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8816 /* end confdefs.h. */
8819 main ()
8823 return 0;
8825 _ACEOF
8826 if ac_fn_c_try_link "$LINENO"; then :
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8828 $as_echo "yes" >&6; }
8829 X_LIBS="$X_LIBS -R $x_libraries"
8830 else
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8832 $as_echo "neither works" >&6; }
8834 rm -f core conftest.err conftest.$ac_objext \
8835 conftest$ac_exeext conftest.$ac_ext
8837 rm -f core conftest.err conftest.$ac_objext \
8838 conftest$ac_exeext conftest.$ac_ext
8839 ac_c_werror_flag=$ac_xsave_c_werror_flag
8840 LIBS=$ac_xsave_LIBS
8843 # Check for system-dependent libraries X programs must link with.
8844 # Do this before checking for the system-independent R6 libraries
8845 # (-lICE), since we may need -lsocket or whatever for X linking.
8847 if test "$ISC" = yes; then
8848 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8849 else
8850 # Martyn Johnson says this is needed for Ultrix, if the X
8851 # libraries were built with DECnet support. And Karl Berry says
8852 # the Alpha needs dnet_stub (dnet does not exist).
8853 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8855 /* end confdefs.h. */
8857 /* Override any GCC internal prototype to avoid an error.
8858 Use char because int might match the return type of a GCC
8859 builtin and then its argument prototype would still apply. */
8860 #ifdef __cplusplus
8861 extern "C"
8862 #endif
8863 char XOpenDisplay ();
8865 main ()
8867 return XOpenDisplay ();
8869 return 0;
8871 _ACEOF
8872 if ac_fn_c_try_link "$LINENO"; then :
8874 else
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8876 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8877 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8878 $as_echo_n "(cached) " >&6
8879 else
8880 ac_check_lib_save_LIBS=$LIBS
8881 LIBS="-ldnet $LIBS"
8882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8883 /* end confdefs.h. */
8885 /* Override any GCC internal prototype to avoid an error.
8886 Use char because int might match the return type of a GCC
8887 builtin and then its argument prototype would still apply. */
8888 #ifdef __cplusplus
8889 extern "C"
8890 #endif
8891 char dnet_ntoa ();
8893 main ()
8895 return dnet_ntoa ();
8897 return 0;
8899 _ACEOF
8900 if ac_fn_c_try_link "$LINENO"; then :
8901 ac_cv_lib_dnet_dnet_ntoa=yes
8902 else
8903 ac_cv_lib_dnet_dnet_ntoa=no
8905 rm -f core conftest.err conftest.$ac_objext \
8906 conftest$ac_exeext conftest.$ac_ext
8907 LIBS=$ac_check_lib_save_LIBS
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8910 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8911 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8912 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8915 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8917 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8918 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8919 $as_echo_n "(cached) " >&6
8920 else
8921 ac_check_lib_save_LIBS=$LIBS
8922 LIBS="-ldnet_stub $LIBS"
8923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8924 /* end confdefs.h. */
8926 /* Override any GCC internal prototype to avoid an error.
8927 Use char because int might match the return type of a GCC
8928 builtin and then its argument prototype would still apply. */
8929 #ifdef __cplusplus
8930 extern "C"
8931 #endif
8932 char dnet_ntoa ();
8934 main ()
8936 return dnet_ntoa ();
8938 return 0;
8940 _ACEOF
8941 if ac_fn_c_try_link "$LINENO"; then :
8942 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8943 else
8944 ac_cv_lib_dnet_stub_dnet_ntoa=no
8946 rm -f core conftest.err conftest.$ac_objext \
8947 conftest$ac_exeext conftest.$ac_ext
8948 LIBS=$ac_check_lib_save_LIBS
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8951 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8952 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8953 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8958 rm -f core conftest.err conftest.$ac_objext \
8959 conftest$ac_exeext conftest.$ac_ext
8960 LIBS="$ac_xsave_LIBS"
8962 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8963 # to get the SysV transport functions.
8964 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8965 # needs -lnsl.
8966 # The nsl library prevents programs from opening the X display
8967 # on Irix 5.2, according to T.E. Dickey.
8968 # The functions gethostbyname, getservbyname, and inet_addr are
8969 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8970 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8971 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8975 if test $ac_cv_func_gethostbyname = no; then
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8977 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8978 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8979 $as_echo_n "(cached) " >&6
8980 else
8981 ac_check_lib_save_LIBS=$LIBS
8982 LIBS="-lnsl $LIBS"
8983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8984 /* end confdefs.h. */
8986 /* Override any GCC internal prototype to avoid an error.
8987 Use char because int might match the return type of a GCC
8988 builtin and then its argument prototype would still apply. */
8989 #ifdef __cplusplus
8990 extern "C"
8991 #endif
8992 char gethostbyname ();
8994 main ()
8996 return gethostbyname ();
8998 return 0;
9000 _ACEOF
9001 if ac_fn_c_try_link "$LINENO"; then :
9002 ac_cv_lib_nsl_gethostbyname=yes
9003 else
9004 ac_cv_lib_nsl_gethostbyname=no
9006 rm -f core conftest.err conftest.$ac_objext \
9007 conftest$ac_exeext conftest.$ac_ext
9008 LIBS=$ac_check_lib_save_LIBS
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9011 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9012 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9013 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9016 if test $ac_cv_lib_nsl_gethostbyname = no; then
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9018 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9019 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9020 $as_echo_n "(cached) " >&6
9021 else
9022 ac_check_lib_save_LIBS=$LIBS
9023 LIBS="-lbsd $LIBS"
9024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9025 /* end confdefs.h. */
9027 /* Override any GCC internal prototype to avoid an error.
9028 Use char because int might match the return type of a GCC
9029 builtin and then its argument prototype would still apply. */
9030 #ifdef __cplusplus
9031 extern "C"
9032 #endif
9033 char gethostbyname ();
9035 main ()
9037 return gethostbyname ();
9039 return 0;
9041 _ACEOF
9042 if ac_fn_c_try_link "$LINENO"; then :
9043 ac_cv_lib_bsd_gethostbyname=yes
9044 else
9045 ac_cv_lib_bsd_gethostbyname=no
9047 rm -f core conftest.err conftest.$ac_objext \
9048 conftest$ac_exeext conftest.$ac_ext
9049 LIBS=$ac_check_lib_save_LIBS
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9052 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9053 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9054 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9060 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9061 # socket/setsockopt and other routines are undefined under SCO ODT
9062 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9063 # on later versions), says Simon Leinen: it contains gethostby*
9064 # variants that don't use the name server (or something). -lsocket
9065 # must be given before -lnsl if both are needed. We assume that
9066 # if connect needs -lnsl, so does gethostbyname.
9067 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9068 if test "x$ac_cv_func_connect" = xyes; then :
9072 if test $ac_cv_func_connect = no; then
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9074 $as_echo_n "checking for connect in -lsocket... " >&6; }
9075 if ${ac_cv_lib_socket_connect+:} false; then :
9076 $as_echo_n "(cached) " >&6
9077 else
9078 ac_check_lib_save_LIBS=$LIBS
9079 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9081 /* end confdefs.h. */
9083 /* Override any GCC internal prototype to avoid an error.
9084 Use char because int might match the return type of a GCC
9085 builtin and then its argument prototype would still apply. */
9086 #ifdef __cplusplus
9087 extern "C"
9088 #endif
9089 char connect ();
9091 main ()
9093 return connect ();
9095 return 0;
9097 _ACEOF
9098 if ac_fn_c_try_link "$LINENO"; then :
9099 ac_cv_lib_socket_connect=yes
9100 else
9101 ac_cv_lib_socket_connect=no
9103 rm -f core conftest.err conftest.$ac_objext \
9104 conftest$ac_exeext conftest.$ac_ext
9105 LIBS=$ac_check_lib_save_LIBS
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9108 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9109 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9110 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9115 # Guillermo Gomez says -lposix is necessary on A/UX.
9116 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9117 if test "x$ac_cv_func_remove" = xyes; then :
9121 if test $ac_cv_func_remove = no; then
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9123 $as_echo_n "checking for remove in -lposix... " >&6; }
9124 if ${ac_cv_lib_posix_remove+:} false; then :
9125 $as_echo_n "(cached) " >&6
9126 else
9127 ac_check_lib_save_LIBS=$LIBS
9128 LIBS="-lposix $LIBS"
9129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9130 /* end confdefs.h. */
9132 /* Override any GCC internal prototype to avoid an error.
9133 Use char because int might match the return type of a GCC
9134 builtin and then its argument prototype would still apply. */
9135 #ifdef __cplusplus
9136 extern "C"
9137 #endif
9138 char remove ();
9140 main ()
9142 return remove ();
9144 return 0;
9146 _ACEOF
9147 if ac_fn_c_try_link "$LINENO"; then :
9148 ac_cv_lib_posix_remove=yes
9149 else
9150 ac_cv_lib_posix_remove=no
9152 rm -f core conftest.err conftest.$ac_objext \
9153 conftest$ac_exeext conftest.$ac_ext
9154 LIBS=$ac_check_lib_save_LIBS
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9157 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9158 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9159 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9164 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9165 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9166 if test "x$ac_cv_func_shmat" = xyes; then :
9170 if test $ac_cv_func_shmat = no; then
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9172 $as_echo_n "checking for shmat in -lipc... " >&6; }
9173 if ${ac_cv_lib_ipc_shmat+:} false; then :
9174 $as_echo_n "(cached) " >&6
9175 else
9176 ac_check_lib_save_LIBS=$LIBS
9177 LIBS="-lipc $LIBS"
9178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9179 /* end confdefs.h. */
9181 /* Override any GCC internal prototype to avoid an error.
9182 Use char because int might match the return type of a GCC
9183 builtin and then its argument prototype would still apply. */
9184 #ifdef __cplusplus
9185 extern "C"
9186 #endif
9187 char shmat ();
9189 main ()
9191 return shmat ();
9193 return 0;
9195 _ACEOF
9196 if ac_fn_c_try_link "$LINENO"; then :
9197 ac_cv_lib_ipc_shmat=yes
9198 else
9199 ac_cv_lib_ipc_shmat=no
9201 rm -f core conftest.err conftest.$ac_objext \
9202 conftest$ac_exeext conftest.$ac_ext
9203 LIBS=$ac_check_lib_save_LIBS
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9206 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9207 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9208 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9214 # Check for libraries that X11R6 Xt/Xaw programs need.
9215 ac_save_LDFLAGS=$LDFLAGS
9216 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9217 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9218 # check for ICE first), but we must link in the order -lSM -lICE or
9219 # we get undefined symbols. So assume we have SM if we have ICE.
9220 # These have to be linked with before -lX11, unlike the other
9221 # libraries we check for below, so use a different variable.
9222 # John Interrante, Karl Berry
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9224 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9225 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9226 $as_echo_n "(cached) " >&6
9227 else
9228 ac_check_lib_save_LIBS=$LIBS
9229 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9231 /* end confdefs.h. */
9233 /* Override any GCC internal prototype to avoid an error.
9234 Use char because int might match the return type of a GCC
9235 builtin and then its argument prototype would still apply. */
9236 #ifdef __cplusplus
9237 extern "C"
9238 #endif
9239 char IceConnectionNumber ();
9241 main ()
9243 return IceConnectionNumber ();
9245 return 0;
9247 _ACEOF
9248 if ac_fn_c_try_link "$LINENO"; then :
9249 ac_cv_lib_ICE_IceConnectionNumber=yes
9250 else
9251 ac_cv_lib_ICE_IceConnectionNumber=no
9253 rm -f core conftest.err conftest.$ac_objext \
9254 conftest$ac_exeext conftest.$ac_ext
9255 LIBS=$ac_check_lib_save_LIBS
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9258 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9259 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9260 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9263 LDFLAGS=$ac_save_LDFLAGS
9268 if test "$have_x" = "yes"
9269 then
9270 ac_save_CPPFLAGS="$CPPFLAGS"
9271 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9274 $as_echo_n "checking for -lX11... " >&6; }
9275 if ${ac_cv_lib_soname_X11+:} false; then :
9276 $as_echo_n "(cached) " >&6
9277 else
9278 ac_check_soname_save_LIBS=$LIBS
9279 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9281 /* end confdefs.h. */
9283 /* Override any GCC internal prototype to avoid an error.
9284 Use char because int might match the return type of a GCC
9285 builtin and then its argument prototype would still apply. */
9286 #ifdef __cplusplus
9287 extern "C"
9288 #endif
9289 char XCreateWindow ();
9291 main ()
9293 return XCreateWindow ();
9295 return 0;
9297 _ACEOF
9298 if ac_fn_c_try_link "$LINENO"; then :
9299 case "$LIBEXT" in
9300 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9301 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'` ;;
9302 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9303 if ${ac_cv_lib_soname_X11:+false} :; then :
9304 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9305 fi ;;
9306 esac
9308 rm -f core conftest.err conftest.$ac_objext \
9309 conftest$ac_exeext conftest.$ac_ext
9310 LIBS=$ac_check_soname_save_LIBS
9312 if ${ac_cv_lib_soname_X11:+false} :; then :
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9314 $as_echo "not found" >&6; }
9316 else
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9318 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9320 cat >>confdefs.h <<_ACEOF
9321 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9322 _ACEOF
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9327 $as_echo_n "checking for -lXext... " >&6; }
9328 if ${ac_cv_lib_soname_Xext+:} false; then :
9329 $as_echo_n "(cached) " >&6
9330 else
9331 ac_check_soname_save_LIBS=$LIBS
9332 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9334 /* end confdefs.h. */
9336 /* Override any GCC internal prototype to avoid an error.
9337 Use char because int might match the return type of a GCC
9338 builtin and then its argument prototype would still apply. */
9339 #ifdef __cplusplus
9340 extern "C"
9341 #endif
9342 char XextCreateExtension ();
9344 main ()
9346 return XextCreateExtension ();
9348 return 0;
9350 _ACEOF
9351 if ac_fn_c_try_link "$LINENO"; then :
9352 case "$LIBEXT" in
9353 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9354 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'` ;;
9355 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9356 if ${ac_cv_lib_soname_Xext:+false} :; then :
9357 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9358 fi ;;
9359 esac
9361 rm -f core conftest.err conftest.$ac_objext \
9362 conftest$ac_exeext conftest.$ac_ext
9363 LIBS=$ac_check_soname_save_LIBS
9365 if ${ac_cv_lib_soname_Xext:+false} :; then :
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9367 $as_echo "not found" >&6; }
9369 else
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9371 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9373 cat >>confdefs.h <<_ACEOF
9374 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9375 _ACEOF
9377 X_LIBS="$X_LIBS -lXext"
9379 X_LIBS="$X_LIBS -lX11"
9381 for ac_header in X11/Xlib.h \
9382 X11/XKBlib.h \
9383 X11/Xutil.h \
9384 X11/Xcursor/Xcursor.h \
9385 X11/extensions/shape.h \
9386 X11/extensions/XInput.h \
9387 X11/extensions/XInput2.h \
9388 X11/extensions/XShm.h \
9389 X11/extensions/Xcomposite.h \
9390 X11/extensions/Xinerama.h \
9391 X11/extensions/Xrandr.h \
9392 X11/extensions/Xrender.h \
9393 X11/extensions/xf86vmode.h \
9394 X11/extensions/xf86vmproto.h
9395 do :
9396 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9397 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9398 # include <X11/Xlib.h>
9399 #endif
9400 #ifdef HAVE_X11_XUTIL_H
9401 # include <X11/Xutil.h>
9402 #endif
9404 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9405 cat >>confdefs.h <<_ACEOF
9406 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9407 _ACEOF
9411 done
9414 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9415 then
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9417 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9418 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9419 $as_echo_n "(cached) " >&6
9420 else
9421 ac_check_lib_save_LIBS=$LIBS
9422 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9424 /* end confdefs.h. */
9426 /* Override any GCC internal prototype to avoid an error.
9427 Use char because int might match the return type of a GCC
9428 builtin and then its argument prototype would still apply. */
9429 #ifdef __cplusplus
9430 extern "C"
9431 #endif
9432 char XkbQueryExtension ();
9434 main ()
9436 return XkbQueryExtension ();
9438 return 0;
9440 _ACEOF
9441 if ac_fn_c_try_link "$LINENO"; then :
9442 ac_cv_lib_X11_XkbQueryExtension=yes
9443 else
9444 ac_cv_lib_X11_XkbQueryExtension=no
9446 rm -f core conftest.err conftest.$ac_objext \
9447 conftest$ac_exeext conftest.$ac_ext
9448 LIBS=$ac_check_lib_save_LIBS
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9451 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9452 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9454 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9460 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9461 then
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9463 $as_echo_n "checking for -lXcursor... " >&6; }
9464 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9465 $as_echo_n "(cached) " >&6
9466 else
9467 ac_check_soname_save_LIBS=$LIBS
9468 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h. */
9472 /* Override any GCC internal prototype to avoid an error.
9473 Use char because int might match the return type of a GCC
9474 builtin and then its argument prototype would still apply. */
9475 #ifdef __cplusplus
9476 extern "C"
9477 #endif
9478 char XcursorImageLoadCursor ();
9480 main ()
9482 return XcursorImageLoadCursor ();
9484 return 0;
9486 _ACEOF
9487 if ac_fn_c_try_link "$LINENO"; then :
9488 case "$LIBEXT" in
9489 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9490 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'` ;;
9491 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9492 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9493 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9494 fi ;;
9495 esac
9497 rm -f core conftest.err conftest.$ac_objext \
9498 conftest$ac_exeext conftest.$ac_ext
9499 LIBS=$ac_check_soname_save_LIBS
9501 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9503 $as_echo "not found" >&6; }
9505 else
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9507 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9509 cat >>confdefs.h <<_ACEOF
9510 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9511 _ACEOF
9516 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9517 case "x$with_xcursor" in
9518 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9519 xno) ;;
9520 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9521 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9522 esac
9525 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9526 then
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9528 $as_echo_n "checking for -lXi... " >&6; }
9529 if ${ac_cv_lib_soname_Xi+:} false; then :
9530 $as_echo_n "(cached) " >&6
9531 else
9532 ac_check_soname_save_LIBS=$LIBS
9533 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9535 /* end confdefs.h. */
9537 /* Override any GCC internal prototype to avoid an error.
9538 Use char because int might match the return type of a GCC
9539 builtin and then its argument prototype would still apply. */
9540 #ifdef __cplusplus
9541 extern "C"
9542 #endif
9543 char XOpenDevice ();
9545 main ()
9547 return XOpenDevice ();
9549 return 0;
9551 _ACEOF
9552 if ac_fn_c_try_link "$LINENO"; then :
9553 case "$LIBEXT" in
9554 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9555 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'` ;;
9556 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9557 if ${ac_cv_lib_soname_Xi:+false} :; then :
9558 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9559 fi ;;
9560 esac
9562 rm -f core conftest.err conftest.$ac_objext \
9563 conftest$ac_exeext conftest.$ac_ext
9564 LIBS=$ac_check_soname_save_LIBS
9566 if ${ac_cv_lib_soname_Xi:+false} :; then :
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9568 $as_echo "not found" >&6; }
9570 else
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9572 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9574 cat >>confdefs.h <<_ACEOF
9575 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9576 _ACEOF
9581 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9582 case "x$with_xinput" in
9583 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9584 xno) ;;
9585 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9586 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9587 esac
9590 if test "x$ac_cv_lib_soname_Xi" != x
9591 then
9592 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9593 case "x$with_xinput2" in
9594 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9595 xno) ;;
9596 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9597 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9598 esac
9602 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9603 then
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9605 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9606 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9607 $as_echo_n "(cached) " >&6
9608 else
9609 ac_check_lib_save_LIBS=$LIBS
9610 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9612 /* end confdefs.h. */
9614 /* Override any GCC internal prototype to avoid an error.
9615 Use char because int might match the return type of a GCC
9616 builtin and then its argument prototype would still apply. */
9617 #ifdef __cplusplus
9618 extern "C"
9619 #endif
9620 char XShmQueryExtension ();
9622 main ()
9624 return XShmQueryExtension ();
9626 return 0;
9628 _ACEOF
9629 if ac_fn_c_try_link "$LINENO"; then :
9630 ac_cv_lib_Xext_XShmQueryExtension=yes
9631 else
9632 ac_cv_lib_Xext_XShmQueryExtension=no
9634 rm -f core conftest.err conftest.$ac_objext \
9635 conftest$ac_exeext conftest.$ac_ext
9636 LIBS=$ac_check_lib_save_LIBS
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9639 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9640 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9642 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9647 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9648 case "x$with_xshm" in
9649 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9650 xno) ;;
9651 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9652 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9653 esac
9656 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9657 then
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9659 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9660 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9661 $as_echo_n "(cached) " >&6
9662 else
9663 ac_check_lib_save_LIBS=$LIBS
9664 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9666 /* end confdefs.h. */
9668 /* Override any GCC internal prototype to avoid an error.
9669 Use char because int might match the return type of a GCC
9670 builtin and then its argument prototype would still apply. */
9671 #ifdef __cplusplus
9672 extern "C"
9673 #endif
9674 char XShapeQueryExtension ();
9676 main ()
9678 return XShapeQueryExtension ();
9680 return 0;
9682 _ACEOF
9683 if ac_fn_c_try_link "$LINENO"; then :
9684 ac_cv_lib_Xext_XShapeQueryExtension=yes
9685 else
9686 ac_cv_lib_Xext_XShapeQueryExtension=no
9688 rm -f core conftest.err conftest.$ac_objext \
9689 conftest$ac_exeext conftest.$ac_ext
9690 LIBS=$ac_check_lib_save_LIBS
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9693 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9694 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9696 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9701 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9702 case "x$with_xshape" in
9703 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9704 xno) ;;
9705 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9706 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9707 esac
9710 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9711 then
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9713 $as_echo_n "checking for -lXxf86vm... " >&6; }
9714 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9715 $as_echo_n "(cached) " >&6
9716 else
9717 ac_check_soname_save_LIBS=$LIBS
9718 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9720 /* end confdefs.h. */
9722 /* Override any GCC internal prototype to avoid an error.
9723 Use char because int might match the return type of a GCC
9724 builtin and then its argument prototype would still apply. */
9725 #ifdef __cplusplus
9726 extern "C"
9727 #endif
9728 char XF86VidModeQueryExtension ();
9730 main ()
9732 return XF86VidModeQueryExtension ();
9734 return 0;
9736 _ACEOF
9737 if ac_fn_c_try_link "$LINENO"; then :
9738 case "$LIBEXT" in
9739 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9740 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'` ;;
9741 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9742 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9743 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9744 fi ;;
9745 esac
9747 rm -f core conftest.err conftest.$ac_objext \
9748 conftest$ac_exeext conftest.$ac_ext
9749 LIBS=$ac_check_soname_save_LIBS
9751 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9753 $as_echo "not found" >&6; }
9755 else
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9757 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9759 cat >>confdefs.h <<_ACEOF
9760 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9761 _ACEOF
9766 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9767 case "x$with_xxf86vm" in
9768 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9769 xno) ;;
9770 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9771 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9772 esac
9775 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"
9776 then
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9778 $as_echo_n "checking for -lXrender... " >&6; }
9779 if ${ac_cv_lib_soname_Xrender+:} false; then :
9780 $as_echo_n "(cached) " >&6
9781 else
9782 ac_check_soname_save_LIBS=$LIBS
9783 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9785 /* end confdefs.h. */
9787 /* Override any GCC internal prototype to avoid an error.
9788 Use char because int might match the return type of a GCC
9789 builtin and then its argument prototype would still apply. */
9790 #ifdef __cplusplus
9791 extern "C"
9792 #endif
9793 char XRenderQueryExtension ();
9795 main ()
9797 return XRenderQueryExtension ();
9799 return 0;
9801 _ACEOF
9802 if ac_fn_c_try_link "$LINENO"; then :
9803 case "$LIBEXT" in
9804 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9805 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'` ;;
9806 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9807 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9808 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9809 fi ;;
9810 esac
9812 rm -f core conftest.err conftest.$ac_objext \
9813 conftest$ac_exeext conftest.$ac_ext
9814 LIBS=$ac_check_soname_save_LIBS
9816 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9818 $as_echo "not found" >&6; }
9820 else
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9822 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9824 cat >>confdefs.h <<_ACEOF
9825 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9826 _ACEOF
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9829 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9830 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9831 $as_echo_n "(cached) " >&6
9832 else
9833 ac_check_lib_save_LIBS=$LIBS
9834 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9836 /* end confdefs.h. */
9838 /* Override any GCC internal prototype to avoid an error.
9839 Use char because int might match the return type of a GCC
9840 builtin and then its argument prototype would still apply. */
9841 #ifdef __cplusplus
9842 extern "C"
9843 #endif
9844 char XRenderSetPictureTransform ();
9846 main ()
9848 return XRenderSetPictureTransform ();
9850 return 0;
9852 _ACEOF
9853 if ac_fn_c_try_link "$LINENO"; then :
9854 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9855 else
9856 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9858 rm -f core conftest.err conftest.$ac_objext \
9859 conftest$ac_exeext conftest.$ac_ext
9860 LIBS=$ac_check_lib_save_LIBS
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9863 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9864 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9866 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9871 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9872 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9873 $as_echo_n "(cached) " >&6
9874 else
9875 ac_check_lib_save_LIBS=$LIBS
9876 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9878 /* end confdefs.h. */
9880 /* Override any GCC internal prototype to avoid an error.
9881 Use char because int might match the return type of a GCC
9882 builtin and then its argument prototype would still apply. */
9883 #ifdef __cplusplus
9884 extern "C"
9885 #endif
9886 char XRenderCreateLinearGradient ();
9888 main ()
9890 return XRenderCreateLinearGradient ();
9892 return 0;
9894 _ACEOF
9895 if ac_fn_c_try_link "$LINENO"; then :
9896 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9897 else
9898 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9900 rm -f core conftest.err conftest.$ac_objext \
9901 conftest$ac_exeext conftest.$ac_ext
9902 LIBS=$ac_check_lib_save_LIBS
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9905 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9906 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9908 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9915 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9916 case "x$with_xrender" in
9917 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9918 xno) ;;
9919 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9920 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9921 esac
9924 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9925 then
9926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9927 /* end confdefs.h. */
9928 #include <X11/Xlib.h>
9929 #include <X11/extensions/Xrandr.h>
9931 main ()
9933 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9935 return 0;
9937 _ACEOF
9938 if ac_fn_c_try_compile "$LINENO"; then :
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9940 $as_echo_n "checking for -lXrandr... " >&6; }
9941 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9942 $as_echo_n "(cached) " >&6
9943 else
9944 ac_check_soname_save_LIBS=$LIBS
9945 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9947 /* end confdefs.h. */
9949 /* Override any GCC internal prototype to avoid an error.
9950 Use char because int might match the return type of a GCC
9951 builtin and then its argument prototype would still apply. */
9952 #ifdef __cplusplus
9953 extern "C"
9954 #endif
9955 char XRRQueryExtension ();
9957 main ()
9959 return XRRQueryExtension ();
9961 return 0;
9963 _ACEOF
9964 if ac_fn_c_try_link "$LINENO"; then :
9965 case "$LIBEXT" in
9966 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9967 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'` ;;
9968 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9969 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9970 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9971 fi ;;
9972 esac
9974 rm -f core conftest.err conftest.$ac_objext \
9975 conftest$ac_exeext conftest.$ac_ext
9976 LIBS=$ac_check_soname_save_LIBS
9978 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9980 $as_echo "not found" >&6; }
9982 else
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9984 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9986 cat >>confdefs.h <<_ACEOF
9987 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9988 _ACEOF
9990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9991 /* end confdefs.h. */
9992 #include <X11/Xlib.h>
9993 #include <X11/extensions/Xrandr.h>
9995 main ()
9997 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9999 return 0;
10001 _ACEOF
10002 if ac_fn_c_try_compile "$LINENO"; then :
10004 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10012 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10013 case "x$with_xrandr" in
10014 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10015 xno) ;;
10016 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10017 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10018 esac
10021 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10022 then
10023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10024 /* end confdefs.h. */
10025 #include <X11/Xlib.h>
10026 #include <X11/extensions/Xinerama.h>
10028 main ()
10030 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10032 return 0;
10034 _ACEOF
10035 if ac_fn_c_try_compile "$LINENO"; then :
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10037 $as_echo_n "checking for -lXinerama... " >&6; }
10038 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10039 $as_echo_n "(cached) " >&6
10040 else
10041 ac_check_soname_save_LIBS=$LIBS
10042 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10044 /* end confdefs.h. */
10046 /* Override any GCC internal prototype to avoid an error.
10047 Use char because int might match the return type of a GCC
10048 builtin and then its argument prototype would still apply. */
10049 #ifdef __cplusplus
10050 extern "C"
10051 #endif
10052 char XineramaQueryScreens ();
10054 main ()
10056 return XineramaQueryScreens ();
10058 return 0;
10060 _ACEOF
10061 if ac_fn_c_try_link "$LINENO"; then :
10062 case "$LIBEXT" in
10063 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10064 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'` ;;
10065 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10066 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10067 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10068 fi ;;
10069 esac
10071 rm -f core conftest.err conftest.$ac_objext \
10072 conftest$ac_exeext conftest.$ac_ext
10073 LIBS=$ac_check_soname_save_LIBS
10075 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10077 $as_echo "not found" >&6; }
10079 else
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10081 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10083 cat >>confdefs.h <<_ACEOF
10084 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10085 _ACEOF
10090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10092 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10093 case "x$with_xinerama" in
10094 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10095 xno) ;;
10096 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10097 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10098 esac
10101 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10102 then
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10104 $as_echo_n "checking for -lXcomposite... " >&6; }
10105 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10106 $as_echo_n "(cached) " >&6
10107 else
10108 ac_check_soname_save_LIBS=$LIBS
10109 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10111 /* end confdefs.h. */
10113 /* Override any GCC internal prototype to avoid an error.
10114 Use char because int might match the return type of a GCC
10115 builtin and then its argument prototype would still apply. */
10116 #ifdef __cplusplus
10117 extern "C"
10118 #endif
10119 char XCompositeRedirectWindow ();
10121 main ()
10123 return XCompositeRedirectWindow ();
10125 return 0;
10127 _ACEOF
10128 if ac_fn_c_try_link "$LINENO"; then :
10129 case "$LIBEXT" in
10130 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10131 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'` ;;
10132 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10133 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10134 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10135 fi ;;
10136 esac
10138 rm -f core conftest.err conftest.$ac_objext \
10139 conftest$ac_exeext conftest.$ac_ext
10140 LIBS=$ac_check_soname_save_LIBS
10142 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10144 $as_echo "not found" >&6; }
10146 else
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10148 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10150 cat >>confdefs.h <<_ACEOF
10151 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10152 _ACEOF
10157 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10158 case "x$with_xcomposite" in
10159 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10160 xno) ;;
10161 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10162 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10163 esac
10166 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10167 #include <X11/Xlib.h>
10168 #endif
10170 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10172 cat >>confdefs.h <<_ACEOF
10173 #define HAVE_XICCALLBACK_CALLBACK 1
10174 _ACEOF
10178 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10179 #include <X11/Xlib.h>
10180 #endif
10182 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10184 cat >>confdefs.h <<_ACEOF
10185 #define HAVE_XEVENT_XCOOKIE 1
10186 _ACEOF
10193 opengl_msg=""
10194 if test "x$with_opengl" != "xno"
10195 then
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10197 $as_echo_n "checking for -lGL... " >&6; }
10198 if ${ac_cv_lib_soname_GL+:} false; then :
10199 $as_echo_n "(cached) " >&6
10200 else
10201 ac_check_soname_save_LIBS=$LIBS
10202 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10204 /* end confdefs.h. */
10206 /* Override any GCC internal prototype to avoid an error.
10207 Use char because int might match the return type of a GCC
10208 builtin and then its argument prototype would still apply. */
10209 #ifdef __cplusplus
10210 extern "C"
10211 #endif
10212 char glXCreateContext ();
10214 main ()
10216 return glXCreateContext ();
10218 return 0;
10220 _ACEOF
10221 if ac_fn_c_try_link "$LINENO"; then :
10222 case "$LIBEXT" in
10223 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10224 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'` ;;
10225 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10226 if ${ac_cv_lib_soname_GL:+false} :; then :
10227 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10228 fi ;;
10229 esac
10231 rm -f core conftest.err conftest.$ac_objext \
10232 conftest$ac_exeext conftest.$ac_ext
10233 LIBS=$ac_check_soname_save_LIBS
10235 if ${ac_cv_lib_soname_GL:+false} :; then :
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10237 $as_echo "not found" >&6; }
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10239 $as_echo_n "checking for -lGL... " >&6; }
10240 if ${ac_cv_lib_soname_GL+:} false; then :
10241 $as_echo_n "(cached) " >&6
10242 else
10243 ac_check_soname_save_LIBS=$LIBS
10244 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"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10248 /* Override any GCC internal prototype to avoid an error.
10249 Use char because int might match the return type of a GCC
10250 builtin and then its argument prototype would still apply. */
10251 #ifdef __cplusplus
10252 extern "C"
10253 #endif
10254 char glXCreateContext ();
10256 main ()
10258 return glXCreateContext ();
10260 return 0;
10262 _ACEOF
10263 if ac_fn_c_try_link "$LINENO"; then :
10264 case "$LIBEXT" in
10265 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10266 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'` ;;
10267 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10268 if ${ac_cv_lib_soname_GL:+false} :; then :
10269 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10270 fi ;;
10271 esac
10273 rm -f core conftest.err conftest.$ac_objext \
10274 conftest$ac_exeext conftest.$ac_ext
10275 LIBS=$ac_check_soname_save_LIBS
10277 if ${ac_cv_lib_soname_GL:+false} :; then :
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10279 $as_echo "not found" >&6; }
10280 if test -f /usr/X11R6/lib/libGL.a
10281 then
10282 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10283 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10284 else
10285 opengl_msg="No OpenGL library found on this system."
10287 else
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10289 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10291 cat >>confdefs.h <<_ACEOF
10292 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10293 _ACEOF
10295 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"
10297 else
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10299 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10301 cat >>confdefs.h <<_ACEOF
10302 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10303 _ACEOF
10305 OPENGL_LIBS="-lGL"
10307 if test "x$with_glu" != "xno"
10308 then
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10310 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10311 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10312 $as_echo_n "(cached) " >&6
10313 else
10314 ac_check_lib_save_LIBS=$LIBS
10315 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10317 /* end confdefs.h. */
10319 /* Override any GCC internal prototype to avoid an error.
10320 Use char because int might match the return type of a GCC
10321 builtin and then its argument prototype would still apply. */
10322 #ifdef __cplusplus
10323 extern "C"
10324 #endif
10325 char gluLookAt ();
10327 main ()
10329 return gluLookAt ();
10331 return 0;
10333 _ACEOF
10334 if ac_fn_c_try_link "$LINENO"; then :
10335 ac_cv_lib_GLU_gluLookAt=yes
10336 else
10337 ac_cv_lib_GLU_gluLookAt=no
10339 rm -f core conftest.err conftest.$ac_objext \
10340 conftest$ac_exeext conftest.$ac_ext
10341 LIBS=$ac_check_lib_save_LIBS
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10344 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10345 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10349 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10350 case "x$with_glu" in
10351 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10352 xno) ;;
10353 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10354 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10355 esac
10359 if test "x$with_osmesa" != "xno"
10360 then
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10362 $as_echo_n "checking for -lOSMesa... " >&6; }
10363 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10364 $as_echo_n "(cached) " >&6
10365 else
10366 ac_check_soname_save_LIBS=$LIBS
10367 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10369 /* end confdefs.h. */
10371 /* Override any GCC internal prototype to avoid an error.
10372 Use char because int might match the return type of a GCC
10373 builtin and then its argument prototype would still apply. */
10374 #ifdef __cplusplus
10375 extern "C"
10376 #endif
10377 char glAccum ();
10379 main ()
10381 return glAccum ();
10383 return 0;
10385 _ACEOF
10386 if ac_fn_c_try_link "$LINENO"; then :
10387 case "$LIBEXT" in
10388 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10389 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'` ;;
10390 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10391 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10392 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10393 fi ;;
10394 esac
10396 rm -f core conftest.err conftest.$ac_objext \
10397 conftest$ac_exeext conftest.$ac_ext
10398 LIBS=$ac_check_soname_save_LIBS
10400 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10402 $as_echo "not found" >&6; }
10404 else
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10406 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10408 cat >>confdefs.h <<_ACEOF
10409 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10410 _ACEOF
10414 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10415 case "x$with_osmesa" in
10416 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10417 xno) ;;
10418 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10419 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10420 esac
10424 if test -n "$opengl_msg"; then :
10425 case "x$with_opengl" in
10426 x) as_fn_append wine_warnings "|$opengl_msg
10427 OpenGL and Direct3D won't be supported." ;;
10428 xno) ;;
10429 *) as_fn_error $? "$opengl_msg
10430 OpenGL and Direct3D won't be supported.
10431 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10432 esac
10435 CPPFLAGS="$ac_save_CPPFLAGS"
10436 else
10437 X_CFLAGS=""
10438 X_LIBS=""
10439 enable_winex11_drv=${enable_winex11_drv:-no}
10441 if test "x$X_LIBS" = "x"; then :
10442 case "x$with_x" in
10443 xno) ;;
10444 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10445 without X support, which probably isn't what you want. You will need
10446 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10447 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10448 esac
10451 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10453 if test "$ac_cv_header_CL_cl_h" = "yes"
10454 then
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10456 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10457 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10458 $as_echo_n "(cached) " >&6
10459 else
10460 ac_check_lib_save_LIBS=$LIBS
10461 LIBS="-lOpenCL $LIBS"
10462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10463 /* end confdefs.h. */
10465 /* Override any GCC internal prototype to avoid an error.
10466 Use char because int might match the return type of a GCC
10467 builtin and then its argument prototype would still apply. */
10468 #ifdef __cplusplus
10469 extern "C"
10470 #endif
10471 char clGetPlatformInfo ();
10473 main ()
10475 return clGetPlatformInfo ();
10477 return 0;
10479 _ACEOF
10480 if ac_fn_c_try_link "$LINENO"; then :
10481 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10482 else
10483 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10485 rm -f core conftest.err conftest.$ac_objext \
10486 conftest$ac_exeext conftest.$ac_ext
10487 LIBS=$ac_check_lib_save_LIBS
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10490 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10491 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10492 OPENCL_LIBS="-lOpenCL"
10497 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10498 case "x$with_opencl" in
10499 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10500 xno) ;;
10501 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10502 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10503 esac
10505 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10508 if test "x$with_xml" != "xno"
10509 then
10510 if ${XML2_CFLAGS:+false} :; then :
10511 if ${PKG_CONFIG+:} false; then :
10512 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10515 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10516 if ${XML2_LIBS:+false} :; then :
10517 if ${PKG_CONFIG+:} false; then :
10518 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10521 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10522 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10523 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10524 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10525 ac_save_CPPFLAGS=$CPPFLAGS
10526 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10527 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10528 do :
10529 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10530 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10531 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10532 cat >>confdefs.h <<_ACEOF
10533 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10534 _ACEOF
10538 done
10540 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"
10541 then
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10543 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10544 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10545 $as_echo_n "(cached) " >&6
10546 else
10547 ac_check_lib_save_LIBS=$LIBS
10548 LIBS="-lxml2 $XML2_LIBS $LIBS"
10549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10550 /* end confdefs.h. */
10552 /* Override any GCC internal prototype to avoid an error.
10553 Use char because int might match the return type of a GCC
10554 builtin and then its argument prototype would still apply. */
10555 #ifdef __cplusplus
10556 extern "C"
10557 #endif
10558 char xmlParseMemory ();
10560 main ()
10562 return xmlParseMemory ();
10564 return 0;
10566 _ACEOF
10567 if ac_fn_c_try_link "$LINENO"; then :
10568 ac_cv_lib_xml2_xmlParseMemory=yes
10569 else
10570 ac_cv_lib_xml2_xmlParseMemory=no
10572 rm -f core conftest.err conftest.$ac_objext \
10573 conftest$ac_exeext conftest.$ac_ext
10574 LIBS=$ac_check_lib_save_LIBS
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10577 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10578 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10580 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10582 else
10583 XML2_LIBS=""
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10587 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10588 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10589 $as_echo_n "(cached) " >&6
10590 else
10591 ac_check_lib_save_LIBS=$LIBS
10592 LIBS="-lxml2 $XML2_LIBS $LIBS"
10593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10594 /* end confdefs.h. */
10596 /* Override any GCC internal prototype to avoid an error.
10597 Use char because int might match the return type of a GCC
10598 builtin and then its argument prototype would still apply. */
10599 #ifdef __cplusplus
10600 extern "C"
10601 #endif
10602 char xmlReadMemory ();
10604 main ()
10606 return xmlReadMemory ();
10608 return 0;
10610 _ACEOF
10611 if ac_fn_c_try_link "$LINENO"; then :
10612 ac_cv_lib_xml2_xmlReadMemory=yes
10613 else
10614 ac_cv_lib_xml2_xmlReadMemory=no
10616 rm -f core conftest.err conftest.$ac_objext \
10617 conftest$ac_exeext conftest.$ac_ext
10618 LIBS=$ac_check_lib_save_LIBS
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10621 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10622 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10624 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10629 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10630 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10631 $as_echo_n "(cached) " >&6
10632 else
10633 ac_check_lib_save_LIBS=$LIBS
10634 LIBS="-lxml2 $XML2_LIBS $LIBS"
10635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10636 /* end confdefs.h. */
10638 /* Override any GCC internal prototype to avoid an error.
10639 Use char because int might match the return type of a GCC
10640 builtin and then its argument prototype would still apply. */
10641 #ifdef __cplusplus
10642 extern "C"
10643 #endif
10644 char xmlNewDocPI ();
10646 main ()
10648 return xmlNewDocPI ();
10650 return 0;
10652 _ACEOF
10653 if ac_fn_c_try_link "$LINENO"; then :
10654 ac_cv_lib_xml2_xmlNewDocPI=yes
10655 else
10656 ac_cv_lib_xml2_xmlNewDocPI=no
10658 rm -f core conftest.err conftest.$ac_objext \
10659 conftest$ac_exeext conftest.$ac_ext
10660 LIBS=$ac_check_lib_save_LIBS
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10663 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10664 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10666 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10671 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10672 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10673 $as_echo_n "(cached) " >&6
10674 else
10675 ac_check_lib_save_LIBS=$LIBS
10676 LIBS="-lxml2 $XML2_LIBS $LIBS"
10677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10678 /* end confdefs.h. */
10680 /* Override any GCC internal prototype to avoid an error.
10681 Use char because int might match the return type of a GCC
10682 builtin and then its argument prototype would still apply. */
10683 #ifdef __cplusplus
10684 extern "C"
10685 #endif
10686 char xmlSchemaSetParserStructuredErrors ();
10688 main ()
10690 return xmlSchemaSetParserStructuredErrors ();
10692 return 0;
10694 _ACEOF
10695 if ac_fn_c_try_link "$LINENO"; then :
10696 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10697 else
10698 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10700 rm -f core conftest.err conftest.$ac_objext \
10701 conftest$ac_exeext conftest.$ac_ext
10702 LIBS=$ac_check_lib_save_LIBS
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10705 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10706 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10708 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10713 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10714 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10715 $as_echo_n "(cached) " >&6
10716 else
10717 ac_check_lib_save_LIBS=$LIBS
10718 LIBS="-lxml2 $XML2_LIBS $LIBS"
10719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10720 /* end confdefs.h. */
10722 /* Override any GCC internal prototype to avoid an error.
10723 Use char because int might match the return type of a GCC
10724 builtin and then its argument prototype would still apply. */
10725 #ifdef __cplusplus
10726 extern "C"
10727 #endif
10728 char xmlSchemaSetValidStructuredErrors ();
10730 main ()
10732 return xmlSchemaSetValidStructuredErrors ();
10734 return 0;
10736 _ACEOF
10737 if ac_fn_c_try_link "$LINENO"; then :
10738 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10739 else
10740 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10742 rm -f core conftest.err conftest.$ac_objext \
10743 conftest$ac_exeext conftest.$ac_ext
10744 LIBS=$ac_check_lib_save_LIBS
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10747 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10748 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10750 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10755 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10756 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10757 $as_echo_n "(cached) " >&6
10758 else
10759 ac_check_lib_save_LIBS=$LIBS
10760 LIBS="-lxml2 $XML2_LIBS $LIBS"
10761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10762 /* end confdefs.h. */
10764 /* Override any GCC internal prototype to avoid an error.
10765 Use char because int might match the return type of a GCC
10766 builtin and then its argument prototype would still apply. */
10767 #ifdef __cplusplus
10768 extern "C"
10769 #endif
10770 char xmlFirstElementChild ();
10772 main ()
10774 return xmlFirstElementChild ();
10776 return 0;
10778 _ACEOF
10779 if ac_fn_c_try_link "$LINENO"; then :
10780 ac_cv_lib_xml2_xmlFirstElementChild=yes
10781 else
10782 ac_cv_lib_xml2_xmlFirstElementChild=no
10784 rm -f core conftest.err conftest.$ac_objext \
10785 conftest$ac_exeext conftest.$ac_ext
10786 LIBS=$ac_check_lib_save_LIBS
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10789 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10790 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10792 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10796 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10798 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10800 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10804 else
10805 XML2_CFLAGS=""
10806 XML2_LIBS=""
10808 CPPFLAGS=$ac_save_CPPFLAGS
10809 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10810 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10813 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10814 case "x$with_xml" in
10815 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10816 xno) ;;
10817 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10818 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10819 esac
10822 if test "x$with_xslt" != "xno"
10823 then
10824 if ${XSLT_CFLAGS:+false} :; then :
10825 if ${PKG_CONFIG+:} false; then :
10826 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10829 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10830 if ${XSLT_LIBS:+false} :; then :
10831 if ${PKG_CONFIG+:} false; then :
10832 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10835 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10836 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10837 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10838 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10839 ac_save_CPPFLAGS=$CPPFLAGS
10840 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10841 for ac_header in libxslt/pattern.h libxslt/transform.h
10842 do :
10843 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10844 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10845 # include <libxslt/pattern.h>
10846 #endif
10848 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10849 cat >>confdefs.h <<_ACEOF
10850 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10851 _ACEOF
10855 done
10857 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10858 then
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10860 $as_echo_n "checking for -lxslt... " >&6; }
10861 if ${ac_cv_lib_soname_xslt+:} false; then :
10862 $as_echo_n "(cached) " >&6
10863 else
10864 ac_check_soname_save_LIBS=$LIBS
10865 LIBS="-lxslt $XSLT_LIBS $LIBS"
10866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10867 /* end confdefs.h. */
10869 /* Override any GCC internal prototype to avoid an error.
10870 Use char because int might match the return type of a GCC
10871 builtin and then its argument prototype would still apply. */
10872 #ifdef __cplusplus
10873 extern "C"
10874 #endif
10875 char xsltCompilePattern ();
10877 main ()
10879 return xsltCompilePattern ();
10881 return 0;
10883 _ACEOF
10884 if ac_fn_c_try_link "$LINENO"; then :
10885 case "$LIBEXT" in
10886 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10887 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'` ;;
10888 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10889 if ${ac_cv_lib_soname_xslt:+false} :; then :
10890 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10891 fi ;;
10892 esac
10894 rm -f core conftest.err conftest.$ac_objext \
10895 conftest$ac_exeext conftest.$ac_ext
10896 LIBS=$ac_check_soname_save_LIBS
10898 if ${ac_cv_lib_soname_xslt:+false} :; then :
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10900 $as_echo "not found" >&6; }
10902 else
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10904 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10906 cat >>confdefs.h <<_ACEOF
10907 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10908 _ACEOF
10912 else
10913 XSLT_CFLAGS=""
10915 CPPFLAGS=$ac_save_CPPFLAGS
10916 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10917 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10920 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10921 case "x$with_xslt" in
10922 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10923 xno) ;;
10924 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10925 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10926 esac
10929 if test "x$with_dbus" != "xno"
10930 then
10931 if ${DBUS_CFLAGS:+false} :; then :
10932 if ${PKG_CONFIG+:} false; then :
10933 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10937 if ${DBUS_LIBS:+false} :; then :
10938 if ${PKG_CONFIG+:} false; then :
10939 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10944 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10945 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10946 ac_save_CPPFLAGS=$CPPFLAGS
10947 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10948 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10949 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10951 $as_echo_n "checking for -ldbus-1... " >&6; }
10952 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10953 $as_echo_n "(cached) " >&6
10954 else
10955 ac_check_soname_save_LIBS=$LIBS
10956 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10958 /* end confdefs.h. */
10960 /* Override any GCC internal prototype to avoid an error.
10961 Use char because int might match the return type of a GCC
10962 builtin and then its argument prototype would still apply. */
10963 #ifdef __cplusplus
10964 extern "C"
10965 #endif
10966 char dbus_connection_close ();
10968 main ()
10970 return dbus_connection_close ();
10972 return 0;
10974 _ACEOF
10975 if ac_fn_c_try_link "$LINENO"; then :
10976 case "$LIBEXT" in
10977 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10978 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'` ;;
10979 *) 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'`
10980 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10981 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10982 fi ;;
10983 esac
10985 rm -f core conftest.err conftest.$ac_objext \
10986 conftest$ac_exeext conftest.$ac_ext
10987 LIBS=$ac_check_soname_save_LIBS
10989 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10991 $as_echo "not found" >&6; }
10992 DBUS_CFLAGS=""
10993 else
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10995 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10997 cat >>confdefs.h <<_ACEOF
10998 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10999 _ACEOF
11003 else
11004 DBUS_CFLAGS=""
11008 CPPFLAGS=$ac_save_CPPFLAGS
11009 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11010 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11013 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11014 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11015 case "x$with_dbus" in
11016 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11017 xno) ;;
11018 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11019 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11020 esac
11023 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11024 then
11025 if ${HAL_CFLAGS:+false} :; then :
11026 if ${PKG_CONFIG+:} false; then :
11027 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11031 if ${HAL_LIBS:+false} :; then :
11032 if ${PKG_CONFIG+:} false; then :
11033 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11037 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11038 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11039 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11040 ac_save_CPPFLAGS=$CPPFLAGS
11041 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11042 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11043 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11045 $as_echo_n "checking for -lhal... " >&6; }
11046 if ${ac_cv_lib_soname_hal+:} false; then :
11047 $as_echo_n "(cached) " >&6
11048 else
11049 ac_check_soname_save_LIBS=$LIBS
11050 LIBS="-lhal $HAL_LIBS $LIBS"
11051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11052 /* end confdefs.h. */
11054 /* Override any GCC internal prototype to avoid an error.
11055 Use char because int might match the return type of a GCC
11056 builtin and then its argument prototype would still apply. */
11057 #ifdef __cplusplus
11058 extern "C"
11059 #endif
11060 char libhal_ctx_new ();
11062 main ()
11064 return libhal_ctx_new ();
11066 return 0;
11068 _ACEOF
11069 if ac_fn_c_try_link "$LINENO"; then :
11070 case "$LIBEXT" in
11071 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11072 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'` ;;
11073 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11074 if ${ac_cv_lib_soname_hal:+false} :; then :
11075 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11076 fi ;;
11077 esac
11079 rm -f core conftest.err conftest.$ac_objext \
11080 conftest$ac_exeext conftest.$ac_ext
11081 LIBS=$ac_check_soname_save_LIBS
11083 if ${ac_cv_lib_soname_hal:+false} :; then :
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11085 $as_echo "not found" >&6; }
11086 HAL_CFLAGS=""
11087 else
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11089 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11091 cat >>confdefs.h <<_ACEOF
11092 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11093 _ACEOF
11097 else
11098 HAL_CFLAGS=""
11102 CPPFLAGS=$ac_save_CPPFLAGS
11103 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11104 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11106 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11107 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11108 case "x$with_hal" in
11109 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11110 xno) ;;
11111 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11112 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11113 esac
11117 if test "x$with_gnutls" != "xno"
11118 then
11119 if ${GNUTLS_CFLAGS:+false} :; then :
11120 if ${PKG_CONFIG+:} false; then :
11121 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11125 if ${GNUTLS_LIBS:+false} :; then :
11126 if ${PKG_CONFIG+:} false; then :
11127 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11132 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11133 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11134 ac_save_CPPFLAGS=$CPPFLAGS
11135 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11136 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11137 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11139 /* end confdefs.h. */
11140 #include <gnutls/gnutls.h>
11141 #include <gnutls/crypto.h>
11143 main ()
11145 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11147 return 0;
11149 _ACEOF
11150 if ac_fn_c_try_compile "$LINENO"; then :
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11152 $as_echo_n "checking for -lgnutls... " >&6; }
11153 if ${ac_cv_lib_soname_gnutls+:} false; then :
11154 $as_echo_n "(cached) " >&6
11155 else
11156 ac_check_soname_save_LIBS=$LIBS
11157 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11159 /* end confdefs.h. */
11161 /* Override any GCC internal prototype to avoid an error.
11162 Use char because int might match the return type of a GCC
11163 builtin and then its argument prototype would still apply. */
11164 #ifdef __cplusplus
11165 extern "C"
11166 #endif
11167 char gnutls_global_init ();
11169 main ()
11171 return gnutls_global_init ();
11173 return 0;
11175 _ACEOF
11176 if ac_fn_c_try_link "$LINENO"; then :
11177 case "$LIBEXT" in
11178 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11179 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'` ;;
11180 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11181 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11182 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11183 fi ;;
11184 esac
11186 rm -f core conftest.err conftest.$ac_objext \
11187 conftest$ac_exeext conftest.$ac_ext
11188 LIBS=$ac_check_soname_save_LIBS
11190 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11192 $as_echo "not found" >&6; }
11193 GNUTLS_CFLAGS=""
11194 else
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11196 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11198 cat >>confdefs.h <<_ACEOF
11199 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11200 _ACEOF
11205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11206 else
11207 GNUTLS_CFLAGS=""
11211 CPPFLAGS=$ac_save_CPPFLAGS
11212 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11213 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11216 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11217 case "x$with_gnutls" in
11218 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11219 xno) ;;
11220 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11221 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11222 esac
11225 CURSES_LIBS=""
11226 if test "$ac_cv_header_ncurses_h" = "yes"
11227 then
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11229 $as_echo_n "checking for -lncurses... " >&6; }
11230 if ${ac_cv_lib_soname_ncurses+:} false; then :
11231 $as_echo_n "(cached) " >&6
11232 else
11233 ac_check_soname_save_LIBS=$LIBS
11234 LIBS="-lncurses $LIBS"
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11238 /* Override any GCC internal prototype to avoid an error.
11239 Use char because int might match the return type of a GCC
11240 builtin and then its argument prototype would still apply. */
11241 #ifdef __cplusplus
11242 extern "C"
11243 #endif
11244 char waddch ();
11246 main ()
11248 return waddch ();
11250 return 0;
11252 _ACEOF
11253 if ac_fn_c_try_link "$LINENO"; then :
11254 case "$LIBEXT" in
11255 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11256 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'` ;;
11257 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11258 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11259 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11260 fi ;;
11261 esac
11263 rm -f core conftest.err conftest.$ac_objext \
11264 conftest$ac_exeext conftest.$ac_ext
11265 LIBS=$ac_check_soname_save_LIBS
11267 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11269 $as_echo "not found" >&6; }
11271 else
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11273 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11275 cat >>confdefs.h <<_ACEOF
11276 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11277 _ACEOF
11279 CURSES_LIBS="-lncurses"
11281 elif test "$ac_cv_header_curses_h" = "yes"
11282 then
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11284 $as_echo_n "checking for -lcurses... " >&6; }
11285 if ${ac_cv_lib_soname_curses+:} false; then :
11286 $as_echo_n "(cached) " >&6
11287 else
11288 ac_check_soname_save_LIBS=$LIBS
11289 LIBS="-lcurses $LIBS"
11290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11291 /* end confdefs.h. */
11293 /* Override any GCC internal prototype to avoid an error.
11294 Use char because int might match the return type of a GCC
11295 builtin and then its argument prototype would still apply. */
11296 #ifdef __cplusplus
11297 extern "C"
11298 #endif
11299 char waddch ();
11301 main ()
11303 return waddch ();
11305 return 0;
11307 _ACEOF
11308 if ac_fn_c_try_link "$LINENO"; then :
11309 case "$LIBEXT" in
11310 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11311 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'` ;;
11312 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11313 if ${ac_cv_lib_soname_curses:+false} :; then :
11314 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11315 fi ;;
11316 esac
11318 rm -f core conftest.err conftest.$ac_objext \
11319 conftest$ac_exeext conftest.$ac_ext
11320 LIBS=$ac_check_soname_save_LIBS
11322 if ${ac_cv_lib_soname_curses:+false} :; then :
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11324 $as_echo "not found" >&6; }
11326 else
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11328 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11330 cat >>confdefs.h <<_ACEOF
11331 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11332 _ACEOF
11334 CURSES_LIBS="-lcurses"
11337 ac_save_LIBS="$LIBS"
11338 LIBS="$LIBS $CURSES_LIBS"
11339 for ac_func in mousemask
11340 do :
11341 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11342 if test "x$ac_cv_func_mousemask" = xyes; then :
11343 cat >>confdefs.h <<_ACEOF
11344 #define HAVE_MOUSEMASK 1
11345 _ACEOF
11348 done
11350 LIBS="$ac_save_LIBS"
11351 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11352 case "x$with_curses" in
11353 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11354 xno) ;;
11355 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11356 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11357 esac
11360 if test "x$with_sane" != "xno"
11361 then
11362 if ${SANE_CFLAGS:+false} :; then :
11363 if ${PKG_CONFIG+:} false; then :
11364 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11367 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11368 if ${SANE_LIBS:+false} :; then :
11369 if ${PKG_CONFIG+:} false; then :
11370 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11373 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11375 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11376 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11377 ac_save_CPPFLAGS=$CPPFLAGS
11378 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11379 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11380 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11382 $as_echo_n "checking for -lsane... " >&6; }
11383 if ${ac_cv_lib_soname_sane+:} false; then :
11384 $as_echo_n "(cached) " >&6
11385 else
11386 ac_check_soname_save_LIBS=$LIBS
11387 LIBS="-lsane $SANE_LIBS $LIBS"
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11394 #ifdef __cplusplus
11395 extern "C"
11396 #endif
11397 char sane_init ();
11399 main ()
11401 return sane_init ();
11403 return 0;
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"; then :
11407 case "$LIBEXT" in
11408 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11409 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'` ;;
11410 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11411 if ${ac_cv_lib_soname_sane:+false} :; then :
11412 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11413 fi ;;
11414 esac
11416 rm -f core conftest.err conftest.$ac_objext \
11417 conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_soname_save_LIBS
11420 if ${ac_cv_lib_soname_sane:+false} :; then :
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11422 $as_echo "not found" >&6; }
11423 SANE_CFLAGS=""
11424 else
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11426 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11428 cat >>confdefs.h <<_ACEOF
11429 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11430 _ACEOF
11434 else
11435 SANE_CFLAGS=""
11439 CPPFLAGS=$ac_save_CPPFLAGS
11440 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11441 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11444 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11445 case "x$with_sane" in
11446 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11447 xno) ;;
11448 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11449 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11450 esac
11453 if test "x$with_v4l" != "xno"
11454 then
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11456 $as_echo_n "checking for -lv4l1... " >&6; }
11457 if ${ac_cv_lib_soname_v4l1+:} false; then :
11458 $as_echo_n "(cached) " >&6
11459 else
11460 ac_check_soname_save_LIBS=$LIBS
11461 LIBS="-lv4l1 $LIBS"
11462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11463 /* end confdefs.h. */
11465 /* Override any GCC internal prototype to avoid an error.
11466 Use char because int might match the return type of a GCC
11467 builtin and then its argument prototype would still apply. */
11468 #ifdef __cplusplus
11469 extern "C"
11470 #endif
11471 char v4l1_open ();
11473 main ()
11475 return v4l1_open ();
11477 return 0;
11479 _ACEOF
11480 if ac_fn_c_try_link "$LINENO"; then :
11481 case "$LIBEXT" in
11482 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11483 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'` ;;
11484 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11485 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11486 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11487 fi ;;
11488 esac
11490 rm -f core conftest.err conftest.$ac_objext \
11491 conftest$ac_exeext conftest.$ac_ext
11492 LIBS=$ac_check_soname_save_LIBS
11494 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11496 $as_echo "not found" >&6; }
11498 else
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11500 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11502 cat >>confdefs.h <<_ACEOF
11503 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11504 _ACEOF
11509 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11510 case "x$with_v4l" in
11511 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11512 xno) ;;
11513 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11514 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11515 esac
11518 if test "x$with_gphoto" != "xno"
11519 then
11520 if ${GPHOTO2_CFLAGS:+false} :; then :
11521 if ${PKG_CONFIG+:} false; then :
11522 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11525 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11526 if ${GPHOTO2_LIBS:+false} :; then :
11527 if ${PKG_CONFIG+:} false; then :
11528 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11531 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11532 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11533 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11534 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11535 ac_save_CPPFLAGS=$CPPFLAGS
11536 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11537 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11538 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11540 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11541 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11542 $as_echo_n "(cached) " >&6
11543 else
11544 ac_check_lib_save_LIBS=$LIBS
11545 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11547 /* end confdefs.h. */
11549 /* Override any GCC internal prototype to avoid an error.
11550 Use char because int might match the return type of a GCC
11551 builtin and then its argument prototype would still apply. */
11552 #ifdef __cplusplus
11553 extern "C"
11554 #endif
11555 char gp_camera_new ();
11557 main ()
11559 return gp_camera_new ();
11561 return 0;
11563 _ACEOF
11564 if ac_fn_c_try_link "$LINENO"; then :
11565 ac_cv_lib_gphoto2_gp_camera_new=yes
11566 else
11567 ac_cv_lib_gphoto2_gp_camera_new=no
11569 rm -f core conftest.err conftest.$ac_objext \
11570 conftest$ac_exeext conftest.$ac_ext
11571 LIBS=$ac_check_lib_save_LIBS
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11574 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11575 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11577 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11579 else
11580 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11583 else
11584 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11588 CPPFLAGS=$ac_save_CPPFLAGS
11589 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11590 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11592 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11593 if ${PKG_CONFIG+:} false; then :
11594 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11597 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11598 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11599 if ${PKG_CONFIG+:} false; then :
11600 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11603 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11604 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11605 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11606 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11607 ac_save_CPPFLAGS=$CPPFLAGS
11608 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11609 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11610 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11612 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11613 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11614 $as_echo_n "(cached) " >&6
11615 else
11616 ac_check_lib_save_LIBS=$LIBS
11617 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11619 /* end confdefs.h. */
11621 /* Override any GCC internal prototype to avoid an error.
11622 Use char because int might match the return type of a GCC
11623 builtin and then its argument prototype would still apply. */
11624 #ifdef __cplusplus
11625 extern "C"
11626 #endif
11627 char gp_port_info_list_new ();
11629 main ()
11631 return gp_port_info_list_new ();
11633 return 0;
11635 _ACEOF
11636 if ac_fn_c_try_link "$LINENO"; then :
11637 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11638 else
11639 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11641 rm -f core conftest.err conftest.$ac_objext \
11642 conftest$ac_exeext conftest.$ac_ext
11643 LIBS=$ac_check_lib_save_LIBS
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11646 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11647 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11649 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11651 else
11652 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11655 else
11656 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11660 CPPFLAGS=$ac_save_CPPFLAGS
11661 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11662 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11665 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11666 case "x$with_gphoto" in
11667 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11668 xno) ;;
11669 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11670 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11671 esac
11673 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11674 case "x$with_gphoto" in
11675 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11676 xno) ;;
11677 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11678 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11679 esac
11683 if test "$ac_cv_header_resolv_h" = "yes"
11684 then
11685 ac_save_LIBS="$LIBS"
11686 for lib in '' -lresolv
11688 LIBS="$lib $ac_save_LIBS"
11689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11690 /* end confdefs.h. */
11691 #ifdef HAVE_NETINET_IN_H
11692 #include <netinet/in.h>
11693 #endif
11694 #include <resolv.h>
11696 main ()
11698 res_query("foo",ns_c_in,0,0,0);
11700 return 0;
11702 _ACEOF
11703 if ac_fn_c_try_link "$LINENO"; then :
11705 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11707 RESOLV_LIBS="$lib"
11710 rm -f core conftest.err conftest.$ac_objext \
11711 conftest$ac_exeext conftest.$ac_ext
11712 if test "${RESOLV_LIBS+set}" = set; then
11713 break
11715 done
11716 LIBS="$ac_save_LIBS"
11719 if test "x$with_lcms2" != "xno"
11720 then
11721 if ${LCMS2_CFLAGS:+false} :; then :
11722 if ${PKG_CONFIG+:} false; then :
11723 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11727 if ${LCMS2_LIBS:+false} :; then :
11728 if ${PKG_CONFIG+:} false; then :
11729 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11733 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11734 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11735 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11736 ac_save_CPPFLAGS=$CPPFLAGS
11737 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11738 for ac_header in lcms2.h
11739 do :
11740 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11741 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11742 cat >>confdefs.h <<_ACEOF
11743 #define HAVE_LCMS2_H 1
11744 _ACEOF
11748 done
11750 if test "$ac_cv_header_lcms2_h" = "yes"
11751 then
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11753 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11754 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11755 $as_echo_n "(cached) " >&6
11756 else
11757 ac_check_lib_save_LIBS=$LIBS
11758 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11760 /* end confdefs.h. */
11762 /* Override any GCC internal prototype to avoid an error.
11763 Use char because int might match the return type of a GCC
11764 builtin and then its argument prototype would still apply. */
11765 #ifdef __cplusplus
11766 extern "C"
11767 #endif
11768 char cmsOpenProfileFromFile ();
11770 main ()
11772 return cmsOpenProfileFromFile ();
11774 return 0;
11776 _ACEOF
11777 if ac_fn_c_try_link "$LINENO"; then :
11778 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11779 else
11780 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11782 rm -f core conftest.err conftest.$ac_objext \
11783 conftest$ac_exeext conftest.$ac_ext
11784 LIBS=$ac_check_lib_save_LIBS
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11787 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11788 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11790 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11792 else
11793 LCMS2_LIBS=""
11796 else
11797 LCMS2_CFLAGS=""
11798 LCMS2_LIBS=""
11800 CPPFLAGS=$ac_save_CPPFLAGS
11801 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11802 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11805 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11806 case "x$with_cms" in
11807 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11808 xno) ;;
11809 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11810 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11811 esac
11814 if test "x$with_freetype" != "xno"
11815 then
11816 if ${FREETYPE_CFLAGS:+false} :; then :
11817 if ${PKG_CONFIG+:} false; then :
11818 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11821 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11822 if ${FREETYPE_LIBS:+false} :; then :
11823 if ${PKG_CONFIG+:} false; then :
11824 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11827 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11828 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11829 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11830 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11831 ac_save_CPPFLAGS=$CPPFLAGS
11832 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11833 for ac_header in ft2build.h
11834 do :
11835 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11836 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11837 cat >>confdefs.h <<_ACEOF
11838 #define HAVE_FT2BUILD_H 1
11839 _ACEOF
11843 done
11845 if test "$ac_cv_header_ft2build_h" = "yes"
11846 then
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11848 $as_echo_n "checking for -lfreetype... " >&6; }
11849 if ${ac_cv_lib_soname_freetype+:} false; then :
11850 $as_echo_n "(cached) " >&6
11851 else
11852 ac_check_soname_save_LIBS=$LIBS
11853 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11855 /* end confdefs.h. */
11857 /* Override any GCC internal prototype to avoid an error.
11858 Use char because int might match the return type of a GCC
11859 builtin and then its argument prototype would still apply. */
11860 #ifdef __cplusplus
11861 extern "C"
11862 #endif
11863 char FT_Init_FreeType ();
11865 main ()
11867 return FT_Init_FreeType ();
11869 return 0;
11871 _ACEOF
11872 if ac_fn_c_try_link "$LINENO"; then :
11873 case "$LIBEXT" in
11874 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11875 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'` ;;
11876 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11877 if ${ac_cv_lib_soname_freetype:+false} :; then :
11878 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11879 fi ;;
11880 esac
11882 rm -f core conftest.err conftest.$ac_objext \
11883 conftest$ac_exeext conftest.$ac_ext
11884 LIBS=$ac_check_soname_save_LIBS
11886 if ${ac_cv_lib_soname_freetype:+false} :; then :
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11888 $as_echo "not found" >&6; }
11889 FREETYPE_LIBS=""
11890 else
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11892 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11894 cat >>confdefs.h <<_ACEOF
11895 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11896 _ACEOF
11899 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11901 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11902 #include FT_MODULE_H
11904 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11906 cat >>confdefs.h <<_ACEOF
11907 #define HAVE_FT_TRUETYPEENGINETYPE 1
11908 _ACEOF
11914 else
11915 FREETYPE_CFLAGS=""
11916 FREETYPE_LIBS=""
11918 CPPFLAGS=$ac_save_CPPFLAGS
11919 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11920 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11923 if test "x$ac_cv_lib_soname_freetype" = x; then :
11924 case "x$with_freetype" in
11925 xno) ;;
11926 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11927 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11928 esac
11930 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11933 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11934 if ${ac_cv_c_ppdev+:} false; then :
11935 $as_echo_n "(cached) " >&6
11936 else
11937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h. */
11939 #ifdef HAVE_SYS_IOCTL_H
11940 # include <sys/ioctl.h>
11941 #endif
11942 #include <linux/ppdev.h>
11944 main ()
11946 ioctl (1,PPCLAIM,0)
11948 return 0;
11950 _ACEOF
11951 if ac_fn_c_try_compile "$LINENO"; then :
11952 ac_cv_c_ppdev="yes"
11953 else
11954 ac_cv_c_ppdev="no"
11956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11959 $as_echo "$ac_cv_c_ppdev" >&6; }
11960 if test "$ac_cv_c_ppdev" = "yes"
11961 then
11963 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11967 ac_wine_check_funcs_save_LIBS="$LIBS"
11968 LIBS="$LIBS $PTHREAD_LIBS"
11969 for ac_func in \
11970 pthread_attr_get_np \
11971 pthread_getattr_np \
11972 pthread_getthreadid_np \
11973 pthread_get_stackaddr_np \
11974 pthread_get_stacksize_np
11975 do :
11976 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11977 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11978 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11979 cat >>confdefs.h <<_ACEOF
11980 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11981 _ACEOF
11984 done
11986 LIBS="$ac_wine_check_funcs_save_LIBS"
11988 if test "$ac_cv_header_zlib_h" = "yes"
11989 then
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11991 $as_echo_n "checking for inflate in -lz... " >&6; }
11992 if ${ac_cv_lib_z_inflate+:} false; then :
11993 $as_echo_n "(cached) " >&6
11994 else
11995 ac_check_lib_save_LIBS=$LIBS
11996 LIBS="-lz $LIBS"
11997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11998 /* end confdefs.h. */
12000 /* Override any GCC internal prototype to avoid an error.
12001 Use char because int might match the return type of a GCC
12002 builtin and then its argument prototype would still apply. */
12003 #ifdef __cplusplus
12004 extern "C"
12005 #endif
12006 char inflate ();
12008 main ()
12010 return inflate ();
12012 return 0;
12014 _ACEOF
12015 if ac_fn_c_try_link "$LINENO"; then :
12016 ac_cv_lib_z_inflate=yes
12017 else
12018 ac_cv_lib_z_inflate=no
12020 rm -f core conftest.err conftest.$ac_objext \
12021 conftest$ac_exeext conftest.$ac_ext
12022 LIBS=$ac_check_lib_save_LIBS
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12025 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12026 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12028 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12030 Z_LIBS="-lz"
12035 if test "x$Z_LIBS" = "x"; then :
12036 case "x$with_zlib" in
12037 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12038 xno) ;;
12039 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12040 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12041 esac
12044 if test "x$enable_tools" != xno
12045 then
12046 if test "$ac_cv_header_gettext_po_h" = "yes"
12047 then
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12049 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12050 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12051 $as_echo_n "(cached) " >&6
12052 else
12053 ac_check_lib_save_LIBS=$LIBS
12054 LIBS="-lgettextpo $LIBS"
12055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12056 /* end confdefs.h. */
12058 /* Override any GCC internal prototype to avoid an error.
12059 Use char because int might match the return type of a GCC
12060 builtin and then its argument prototype would still apply. */
12061 #ifdef __cplusplus
12062 extern "C"
12063 #endif
12064 char po_message_msgctxt ();
12066 main ()
12068 return po_message_msgctxt ();
12070 return 0;
12072 _ACEOF
12073 if ac_fn_c_try_link "$LINENO"; then :
12074 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12075 else
12076 ac_cv_lib_gettextpo_po_message_msgctxt=no
12078 rm -f core conftest.err conftest.$ac_objext \
12079 conftest$ac_exeext conftest.$ac_ext
12080 LIBS=$ac_check_lib_save_LIBS
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12083 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12084 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12086 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12088 GETTEXTPO_LIBS="-lgettextpo"
12093 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12094 case "x$with_gettextpo" in
12095 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12096 xno) ;;
12097 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12098 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12099 esac
12103 if test "x$with_gstreamer" != "xno"
12104 then
12105 if ${GSTREAMER_CFLAGS:+false} :; then :
12106 if ${PKG_CONFIG+:} false; then :
12107 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12111 if ${GSTREAMER_LIBS:+false} :; then :
12112 if ${PKG_CONFIG+:} false; then :
12113 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12118 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12119 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12120 ac_save_CPPFLAGS=$CPPFLAGS
12121 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12122 ac_gst_incl=""
12123 for i in $GSTREAMER_CFLAGS
12125 case "$i" in
12126 -I*) ac_gst_incl="$ac_gst_incl $i";;
12127 esac
12128 done
12129 GSTREAMER_CFLAGS=$ac_gst_incl
12130 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12131 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12132 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12133 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12134 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12136 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12138 /* end confdefs.h. */
12139 #include <gst/app/gstappsink.h>
12141 main ()
12143 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12145 return 0;
12147 _ACEOF
12148 if ac_fn_c_try_compile "$LINENO"; then :
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12150 $as_echo "yes" >&6; }
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12152 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12153 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12154 $as_echo_n "(cached) " >&6
12155 else
12156 ac_check_lib_save_LIBS=$LIBS
12157 LIBS="-lgstreamer-0.10 $LIBS"
12158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12159 /* end confdefs.h. */
12161 /* Override any GCC internal prototype to avoid an error.
12162 Use char because int might match the return type of a GCC
12163 builtin and then its argument prototype would still apply. */
12164 #ifdef __cplusplus
12165 extern "C"
12166 #endif
12167 char gst_pad_get_caps_reffed ();
12169 main ()
12171 return gst_pad_get_caps_reffed ();
12173 return 0;
12175 _ACEOF
12176 if ac_fn_c_try_link "$LINENO"; then :
12177 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12178 else
12179 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12181 rm -f core conftest.err conftest.$ac_objext \
12182 conftest$ac_exeext conftest.$ac_ext
12183 LIBS=$ac_check_lib_save_LIBS
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12186 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12187 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12189 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12190 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12191 $as_echo_n "(cached) " >&6
12192 else
12193 ac_check_lib_save_LIBS=$LIBS
12194 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12196 /* end confdefs.h. */
12198 /* Override any GCC internal prototype to avoid an error.
12199 Use char because int might match the return type of a GCC
12200 builtin and then its argument prototype would still apply. */
12201 #ifdef __cplusplus
12202 extern "C"
12203 #endif
12204 char gst_app_buffer_new ();
12206 main ()
12208 return gst_app_buffer_new ();
12210 return 0;
12212 _ACEOF
12213 if ac_fn_c_try_link "$LINENO"; then :
12214 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12215 else
12216 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12218 rm -f core conftest.err conftest.$ac_objext \
12219 conftest$ac_exeext conftest.$ac_ext
12220 LIBS=$ac_check_lib_save_LIBS
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12223 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12224 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12230 else
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12232 $as_echo "no" >&6; }
12234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12238 else
12239 GSTREAMER_CFLAGS=""
12243 CPPFLAGS=$ac_save_CPPFLAGS
12244 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12245 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12248 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12249 case "x$with_gstreamer" in
12250 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12251 xno) ;;
12252 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12253 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12254 esac
12256 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12258 ALSA_LIBS=""
12260 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12261 then
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12263 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12264 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12265 $as_echo_n "(cached) " >&6
12266 else
12267 ac_check_lib_save_LIBS=$LIBS
12268 LIBS="-lasound $LIBS"
12269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12270 /* end confdefs.h. */
12272 /* Override any GCC internal prototype to avoid an error.
12273 Use char because int might match the return type of a GCC
12274 builtin and then its argument prototype would still apply. */
12275 #ifdef __cplusplus
12276 extern "C"
12277 #endif
12278 char snd_pcm_hw_params_get_access_mask ();
12280 main ()
12282 return snd_pcm_hw_params_get_access_mask ();
12284 return 0;
12286 _ACEOF
12287 if ac_fn_c_try_link "$LINENO"; then :
12288 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12289 else
12290 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12292 rm -f core conftest.err conftest.$ac_objext \
12293 conftest$ac_exeext conftest.$ac_ext
12294 LIBS=$ac_check_lib_save_LIBS
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12297 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12298 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12301 #ifdef HAVE_ALSA_ASOUNDLIB_H
12302 #include <alsa/asoundlib.h>
12303 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12304 #include <sys/asoundlib.h>
12305 #endif
12307 main ()
12309 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12311 return 0;
12313 _ACEOF
12314 if ac_fn_c_try_compile "$LINENO"; then :
12315 ALSA_LIBS="-lasound"
12317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12322 if test "x$with_oss" != xno
12323 then
12324 ac_save_CPPFLAGS="$CPPFLAGS"
12325 if test -f /etc/oss.conf
12326 then
12327 . /etc/oss.conf
12329 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12330 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12331 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12332 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12333 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12335 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12337 cat >>confdefs.h <<_ACEOF
12338 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12339 _ACEOF
12341 OSS4_CFLAGS="$ac_oss_incl"
12348 CPPFLAGS="$ac_save_CPPFLAGS"
12349 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12350 then
12351 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12355 if test "x$with_capi" != "xno"
12356 then
12357 if ${CAPI20_CFLAGS:+false} :; then :
12358 if ${PKG_CONFIG+:} false; then :
12359 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12363 if ${CAPI20_LIBS:+false} :; then :
12364 if ${PKG_CONFIG+:} false; then :
12365 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12370 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12371 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12372 ac_save_CPPFLAGS=$CPPFLAGS
12373 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12374 for ac_header in capi20.h linux/capi.h
12375 do :
12376 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12377 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12379 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12380 cat >>confdefs.h <<_ACEOF
12381 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12382 _ACEOF
12386 done
12388 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12389 then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12391 $as_echo_n "checking for -lcapi20... " >&6; }
12392 if ${ac_cv_lib_soname_capi20+:} false; then :
12393 $as_echo_n "(cached) " >&6
12394 else
12395 ac_check_soname_save_LIBS=$LIBS
12396 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12398 /* end confdefs.h. */
12400 /* Override any GCC internal prototype to avoid an error.
12401 Use char because int might match the return type of a GCC
12402 builtin and then its argument prototype would still apply. */
12403 #ifdef __cplusplus
12404 extern "C"
12405 #endif
12406 char capi20_register ();
12408 main ()
12410 return capi20_register ();
12412 return 0;
12414 _ACEOF
12415 if ac_fn_c_try_link "$LINENO"; then :
12416 case "$LIBEXT" in
12417 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12418 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'` ;;
12419 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12420 if ${ac_cv_lib_soname_capi20:+false} :; then :
12421 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12422 fi ;;
12423 esac
12425 rm -f core conftest.err conftest.$ac_objext \
12426 conftest$ac_exeext conftest.$ac_ext
12427 LIBS=$ac_check_soname_save_LIBS
12429 if ${ac_cv_lib_soname_capi20:+false} :; then :
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12431 $as_echo "not found" >&6; }
12433 else
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12435 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12437 cat >>confdefs.h <<_ACEOF
12438 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12439 _ACEOF
12444 CPPFLAGS=$ac_save_CPPFLAGS
12445 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12446 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12449 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12450 case "x$with_capi" in
12451 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12452 xno) ;;
12453 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12454 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12455 esac
12458 CUPS_CFLAGS=""
12460 if test "x$with_cups" != "xno"
12461 then
12462 ac_save_CPPFLAGS="$CPPFLAGS"
12463 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12464 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12465 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12466 for ac_header in cups/cups.h
12467 do :
12468 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12469 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12470 cat >>confdefs.h <<_ACEOF
12471 #define HAVE_CUPS_CUPS_H 1
12472 _ACEOF
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12474 $as_echo_n "checking for -lcups... " >&6; }
12475 if ${ac_cv_lib_soname_cups+:} false; then :
12476 $as_echo_n "(cached) " >&6
12477 else
12478 ac_check_soname_save_LIBS=$LIBS
12479 LIBS="-lcups $ac_cups_libs $LIBS"
12480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12481 /* end confdefs.h. */
12483 /* Override any GCC internal prototype to avoid an error.
12484 Use char because int might match the return type of a GCC
12485 builtin and then its argument prototype would still apply. */
12486 #ifdef __cplusplus
12487 extern "C"
12488 #endif
12489 char cupsGetDefault ();
12491 main ()
12493 return cupsGetDefault ();
12495 return 0;
12497 _ACEOF
12498 if ac_fn_c_try_link "$LINENO"; then :
12499 case "$LIBEXT" in
12500 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12501 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'` ;;
12502 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12503 if ${ac_cv_lib_soname_cups:+false} :; then :
12504 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12505 fi ;;
12506 esac
12508 rm -f core conftest.err conftest.$ac_objext \
12509 conftest$ac_exeext conftest.$ac_ext
12510 LIBS=$ac_check_soname_save_LIBS
12512 if ${ac_cv_lib_soname_cups:+false} :; then :
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12514 $as_echo "not found" >&6; }
12516 else
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12518 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12520 cat >>confdefs.h <<_ACEOF
12521 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12522 _ACEOF
12524 CUPS_CFLAGS="$ac_cups_cflags"
12528 done
12530 CPPFLAGS="$ac_save_CPPFLAGS"
12532 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12533 case "x$with_cups" in
12534 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12535 xno) ;;
12536 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12537 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12538 esac
12541 if test "x$with_fontconfig" != "xno"
12542 then
12543 if ${FONTCONFIG_CFLAGS:+false} :; then :
12544 if ${PKG_CONFIG+:} false; then :
12545 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12548 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12549 if ${FONTCONFIG_LIBS:+false} :; then :
12550 if ${PKG_CONFIG+:} false; then :
12551 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12554 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12556 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12557 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12558 ac_save_CPPFLAGS=$CPPFLAGS
12559 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12560 for ac_header in fontconfig/fontconfig.h
12561 do :
12562 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12563 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12564 cat >>confdefs.h <<_ACEOF
12565 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12566 _ACEOF
12570 done
12572 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12573 then
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12575 $as_echo_n "checking for -lfontconfig... " >&6; }
12576 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12577 $as_echo_n "(cached) " >&6
12578 else
12579 ac_check_soname_save_LIBS=$LIBS
12580 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12582 /* end confdefs.h. */
12584 /* Override any GCC internal prototype to avoid an error.
12585 Use char because int might match the return type of a GCC
12586 builtin and then its argument prototype would still apply. */
12587 #ifdef __cplusplus
12588 extern "C"
12589 #endif
12590 char FcInit ();
12592 main ()
12594 return FcInit ();
12596 return 0;
12598 _ACEOF
12599 if ac_fn_c_try_link "$LINENO"; then :
12600 case "$LIBEXT" in
12601 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12602 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'` ;;
12603 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12604 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12605 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12606 fi ;;
12607 esac
12609 rm -f core conftest.err conftest.$ac_objext \
12610 conftest$ac_exeext conftest.$ac_ext
12611 LIBS=$ac_check_soname_save_LIBS
12613 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12615 $as_echo "not found" >&6; }
12616 FONTCONFIG_CFLAGS=""
12617 else
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12619 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12621 cat >>confdefs.h <<_ACEOF
12622 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12623 _ACEOF
12627 else
12628 FONTCONFIG_CFLAGS=""
12630 CPPFLAGS=$ac_save_CPPFLAGS
12631 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12632 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12635 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12636 case "x$with_fontconfig" in
12637 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12638 xno) ;;
12639 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12640 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12641 esac
12644 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12645 then
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12647 $as_echo_n "checking for -lgsm... " >&6; }
12648 if ${ac_cv_lib_soname_gsm+:} false; then :
12649 $as_echo_n "(cached) " >&6
12650 else
12651 ac_check_soname_save_LIBS=$LIBS
12652 LIBS="-lgsm $LIBS"
12653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12654 /* end confdefs.h. */
12656 /* Override any GCC internal prototype to avoid an error.
12657 Use char because int might match the return type of a GCC
12658 builtin and then its argument prototype would still apply. */
12659 #ifdef __cplusplus
12660 extern "C"
12661 #endif
12662 char gsm_create ();
12664 main ()
12666 return gsm_create ();
12668 return 0;
12670 _ACEOF
12671 if ac_fn_c_try_link "$LINENO"; then :
12672 case "$LIBEXT" in
12673 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12674 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'` ;;
12675 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12676 if ${ac_cv_lib_soname_gsm:+false} :; then :
12677 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12678 fi ;;
12679 esac
12681 rm -f core conftest.err conftest.$ac_objext \
12682 conftest$ac_exeext conftest.$ac_ext
12683 LIBS=$ac_check_soname_save_LIBS
12685 if ${ac_cv_lib_soname_gsm:+false} :; then :
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12687 $as_echo "not found" >&6; }
12689 else
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12691 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12693 cat >>confdefs.h <<_ACEOF
12694 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12695 _ACEOF
12700 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12701 case "x$with_gsm" in
12702 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12703 xno) ;;
12704 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12705 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12706 esac
12709 if test "x$with_jpeg" != "xno"
12710 then
12711 if ${JPEG_CFLAGS:+false} :; then :
12712 if ${PKG_CONFIG+:} false; then :
12713 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12717 if ${JPEG_LIBS:+false} :; then :
12718 if ${PKG_CONFIG+:} false; then :
12719 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12724 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12725 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12726 ac_save_CPPFLAGS=$CPPFLAGS
12727 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12728 for ac_header in jpeglib.h
12729 do :
12730 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12731 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12732 cat >>confdefs.h <<_ACEOF
12733 #define HAVE_JPEGLIB_H 1
12734 _ACEOF
12738 done
12740 if test "$ac_cv_header_jpeglib_h" = "yes"
12741 then
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12743 $as_echo_n "checking for -ljpeg... " >&6; }
12744 if ${ac_cv_lib_soname_jpeg+:} false; then :
12745 $as_echo_n "(cached) " >&6
12746 else
12747 ac_check_soname_save_LIBS=$LIBS
12748 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12750 /* end confdefs.h. */
12752 /* Override any GCC internal prototype to avoid an error.
12753 Use char because int might match the return type of a GCC
12754 builtin and then its argument prototype would still apply. */
12755 #ifdef __cplusplus
12756 extern "C"
12757 #endif
12758 char jpeg_start_decompress ();
12760 main ()
12762 return jpeg_start_decompress ();
12764 return 0;
12766 _ACEOF
12767 if ac_fn_c_try_link "$LINENO"; then :
12768 case "$LIBEXT" in
12769 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12770 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'` ;;
12771 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12772 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12773 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12774 fi ;;
12775 esac
12777 rm -f core conftest.err conftest.$ac_objext \
12778 conftest$ac_exeext conftest.$ac_ext
12779 LIBS=$ac_check_soname_save_LIBS
12781 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12783 $as_echo "not found" >&6; }
12784 JPEG_CFLAGS=""
12785 else
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12787 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12789 cat >>confdefs.h <<_ACEOF
12790 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12791 _ACEOF
12795 else
12796 JPEG_CFLAGS=""
12798 CPPFLAGS=$ac_save_CPPFLAGS
12799 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12800 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12803 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12804 case "x$with_jpeg" in
12805 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12806 xno) ;;
12807 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12808 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12809 esac
12812 if test "x$with_png" != "xno"
12813 then
12814 if ${PNG_CFLAGS:+false} :; then :
12815 if ${PKG_CONFIG+:} false; then :
12816 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12819 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12820 if ${PNG_LIBS:+false} :; then :
12821 if ${PKG_CONFIG+:} false; then :
12822 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12825 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12827 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12828 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12829 ac_save_CPPFLAGS=$CPPFLAGS
12830 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12831 for ac_header in png.h
12832 do :
12833 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12834 if test "x$ac_cv_header_png_h" = xyes; then :
12835 cat >>confdefs.h <<_ACEOF
12836 #define HAVE_PNG_H 1
12837 _ACEOF
12841 done
12843 if test "$ac_cv_header_png_h" = "yes"
12844 then
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12846 $as_echo_n "checking for -lpng... " >&6; }
12847 if ${ac_cv_lib_soname_png+:} false; then :
12848 $as_echo_n "(cached) " >&6
12849 else
12850 ac_check_soname_save_LIBS=$LIBS
12851 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12853 /* end confdefs.h. */
12855 /* Override any GCC internal prototype to avoid an error.
12856 Use char because int might match the return type of a GCC
12857 builtin and then its argument prototype would still apply. */
12858 #ifdef __cplusplus
12859 extern "C"
12860 #endif
12861 char png_create_read_struct ();
12863 main ()
12865 return png_create_read_struct ();
12867 return 0;
12869 _ACEOF
12870 if ac_fn_c_try_link "$LINENO"; then :
12871 case "$LIBEXT" in
12872 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12873 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'` ;;
12874 *) 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'`
12875 if ${ac_cv_lib_soname_png:+false} :; then :
12876 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12877 fi ;;
12878 esac
12880 rm -f core conftest.err conftest.$ac_objext \
12881 conftest$ac_exeext conftest.$ac_ext
12882 LIBS=$ac_check_soname_save_LIBS
12884 if ${ac_cv_lib_soname_png:+false} :; then :
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12886 $as_echo "not found" >&6; }
12887 PNG_CFLAGS=""
12888 else
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12890 $as_echo "$ac_cv_lib_soname_png" >&6; }
12892 cat >>confdefs.h <<_ACEOF
12893 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12894 _ACEOF
12896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12897 /* end confdefs.h. */
12898 #include <png.h>
12900 main ()
12902 typeof(png_set_expand_gray_1_2_4_to_8) *p
12904 return 0;
12906 _ACEOF
12907 if ac_fn_c_try_compile "$LINENO"; then :
12909 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12914 else
12915 PNG_CFLAGS=""
12917 CPPFLAGS=$ac_save_CPPFLAGS
12918 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12919 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12922 if test "x$ac_cv_lib_soname_png" = "x"; then :
12923 case "x$with_png" in
12924 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12925 xno) ;;
12926 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12927 This is an error since --with-png was requested." "$LINENO" 5 ;;
12928 esac
12931 if test "x$with_tiff" != "xno"
12932 then
12933 if ${TIFF_CFLAGS:+false} :; then :
12934 if ${PKG_CONFIG+:} false; then :
12935 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12939 if ${TIFF_LIBS:+false} :; then :
12940 if ${PKG_CONFIG+:} false; then :
12941 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12946 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12947 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12948 ac_save_CPPFLAGS=$CPPFLAGS
12949 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12950 for ac_header in tiffio.h
12951 do :
12952 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12953 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12954 cat >>confdefs.h <<_ACEOF
12955 #define HAVE_TIFFIO_H 1
12956 _ACEOF
12960 done
12962 if test "$ac_cv_header_tiffio_h" = "yes"
12963 then
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12965 $as_echo_n "checking for -ltiff... " >&6; }
12966 if ${ac_cv_lib_soname_tiff+:} false; then :
12967 $as_echo_n "(cached) " >&6
12968 else
12969 ac_check_soname_save_LIBS=$LIBS
12970 LIBS="-ltiff $TIFF_LIBS $LIBS"
12971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12972 /* end confdefs.h. */
12974 /* Override any GCC internal prototype to avoid an error.
12975 Use char because int might match the return type of a GCC
12976 builtin and then its argument prototype would still apply. */
12977 #ifdef __cplusplus
12978 extern "C"
12979 #endif
12980 char TIFFClientOpen ();
12982 main ()
12984 return TIFFClientOpen ();
12986 return 0;
12988 _ACEOF
12989 if ac_fn_c_try_link "$LINENO"; then :
12990 case "$LIBEXT" in
12991 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12992 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'` ;;
12993 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12994 if ${ac_cv_lib_soname_tiff:+false} :; then :
12995 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12996 fi ;;
12997 esac
12999 rm -f core conftest.err conftest.$ac_objext \
13000 conftest$ac_exeext conftest.$ac_ext
13001 LIBS=$ac_check_soname_save_LIBS
13003 if ${ac_cv_lib_soname_tiff:+false} :; then :
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13005 $as_echo "not found" >&6; }
13007 else
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13009 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13011 cat >>confdefs.h <<_ACEOF
13012 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13013 _ACEOF
13018 CPPFLAGS=$ac_save_CPPFLAGS
13019 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13020 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13023 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13024 case "x$with_tiff" in
13025 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13026 xno) ;;
13027 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13028 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13029 esac
13032 if test "x$with_mpg123" != "xno"
13033 then
13034 if ${MPG123_CFLAGS:+false} :; then :
13035 if ${PKG_CONFIG+:} false; then :
13036 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13040 if ${MPG123_LIBS:+false} :; then :
13041 if ${PKG_CONFIG+:} false; then :
13042 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13046 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13047 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13048 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13049 ac_save_CPPFLAGS=$CPPFLAGS
13050 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13051 for ac_header in mpg123.h
13052 do :
13053 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13054 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13055 cat >>confdefs.h <<_ACEOF
13056 #define HAVE_MPG123_H 1
13057 _ACEOF
13061 done
13063 if test "$ac_cv_header_mpg123_h" = "yes"
13064 then
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13066 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13067 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13068 $as_echo_n "(cached) " >&6
13069 else
13070 ac_check_lib_save_LIBS=$LIBS
13071 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13073 /* end confdefs.h. */
13075 /* Override any GCC internal prototype to avoid an error.
13076 Use char because int might match the return type of a GCC
13077 builtin and then its argument prototype would still apply. */
13078 #ifdef __cplusplus
13079 extern "C"
13080 #endif
13081 char mpg123_feed ();
13083 main ()
13085 return mpg123_feed ();
13087 return 0;
13089 _ACEOF
13090 if ac_fn_c_try_link "$LINENO"; then :
13091 ac_cv_lib_mpg123_mpg123_feed=yes
13092 else
13093 ac_cv_lib_mpg123_mpg123_feed=no
13095 rm -f core conftest.err conftest.$ac_objext \
13096 conftest$ac_exeext conftest.$ac_ext
13097 LIBS=$ac_check_lib_save_LIBS
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13100 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13101 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13103 else
13104 MPG123_LIBS=""
13107 else
13108 MPG123_CFLAGS=""
13109 MPG123_LIBS=""
13111 CPPFLAGS=$ac_save_CPPFLAGS
13112 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13113 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13116 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13117 case "x$with_mpg123" in
13118 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13119 xno) ;;
13120 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13121 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13122 esac
13124 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}
13126 if test "$ac_cv_header_AL_al_h" = "yes"
13127 then
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13129 $as_echo_n "checking for -lopenal... " >&6; }
13130 if ${ac_cv_lib_soname_openal+:} false; then :
13131 $as_echo_n "(cached) " >&6
13132 else
13133 ac_check_soname_save_LIBS=$LIBS
13134 LIBS="-lopenal $LIBS"
13135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13136 /* end confdefs.h. */
13138 /* Override any GCC internal prototype to avoid an error.
13139 Use char because int might match the return type of a GCC
13140 builtin and then its argument prototype would still apply. */
13141 #ifdef __cplusplus
13142 extern "C"
13143 #endif
13144 char alGetSource3i ();
13146 main ()
13148 return alGetSource3i ();
13150 return 0;
13152 _ACEOF
13153 if ac_fn_c_try_link "$LINENO"; then :
13154 case "$LIBEXT" in
13155 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13156 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'` ;;
13157 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13158 if ${ac_cv_lib_soname_openal:+false} :; then :
13159 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13160 fi ;;
13161 esac
13163 rm -f core conftest.err conftest.$ac_objext \
13164 conftest$ac_exeext conftest.$ac_ext
13165 LIBS=$ac_check_soname_save_LIBS
13167 if ${ac_cv_lib_soname_openal:+false} :; then :
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13169 $as_echo "not found" >&6; }
13171 else
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13173 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13175 cat >>confdefs.h <<_ACEOF
13176 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13177 _ACEOF
13179 OPENAL_LIBS="-lopenal"
13181 ac_cv_lib_openal=yes
13183 cat >>confdefs.h <<_ACEOF
13184 #define HAVE_OPENAL 1
13185 _ACEOF
13189 if test "x$ac_cv_lib_openal" != xyes; then :
13190 case "x$with_openal" in
13191 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13192 xno) ;;
13193 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13194 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13195 esac
13197 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13199 if test "$ac_cv_header_kstat_h" = "yes"
13200 then
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13202 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13203 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13204 $as_echo_n "(cached) " >&6
13205 else
13206 ac_check_lib_save_LIBS=$LIBS
13207 LIBS="-lkstat $LIBS"
13208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13209 /* end confdefs.h. */
13211 /* Override any GCC internal prototype to avoid an error.
13212 Use char because int might match the return type of a GCC
13213 builtin and then its argument prototype would still apply. */
13214 #ifdef __cplusplus
13215 extern "C"
13216 #endif
13217 char kstat_open ();
13219 main ()
13221 return kstat_open ();
13223 return 0;
13225 _ACEOF
13226 if ac_fn_c_try_link "$LINENO"; then :
13227 ac_cv_lib_kstat_kstat_open=yes
13228 else
13229 ac_cv_lib_kstat_kstat_open=no
13231 rm -f core conftest.err conftest.$ac_objext \
13232 conftest$ac_exeext conftest.$ac_ext
13233 LIBS=$ac_check_lib_save_LIBS
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13236 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13237 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13239 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13241 KSTAT_LIBS="-lkstat"
13247 if test "$ac_cv_header_libprocstat_h" = "yes"
13248 then
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13250 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13251 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13252 $as_echo_n "(cached) " >&6
13253 else
13254 ac_check_lib_save_LIBS=$LIBS
13255 LIBS="-lprocstat $LIBS"
13256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13257 /* end confdefs.h. */
13259 /* Override any GCC internal prototype to avoid an error.
13260 Use char because int might match the return type of a GCC
13261 builtin and then its argument prototype would still apply. */
13262 #ifdef __cplusplus
13263 extern "C"
13264 #endif
13265 char procstat_open_sysctl ();
13267 main ()
13269 return procstat_open_sysctl ();
13271 return 0;
13273 _ACEOF
13274 if ac_fn_c_try_link "$LINENO"; then :
13275 ac_cv_lib_procstat_procstat_open_sysctl=yes
13276 else
13277 ac_cv_lib_procstat_procstat_open_sysctl=no
13279 rm -f core conftest.err conftest.$ac_objext \
13280 conftest$ac_exeext conftest.$ac_ext
13281 LIBS=$ac_check_lib_save_LIBS
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13284 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13285 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13287 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13289 PROCSTAT_LIBS="-lprocstat"
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13296 $as_echo_n "checking for -lodbc... " >&6; }
13297 if ${ac_cv_lib_soname_odbc+:} false; then :
13298 $as_echo_n "(cached) " >&6
13299 else
13300 ac_check_soname_save_LIBS=$LIBS
13301 LIBS="-lodbc $LIBS"
13302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13303 /* end confdefs.h. */
13305 /* Override any GCC internal prototype to avoid an error.
13306 Use char because int might match the return type of a GCC
13307 builtin and then its argument prototype would still apply. */
13308 #ifdef __cplusplus
13309 extern "C"
13310 #endif
13311 char SQLConnect ();
13313 main ()
13315 return SQLConnect ();
13317 return 0;
13319 _ACEOF
13320 if ac_fn_c_try_link "$LINENO"; then :
13321 case "$LIBEXT" in
13322 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13323 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'` ;;
13324 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13325 if ${ac_cv_lib_soname_odbc:+false} :; then :
13326 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13327 fi ;;
13328 esac
13330 rm -f core conftest.err conftest.$ac_objext \
13331 conftest$ac_exeext conftest.$ac_ext
13332 LIBS=$ac_check_soname_save_LIBS
13334 if ${ac_cv_lib_soname_odbc:+false} :; then :
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13336 $as_echo "not found" >&6; }
13337 cat >>confdefs.h <<_ACEOF
13338 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13339 _ACEOF
13341 else
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13343 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13345 cat >>confdefs.h <<_ACEOF
13346 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13347 _ACEOF
13352 if test "x$with_netapi" != "xno"
13353 then
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13355 $as_echo_n "checking for -lnetapi... " >&6; }
13356 if ${ac_cv_lib_soname_netapi+:} false; then :
13357 $as_echo_n "(cached) " >&6
13358 else
13359 ac_check_soname_save_LIBS=$LIBS
13360 LIBS="-lnetapi $LIBS"
13361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13362 /* end confdefs.h. */
13364 /* Override any GCC internal prototype to avoid an error.
13365 Use char because int might match the return type of a GCC
13366 builtin and then its argument prototype would still apply. */
13367 #ifdef __cplusplus
13368 extern "C"
13369 #endif
13370 char libnetapi_init ();
13372 main ()
13374 return libnetapi_init ();
13376 return 0;
13378 _ACEOF
13379 if ac_fn_c_try_link "$LINENO"; then :
13380 case "$LIBEXT" in
13381 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13382 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'` ;;
13383 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13384 if ${ac_cv_lib_soname_netapi:+false} :; then :
13385 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13386 fi ;;
13387 esac
13389 rm -f core conftest.err conftest.$ac_objext \
13390 conftest$ac_exeext conftest.$ac_ext
13391 LIBS=$ac_check_soname_save_LIBS
13393 if ${ac_cv_lib_soname_netapi:+false} :; then :
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13395 $as_echo "not found" >&6; }
13396 cat >>confdefs.h <<_ACEOF
13397 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13398 _ACEOF
13400 else
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13402 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13404 cat >>confdefs.h <<_ACEOF
13405 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13406 _ACEOF
13412 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13413 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13414 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13415 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13417 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13418 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13419 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13420 then
13421 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13425 EXTRACFLAGS=""
13427 if test "x${GCC}" = "xyes"
13428 then
13429 EXTRACFLAGS="-Wall -pipe"
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13432 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13433 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13434 $as_echo_n "(cached) " >&6
13435 else
13436 if test "$cross_compiling" = yes; then :
13437 ac_cv_c_gcc_strength_bug="yes"
13438 else
13439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13440 /* end confdefs.h. */
13441 int L[4] = {0,1,2,3};
13443 main ()
13445 static int Array[3];
13446 unsigned int B = 3;
13447 int i;
13448 for(i=0; i<B; i++) Array[i] = i - 3;
13449 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13450 L[i] = 4;
13451 return (Array[1] != -2 || L[2] != 3)
13453 return 0;
13455 _ACEOF
13456 if ac_fn_c_try_run "$LINENO"; then :
13457 ac_cv_c_gcc_strength_bug="no"
13458 else
13459 ac_cv_c_gcc_strength_bug="yes"
13461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13462 conftest.$ac_objext conftest.beam conftest.$ac_ext
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13467 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13468 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13469 then
13470 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13474 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13475 if ${ac_cv_cflags__fno_builtin+:} false; then :
13476 $as_echo_n "(cached) " >&6
13477 else
13478 ac_wine_try_cflags_saved=$CFLAGS
13479 CFLAGS="$CFLAGS -fno-builtin"
13480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13481 /* end confdefs.h. */
13482 int main(int argc, char **argv) { return 0; }
13483 _ACEOF
13484 if ac_fn_c_try_link "$LINENO"; then :
13485 ac_cv_cflags__fno_builtin=yes
13486 else
13487 ac_cv_cflags__fno_builtin=no
13489 rm -f core conftest.err conftest.$ac_objext \
13490 conftest$ac_exeext conftest.$ac_ext
13491 CFLAGS=$ac_wine_try_cflags_saved
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13494 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13495 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13496 BUILTINFLAG="-fno-builtin"
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13500 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13501 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13502 $as_echo_n "(cached) " >&6
13503 else
13504 ac_wine_try_cflags_saved=$CFLAGS
13505 CFLAGS="$CFLAGS -fno-strict-aliasing"
13506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13507 /* end confdefs.h. */
13508 int main(int argc, char **argv) { return 0; }
13509 _ACEOF
13510 if ac_fn_c_try_link "$LINENO"; then :
13511 ac_cv_cflags__fno_strict_aliasing=yes
13512 else
13513 ac_cv_cflags__fno_strict_aliasing=no
13515 rm -f core conftest.err conftest.$ac_objext \
13516 conftest$ac_exeext conftest.$ac_ext
13517 CFLAGS=$ac_wine_try_cflags_saved
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13520 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13521 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13522 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13524 saved_CFLAGS=$CFLAGS
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13526 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13527 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13528 $as_echo_n "(cached) " >&6
13529 else
13530 ac_wine_try_cflags_saved=$CFLAGS
13531 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13533 /* end confdefs.h. */
13534 int main(int argc, char **argv) { return 0; }
13535 _ACEOF
13536 if ac_fn_c_try_link "$LINENO"; then :
13537 ac_cv_cflags__Werror_unknown_warning_option=yes
13538 else
13539 ac_cv_cflags__Werror_unknown_warning_option=no
13541 rm -f core conftest.err conftest.$ac_objext \
13542 conftest$ac_exeext conftest.$ac_ext
13543 CFLAGS=$ac_wine_try_cflags_saved
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13546 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13547 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13548 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13551 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13552 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13553 $as_echo_n "(cached) " >&6
13554 else
13555 ac_wine_try_cflags_saved=$CFLAGS
13556 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13558 /* end confdefs.h. */
13559 int main(int argc, char **argv) { return 0; }
13560 _ACEOF
13561 if ac_fn_c_try_link "$LINENO"; then :
13562 ac_cv_cflags__Wdeclaration_after_statement=yes
13563 else
13564 ac_cv_cflags__Wdeclaration_after_statement=no
13566 rm -f core conftest.err conftest.$ac_objext \
13567 conftest$ac_exeext conftest.$ac_ext
13568 CFLAGS=$ac_wine_try_cflags_saved
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13571 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13572 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13573 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13576 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13577 if ${ac_cv_cflags__Wempty_body+:} false; then :
13578 $as_echo_n "(cached) " >&6
13579 else
13580 ac_wine_try_cflags_saved=$CFLAGS
13581 CFLAGS="$CFLAGS -Wempty-body"
13582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13583 /* end confdefs.h. */
13584 int main(int argc, char **argv) { return 0; }
13585 _ACEOF
13586 if ac_fn_c_try_link "$LINENO"; then :
13587 ac_cv_cflags__Wempty_body=yes
13588 else
13589 ac_cv_cflags__Wempty_body=no
13591 rm -f core conftest.err conftest.$ac_objext \
13592 conftest$ac_exeext conftest.$ac_ext
13593 CFLAGS=$ac_wine_try_cflags_saved
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13596 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13597 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13598 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13601 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13602 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13603 $as_echo_n "(cached) " >&6
13604 else
13605 ac_wine_try_cflags_saved=$CFLAGS
13606 CFLAGS="$CFLAGS -Wignored-qualifiers"
13607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13608 /* end confdefs.h. */
13609 int main(int argc, char **argv) { return 0; }
13610 _ACEOF
13611 if ac_fn_c_try_link "$LINENO"; then :
13612 ac_cv_cflags__Wignored_qualifiers=yes
13613 else
13614 ac_cv_cflags__Wignored_qualifiers=no
13616 rm -f core conftest.err conftest.$ac_objext \
13617 conftest$ac_exeext conftest.$ac_ext
13618 CFLAGS=$ac_wine_try_cflags_saved
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13621 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13622 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13623 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13626 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13627 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13628 $as_echo_n "(cached) " >&6
13629 else
13630 ac_wine_try_cflags_saved=$CFLAGS
13631 CFLAGS="$CFLAGS -Wstrict-prototypes"
13632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13633 /* end confdefs.h. */
13634 int main(int argc, char **argv) { return 0; }
13635 _ACEOF
13636 if ac_fn_c_try_link "$LINENO"; then :
13637 ac_cv_cflags__Wstrict_prototypes=yes
13638 else
13639 ac_cv_cflags__Wstrict_prototypes=no
13641 rm -f core conftest.err conftest.$ac_objext \
13642 conftest$ac_exeext conftest.$ac_ext
13643 CFLAGS=$ac_wine_try_cflags_saved
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13646 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13647 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13648 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13651 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13652 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13653 $as_echo_n "(cached) " >&6
13654 else
13655 ac_wine_try_cflags_saved=$CFLAGS
13656 CFLAGS="$CFLAGS -Wtype-limits"
13657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13658 /* end confdefs.h. */
13659 int main(int argc, char **argv) { return 0; }
13660 _ACEOF
13661 if ac_fn_c_try_link "$LINENO"; then :
13662 ac_cv_cflags__Wtype_limits=yes
13663 else
13664 ac_cv_cflags__Wtype_limits=no
13666 rm -f core conftest.err conftest.$ac_objext \
13667 conftest$ac_exeext conftest.$ac_ext
13668 CFLAGS=$ac_wine_try_cflags_saved
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13671 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13672 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13673 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13676 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13677 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13678 $as_echo_n "(cached) " >&6
13679 else
13680 ac_wine_try_cflags_saved=$CFLAGS
13681 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13683 /* end confdefs.h. */
13684 int main(int argc, char **argv) { return 0; }
13685 _ACEOF
13686 if ac_fn_c_try_link "$LINENO"; then :
13687 ac_cv_cflags__Wunused_but_set_parameter=yes
13688 else
13689 ac_cv_cflags__Wunused_but_set_parameter=no
13691 rm -f core conftest.err conftest.$ac_objext \
13692 conftest$ac_exeext conftest.$ac_ext
13693 CFLAGS=$ac_wine_try_cflags_saved
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13696 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13697 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13698 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13701 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13702 if ${ac_cv_cflags__Wvla+:} false; then :
13703 $as_echo_n "(cached) " >&6
13704 else
13705 ac_wine_try_cflags_saved=$CFLAGS
13706 CFLAGS="$CFLAGS -Wvla"
13707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13708 /* end confdefs.h. */
13709 int main(int argc, char **argv) { return 0; }
13710 _ACEOF
13711 if ac_fn_c_try_link "$LINENO"; then :
13712 ac_cv_cflags__Wvla=yes
13713 else
13714 ac_cv_cflags__Wvla=no
13716 rm -f core conftest.err conftest.$ac_objext \
13717 conftest$ac_exeext conftest.$ac_ext
13718 CFLAGS=$ac_wine_try_cflags_saved
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13721 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13722 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13723 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13726 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13727 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13728 $as_echo_n "(cached) " >&6
13729 else
13730 ac_wine_try_cflags_saved=$CFLAGS
13731 CFLAGS="$CFLAGS -Wwrite-strings"
13732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13733 /* end confdefs.h. */
13734 int main(int argc, char **argv) { return 0; }
13735 _ACEOF
13736 if ac_fn_c_try_link "$LINENO"; then :
13737 ac_cv_cflags__Wwrite_strings=yes
13738 else
13739 ac_cv_cflags__Wwrite_strings=no
13741 rm -f core conftest.err conftest.$ac_objext \
13742 conftest$ac_exeext conftest.$ac_ext
13743 CFLAGS=$ac_wine_try_cflags_saved
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13746 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13747 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13748 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13752 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13753 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13754 $as_echo_n "(cached) " >&6
13755 else
13756 ac_wine_try_cflags_saved=$CFLAGS
13757 CFLAGS="$CFLAGS -Wpointer-arith"
13758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13759 /* end confdefs.h. */
13760 int main(int argc, char **argv) { return 0; }
13761 _ACEOF
13762 if ac_fn_c_try_link "$LINENO"; then :
13763 ac_cv_cflags__Wpointer_arith=yes
13764 else
13765 ac_cv_cflags__Wpointer_arith=no
13767 rm -f core conftest.err conftest.$ac_objext \
13768 conftest$ac_exeext conftest.$ac_ext
13769 CFLAGS=$ac_wine_try_cflags_saved
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13772 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13773 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13774 saved_string_h_CFLAGS=$CFLAGS
13775 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13777 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13778 if ${ac_cv_c_string_h_warnings+:} false; then :
13779 $as_echo_n "(cached) " >&6
13780 else
13781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13782 /* end confdefs.h. */
13783 #include <string.h>
13785 main ()
13789 return 0;
13791 _ACEOF
13792 if ac_fn_c_try_compile "$LINENO"; then :
13793 ac_cv_c_string_h_warnings=no
13794 else
13795 ac_cv_c_string_h_warnings=yes
13797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13800 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13801 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13802 CFLAGS=$saved_string_h_CFLAGS
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13806 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13807 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13808 $as_echo_n "(cached) " >&6
13809 else
13810 ac_wine_try_cflags_saved=$CFLAGS
13811 CFLAGS="$CFLAGS -Wlogical-op"
13812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h. */
13814 int main(int argc, char **argv) { return 0; }
13815 _ACEOF
13816 if ac_fn_c_try_link "$LINENO"; then :
13817 ac_cv_cflags__Wlogical_op=yes
13818 else
13819 ac_cv_cflags__Wlogical_op=no
13821 rm -f core conftest.err conftest.$ac_objext \
13822 conftest$ac_exeext conftest.$ac_ext
13823 CFLAGS=$ac_wine_try_cflags_saved
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13826 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13827 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13828 saved_string_h_CFLAGS=$CFLAGS
13829 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13831 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13832 if ${ac_cv_c_logicalop_noisy+:} false; then :
13833 $as_echo_n "(cached) " >&6
13834 else
13835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13836 /* end confdefs.h. */
13837 #include <string.h>
13838 char*f(const char *h,char n) {return strchr(h,n);}
13840 main ()
13844 return 0;
13846 _ACEOF
13847 if ac_fn_c_try_compile "$LINENO"; then :
13848 ac_cv_c_logicalop_noisy=no
13849 else
13850 ac_cv_c_logicalop_noisy=yes
13852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13855 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13856 CFLAGS=$saved_string_h_CFLAGS
13857 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13860 CFLAGS=$saved_CFLAGS
13862 for ac_flag in $CFLAGS; do
13863 case $ac_flag in
13864 -g) case $host_os in
13865 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13866 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13867 if ${ac_cv_cflags__gstabsp+:} false; then :
13868 $as_echo_n "(cached) " >&6
13869 else
13870 ac_wine_try_cflags_saved=$CFLAGS
13871 CFLAGS="$CFLAGS -gstabs+"
13872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13873 /* end confdefs.h. */
13874 int main(int argc, char **argv) { return 0; }
13875 _ACEOF
13876 if ac_fn_c_try_link "$LINENO"; then :
13877 ac_cv_cflags__gstabsp=yes
13878 else
13879 ac_cv_cflags__gstabsp=no
13881 rm -f core conftest.err conftest.$ac_objext \
13882 conftest$ac_exeext conftest.$ac_ext
13883 CFLAGS=$ac_wine_try_cflags_saved
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13886 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13887 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13888 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13889 fi ;;
13890 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13891 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13892 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 ac_wine_try_cflags_saved=$CFLAGS
13896 CFLAGS="$CFLAGS -gdwarf-2"
13897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13899 int main(int argc, char **argv) { return 0; }
13900 _ACEOF
13901 if ac_fn_c_try_link "$LINENO"; then :
13902 ac_cv_cflags__gdwarf_2=yes
13903 else
13904 ac_cv_cflags__gdwarf_2=no
13906 rm -f core conftest.err conftest.$ac_objext \
13907 conftest$ac_exeext conftest.$ac_ext
13908 CFLAGS=$ac_wine_try_cflags_saved
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13911 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13912 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
13913 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13916 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13917 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13918 $as_echo_n "(cached) " >&6
13919 else
13920 ac_wine_try_cflags_saved=$CFLAGS
13921 CFLAGS="$CFLAGS -gstrict-dwarf"
13922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13923 /* end confdefs.h. */
13924 int main(int argc, char **argv) { return 0; }
13925 _ACEOF
13926 if ac_fn_c_try_link "$LINENO"; then :
13927 ac_cv_cflags__gstrict_dwarf=yes
13928 else
13929 ac_cv_cflags__gstrict_dwarf=no
13931 rm -f core conftest.err conftest.$ac_objext \
13932 conftest$ac_exeext conftest.$ac_ext
13933 CFLAGS=$ac_wine_try_cflags_saved
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13936 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13937 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
13938 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13939 fi ;;
13940 esac ;;
13941 esac
13942 done
13944 case $host_cpu in
13945 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13946 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13947 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13948 $as_echo_n "(cached) " >&6
13949 else
13950 ac_wine_try_cflags_saved=$CFLAGS
13951 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13953 /* end confdefs.h. */
13954 int main(int argc, char **argv) { return 0; }
13955 _ACEOF
13956 if ac_fn_c_try_link "$LINENO"; then :
13957 ac_cv_cflags__fno_omit_frame_pointer=yes
13958 else
13959 ac_cv_cflags__fno_omit_frame_pointer=no
13961 rm -f core conftest.err conftest.$ac_objext \
13962 conftest$ac_exeext conftest.$ac_ext
13963 CFLAGS=$ac_wine_try_cflags_saved
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13966 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13967 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
13968 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13969 fi ;;
13970 esac
13972 case $host in
13973 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13974 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13975 if ${ac_cv_cflags__Wno_format+:} false; then :
13976 $as_echo_n "(cached) " >&6
13977 else
13978 ac_wine_try_cflags_saved=$CFLAGS
13979 CFLAGS="$CFLAGS -Wno-format"
13980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13981 /* end confdefs.h. */
13982 int main(int argc, char **argv) { return 0; }
13983 _ACEOF
13984 if ac_fn_c_try_link "$LINENO"; then :
13985 ac_cv_cflags__Wno_format=yes
13986 else
13987 ac_cv_cflags__Wno_format=no
13989 rm -f core conftest.err conftest.$ac_objext \
13990 conftest$ac_exeext conftest.$ac_ext
13991 CFLAGS=$ac_wine_try_cflags_saved
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13994 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13995 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
13996 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13997 fi ;;
13998 esac
14000 if test "x$enable_maintainer_mode" = "xyes"
14001 then
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14003 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14004 if ${ac_cv_cflags__Werror+:} false; then :
14005 $as_echo_n "(cached) " >&6
14006 else
14007 ac_wine_try_cflags_saved=$CFLAGS
14008 CFLAGS="$CFLAGS -Werror"
14009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14010 /* end confdefs.h. */
14011 int main(int argc, char **argv) { return 0; }
14012 _ACEOF
14013 if ac_fn_c_try_link "$LINENO"; then :
14014 ac_cv_cflags__Werror=yes
14015 else
14016 ac_cv_cflags__Werror=no
14018 rm -f core conftest.err conftest.$ac_objext \
14019 conftest$ac_exeext conftest.$ac_ext
14020 CFLAGS=$ac_wine_try_cflags_saved
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14023 $as_echo "$ac_cv_cflags__Werror" >&6; }
14024 if test "x$ac_cv_cflags__Werror" = xyes; then :
14025 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14029 saved_CFLAGS="$CFLAGS"
14030 CFLAGS="$CFLAGS -Werror"
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14032 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14033 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14034 $as_echo_n "(cached) " >&6
14035 else
14036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14037 /* end confdefs.h. */
14038 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14040 main ()
14044 return 0;
14046 _ACEOF
14047 if ac_fn_c_try_compile "$LINENO"; then :
14048 ac_cv_have_ms_hook_prologue="yes"
14049 else
14050 ac_cv_have_ms_hook_prologue="no"
14052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14055 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14056 CFLAGS="$saved_CFLAGS"
14057 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14058 then
14060 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14062 else
14063 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14070 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14071 if ${ac_cv_c_fortify_enabled+:} false; then :
14072 $as_echo_n "(cached) " >&6
14073 else
14074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14075 /* end confdefs.h. */
14076 #include <string.h>
14078 main ()
14080 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14081 #error Fortify enabled
14082 #endif
14084 return 0;
14086 _ACEOF
14087 if ac_fn_c_try_compile "$LINENO"; then :
14088 ac_cv_c_fortify_enabled=no
14089 else
14090 ac_cv_c_fortify_enabled=yes
14092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14095 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14096 if test "$ac_cv_c_fortify_enabled" = yes
14097 then
14098 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14103 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14104 if ${ac_cv_c_extern_prefix+:} false; then :
14105 $as_echo_n "(cached) " >&6
14106 else
14107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14108 /* end confdefs.h. */
14109 extern int ac_test;
14111 main ()
14113 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14115 return 0;
14117 _ACEOF
14118 if ac_fn_c_try_link "$LINENO"; then :
14119 ac_cv_c_extern_prefix="yes"
14120 else
14121 ac_cv_c_extern_prefix="no"
14123 rm -f core conftest.err conftest.$ac_objext \
14124 conftest$ac_exeext conftest.$ac_ext
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14127 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14129 case $host_cpu in
14130 *i[3456789]86*)
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14132 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14133 if ${ac_cv_c_stdcall_suffix+:} false; then :
14134 $as_echo_n "(cached) " >&6
14135 else
14136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14137 /* end confdefs.h. */
14138 #ifndef _MSC_VER
14139 #define __stdcall __attribute__((__stdcall__))
14140 #endif
14141 int __stdcall ac_test(int i) { return i; }
14143 main ()
14145 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14147 return 0;
14149 _ACEOF
14150 if ac_fn_c_try_link "$LINENO"; then :
14151 ac_cv_c_stdcall_suffix="yes"
14152 else
14153 ac_cv_c_stdcall_suffix="no"
14155 rm -f core conftest.err conftest.$ac_objext \
14156 conftest$ac_exeext conftest.$ac_ext
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14159 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14160 *) ac_cv_c_stdcall_suffix="no" ;;
14161 esac
14164 if test "$ac_cv_c_extern_prefix" = "yes"
14165 then
14166 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14168 asm_name_prefix="_"
14169 else
14170 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14172 asm_name_prefix=""
14176 if test "$ac_cv_c_stdcall_suffix" = "yes"
14177 then
14178 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14180 else
14181 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14187 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14188 if ${ac_cv_asm_func_def+:} false; then :
14189 $as_echo_n "(cached) " >&6
14190 else
14191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14192 /* end confdefs.h. */
14195 main ()
14197 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14199 return 0;
14201 _ACEOF
14202 if ac_fn_c_try_link "$LINENO"; then :
14203 ac_cv_asm_func_def=".def"
14204 else
14205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14206 /* end confdefs.h. */
14209 main ()
14211 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14213 return 0;
14215 _ACEOF
14216 if ac_fn_c_try_link "$LINENO"; then :
14217 ac_cv_asm_func_def=".type @function"
14218 else
14219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14220 /* end confdefs.h. */
14223 main ()
14225 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14227 return 0;
14229 _ACEOF
14230 if ac_fn_c_try_link "$LINENO"; then :
14231 ac_cv_asm_func_def=".type 2"
14232 else
14233 ac_cv_asm_func_def="unknown"
14235 rm -f core conftest.err conftest.$ac_objext \
14236 conftest$ac_exeext conftest.$ac_ext
14238 rm -f core conftest.err conftest.$ac_objext \
14239 conftest$ac_exeext conftest.$ac_ext
14241 rm -f core conftest.err conftest.$ac_objext \
14242 conftest$ac_exeext conftest.$ac_ext
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14245 $as_echo "$ac_cv_asm_func_def" >&6; }
14248 case "$ac_cv_asm_func_def" in
14249 ".def")
14250 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14252 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14253 ".type @function")
14254 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14256 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14257 ".type 2")
14258 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14260 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14262 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14264 asm_func_header="" ;;
14265 esac
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14268 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14269 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14270 $as_echo_n "(cached) " >&6
14271 else
14272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14273 /* end confdefs.h. */
14274 asm(".text\n\t.long 0");
14276 main ()
14280 return 0;
14282 _ACEOF
14283 if ac_fn_c_try_compile "$LINENO"; then :
14284 ac_cv_c_asm_outside_funcs="yes"
14285 else
14286 ac_cv_c_asm_outside_funcs="no"
14288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14291 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14294 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14295 if ${ac_cv_c_dot_previous+:} false; then :
14296 $as_echo_n "(cached) " >&6
14297 else
14298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14299 /* end confdefs.h. */
14302 main ()
14304 asm(".text\nac_test:\t.long 0\n\t.previous");
14306 return 0;
14308 _ACEOF
14309 if ac_fn_c_try_link "$LINENO"; then :
14310 ac_cv_c_dot_previous="yes"
14311 else
14312 ac_cv_c_dot_previous="no"
14314 rm -f core conftest.err conftest.$ac_objext \
14315 conftest$ac_exeext conftest.$ac_ext
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14318 $as_echo "$ac_cv_c_dot_previous" >&6; }
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14321 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14322 if ${ac_cv_c_cfi_support+:} false; then :
14323 $as_echo_n "(cached) " >&6
14324 else
14325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14326 /* end confdefs.h. */
14327 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14329 main ()
14333 return 0;
14335 _ACEOF
14336 if ac_fn_c_try_compile "$LINENO"; then :
14337 ac_cv_c_cfi_support="yes"
14338 else
14339 ac_cv_c_cfi_support="no"
14341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14344 $as_echo "$ac_cv_c_cfi_support" >&6; }
14346 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14347 asm_func_trailer=""
14348 if test "$ac_cv_c_dot_previous" = "yes"
14349 then
14350 asm_func_trailer="\\n\\t.previous"
14352 if test "$ac_cv_c_cfi_support" = "yes"
14353 then
14354 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14355 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14357 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14359 UNWINDFLAGS=-fasynchronous-unwind-tables
14361 else
14362 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14366 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14369 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14370 then
14371 cat >>confdefs.h <<_ACEOF
14372 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14373 _ACEOF
14375 else
14376 cat >>confdefs.h <<_ACEOF
14377 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14378 _ACEOF
14382 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14385 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14389 case $build_os in
14390 cygwin*|mingw32*) TOOLSEXT=".exe"
14392 esac
14394 case $host_os in
14395 linux*)
14396 case $host_cpu in
14397 *i[3456789]86*|x86_64*)
14398 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14399 loader_programs="$loader_programs $wine_binary-preloader"
14400 as_fn_append LOADER_RULES "
14401 $wine_binary-preloader: preloader.o
14402 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14404 install install-lib:: $wine_binary-preloader
14405 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14407 uninstall::
14408 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14410 preloader_EXTRADEFS = $BUILTINFLAG
14411 " ;;
14412 esac
14414 esac
14415 as_fn_append LOADER_RULES "
14416 PROGRAMS = $loader_programs
14420 ac_save_CFLAGS="$CFLAGS"
14421 CFLAGS="$CFLAGS $BUILTINFLAG"
14422 for ac_func in \
14423 __res_get_state \
14424 __res_getservers \
14425 _finite \
14426 _isnan \
14427 _pclose \
14428 _popen \
14429 _snprintf \
14430 _spawnvp \
14431 _strdup \
14432 _stricmp \
14433 _strnicmp \
14434 _strtoi64 \
14435 _strtoui64 \
14436 _vsnprintf \
14437 asctime_r \
14438 chsize \
14439 dlopen \
14440 epoll_create \
14441 ffs \
14442 fnmatch \
14443 fork \
14444 fpclass \
14445 fstatfs \
14446 fstatvfs \
14447 ftruncate \
14448 futimens \
14449 futimes \
14450 futimesat \
14451 getattrlist \
14452 getdirentries \
14453 getopt_long_only \
14454 getpwuid \
14455 gettimeofday \
14456 getuid \
14457 if_nameindex \
14458 kqueue \
14459 lstat \
14460 memmove \
14461 mmap \
14462 pclose \
14463 pipe2 \
14464 poll \
14465 popen \
14466 port_create \
14467 prctl \
14468 pread \
14469 proc_pidinfo \
14470 pwrite \
14471 readdir \
14472 readlink \
14473 sched_yield \
14474 select \
14475 setproctitle \
14476 setrlimit \
14477 settimeofday \
14478 sigaltstack \
14479 sigprocmask \
14480 snprintf \
14481 statfs \
14482 statvfs \
14483 strcasecmp \
14484 strdup \
14485 strerror \
14486 strncasecmp \
14487 strtold \
14488 strtoll \
14489 strtoull \
14490 symlink \
14491 tcdrain \
14492 thr_kill2 \
14493 timegm \
14494 usleep \
14495 vsnprintf
14497 do :
14498 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14500 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14501 cat >>confdefs.h <<_ACEOF
14502 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14503 _ACEOF
14506 done
14508 CFLAGS="$ac_save_CFLAGS"
14510 if test "$ac_cv_func_dlopen" = no
14511 then
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14513 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14514 if ${ac_cv_lib_dl_dlopen+:} false; then :
14515 $as_echo_n "(cached) " >&6
14516 else
14517 ac_check_lib_save_LIBS=$LIBS
14518 LIBS="-ldl $LIBS"
14519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14520 /* end confdefs.h. */
14522 /* Override any GCC internal prototype to avoid an error.
14523 Use char because int might match the return type of a GCC
14524 builtin and then its argument prototype would still apply. */
14525 #ifdef __cplusplus
14526 extern "C"
14527 #endif
14528 char dlopen ();
14530 main ()
14532 return dlopen ();
14534 return 0;
14536 _ACEOF
14537 if ac_fn_c_try_link "$LINENO"; then :
14538 ac_cv_lib_dl_dlopen=yes
14539 else
14540 ac_cv_lib_dl_dlopen=no
14542 rm -f core conftest.err conftest.$ac_objext \
14543 conftest$ac_exeext conftest.$ac_ext
14544 LIBS=$ac_check_lib_save_LIBS
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14547 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14548 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14549 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14550 DL_LIBS="-ldl"
14555 ac_wine_check_funcs_save_LIBS="$LIBS"
14556 LIBS="$LIBS $DL_LIBS"
14557 for ac_func in dladdr
14558 do :
14559 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14560 if test "x$ac_cv_func_dladdr" = xyes; then :
14561 cat >>confdefs.h <<_ACEOF
14562 #define HAVE_DLADDR 1
14563 _ACEOF
14566 done
14568 LIBS="$ac_wine_check_funcs_save_LIBS"
14570 if test "$ac_cv_func_poll" = no
14571 then
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14573 $as_echo_n "checking for poll in -lpoll... " >&6; }
14574 if ${ac_cv_lib_poll_poll+:} false; then :
14575 $as_echo_n "(cached) " >&6
14576 else
14577 ac_check_lib_save_LIBS=$LIBS
14578 LIBS="-lpoll $LIBS"
14579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14580 /* end confdefs.h. */
14582 /* Override any GCC internal prototype to avoid an error.
14583 Use char because int might match the return type of a GCC
14584 builtin and then its argument prototype would still apply. */
14585 #ifdef __cplusplus
14586 extern "C"
14587 #endif
14588 char poll ();
14590 main ()
14592 return poll ();
14594 return 0;
14596 _ACEOF
14597 if ac_fn_c_try_link "$LINENO"; then :
14598 ac_cv_lib_poll_poll=yes
14599 else
14600 ac_cv_lib_poll_poll=no
14602 rm -f core conftest.err conftest.$ac_objext \
14603 conftest$ac_exeext conftest.$ac_ext
14604 LIBS=$ac_check_lib_save_LIBS
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14607 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14608 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14609 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14610 POLL_LIBS="-lpoll"
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14617 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14618 if ${ac_cv_search_gethostbyname+:} false; then :
14619 $as_echo_n "(cached) " >&6
14620 else
14621 ac_func_search_save_LIBS=$LIBS
14622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14623 /* end confdefs.h. */
14625 /* Override any GCC internal prototype to avoid an error.
14626 Use char because int might match the return type of a GCC
14627 builtin and then its argument prototype would still apply. */
14628 #ifdef __cplusplus
14629 extern "C"
14630 #endif
14631 char gethostbyname ();
14633 main ()
14635 return gethostbyname ();
14637 return 0;
14639 _ACEOF
14640 for ac_lib in '' nsl; do
14641 if test -z "$ac_lib"; then
14642 ac_res="none required"
14643 else
14644 ac_res=-l$ac_lib
14645 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14647 if ac_fn_c_try_link "$LINENO"; then :
14648 ac_cv_search_gethostbyname=$ac_res
14650 rm -f core conftest.err conftest.$ac_objext \
14651 conftest$ac_exeext
14652 if ${ac_cv_search_gethostbyname+:} false; then :
14653 break
14655 done
14656 if ${ac_cv_search_gethostbyname+:} false; then :
14658 else
14659 ac_cv_search_gethostbyname=no
14661 rm conftest.$ac_ext
14662 LIBS=$ac_func_search_save_LIBS
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14665 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14666 ac_res=$ac_cv_search_gethostbyname
14667 if test "$ac_res" != no; then :
14668 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14674 $as_echo_n "checking for library containing connect... " >&6; }
14675 if ${ac_cv_search_connect+:} false; then :
14676 $as_echo_n "(cached) " >&6
14677 else
14678 ac_func_search_save_LIBS=$LIBS
14679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14680 /* end confdefs.h. */
14682 /* Override any GCC internal prototype to avoid an error.
14683 Use char because int might match the return type of a GCC
14684 builtin and then its argument prototype would still apply. */
14685 #ifdef __cplusplus
14686 extern "C"
14687 #endif
14688 char connect ();
14690 main ()
14692 return connect ();
14694 return 0;
14696 _ACEOF
14697 for ac_lib in '' socket; do
14698 if test -z "$ac_lib"; then
14699 ac_res="none required"
14700 else
14701 ac_res=-l$ac_lib
14702 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14704 if ac_fn_c_try_link "$LINENO"; then :
14705 ac_cv_search_connect=$ac_res
14707 rm -f core conftest.err conftest.$ac_objext \
14708 conftest$ac_exeext
14709 if ${ac_cv_search_connect+:} false; then :
14710 break
14712 done
14713 if ${ac_cv_search_connect+:} false; then :
14715 else
14716 ac_cv_search_connect=no
14718 rm conftest.$ac_ext
14719 LIBS=$ac_func_search_save_LIBS
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14722 $as_echo "$ac_cv_search_connect" >&6; }
14723 ac_res=$ac_cv_search_connect
14724 if test "$ac_res" != no; then :
14725 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14731 $as_echo_n "checking for library containing inet_aton... " >&6; }
14732 if ${ac_cv_search_inet_aton+:} false; then :
14733 $as_echo_n "(cached) " >&6
14734 else
14735 ac_func_search_save_LIBS=$LIBS
14736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14737 /* end confdefs.h. */
14739 /* Override any GCC internal prototype to avoid an error.
14740 Use char because int might match the return type of a GCC
14741 builtin and then its argument prototype would still apply. */
14742 #ifdef __cplusplus
14743 extern "C"
14744 #endif
14745 char inet_aton ();
14747 main ()
14749 return inet_aton ();
14751 return 0;
14753 _ACEOF
14754 for ac_lib in '' resolv; do
14755 if test -z "$ac_lib"; then
14756 ac_res="none required"
14757 else
14758 ac_res=-l$ac_lib
14759 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14761 if ac_fn_c_try_link "$LINENO"; then :
14762 ac_cv_search_inet_aton=$ac_res
14764 rm -f core conftest.err conftest.$ac_objext \
14765 conftest$ac_exeext
14766 if ${ac_cv_search_inet_aton+:} false; then :
14767 break
14769 done
14770 if ${ac_cv_search_inet_aton+:} false; then :
14772 else
14773 ac_cv_search_inet_aton=no
14775 rm conftest.$ac_ext
14776 LIBS=$ac_func_search_save_LIBS
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14779 $as_echo "$ac_cv_search_inet_aton" >&6; }
14780 ac_res=$ac_cv_search_inet_aton
14781 if test "$ac_res" != no; then :
14782 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14787 for ac_func in \
14788 getaddrinfo \
14789 getnameinfo \
14790 getnetbyname \
14791 getprotobyname \
14792 getprotobynumber \
14793 getservbyport \
14794 inet_addr \
14795 inet_network \
14796 inet_ntop \
14797 inet_pton \
14798 sendmsg \
14799 socketpair \
14801 do :
14802 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14803 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14804 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14805 cat >>confdefs.h <<_ACEOF
14806 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14807 _ACEOF
14810 done
14813 ac_save_LIBS=$LIBS
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14815 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14816 if ${ac_cv_search_clock_gettime+:} false; then :
14817 $as_echo_n "(cached) " >&6
14818 else
14819 ac_func_search_save_LIBS=$LIBS
14820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14821 /* end confdefs.h. */
14823 /* Override any GCC internal prototype to avoid an error.
14824 Use char because int might match the return type of a GCC
14825 builtin and then its argument prototype would still apply. */
14826 #ifdef __cplusplus
14827 extern "C"
14828 #endif
14829 char clock_gettime ();
14831 main ()
14833 return clock_gettime ();
14835 return 0;
14837 _ACEOF
14838 for ac_lib in '' rt; do
14839 if test -z "$ac_lib"; then
14840 ac_res="none required"
14841 else
14842 ac_res=-l$ac_lib
14843 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14845 if ac_fn_c_try_link "$LINENO"; then :
14846 ac_cv_search_clock_gettime=$ac_res
14848 rm -f core conftest.err conftest.$ac_objext \
14849 conftest$ac_exeext
14850 if ${ac_cv_search_clock_gettime+:} false; then :
14851 break
14853 done
14854 if ${ac_cv_search_clock_gettime+:} false; then :
14856 else
14857 ac_cv_search_clock_gettime=no
14859 rm conftest.$ac_ext
14860 LIBS=$ac_func_search_save_LIBS
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14863 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14864 ac_res=$ac_cv_search_clock_gettime
14865 if test "$ac_res" != no; then :
14866 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14868 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14870 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14874 LIBS=$ac_save_LIBS
14876 LDAP_LIBS=""
14878 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14879 then
14880 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14882 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14884 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14885 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14886 $as_echo_n "(cached) " >&6
14887 else
14888 ac_check_lib_save_LIBS=$LIBS
14889 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14891 /* end confdefs.h. */
14893 /* Override any GCC internal prototype to avoid an error.
14894 Use char because int might match the return type of a GCC
14895 builtin and then its argument prototype would still apply. */
14896 #ifdef __cplusplus
14897 extern "C"
14898 #endif
14899 char ldap_initialize ();
14901 main ()
14903 return ldap_initialize ();
14905 return 0;
14907 _ACEOF
14908 if ac_fn_c_try_link "$LINENO"; then :
14909 ac_cv_lib_ldap_r_ldap_initialize=yes
14910 else
14911 ac_cv_lib_ldap_r_ldap_initialize=no
14913 rm -f core conftest.err conftest.$ac_objext \
14914 conftest$ac_exeext conftest.$ac_ext
14915 LIBS=$ac_check_lib_save_LIBS
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14918 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14919 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14921 $as_echo_n "checking for ber_init in -llber... " >&6; }
14922 if ${ac_cv_lib_lber_ber_init+:} false; then :
14923 $as_echo_n "(cached) " >&6
14924 else
14925 ac_check_lib_save_LIBS=$LIBS
14926 LIBS="-llber $PTHREAD_LIBS $LIBS"
14927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14928 /* end confdefs.h. */
14930 /* Override any GCC internal prototype to avoid an error.
14931 Use char because int might match the return type of a GCC
14932 builtin and then its argument prototype would still apply. */
14933 #ifdef __cplusplus
14934 extern "C"
14935 #endif
14936 char ber_init ();
14938 main ()
14940 return ber_init ();
14942 return 0;
14944 _ACEOF
14945 if ac_fn_c_try_link "$LINENO"; then :
14946 ac_cv_lib_lber_ber_init=yes
14947 else
14948 ac_cv_lib_lber_ber_init=no
14950 rm -f core conftest.err conftest.$ac_objext \
14951 conftest$ac_exeext conftest.$ac_ext
14952 LIBS=$ac_check_lib_save_LIBS
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14955 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14956 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14958 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14960 LDAP_LIBS="-lldap_r -llber"
14967 ac_wine_check_funcs_save_LIBS="$LIBS"
14968 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14969 for ac_func in \
14970 ldap_count_references \
14971 ldap_first_reference \
14972 ldap_next_reference \
14973 ldap_parse_reference \
14974 ldap_parse_sort_control \
14975 ldap_parse_sortresponse_control \
14976 ldap_parse_vlv_control \
14977 ldap_parse_vlvresponse_control
14978 do :
14979 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14980 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14981 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14982 cat >>confdefs.h <<_ACEOF
14983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14984 _ACEOF
14987 done
14989 LIBS="$ac_wine_check_funcs_save_LIBS"
14991 if test "x$LDAP_LIBS" = "x"; then :
14992 case "x$with_ldap" in
14993 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14994 xno) ;;
14995 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14996 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14997 esac
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15001 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15002 if ${wine_cv_one_arg_mkdir+:} false; then :
15003 $as_echo_n "(cached) " >&6
15004 else
15005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15007 #include <sys/stat.h>
15009 main ()
15011 mkdir("foo");
15013 return 0;
15015 _ACEOF
15016 if ac_fn_c_try_compile "$LINENO"; then :
15017 wine_cv_one_arg_mkdir=yes
15018 else
15019 wine_cv_one_arg_mkdir=no
15021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15024 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15025 if test "$wine_cv_one_arg_mkdir" = "yes"
15026 then
15028 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15033 $as_echo_n "checking for sched_setaffinity... " >&6; }
15034 if ${wine_cv_have_sched_setaffinity+:} false; then :
15035 $as_echo_n "(cached) " >&6
15036 else
15037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15038 /* end confdefs.h. */
15039 #define _GNU_SOURCE
15040 #include <sched.h>
15042 main ()
15044 sched_setaffinity(0, 0, 0);
15046 return 0;
15048 _ACEOF
15049 if ac_fn_c_try_link "$LINENO"; then :
15050 wine_cv_have_sched_setaffinity=yes
15051 else
15052 wine_cv_have_sched_setaffinity=no
15054 rm -f core conftest.err conftest.$ac_objext \
15055 conftest$ac_exeext conftest.$ac_ext
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15058 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15059 if test "$wine_cv_have_sched_setaffinity" = "yes"
15060 then
15062 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15067 $as_echo_n "checking for fallocate... " >&6; }
15068 if ${wine_cv_have_fallocate+:} false; then :
15069 $as_echo_n "(cached) " >&6
15070 else
15071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15073 #define _GNU_SOURCE
15074 #include <fcntl.h>
15076 main ()
15078 fallocate(-1, 0, 0, 0);
15080 return 0;
15082 _ACEOF
15083 if ac_fn_c_try_link "$LINENO"; then :
15084 wine_cv_have_fallocate=yes
15085 else
15086 wine_cv_have_fallocate=no
15088 rm -f core conftest.err conftest.$ac_objext \
15089 conftest$ac_exeext conftest.$ac_ext
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15092 $as_echo "$wine_cv_have_fallocate" >&6; }
15093 if test "$wine_cv_have_fallocate" = "yes"
15094 then
15096 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15102 $as_echo_n "checking for inline... " >&6; }
15103 if ${ac_cv_c_inline+:} false; then :
15104 $as_echo_n "(cached) " >&6
15105 else
15106 ac_cv_c_inline=no
15107 for ac_kw in inline __inline__ __inline; do
15108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15109 /* end confdefs.h. */
15110 #ifndef __cplusplus
15111 typedef int foo_t;
15112 static $ac_kw foo_t static_foo () {return 0; }
15113 $ac_kw foo_t foo () {return 0; }
15114 #endif
15116 _ACEOF
15117 if ac_fn_c_try_compile "$LINENO"; then :
15118 ac_cv_c_inline=$ac_kw
15120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15121 test "$ac_cv_c_inline" != no && break
15122 done
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15126 $as_echo "$ac_cv_c_inline" >&6; }
15128 case $ac_cv_c_inline in
15129 inline | yes) ;;
15131 case $ac_cv_c_inline in
15132 no) ac_val=;;
15133 *) ac_val=$ac_cv_c_inline;;
15134 esac
15135 cat >>confdefs.h <<_ACEOF
15136 #ifndef __cplusplus
15137 #define inline $ac_val
15138 #endif
15139 _ACEOF
15141 esac
15143 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15144 if test "x$ac_cv_type_mode_t" = xyes; then :
15146 cat >>confdefs.h <<_ACEOF
15147 #define HAVE_MODE_T 1
15148 _ACEOF
15152 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15153 if test "x$ac_cv_type_off_t" = xyes; then :
15155 cat >>confdefs.h <<_ACEOF
15156 #define HAVE_OFF_T 1
15157 _ACEOF
15161 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15162 if test "x$ac_cv_type_pid_t" = xyes; then :
15164 cat >>confdefs.h <<_ACEOF
15165 #define HAVE_PID_T 1
15166 _ACEOF
15170 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15171 if test "x$ac_cv_type_size_t" = xyes; then :
15173 cat >>confdefs.h <<_ACEOF
15174 #define HAVE_SIZE_T 1
15175 _ACEOF
15179 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15180 if test "x$ac_cv_type_ssize_t" = xyes; then :
15182 cat >>confdefs.h <<_ACEOF
15183 #define HAVE_SSIZE_T 1
15184 _ACEOF
15188 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15189 if test "x$ac_cv_type_long_long" = xyes; then :
15191 cat >>confdefs.h <<_ACEOF
15192 #define HAVE_LONG_LONG 1
15193 _ACEOF
15197 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15198 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15200 cat >>confdefs.h <<_ACEOF
15201 #define HAVE_FSBLKCNT_T 1
15202 _ACEOF
15206 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15207 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15209 cat >>confdefs.h <<_ACEOF
15210 #define HAVE_FSFILCNT_T 1
15211 _ACEOF
15216 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15217 #include <signal.h>
15219 if test "x$ac_cv_type_sigset_t" = xyes; then :
15221 cat >>confdefs.h <<_ACEOF
15222 #define HAVE_SIGSET_T 1
15223 _ACEOF
15228 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15230 if test "x$ac_cv_type_request_sense" = xyes; then :
15232 cat >>confdefs.h <<_ACEOF
15233 #define HAVE_REQUEST_SENSE 1
15234 _ACEOF
15240 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15241 #ifdef HAVE_SYS_SOCKET_H
15242 #include <sys/socket.h>
15243 #endif
15244 #ifdef HAVE_SYS_SOCKETVAR_H
15245 #include <sys/socketvar.h>
15246 #endif
15247 #ifdef HAVE_NET_ROUTE_H
15248 #include <net/route.h>
15249 #endif
15250 #ifdef HAVE_NETINET_IN_H
15251 #include <netinet/in.h>
15252 #endif
15253 #ifdef HAVE_NETINET_IN_SYSTM_H
15254 #include <netinet/in_systm.h>
15255 #endif
15256 #ifdef HAVE_NETINET_IP_H
15257 #include <netinet/ip.h>
15258 #endif
15259 #ifdef HAVE_NETINET_IN_PCB_H
15260 #include <netinet/in_pcb.h>
15261 #endif
15263 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15265 cat >>confdefs.h <<_ACEOF
15266 #define HAVE_STRUCT_XINPGEN 1
15267 _ACEOF
15273 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15274 #include <link.h>
15275 #endif
15276 #ifdef HAVE_SYS_LINK_H
15277 #include <sys/link.h>
15278 #endif
15280 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15282 cat >>confdefs.h <<_ACEOF
15283 #define HAVE_STRUCT_R_DEBUG 1
15284 _ACEOF
15288 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15289 #include <link.h>
15290 #endif
15291 #ifdef HAVE_SYS_LINK_H
15292 #include <sys/link.h>
15293 #endif
15295 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15297 cat >>confdefs.h <<_ACEOF
15298 #define HAVE_STRUCT_LINK_MAP 1
15299 _ACEOF
15305 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15306 #include <linux/input.h>
15307 #endif
15309 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15311 cat >>confdefs.h <<_ACEOF
15312 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15313 _ACEOF
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15320 $as_echo_n "checking for sigaddset... " >&6; }
15321 if ${wine_cv_have_sigaddset+:} false; then :
15322 $as_echo_n "(cached) " >&6
15323 else
15324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15325 /* end confdefs.h. */
15326 #include <signal.h>
15328 main ()
15330 sigset_t set; sigaddset(&set,SIGTERM);
15332 return 0;
15334 _ACEOF
15335 if ac_fn_c_try_link "$LINENO"; then :
15336 wine_cv_have_sigaddset=yes
15337 else
15338 wine_cv_have_sigaddset=no
15340 rm -f core conftest.err conftest.$ac_objext \
15341 conftest$ac_exeext conftest.$ac_ext
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15344 $as_echo "$wine_cv_have_sigaddset" >&6; }
15345 if test "$wine_cv_have_sigaddset" = "yes"
15346 then
15348 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15354 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15355 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15356 $as_echo_n "(cached) " >&6
15357 else
15358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15359 /* end confdefs.h. */
15360 #include <netdb.h>
15362 main ()
15365 char *name=0;
15366 struct hostent he;
15367 struct hostent *result;
15368 char *buf=0;
15369 int bufsize=0;
15370 int errnr;
15371 char *addr=0;
15372 int addrlen=0;
15373 int addrtype=0;
15374 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15375 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15378 return 0;
15380 _ACEOF
15381 if ac_fn_c_try_link "$LINENO"; then :
15382 wine_cv_linux_gethostbyname_r_6=yes
15383 else
15384 wine_cv_linux_gethostbyname_r_6=no
15387 rm -f core conftest.err conftest.$ac_objext \
15388 conftest$ac_exeext conftest.$ac_ext
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15392 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15393 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15394 then
15396 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15400 if test "$ac_cv_header_linux_joystick_h" = "yes"
15401 then
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15403 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15404 if ${wine_cv_linux_joystick_22_api+:} false; then :
15405 $as_echo_n "(cached) " >&6
15406 else
15407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15408 /* end confdefs.h. */
15410 #include <sys/ioctl.h>
15411 #include <sys/types.h>
15412 #include <linux/joystick.h>
15414 struct js_event blub;
15415 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15416 #error "no 2.2 header"
15417 #endif
15420 main ()
15422 /*empty*/
15424 return 0;
15426 _ACEOF
15427 if ac_fn_c_try_compile "$LINENO"; then :
15428 wine_cv_linux_joystick_22_api=yes
15429 else
15430 wine_cv_linux_joystick_22_api=no
15432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15436 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15437 if test "$wine_cv_linux_joystick_22_api" = "yes"
15438 then
15440 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15446 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15447 #ifdef HAVE_SYS_PARAM_H
15448 # include <sys/param.h>
15449 #endif
15450 #ifdef HAVE_SYS_MOUNT_H
15451 # include <sys/mount.h>
15452 #endif
15453 #ifdef HAVE_SYS_VFS_H
15454 # include <sys/vfs.h>
15455 #endif
15456 #ifdef HAVE_SYS_STATFS_H
15457 # include <sys/statfs.h>
15458 #endif
15460 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15462 cat >>confdefs.h <<_ACEOF
15463 #define HAVE_STRUCT_STATFS_F_BFREE 1
15464 _ACEOF
15468 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15469 #ifdef HAVE_SYS_PARAM_H
15470 # include <sys/param.h>
15471 #endif
15472 #ifdef HAVE_SYS_MOUNT_H
15473 # include <sys/mount.h>
15474 #endif
15475 #ifdef HAVE_SYS_VFS_H
15476 # include <sys/vfs.h>
15477 #endif
15478 #ifdef HAVE_SYS_STATFS_H
15479 # include <sys/statfs.h>
15480 #endif
15482 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15484 cat >>confdefs.h <<_ACEOF
15485 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15486 _ACEOF
15490 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15491 #ifdef HAVE_SYS_PARAM_H
15492 # include <sys/param.h>
15493 #endif
15494 #ifdef HAVE_SYS_MOUNT_H
15495 # include <sys/mount.h>
15496 #endif
15497 #ifdef HAVE_SYS_VFS_H
15498 # include <sys/vfs.h>
15499 #endif
15500 #ifdef HAVE_SYS_STATFS_H
15501 # include <sys/statfs.h>
15502 #endif
15504 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15506 cat >>confdefs.h <<_ACEOF
15507 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15508 _ACEOF
15512 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15513 #ifdef HAVE_SYS_PARAM_H
15514 # include <sys/param.h>
15515 #endif
15516 #ifdef HAVE_SYS_MOUNT_H
15517 # include <sys/mount.h>
15518 #endif
15519 #ifdef HAVE_SYS_VFS_H
15520 # include <sys/vfs.h>
15521 #endif
15522 #ifdef HAVE_SYS_STATFS_H
15523 # include <sys/statfs.h>
15524 #endif
15526 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15528 cat >>confdefs.h <<_ACEOF
15529 #define HAVE_STRUCT_STATFS_F_FFREE 1
15530 _ACEOF
15534 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15535 #ifdef HAVE_SYS_PARAM_H
15536 # include <sys/param.h>
15537 #endif
15538 #ifdef HAVE_SYS_MOUNT_H
15539 # include <sys/mount.h>
15540 #endif
15541 #ifdef HAVE_SYS_VFS_H
15542 # include <sys/vfs.h>
15543 #endif
15544 #ifdef HAVE_SYS_STATFS_H
15545 # include <sys/statfs.h>
15546 #endif
15548 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15550 cat >>confdefs.h <<_ACEOF
15551 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15552 _ACEOF
15556 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15557 #ifdef HAVE_SYS_PARAM_H
15558 # include <sys/param.h>
15559 #endif
15560 #ifdef HAVE_SYS_MOUNT_H
15561 # include <sys/mount.h>
15562 #endif
15563 #ifdef HAVE_SYS_VFS_H
15564 # include <sys/vfs.h>
15565 #endif
15566 #ifdef HAVE_SYS_STATFS_H
15567 # include <sys/statfs.h>
15568 #endif
15570 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15572 cat >>confdefs.h <<_ACEOF
15573 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15574 _ACEOF
15580 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15581 #include <sys/statvfs.h>
15582 #endif
15584 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15586 cat >>confdefs.h <<_ACEOF
15587 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15588 _ACEOF
15594 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15595 #include <dirent.h>
15596 #endif
15598 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15600 cat >>confdefs.h <<_ACEOF
15601 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15602 _ACEOF
15608 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15609 #ifdef HAVE_SYS_SOCKET_H
15610 # include <sys/socket.h>
15611 #endif
15612 #ifdef HAVE_SYS_UN_H
15613 # include <sys/un.h>
15614 #endif
15616 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15618 cat >>confdefs.h <<_ACEOF
15619 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15620 _ACEOF
15624 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15625 #ifdef HAVE_SYS_SOCKET_H
15626 # include <sys/socket.h>
15627 #endif
15628 #ifdef HAVE_SYS_UN_H
15629 # include <sys/un.h>
15630 #endif
15632 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15634 cat >>confdefs.h <<_ACEOF
15635 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15636 _ACEOF
15640 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15641 #ifdef HAVE_SYS_SOCKET_H
15642 # include <sys/socket.h>
15643 #endif
15644 #ifdef HAVE_SYS_UN_H
15645 # include <sys/un.h>
15646 #endif
15648 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15650 cat >>confdefs.h <<_ACEOF
15651 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15652 _ACEOF
15658 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15659 #ifdef HAVE_SCSI_SG_H
15660 #include <scsi/sg.h>
15661 #endif
15663 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15665 cat >>confdefs.h <<_ACEOF
15666 #define HAVE_SCSIREQ_T_CMD 1
15667 _ACEOF
15671 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>
15672 #ifdef HAVE_SCSI_SG_H
15673 #include <scsi/sg.h>
15674 #endif
15676 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15678 cat >>confdefs.h <<_ACEOF
15679 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15680 _ACEOF
15686 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15688 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15690 cat >>confdefs.h <<_ACEOF
15691 #define HAVE_SIGINFO_T_SI_FD 1
15692 _ACEOF
15698 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15699 #ifdef HAVE_SYS_MTIO_H
15700 #include <sys/mtio.h>
15701 #endif
15703 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15705 cat >>confdefs.h <<_ACEOF
15706 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15707 _ACEOF
15711 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15712 #ifdef HAVE_SYS_MTIO_H
15713 #include <sys/mtio.h>
15714 #endif
15716 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15718 cat >>confdefs.h <<_ACEOF
15719 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15720 _ACEOF
15724 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15725 #ifdef HAVE_SYS_MTIO_H
15726 #include <sys/mtio.h>
15727 #endif
15729 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15731 cat >>confdefs.h <<_ACEOF
15732 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15733 _ACEOF
15739 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15740 #include <getopt.h>
15741 #endif
15743 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15745 cat >>confdefs.h <<_ACEOF
15746 #define HAVE_STRUCT_OPTION_NAME 1
15747 _ACEOF
15753 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15754 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15756 cat >>confdefs.h <<_ACEOF
15757 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15758 _ACEOF
15762 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15763 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15765 cat >>confdefs.h <<_ACEOF
15766 #define HAVE_STRUCT_STAT_ST_MTIM 1
15767 _ACEOF
15771 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15772 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15774 cat >>confdefs.h <<_ACEOF
15775 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15776 _ACEOF
15780 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15781 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15783 cat >>confdefs.h <<_ACEOF
15784 #define HAVE_STRUCT_STAT_ST_CTIM 1
15785 _ACEOF
15789 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15790 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15792 cat >>confdefs.h <<_ACEOF
15793 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15794 _ACEOF
15798 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15799 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15801 cat >>confdefs.h <<_ACEOF
15802 #define HAVE_STRUCT_STAT_ST_ATIM 1
15803 _ACEOF
15807 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15808 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15810 cat >>confdefs.h <<_ACEOF
15811 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15812 _ACEOF
15816 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15817 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15819 cat >>confdefs.h <<_ACEOF
15820 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15821 _ACEOF
15825 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15826 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15828 cat >>confdefs.h <<_ACEOF
15829 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15830 _ACEOF
15834 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15835 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15837 cat >>confdefs.h <<_ACEOF
15838 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15839 _ACEOF
15843 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15844 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15846 cat >>confdefs.h <<_ACEOF
15847 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15848 _ACEOF
15852 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15853 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15855 cat >>confdefs.h <<_ACEOF
15856 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15857 _ACEOF
15863 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
15864 #include <sys/types.h>
15865 #endif
15866 #ifdef HAVE_NETINET_IN_H
15867 #include <netinet/in.h>
15868 #endif
15870 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15872 cat >>confdefs.h <<_ACEOF
15873 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15874 _ACEOF
15880 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15881 #include <resolv.h>
15882 #endif
15884 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15886 cat >>confdefs.h <<_ACEOF
15887 #define HAVE_STRUCT___RES_STATE 1
15888 _ACEOF
15894 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
15895 #include <resolv.h>
15896 #endif
15898 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15900 cat >>confdefs.h <<_ACEOF
15901 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15902 _ACEOF
15908 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15909 #include <sys/types.h>
15910 #endif
15911 #ifdef HAVE_NETINET_IN_H
15912 # include <netinet/in.h>
15913 #endif
15914 #ifdef HAVE_ARPA_NAMESER_H
15915 # include <arpa/nameser.h>
15916 #endif
15918 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15920 cat >>confdefs.h <<_ACEOF
15921 #define HAVE_NS_MSG__MSG_PTR 1
15922 _ACEOF
15928 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15929 #include <sys/types.h>
15930 #endif
15931 #ifdef HAVE_NETINET_IP_H
15932 #include <netinet/ip.h>
15933 #endif
15934 #ifdef HAVE_NETINET_IP_ICMP_H
15935 #include <netinet/ip_icmp.h>
15936 #endif
15937 #ifdef HAVE_NETINET_ICMP_VAR_H
15938 #include <netinet/icmp_var.h>
15939 #endif
15941 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15943 cat >>confdefs.h <<_ACEOF
15944 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15945 _ACEOF
15951 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15952 #include <sys/types.h>
15953 #endif
15954 #ifdef HAVE_ALIAS_H
15955 #include <alias.h>
15956 #endif
15957 #ifdef HAVE_SYS_SOCKET_H
15958 #include <sys/socket.h>
15959 #endif
15960 #ifdef HAVE_SYS_SOCKETVAR_H
15961 #include <sys/socketvar.h>
15962 #endif
15963 #ifdef HAVE_SYS_TIMEOUT_H
15964 #include <sys/timeout.h>
15965 #endif
15966 #ifdef HAVE_NETINET_IN_H
15967 #include <netinet/in.h>
15968 #endif
15969 #ifdef HAVE_NETINET_IN_SYSTM_H
15970 #include <netinet/in_systm.h>
15971 #endif
15972 #ifdef HAVE_NETINET_IP_H
15973 #include <netinet/ip.h>
15974 #endif
15975 #ifdef HAVE_NETINET_IP_VAR_H
15976 #include <netinet/ip_var.h>
15977 #endif
15978 #ifdef HAVE_NETINET_IP_ICMP_H
15979 #include <netinet/ip_icmp.h>
15980 #endif
15981 #ifdef HAVE_NETINET_ICMP_VAR_H
15982 #include <netinet/icmp_var.h>
15983 #endif
15985 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15987 cat >>confdefs.h <<_ACEOF
15988 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15989 _ACEOF
15995 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15996 #include <sys/types.h>
15997 #endif
15998 #ifdef HAVE_SYS_SOCKETVAR_H
15999 #include <sys/socketvar.h>
16000 #endif
16001 #ifdef HAVE_NETINET_IN_H
16002 #include <netinet/in.h>
16003 #endif
16004 #ifdef HAVE_NETINET_IP_VAR_H
16005 #include <netinet/ip_var.h>
16006 #endif
16008 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16010 cat >>confdefs.h <<_ACEOF
16011 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16012 _ACEOF
16018 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
16019 #include <netinet/ip_var.h>
16020 #endif
16022 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16024 cat >>confdefs.h <<_ACEOF
16025 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16026 _ACEOF
16032 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16033 #include <sys/types.h>
16034 #endif
16035 #ifdef HAVE_SYS_SOCKETVAR_H
16036 #include <sys/socketvar.h>
16037 #endif
16038 #ifdef HAVE_NETINET_IN_H
16039 #include <netinet/in.h>
16040 #endif
16041 #ifdef HAVE_NETINET_TCP_H
16042 #include <netinet/tcp.h>
16043 #endif
16044 #ifdef HAVE_NETINET_TCP_VAR_H
16045 #include <netinet/tcp_var.h>
16046 #endif
16048 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16050 cat >>confdefs.h <<_ACEOF
16051 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16052 _ACEOF
16058 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
16059 #include <netinet/tcp_var.h>
16060 #endif
16062 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16064 cat >>confdefs.h <<_ACEOF
16065 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16066 _ACEOF
16072 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16073 #include <sys/types.h>
16074 #endif
16075 #ifdef HAVE_NETINET_IN_H
16076 #include <netinet/in.h>
16077 #endif
16078 #ifdef HAVE_NETINET_IP_VAR_H
16079 #include <netinet/ip_var.h>
16080 #endif
16081 #ifdef HAVE_NETINET_UDP_H
16082 #include <netinet/udp.h>
16083 #endif
16084 #ifdef HAVE_NETINET_UDP_VAR_H
16085 #include <netinet/udp_var.h>
16086 #endif
16088 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16090 cat >>confdefs.h <<_ACEOF
16091 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16092 _ACEOF
16098 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16099 #include <sys/types.h>
16100 #endif
16101 #ifdef HAVE_NET_IF_H
16102 # include <net/if.h>
16103 #endif
16105 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16107 cat >>confdefs.h <<_ACEOF
16108 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16109 _ACEOF
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16116 $as_echo_n "checking for timezone variable... " >&6; }
16117 if ${ac_cv_have_timezone+:} false; then :
16118 $as_echo_n "(cached) " >&6
16119 else
16120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16121 /* end confdefs.h. */
16122 #include <time.h>
16124 main ()
16126 timezone = 1
16128 return 0;
16130 _ACEOF
16131 if ac_fn_c_try_link "$LINENO"; then :
16132 ac_cv_have_timezone="yes"
16133 else
16134 ac_cv_have_timezone="no"
16136 rm -f core conftest.err conftest.$ac_objext \
16137 conftest$ac_exeext conftest.$ac_ext
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16140 $as_echo "$ac_cv_have_timezone" >&6; }
16141 if test "$ac_cv_have_timezone" = "yes"
16142 then
16144 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16148 $as_echo_n "checking for daylight variable... " >&6; }
16149 if ${ac_cv_have_daylight+:} false; then :
16150 $as_echo_n "(cached) " >&6
16151 else
16152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16153 /* end confdefs.h. */
16154 #include <time.h>
16156 main ()
16158 daylight = 1
16160 return 0;
16162 _ACEOF
16163 if ac_fn_c_try_link "$LINENO"; then :
16164 ac_cv_have_daylight="yes"
16165 else
16166 ac_cv_have_daylight="no"
16168 rm -f core conftest.err conftest.$ac_objext \
16169 conftest$ac_exeext conftest.$ac_ext
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16172 $as_echo "$ac_cv_have_daylight" >&6; }
16173 if test "$ac_cv_have_daylight" = "yes"
16174 then
16176 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16180 ac_save_LIBS="$LIBS"
16181 LIBS="$LIBS -lm"
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16183 $as_echo_n "checking for isfinite... " >&6; }
16184 if ${ac_cv_have_isfinite+:} false; then :
16185 $as_echo_n "(cached) " >&6
16186 else
16187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16188 /* end confdefs.h. */
16189 #define _GNU_SOURCE
16190 #include <math.h>
16192 main ()
16194 float f = 0.0; return isfinite(f)
16196 return 0;
16198 _ACEOF
16199 if ac_fn_c_try_link "$LINENO"; then :
16200 ac_cv_have_isfinite="yes"
16201 else
16202 ac_cv_have_isfinite="no"
16204 rm -f core conftest.err conftest.$ac_objext \
16205 conftest$ac_exeext conftest.$ac_ext
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16208 $as_echo "$ac_cv_have_isfinite" >&6; }
16209 if test "$ac_cv_have_isfinite" = "yes"
16210 then
16212 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16216 ac_save_LIBS="$LIBS"
16217 LIBS="$LIBS -lm"
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16219 $as_echo_n "checking for isinf... " >&6; }
16220 if ${ac_cv_have_isinf+:} false; then :
16221 $as_echo_n "(cached) " >&6
16222 else
16223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16224 /* end confdefs.h. */
16225 #include <math.h>
16227 main ()
16229 float f = 0.0; return isinf(f)
16231 return 0;
16233 _ACEOF
16234 if ac_fn_c_try_link "$LINENO"; then :
16235 ac_cv_have_isinf="yes"
16236 else
16237 ac_cv_have_isinf="no"
16239 rm -f core conftest.err conftest.$ac_objext \
16240 conftest$ac_exeext conftest.$ac_ext
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16243 $as_echo "$ac_cv_have_isinf" >&6; }
16244 if test "$ac_cv_have_isinf" = "yes"
16245 then
16247 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16252 $as_echo_n "checking for isnan... " >&6; }
16253 if ${ac_cv_have_isnan+:} false; then :
16254 $as_echo_n "(cached) " >&6
16255 else
16256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16257 /* end confdefs.h. */
16258 #include <math.h>
16260 main ()
16262 float f = 0.0; return isnan(f)
16264 return 0;
16266 _ACEOF
16267 if ac_fn_c_try_link "$LINENO"; then :
16268 ac_cv_have_isnan="yes"
16269 else
16270 ac_cv_have_isnan="no"
16272 rm -f core conftest.err conftest.$ac_objext \
16273 conftest$ac_exeext conftest.$ac_ext
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16276 $as_echo "$ac_cv_have_isnan" >&6; }
16277 if test "$ac_cv_have_isnan" = "yes"
16278 then
16280 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16283 LIBS="$ac_save_LIBS"
16286 case $host_cpu in
16287 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16288 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16289 if ${ac_cv_cpp_def___i386__+:} false; then :
16290 $as_echo_n "(cached) " >&6
16291 else
16292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16293 /* end confdefs.h. */
16294 #ifndef __i386__
16296 #endif
16297 _ACEOF
16298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16299 $EGREP "yes" >/dev/null 2>&1; then :
16300 ac_cv_cpp_def___i386__=yes
16301 else
16302 ac_cv_cpp_def___i386__=no
16304 rm -f conftest*
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16308 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16309 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16310 CFLAGS="$CFLAGS -D__i386__"
16311 LINTFLAGS="$LINTFLAGS -D__i386__"
16312 fi ;;
16313 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16314 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16315 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16316 $as_echo_n "(cached) " >&6
16317 else
16318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16319 /* end confdefs.h. */
16320 #ifndef __x86_64__
16322 #endif
16323 _ACEOF
16324 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16325 $EGREP "yes" >/dev/null 2>&1; then :
16326 ac_cv_cpp_def___x86_64__=yes
16327 else
16328 ac_cv_cpp_def___x86_64__=no
16330 rm -f conftest*
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16334 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16335 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16336 CFLAGS="$CFLAGS -D__x86_64__"
16337 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16338 fi ;;
16339 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16340 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16341 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16342 $as_echo_n "(cached) " >&6
16343 else
16344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16345 /* end confdefs.h. */
16346 #ifndef __sparc64__
16348 #endif
16349 _ACEOF
16350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16351 $EGREP "yes" >/dev/null 2>&1; then :
16352 ac_cv_cpp_def___sparc64__=yes
16353 else
16354 ac_cv_cpp_def___sparc64__=no
16356 rm -f conftest*
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16360 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16361 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16362 CFLAGS="$CFLAGS -D__sparc64__"
16363 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16364 fi ;;
16365 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16366 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16367 if ${ac_cv_cpp_def___sparc__+:} false; then :
16368 $as_echo_n "(cached) " >&6
16369 else
16370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16371 /* end confdefs.h. */
16372 #ifndef __sparc__
16374 #endif
16375 _ACEOF
16376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16377 $EGREP "yes" >/dev/null 2>&1; then :
16378 ac_cv_cpp_def___sparc__=yes
16379 else
16380 ac_cv_cpp_def___sparc__=no
16382 rm -f conftest*
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16386 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16387 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16388 CFLAGS="$CFLAGS -D__sparc__"
16389 LINTFLAGS="$LINTFLAGS -D__sparc__"
16390 fi ;;
16391 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16392 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16393 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16394 $as_echo_n "(cached) " >&6
16395 else
16396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16397 /* end confdefs.h. */
16398 #ifndef __powerpc64__
16400 #endif
16401 _ACEOF
16402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16403 $EGREP "yes" >/dev/null 2>&1; then :
16404 ac_cv_cpp_def___powerpc64__=yes
16405 else
16406 ac_cv_cpp_def___powerpc64__=no
16408 rm -f conftest*
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16412 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16413 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16414 CFLAGS="$CFLAGS -D__powerpc64__"
16415 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16416 fi ;;
16417 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16418 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16419 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16420 $as_echo_n "(cached) " >&6
16421 else
16422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16423 /* end confdefs.h. */
16424 #ifndef __powerpc__
16426 #endif
16427 _ACEOF
16428 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16429 $EGREP "yes" >/dev/null 2>&1; then :
16430 ac_cv_cpp_def___powerpc__=yes
16431 else
16432 ac_cv_cpp_def___powerpc__=no
16434 rm -f conftest*
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16438 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16439 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16440 CFLAGS="$CFLAGS -D__powerpc__"
16441 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16442 fi ;;
16443 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16444 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16445 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16446 $as_echo_n "(cached) " >&6
16447 else
16448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16449 /* end confdefs.h. */
16450 #ifndef __aarch64__
16452 #endif
16453 _ACEOF
16454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16455 $EGREP "yes" >/dev/null 2>&1; then :
16456 ac_cv_cpp_def___aarch64__=yes
16457 else
16458 ac_cv_cpp_def___aarch64__=no
16460 rm -f conftest*
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16464 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16465 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16466 CFLAGS="$CFLAGS -D__aarch64__"
16467 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16468 fi ;;
16469 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16470 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16471 if ${ac_cv_cpp_def___arm__+:} false; then :
16472 $as_echo_n "(cached) " >&6
16473 else
16474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16475 /* end confdefs.h. */
16476 #ifndef __arm__
16478 #endif
16479 _ACEOF
16480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16481 $EGREP "yes" >/dev/null 2>&1; then :
16482 ac_cv_cpp_def___arm__=yes
16483 else
16484 ac_cv_cpp_def___arm__=no
16486 rm -f conftest*
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16490 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16491 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16492 CFLAGS="$CFLAGS -D__arm__"
16493 LINTFLAGS="$LINTFLAGS -D__arm__"
16494 fi ;;
16495 esac
16497 case $host_vendor in
16498 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16499 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16500 if ${ac_cv_cpp_def___sun__+:} false; then :
16501 $as_echo_n "(cached) " >&6
16502 else
16503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16504 /* end confdefs.h. */
16505 #ifndef __sun__
16507 #endif
16508 _ACEOF
16509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16510 $EGREP "yes" >/dev/null 2>&1; then :
16511 ac_cv_cpp_def___sun__=yes
16512 else
16513 ac_cv_cpp_def___sun__=no
16515 rm -f conftest*
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16519 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16520 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16521 CFLAGS="$CFLAGS -D__sun__"
16522 LINTFLAGS="$LINTFLAGS -D__sun__"
16523 fi ;;
16524 esac
16530 ac_config_commands="$ac_config_commands include/stamp-h"
16532 $as_echo_n "creating Makefile rules..." >&6
16534 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16535 SOCKET_LIBS = $SOCKET_LIBS
16536 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16537 IOKIT_LIBS = $IOKIT_LIBS
16538 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16539 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16540 CORESERVICES_LIBS = $CORESERVICES_LIBS
16541 APPKIT_LIBS = $APPKIT_LIBS
16542 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16543 SECURITY_LIBS = $SECURITY_LIBS
16544 COREAUDIO_LIBS = $COREAUDIO_LIBS
16545 OPENAL_LIBS = $OPENAL_LIBS
16546 OPENCL_LIBS = $OPENCL_LIBS
16547 QUICKTIME_LIBS = $QUICKTIME_LIBS
16548 CARBON_LIBS = $CARBON_LIBS
16549 PTHREAD_LIBS = $PTHREAD_LIBS
16550 X_CFLAGS = $X_CFLAGS
16551 X_PRE_LIBS = $X_PRE_LIBS
16552 X_LIBS = $X_LIBS
16553 X_EXTRA_LIBS = $X_EXTRA_LIBS
16554 XML2_CFLAGS = $XML2_CFLAGS
16555 XML2_LIBS = $XML2_LIBS
16556 XSLT_CFLAGS = $XSLT_CFLAGS
16557 XSLT_LIBS = $XSLT_LIBS
16558 DBUS_CFLAGS = $DBUS_CFLAGS
16559 DBUS_LIBS = $DBUS_LIBS
16560 HAL_CFLAGS = $HAL_CFLAGS
16561 HAL_LIBS = $HAL_LIBS
16562 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16563 GNUTLS_LIBS = $GNUTLS_LIBS
16564 SANE_CFLAGS = $SANE_CFLAGS
16565 SANE_LIBS = $SANE_LIBS
16566 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16567 GPHOTO2_LIBS = $GPHOTO2_LIBS
16568 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16569 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16570 RESOLV_LIBS = $RESOLV_LIBS
16571 LCMS2_CFLAGS = $LCMS2_CFLAGS
16572 LCMS2_LIBS = $LCMS2_LIBS
16573 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16574 FREETYPE_LIBS = $FREETYPE_LIBS
16575 Z_LIBS = $Z_LIBS
16576 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16577 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16578 GSTREAMER_LIBS = $GSTREAMER_LIBS
16579 ALSA_LIBS = $ALSA_LIBS
16580 OSS4_CFLAGS = $OSS4_CFLAGS
16581 CAPI20_CFLAGS = $CAPI20_CFLAGS
16582 CAPI20_LIBS = $CAPI20_LIBS
16583 CUPS_CFLAGS = $CUPS_CFLAGS
16584 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16585 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16586 JPEG_CFLAGS = $JPEG_CFLAGS
16587 JPEG_LIBS = $JPEG_LIBS
16588 PNG_CFLAGS = $PNG_CFLAGS
16589 PNG_LIBS = $PNG_LIBS
16590 TIFF_CFLAGS = $TIFF_CFLAGS
16591 TIFF_LIBS = $TIFF_LIBS
16592 MPG123_CFLAGS = $MPG123_CFLAGS
16593 MPG123_LIBS = $MPG123_LIBS
16594 KSTAT_LIBS = $KSTAT_LIBS
16595 PROCSTAT_LIBS = $PROCSTAT_LIBS
16596 DL_LIBS = $DL_LIBS
16597 POLL_LIBS = $POLL_LIBS
16598 RT_LIBS = $RT_LIBS
16599 LDAP_LIBS = $LDAP_LIBS
16604 wine_fn_append_rule "
16605 # Rules automatically generated by configure
16607 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16609 .INIT: Makefile
16610 .MAKEFILEDEPS:
16611 all: Makefile
16612 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16613 @./config.status Make.tmp Makefile"
16615 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16616 .gitignore: config.status
16617 @./config.status .gitignore"
16619 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16620 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16622 if test "x$enable_fonts" != xno; then
16623 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16624 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16625 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16626 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16627 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16629 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16630 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16631 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16632 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16633 ac_config_links="$ac_config_links wine:tools/winewrapper"
16634 wine_fn_config_symlink wine
16635 if test "x$enable_win64" != xno; then
16636 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16637 wine_fn_config_symlink wine64
16640 wine_fn_config_dll acledit enable_acledit
16641 wine_fn_config_dll aclui enable_aclui implib
16642 wine_fn_config_dll activeds enable_activeds implib
16643 wine_fn_config_dll actxprxy enable_actxprxy clean
16644 wine_fn_config_lib adsiid
16645 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16646 wine_fn_config_test dlls/advapi32/tests advapi32_test
16647 wine_fn_config_dll advpack enable_advpack implib
16648 wine_fn_config_test dlls/advpack/tests advpack_test
16649 wine_fn_config_dll amstream enable_amstream clean
16650 wine_fn_config_test dlls/amstream/tests amstream_test
16651 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16652 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16653 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16654 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16655 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16656 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16657 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16658 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16659 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16660 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16661 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16662 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16663 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16664 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16665 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16666 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16667 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16668 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16669 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16670 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16671 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16672 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16673 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16674 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16675 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16676 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16677 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16678 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16679 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16680 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16681 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16682 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16683 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16684 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16685 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16686 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16687 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16688 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16689 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16690 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16691 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16692 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16693 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16694 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16695 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16696 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16697 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16698 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16699 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16700 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16701 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16702 wine_fn_config_dll apphelp enable_apphelp
16703 wine_fn_config_test dlls/apphelp/tests apphelp_test
16704 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16705 wine_fn_config_dll atl enable_atl clean,implib
16706 wine_fn_config_test dlls/atl/tests atl_test
16707 wine_fn_config_dll atl100 enable_atl100 implib
16708 wine_fn_config_test dlls/atl100/tests atl100_test
16709 wine_fn_config_dll atl110 enable_atl110
16710 wine_fn_config_dll atl80 enable_atl80 implib
16711 wine_fn_config_test dlls/atl80/tests atl80_test
16712 wine_fn_config_dll atl90 enable_atl90
16713 wine_fn_config_dll authz enable_authz
16714 wine_fn_config_dll avicap32 enable_avicap32 implib
16715 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16716 wine_fn_config_test dlls/avifil32/tests avifil32_test
16717 wine_fn_config_dll avifile.dll16 enable_win16
16718 wine_fn_config_dll avrt enable_avrt implib
16719 wine_fn_config_dll bcrypt enable_bcrypt
16720 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16721 wine_fn_config_dll browseui enable_browseui clean,po
16722 wine_fn_config_test dlls/browseui/tests browseui_test
16723 wine_fn_config_dll cabinet enable_cabinet implib
16724 wine_fn_config_test dlls/cabinet/tests cabinet_test
16725 wine_fn_config_dll capi2032 enable_capi2032 implib
16726 wine_fn_config_dll cards enable_cards implib
16727 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16728 wine_fn_config_dll clusapi enable_clusapi implib
16729 wine_fn_config_dll comcat enable_comcat
16730 wine_fn_config_test dlls/comcat/tests comcat_test
16731 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16732 wine_fn_config_test dlls/comctl32/tests comctl32_test
16733 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16734 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16735 wine_fn_config_dll comm.drv16 enable_win16
16736 wine_fn_config_dll commdlg.dll16 enable_win16
16737 wine_fn_config_dll compobj.dll16 enable_win16
16738 wine_fn_config_dll compstui enable_compstui implib
16739 wine_fn_config_dll comsvcs enable_comsvcs implib
16740 wine_fn_config_dll credui enable_credui implib,po
16741 wine_fn_config_test dlls/credui/tests credui_test
16742 wine_fn_config_dll crtdll enable_crtdll implib
16743 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16744 wine_fn_config_test dlls/crypt32/tests crypt32_test
16745 wine_fn_config_dll cryptdlg enable_cryptdlg po
16746 wine_fn_config_dll cryptdll enable_cryptdll implib
16747 wine_fn_config_dll cryptnet enable_cryptnet implib
16748 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16749 wine_fn_config_dll cryptui enable_cryptui implib,po
16750 wine_fn_config_test dlls/cryptui/tests cryptui_test
16751 wine_fn_config_dll ctapi32 enable_ctapi32
16752 wine_fn_config_dll ctl3d.dll16 enable_win16
16753 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16754 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16755 wine_fn_config_dll d2d1 enable_d2d1 implib
16756 wine_fn_config_dll d3d10 enable_d3d10 implib
16757 wine_fn_config_test dlls/d3d10/tests d3d10_test
16758 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16759 wine_fn_config_dll d3d10core enable_d3d10core implib
16760 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16761 wine_fn_config_dll d3d11 enable_d3d11
16762 wine_fn_config_dll d3d8 enable_d3d8 implib
16763 wine_fn_config_test dlls/d3d8/tests d3d8_test
16764 wine_fn_config_dll d3d9 enable_d3d9 implib
16765 wine_fn_config_test dlls/d3d9/tests d3d9_test
16766 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16767 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16768 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16769 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16770 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16771 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16772 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16773 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16774 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16775 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16776 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16777 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16778 wine_fn_config_dll d3dim enable_d3dim implib
16779 wine_fn_config_dll d3drm enable_d3drm implib
16780 wine_fn_config_test dlls/d3drm/tests d3drm_test
16781 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16782 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16783 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16784 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16785 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16786 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16787 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16788 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16789 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16790 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16791 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16792 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16793 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16794 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16795 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16796 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16797 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16798 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16799 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16800 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16801 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16802 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16803 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16804 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16805 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16806 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16807 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16808 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16809 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16810 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16811 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16812 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16813 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16814 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16815 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16816 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16817 wine_fn_config_dll dbgeng enable_dbgeng implib
16818 wine_fn_config_dll dbghelp enable_dbghelp implib
16819 wine_fn_config_dll dciman32 enable_dciman32 implib
16820 wine_fn_config_dll ddeml.dll16 enable_win16
16821 wine_fn_config_dll ddraw enable_ddraw clean,implib
16822 wine_fn_config_test dlls/ddraw/tests ddraw_test
16823 wine_fn_config_dll ddrawex enable_ddrawex clean
16824 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16825 wine_fn_config_dll devenum enable_devenum clean,po
16826 wine_fn_config_test dlls/devenum/tests devenum_test
16827 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16828 wine_fn_config_dll difxapi enable_difxapi
16829 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16830 wine_fn_config_test dlls/dinput/tests dinput_test
16831 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16832 wine_fn_config_test dlls/dinput8/tests dinput8_test
16833 wine_fn_config_dll dispdib.dll16 enable_win16
16834 wine_fn_config_dll dispex enable_dispex clean
16835 wine_fn_config_test dlls/dispex/tests dispex_test
16836 wine_fn_config_dll display.drv16 enable_win16
16837 wine_fn_config_dll dmband enable_dmband clean
16838 wine_fn_config_test dlls/dmband/tests dmband_test
16839 wine_fn_config_dll dmcompos enable_dmcompos clean
16840 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16841 wine_fn_config_dll dmime enable_dmime clean
16842 wine_fn_config_test dlls/dmime/tests dmime_test
16843 wine_fn_config_dll dmloader enable_dmloader clean
16844 wine_fn_config_test dlls/dmloader/tests dmloader_test
16845 wine_fn_config_dll dmscript enable_dmscript clean
16846 wine_fn_config_test dlls/dmscript/tests dmscript_test
16847 wine_fn_config_dll dmstyle enable_dmstyle clean
16848 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16849 wine_fn_config_dll dmsynth enable_dmsynth clean
16850 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16851 wine_fn_config_dll dmusic enable_dmusic clean
16852 wine_fn_config_test dlls/dmusic/tests dmusic_test
16853 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16854 wine_fn_config_dll dnsapi enable_dnsapi implib
16855 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16856 wine_fn_config_dll dplay enable_dplay implib
16857 wine_fn_config_dll dplayx enable_dplayx clean,implib
16858 wine_fn_config_test dlls/dplayx/tests dplayx_test
16859 wine_fn_config_dll dpnaddr enable_dpnaddr
16860 wine_fn_config_dll dpnet enable_dpnet clean,implib
16861 wine_fn_config_test dlls/dpnet/tests dpnet_test
16862 wine_fn_config_dll dpnhpast enable_dpnhpast
16863 wine_fn_config_dll dpnlobby enable_dpnlobby
16864 wine_fn_config_dll dpwsockx enable_dpwsockx
16865 wine_fn_config_dll drmclien enable_drmclien
16866 wine_fn_config_dll dsound enable_dsound clean,implib
16867 wine_fn_config_test dlls/dsound/tests dsound_test
16868 wine_fn_config_dll dssenh enable_dssenh
16869 wine_fn_config_test dlls/dssenh/tests dssenh_test
16870 wine_fn_config_dll dswave enable_dswave clean
16871 wine_fn_config_test dlls/dswave/tests dswave_test
16872 wine_fn_config_dll dwmapi enable_dwmapi implib
16873 wine_fn_config_dll dwrite enable_dwrite implib
16874 wine_fn_config_test dlls/dwrite/tests dwrite_test
16875 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16876 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16877 wine_fn_config_lib dxerr8
16878 wine_fn_config_lib dxerr9
16879 wine_fn_config_dll dxgi enable_dxgi implib
16880 wine_fn_config_test dlls/dxgi/tests dxgi_test
16881 wine_fn_config_lib dxguid
16882 wine_fn_config_dll dxva2 enable_dxva2
16883 wine_fn_config_dll explorerframe enable_explorerframe clean
16884 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16885 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16886 wine_fn_config_dll faultrep enable_faultrep implib
16887 wine_fn_config_test dlls/faultrep/tests faultrep_test
16888 wine_fn_config_dll fltlib enable_fltlib
16889 wine_fn_config_dll fntcache enable_fntcache
16890 wine_fn_config_dll fontsub enable_fontsub
16891 wine_fn_config_dll fusion enable_fusion
16892 wine_fn_config_test dlls/fusion/tests fusion_test
16893 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16894 wine_fn_config_dll gameux enable_gameux clean
16895 wine_fn_config_test dlls/gameux/tests gameux_test
16896 wine_fn_config_dll gdi.exe16 enable_win16
16897 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16898 wine_fn_config_test dlls/gdi32/tests gdi32_test
16899 wine_fn_config_dll gdiplus enable_gdiplus implib
16900 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16901 wine_fn_config_dll glu32 enable_glu32 implib
16902 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16903 wine_fn_config_dll gpkcsp enable_gpkcsp
16904 wine_fn_config_dll hal enable_hal
16905 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16906 wine_fn_config_dll hid enable_hid implib
16907 wine_fn_config_dll hlink enable_hlink clean,implib
16908 wine_fn_config_test dlls/hlink/tests hlink_test
16909 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16910 wine_fn_config_dll httpapi enable_httpapi
16911 wine_fn_config_dll iccvid enable_iccvid po
16912 wine_fn_config_dll icmp enable_icmp
16913 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16914 wine_fn_config_test dlls/ieframe/tests ieframe_test
16915 wine_fn_config_dll ifsmgr.vxd enable_win16
16916 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16917 wine_fn_config_dll imagehlp enable_imagehlp implib
16918 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16919 wine_fn_config_dll imm.dll16 enable_win16
16920 wine_fn_config_dll imm32 enable_imm32 implib
16921 wine_fn_config_test dlls/imm32/tests imm32_test
16922 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16923 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16924 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16925 wine_fn_config_dll inetmib1 enable_inetmib1
16926 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16927 wine_fn_config_dll infosoft enable_infosoft clean
16928 wine_fn_config_test dlls/infosoft/tests infosoft_test
16929 wine_fn_config_dll initpki enable_initpki
16930 wine_fn_config_dll inkobj enable_inkobj
16931 wine_fn_config_dll inseng enable_inseng clean
16932 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16933 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16934 wine_fn_config_dll itircl enable_itircl
16935 wine_fn_config_dll itss enable_itss clean
16936 wine_fn_config_test dlls/itss/tests itss_test
16937 wine_fn_config_dll joy.cpl enable_joy_cpl po
16938 wine_fn_config_dll jscript enable_jscript clean,po
16939 wine_fn_config_test dlls/jscript/tests jscript_test
16940 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
16941 wine_fn_config_test dlls/kernel32/tests kernel32_test
16942 wine_fn_config_dll keyboard.drv16 enable_win16
16943 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16944 wine_fn_config_dll ktmw32 enable_ktmw32
16945 wine_fn_config_dll loadperf enable_loadperf implib
16946 wine_fn_config_dll localspl enable_localspl po
16947 wine_fn_config_test dlls/localspl/tests localspl_test
16948 wine_fn_config_dll localui enable_localui po
16949 wine_fn_config_test dlls/localui/tests localui_test
16950 wine_fn_config_dll lz32 enable_lz32 implib
16951 wine_fn_config_test dlls/lz32/tests lz32_test
16952 wine_fn_config_dll lzexpand.dll16 enable_win16
16953 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16954 wine_fn_config_test dlls/mapi32/tests mapi32_test
16955 wine_fn_config_dll mapistub enable_mapistub
16956 wine_fn_config_dll mciavi32 enable_mciavi32
16957 wine_fn_config_dll mcicda enable_mcicda
16958 wine_fn_config_dll mciqtz32 enable_mciqtz32
16959 wine_fn_config_dll mciseq enable_mciseq
16960 wine_fn_config_dll mciwave enable_mciwave
16961 wine_fn_config_dll mgmtapi enable_mgmtapi
16962 wine_fn_config_dll midimap enable_midimap
16963 wine_fn_config_dll mlang enable_mlang clean,implib
16964 wine_fn_config_test dlls/mlang/tests mlang_test
16965 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16966 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16967 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16968 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16969 wine_fn_config_dll mmdevldr.vxd enable_win16
16970 wine_fn_config_dll mmsystem.dll16 enable_win16
16971 wine_fn_config_dll monodebg.vxd enable_win16
16972 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16973 wine_fn_config_dll mouse.drv16 enable_win16
16974 wine_fn_config_dll mpr enable_mpr implib,po
16975 wine_fn_config_test dlls/mpr/tests mpr_test
16976 wine_fn_config_dll mprapi enable_mprapi implib
16977 wine_fn_config_dll msacm.dll16 enable_win16
16978 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16979 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16980 wine_fn_config_test dlls/msacm32/tests msacm32_test
16981 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16982 wine_fn_config_dll mscat32 enable_mscat32
16983 wine_fn_config_dll mscms enable_mscms implib
16984 wine_fn_config_test dlls/mscms/tests mscms_test
16985 wine_fn_config_dll mscoree enable_mscoree clean
16986 wine_fn_config_test dlls/mscoree/tests mscoree_test
16987 wine_fn_config_dll msctf enable_msctf clean
16988 wine_fn_config_test dlls/msctf/tests msctf_test
16989 wine_fn_config_dll msdaps enable_msdaps clean
16990 wine_fn_config_dll msdmo enable_msdmo implib
16991 wine_fn_config_dll msftedit enable_msftedit
16992 wine_fn_config_dll msg711.acm enable_msg711_acm
16993 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16994 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16995 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16996 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16997 wine_fn_config_dll msi enable_msi clean,implib,po
16998 wine_fn_config_test dlls/msi/tests msi_test
16999 wine_fn_config_dll msident enable_msident clean
17000 wine_fn_config_dll msimg32 enable_msimg32 implib
17001 wine_fn_config_dll msimsg enable_msimsg
17002 wine_fn_config_dll msimtf enable_msimtf clean
17003 wine_fn_config_dll msisip enable_msisip
17004 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17005 wine_fn_config_dll msls31 enable_msls31
17006 wine_fn_config_dll msnet32 enable_msnet32
17007 wine_fn_config_dll mspatcha enable_mspatcha
17008 wine_fn_config_dll msrle32 enable_msrle32 po
17009 wine_fn_config_test dlls/msrle32/tests msrle32_test
17010 wine_fn_config_dll mssign32 enable_mssign32
17011 wine_fn_config_dll mssip32 enable_mssip32
17012 wine_fn_config_dll mstask enable_mstask clean
17013 wine_fn_config_test dlls/mstask/tests mstask_test
17014 wine_fn_config_dll msvcirt enable_msvcirt
17015 wine_fn_config_dll msvcm80 enable_msvcm80
17016 wine_fn_config_dll msvcm90 enable_msvcm90
17017 wine_fn_config_dll msvcp100 enable_msvcp100
17018 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17019 wine_fn_config_dll msvcp110 enable_msvcp110
17020 wine_fn_config_dll msvcp60 enable_msvcp60
17021 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17022 wine_fn_config_dll msvcp70 enable_msvcp70
17023 wine_fn_config_dll msvcp71 enable_msvcp71
17024 wine_fn_config_dll msvcp80 enable_msvcp80
17025 wine_fn_config_dll msvcp90 enable_msvcp90
17026 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17027 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17028 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17029 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17030 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17031 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17032 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17033 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17034 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17035 wine_fn_config_dll msvcrt enable_msvcrt implib
17036 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17037 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17038 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17039 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17040 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17041 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17042 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17043 wine_fn_config_dll msvidc32 enable_msvidc32 po
17044 wine_fn_config_dll msvideo.dll16 enable_win16
17045 wine_fn_config_dll mswsock enable_mswsock implib
17046 wine_fn_config_dll msxml enable_msxml clean
17047 wine_fn_config_dll msxml2 enable_msxml2 clean
17048 wine_fn_config_dll msxml3 enable_msxml3 clean
17049 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17050 wine_fn_config_dll msxml4 enable_msxml4 clean
17051 wine_fn_config_dll msxml6 enable_msxml6 clean
17052 wine_fn_config_dll nddeapi enable_nddeapi implib
17053 wine_fn_config_dll netapi32 enable_netapi32 implib
17054 wine_fn_config_test dlls/netapi32/tests netapi32_test
17055 wine_fn_config_dll netcfgx enable_netcfgx clean
17056 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17057 wine_fn_config_dll netprofm enable_netprofm clean
17058 wine_fn_config_test dlls/netprofm/tests netprofm_test
17059 wine_fn_config_dll newdev enable_newdev implib
17060 wine_fn_config_dll normaliz enable_normaliz implib
17061 wine_fn_config_dll npmshtml enable_npmshtml
17062 wine_fn_config_dll ntdll enable_ntdll implib
17063 wine_fn_config_test dlls/ntdll/tests ntdll_test
17064 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17065 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17066 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17067 wine_fn_config_dll ntprint enable_ntprint
17068 wine_fn_config_test dlls/ntprint/tests ntprint_test
17069 wine_fn_config_dll objsel enable_objsel clean
17070 wine_fn_config_dll odbc32 enable_odbc32 implib
17071 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17072 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17073 wine_fn_config_dll odbccu32 enable_odbccu32
17074 wine_fn_config_dll ole2.dll16 enable_win16
17075 wine_fn_config_dll ole2conv.dll16 enable_win16
17076 wine_fn_config_dll ole2disp.dll16 enable_win16
17077 wine_fn_config_dll ole2nls.dll16 enable_win16
17078 wine_fn_config_dll ole2prox.dll16 enable_win16
17079 wine_fn_config_dll ole2thk.dll16 enable_win16
17080 wine_fn_config_dll ole32 enable_ole32 clean,implib
17081 wine_fn_config_test dlls/ole32/tests ole32_test
17082 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17083 wine_fn_config_test dlls/oleacc/tests oleacc_test
17084 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17085 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17086 wine_fn_config_dll olecli.dll16 enable_win16
17087 wine_fn_config_dll olecli32 enable_olecli32 implib
17088 wine_fn_config_dll oledb32 enable_oledb32 clean
17089 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17090 wine_fn_config_dll oledlg enable_oledlg implib,po
17091 wine_fn_config_dll olepro32 enable_olepro32 implib
17092 wine_fn_config_dll olesvr.dll16 enable_win16
17093 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17094 wine_fn_config_dll olethk32 enable_olethk32
17095 wine_fn_config_dll openal32 enable_openal32
17096 wine_fn_config_dll opencl enable_opencl
17097 wine_fn_config_dll opengl32 enable_opengl32 implib
17098 wine_fn_config_test dlls/opengl32/tests opengl32_test
17099 wine_fn_config_dll pdh enable_pdh implib
17100 wine_fn_config_test dlls/pdh/tests pdh_test
17101 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17102 wine_fn_config_dll pidgen enable_pidgen
17103 wine_fn_config_dll powrprof enable_powrprof implib
17104 wine_fn_config_dll printui enable_printui
17105 wine_fn_config_dll propsys enable_propsys clean,implib
17106 wine_fn_config_test dlls/propsys/tests propsys_test
17107 wine_fn_config_dll psapi enable_psapi implib
17108 wine_fn_config_test dlls/psapi/tests psapi_test
17109 wine_fn_config_dll pstorec enable_pstorec clean
17110 wine_fn_config_dll qcap enable_qcap
17111 wine_fn_config_test dlls/qcap/tests qcap_test
17112 wine_fn_config_dll qedit enable_qedit clean
17113 wine_fn_config_test dlls/qedit/tests qedit_test
17114 wine_fn_config_dll qmgr enable_qmgr clean
17115 wine_fn_config_test dlls/qmgr/tests qmgr_test
17116 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17117 wine_fn_config_dll quartz enable_quartz clean,implib
17118 wine_fn_config_test dlls/quartz/tests quartz_test clean
17119 wine_fn_config_dll query enable_query
17120 wine_fn_config_dll rasapi16.dll16 enable_win16
17121 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17122 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17123 wine_fn_config_dll rasdlg enable_rasdlg implib
17124 wine_fn_config_dll regapi enable_regapi
17125 wine_fn_config_dll resutils enable_resutils implib
17126 wine_fn_config_dll riched20 enable_riched20 implib
17127 wine_fn_config_test dlls/riched20/tests riched20_test
17128 wine_fn_config_dll riched32 enable_riched32
17129 wine_fn_config_test dlls/riched32/tests riched32_test
17130 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17131 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17132 wine_fn_config_dll rsabase enable_rsabase
17133 wine_fn_config_dll rsaenh enable_rsaenh implib
17134 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17135 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17136 wine_fn_config_dll rtutils enable_rtutils implib
17137 wine_fn_config_dll samlib enable_samlib
17138 wine_fn_config_dll sane.ds enable_sane_ds po
17139 wine_fn_config_dll scarddlg enable_scarddlg
17140 wine_fn_config_dll sccbase enable_sccbase
17141 wine_fn_config_dll schannel enable_schannel
17142 wine_fn_config_test dlls/schannel/tests schannel_test
17143 wine_fn_config_dll schedsvc enable_schedsvc clean
17144 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17145 wine_fn_config_dll scrrun enable_scrrun clean
17146 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17147 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17148 wine_fn_config_dll secur32 enable_secur32 implib
17149 wine_fn_config_test dlls/secur32/tests secur32_test
17150 wine_fn_config_dll security enable_security
17151 wine_fn_config_dll sensapi enable_sensapi implib
17152 wine_fn_config_dll serialui enable_serialui implib,po
17153 wine_fn_config_test dlls/serialui/tests serialui_test
17154 wine_fn_config_dll setupapi enable_setupapi implib,po
17155 wine_fn_config_test dlls/setupapi/tests setupapi_test
17156 wine_fn_config_dll setupx.dll16 enable_win16
17157 wine_fn_config_dll sfc enable_sfc implib
17158 wine_fn_config_dll sfc_os enable_sfc_os implib
17159 wine_fn_config_dll shdoclc enable_shdoclc po
17160 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17161 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17162 wine_fn_config_dll shell.dll16 enable_win16
17163 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17164 wine_fn_config_test dlls/shell32/tests shell32_test
17165 wine_fn_config_dll shfolder enable_shfolder implib
17166 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17167 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17168 wine_fn_config_dll slbcsp enable_slbcsp
17169 wine_fn_config_dll slc enable_slc implib
17170 wine_fn_config_dll snmpapi enable_snmpapi implib
17171 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17172 wine_fn_config_dll softpub enable_softpub
17173 wine_fn_config_dll sound.drv16 enable_win16
17174 wine_fn_config_dll spoolss enable_spoolss implib
17175 wine_fn_config_test dlls/spoolss/tests spoolss_test
17176 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17177 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17178 wine_fn_config_dll sti enable_sti clean,implib
17179 wine_fn_config_test dlls/sti/tests sti_test
17180 wine_fn_config_dll storage.dll16 enable_win16
17181 wine_fn_config_dll stress.dll16 enable_win16
17182 wine_fn_config_lib strmbase
17183 wine_fn_config_lib strmiids
17184 wine_fn_config_dll svrapi enable_svrapi
17185 wine_fn_config_dll sxs enable_sxs implib
17186 wine_fn_config_test dlls/sxs/tests sxs_test
17187 wine_fn_config_dll system.drv16 enable_win16
17188 wine_fn_config_dll t2embed enable_t2embed
17189 wine_fn_config_dll tapi32 enable_tapi32 implib
17190 wine_fn_config_dll taskschd enable_taskschd clean
17191 wine_fn_config_test dlls/taskschd/tests taskschd_test
17192 wine_fn_config_dll toolhelp.dll16 enable_win16
17193 wine_fn_config_dll traffic enable_traffic
17194 wine_fn_config_dll twain.dll16 enable_win16
17195 wine_fn_config_dll twain_32 enable_twain_32
17196 wine_fn_config_test dlls/twain_32/tests twain_32_test
17197 wine_fn_config_dll typelib.dll16 enable_win16
17198 wine_fn_config_dll unicows enable_unicows implib
17199 wine_fn_config_dll updspapi enable_updspapi
17200 wine_fn_config_dll url enable_url implib
17201 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17202 wine_fn_config_test dlls/urlmon/tests urlmon_test
17203 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17204 wine_fn_config_dll user.exe16 enable_win16
17205 wine_fn_config_dll user32 enable_user32 clean,implib,po
17206 wine_fn_config_test dlls/user32/tests user32_test
17207 wine_fn_config_dll userenv enable_userenv implib
17208 wine_fn_config_test dlls/userenv/tests userenv_test
17209 wine_fn_config_dll usp10 enable_usp10 implib
17210 wine_fn_config_test dlls/usp10/tests usp10_test
17211 wine_fn_config_lib uuid
17212 wine_fn_config_dll uxtheme enable_uxtheme implib
17213 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17214 wine_fn_config_dll vbscript enable_vbscript clean
17215 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17216 wine_fn_config_dll vcomp enable_vcomp
17217 wine_fn_config_dll vcomp100 enable_vcomp100
17218 wine_fn_config_dll vcomp90 enable_vcomp90
17219 wine_fn_config_dll vdhcp.vxd enable_win16
17220 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17221 wine_fn_config_dll ver.dll16 enable_win16
17222 wine_fn_config_dll version enable_version implib
17223 wine_fn_config_test dlls/version/tests version_test
17224 wine_fn_config_dll vmm.vxd enable_win16
17225 wine_fn_config_dll vnbt.vxd enable_win16
17226 wine_fn_config_dll vnetbios.vxd enable_win16
17227 wine_fn_config_dll vtdapi.vxd enable_win16
17228 wine_fn_config_dll vwin32.vxd enable_win16
17229 wine_fn_config_dll w32skrnl enable_win16
17230 wine_fn_config_dll w32sys.dll16 enable_win16
17231 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17232 wine_fn_config_dll wbemprox enable_wbemprox clean
17233 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17234 wine_fn_config_dll webservices enable_webservices implib
17235 wine_fn_config_dll wer enable_wer implib
17236 wine_fn_config_test dlls/wer/tests wer_test
17237 wine_fn_config_dll wevtapi enable_wevtapi
17238 wine_fn_config_dll wiaservc enable_wiaservc clean
17239 wine_fn_config_dll win32s16.dll16 enable_win16
17240 wine_fn_config_dll win87em.dll16 enable_win16
17241 wine_fn_config_dll winaspi.dll16 enable_win16
17242 wine_fn_config_dll windebug.dll16 enable_win16
17243 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17244 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17245 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17246 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17247 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17248 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17249 wine_fn_config_lib winecrt0
17250 wine_fn_config_dll wined3d enable_wined3d implib
17251 wine_fn_config_dll winegstreamer enable_winegstreamer
17252 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17253 wine_fn_config_dll winemac.drv enable_winemac_drv
17254 wine_fn_config_dll winemapi enable_winemapi
17255 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17256 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17257 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17258 wine_fn_config_dll wineps16.drv16 enable_win16
17259 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17260 wine_fn_config_dll winex11.drv enable_winex11_drv
17261 wine_fn_config_dll wing.dll16 enable_win16
17262 wine_fn_config_dll wing32 enable_wing32
17263 wine_fn_config_dll winhttp enable_winhttp clean,implib
17264 wine_fn_config_test dlls/winhttp/tests winhttp_test
17265 wine_fn_config_dll wininet enable_wininet implib,po
17266 wine_fn_config_test dlls/wininet/tests wininet_test
17267 wine_fn_config_dll winmm enable_winmm implib,po
17268 wine_fn_config_test dlls/winmm/tests winmm_test
17269 wine_fn_config_dll winnls.dll16 enable_win16
17270 wine_fn_config_dll winnls32 enable_winnls32 implib
17271 wine_fn_config_dll winscard enable_winscard implib
17272 wine_fn_config_dll winsock.dll16 enable_win16
17273 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17274 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17275 wine_fn_config_dll winsta enable_winsta
17276 wine_fn_config_dll wintab.dll16 enable_win16
17277 wine_fn_config_dll wintab32 enable_wintab32 implib
17278 wine_fn_config_test dlls/wintab32/tests wintab32_test
17279 wine_fn_config_dll wintrust enable_wintrust implib
17280 wine_fn_config_test dlls/wintrust/tests wintrust_test
17281 wine_fn_config_dll wlanapi enable_wlanapi
17282 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17283 wine_fn_config_test dlls/wldap32/tests wldap32_test
17284 wine_fn_config_dll wmi enable_wmi
17285 wine_fn_config_dll wmiutils enable_wmiutils clean
17286 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17287 wine_fn_config_dll wmp enable_wmp clean
17288 wine_fn_config_test dlls/wmp/tests wmp_test
17289 wine_fn_config_dll wmvcore enable_wmvcore
17290 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17291 wine_fn_config_dll wow32 enable_win16 implib
17292 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17293 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17294 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17295 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17296 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17297 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17298 wine_fn_config_dll wsock32 enable_wsock32 implib
17299 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17300 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17301 wine_fn_config_dll wuapi enable_wuapi clean
17302 wine_fn_config_dll wuaueng enable_wuaueng
17303 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17304 wine_fn_config_dll xinput1_1 enable_xinput1_1
17305 wine_fn_config_dll xinput1_2 enable_xinput1_2
17306 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17307 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17308 wine_fn_config_dll xinput1_4 enable_xinput1_4
17309 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17310 wine_fn_config_dll xmllite enable_xmllite implib
17311 wine_fn_config_test dlls/xmllite/tests xmllite_test
17312 wine_fn_config_dll xolehlp enable_xolehlp
17313 wine_fn_config_dll xpsprint enable_xpsprint
17314 wine_fn_config_dll xpssvcs enable_xpssvcs
17315 wine_fn_config_makefile documentation enable_documentation clean
17316 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17317 wine_fn_config_makefile include enable_include clean,install-dev
17318 wine_fn_config_makefile libs/port enable_libs_port
17319 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17320 wine_fn_config_makefile libs/wpp enable_libs_wpp
17321 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17322 wine_fn_config_program arp enable_arp install
17323 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17324 wine_fn_config_program attrib enable_attrib install,po
17325 wine_fn_config_program cabarc enable_cabarc install
17326 wine_fn_config_program cacls enable_cacls install
17327 wine_fn_config_program clock enable_clock install,po
17328 wine_fn_config_program cmd enable_cmd install,po
17329 wine_fn_config_test programs/cmd/tests cmd.exe_test
17330 wine_fn_config_program conhost enable_conhost install
17331 wine_fn_config_program control enable_control install
17332 wine_fn_config_program cscript enable_cscript install
17333 wine_fn_config_program dpnsvr enable_dpnsvr install
17334 wine_fn_config_program dxdiag enable_dxdiag install,po
17335 wine_fn_config_program eject enable_eject install
17336 wine_fn_config_program expand enable_expand install
17337 wine_fn_config_program explorer enable_explorer install,po
17338 wine_fn_config_program extrac32 enable_extrac32 install
17339 wine_fn_config_program findstr enable_findstr install
17340 wine_fn_config_program hh enable_hh install
17341 wine_fn_config_program hostname enable_hostname install,po
17342 wine_fn_config_program icinfo enable_icinfo install
17343 wine_fn_config_program iexplore enable_iexplore install
17344 wine_fn_config_program ipconfig enable_ipconfig install,po
17345 wine_fn_config_program lodctr enable_lodctr install
17346 wine_fn_config_program mofcomp enable_mofcomp install
17347 wine_fn_config_program mshta enable_mshta install
17348 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17349 wine_fn_config_program net enable_net install,po
17350 wine_fn_config_program netsh enable_netsh install
17351 wine_fn_config_program netstat enable_netstat install,po
17352 wine_fn_config_program ngen enable_ngen install
17353 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17354 wine_fn_config_program oleview enable_oleview install,po
17355 wine_fn_config_program ping enable_ping install
17356 wine_fn_config_program plugplay enable_plugplay install
17357 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17358 wine_fn_config_program progman enable_progman install,po
17359 wine_fn_config_program reg enable_reg install,po
17360 wine_fn_config_program regasm enable_regasm install
17361 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17362 wine_fn_config_test programs/regedit/tests regedit.exe_test
17363 wine_fn_config_program regsvcs enable_regsvcs install
17364 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17365 wine_fn_config_program rpcss enable_rpcss clean,install
17366 wine_fn_config_program rundll.exe16 enable_win16 install
17367 wine_fn_config_program rundll32 enable_rundll32 install
17368 wine_fn_config_program sc enable_sc install
17369 wine_fn_config_program schtasks enable_schtasks install
17370 wine_fn_config_program sdbinst enable_sdbinst install
17371 wine_fn_config_program secedit enable_secedit install
17372 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17373 wine_fn_config_program services enable_services clean,install
17374 wine_fn_config_test programs/services/tests services.exe_test
17375 wine_fn_config_program spoolsv enable_spoolsv install
17376 wine_fn_config_program start enable_start install,po
17377 wine_fn_config_program svchost enable_svchost install
17378 wine_fn_config_program taskkill enable_taskkill install,po
17379 wine_fn_config_program tasklist enable_tasklist install
17380 wine_fn_config_program taskmgr enable_taskmgr install,po
17381 wine_fn_config_program termsv enable_termsv install
17382 wine_fn_config_program uninstaller enable_uninstaller install,po
17383 wine_fn_config_program unlodctr enable_unlodctr install
17384 wine_fn_config_program view enable_view install,po
17385 wine_fn_config_program wevtutil enable_wevtutil install
17386 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17387 wine_fn_config_program winebrowser enable_winebrowser install
17388 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17389 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17390 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17391 wine_fn_config_program winedevice enable_winedevice install
17392 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17393 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17394 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17395 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17396 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17397 wine_fn_config_program winetest enable_winetest clean
17398 wine_fn_config_program winevdm enable_win16 install
17399 wine_fn_config_program winhelp.exe16 enable_win16 install
17400 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17401 wine_fn_config_program winoldap.mod16 enable_win16 install
17402 wine_fn_config_program winver enable_winver install
17403 wine_fn_config_program wmic enable_wmic install,po
17404 wine_fn_config_program wordpad enable_wordpad install,po
17405 wine_fn_config_program write enable_write install,po
17406 wine_fn_config_program wscript enable_wscript clean,install
17407 wine_fn_config_test programs/wscript/tests wscript.exe_test
17408 wine_fn_config_program wusa enable_wusa install
17409 wine_fn_config_program xcopy enable_xcopy install,po
17410 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17411 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17412 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17413 wine_fn_config_tool tools/sfnt2fon clean
17414 wine_fn_config_tool tools/widl clean,install-dev,manpage
17415 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17416 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17417 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17418 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17419 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17421 LINGUAS="\
17422 ar \
17423 bg \
17424 ca \
17425 cs \
17426 da \
17427 de \
17428 el \
17429 en \
17430 en_US \
17431 eo \
17432 es \
17433 fa \
17434 fi \
17435 fr \
17436 he \
17437 hi \
17438 hr \
17439 hu \
17440 it \
17441 ja \
17442 ko \
17443 lt \
17444 ml \
17445 nb_NO \
17446 nl \
17447 or \
17448 pa \
17449 pl \
17450 pt_BR \
17451 pt_PT \
17452 rm \
17453 ro \
17454 ru \
17455 sk \
17456 sl \
17457 sr_RS@cyrillic \
17458 sr_RS@latin \
17459 sv \
17460 te \
17461 th \
17462 tr \
17463 uk \
17464 wa \
17465 zh_CN \
17466 zh_TW"
17471 wine_fn_ignore_file ".gitignore"
17472 wine_fn_ignore_file "Makefile"
17473 wine_fn_ignore_file "TAGS"
17474 wine_fn_ignore_file "tags"
17475 wine_fn_ignore_file "autom4te.cache"
17476 wine_fn_ignore_file "config.cache"
17477 wine_fn_ignore_file "config.log"
17478 wine_fn_ignore_file "config.status"
17479 wine_fn_ignore_file "configure.lineno"
17480 wine_fn_ignore_file "include/config.h"
17481 wine_fn_ignore_file "include/stamp-h"
17482 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17484 if test "x$enable_tools" != xno
17485 then
17486 wine_fn_ignore_file "tools/makedep$ac_exeext"
17487 ac_config_commands="$ac_config_commands tools/makedep"
17491 ac_config_commands="$ac_config_commands Makefile"
17494 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17498 if test "x$enable_maintainer_mode" = xyes
17499 then
17500 wine_fn_append_rule "configure: configure.ac aclocal.m4
17501 autoconf --warnings=all
17502 include/config.h.in: include/stamp-h.in
17503 include/stamp-h.in: configure.ac aclocal.m4
17504 autoheader --warnings=all
17505 @echo timestamp > \$@"
17508 if test "x$with_gettextpo" = xyes
17509 then
17510 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17511 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17512 \$(LINGUAS:%=po/%.po): po/wine.pot
17513 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17514 po/wine.pot: \$(ALL_POT_FILES)
17515 msgcat -o \$@ \$(ALL_POT_FILES)"
17518 if test "$MSGFMT" != false
17519 then
17520 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17521 clean::
17522 \$(RM) \$(LINGUAS:%=po/%.mo)"
17524 posrc="po"
17525 test "$srcdir" = . || posrc="$srcdir/po"
17526 for i in $LINGUAS
17528 wine_fn_ignore_file "po/$i.mo"
17529 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17530 \$(MSGFMT) -o \$@ $posrc/$i.po"
17531 done
17532 else
17533 LINGUAS=
17536 if test "x$enable_tools" != xno
17537 then
17538 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17539 @./config.status tools/makedep
17540 Makefile: tools/makedep$ac_exeext
17541 distclean:: clean
17542 \$(RM) tools/makedep$ac_exeext"
17543 else
17544 wine_fn_append_rule "\$(MAKEDEP):
17545 @echo \"You need to run make in $TOOLSDIR first\" && false"
17548 if test -n "$with_wine64"
17549 then
17550 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17551 fonts server tools:
17552 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17553 $with_wine64/loader/wine:
17554 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17555 $with_wine64/loader/wine-preloader:
17556 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17557 clean::
17558 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17559 else
17560 as_fn_append LOADER_RULES "
17561 all: wine.inf
17563 install install-lib:: wine.inf install-man-pages
17564 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17565 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17567 uninstall::
17568 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17572 if test "$srcdir" = .
17573 then
17574 ac_config_commands="$ac_config_commands .gitignore"
17578 $as_echo " done" >&6
17579 cat >confcache <<\_ACEOF
17580 # This file is a shell script that caches the results of configure
17581 # tests run on this system so they can be shared between configure
17582 # scripts and configure runs, see configure's option --config-cache.
17583 # It is not useful on other systems. If it contains results you don't
17584 # want to keep, you may remove or edit it.
17586 # config.status only pays attention to the cache file if you give it
17587 # the --recheck option to rerun configure.
17589 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17590 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17591 # following values.
17593 _ACEOF
17595 # The following way of writing the cache mishandles newlines in values,
17596 # but we know of no workaround that is simple, portable, and efficient.
17597 # So, we kill variables containing newlines.
17598 # Ultrix sh set writes to stderr and can't be redirected directly,
17599 # and sets the high bit in the cache file unless we assign to the vars.
17601 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17602 eval ac_val=\$$ac_var
17603 case $ac_val in #(
17604 *${as_nl}*)
17605 case $ac_var in #(
17606 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17607 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17608 esac
17609 case $ac_var in #(
17610 _ | IFS | as_nl) ;; #(
17611 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17612 *) { eval $ac_var=; unset $ac_var;} ;;
17613 esac ;;
17614 esac
17615 done
17617 (set) 2>&1 |
17618 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17619 *${as_nl}ac_space=\ *)
17620 # `set' does not quote correctly, so add quotes: double-quote
17621 # substitution turns \\\\ into \\, and sed turns \\ into \.
17622 sed -n \
17623 "s/'/'\\\\''/g;
17624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17625 ;; #(
17627 # `set' quotes correctly as required by POSIX, so do not add quotes.
17628 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17630 esac |
17631 sort
17633 sed '
17634 /^ac_cv_env_/b end
17635 t clear
17636 :clear
17637 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17638 t end
17639 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17640 :end' >>confcache
17641 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17642 if test -w "$cache_file"; then
17643 if test "x$cache_file" != "x/dev/null"; then
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17645 $as_echo "$as_me: updating cache $cache_file" >&6;}
17646 if test ! -f "$cache_file" || test -h "$cache_file"; then
17647 cat confcache >"$cache_file"
17648 else
17649 case $cache_file in #(
17650 */* | ?:*)
17651 mv -f confcache "$cache_file"$$ &&
17652 mv -f "$cache_file"$$ "$cache_file" ;; #(
17654 mv -f confcache "$cache_file" ;;
17655 esac
17658 else
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17660 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17663 rm -f confcache
17665 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17666 # Let make expand exec_prefix.
17667 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17669 DEFS=-DHAVE_CONFIG_H
17671 ac_libobjs=
17672 ac_ltlibobjs=
17674 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17675 # 1. Remove the extension, and $U if already installed.
17676 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17677 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17678 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17679 # will be set to the directory where LIBOBJS objects are built.
17680 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17681 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17682 done
17683 LIBOBJS=$ac_libobjs
17685 LTLIBOBJS=$ac_ltlibobjs
17689 : "${CONFIG_STATUS=./config.status}"
17690 ac_write_fail=0
17691 ac_clean_files_save=$ac_clean_files
17692 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17694 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17695 as_write_fail=0
17696 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17697 #! $SHELL
17698 # Generated by $as_me.
17699 # Run this file to recreate the current configuration.
17700 # Compiler output produced by configure, useful for debugging
17701 # configure, is in config.log if it exists.
17703 debug=false
17704 ac_cs_recheck=false
17705 ac_cs_silent=false
17707 SHELL=\${CONFIG_SHELL-$SHELL}
17708 export SHELL
17709 _ASEOF
17710 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17711 ## -------------------- ##
17712 ## M4sh Initialization. ##
17713 ## -------------------- ##
17715 # Be more Bourne compatible
17716 DUALCASE=1; export DUALCASE # for MKS sh
17717 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17718 emulate sh
17719 NULLCMD=:
17720 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17721 # is contrary to our usage. Disable this feature.
17722 alias -g '${1+"$@"}'='"$@"'
17723 setopt NO_GLOB_SUBST
17724 else
17725 case `(set -o) 2>/dev/null` in #(
17726 *posix*) :
17727 set -o posix ;; #(
17728 *) :
17730 esac
17734 as_nl='
17736 export as_nl
17737 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17738 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17739 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17740 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17741 # Prefer a ksh shell builtin over an external printf program on Solaris,
17742 # but without wasting forks for bash or zsh.
17743 if test -z "$BASH_VERSION$ZSH_VERSION" \
17744 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17745 as_echo='print -r --'
17746 as_echo_n='print -rn --'
17747 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17748 as_echo='printf %s\n'
17749 as_echo_n='printf %s'
17750 else
17751 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17752 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17753 as_echo_n='/usr/ucb/echo -n'
17754 else
17755 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17756 as_echo_n_body='eval
17757 arg=$1;
17758 case $arg in #(
17759 *"$as_nl"*)
17760 expr "X$arg" : "X\\(.*\\)$as_nl";
17761 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17762 esac;
17763 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17765 export as_echo_n_body
17766 as_echo_n='sh -c $as_echo_n_body as_echo'
17768 export as_echo_body
17769 as_echo='sh -c $as_echo_body as_echo'
17772 # The user is always right.
17773 if test "${PATH_SEPARATOR+set}" != set; then
17774 PATH_SEPARATOR=:
17775 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17776 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17777 PATH_SEPARATOR=';'
17782 # IFS
17783 # We need space, tab and new line, in precisely that order. Quoting is
17784 # there to prevent editors from complaining about space-tab.
17785 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17786 # splitting by setting IFS to empty value.)
17787 IFS=" "" $as_nl"
17789 # Find who we are. Look in the path if we contain no directory separator.
17790 as_myself=
17791 case $0 in #((
17792 *[\\/]* ) as_myself=$0 ;;
17793 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17794 for as_dir in $PATH
17796 IFS=$as_save_IFS
17797 test -z "$as_dir" && as_dir=.
17798 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17799 done
17800 IFS=$as_save_IFS
17803 esac
17804 # We did not find ourselves, most probably we were run as `sh COMMAND'
17805 # in which case we are not to be found in the path.
17806 if test "x$as_myself" = x; then
17807 as_myself=$0
17809 if test ! -f "$as_myself"; then
17810 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17811 exit 1
17814 # Unset variables that we do not need and which cause bugs (e.g. in
17815 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17816 # suppresses any "Segmentation fault" message there. '((' could
17817 # trigger a bug in pdksh 5.2.14.
17818 for as_var in BASH_ENV ENV MAIL MAILPATH
17819 do eval test x\${$as_var+set} = xset \
17820 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17821 done
17822 PS1='$ '
17823 PS2='> '
17824 PS4='+ '
17826 # NLS nuisances.
17827 LC_ALL=C
17828 export LC_ALL
17829 LANGUAGE=C
17830 export LANGUAGE
17832 # CDPATH.
17833 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17836 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17837 # ----------------------------------------
17838 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17839 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17840 # script with STATUS, using 1 if that was 0.
17841 as_fn_error ()
17843 as_status=$1; test $as_status -eq 0 && as_status=1
17844 if test "$4"; then
17845 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17846 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17848 $as_echo "$as_me: error: $2" >&2
17849 as_fn_exit $as_status
17850 } # as_fn_error
17853 # as_fn_set_status STATUS
17854 # -----------------------
17855 # Set $? to STATUS, without forking.
17856 as_fn_set_status ()
17858 return $1
17859 } # as_fn_set_status
17861 # as_fn_exit STATUS
17862 # -----------------
17863 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17864 as_fn_exit ()
17866 set +e
17867 as_fn_set_status $1
17868 exit $1
17869 } # as_fn_exit
17871 # as_fn_unset VAR
17872 # ---------------
17873 # Portably unset VAR.
17874 as_fn_unset ()
17876 { eval $1=; unset $1;}
17878 as_unset=as_fn_unset
17879 # as_fn_append VAR VALUE
17880 # ----------------------
17881 # Append the text in VALUE to the end of the definition contained in VAR. Take
17882 # advantage of any shell optimizations that allow amortized linear growth over
17883 # repeated appends, instead of the typical quadratic growth present in naive
17884 # implementations.
17885 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17886 eval 'as_fn_append ()
17888 eval $1+=\$2
17890 else
17891 as_fn_append ()
17893 eval $1=\$$1\$2
17895 fi # as_fn_append
17897 # as_fn_arith ARG...
17898 # ------------------
17899 # Perform arithmetic evaluation on the ARGs, and store the result in the
17900 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17901 # must be portable across $(()) and expr.
17902 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17903 eval 'as_fn_arith ()
17905 as_val=$(( $* ))
17907 else
17908 as_fn_arith ()
17910 as_val=`expr "$@" || test $? -eq 1`
17912 fi # as_fn_arith
17915 if expr a : '\(a\)' >/dev/null 2>&1 &&
17916 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17917 as_expr=expr
17918 else
17919 as_expr=false
17922 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17923 as_basename=basename
17924 else
17925 as_basename=false
17928 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17929 as_dirname=dirname
17930 else
17931 as_dirname=false
17934 as_me=`$as_basename -- "$0" ||
17935 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17936 X"$0" : 'X\(//\)$' \| \
17937 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17938 $as_echo X/"$0" |
17939 sed '/^.*\/\([^/][^/]*\)\/*$/{
17940 s//\1/
17943 /^X\/\(\/\/\)$/{
17944 s//\1/
17947 /^X\/\(\/\).*/{
17948 s//\1/
17951 s/.*/./; q'`
17953 # Avoid depending upon Character Ranges.
17954 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17955 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17956 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17957 as_cr_digits='0123456789'
17958 as_cr_alnum=$as_cr_Letters$as_cr_digits
17960 ECHO_C= ECHO_N= ECHO_T=
17961 case `echo -n x` in #(((((
17962 -n*)
17963 case `echo 'xy\c'` in
17964 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17965 xy) ECHO_C='\c';;
17966 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17967 ECHO_T=' ';;
17968 esac;;
17970 ECHO_N='-n';;
17971 esac
17973 rm -f conf$$ conf$$.exe conf$$.file
17974 if test -d conf$$.dir; then
17975 rm -f conf$$.dir/conf$$.file
17976 else
17977 rm -f conf$$.dir
17978 mkdir conf$$.dir 2>/dev/null
17980 if (echo >conf$$.file) 2>/dev/null; then
17981 if ln -s conf$$.file conf$$ 2>/dev/null; then
17982 as_ln_s='ln -s'
17983 # ... but there are two gotchas:
17984 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17985 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17986 # In both cases, we have to default to `cp -pR'.
17987 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17988 as_ln_s='cp -pR'
17989 elif ln conf$$.file conf$$ 2>/dev/null; then
17990 as_ln_s=ln
17991 else
17992 as_ln_s='cp -pR'
17994 else
17995 as_ln_s='cp -pR'
17997 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17998 rmdir conf$$.dir 2>/dev/null
18001 # as_fn_mkdir_p
18002 # -------------
18003 # Create "$as_dir" as a directory, including parents if necessary.
18004 as_fn_mkdir_p ()
18007 case $as_dir in #(
18008 -*) as_dir=./$as_dir;;
18009 esac
18010 test -d "$as_dir" || eval $as_mkdir_p || {
18011 as_dirs=
18012 while :; do
18013 case $as_dir in #(
18014 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18015 *) as_qdir=$as_dir;;
18016 esac
18017 as_dirs="'$as_qdir' $as_dirs"
18018 as_dir=`$as_dirname -- "$as_dir" ||
18019 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18020 X"$as_dir" : 'X\(//\)[^/]' \| \
18021 X"$as_dir" : 'X\(//\)$' \| \
18022 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18023 $as_echo X"$as_dir" |
18024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18025 s//\1/
18028 /^X\(\/\/\)[^/].*/{
18029 s//\1/
18032 /^X\(\/\/\)$/{
18033 s//\1/
18036 /^X\(\/\).*/{
18037 s//\1/
18040 s/.*/./; q'`
18041 test -d "$as_dir" && break
18042 done
18043 test -z "$as_dirs" || eval "mkdir $as_dirs"
18044 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18047 } # as_fn_mkdir_p
18048 if mkdir -p . 2>/dev/null; then
18049 as_mkdir_p='mkdir -p "$as_dir"'
18050 else
18051 test -d ./-p && rmdir ./-p
18052 as_mkdir_p=false
18056 # as_fn_executable_p FILE
18057 # -----------------------
18058 # Test if FILE is an executable regular file.
18059 as_fn_executable_p ()
18061 test -f "$1" && test -x "$1"
18062 } # as_fn_executable_p
18063 as_test_x='test -x'
18064 as_executable_p=as_fn_executable_p
18066 # Sed expression to map a string onto a valid CPP name.
18067 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18069 # Sed expression to map a string onto a valid variable name.
18070 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18073 exec 6>&1
18074 ## ----------------------------------- ##
18075 ## Main body of $CONFIG_STATUS script. ##
18076 ## ----------------------------------- ##
18077 _ASEOF
18078 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18081 # Save the log message, to keep $0 and so on meaningful, and to
18082 # report actual input values of CONFIG_FILES etc. instead of their
18083 # values after options handling.
18084 ac_log="
18085 This file was extended by Wine $as_me 1.7.18, which was
18086 generated by GNU Autoconf 2.69. Invocation command line was
18088 CONFIG_FILES = $CONFIG_FILES
18089 CONFIG_HEADERS = $CONFIG_HEADERS
18090 CONFIG_LINKS = $CONFIG_LINKS
18091 CONFIG_COMMANDS = $CONFIG_COMMANDS
18092 $ $0 $@
18094 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18097 _ACEOF
18099 case $ac_config_files in *"
18100 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18101 esac
18103 case $ac_config_headers in *"
18104 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18105 esac
18108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18109 # Files that config.status was made for.
18110 config_files="$ac_config_files"
18111 config_headers="$ac_config_headers"
18112 config_links="$ac_config_links"
18113 config_commands="$ac_config_commands"
18115 _ACEOF
18117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18118 ac_cs_usage="\
18119 \`$as_me' instantiates files and other configuration actions
18120 from templates according to the current configuration. Unless the files
18121 and actions are specified as TAGs, all are instantiated by default.
18123 Usage: $0 [OPTION]... [TAG]...
18125 -h, --help print this help, then exit
18126 -V, --version print version number and configuration settings, then exit
18127 --config print configuration, then exit
18128 -q, --quiet, --silent
18129 do not print progress messages
18130 -d, --debug don't remove temporary files
18131 --recheck update $as_me by reconfiguring in the same conditions
18132 --file=FILE[:TEMPLATE]
18133 instantiate the configuration file FILE
18134 --header=FILE[:TEMPLATE]
18135 instantiate the configuration header FILE
18137 Configuration files:
18138 $config_files
18140 Configuration headers:
18141 $config_headers
18143 Configuration links:
18144 $config_links
18146 Configuration commands:
18147 $config_commands
18149 Report bugs to <wine-devel@winehq.org>.
18150 Wine home page: <http://www.winehq.org>."
18152 _ACEOF
18153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18154 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18155 ac_cs_version="\\
18156 Wine config.status 1.7.18
18157 configured by $0, generated by GNU Autoconf 2.69,
18158 with options \\"\$ac_cs_config\\"
18160 Copyright (C) 2012 Free Software Foundation, Inc.
18161 This config.status script is free software; the Free Software Foundation
18162 gives unlimited permission to copy, distribute and modify it."
18164 ac_pwd='$ac_pwd'
18165 srcdir='$srcdir'
18166 test -n "\$AWK" || AWK=awk
18167 _ACEOF
18169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18170 # The default lists apply if the user does not specify any file.
18171 ac_need_defaults=:
18172 while test $# != 0
18174 case $1 in
18175 --*=?*)
18176 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18177 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18178 ac_shift=:
18180 --*=)
18181 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18182 ac_optarg=
18183 ac_shift=:
18186 ac_option=$1
18187 ac_optarg=$2
18188 ac_shift=shift
18190 esac
18192 case $ac_option in
18193 # Handling of the options.
18194 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18195 ac_cs_recheck=: ;;
18196 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18197 $as_echo "$ac_cs_version"; exit ;;
18198 --config | --confi | --conf | --con | --co | --c )
18199 $as_echo "$ac_cs_config"; exit ;;
18200 --debug | --debu | --deb | --de | --d | -d )
18201 debug=: ;;
18202 --file | --fil | --fi | --f )
18203 $ac_shift
18204 case $ac_optarg in
18205 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18206 '') as_fn_error $? "missing file argument" ;;
18207 esac
18208 as_fn_append CONFIG_FILES " '$ac_optarg'"
18209 ac_need_defaults=false;;
18210 --header | --heade | --head | --hea )
18211 $ac_shift
18212 case $ac_optarg in
18213 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18214 esac
18215 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18216 ac_need_defaults=false;;
18217 --he | --h)
18218 # Conflict between --help and --header
18219 as_fn_error $? "ambiguous option: \`$1'
18220 Try \`$0 --help' for more information.";;
18221 --help | --hel | -h )
18222 $as_echo "$ac_cs_usage"; exit ;;
18223 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18224 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18225 ac_cs_silent=: ;;
18227 # This is an error.
18228 -*) as_fn_error $? "unrecognized option: \`$1'
18229 Try \`$0 --help' for more information." ;;
18231 *) as_fn_append ac_config_targets " $1"
18232 ac_need_defaults=false ;;
18234 esac
18235 shift
18236 done
18238 ac_configure_extra_args=
18240 if $ac_cs_silent; then
18241 exec 6>/dev/null
18242 ac_configure_extra_args="$ac_configure_extra_args --silent"
18245 _ACEOF
18246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18247 if \$ac_cs_recheck; then
18248 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18249 shift
18250 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18251 CONFIG_SHELL='$SHELL'
18252 export CONFIG_SHELL
18253 exec "\$@"
18256 _ACEOF
18257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18258 exec 5>>config.log
18260 echo
18261 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18262 ## Running $as_me. ##
18263 _ASBOX
18264 $as_echo "$ac_log"
18265 } >&5
18267 _ACEOF
18268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18270 # INIT-COMMANDS
18272 wine_fn_output_makedep ()
18274 as_dir=tools; as_fn_mkdir_p
18275 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18277 wine_fn_output_makefile ()
18279 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18280 `cat $wine_rules_file`
18281 _WINE_EOF
18282 as_fn_error $? "could not create Makefile" "$LINENO" 5
18284 wine_fn_output_gitignore ()
18286 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18287 $GITIGNORE
18288 _WINE_EOF
18289 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18292 _ACEOF
18294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18296 # Handling of arguments.
18297 for ac_config_target in $ac_config_targets
18299 case $ac_config_target in
18300 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18301 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18302 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18303 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18304 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18305 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18306 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18307 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18308 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18309 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18310 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18311 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18312 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18313 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18315 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18316 esac
18317 done
18320 # If the user did not use the arguments to specify the items to instantiate,
18321 # then the envvar interface is used. Set only those that are not.
18322 # We use the long form for the default assignment because of an extremely
18323 # bizarre bug on SunOS 4.1.3.
18324 if $ac_need_defaults; then
18325 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18326 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18327 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18328 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18331 # Have a temporary directory for convenience. Make it in the build tree
18332 # simply because there is no reason against having it here, and in addition,
18333 # creating and moving files from /tmp can sometimes cause problems.
18334 # Hook for its removal unless debugging.
18335 # Note that there is a small window in which the directory will not be cleaned:
18336 # after its creation but before its name has been assigned to `$tmp'.
18337 $debug ||
18339 tmp= ac_tmp=
18340 trap 'exit_status=$?
18341 : "${ac_tmp:=$tmp}"
18342 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18344 trap 'as_fn_exit 1' 1 2 13 15
18346 # Create a (secure) tmp directory for tmp files.
18349 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18350 test -d "$tmp"
18351 } ||
18353 tmp=./conf$$-$RANDOM
18354 (umask 077 && mkdir "$tmp")
18355 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18356 ac_tmp=$tmp
18358 # Set up the scripts for CONFIG_FILES section.
18359 # No need to generate them if there are no CONFIG_FILES.
18360 # This happens for instance with `./config.status config.h'.
18361 if test -n "$CONFIG_FILES"; then
18364 ac_cr=`echo X | tr X '\015'`
18365 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18366 # But we know of no other shell where ac_cr would be empty at this
18367 # point, so we can use a bashism as a fallback.
18368 if test "x$ac_cr" = x; then
18369 eval ac_cr=\$\'\\r\'
18371 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18372 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18373 ac_cs_awk_cr='\\r'
18374 else
18375 ac_cs_awk_cr=$ac_cr
18378 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18379 _ACEOF
18383 echo "cat >conf$$subs.awk <<_ACEOF" &&
18384 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18385 echo "_ACEOF"
18386 } >conf$$subs.sh ||
18387 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18388 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18389 ac_delim='%!_!# '
18390 for ac_last_try in false false false false false :; do
18391 . ./conf$$subs.sh ||
18392 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18394 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18395 if test $ac_delim_n = $ac_delim_num; then
18396 break
18397 elif $ac_last_try; then
18398 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18399 else
18400 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18402 done
18403 rm -f conf$$subs.sh
18405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18406 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18407 _ACEOF
18408 sed -n '
18410 s/^/S["/; s/!.*/"]=/
18413 s/^[^!]*!//
18414 :repl
18415 t repl
18416 s/'"$ac_delim"'$//
18417 t delim
18420 s/\(.\{148\}\)..*/\1/
18421 t more1
18422 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18425 b repl
18426 :more1
18427 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18430 s/.\{148\}//
18431 t nl
18432 :delim
18434 s/\(.\{148\}\)..*/\1/
18435 t more2
18436 s/["\\]/\\&/g; s/^/"/; s/$/"/
18439 :more2
18440 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18443 s/.\{148\}//
18444 t delim
18445 ' <conf$$subs.awk | sed '
18446 /^[^""]/{
18448 s/\n//
18450 ' >>$CONFIG_STATUS || ac_write_fail=1
18451 rm -f conf$$subs.awk
18452 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18453 _ACAWK
18454 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18455 for (key in S) S_is_set[key] = 1
18456 FS = "\a"
18460 line = $ 0
18461 nfields = split(line, field, "@")
18462 substed = 0
18463 len = length(field[1])
18464 for (i = 2; i < nfields; i++) {
18465 key = field[i]
18466 keylen = length(key)
18467 if (S_is_set[key]) {
18468 value = S[key]
18469 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18470 len += length(value) + length(field[++i])
18471 substed = 1
18472 } else
18473 len += 1 + keylen
18476 print line
18479 _ACAWK
18480 _ACEOF
18481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18482 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18483 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18484 else
18486 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18487 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18488 _ACEOF
18490 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18491 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18492 # trailing colons and then remove the whole line if VPATH becomes empty
18493 # (actually we leave an empty line to preserve line numbers).
18494 if test "x$srcdir" = x.; then
18495 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18497 s///
18498 s/^/:/
18499 s/[ ]*$/:/
18500 s/:\$(srcdir):/:/g
18501 s/:\${srcdir}:/:/g
18502 s/:@srcdir@:/:/g
18503 s/^:*//
18504 s/:*$//
18506 s/\(=[ ]*\).*/\1/
18508 s/\n//
18509 s/^[^=]*=[ ]*$//
18513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18514 fi # test -n "$CONFIG_FILES"
18516 # Set up the scripts for CONFIG_HEADERS section.
18517 # No need to generate them if there are no CONFIG_HEADERS.
18518 # This happens for instance with `./config.status Makefile'.
18519 if test -n "$CONFIG_HEADERS"; then
18520 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18521 BEGIN {
18522 _ACEOF
18524 # Transform confdefs.h into an awk script `defines.awk', embedded as
18525 # here-document in config.status, that substitutes the proper values into
18526 # config.h.in to produce config.h.
18528 # Create a delimiter string that does not exist in confdefs.h, to ease
18529 # handling of long lines.
18530 ac_delim='%!_!# '
18531 for ac_last_try in false false :; do
18532 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18533 if test -z "$ac_tt"; then
18534 break
18535 elif $ac_last_try; then
18536 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18537 else
18538 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18540 done
18542 # For the awk script, D is an array of macro values keyed by name,
18543 # likewise P contains macro parameters if any. Preserve backslash
18544 # newline sequences.
18546 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18547 sed -n '
18548 s/.\{148\}/&'"$ac_delim"'/g
18549 t rset
18550 :rset
18551 s/^[ ]*#[ ]*define[ ][ ]*/ /
18552 t def
18554 :def
18555 s/\\$//
18556 t bsnl
18557 s/["\\]/\\&/g
18558 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18559 D["\1"]=" \3"/p
18560 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18562 :bsnl
18563 s/["\\]/\\&/g
18564 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18565 D["\1"]=" \3\\\\\\n"\\/p
18566 t cont
18567 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18568 t cont
18570 :cont
18572 s/.\{148\}/&'"$ac_delim"'/g
18573 t clear
18574 :clear
18575 s/\\$//
18576 t bsnlc
18577 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18579 :bsnlc
18580 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18581 b cont
18582 ' <confdefs.h | sed '
18583 s/'"$ac_delim"'/"\\\
18584 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18587 for (key in D) D_is_set[key] = 1
18588 FS = "\a"
18590 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18591 line = \$ 0
18592 split(line, arg, " ")
18593 if (arg[1] == "#") {
18594 defundef = arg[2]
18595 mac1 = arg[3]
18596 } else {
18597 defundef = substr(arg[1], 2)
18598 mac1 = arg[2]
18600 split(mac1, mac2, "(") #)
18601 macro = mac2[1]
18602 prefix = substr(line, 1, index(line, defundef) - 1)
18603 if (D_is_set[macro]) {
18604 # Preserve the white space surrounding the "#".
18605 print prefix "define", macro P[macro] D[macro]
18606 next
18607 } else {
18608 # Replace #undef with comments. This is necessary, for example,
18609 # in the case of _POSIX_SOURCE, which is predefined and required
18610 # on some systems where configure will not decide to define it.
18611 if (defundef == "undef") {
18612 print "/*", prefix defundef, macro, "*/"
18613 next
18617 { print }
18618 _ACAWK
18619 _ACEOF
18620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18621 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18622 fi # test -n "$CONFIG_HEADERS"
18625 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18626 shift
18627 for ac_tag
18629 case $ac_tag in
18630 :[FHLC]) ac_mode=$ac_tag; continue;;
18631 esac
18632 case $ac_mode$ac_tag in
18633 :[FHL]*:*);;
18634 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18635 :[FH]-) ac_tag=-:-;;
18636 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18637 esac
18638 ac_save_IFS=$IFS
18639 IFS=:
18640 set x $ac_tag
18641 IFS=$ac_save_IFS
18642 shift
18643 ac_file=$1
18644 shift
18646 case $ac_mode in
18647 :L) ac_source=$1;;
18648 :[FH])
18649 ac_file_inputs=
18650 for ac_f
18652 case $ac_f in
18653 -) ac_f="$ac_tmp/stdin";;
18654 *) # Look for the file first in the build tree, then in the source tree
18655 # (if the path is not absolute). The absolute path cannot be DOS-style,
18656 # because $ac_f cannot contain `:'.
18657 test -f "$ac_f" ||
18658 case $ac_f in
18659 [\\/$]*) false;;
18660 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18661 esac ||
18662 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18663 esac
18664 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18665 as_fn_append ac_file_inputs " '$ac_f'"
18666 done
18668 # Let's still pretend it is `configure' which instantiates (i.e., don't
18669 # use $as_me), people would be surprised to read:
18670 # /* config.h. Generated by config.status. */
18671 configure_input='Generated from '`
18672 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18673 `' by configure.'
18674 if test x"$ac_file" != x-; then
18675 configure_input="$ac_file. $configure_input"
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18677 $as_echo "$as_me: creating $ac_file" >&6;}
18679 # Neutralize special characters interpreted by sed in replacement strings.
18680 case $configure_input in #(
18681 *\&* | *\|* | *\\* )
18682 ac_sed_conf_input=`$as_echo "$configure_input" |
18683 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18684 *) ac_sed_conf_input=$configure_input;;
18685 esac
18687 case $ac_tag in
18688 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18689 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18690 esac
18692 esac
18694 ac_dir=`$as_dirname -- "$ac_file" ||
18695 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18696 X"$ac_file" : 'X\(//\)[^/]' \| \
18697 X"$ac_file" : 'X\(//\)$' \| \
18698 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18699 $as_echo X"$ac_file" |
18700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18701 s//\1/
18704 /^X\(\/\/\)[^/].*/{
18705 s//\1/
18708 /^X\(\/\/\)$/{
18709 s//\1/
18712 /^X\(\/\).*/{
18713 s//\1/
18716 s/.*/./; q'`
18717 as_dir="$ac_dir"; as_fn_mkdir_p
18718 ac_builddir=.
18720 case "$ac_dir" in
18721 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18723 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18724 # A ".." for each directory in $ac_dir_suffix.
18725 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18726 case $ac_top_builddir_sub in
18727 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18728 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18729 esac ;;
18730 esac
18731 ac_abs_top_builddir=$ac_pwd
18732 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18733 # for backward compatibility:
18734 ac_top_builddir=$ac_top_build_prefix
18736 case $srcdir in
18737 .) # We are building in place.
18738 ac_srcdir=.
18739 ac_top_srcdir=$ac_top_builddir_sub
18740 ac_abs_top_srcdir=$ac_pwd ;;
18741 [\\/]* | ?:[\\/]* ) # Absolute name.
18742 ac_srcdir=$srcdir$ac_dir_suffix;
18743 ac_top_srcdir=$srcdir
18744 ac_abs_top_srcdir=$srcdir ;;
18745 *) # Relative name.
18746 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18747 ac_top_srcdir=$ac_top_build_prefix$srcdir
18748 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18749 esac
18750 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18753 case $ac_mode in
18756 # CONFIG_FILE
18759 _ACEOF
18761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18762 # If the template does not know about datarootdir, expand it.
18763 # FIXME: This hack should be removed a few years after 2.60.
18764 ac_datarootdir_hack=; ac_datarootdir_seen=
18765 ac_sed_dataroot='
18766 /datarootdir/ {
18770 /@datadir@/p
18771 /@docdir@/p
18772 /@infodir@/p
18773 /@localedir@/p
18774 /@mandir@/p'
18775 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18776 *datarootdir*) ac_datarootdir_seen=yes;;
18777 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18779 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18780 _ACEOF
18781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18782 ac_datarootdir_hack='
18783 s&@datadir@&$datadir&g
18784 s&@docdir@&$docdir&g
18785 s&@infodir@&$infodir&g
18786 s&@localedir@&$localedir&g
18787 s&@mandir@&$mandir&g
18788 s&\\\${datarootdir}&$datarootdir&g' ;;
18789 esac
18790 _ACEOF
18792 # Neutralize VPATH when `$srcdir' = `.'.
18793 # Shell code in configure.ac might set extrasub.
18794 # FIXME: do we really want to maintain this feature?
18795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18796 ac_sed_extra="$ac_vpsub
18797 $extrasub
18798 _ACEOF
18799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18801 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18802 s|@configure_input@|$ac_sed_conf_input|;t t
18803 s&@top_builddir@&$ac_top_builddir_sub&;t t
18804 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18805 s&@srcdir@&$ac_srcdir&;t t
18806 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18807 s&@top_srcdir@&$ac_top_srcdir&;t t
18808 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18809 s&@builddir@&$ac_builddir&;t t
18810 s&@abs_builddir@&$ac_abs_builddir&;t t
18811 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18812 $ac_datarootdir_hack
18814 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18815 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18817 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18818 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18819 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18820 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18822 which seems to be undefined. Please make sure it is defined" >&5
18823 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18824 which seems to be undefined. Please make sure it is defined" >&2;}
18826 rm -f "$ac_tmp/stdin"
18827 case $ac_file in
18828 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18829 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18830 esac \
18831 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18835 # CONFIG_HEADER
18837 if test x"$ac_file" != x-; then
18839 $as_echo "/* $configure_input */" \
18840 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18841 } >"$ac_tmp/config.h" \
18842 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18843 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18845 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18846 else
18847 rm -f "$ac_file"
18848 mv "$ac_tmp/config.h" "$ac_file" \
18849 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18851 else
18852 $as_echo "/* $configure_input */" \
18853 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18854 || as_fn_error $? "could not create -" "$LINENO" 5
18859 # CONFIG_LINK
18862 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18864 else
18865 # Prefer the file from the source tree if names are identical.
18866 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18867 ac_source=$srcdir/$ac_source
18870 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18871 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18873 if test ! -r "$ac_source"; then
18874 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18876 rm -f "$ac_file"
18878 # Try a relative symlink, then a hard link, then a copy.
18879 case $ac_source in
18880 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18881 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18882 esac
18883 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18884 ln "$ac_source" "$ac_file" 2>/dev/null ||
18885 cp -p "$ac_source" "$ac_file" ||
18886 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18889 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18890 $as_echo "$as_me: executing $ac_file commands" >&6;}
18892 esac
18895 case $ac_file$ac_mode in
18896 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18897 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18898 "Makefile":C) wine_fn_output_makefile Makefile ;;
18899 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18901 esac
18902 done # for ac_tag
18905 as_fn_exit 0
18906 _ACEOF
18907 ac_clean_files=$ac_clean_files_save
18909 test $ac_write_fail = 0 ||
18910 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18913 # configure is writing to config.log, and then calls config.status.
18914 # config.status does its own redirection, appending to config.log.
18915 # Unfortunately, on DOS this fails, as config.log is still kept open
18916 # by configure, so config.status won't be able to write to it; its
18917 # output is simply discarded. So we exec the FD to /dev/null,
18918 # effectively closing config.log, so it can be properly (re)opened and
18919 # appended to by config.status. When coming back to configure, we
18920 # need to make the FD available again.
18921 if test "$no_create" != yes; then
18922 ac_cs_success=:
18923 ac_config_status_args=
18924 test "$silent" = yes &&
18925 ac_config_status_args="$ac_config_status_args --quiet"
18926 exec 5>/dev/null
18927 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18928 exec 5>>config.log
18929 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18930 # would make configure fail if this is the last instruction.
18931 $ac_cs_success || as_fn_exit 1
18933 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18935 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18939 if test "$no_create" = "yes"
18940 then
18941 exit 0
18944 ac_save_IFS="$IFS"
18945 if test "x$wine_notices != "x; then
18946 echo >&6
18947 IFS="|"
18948 for msg in $wine_notices; do
18949 IFS="$ac_save_IFS"
18950 if ${msg:+false} :; then :
18952 else
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18954 $as_echo "$as_me: $msg" >&6;}
18956 done
18958 IFS="|"
18959 for msg in $wine_warnings; do
18960 IFS="$ac_save_IFS"
18961 if ${msg:+false} :; then :
18963 else
18964 echo >&2
18965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18966 $as_echo "$as_me: WARNING: $msg" >&2;}
18968 done
18969 IFS="$ac_save_IFS"
18971 $as_echo "
18972 $as_me: Finished. Do '${ac_make}' to compile Wine.
18973 " >&6