mscoree: Add support for ICLRMetaHostPolicy interface.
[wine/multimedia.git] / configure
blobb523d8280902d5262ebdbb8d40f61cfa50d5e64a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.4.
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.4'
584 PACKAGE_STRING='Wine 1.7.4'
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 PORCFLAGS
628 LINGUAS
629 ALL_TEST_RESOURCES
630 MAKE_TEST_RULES
631 MAKE_PROG_RULES
632 MAKE_DLL_RULES
633 MAKE_IMPLIB_RULES
634 LDAPLIBS
635 LIBRT
636 LIBPOLL
637 LIBDL
638 TOOLSEXT
639 UNWINDFLAGS
640 BUILTINFLAG
641 EXTRACFLAGS
642 LIBPROCSTAT
643 LIBKSTAT
644 LIBOPENAL
645 MPG123_LIBS
646 MPG123_CFLAGS
647 TIFF_LIBS
648 TIFF_CFLAGS
649 PNG_LIBS
650 PNG_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 FONTCONFIGINCL
654 CUPSINCL
655 CAPI20_LIBS
656 CAPI20_CFLAGS
657 OSS4INCL
658 ALSALIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 LIBGETTEXTPO
662 ZLIB
663 FREETYPE_LIBS
664 FREETYPE_CFLAGS
665 LCMS2_LIBS
666 LCMS2_CFLAGS
667 RESOLVLIBS
668 GPHOTO2_PORT_LIBS
669 GPHOTO2_PORT_CFLAGS
670 GPHOTO2_LIBS
671 GPHOTO2_CFLAGS
672 SANE_LIBS
673 SANE_CFLAGS
674 GNUTLS_LIBS
675 GNUTLS_CFLAGS
676 HAL_LIBS
677 HAL_CFLAGS
678 DBUS_LIBS
679 DBUS_CFLAGS
680 XSLT_LIBS
681 XSLT_CFLAGS
682 XML2_LIBS
683 XML2_CFLAGS
684 X_EXTRA_LIBS
685 X_LIBS
686 X_PRE_LIBS
687 X_CFLAGS
688 XMKMF
689 LIBPTHREAD
690 CROSSCC
691 CROSSTARGET
692 PRELINK
693 CARBONLIB
694 QUICKTIMELIB
695 LIBOPENCL
696 FRAMEWORK_OPENAL
697 COREAUDIO
698 SECURITYLIB
699 DISKARBITRATIONLIB
700 APPKITLIB
701 CORESERVICESLIB
702 APPLICATIONSERVICESLIB
703 FORCEFEEDBACKLIB
704 IOKITLIB
705 COREFOUNDATIONLIB
706 LIBWINE_RULES
707 SOCKETLIBS
708 DLLTOOL
709 LOADER_RULES
710 READELF
712 LDRPATH_LOCAL
713 LDRPATH_INSTALL
714 IMPLIBEXT
715 DLLFLAGS
716 DLLPREFIX
717 dlldir
719 OPENGL_LIBS
720 XLIB
721 MAINTAINER_MODE
722 PKG_CONFIG
723 MSGFMT
724 ICOTOOL
725 CONVERT
726 RSVG
727 FONTFORGE
728 INSTALL_DATA
729 INSTALL_SCRIPT
730 INSTALL_PROGRAM
731 LDCONFIG
732 MKDIR_P
733 EGREP
734 GREP
735 LN_S
736 RANLIB
737 ARFLAGS
738 STRIP
739 ac_ct_AR
741 BISON
742 FLEX
743 TOOLSDIR
744 TARGETFLAGS
745 CPPBIN
746 ac_ct_CXX
747 CXXFLAGS
749 OBJEXT
750 EXEEXT
751 ac_ct_CC
752 CPPFLAGS
753 LDFLAGS
754 CFLAGS
756 SET_MAKE
757 host_os
758 host_vendor
759 host_cpu
760 host
761 build_os
762 build_vendor
763 build_cpu
764 build
765 target_alias
766 host_alias
767 build_alias
768 LIBS
769 ECHO_T
770 ECHO_N
771 ECHO_C
772 DEFS
773 mandir
774 localedir
775 libdir
776 psdir
777 pdfdir
778 dvidir
779 htmldir
780 infodir
781 docdir
782 oldincludedir
783 includedir
784 localstatedir
785 sharedstatedir
786 sysconfdir
787 datadir
788 datarootdir
789 libexecdir
790 sbindir
791 bindir
792 program_transform_name
793 prefix
794 exec_prefix
795 PACKAGE_URL
796 PACKAGE_BUGREPORT
797 PACKAGE_STRING
798 PACKAGE_VERSION
799 PACKAGE_TARNAME
800 PACKAGE_NAME
801 PATH_SEPARATOR
802 SHELL'
803 ac_subst_files='MAKE_RULES'
804 ac_user_opts='
805 enable_option_checking
806 enable_win16
807 enable_win64
808 enable_tests
809 enable_maintainer_mode
810 with_alsa
811 with_capi
812 with_cms
813 with_coreaudio
814 with_cups
815 with_curses
816 with_dbus
817 with_fontconfig
818 with_freetype
819 with_gettext
820 with_gettextpo
821 with_gphoto
822 with_glu
823 with_gnutls
824 with_gsm
825 with_gstreamer
826 with_hal
827 with_jpeg
828 with_ldap
829 with_mpg123
830 with_openal
831 with_opencl
832 with_opengl
833 with_osmesa
834 with_oss
835 with_png
836 with_pthread
837 with_sane
838 with_tiff
839 with_v4l
840 with_xcomposite
841 with_xcursor
842 with_xinerama
843 with_xinput
844 with_xinput2
845 with_xml
846 with_xrandr
847 with_xrender
848 with_xshape
849 with_xshm
850 with_xslt
851 with_xxf86vm
852 with_zlib
853 with_wine_tools
854 with_wine64
855 enable_largefile
856 with_x
857 enable_acledit
858 enable_aclui
859 enable_activeds
860 enable_actxprxy
861 enable_advapi32
862 enable_advpack
863 enable_amstream
864 enable_api_ms_win_core_localregistry_l1_1_0
865 enable_api_ms_win_core_processthreads_l1_1_0
866 enable_api_ms_win_core_winrt_error_l1_1_0
867 enable_api_ms_win_core_winrt_string_l1_1_0
868 enable_api_ms_win_downlevel_advapi32_l1_1_0
869 enable_api_ms_win_downlevel_advapi32_l2_1_0
870 enable_api_ms_win_downlevel_normaliz_l1_1_0
871 enable_api_ms_win_downlevel_ole32_l1_1_0
872 enable_api_ms_win_downlevel_shell32_l1_1_0
873 enable_api_ms_win_downlevel_shlwapi_l1_1_0
874 enable_api_ms_win_downlevel_shlwapi_l2_1_0
875 enable_api_ms_win_downlevel_user32_l1_1_0
876 enable_api_ms_win_downlevel_version_l1_1_0
877 enable_api_ms_win_security_base_l1_1_0
878 enable_apphelp
879 enable_appwiz_cpl
880 enable_atl
881 enable_atl100
882 enable_atl110
883 enable_atl80
884 enable_atl90
885 enable_authz
886 enable_avicap32
887 enable_avifil32
888 enable_avrt
889 enable_bcrypt
890 enable_browseui
891 enable_cabinet
892 enable_capi2032
893 enable_cards
894 enable_cfgmgr32
895 enable_clusapi
896 enable_comcat
897 enable_comctl32
898 enable_comdlg32
899 enable_compstui
900 enable_comsvcs
901 enable_credui
902 enable_crtdll
903 enable_crypt32
904 enable_cryptdlg
905 enable_cryptdll
906 enable_cryptnet
907 enable_cryptui
908 enable_ctapi32
909 enable_ctl3d32
910 enable_d3d10
911 enable_d3d10core
912 enable_d3d11
913 enable_d3d8
914 enable_d3d9
915 enable_d3dcompiler_33
916 enable_d3dcompiler_34
917 enable_d3dcompiler_35
918 enable_d3dcompiler_36
919 enable_d3dcompiler_37
920 enable_d3dcompiler_38
921 enable_d3dcompiler_39
922 enable_d3dcompiler_40
923 enable_d3dcompiler_41
924 enable_d3dcompiler_42
925 enable_d3dcompiler_43
926 enable_d3dim
927 enable_d3drm
928 enable_d3dx10_33
929 enable_d3dx10_34
930 enable_d3dx10_35
931 enable_d3dx10_36
932 enable_d3dx10_37
933 enable_d3dx10_38
934 enable_d3dx10_39
935 enable_d3dx10_40
936 enable_d3dx10_41
937 enable_d3dx10_42
938 enable_d3dx10_43
939 enable_d3dx11_42
940 enable_d3dx11_43
941 enable_d3dx9_24
942 enable_d3dx9_25
943 enable_d3dx9_26
944 enable_d3dx9_27
945 enable_d3dx9_28
946 enable_d3dx9_29
947 enable_d3dx9_30
948 enable_d3dx9_31
949 enable_d3dx9_32
950 enable_d3dx9_33
951 enable_d3dx9_34
952 enable_d3dx9_35
953 enable_d3dx9_36
954 enable_d3dx9_37
955 enable_d3dx9_38
956 enable_d3dx9_39
957 enable_d3dx9_40
958 enable_d3dx9_41
959 enable_d3dx9_42
960 enable_d3dx9_43
961 enable_d3dxof
962 enable_dbgeng
963 enable_dbghelp
964 enable_dciman32
965 enable_ddraw
966 enable_ddrawex
967 enable_devenum
968 enable_dhcpcsvc
969 enable_difxapi
970 enable_dinput
971 enable_dinput8
972 enable_dispex
973 enable_dmband
974 enable_dmcompos
975 enable_dmime
976 enable_dmloader
977 enable_dmscript
978 enable_dmstyle
979 enable_dmsynth
980 enable_dmusic
981 enable_dmusic32
982 enable_dnsapi
983 enable_dplay
984 enable_dplayx
985 enable_dpnaddr
986 enable_dpnet
987 enable_dpnhpast
988 enable_dpnlobby
989 enable_dpwsockx
990 enable_drmclien
991 enable_dsound
992 enable_dssenh
993 enable_dswave
994 enable_dwmapi
995 enable_dwrite
996 enable_dxdiagn
997 enable_dxgi
998 enable_explorerframe
999 enable_faultrep
1000 enable_fltlib
1001 enable_fusion
1002 enable_fwpuclnt
1003 enable_gameux
1004 enable_gdi32
1005 enable_gdiplus
1006 enable_glu32
1007 enable_gphoto2_ds
1008 enable_gpkcsp
1009 enable_hal
1010 enable_hhctrl_ocx
1011 enable_hid
1012 enable_hlink
1013 enable_hnetcfg
1014 enable_httpapi
1015 enable_iccvid
1016 enable_icmp
1017 enable_ieframe
1018 enable_imaadp32_acm
1019 enable_imagehlp
1020 enable_imm32
1021 enable_inetcomm
1022 enable_inetcpl_cpl
1023 enable_inetmib1
1024 enable_infosoft
1025 enable_initpki
1026 enable_inkobj
1027 enable_inseng
1028 enable_iphlpapi
1029 enable_itircl
1030 enable_itss
1031 enable_joy_cpl
1032 enable_jscript
1033 enable_kernel32
1034 enable_ktmw32
1035 enable_loadperf
1036 enable_localspl
1037 enable_localui
1038 enable_lz32
1039 enable_mapi32
1040 enable_mapistub
1041 enable_mciavi32
1042 enable_mcicda
1043 enable_mciqtz32
1044 enable_mciseq
1045 enable_mciwave
1046 enable_mgmtapi
1047 enable_midimap
1048 enable_mlang
1049 enable_mmcndmgr
1050 enable_mmdevapi
1051 enable_mountmgr_sys
1052 enable_mpr
1053 enable_mprapi
1054 enable_msacm32_drv
1055 enable_msacm32
1056 enable_msadp32_acm
1057 enable_mscat32
1058 enable_mscms
1059 enable_mscoree
1060 enable_msctf
1061 enable_msdaps
1062 enable_msdmo
1063 enable_msftedit
1064 enable_msg711_acm
1065 enable_msgsm32_acm
1066 enable_mshtml_tlb
1067 enable_mshtml
1068 enable_msi
1069 enable_msident
1070 enable_msimg32
1071 enable_msimsg
1072 enable_msimtf
1073 enable_msisip
1074 enable_msisys_ocx
1075 enable_msls31
1076 enable_msnet32
1077 enable_mspatcha
1078 enable_msrle32
1079 enable_mssign32
1080 enable_mssip32
1081 enable_mstask
1082 enable_msvcirt
1083 enable_msvcm80
1084 enable_msvcm90
1085 enable_msvcp100
1086 enable_msvcp110
1087 enable_msvcp60
1088 enable_msvcp70
1089 enable_msvcp71
1090 enable_msvcp80
1091 enable_msvcp90
1092 enable_msvcr100
1093 enable_msvcr110
1094 enable_msvcr70
1095 enable_msvcr71
1096 enable_msvcr80
1097 enable_msvcr90
1098 enable_msvcrt
1099 enable_msvcrt20
1100 enable_msvcrt40
1101 enable_msvcrtd
1102 enable_msvfw32
1103 enable_msvidc32
1104 enable_mswsock
1105 enable_msxml
1106 enable_msxml2
1107 enable_msxml3
1108 enable_msxml4
1109 enable_msxml6
1110 enable_nddeapi
1111 enable_netapi32
1112 enable_netcfgx
1113 enable_newdev
1114 enable_normaliz
1115 enable_npmshtml
1116 enable_ntdll
1117 enable_ntdsapi
1118 enable_ntoskrnl_exe
1119 enable_ntprint
1120 enable_objsel
1121 enable_odbc32
1122 enable_odbccp32
1123 enable_odbccu32
1124 enable_ole32
1125 enable_oleacc
1126 enable_oleaut32
1127 enable_olecli32
1128 enable_oledb32
1129 enable_oledlg
1130 enable_olepro32
1131 enable_olesvr32
1132 enable_olethk32
1133 enable_openal32
1134 enable_opencl
1135 enable_opengl32
1136 enable_pdh
1137 enable_photometadatahandler
1138 enable_pidgen
1139 enable_powrprof
1140 enable_printui
1141 enable_propsys
1142 enable_psapi
1143 enable_pstorec
1144 enable_qcap
1145 enable_qedit
1146 enable_qmgr
1147 enable_qmgrprxy
1148 enable_quartz
1149 enable_query
1150 enable_rasapi32
1151 enable_rasdlg
1152 enable_regapi
1153 enable_resutils
1154 enable_riched20
1155 enable_riched32
1156 enable_rpcrt4
1157 enable_rsabase
1158 enable_rsaenh
1159 enable_rstrtmgr
1160 enable_rtutils
1161 enable_samlib
1162 enable_sane_ds
1163 enable_scarddlg
1164 enable_sccbase
1165 enable_schannel
1166 enable_scrrun
1167 enable_scsiport_sys
1168 enable_secur32
1169 enable_security
1170 enable_sensapi
1171 enable_serialui
1172 enable_setupapi
1173 enable_sfc
1174 enable_sfc_os
1175 enable_shdoclc
1176 enable_shdocvw
1177 enable_shell32
1178 enable_shfolder
1179 enable_shlwapi
1180 enable_slbcsp
1181 enable_slc
1182 enable_snmpapi
1183 enable_softpub
1184 enable_spoolss
1185 enable_stdole2_tlb
1186 enable_stdole32_tlb
1187 enable_sti
1188 enable_svrapi
1189 enable_sxs
1190 enable_t2embed
1191 enable_tapi32
1192 enable_traffic
1193 enable_twain_32
1194 enable_unicows
1195 enable_updspapi
1196 enable_url
1197 enable_urlmon
1198 enable_usbd_sys
1199 enable_user32
1200 enable_userenv
1201 enable_usp10
1202 enable_uxtheme
1203 enable_vbscript
1204 enable_vcomp
1205 enable_vcomp100
1206 enable_vcomp90
1207 enable_vdmdbg
1208 enable_version
1209 enable_wbemdisp
1210 enable_wbemprox
1211 enable_webservices
1212 enable_wer
1213 enable_wevtapi
1214 enable_wiaservc
1215 enable_windowscodecs
1216 enable_windowscodecsext
1217 enable_winealsa_drv
1218 enable_winecoreaudio_drv
1219 enable_wined3d
1220 enable_winegstreamer
1221 enable_winejoystick_drv
1222 enable_winemac_drv
1223 enable_winemapi
1224 enable_winemp3_acm
1225 enable_wineoss_drv
1226 enable_wineps_drv
1227 enable_wineqtdecoder
1228 enable_winex11_drv
1229 enable_wing32
1230 enable_winhttp
1231 enable_wininet
1232 enable_winmm
1233 enable_winnls32
1234 enable_winscard
1235 enable_winspool_drv
1236 enable_winsta
1237 enable_wintab32
1238 enable_wintrust
1239 enable_wlanapi
1240 enable_wldap32
1241 enable_wmi
1242 enable_wmiutils
1243 enable_wmvcore
1244 enable_wnaspi32
1245 enable_ws2_32
1246 enable_wshom_ocx
1247 enable_wsnmp32
1248 enable_wsock32
1249 enable_wtsapi32
1250 enable_wuapi
1251 enable_wuaueng
1252 enable_xapofx1_1
1253 enable_xinput1_1
1254 enable_xinput1_2
1255 enable_xinput1_3
1256 enable_xinput1_4
1257 enable_xinput9_1_0
1258 enable_xmllite
1259 enable_xolehlp
1260 enable_xpsprint
1261 enable_xpssvcs
1262 enable_documentation
1263 enable_fonts
1264 enable_include
1265 enable_libs_port
1266 enable_libs_wine
1267 enable_libs_wpp
1268 enable_loader
1269 enable_aspnet_regiis
1270 enable_attrib
1271 enable_cabarc
1272 enable_cacls
1273 enable_clock
1274 enable_cmd
1275 enable_conhost
1276 enable_control
1277 enable_cscript
1278 enable_dxdiag
1279 enable_eject
1280 enable_expand
1281 enable_explorer
1282 enable_extrac32
1283 enable_findstr
1284 enable_hh
1285 enable_hostname
1286 enable_icinfo
1287 enable_iexplore
1288 enable_ipconfig
1289 enable_lodctr
1290 enable_mofcomp
1291 enable_mshta
1292 enable_msiexec
1293 enable_net
1294 enable_netsh
1295 enable_netstat
1296 enable_ngen
1297 enable_notepad
1298 enable_oleview
1299 enable_ping
1300 enable_plugplay
1301 enable_presentationfontcache
1302 enable_progman
1303 enable_reg
1304 enable_regasm
1305 enable_regedit
1306 enable_regsvcs
1307 enable_regsvr32
1308 enable_rpcss
1309 enable_rundll32
1310 enable_sc
1311 enable_schtasks
1312 enable_secedit
1313 enable_servicemodelreg
1314 enable_services
1315 enable_spoolsv
1316 enable_start
1317 enable_svchost
1318 enable_taskkill
1319 enable_tasklist
1320 enable_taskmgr
1321 enable_termsv
1322 enable_uninstaller
1323 enable_unlodctr
1324 enable_view
1325 enable_wineboot
1326 enable_winebrowser
1327 enable_winecfg
1328 enable_wineconsole
1329 enable_winedbg
1330 enable_winedevice
1331 enable_winefile
1332 enable_winemenubuilder
1333 enable_winemine
1334 enable_winemsibuilder
1335 enable_winepath
1336 enable_winetest
1337 enable_winhlp32
1338 enable_winver
1339 enable_wmic
1340 enable_wordpad
1341 enable_write
1342 enable_wscript
1343 enable_wusa
1344 enable_xcopy
1345 enable_server
1346 enable_tools
1348 ac_precious_vars='build_alias
1349 host_alias
1350 target_alias
1352 CFLAGS
1353 LDFLAGS
1354 LIBS
1355 CPPFLAGS
1357 CXXFLAGS
1360 XMKMF
1361 XML2_CFLAGS
1362 XML2_LIBS
1363 XSLT_CFLAGS
1364 XSLT_LIBS
1365 DBUS_CFLAGS
1366 DBUS_LIBS
1367 HAL_CFLAGS
1368 HAL_LIBS
1369 GNUTLS_CFLAGS
1370 GNUTLS_LIBS
1371 SANE_CFLAGS
1372 SANE_LIBS
1373 GPHOTO2_CFLAGS
1374 GPHOTO2_LIBS
1375 GPHOTO2_PORT_CFLAGS
1376 GPHOTO2_PORT_LIBS
1377 LCMS2_CFLAGS
1378 LCMS2_LIBS
1379 FREETYPE_CFLAGS
1380 FREETYPE_LIBS
1381 GSTREAMER_CFLAGS
1382 GSTREAMER_LIBS
1383 CAPI20_CFLAGS
1384 CAPI20_LIBS
1385 JPEG_CFLAGS
1386 JPEG_LIBS
1387 PNG_CFLAGS
1388 PNG_LIBS
1389 TIFF_CFLAGS
1390 TIFF_LIBS
1391 MPG123_CFLAGS
1392 MPG123_LIBS'
1395 # Initialize some variables set by options.
1396 ac_init_help=
1397 ac_init_version=false
1398 ac_unrecognized_opts=
1399 ac_unrecognized_sep=
1400 # The variables have the same names as the options, with
1401 # dashes changed to underlines.
1402 cache_file=/dev/null
1403 exec_prefix=NONE
1404 no_create=
1405 no_recursion=
1406 prefix=NONE
1407 program_prefix=NONE
1408 program_suffix=NONE
1409 program_transform_name=s,x,x,
1410 silent=
1411 site=
1412 srcdir=
1413 verbose=
1414 x_includes=NONE
1415 x_libraries=NONE
1417 # Installation directory options.
1418 # These are left unexpanded so users can "make install exec_prefix=/foo"
1419 # and all the variables that are supposed to be based on exec_prefix
1420 # by default will actually change.
1421 # Use braces instead of parens because sh, perl, etc. also accept them.
1422 # (The list follows the same order as the GNU Coding Standards.)
1423 bindir='${exec_prefix}/bin'
1424 sbindir='${exec_prefix}/sbin'
1425 libexecdir='${exec_prefix}/libexec'
1426 datarootdir='${prefix}/share'
1427 datadir='${datarootdir}'
1428 sysconfdir='${prefix}/etc'
1429 sharedstatedir='${prefix}/com'
1430 localstatedir='${prefix}/var'
1431 includedir='${prefix}/include'
1432 oldincludedir='/usr/include'
1433 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1434 infodir='${datarootdir}/info'
1435 htmldir='${docdir}'
1436 dvidir='${docdir}'
1437 pdfdir='${docdir}'
1438 psdir='${docdir}'
1439 libdir='${exec_prefix}/lib'
1440 localedir='${datarootdir}/locale'
1441 mandir='${datarootdir}/man'
1443 ac_prev=
1444 ac_dashdash=
1445 for ac_option
1447 # If the previous option needs an argument, assign it.
1448 if test -n "$ac_prev"; then
1449 eval $ac_prev=\$ac_option
1450 ac_prev=
1451 continue
1454 case $ac_option in
1455 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1456 *=) ac_optarg= ;;
1457 *) ac_optarg=yes ;;
1458 esac
1460 # Accept the important Cygnus configure options, so we can diagnose typos.
1462 case $ac_dashdash$ac_option in
1464 ac_dashdash=yes ;;
1466 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1467 ac_prev=bindir ;;
1468 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1469 bindir=$ac_optarg ;;
1471 -build | --build | --buil | --bui | --bu)
1472 ac_prev=build_alias ;;
1473 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1474 build_alias=$ac_optarg ;;
1476 -cache-file | --cache-file | --cache-fil | --cache-fi \
1477 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1478 ac_prev=cache_file ;;
1479 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1480 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1481 cache_file=$ac_optarg ;;
1483 --config-cache | -C)
1484 cache_file=config.cache ;;
1486 -datadir | --datadir | --datadi | --datad)
1487 ac_prev=datadir ;;
1488 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1489 datadir=$ac_optarg ;;
1491 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1492 | --dataroo | --dataro | --datar)
1493 ac_prev=datarootdir ;;
1494 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1495 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1496 datarootdir=$ac_optarg ;;
1498 -disable-* | --disable-*)
1499 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1500 # Reject names that are not valid shell variable names.
1501 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1502 as_fn_error $? "invalid feature name: $ac_useropt"
1503 ac_useropt_orig=$ac_useropt
1504 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1505 case $ac_user_opts in
1507 "enable_$ac_useropt"
1508 "*) ;;
1509 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1510 ac_unrecognized_sep=', ';;
1511 esac
1512 eval enable_$ac_useropt=no ;;
1514 -docdir | --docdir | --docdi | --doc | --do)
1515 ac_prev=docdir ;;
1516 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1517 docdir=$ac_optarg ;;
1519 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1520 ac_prev=dvidir ;;
1521 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1522 dvidir=$ac_optarg ;;
1524 -enable-* | --enable-*)
1525 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1526 # Reject names that are not valid shell variable names.
1527 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1528 as_fn_error $? "invalid feature name: $ac_useropt"
1529 ac_useropt_orig=$ac_useropt
1530 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1531 case $ac_user_opts in
1533 "enable_$ac_useropt"
1534 "*) ;;
1535 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1536 ac_unrecognized_sep=', ';;
1537 esac
1538 eval enable_$ac_useropt=\$ac_optarg ;;
1540 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1541 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1542 | --exec | --exe | --ex)
1543 ac_prev=exec_prefix ;;
1544 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1545 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1546 | --exec=* | --exe=* | --ex=*)
1547 exec_prefix=$ac_optarg ;;
1549 -gas | --gas | --ga | --g)
1550 # Obsolete; use --with-gas.
1551 with_gas=yes ;;
1553 -help | --help | --hel | --he | -h)
1554 ac_init_help=long ;;
1555 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1556 ac_init_help=recursive ;;
1557 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1558 ac_init_help=short ;;
1560 -host | --host | --hos | --ho)
1561 ac_prev=host_alias ;;
1562 -host=* | --host=* | --hos=* | --ho=*)
1563 host_alias=$ac_optarg ;;
1565 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1566 ac_prev=htmldir ;;
1567 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1568 | --ht=*)
1569 htmldir=$ac_optarg ;;
1571 -includedir | --includedir | --includedi | --included | --include \
1572 | --includ | --inclu | --incl | --inc)
1573 ac_prev=includedir ;;
1574 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1575 | --includ=* | --inclu=* | --incl=* | --inc=*)
1576 includedir=$ac_optarg ;;
1578 -infodir | --infodir | --infodi | --infod | --info | --inf)
1579 ac_prev=infodir ;;
1580 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1581 infodir=$ac_optarg ;;
1583 -libdir | --libdir | --libdi | --libd)
1584 ac_prev=libdir ;;
1585 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1586 libdir=$ac_optarg ;;
1588 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1589 | --libexe | --libex | --libe)
1590 ac_prev=libexecdir ;;
1591 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1592 | --libexe=* | --libex=* | --libe=*)
1593 libexecdir=$ac_optarg ;;
1595 -localedir | --localedir | --localedi | --localed | --locale)
1596 ac_prev=localedir ;;
1597 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1598 localedir=$ac_optarg ;;
1600 -localstatedir | --localstatedir | --localstatedi | --localstated \
1601 | --localstate | --localstat | --localsta | --localst | --locals)
1602 ac_prev=localstatedir ;;
1603 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1604 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1605 localstatedir=$ac_optarg ;;
1607 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1608 ac_prev=mandir ;;
1609 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1610 mandir=$ac_optarg ;;
1612 -nfp | --nfp | --nf)
1613 # Obsolete; use --without-fp.
1614 with_fp=no ;;
1616 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1617 | --no-cr | --no-c | -n)
1618 no_create=yes ;;
1620 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1621 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1622 no_recursion=yes ;;
1624 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1625 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1626 | --oldin | --oldi | --old | --ol | --o)
1627 ac_prev=oldincludedir ;;
1628 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1629 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1630 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1631 oldincludedir=$ac_optarg ;;
1633 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1634 ac_prev=prefix ;;
1635 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1636 prefix=$ac_optarg ;;
1638 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1639 | --program-pre | --program-pr | --program-p)
1640 ac_prev=program_prefix ;;
1641 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1642 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1643 program_prefix=$ac_optarg ;;
1645 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1646 | --program-suf | --program-su | --program-s)
1647 ac_prev=program_suffix ;;
1648 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1649 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1650 program_suffix=$ac_optarg ;;
1652 -program-transform-name | --program-transform-name \
1653 | --program-transform-nam | --program-transform-na \
1654 | --program-transform-n | --program-transform- \
1655 | --program-transform | --program-transfor \
1656 | --program-transfo | --program-transf \
1657 | --program-trans | --program-tran \
1658 | --progr-tra | --program-tr | --program-t)
1659 ac_prev=program_transform_name ;;
1660 -program-transform-name=* | --program-transform-name=* \
1661 | --program-transform-nam=* | --program-transform-na=* \
1662 | --program-transform-n=* | --program-transform-=* \
1663 | --program-transform=* | --program-transfor=* \
1664 | --program-transfo=* | --program-transf=* \
1665 | --program-trans=* | --program-tran=* \
1666 | --progr-tra=* | --program-tr=* | --program-t=*)
1667 program_transform_name=$ac_optarg ;;
1669 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1670 ac_prev=pdfdir ;;
1671 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1672 pdfdir=$ac_optarg ;;
1674 -psdir | --psdir | --psdi | --psd | --ps)
1675 ac_prev=psdir ;;
1676 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1677 psdir=$ac_optarg ;;
1679 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1680 | -silent | --silent | --silen | --sile | --sil)
1681 silent=yes ;;
1683 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1684 ac_prev=sbindir ;;
1685 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1686 | --sbi=* | --sb=*)
1687 sbindir=$ac_optarg ;;
1689 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1690 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1691 | --sharedst | --shareds | --shared | --share | --shar \
1692 | --sha | --sh)
1693 ac_prev=sharedstatedir ;;
1694 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1695 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1696 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1697 | --sha=* | --sh=*)
1698 sharedstatedir=$ac_optarg ;;
1700 -site | --site | --sit)
1701 ac_prev=site ;;
1702 -site=* | --site=* | --sit=*)
1703 site=$ac_optarg ;;
1705 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1706 ac_prev=srcdir ;;
1707 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1708 srcdir=$ac_optarg ;;
1710 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1711 | --syscon | --sysco | --sysc | --sys | --sy)
1712 ac_prev=sysconfdir ;;
1713 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1714 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1715 sysconfdir=$ac_optarg ;;
1717 -target | --target | --targe | --targ | --tar | --ta | --t)
1718 ac_prev=target_alias ;;
1719 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1720 target_alias=$ac_optarg ;;
1722 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1723 verbose=yes ;;
1725 -version | --version | --versio | --versi | --vers | -V)
1726 ac_init_version=: ;;
1728 -with-* | --with-*)
1729 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1730 # Reject names that are not valid shell variable names.
1731 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1732 as_fn_error $? "invalid package name: $ac_useropt"
1733 ac_useropt_orig=$ac_useropt
1734 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1735 case $ac_user_opts in
1737 "with_$ac_useropt"
1738 "*) ;;
1739 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1740 ac_unrecognized_sep=', ';;
1741 esac
1742 eval with_$ac_useropt=\$ac_optarg ;;
1744 -without-* | --without-*)
1745 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1746 # Reject names that are not valid shell variable names.
1747 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1748 as_fn_error $? "invalid package name: $ac_useropt"
1749 ac_useropt_orig=$ac_useropt
1750 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1751 case $ac_user_opts in
1753 "with_$ac_useropt"
1754 "*) ;;
1755 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1756 ac_unrecognized_sep=', ';;
1757 esac
1758 eval with_$ac_useropt=no ;;
1760 --x)
1761 # Obsolete; use --with-x.
1762 with_x=yes ;;
1764 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1765 | --x-incl | --x-inc | --x-in | --x-i)
1766 ac_prev=x_includes ;;
1767 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1768 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1769 x_includes=$ac_optarg ;;
1771 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1772 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1773 ac_prev=x_libraries ;;
1774 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1775 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1776 x_libraries=$ac_optarg ;;
1778 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1779 Try \`$0 --help' for more information"
1782 *=*)
1783 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1784 # Reject names that are not valid shell variable names.
1785 case $ac_envvar in #(
1786 '' | [0-9]* | *[!_$as_cr_alnum]* )
1787 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1788 esac
1789 eval $ac_envvar=\$ac_optarg
1790 export $ac_envvar ;;
1793 # FIXME: should be removed in autoconf 3.0.
1794 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1795 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1796 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1797 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1800 esac
1801 done
1803 if test -n "$ac_prev"; then
1804 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1805 as_fn_error $? "missing argument to $ac_option"
1808 if test -n "$ac_unrecognized_opts"; then
1809 case $enable_option_checking in
1810 no) ;;
1811 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1812 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1813 esac
1816 # Check all directory arguments for consistency.
1817 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1818 datadir sysconfdir sharedstatedir localstatedir includedir \
1819 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1820 libdir localedir mandir
1822 eval ac_val=\$$ac_var
1823 # Remove trailing slashes.
1824 case $ac_val in
1825 */ )
1826 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1827 eval $ac_var=\$ac_val;;
1828 esac
1829 # Be sure to have absolute directory names.
1830 case $ac_val in
1831 [\\/$]* | ?:[\\/]* ) continue;;
1832 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1833 esac
1834 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1835 done
1837 # There might be people who depend on the old broken behavior: `$host'
1838 # used to hold the argument of --host etc.
1839 # FIXME: To remove some day.
1840 build=$build_alias
1841 host=$host_alias
1842 target=$target_alias
1844 # FIXME: To remove some day.
1845 if test "x$host_alias" != x; then
1846 if test "x$build_alias" = x; then
1847 cross_compiling=maybe
1848 elif test "x$build_alias" != "x$host_alias"; then
1849 cross_compiling=yes
1853 ac_tool_prefix=
1854 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1856 test "$silent" = yes && exec 6>/dev/null
1859 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1860 ac_ls_di=`ls -di .` &&
1861 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1862 as_fn_error $? "working directory cannot be determined"
1863 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1864 as_fn_error $? "pwd does not report name of working directory"
1867 # Find the source files, if location was not specified.
1868 if test -z "$srcdir"; then
1869 ac_srcdir_defaulted=yes
1870 # Try the directory containing this script, then the parent directory.
1871 ac_confdir=`$as_dirname -- "$as_myself" ||
1872 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1873 X"$as_myself" : 'X\(//\)[^/]' \| \
1874 X"$as_myself" : 'X\(//\)$' \| \
1875 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1876 $as_echo X"$as_myself" |
1877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1878 s//\1/
1881 /^X\(\/\/\)[^/].*/{
1882 s//\1/
1885 /^X\(\/\/\)$/{
1886 s//\1/
1889 /^X\(\/\).*/{
1890 s//\1/
1893 s/.*/./; q'`
1894 srcdir=$ac_confdir
1895 if test ! -r "$srcdir/$ac_unique_file"; then
1896 srcdir=..
1898 else
1899 ac_srcdir_defaulted=no
1901 if test ! -r "$srcdir/$ac_unique_file"; then
1902 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1903 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1905 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1906 ac_abs_confdir=`(
1907 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1908 pwd)`
1909 # When building in place, set srcdir=.
1910 if test "$ac_abs_confdir" = "$ac_pwd"; then
1911 srcdir=.
1913 # Remove unnecessary trailing slashes from srcdir.
1914 # Double slashes in file names in object file debugging info
1915 # mess up M-x gdb in Emacs.
1916 case $srcdir in
1917 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1918 esac
1919 for ac_var in $ac_precious_vars; do
1920 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1921 eval ac_env_${ac_var}_value=\$${ac_var}
1922 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1923 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1924 done
1927 # Report the --help message.
1929 if test "$ac_init_help" = "long"; then
1930 # Omit some internal or obsolete options to make the list less imposing.
1931 # This message is too long to be a string in the A/UX 3.1 sh.
1932 cat <<_ACEOF
1933 \`configure' configures Wine 1.7.4 to adapt to many kinds of systems.
1935 Usage: $0 [OPTION]... [VAR=VALUE]...
1937 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1938 VAR=VALUE. See below for descriptions of some of the useful variables.
1940 Defaults for the options are specified in brackets.
1942 Configuration:
1943 -h, --help display this help and exit
1944 --help=short display options specific to this package
1945 --help=recursive display the short help of all the included packages
1946 -V, --version display version information and exit
1947 -q, --quiet, --silent do not print \`checking ...' messages
1948 --cache-file=FILE cache test results in FILE [disabled]
1949 -C, --config-cache alias for \`--cache-file=config.cache'
1950 -n, --no-create do not create output files
1951 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1953 Installation directories:
1954 --prefix=PREFIX install architecture-independent files in PREFIX
1955 [$ac_default_prefix]
1956 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1957 [PREFIX]
1959 By default, \`make install' will install all the files in
1960 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1961 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1962 for instance \`--prefix=\$HOME'.
1964 For better control, use the options below.
1966 Fine tuning of the installation directories:
1967 --bindir=DIR user executables [EPREFIX/bin]
1968 --sbindir=DIR system admin executables [EPREFIX/sbin]
1969 --libexecdir=DIR program executables [EPREFIX/libexec]
1970 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1971 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1972 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1973 --libdir=DIR object code libraries [EPREFIX/lib]
1974 --includedir=DIR C header files [PREFIX/include]
1975 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1976 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1977 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1978 --infodir=DIR info documentation [DATAROOTDIR/info]
1979 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1980 --mandir=DIR man documentation [DATAROOTDIR/man]
1981 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1982 --htmldir=DIR html documentation [DOCDIR]
1983 --dvidir=DIR dvi documentation [DOCDIR]
1984 --pdfdir=DIR pdf documentation [DOCDIR]
1985 --psdir=DIR ps documentation [DOCDIR]
1986 _ACEOF
1988 cat <<\_ACEOF
1990 X features:
1991 --x-includes=DIR X include files are in DIR
1992 --x-libraries=DIR X library files are in DIR
1994 System types:
1995 --build=BUILD configure for building on BUILD [guessed]
1996 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1997 _ACEOF
2000 if test -n "$ac_init_help"; then
2001 case $ac_init_help in
2002 short | recursive ) echo "Configuration of Wine 1.7.4:";;
2003 esac
2004 cat <<\_ACEOF
2006 Optional Features:
2007 --disable-option-checking ignore unrecognized --enable/--with options
2008 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2009 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2010 --disable-win16 do not include Win16 support
2011 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2012 binaries)
2013 --disable-tests do not build the regression tests
2014 --enable-maintainer-mode
2015 enable maintainer-specific build rules
2016 --disable-largefile omit support for large files
2018 Optional Packages:
2019 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2020 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2021 --without-alsa do not use the Alsa sound support
2022 --without-capi do not use CAPI (ISDN support)
2023 --without-cms do not use CMS (color management support)
2024 --without-coreaudio do not use the CoreAudio sound support
2025 --without-cups do not use CUPS
2026 --without-curses do not use (n)curses
2027 --without-dbus do not use DBus (dynamic device support)
2028 --without-fontconfig do not use fontconfig
2029 --without-freetype do not use the FreeType library
2030 --without-gettext do not use gettext
2031 --with-gettextpo use the GetTextPO library to rebuild po files
2032 --without-gphoto do not use gphoto (Digital Camera support)
2033 --without-glu do not use the GLU library
2034 --without-gnutls do not use GnuTLS (schannel support)
2035 --without-gsm do not use libgsm (GSM 06.10 codec support)
2036 --without-gstreamer do not use GStreamer (codecs support)
2037 --without-hal do not use HAL (dynamic device support)
2038 --without-jpeg do not use JPEG
2039 --without-ldap do not use LDAP
2040 --without-mpg123 do not use the mpg123 library
2041 --without-openal do not use OpenAL
2042 --without-opencl do not use OpenCL
2043 --without-opengl do not use OpenGL
2044 --without-osmesa do not use the OSMesa library
2045 --without-oss do not use the OSS sound support
2046 --without-png do not use PNG
2047 --without-pthread do not use the pthread library
2048 --without-sane do not use SANE (scanner support)
2049 --without-tiff do not use TIFF
2050 --without-v4l do not use v4l1 (v4l support)
2051 --without-xcomposite do not use the Xcomposite extension
2052 --without-xcursor do not use the Xcursor extension
2053 --without-xinerama do not use Xinerama (multi-monitor support)
2054 --without-xinput do not use the Xinput extension
2055 --without-xinput2 do not use the Xinput 2 extension
2056 --without-xml do not use XML
2057 --without-xrandr do not use Xrandr (resolution changes)
2058 --without-xrender do not use the Xrender extension
2059 --without-xshape do not use the Xshape extension
2060 --without-xshm do not use XShm (shared memory extension)
2061 --without-xslt do not use XSLT
2062 --without-xxf86vm do not use XFree video mode extension
2063 --without-zlib do not use Zlib (data compression)
2064 --with-wine-tools=DIR use Wine tools from directory DIR
2065 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2066 --with-x use the X Window System
2068 Some influential environment variables:
2069 CC C compiler command
2070 CFLAGS C compiler flags
2071 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2072 nonstandard directory <lib dir>
2073 LIBS libraries to pass to the linker, e.g. -l<library>
2074 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2075 you have headers in a nonstandard directory <include dir>
2076 CXX C++ compiler command
2077 CXXFLAGS C++ compiler flags
2078 CPP C preprocessor
2079 XMKMF Path to xmkmf, Makefile generator for X Window System
2080 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2081 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2082 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2083 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2084 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2085 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2086 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2087 HAL_LIBS Linker flags for hal, overriding pkg-config
2088 GNUTLS_CFLAGS
2089 C compiler flags for gnutls, overriding pkg-config
2090 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2091 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2092 SANE_LIBS Linker flags for libsane, overriding pkg-config
2093 GPHOTO2_CFLAGS
2094 C compiler flags for libgphoto2, overriding pkg-config
2095 GPHOTO2_LIBS
2096 Linker flags for libgphoto2, overriding pkg-config
2097 GPHOTO2_PORT_CFLAGS
2098 C compiler flags for libgphoto2_port, overriding pkg-config
2099 GPHOTO2_PORT_LIBS
2100 Linker flags for libgphoto2_port, overriding pkg-config
2101 LCMS2_CFLAGS
2102 C compiler flags for lcms2, overriding pkg-config
2103 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2104 FREETYPE_CFLAGS
2105 C compiler flags for freetype2, overriding pkg-config
2106 FREETYPE_LIBS
2107 Linker flags for freetype2, overriding pkg-config
2108 GSTREAMER_CFLAGS
2109 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2110 GSTREAMER_LIBS
2111 Linker flags for gstreamer-app-0.10, overriding pkg-config
2112 CAPI20_CFLAGS
2113 C compiler flags for capi20, overriding pkg-config
2114 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2115 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2116 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2117 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2118 PNG_LIBS Linker flags for libpng, overriding pkg-config
2119 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2120 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2121 MPG123_CFLAGS
2122 C compiler flags for libmpg123, overriding pkg-config
2123 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2125 Use these variables to override the choices made by `configure' or to help
2126 it to find libraries and programs with nonstandard names/locations.
2128 Report bugs to <wine-devel@winehq.org>.
2129 Wine home page: <http://www.winehq.org>.
2130 _ACEOF
2131 ac_status=$?
2134 if test "$ac_init_help" = "recursive"; then
2135 # If there are subdirs, report their specific --help.
2136 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2137 test -d "$ac_dir" ||
2138 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2139 continue
2140 ac_builddir=.
2142 case "$ac_dir" in
2143 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2145 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2146 # A ".." for each directory in $ac_dir_suffix.
2147 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2148 case $ac_top_builddir_sub in
2149 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2150 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2151 esac ;;
2152 esac
2153 ac_abs_top_builddir=$ac_pwd
2154 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2155 # for backward compatibility:
2156 ac_top_builddir=$ac_top_build_prefix
2158 case $srcdir in
2159 .) # We are building in place.
2160 ac_srcdir=.
2161 ac_top_srcdir=$ac_top_builddir_sub
2162 ac_abs_top_srcdir=$ac_pwd ;;
2163 [\\/]* | ?:[\\/]* ) # Absolute name.
2164 ac_srcdir=$srcdir$ac_dir_suffix;
2165 ac_top_srcdir=$srcdir
2166 ac_abs_top_srcdir=$srcdir ;;
2167 *) # Relative name.
2168 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2169 ac_top_srcdir=$ac_top_build_prefix$srcdir
2170 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2171 esac
2172 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2174 cd "$ac_dir" || { ac_status=$?; continue; }
2175 # Check for guested configure.
2176 if test -f "$ac_srcdir/configure.gnu"; then
2177 echo &&
2178 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2179 elif test -f "$ac_srcdir/configure"; then
2180 echo &&
2181 $SHELL "$ac_srcdir/configure" --help=recursive
2182 else
2183 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2184 fi || ac_status=$?
2185 cd "$ac_pwd" || { ac_status=$?; break; }
2186 done
2189 test -n "$ac_init_help" && exit $ac_status
2190 if $ac_init_version; then
2191 cat <<\_ACEOF
2192 Wine configure 1.7.4
2193 generated by GNU Autoconf 2.69
2195 Copyright (C) 2012 Free Software Foundation, Inc.
2196 This configure script is free software; the Free Software Foundation
2197 gives unlimited permission to copy, distribute and modify it.
2198 _ACEOF
2199 exit
2202 ## ------------------------ ##
2203 ## Autoconf initialization. ##
2204 ## ------------------------ ##
2206 # ac_fn_c_try_compile LINENO
2207 # --------------------------
2208 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2209 ac_fn_c_try_compile ()
2211 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2212 rm -f conftest.$ac_objext
2213 if { { ac_try="$ac_compile"
2214 case "(($ac_try" in
2215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2216 *) ac_try_echo=$ac_try;;
2217 esac
2218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2219 $as_echo "$ac_try_echo"; } >&5
2220 (eval "$ac_compile") 2>conftest.err
2221 ac_status=$?
2222 if test -s conftest.err; then
2223 grep -v '^ *+' conftest.err >conftest.er1
2224 cat conftest.er1 >&5
2225 mv -f conftest.er1 conftest.err
2227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2228 test $ac_status = 0; } && {
2229 test -z "$ac_c_werror_flag" ||
2230 test ! -s conftest.err
2231 } && test -s conftest.$ac_objext; then :
2232 ac_retval=0
2233 else
2234 $as_echo "$as_me: failed program was:" >&5
2235 sed 's/^/| /' conftest.$ac_ext >&5
2237 ac_retval=1
2239 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2240 as_fn_set_status $ac_retval
2242 } # ac_fn_c_try_compile
2244 # ac_fn_cxx_try_compile LINENO
2245 # ----------------------------
2246 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2247 ac_fn_cxx_try_compile ()
2249 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2250 rm -f conftest.$ac_objext
2251 if { { ac_try="$ac_compile"
2252 case "(($ac_try" in
2253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2254 *) ac_try_echo=$ac_try;;
2255 esac
2256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2257 $as_echo "$ac_try_echo"; } >&5
2258 (eval "$ac_compile") 2>conftest.err
2259 ac_status=$?
2260 if test -s conftest.err; then
2261 grep -v '^ *+' conftest.err >conftest.er1
2262 cat conftest.er1 >&5
2263 mv -f conftest.er1 conftest.err
2265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2266 test $ac_status = 0; } && {
2267 test -z "$ac_cxx_werror_flag" ||
2268 test ! -s conftest.err
2269 } && test -s conftest.$ac_objext; then :
2270 ac_retval=0
2271 else
2272 $as_echo "$as_me: failed program was:" >&5
2273 sed 's/^/| /' conftest.$ac_ext >&5
2275 ac_retval=1
2277 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2278 as_fn_set_status $ac_retval
2280 } # ac_fn_cxx_try_compile
2282 # ac_fn_c_try_link LINENO
2283 # -----------------------
2284 # Try to link conftest.$ac_ext, and return whether this succeeded.
2285 ac_fn_c_try_link ()
2287 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2288 rm -f conftest.$ac_objext conftest$ac_exeext
2289 if { { ac_try="$ac_link"
2290 case "(($ac_try" in
2291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2292 *) ac_try_echo=$ac_try;;
2293 esac
2294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2295 $as_echo "$ac_try_echo"; } >&5
2296 (eval "$ac_link") 2>conftest.err
2297 ac_status=$?
2298 if test -s conftest.err; then
2299 grep -v '^ *+' conftest.err >conftest.er1
2300 cat conftest.er1 >&5
2301 mv -f conftest.er1 conftest.err
2303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2304 test $ac_status = 0; } && {
2305 test -z "$ac_c_werror_flag" ||
2306 test ! -s conftest.err
2307 } && test -s conftest$ac_exeext && {
2308 test "$cross_compiling" = yes ||
2309 test -x conftest$ac_exeext
2310 }; then :
2311 ac_retval=0
2312 else
2313 $as_echo "$as_me: failed program was:" >&5
2314 sed 's/^/| /' conftest.$ac_ext >&5
2316 ac_retval=1
2318 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2319 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2320 # interfere with the next link command; also delete a directory that is
2321 # left behind by Apple's compiler. We do this before executing the actions.
2322 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2323 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2324 as_fn_set_status $ac_retval
2326 } # ac_fn_c_try_link
2328 # ac_fn_c_try_cpp LINENO
2329 # ----------------------
2330 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2331 ac_fn_c_try_cpp ()
2333 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2334 if { { ac_try="$ac_cpp conftest.$ac_ext"
2335 case "(($ac_try" in
2336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2337 *) ac_try_echo=$ac_try;;
2338 esac
2339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2340 $as_echo "$ac_try_echo"; } >&5
2341 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2342 ac_status=$?
2343 if test -s conftest.err; then
2344 grep -v '^ *+' conftest.err >conftest.er1
2345 cat conftest.er1 >&5
2346 mv -f conftest.er1 conftest.err
2348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2349 test $ac_status = 0; } > conftest.i && {
2350 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2351 test ! -s conftest.err
2352 }; then :
2353 ac_retval=0
2354 else
2355 $as_echo "$as_me: failed program was:" >&5
2356 sed 's/^/| /' conftest.$ac_ext >&5
2358 ac_retval=1
2360 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2361 as_fn_set_status $ac_retval
2363 } # ac_fn_c_try_cpp
2365 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2366 # -------------------------------------------------------
2367 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2368 # the include files in INCLUDES and setting the cache variable VAR
2369 # accordingly.
2370 ac_fn_c_check_header_mongrel ()
2372 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2373 if eval \${$3+:} false; then :
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2375 $as_echo_n "checking for $2... " >&6; }
2376 if eval \${$3+:} false; then :
2377 $as_echo_n "(cached) " >&6
2379 eval ac_res=\$$3
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2381 $as_echo "$ac_res" >&6; }
2382 else
2383 # Is the header compilable?
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2385 $as_echo_n "checking $2 usability... " >&6; }
2386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2387 /* end confdefs.h. */
2389 #include <$2>
2390 _ACEOF
2391 if ac_fn_c_try_compile "$LINENO"; then :
2392 ac_header_compiler=yes
2393 else
2394 ac_header_compiler=no
2396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2398 $as_echo "$ac_header_compiler" >&6; }
2400 # Is the header present?
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2402 $as_echo_n "checking $2 presence... " >&6; }
2403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2404 /* end confdefs.h. */
2405 #include <$2>
2406 _ACEOF
2407 if ac_fn_c_try_cpp "$LINENO"; then :
2408 ac_header_preproc=yes
2409 else
2410 ac_header_preproc=no
2412 rm -f conftest.err conftest.i conftest.$ac_ext
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2414 $as_echo "$ac_header_preproc" >&6; }
2416 # So? What about this header?
2417 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2418 yes:no: )
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2420 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2422 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2424 no:yes:* )
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2426 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2428 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2430 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2432 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2434 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2435 ( $as_echo "## ------------------------------------ ##
2436 ## Report this to wine-devel@winehq.org ##
2437 ## ------------------------------------ ##"
2438 ) | sed "s/^/$as_me: WARNING: /" >&2
2440 esac
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2442 $as_echo_n "checking for $2... " >&6; }
2443 if eval \${$3+:} false; then :
2444 $as_echo_n "(cached) " >&6
2445 else
2446 eval "$3=\$ac_header_compiler"
2448 eval ac_res=\$$3
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2450 $as_echo "$ac_res" >&6; }
2452 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2454 } # ac_fn_c_check_header_mongrel
2456 # ac_fn_c_try_run LINENO
2457 # ----------------------
2458 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2459 # that executables *can* be run.
2460 ac_fn_c_try_run ()
2462 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2463 if { { ac_try="$ac_link"
2464 case "(($ac_try" in
2465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2466 *) ac_try_echo=$ac_try;;
2467 esac
2468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2469 $as_echo "$ac_try_echo"; } >&5
2470 (eval "$ac_link") 2>&5
2471 ac_status=$?
2472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2473 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2474 { { case "(($ac_try" in
2475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2476 *) ac_try_echo=$ac_try;;
2477 esac
2478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2479 $as_echo "$ac_try_echo"; } >&5
2480 (eval "$ac_try") 2>&5
2481 ac_status=$?
2482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2483 test $ac_status = 0; }; }; then :
2484 ac_retval=0
2485 else
2486 $as_echo "$as_me: program exited with status $ac_status" >&5
2487 $as_echo "$as_me: failed program was:" >&5
2488 sed 's/^/| /' conftest.$ac_ext >&5
2490 ac_retval=$ac_status
2492 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2493 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2494 as_fn_set_status $ac_retval
2496 } # ac_fn_c_try_run
2498 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2499 # -------------------------------------------------------
2500 # Tests whether HEADER exists and can be compiled using the include files in
2501 # INCLUDES, setting the cache variable VAR accordingly.
2502 ac_fn_c_check_header_compile ()
2504 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2506 $as_echo_n "checking for $2... " >&6; }
2507 if eval \${$3+:} false; then :
2508 $as_echo_n "(cached) " >&6
2509 else
2510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2511 /* end confdefs.h. */
2513 #include <$2>
2514 _ACEOF
2515 if ac_fn_c_try_compile "$LINENO"; then :
2516 eval "$3=yes"
2517 else
2518 eval "$3=no"
2520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2522 eval ac_res=\$$3
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2524 $as_echo "$ac_res" >&6; }
2525 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2527 } # ac_fn_c_check_header_compile
2529 # ac_fn_c_check_func LINENO FUNC VAR
2530 # ----------------------------------
2531 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2532 ac_fn_c_check_func ()
2534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2536 $as_echo_n "checking for $2... " >&6; }
2537 if eval \${$3+:} false; then :
2538 $as_echo_n "(cached) " >&6
2539 else
2540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2541 /* end confdefs.h. */
2542 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2544 #define $2 innocuous_$2
2546 /* System header to define __stub macros and hopefully few prototypes,
2547 which can conflict with char $2 (); below.
2548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2549 <limits.h> exists even on freestanding compilers. */
2551 #ifdef __STDC__
2552 # include <limits.h>
2553 #else
2554 # include <assert.h>
2555 #endif
2557 #undef $2
2559 /* Override any GCC internal prototype to avoid an error.
2560 Use char because int might match the return type of a GCC
2561 builtin and then its argument prototype would still apply. */
2562 #ifdef __cplusplus
2563 extern "C"
2564 #endif
2565 char $2 ();
2566 /* The GNU C library defines this for functions which it implements
2567 to always fail with ENOSYS. Some functions are actually named
2568 something starting with __ and the normal name is an alias. */
2569 #if defined __stub_$2 || defined __stub___$2
2570 choke me
2571 #endif
2574 main ()
2576 return $2 ();
2578 return 0;
2580 _ACEOF
2581 if ac_fn_c_try_link "$LINENO"; then :
2582 eval "$3=yes"
2583 else
2584 eval "$3=no"
2586 rm -f core conftest.err conftest.$ac_objext \
2587 conftest$ac_exeext conftest.$ac_ext
2589 eval ac_res=\$$3
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2591 $as_echo "$ac_res" >&6; }
2592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2594 } # ac_fn_c_check_func
2596 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2597 # ----------------------------------------------------
2598 # Tries to find if the field MEMBER exists in type AGGR, after including
2599 # INCLUDES, setting cache variable VAR accordingly.
2600 ac_fn_c_check_member ()
2602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2604 $as_echo_n "checking for $2.$3... " >&6; }
2605 if eval \${$4+:} false; then :
2606 $as_echo_n "(cached) " >&6
2607 else
2608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h. */
2612 main ()
2614 static $2 ac_aggr;
2615 if (ac_aggr.$3)
2616 return 0;
2618 return 0;
2620 _ACEOF
2621 if ac_fn_c_try_compile "$LINENO"; then :
2622 eval "$4=yes"
2623 else
2624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2625 /* end confdefs.h. */
2628 main ()
2630 static $2 ac_aggr;
2631 if (sizeof ac_aggr.$3)
2632 return 0;
2634 return 0;
2636 _ACEOF
2637 if ac_fn_c_try_compile "$LINENO"; then :
2638 eval "$4=yes"
2639 else
2640 eval "$4=no"
2642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2646 eval ac_res=\$$4
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2648 $as_echo "$ac_res" >&6; }
2649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2651 } # ac_fn_c_check_member
2653 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2654 # -------------------------------------------
2655 # Tests whether TYPE exists after having included INCLUDES, setting cache
2656 # variable VAR accordingly.
2657 ac_fn_c_check_type ()
2659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2661 $as_echo_n "checking for $2... " >&6; }
2662 if eval \${$3+:} false; then :
2663 $as_echo_n "(cached) " >&6
2664 else
2665 eval "$3=no"
2666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2667 /* end confdefs.h. */
2670 main ()
2672 if (sizeof ($2))
2673 return 0;
2675 return 0;
2677 _ACEOF
2678 if ac_fn_c_try_compile "$LINENO"; then :
2679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2680 /* end confdefs.h. */
2683 main ()
2685 if (sizeof (($2)))
2686 return 0;
2688 return 0;
2690 _ACEOF
2691 if ac_fn_c_try_compile "$LINENO"; then :
2693 else
2694 eval "$3=yes"
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2700 eval ac_res=\$$3
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2702 $as_echo "$ac_res" >&6; }
2703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2705 } # ac_fn_c_check_type
2706 cat >config.log <<_ACEOF
2707 This file contains any messages produced by compilers while
2708 running configure, to aid debugging if configure makes a mistake.
2710 It was created by Wine $as_me 1.7.4, which was
2711 generated by GNU Autoconf 2.69. Invocation command line was
2713 $ $0 $@
2715 _ACEOF
2716 exec 5>>config.log
2718 cat <<_ASUNAME
2719 ## --------- ##
2720 ## Platform. ##
2721 ## --------- ##
2723 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2724 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2725 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2726 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2727 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2729 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2730 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2732 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2733 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2734 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2735 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2736 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2737 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2738 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2740 _ASUNAME
2742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743 for as_dir in $PATH
2745 IFS=$as_save_IFS
2746 test -z "$as_dir" && as_dir=.
2747 $as_echo "PATH: $as_dir"
2748 done
2749 IFS=$as_save_IFS
2751 } >&5
2753 cat >&5 <<_ACEOF
2756 ## ----------- ##
2757 ## Core tests. ##
2758 ## ----------- ##
2760 _ACEOF
2763 # Keep a trace of the command line.
2764 # Strip out --no-create and --no-recursion so they do not pile up.
2765 # Strip out --silent because we don't want to record it for future runs.
2766 # Also quote any args containing shell meta-characters.
2767 # Make two passes to allow for proper duplicate-argument suppression.
2768 ac_configure_args=
2769 ac_configure_args0=
2770 ac_configure_args1=
2771 ac_must_keep_next=false
2772 for ac_pass in 1 2
2774 for ac_arg
2776 case $ac_arg in
2777 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2778 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2779 | -silent | --silent | --silen | --sile | --sil)
2780 continue ;;
2781 *\'*)
2782 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2783 esac
2784 case $ac_pass in
2785 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2787 as_fn_append ac_configure_args1 " '$ac_arg'"
2788 if test $ac_must_keep_next = true; then
2789 ac_must_keep_next=false # Got value, back to normal.
2790 else
2791 case $ac_arg in
2792 *=* | --config-cache | -C | -disable-* | --disable-* \
2793 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2794 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2795 | -with-* | --with-* | -without-* | --without-* | --x)
2796 case "$ac_configure_args0 " in
2797 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2798 esac
2800 -* ) ac_must_keep_next=true ;;
2801 esac
2803 as_fn_append ac_configure_args " '$ac_arg'"
2805 esac
2806 done
2807 done
2808 { ac_configure_args0=; unset ac_configure_args0;}
2809 { ac_configure_args1=; unset ac_configure_args1;}
2811 # When interrupted or exit'd, cleanup temporary files, and complete
2812 # config.log. We remove comments because anyway the quotes in there
2813 # would cause problems or look ugly.
2814 # WARNING: Use '\'' to represent an apostrophe within the trap.
2815 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2816 trap 'exit_status=$?
2817 # Save into config.log some information that might help in debugging.
2819 echo
2821 $as_echo "## ---------------- ##
2822 ## Cache variables. ##
2823 ## ---------------- ##"
2824 echo
2825 # The following way of writing the cache mishandles newlines in values,
2827 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2828 eval ac_val=\$$ac_var
2829 case $ac_val in #(
2830 *${as_nl}*)
2831 case $ac_var in #(
2832 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2833 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2834 esac
2835 case $ac_var in #(
2836 _ | IFS | as_nl) ;; #(
2837 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2838 *) { eval $ac_var=; unset $ac_var;} ;;
2839 esac ;;
2840 esac
2841 done
2842 (set) 2>&1 |
2843 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2844 *${as_nl}ac_space=\ *)
2845 sed -n \
2846 "s/'\''/'\''\\\\'\'''\''/g;
2847 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2848 ;; #(
2850 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2852 esac |
2853 sort
2855 echo
2857 $as_echo "## ----------------- ##
2858 ## Output variables. ##
2859 ## ----------------- ##"
2860 echo
2861 for ac_var in $ac_subst_vars
2863 eval ac_val=\$$ac_var
2864 case $ac_val in
2865 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2866 esac
2867 $as_echo "$ac_var='\''$ac_val'\''"
2868 done | sort
2869 echo
2871 if test -n "$ac_subst_files"; then
2872 $as_echo "## ------------------- ##
2873 ## File substitutions. ##
2874 ## ------------------- ##"
2875 echo
2876 for ac_var in $ac_subst_files
2878 eval ac_val=\$$ac_var
2879 case $ac_val in
2880 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2881 esac
2882 $as_echo "$ac_var='\''$ac_val'\''"
2883 done | sort
2884 echo
2887 if test -s confdefs.h; then
2888 $as_echo "## ----------- ##
2889 ## confdefs.h. ##
2890 ## ----------- ##"
2891 echo
2892 cat confdefs.h
2893 echo
2895 test "$ac_signal" != 0 &&
2896 $as_echo "$as_me: caught signal $ac_signal"
2897 $as_echo "$as_me: exit $exit_status"
2898 } >&5
2899 rm -f core *.core core.conftest.* &&
2900 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2901 exit $exit_status
2903 for ac_signal in 1 2 13 15; do
2904 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2905 done
2906 ac_signal=0
2908 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2909 rm -f -r conftest* confdefs.h
2911 $as_echo "/* confdefs.h */" > confdefs.h
2913 # Predefined preprocessor variables.
2915 cat >>confdefs.h <<_ACEOF
2916 #define PACKAGE_NAME "$PACKAGE_NAME"
2917 _ACEOF
2919 cat >>confdefs.h <<_ACEOF
2920 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2921 _ACEOF
2923 cat >>confdefs.h <<_ACEOF
2924 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2925 _ACEOF
2927 cat >>confdefs.h <<_ACEOF
2928 #define PACKAGE_STRING "$PACKAGE_STRING"
2929 _ACEOF
2931 cat >>confdefs.h <<_ACEOF
2932 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2933 _ACEOF
2935 cat >>confdefs.h <<_ACEOF
2936 #define PACKAGE_URL "$PACKAGE_URL"
2937 _ACEOF
2940 # Let the site file select an alternate cache file if it wants to.
2941 # Prefer an explicitly selected file to automatically selected ones.
2942 ac_site_file1=NONE
2943 ac_site_file2=NONE
2944 if test -n "$CONFIG_SITE"; then
2945 # We do not want a PATH search for config.site.
2946 case $CONFIG_SITE in #((
2947 -*) ac_site_file1=./$CONFIG_SITE;;
2948 */*) ac_site_file1=$CONFIG_SITE;;
2949 *) ac_site_file1=./$CONFIG_SITE;;
2950 esac
2951 elif test "x$prefix" != xNONE; then
2952 ac_site_file1=$prefix/share/config.site
2953 ac_site_file2=$prefix/etc/config.site
2954 else
2955 ac_site_file1=$ac_default_prefix/share/config.site
2956 ac_site_file2=$ac_default_prefix/etc/config.site
2958 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2960 test "x$ac_site_file" = xNONE && continue
2961 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2963 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2964 sed 's/^/| /' "$ac_site_file" >&5
2965 . "$ac_site_file" \
2966 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2968 as_fn_error $? "failed to load site script $ac_site_file
2969 See \`config.log' for more details" "$LINENO" 5; }
2971 done
2973 if test -r "$cache_file"; then
2974 # Some versions of bash will fail to source /dev/null (special files
2975 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2976 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2978 $as_echo "$as_me: loading cache $cache_file" >&6;}
2979 case $cache_file in
2980 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2981 *) . "./$cache_file";;
2982 esac
2984 else
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2986 $as_echo "$as_me: creating cache $cache_file" >&6;}
2987 >$cache_file
2990 # Check that the precious variables saved in the cache have kept the same
2991 # value.
2992 ac_cache_corrupted=false
2993 for ac_var in $ac_precious_vars; do
2994 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2995 eval ac_new_set=\$ac_env_${ac_var}_set
2996 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2997 eval ac_new_val=\$ac_env_${ac_var}_value
2998 case $ac_old_set,$ac_new_set in
2999 set,)
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3001 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3002 ac_cache_corrupted=: ;;
3003 ,set)
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3005 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3006 ac_cache_corrupted=: ;;
3007 ,);;
3009 if test "x$ac_old_val" != "x$ac_new_val"; then
3010 # differences in whitespace do not lead to failure.
3011 ac_old_val_w=`echo x $ac_old_val`
3012 ac_new_val_w=`echo x $ac_new_val`
3013 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3015 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3016 ac_cache_corrupted=:
3017 else
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3019 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3020 eval $ac_var=\$ac_old_val
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3023 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3025 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3026 fi;;
3027 esac
3028 # Pass precious variables to config.status.
3029 if test "$ac_new_set" = set; then
3030 case $ac_new_val in
3031 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3032 *) ac_arg=$ac_var=$ac_new_val ;;
3033 esac
3034 case " $ac_configure_args " in
3035 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3036 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3037 esac
3039 done
3040 if $ac_cache_corrupted; then
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3044 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3045 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3047 ## -------------------- ##
3048 ## Main body of script. ##
3049 ## -------------------- ##
3051 ac_ext=c
3052 ac_cpp='$CPP $CPPFLAGS'
3053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3059 ac_config_headers="$ac_config_headers include/config.h"
3061 ac_aux_dir=
3062 for ac_dir in tools "$srcdir"/tools; do
3063 if test -f "$ac_dir/install-sh"; then
3064 ac_aux_dir=$ac_dir
3065 ac_install_sh="$ac_aux_dir/install-sh -c"
3066 break
3067 elif test -f "$ac_dir/install.sh"; then
3068 ac_aux_dir=$ac_dir
3069 ac_install_sh="$ac_aux_dir/install.sh -c"
3070 break
3071 elif test -f "$ac_dir/shtool"; then
3072 ac_aux_dir=$ac_dir
3073 ac_install_sh="$ac_aux_dir/shtool install -c"
3074 break
3076 done
3077 if test -z "$ac_aux_dir"; then
3078 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3081 # These three variables are undocumented and unsupported,
3082 # and are intended to be withdrawn in a future Autoconf release.
3083 # They can cause serious problems if a builder's source tree is in a directory
3084 # whose full name contains unusual characters.
3085 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3086 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3087 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3093 # Check whether --enable-win16 was given.
3094 if test "${enable_win16+set}" = set; then :
3095 enableval=$enable_win16;
3098 # Check whether --enable-win64 was given.
3099 if test "${enable_win64+set}" = set; then :
3100 enableval=$enable_win64;
3103 # Check whether --enable-tests was given.
3104 if test "${enable_tests+set}" = set; then :
3105 enableval=$enable_tests;
3108 # Check whether --enable-maintainer-mode was given.
3109 if test "${enable_maintainer_mode+set}" = set; then :
3110 enableval=$enable_maintainer_mode;
3115 # Check whether --with-alsa was given.
3116 if test "${with_alsa+set}" = set; then :
3117 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3121 # Check whether --with-capi was given.
3122 if test "${with_capi+set}" = set; then :
3123 withval=$with_capi;
3127 # Check whether --with-cms was given.
3128 if test "${with_cms+set}" = set; then :
3129 withval=$with_cms;
3133 # Check whether --with-coreaudio was given.
3134 if test "${with_coreaudio+set}" = set; then :
3135 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3139 # Check whether --with-cups was given.
3140 if test "${with_cups+set}" = set; then :
3141 withval=$with_cups;
3145 # Check whether --with-curses was given.
3146 if test "${with_curses+set}" = set; then :
3147 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3151 # Check whether --with-dbus was given.
3152 if test "${with_dbus+set}" = set; then :
3153 withval=$with_dbus;
3157 # Check whether --with-fontconfig was given.
3158 if test "${with_fontconfig+set}" = set; then :
3159 withval=$with_fontconfig;
3163 # Check whether --with-freetype was given.
3164 if test "${with_freetype+set}" = set; then :
3165 withval=$with_freetype;
3169 # Check whether --with-gettext was given.
3170 if test "${with_gettext+set}" = set; then :
3171 withval=$with_gettext;
3175 # Check whether --with-gettextpo was given.
3176 if test "${with_gettextpo+set}" = set; then :
3177 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3181 # Check whether --with-gphoto was given.
3182 if test "${with_gphoto+set}" = set; then :
3183 withval=$with_gphoto;
3187 # Check whether --with-glu was given.
3188 if test "${with_glu+set}" = set; then :
3189 withval=$with_glu;
3193 # Check whether --with-gnutls was given.
3194 if test "${with_gnutls+set}" = set; then :
3195 withval=$with_gnutls;
3199 # Check whether --with-gsm was given.
3200 if test "${with_gsm+set}" = set; then :
3201 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3205 # Check whether --with-gstreamer was given.
3206 if test "${with_gstreamer+set}" = set; then :
3207 withval=$with_gstreamer;
3211 # Check whether --with-hal was given.
3212 if test "${with_hal+set}" = set; then :
3213 withval=$with_hal;
3217 # Check whether --with-jpeg was given.
3218 if test "${with_jpeg+set}" = set; then :
3219 withval=$with_jpeg;
3223 # Check whether --with-ldap was given.
3224 if test "${with_ldap+set}" = set; then :
3225 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3229 # Check whether --with-mpg123 was given.
3230 if test "${with_mpg123+set}" = set; then :
3231 withval=$with_mpg123;
3235 # Check whether --with-openal was given.
3236 if test "${with_openal+set}" = set; then :
3237 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3241 # Check whether --with-opencl was given.
3242 if test "${with_opencl+set}" = set; then :
3243 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3247 # Check whether --with-opengl was given.
3248 if test "${with_opengl+set}" = set; then :
3249 withval=$with_opengl;
3253 # Check whether --with-osmesa was given.
3254 if test "${with_osmesa+set}" = set; then :
3255 withval=$with_osmesa;
3259 # Check whether --with-oss was given.
3260 if test "${with_oss+set}" = set; then :
3261 withval=$with_oss;
3265 # Check whether --with-png was given.
3266 if test "${with_png+set}" = set; then :
3267 withval=$with_png;
3271 # Check whether --with-pthread was given.
3272 if test "${with_pthread+set}" = set; then :
3273 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3277 # Check whether --with-sane was given.
3278 if test "${with_sane+set}" = set; then :
3279 withval=$with_sane;
3283 # Check whether --with-tiff was given.
3284 if test "${with_tiff+set}" = set; then :
3285 withval=$with_tiff;
3289 # Check whether --with-v4l was given.
3290 if test "${with_v4l+set}" = set; then :
3291 withval=$with_v4l;
3295 # Check whether --with-xcomposite was given.
3296 if test "${with_xcomposite+set}" = set; then :
3297 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3301 # Check whether --with-xcursor was given.
3302 if test "${with_xcursor+set}" = set; then :
3303 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3307 # Check whether --with-xinerama was given.
3308 if test "${with_xinerama+set}" = set; then :
3309 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3313 # Check whether --with-xinput was given.
3314 if test "${with_xinput+set}" = set; then :
3315 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3319 # Check whether --with-xinput2 was given.
3320 if test "${with_xinput2+set}" = set; then :
3321 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3325 # Check whether --with-xml was given.
3326 if test "${with_xml+set}" = set; then :
3327 withval=$with_xml;
3331 # Check whether --with-xrandr was given.
3332 if test "${with_xrandr+set}" = set; then :
3333 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3337 # Check whether --with-xrender was given.
3338 if test "${with_xrender+set}" = set; then :
3339 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3343 # Check whether --with-xshape was given.
3344 if test "${with_xshape+set}" = set; then :
3345 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3349 # Check whether --with-xshm was given.
3350 if test "${with_xshm+set}" = set; then :
3351 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3355 # Check whether --with-xslt was given.
3356 if test "${with_xslt+set}" = set; then :
3357 withval=$with_xslt;
3361 # Check whether --with-xxf86vm was given.
3362 if test "${with_xxf86vm+set}" = set; then :
3363 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
3367 # Check whether --with-zlib was given.
3368 if test "${with_zlib+set}" = set; then :
3369 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3374 # Check whether --with-wine-tools was given.
3375 if test "${with_wine_tools+set}" = set; then :
3376 withval=$with_wine_tools;
3380 # Check whether --with-wine64 was given.
3381 if test "${with_wine64+set}" = set; then :
3382 withval=$with_wine64;
3386 # Make sure we can run config.sub.
3387 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3388 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3391 $as_echo_n "checking build system type... " >&6; }
3392 if ${ac_cv_build+:} false; then :
3393 $as_echo_n "(cached) " >&6
3394 else
3395 ac_build_alias=$build_alias
3396 test "x$ac_build_alias" = x &&
3397 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3398 test "x$ac_build_alias" = x &&
3399 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3400 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3401 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3405 $as_echo "$ac_cv_build" >&6; }
3406 case $ac_cv_build in
3407 *-*-*) ;;
3408 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3409 esac
3410 build=$ac_cv_build
3411 ac_save_IFS=$IFS; IFS='-'
3412 set x $ac_cv_build
3413 shift
3414 build_cpu=$1
3415 build_vendor=$2
3416 shift; shift
3417 # Remember, the first character of IFS is used to create $*,
3418 # except with old shells:
3419 build_os=$*
3420 IFS=$ac_save_IFS
3421 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3425 $as_echo_n "checking host system type... " >&6; }
3426 if ${ac_cv_host+:} false; then :
3427 $as_echo_n "(cached) " >&6
3428 else
3429 if test "x$host_alias" = x; then
3430 ac_cv_host=$ac_cv_build
3431 else
3432 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3433 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3438 $as_echo "$ac_cv_host" >&6; }
3439 case $ac_cv_host in
3440 *-*-*) ;;
3441 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3442 esac
3443 host=$ac_cv_host
3444 ac_save_IFS=$IFS; IFS='-'
3445 set x $ac_cv_host
3446 shift
3447 host_cpu=$1
3448 host_vendor=$2
3449 shift; shift
3450 # Remember, the first character of IFS is used to create $*,
3451 # except with old shells:
3452 host_os=$*
3453 IFS=$ac_save_IFS
3454 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3458 case "$srcdir" in
3459 .) ;;
3460 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3461 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3462 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3463 fi ;;
3464 esac
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3468 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3469 set x ${MAKE-make}
3470 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3471 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3472 $as_echo_n "(cached) " >&6
3473 else
3474 cat >conftest.make <<\_ACEOF
3475 SHELL = /bin/sh
3476 all:
3477 @echo '@@@%%%=$(MAKE)=@@@%%%'
3478 _ACEOF
3479 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3480 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3481 *@@@%%%=?*=@@@%%%*)
3482 eval ac_cv_prog_make_${ac_make}_set=yes;;
3484 eval ac_cv_prog_make_${ac_make}_set=no;;
3485 esac
3486 rm -f conftest.make
3488 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3490 $as_echo "yes" >&6; }
3491 SET_MAKE=
3492 else
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 $as_echo "no" >&6; }
3495 SET_MAKE="MAKE=${MAKE-make}"
3498 ac_ext=c
3499 ac_cpp='$CPP $CPPFLAGS'
3500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3503 if test -n "$ac_tool_prefix"; then
3504 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3505 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3507 $as_echo_n "checking for $ac_word... " >&6; }
3508 if ${ac_cv_prog_CC+:} false; then :
3509 $as_echo_n "(cached) " >&6
3510 else
3511 if test -n "$CC"; then
3512 ac_cv_prog_CC="$CC" # Let the user override the test.
3513 else
3514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3515 for as_dir in $PATH
3517 IFS=$as_save_IFS
3518 test -z "$as_dir" && as_dir=.
3519 for ac_exec_ext in '' $ac_executable_extensions; do
3520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3521 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3523 break 2
3525 done
3526 done
3527 IFS=$as_save_IFS
3531 CC=$ac_cv_prog_CC
3532 if test -n "$CC"; then
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3534 $as_echo "$CC" >&6; }
3535 else
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3537 $as_echo "no" >&6; }
3542 if test -z "$ac_cv_prog_CC"; then
3543 ac_ct_CC=$CC
3544 # Extract the first word of "gcc", so it can be a program name with args.
3545 set dummy gcc; ac_word=$2
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3547 $as_echo_n "checking for $ac_word... " >&6; }
3548 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3549 $as_echo_n "(cached) " >&6
3550 else
3551 if test -n "$ac_ct_CC"; then
3552 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3553 else
3554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3555 for as_dir in $PATH
3557 IFS=$as_save_IFS
3558 test -z "$as_dir" && as_dir=.
3559 for ac_exec_ext in '' $ac_executable_extensions; do
3560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3561 ac_cv_prog_ac_ct_CC="gcc"
3562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3563 break 2
3565 done
3566 done
3567 IFS=$as_save_IFS
3571 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3572 if test -n "$ac_ct_CC"; then
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3574 $as_echo "$ac_ct_CC" >&6; }
3575 else
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3577 $as_echo "no" >&6; }
3580 if test "x$ac_ct_CC" = x; then
3581 CC=""
3582 else
3583 case $cross_compiling:$ac_tool_warned in
3584 yes:)
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3587 ac_tool_warned=yes ;;
3588 esac
3589 CC=$ac_ct_CC
3591 else
3592 CC="$ac_cv_prog_CC"
3595 if test -z "$CC"; then
3596 if test -n "$ac_tool_prefix"; then
3597 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3598 set dummy ${ac_tool_prefix}cc; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if ${ac_cv_prog_CC+:} false; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 if test -n "$CC"; then
3605 ac_cv_prog_CC="$CC" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3614 ac_cv_prog_CC="${ac_tool_prefix}cc"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3618 done
3619 done
3620 IFS=$as_save_IFS
3624 CC=$ac_cv_prog_CC
3625 if test -n "$CC"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3627 $as_echo "$CC" >&6; }
3628 else
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3636 if test -z "$CC"; then
3637 # Extract the first word of "cc", so it can be a program name with args.
3638 set dummy cc; ac_word=$2
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3640 $as_echo_n "checking for $ac_word... " >&6; }
3641 if ${ac_cv_prog_CC+:} false; then :
3642 $as_echo_n "(cached) " >&6
3643 else
3644 if test -n "$CC"; then
3645 ac_cv_prog_CC="$CC" # Let the user override the test.
3646 else
3647 ac_prog_rejected=no
3648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649 for as_dir in $PATH
3651 IFS=$as_save_IFS
3652 test -z "$as_dir" && as_dir=.
3653 for ac_exec_ext in '' $ac_executable_extensions; do
3654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3655 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3656 ac_prog_rejected=yes
3657 continue
3659 ac_cv_prog_CC="cc"
3660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3661 break 2
3663 done
3664 done
3665 IFS=$as_save_IFS
3667 if test $ac_prog_rejected = yes; then
3668 # We found a bogon in the path, so make sure we never use it.
3669 set dummy $ac_cv_prog_CC
3670 shift
3671 if test $# != 0; then
3672 # We chose a different compiler from the bogus one.
3673 # However, it has the same basename, so the bogon will be chosen
3674 # first if we set CC to just the basename; use the full file name.
3675 shift
3676 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3681 CC=$ac_cv_prog_CC
3682 if test -n "$CC"; then
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3684 $as_echo "$CC" >&6; }
3685 else
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3687 $as_echo "no" >&6; }
3692 if test -z "$CC"; then
3693 if test -n "$ac_tool_prefix"; then
3694 for ac_prog in cl.exe
3696 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3697 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3699 $as_echo_n "checking for $ac_word... " >&6; }
3700 if ${ac_cv_prog_CC+:} false; then :
3701 $as_echo_n "(cached) " >&6
3702 else
3703 if test -n "$CC"; then
3704 ac_cv_prog_CC="$CC" # Let the user override the test.
3705 else
3706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3707 for as_dir in $PATH
3709 IFS=$as_save_IFS
3710 test -z "$as_dir" && as_dir=.
3711 for ac_exec_ext in '' $ac_executable_extensions; do
3712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3713 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 break 2
3717 done
3718 done
3719 IFS=$as_save_IFS
3723 CC=$ac_cv_prog_CC
3724 if test -n "$CC"; then
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3726 $as_echo "$CC" >&6; }
3727 else
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3729 $as_echo "no" >&6; }
3733 test -n "$CC" && break
3734 done
3736 if test -z "$CC"; then
3737 ac_ct_CC=$CC
3738 for ac_prog in cl.exe
3740 # Extract the first word of "$ac_prog", so it can be a program name with args.
3741 set dummy $ac_prog; ac_word=$2
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3743 $as_echo_n "checking for $ac_word... " >&6; }
3744 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3745 $as_echo_n "(cached) " >&6
3746 else
3747 if test -n "$ac_ct_CC"; then
3748 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3749 else
3750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3751 for as_dir in $PATH
3753 IFS=$as_save_IFS
3754 test -z "$as_dir" && as_dir=.
3755 for ac_exec_ext in '' $ac_executable_extensions; do
3756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3757 ac_cv_prog_ac_ct_CC="$ac_prog"
3758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3759 break 2
3761 done
3762 done
3763 IFS=$as_save_IFS
3767 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3768 if test -n "$ac_ct_CC"; then
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3770 $as_echo "$ac_ct_CC" >&6; }
3771 else
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3773 $as_echo "no" >&6; }
3777 test -n "$ac_ct_CC" && break
3778 done
3780 if test "x$ac_ct_CC" = x; then
3781 CC=""
3782 else
3783 case $cross_compiling:$ac_tool_warned in
3784 yes:)
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3787 ac_tool_warned=yes ;;
3788 esac
3789 CC=$ac_ct_CC
3796 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3798 as_fn_error $? "no acceptable C compiler found in \$PATH
3799 See \`config.log' for more details" "$LINENO" 5; }
3801 # Provide some information about the compiler.
3802 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3803 set X $ac_compile
3804 ac_compiler=$2
3805 for ac_option in --version -v -V -qversion; do
3806 { { ac_try="$ac_compiler $ac_option >&5"
3807 case "(($ac_try" in
3808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3809 *) ac_try_echo=$ac_try;;
3810 esac
3811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3812 $as_echo "$ac_try_echo"; } >&5
3813 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3814 ac_status=$?
3815 if test -s conftest.err; then
3816 sed '10a\
3817 ... rest of stderr output deleted ...
3818 10q' conftest.err >conftest.er1
3819 cat conftest.er1 >&5
3821 rm -f conftest.er1 conftest.err
3822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3823 test $ac_status = 0; }
3824 done
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3830 main ()
3834 return 0;
3836 _ACEOF
3837 ac_clean_files_save=$ac_clean_files
3838 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3839 # Try to create an executable without -o first, disregard a.out.
3840 # It will help us diagnose broken compilers, and finding out an intuition
3841 # of exeext.
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3843 $as_echo_n "checking whether the C compiler works... " >&6; }
3844 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3846 # The possible output files:
3847 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3849 ac_rmfiles=
3850 for ac_file in $ac_files
3852 case $ac_file in
3853 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3854 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3855 esac
3856 done
3857 rm -f $ac_rmfiles
3859 if { { ac_try="$ac_link_default"
3860 case "(($ac_try" in
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3863 esac
3864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 $as_echo "$ac_try_echo"; } >&5
3866 (eval "$ac_link_default") 2>&5
3867 ac_status=$?
3868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3869 test $ac_status = 0; }; then :
3870 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3871 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3872 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3873 # so that the user can short-circuit this test for compilers unknown to
3874 # Autoconf.
3875 for ac_file in $ac_files ''
3877 test -f "$ac_file" || continue
3878 case $ac_file in
3879 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3881 [ab].out )
3882 # We found the default executable, but exeext='' is most
3883 # certainly right.
3884 break;;
3885 *.* )
3886 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3887 then :; else
3888 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3890 # We set ac_cv_exeext here because the later test for it is not
3891 # safe: cross compilers may not add the suffix if given an `-o'
3892 # argument, so we may need to know it at that point already.
3893 # Even if this section looks crufty: it has the advantage of
3894 # actually working.
3895 break;;
3897 break;;
3898 esac
3899 done
3900 test "$ac_cv_exeext" = no && ac_cv_exeext=
3902 else
3903 ac_file=''
3905 if test -z "$ac_file"; then :
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3907 $as_echo "no" >&6; }
3908 $as_echo "$as_me: failed program was:" >&5
3909 sed 's/^/| /' conftest.$ac_ext >&5
3911 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3913 as_fn_error 77 "C compiler cannot create executables
3914 See \`config.log' for more details" "$LINENO" 5; }
3915 else
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3917 $as_echo "yes" >&6; }
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3920 $as_echo_n "checking for C compiler default output file name... " >&6; }
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3922 $as_echo "$ac_file" >&6; }
3923 ac_exeext=$ac_cv_exeext
3925 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3926 ac_clean_files=$ac_clean_files_save
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3928 $as_echo_n "checking for suffix of executables... " >&6; }
3929 if { { ac_try="$ac_link"
3930 case "(($ac_try" in
3931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3932 *) ac_try_echo=$ac_try;;
3933 esac
3934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3935 $as_echo "$ac_try_echo"; } >&5
3936 (eval "$ac_link") 2>&5
3937 ac_status=$?
3938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3939 test $ac_status = 0; }; then :
3940 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3941 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3942 # work properly (i.e., refer to `conftest.exe'), while it won't with
3943 # `rm'.
3944 for ac_file in conftest.exe conftest conftest.*; do
3945 test -f "$ac_file" || continue
3946 case $ac_file in
3947 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3948 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3949 break;;
3950 * ) break;;
3951 esac
3952 done
3953 else
3954 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3956 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3957 See \`config.log' for more details" "$LINENO" 5; }
3959 rm -f conftest conftest$ac_cv_exeext
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3961 $as_echo "$ac_cv_exeext" >&6; }
3963 rm -f conftest.$ac_ext
3964 EXEEXT=$ac_cv_exeext
3965 ac_exeext=$EXEEXT
3966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3968 #include <stdio.h>
3970 main ()
3972 FILE *f = fopen ("conftest.out", "w");
3973 return ferror (f) || fclose (f) != 0;
3976 return 0;
3978 _ACEOF
3979 ac_clean_files="$ac_clean_files conftest.out"
3980 # Check that the compiler produces executables we can run. If not, either
3981 # the compiler is broken, or we cross compile.
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3983 $as_echo_n "checking whether we are cross compiling... " >&6; }
3984 if test "$cross_compiling" != yes; then
3985 { { 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; }
3996 if { ac_try='./conftest$ac_cv_exeext'
3997 { { case "(($ac_try" in
3998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3999 *) ac_try_echo=$ac_try;;
4000 esac
4001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4002 $as_echo "$ac_try_echo"; } >&5
4003 (eval "$ac_try") 2>&5
4004 ac_status=$?
4005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4006 test $ac_status = 0; }; }; then
4007 cross_compiling=no
4008 else
4009 if test "$cross_compiling" = maybe; then
4010 cross_compiling=yes
4011 else
4012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4014 as_fn_error $? "cannot run C compiled programs.
4015 If you meant to cross compile, use \`--host'.
4016 See \`config.log' for more details" "$LINENO" 5; }
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4021 $as_echo "$cross_compiling" >&6; }
4023 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4024 ac_clean_files=$ac_clean_files_save
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4026 $as_echo_n "checking for suffix of object files... " >&6; }
4027 if ${ac_cv_objext+:} false; then :
4028 $as_echo_n "(cached) " >&6
4029 else
4030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4031 /* end confdefs.h. */
4034 main ()
4038 return 0;
4040 _ACEOF
4041 rm -f conftest.o conftest.obj
4042 if { { ac_try="$ac_compile"
4043 case "(($ac_try" in
4044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4045 *) ac_try_echo=$ac_try;;
4046 esac
4047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4048 $as_echo "$ac_try_echo"; } >&5
4049 (eval "$ac_compile") 2>&5
4050 ac_status=$?
4051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4052 test $ac_status = 0; }; then :
4053 for ac_file in conftest.o conftest.obj conftest.*; do
4054 test -f "$ac_file" || continue;
4055 case $ac_file in
4056 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4057 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4058 break;;
4059 esac
4060 done
4061 else
4062 $as_echo "$as_me: failed program was:" >&5
4063 sed 's/^/| /' conftest.$ac_ext >&5
4065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4067 as_fn_error $? "cannot compute suffix of object files: cannot compile
4068 See \`config.log' for more details" "$LINENO" 5; }
4070 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4073 $as_echo "$ac_cv_objext" >&6; }
4074 OBJEXT=$ac_cv_objext
4075 ac_objext=$OBJEXT
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4077 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4078 if ${ac_cv_c_compiler_gnu+:} false; then :
4079 $as_echo_n "(cached) " >&6
4080 else
4081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082 /* end confdefs.h. */
4085 main ()
4087 #ifndef __GNUC__
4088 choke me
4089 #endif
4092 return 0;
4094 _ACEOF
4095 if ac_fn_c_try_compile "$LINENO"; then :
4096 ac_compiler_gnu=yes
4097 else
4098 ac_compiler_gnu=no
4100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4101 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4105 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4106 if test $ac_compiler_gnu = yes; then
4107 GCC=yes
4108 else
4109 GCC=
4111 ac_test_CFLAGS=${CFLAGS+set}
4112 ac_save_CFLAGS=$CFLAGS
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4114 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4115 if ${ac_cv_prog_cc_g+:} false; then :
4116 $as_echo_n "(cached) " >&6
4117 else
4118 ac_save_c_werror_flag=$ac_c_werror_flag
4119 ac_c_werror_flag=yes
4120 ac_cv_prog_cc_g=no
4121 CFLAGS="-g"
4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4126 main ()
4130 return 0;
4132 _ACEOF
4133 if ac_fn_c_try_compile "$LINENO"; then :
4134 ac_cv_prog_cc_g=yes
4135 else
4136 CFLAGS=""
4137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4141 main ()
4145 return 0;
4147 _ACEOF
4148 if ac_fn_c_try_compile "$LINENO"; then :
4150 else
4151 ac_c_werror_flag=$ac_save_c_werror_flag
4152 CFLAGS="-g"
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4157 main ()
4161 return 0;
4163 _ACEOF
4164 if ac_fn_c_try_compile "$LINENO"; then :
4165 ac_cv_prog_cc_g=yes
4167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4172 ac_c_werror_flag=$ac_save_c_werror_flag
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4175 $as_echo "$ac_cv_prog_cc_g" >&6; }
4176 if test "$ac_test_CFLAGS" = set; then
4177 CFLAGS=$ac_save_CFLAGS
4178 elif test $ac_cv_prog_cc_g = yes; then
4179 if test "$GCC" = yes; then
4180 CFLAGS="-g -O2"
4181 else
4182 CFLAGS="-g"
4184 else
4185 if test "$GCC" = yes; then
4186 CFLAGS="-O2"
4187 else
4188 CFLAGS=
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4192 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4193 if ${ac_cv_prog_cc_c89+:} false; then :
4194 $as_echo_n "(cached) " >&6
4195 else
4196 ac_cv_prog_cc_c89=no
4197 ac_save_CC=$CC
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4200 #include <stdarg.h>
4201 #include <stdio.h>
4202 struct stat;
4203 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4204 struct buf { int x; };
4205 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4206 static char *e (p, i)
4207 char **p;
4208 int i;
4210 return p[i];
4212 static char *f (char * (*g) (char **, int), char **p, ...)
4214 char *s;
4215 va_list v;
4216 va_start (v,p);
4217 s = g (p, va_arg (v,int));
4218 va_end (v);
4219 return s;
4222 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4223 function prototypes and stuff, but not '\xHH' hex character constants.
4224 These don't provoke an error unfortunately, instead are silently treated
4225 as 'x'. The following induces an error, until -std is added to get
4226 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4227 array size at least. It's necessary to write '\x00'==0 to get something
4228 that's true only with -std. */
4229 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4231 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4232 inside strings and character constants. */
4233 #define FOO(x) 'x'
4234 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4236 int test (int i, double x);
4237 struct s1 {int (*f) (int a);};
4238 struct s2 {int (*f) (double a);};
4239 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4240 int argc;
4241 char **argv;
4243 main ()
4245 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4247 return 0;
4249 _ACEOF
4250 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4251 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4253 CC="$ac_save_CC $ac_arg"
4254 if ac_fn_c_try_compile "$LINENO"; then :
4255 ac_cv_prog_cc_c89=$ac_arg
4257 rm -f core conftest.err conftest.$ac_objext
4258 test "x$ac_cv_prog_cc_c89" != "xno" && break
4259 done
4260 rm -f conftest.$ac_ext
4261 CC=$ac_save_CC
4264 # AC_CACHE_VAL
4265 case "x$ac_cv_prog_cc_c89" in
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4268 $as_echo "none needed" >&6; } ;;
4269 xno)
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4271 $as_echo "unsupported" >&6; } ;;
4273 CC="$CC $ac_cv_prog_cc_c89"
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4275 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4276 esac
4277 if test "x$ac_cv_prog_cc_c89" != xno; then :
4281 ac_ext=c
4282 ac_cpp='$CPP $CPPFLAGS'
4283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4287 ac_ext=cpp
4288 ac_cpp='$CXXCPP $CPPFLAGS'
4289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4292 if test -z "$CXX"; then
4293 if test -n "$CCC"; then
4294 CXX=$CCC
4295 else
4296 if test -n "$ac_tool_prefix"; then
4297 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4299 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4300 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4302 $as_echo_n "checking for $ac_word... " >&6; }
4303 if ${ac_cv_prog_CXX+:} false; then :
4304 $as_echo_n "(cached) " >&6
4305 else
4306 if test -n "$CXX"; then
4307 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4308 else
4309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4310 for as_dir in $PATH
4312 IFS=$as_save_IFS
4313 test -z "$as_dir" && as_dir=.
4314 for ac_exec_ext in '' $ac_executable_extensions; do
4315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4316 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4318 break 2
4320 done
4321 done
4322 IFS=$as_save_IFS
4326 CXX=$ac_cv_prog_CXX
4327 if test -n "$CXX"; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4329 $as_echo "$CXX" >&6; }
4330 else
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4332 $as_echo "no" >&6; }
4336 test -n "$CXX" && break
4337 done
4339 if test -z "$CXX"; then
4340 ac_ct_CXX=$CXX
4341 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4343 # Extract the first word of "$ac_prog", so it can be a program name with args.
4344 set dummy $ac_prog; ac_word=$2
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4346 $as_echo_n "checking for $ac_word... " >&6; }
4347 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4348 $as_echo_n "(cached) " >&6
4349 else
4350 if test -n "$ac_ct_CXX"; then
4351 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4352 else
4353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4354 for as_dir in $PATH
4356 IFS=$as_save_IFS
4357 test -z "$as_dir" && as_dir=.
4358 for ac_exec_ext in '' $ac_executable_extensions; do
4359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4360 ac_cv_prog_ac_ct_CXX="$ac_prog"
4361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4362 break 2
4364 done
4365 done
4366 IFS=$as_save_IFS
4370 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4371 if test -n "$ac_ct_CXX"; then
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4373 $as_echo "$ac_ct_CXX" >&6; }
4374 else
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4376 $as_echo "no" >&6; }
4380 test -n "$ac_ct_CXX" && break
4381 done
4383 if test "x$ac_ct_CXX" = x; then
4384 CXX="g++"
4385 else
4386 case $cross_compiling:$ac_tool_warned in
4387 yes:)
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4390 ac_tool_warned=yes ;;
4391 esac
4392 CXX=$ac_ct_CXX
4398 # Provide some information about the compiler.
4399 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4400 set X $ac_compile
4401 ac_compiler=$2
4402 for ac_option in --version -v -V -qversion; do
4403 { { ac_try="$ac_compiler $ac_option >&5"
4404 case "(($ac_try" in
4405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4406 *) ac_try_echo=$ac_try;;
4407 esac
4408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4409 $as_echo "$ac_try_echo"; } >&5
4410 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4411 ac_status=$?
4412 if test -s conftest.err; then
4413 sed '10a\
4414 ... rest of stderr output deleted ...
4415 10q' conftest.err >conftest.er1
4416 cat conftest.er1 >&5
4418 rm -f conftest.er1 conftest.err
4419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4420 test $ac_status = 0; }
4421 done
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4424 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4425 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4426 $as_echo_n "(cached) " >&6
4427 else
4428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4432 main ()
4434 #ifndef __GNUC__
4435 choke me
4436 #endif
4439 return 0;
4441 _ACEOF
4442 if ac_fn_cxx_try_compile "$LINENO"; then :
4443 ac_compiler_gnu=yes
4444 else
4445 ac_compiler_gnu=no
4447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4448 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4452 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4453 if test $ac_compiler_gnu = yes; then
4454 GXX=yes
4455 else
4456 GXX=
4458 ac_test_CXXFLAGS=${CXXFLAGS+set}
4459 ac_save_CXXFLAGS=$CXXFLAGS
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4461 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4462 if ${ac_cv_prog_cxx_g+:} false; then :
4463 $as_echo_n "(cached) " >&6
4464 else
4465 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4466 ac_cxx_werror_flag=yes
4467 ac_cv_prog_cxx_g=no
4468 CXXFLAGS="-g"
4469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4470 /* end confdefs.h. */
4473 main ()
4477 return 0;
4479 _ACEOF
4480 if ac_fn_cxx_try_compile "$LINENO"; then :
4481 ac_cv_prog_cxx_g=yes
4482 else
4483 CXXFLAGS=""
4484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4485 /* end confdefs.h. */
4488 main ()
4492 return 0;
4494 _ACEOF
4495 if ac_fn_cxx_try_compile "$LINENO"; then :
4497 else
4498 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4499 CXXFLAGS="-g"
4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4504 main ()
4508 return 0;
4510 _ACEOF
4511 if ac_fn_cxx_try_compile "$LINENO"; then :
4512 ac_cv_prog_cxx_g=yes
4514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4519 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4522 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4523 if test "$ac_test_CXXFLAGS" = set; then
4524 CXXFLAGS=$ac_save_CXXFLAGS
4525 elif test $ac_cv_prog_cxx_g = yes; then
4526 if test "$GXX" = yes; then
4527 CXXFLAGS="-g -O2"
4528 else
4529 CXXFLAGS="-g"
4531 else
4532 if test "$GXX" = yes; then
4533 CXXFLAGS="-O2"
4534 else
4535 CXXFLAGS=
4538 ac_ext=c
4539 ac_cpp='$CPP $CPPFLAGS'
4540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4544 if test -n "$ac_tool_prefix"; then
4545 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4546 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4548 $as_echo_n "checking for $ac_word... " >&6; }
4549 if ${ac_cv_prog_CPPBIN+:} false; then :
4550 $as_echo_n "(cached) " >&6
4551 else
4552 if test -n "$CPPBIN"; then
4553 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4554 else
4555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4556 for as_dir in $PATH
4558 IFS=$as_save_IFS
4559 test -z "$as_dir" && as_dir=.
4560 for ac_exec_ext in '' $ac_executable_extensions; do
4561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4562 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4564 break 2
4566 done
4567 done
4568 IFS=$as_save_IFS
4572 CPPBIN=$ac_cv_prog_CPPBIN
4573 if test -n "$CPPBIN"; then
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4575 $as_echo "$CPPBIN" >&6; }
4576 else
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4578 $as_echo "no" >&6; }
4583 if test -z "$ac_cv_prog_CPPBIN"; then
4584 ac_ct_CPPBIN=$CPPBIN
4585 # Extract the first word of "cpp", so it can be a program name with args.
4586 set dummy cpp; ac_word=$2
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4588 $as_echo_n "checking for $ac_word... " >&6; }
4589 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4590 $as_echo_n "(cached) " >&6
4591 else
4592 if test -n "$ac_ct_CPPBIN"; then
4593 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4594 else
4595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596 for as_dir in $PATH
4598 IFS=$as_save_IFS
4599 test -z "$as_dir" && as_dir=.
4600 for ac_exec_ext in '' $ac_executable_extensions; do
4601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4602 ac_cv_prog_ac_ct_CPPBIN="cpp"
4603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 break 2
4606 done
4607 done
4608 IFS=$as_save_IFS
4612 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4613 if test -n "$ac_ct_CPPBIN"; then
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4615 $as_echo "$ac_ct_CPPBIN" >&6; }
4616 else
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4618 $as_echo "no" >&6; }
4621 if test "x$ac_ct_CPPBIN" = x; then
4622 CPPBIN="cpp"
4623 else
4624 case $cross_compiling:$ac_tool_warned in
4625 yes:)
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4628 ac_tool_warned=yes ;;
4629 esac
4630 CPPBIN=$ac_ct_CPPBIN
4632 else
4633 CPPBIN="$ac_cv_prog_CPPBIN"
4637 cat >>confdefs.h <<_ACEOF
4638 #define EXEEXT "$ac_exeext"
4639 _ACEOF
4642 case $host in
4643 *-darwin*)
4644 if test "x$enable_win64" = "xyes"
4645 then
4646 CC="$CC -m64"
4647 CXX="$CXX -m64"
4648 host_cpu="x86_64"
4649 notice_platform="64-bit "
4650 TARGETFLAGS="-m64"
4652 else
4653 CC="$CC -m32"
4654 CXX="$CXX -m32"
4655 host_cpu="i386"
4656 notice_platform="32-bit "
4657 TARGETFLAGS="-m32"
4659 enable_win16=${enable_win16:-yes}
4661 with_fontconfig=${with_fontconfig:-no}
4663 x86_64*)
4664 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4665 then
4666 CC="$CC -m32"
4667 CXX="$CXX -m32"
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4669 $as_echo_n "checking whether $CC works... " >&6; }
4671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4675 main ()
4679 return 0;
4681 _ACEOF
4682 if ac_fn_c_try_link "$LINENO"; then :
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4684 $as_echo "yes" >&6; }
4685 else
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 $as_echo "no" >&6; }
4688 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4690 rm -f core conftest.err conftest.$ac_objext \
4691 conftest$ac_exeext conftest.$ac_ext
4692 host_cpu="i386"
4693 notice_platform="32-bit "
4694 TARGETFLAGS="-m32"
4696 enable_win16=${enable_win16:-yes}
4697 else
4698 if test "x${GCC}" = "xyes"
4699 then
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4701 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4703 /* end confdefs.h. */
4704 #include <stdarg.h>
4706 main ()
4708 void func(__builtin_ms_va_list *args);
4710 return 0;
4712 _ACEOF
4713 if ac_fn_c_try_compile "$LINENO"; then :
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4715 $as_echo "yes" >&6; }
4716 else
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718 $as_echo "no" >&6; }
4719 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4723 TARGETFLAGS="-m64"
4727 arm*)
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4729 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4732 int ac_test(int i) { return i; }
4734 main ()
4736 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4738 return 0;
4740 _ACEOF
4741 if ac_fn_c_try_link "$LINENO"; then :
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4743 $as_echo "yes" >&6; }
4744 else
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746 $as_echo "no" >&6; }
4747 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4749 rm -f core conftest.err conftest.$ac_objext \
4750 conftest$ac_exeext conftest.$ac_ext
4751 CFLAGS="$CFLAGS -marm"
4753 *-mingw32*|*-cygwin*)
4754 enable_win16=${enable_win16:-no}
4755 CFLAGS="$CFLAGS -D_WIN32"
4757 i[3456789]86*)
4758 enable_win16=${enable_win16:-yes}
4760 esac
4762 enable_win16=${enable_win16:-no}
4763 enable_win64=${enable_win64:-no}
4765 enable_winetest=${enable_winetest:-$enable_tests}
4767 if test -n "$with_wine64"
4768 then
4769 if test "x$enable_win64" = "xyes"
4770 then
4771 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4772 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4774 enable_fonts=${enable_fonts:-no}
4775 enable_server=${enable_server:-no}
4776 elif test "x$enable_win64" = "xyes"
4777 then
4778 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4782 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4783 if ${wine_cv_toolsdir+:} false; then :
4784 $as_echo_n "(cached) " >&6
4785 else
4786 wine_cv_toolsdir="$with_wine_tools"
4787 if test -z "$with_wine_tools"; then
4788 if test "$cross_compiling" = "yes"; then
4789 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4790 elif test -n "$with_wine64"; then
4791 wine_cv_toolsdir="$with_wine64"
4794 if test -z "$wine_cv_toolsdir"; then
4795 wine_cv_toolsdir="\$(top_builddir)"
4796 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4797 case "$wine_cv_toolsdir" in
4798 /*) ;;
4799 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4800 esac
4801 enable_tools=${enable_tools:-no}
4802 else
4803 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4807 $as_echo "$wine_cv_toolsdir" >&6; }
4808 TOOLSDIR=$wine_cv_toolsdir
4810 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4811 then
4812 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4816 for ac_prog in flex
4818 # Extract the first word of "$ac_prog", so it can be a program name with args.
4819 set dummy $ac_prog; ac_word=$2
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821 $as_echo_n "checking for $ac_word... " >&6; }
4822 if ${ac_cv_prog_FLEX+:} false; then :
4823 $as_echo_n "(cached) " >&6
4824 else
4825 if test -n "$FLEX"; then
4826 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4827 else
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 for as_dir in $PATH
4831 IFS=$as_save_IFS
4832 test -z "$as_dir" && as_dir=.
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4835 ac_cv_prog_FLEX="$ac_prog"
4836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4837 break 2
4839 done
4840 done
4841 IFS=$as_save_IFS
4845 FLEX=$ac_cv_prog_FLEX
4846 if test -n "$FLEX"; then
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4848 $as_echo "$FLEX" >&6; }
4849 else
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 $as_echo "no" >&6; }
4855 test -n "$FLEX" && break
4856 done
4857 test -n "$FLEX" || FLEX="none"
4859 if test "$FLEX" = "none"
4860 then
4861 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4864 $as_echo_n "checking whether flex is recent enough... " >&6; }
4865 cat >conftest.l <<EOF
4866 %top{
4867 #include "prediluvian.h"
4871 if $FLEX -t conftest.l >/dev/null 2>&5
4872 then
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4874 $as_echo "yes" >&6; }
4875 else
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4877 $as_echo "no" >&6; }
4878 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4881 for ac_prog in bison
4883 # Extract the first word of "$ac_prog", so it can be a program name with args.
4884 set dummy $ac_prog; ac_word=$2
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4886 $as_echo_n "checking for $ac_word... " >&6; }
4887 if ${ac_cv_prog_BISON+:} false; then :
4888 $as_echo_n "(cached) " >&6
4889 else
4890 if test -n "$BISON"; then
4891 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4892 else
4893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894 for as_dir in $PATH
4896 IFS=$as_save_IFS
4897 test -z "$as_dir" && as_dir=.
4898 for ac_exec_ext in '' $ac_executable_extensions; do
4899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4900 ac_cv_prog_BISON="$ac_prog"
4901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4902 break 2
4904 done
4905 done
4906 IFS=$as_save_IFS
4910 BISON=$ac_cv_prog_BISON
4911 if test -n "$BISON"; then
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4913 $as_echo "$BISON" >&6; }
4914 else
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4916 $as_echo "no" >&6; }
4920 test -n "$BISON" && break
4921 done
4922 test -n "$BISON" || BISON="none"
4924 if test "$BISON" = "none"
4925 then
4926 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4929 if test -n "$ac_tool_prefix"; then
4930 for ac_prog in ar gar
4932 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4933 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935 $as_echo_n "checking for $ac_word... " >&6; }
4936 if ${ac_cv_prog_AR+:} false; then :
4937 $as_echo_n "(cached) " >&6
4938 else
4939 if test -n "$AR"; then
4940 ac_cv_prog_AR="$AR" # Let the user override the test.
4941 else
4942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4943 for as_dir in $PATH
4945 IFS=$as_save_IFS
4946 test -z "$as_dir" && as_dir=.
4947 for ac_exec_ext in '' $ac_executable_extensions; do
4948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4949 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 break 2
4953 done
4954 done
4955 IFS=$as_save_IFS
4959 AR=$ac_cv_prog_AR
4960 if test -n "$AR"; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4962 $as_echo "$AR" >&6; }
4963 else
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4969 test -n "$AR" && break
4970 done
4972 if test -z "$AR"; then
4973 ac_ct_AR=$AR
4974 for ac_prog in ar gar
4976 # Extract the first word of "$ac_prog", so it can be a program name with args.
4977 set dummy $ac_prog; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 if test -n "$ac_ct_AR"; then
4984 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_ac_ct_AR="$ac_prog"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 break 2
4997 done
4998 done
4999 IFS=$as_save_IFS
5003 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5004 if test -n "$ac_ct_AR"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5006 $as_echo "$ac_ct_AR" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5013 test -n "$ac_ct_AR" && break
5014 done
5016 if test "x$ac_ct_AR" = x; then
5017 AR="ar"
5018 else
5019 case $cross_compiling:$ac_tool_warned in
5020 yes:)
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5023 ac_tool_warned=yes ;;
5024 esac
5025 AR=$ac_ct_AR
5029 if test -n "$ac_tool_prefix"; then
5030 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5031 set dummy ${ac_tool_prefix}strip; ac_word=$2
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5033 $as_echo_n "checking for $ac_word... " >&6; }
5034 if ${ac_cv_prog_STRIP+:} false; then :
5035 $as_echo_n "(cached) " >&6
5036 else
5037 if test -n "$STRIP"; then
5038 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5039 else
5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041 for as_dir in $PATH
5043 IFS=$as_save_IFS
5044 test -z "$as_dir" && as_dir=.
5045 for ac_exec_ext in '' $ac_executable_extensions; do
5046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5047 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 break 2
5051 done
5052 done
5053 IFS=$as_save_IFS
5057 STRIP=$ac_cv_prog_STRIP
5058 if test -n "$STRIP"; then
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5060 $as_echo "$STRIP" >&6; }
5061 else
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5063 $as_echo "no" >&6; }
5068 if test -z "$ac_cv_prog_STRIP"; then
5069 ac_ct_STRIP=$STRIP
5070 # Extract the first word of "strip", so it can be a program name with args.
5071 set dummy strip; ac_word=$2
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073 $as_echo_n "checking for $ac_word... " >&6; }
5074 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5075 $as_echo_n "(cached) " >&6
5076 else
5077 if test -n "$ac_ct_STRIP"; then
5078 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5079 else
5080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5081 for as_dir in $PATH
5083 IFS=$as_save_IFS
5084 test -z "$as_dir" && as_dir=.
5085 for ac_exec_ext in '' $ac_executable_extensions; do
5086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5087 ac_cv_prog_ac_ct_STRIP="strip"
5088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5089 break 2
5091 done
5092 done
5093 IFS=$as_save_IFS
5097 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5098 if test -n "$ac_ct_STRIP"; then
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5100 $as_echo "$ac_ct_STRIP" >&6; }
5101 else
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103 $as_echo "no" >&6; }
5106 if test "x$ac_ct_STRIP" = x; then
5107 STRIP="strip"
5108 else
5109 case $cross_compiling:$ac_tool_warned in
5110 yes:)
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5113 ac_tool_warned=yes ;;
5114 esac
5115 STRIP=$ac_ct_STRIP
5117 else
5118 STRIP="$ac_cv_prog_STRIP"
5121 ARFLAGS=rc
5123 if test -n "$ac_tool_prefix"; then
5124 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5125 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 $as_echo_n "checking for $ac_word... " >&6; }
5128 if ${ac_cv_prog_RANLIB+:} false; then :
5129 $as_echo_n "(cached) " >&6
5130 else
5131 if test -n "$RANLIB"; then
5132 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5133 else
5134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5135 for as_dir in $PATH
5137 IFS=$as_save_IFS
5138 test -z "$as_dir" && as_dir=.
5139 for ac_exec_ext in '' $ac_executable_extensions; do
5140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5141 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5143 break 2
5145 done
5146 done
5147 IFS=$as_save_IFS
5151 RANLIB=$ac_cv_prog_RANLIB
5152 if test -n "$RANLIB"; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5154 $as_echo "$RANLIB" >&6; }
5155 else
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5162 if test -z "$ac_cv_prog_RANLIB"; then
5163 ac_ct_RANLIB=$RANLIB
5164 # Extract the first word of "ranlib", so it can be a program name with args.
5165 set dummy ranlib; ac_word=$2
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5167 $as_echo_n "checking for $ac_word... " >&6; }
5168 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5169 $as_echo_n "(cached) " >&6
5170 else
5171 if test -n "$ac_ct_RANLIB"; then
5172 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5173 else
5174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5175 for as_dir in $PATH
5177 IFS=$as_save_IFS
5178 test -z "$as_dir" && as_dir=.
5179 for ac_exec_ext in '' $ac_executable_extensions; do
5180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5181 ac_cv_prog_ac_ct_RANLIB="ranlib"
5182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5183 break 2
5185 done
5186 done
5187 IFS=$as_save_IFS
5191 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5192 if test -n "$ac_ct_RANLIB"; then
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5194 $as_echo "$ac_ct_RANLIB" >&6; }
5195 else
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5197 $as_echo "no" >&6; }
5200 if test "x$ac_ct_RANLIB" = x; then
5201 RANLIB=":"
5202 else
5203 case $cross_compiling:$ac_tool_warned in
5204 yes:)
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5207 ac_tool_warned=yes ;;
5208 esac
5209 RANLIB=$ac_ct_RANLIB
5211 else
5212 RANLIB="$ac_cv_prog_RANLIB"
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5216 $as_echo_n "checking whether ln -s works... " >&6; }
5217 LN_S=$as_ln_s
5218 if test "$LN_S" = "ln -s"; then
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5220 $as_echo "yes" >&6; }
5221 else
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5223 $as_echo "no, using $LN_S" >&6; }
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5227 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5228 if ${ac_cv_path_GREP+:} false; then :
5229 $as_echo_n "(cached) " >&6
5230 else
5231 if test -z "$GREP"; then
5232 ac_path_GREP_found=false
5233 # Loop through the user's path and test for each of PROGNAME-LIST
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5237 IFS=$as_save_IFS
5238 test -z "$as_dir" && as_dir=.
5239 for ac_prog in grep ggrep; do
5240 for ac_exec_ext in '' $ac_executable_extensions; do
5241 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5242 as_fn_executable_p "$ac_path_GREP" || continue
5243 # Check for GNU ac_path_GREP and select it if it is found.
5244 # Check for GNU $ac_path_GREP
5245 case `"$ac_path_GREP" --version 2>&1` in
5246 *GNU*)
5247 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5249 ac_count=0
5250 $as_echo_n 0123456789 >"conftest.in"
5251 while :
5253 cat "conftest.in" "conftest.in" >"conftest.tmp"
5254 mv "conftest.tmp" "conftest.in"
5255 cp "conftest.in" "conftest.nl"
5256 $as_echo 'GREP' >> "conftest.nl"
5257 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5258 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5259 as_fn_arith $ac_count + 1 && ac_count=$as_val
5260 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5261 # Best one so far, save it but keep looking for a better one
5262 ac_cv_path_GREP="$ac_path_GREP"
5263 ac_path_GREP_max=$ac_count
5265 # 10*(2^10) chars as input seems more than enough
5266 test $ac_count -gt 10 && break
5267 done
5268 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5269 esac
5271 $ac_path_GREP_found && break 3
5272 done
5273 done
5274 done
5275 IFS=$as_save_IFS
5276 if test -z "$ac_cv_path_GREP"; then
5277 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5279 else
5280 ac_cv_path_GREP=$GREP
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5285 $as_echo "$ac_cv_path_GREP" >&6; }
5286 GREP="$ac_cv_path_GREP"
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5290 $as_echo_n "checking for egrep... " >&6; }
5291 if ${ac_cv_path_EGREP+:} false; then :
5292 $as_echo_n "(cached) " >&6
5293 else
5294 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5295 then ac_cv_path_EGREP="$GREP -E"
5296 else
5297 if test -z "$EGREP"; then
5298 ac_path_EGREP_found=false
5299 # Loop through the user's path and test for each of PROGNAME-LIST
5300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5301 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5303 IFS=$as_save_IFS
5304 test -z "$as_dir" && as_dir=.
5305 for ac_prog in egrep; do
5306 for ac_exec_ext in '' $ac_executable_extensions; do
5307 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5308 as_fn_executable_p "$ac_path_EGREP" || continue
5309 # Check for GNU ac_path_EGREP and select it if it is found.
5310 # Check for GNU $ac_path_EGREP
5311 case `"$ac_path_EGREP" --version 2>&1` in
5312 *GNU*)
5313 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5315 ac_count=0
5316 $as_echo_n 0123456789 >"conftest.in"
5317 while :
5319 cat "conftest.in" "conftest.in" >"conftest.tmp"
5320 mv "conftest.tmp" "conftest.in"
5321 cp "conftest.in" "conftest.nl"
5322 $as_echo 'EGREP' >> "conftest.nl"
5323 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5324 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5325 as_fn_arith $ac_count + 1 && ac_count=$as_val
5326 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5327 # Best one so far, save it but keep looking for a better one
5328 ac_cv_path_EGREP="$ac_path_EGREP"
5329 ac_path_EGREP_max=$ac_count
5331 # 10*(2^10) chars as input seems more than enough
5332 test $ac_count -gt 10 && break
5333 done
5334 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5335 esac
5337 $ac_path_EGREP_found && break 3
5338 done
5339 done
5340 done
5341 IFS=$as_save_IFS
5342 if test -z "$ac_cv_path_EGREP"; then
5343 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5345 else
5346 ac_cv_path_EGREP=$EGREP
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5352 $as_echo "$ac_cv_path_EGREP" >&6; }
5353 EGREP="$ac_cv_path_EGREP"
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5357 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5358 if test -z "$MKDIR_P"; then
5359 if ${ac_cv_path_mkdir+:} false; then :
5360 $as_echo_n "(cached) " >&6
5361 else
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5365 IFS=$as_save_IFS
5366 test -z "$as_dir" && as_dir=.
5367 for ac_prog in mkdir gmkdir; do
5368 for ac_exec_ext in '' $ac_executable_extensions; do
5369 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
5370 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5371 'mkdir (GNU coreutils) '* | \
5372 'mkdir (coreutils) '* | \
5373 'mkdir (fileutils) '4.1*)
5374 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
5375 break 3;;
5376 esac
5377 done
5378 done
5379 done
5380 IFS=$as_save_IFS
5384 test -d ./--version && rmdir ./--version
5385 if test "${ac_cv_path_mkdir+set}" = set; then
5386 MKDIR_P="$ac_cv_path_mkdir -p"
5387 else
5388 # As a last resort, use the slow shell script. Don't cache a
5389 # value for MKDIR_P within a source directory, because that will
5390 # break other packages using the cache if that directory is
5391 # removed, or if the value is a relative name.
5392 MKDIR_P="$ac_install_sh -d"
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5396 $as_echo "$MKDIR_P" >&6; }
5398 # Extract the first word of "ldconfig", so it can be a program name with args.
5399 set dummy ldconfig; ac_word=$2
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5401 $as_echo_n "checking for $ac_word... " >&6; }
5402 if ${ac_cv_path_LDCONFIG+:} false; then :
5403 $as_echo_n "(cached) " >&6
5404 else
5405 case $LDCONFIG in
5406 [\\/]* | ?:[\\/]*)
5407 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5411 for as_dir in /sbin /usr/sbin $PATH
5413 IFS=$as_save_IFS
5414 test -z "$as_dir" && as_dir=.
5415 for ac_exec_ext in '' $ac_executable_extensions; do
5416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5417 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 break 2
5421 done
5422 done
5423 IFS=$as_save_IFS
5425 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5427 esac
5429 LDCONFIG=$ac_cv_path_LDCONFIG
5430 if test -n "$LDCONFIG"; then
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5432 $as_echo "$LDCONFIG" >&6; }
5433 else
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5435 $as_echo "no" >&6; }
5440 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM="STRIPPROG=\"\$(STRIP)\" \$(top_srcdir)/tools/install-sh"
5441 # Find a good install program. We prefer a C program (faster),
5442 # so one script is as good as another. But avoid the broken or
5443 # incompatible versions:
5444 # SysV /etc/install, /usr/sbin/install
5445 # SunOS /usr/etc/install
5446 # IRIX /sbin/install
5447 # AIX /bin/install
5448 # AmigaOS /C/install, which installs bootblocks on floppy discs
5449 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5450 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5451 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5452 # OS/2's system install, which has a completely different semantic
5453 # ./install, which can be erroneously created by make from ./install.sh.
5454 # Reject install programs that cannot install multiple files.
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5456 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5457 if test -z "$INSTALL"; then
5458 if ${ac_cv_path_install+:} false; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5462 for as_dir in $PATH
5464 IFS=$as_save_IFS
5465 test -z "$as_dir" && as_dir=.
5466 # Account for people who put trailing slashes in PATH elements.
5467 case $as_dir/ in #((
5468 ./ | .// | /[cC]/* | \
5469 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5470 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
5471 /usr/ucb/* ) ;;
5473 # OSF1 and SCO ODT 3.0 have their own names for install.
5474 # Don't use installbsd from OSF since it installs stuff as root
5475 # by default.
5476 for ac_prog in ginstall scoinst install; do
5477 for ac_exec_ext in '' $ac_executable_extensions; do
5478 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5479 if test $ac_prog = install &&
5480 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5481 # AIX install. It has an incompatible calling convention.
5483 elif test $ac_prog = install &&
5484 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5485 # program-specific install script used by HP pwplus--don't use.
5487 else
5488 rm -rf conftest.one conftest.two conftest.dir
5489 echo one > conftest.one
5490 echo two > conftest.two
5491 mkdir conftest.dir
5492 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5493 test -s conftest.one && test -s conftest.two &&
5494 test -s conftest.dir/conftest.one &&
5495 test -s conftest.dir/conftest.two
5496 then
5497 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5498 break 3
5502 done
5503 done
5505 esac
5507 done
5508 IFS=$as_save_IFS
5510 rm -rf conftest.one conftest.two conftest.dir
5513 if test "${ac_cv_path_install+set}" = set; then
5514 INSTALL=$ac_cv_path_install
5515 else
5516 # As a last resort, use the slow shell script. Don't cache a
5517 # value for INSTALL within a source directory, because that will
5518 # break other packages using the cache if that directory is
5519 # removed, or if the value is a relative name.
5520 INSTALL=$ac_install_sh
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5524 $as_echo "$INSTALL" >&6; }
5526 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5527 # It thinks the first close brace ends the variable substitution.
5528 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5530 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5532 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5535 for ac_prog in fontforge
5537 # Extract the first word of "$ac_prog", so it can be a program name with args.
5538 set dummy $ac_prog; ac_word=$2
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540 $as_echo_n "checking for $ac_word... " >&6; }
5541 if ${ac_cv_prog_FONTFORGE+:} false; then :
5542 $as_echo_n "(cached) " >&6
5543 else
5544 if test -n "$FONTFORGE"; then
5545 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5546 else
5547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 for as_dir in $PATH
5550 IFS=$as_save_IFS
5551 test -z "$as_dir" && as_dir=.
5552 for ac_exec_ext in '' $ac_executable_extensions; do
5553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5554 ac_cv_prog_FONTFORGE="$ac_prog"
5555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5556 break 2
5558 done
5559 done
5560 IFS=$as_save_IFS
5564 FONTFORGE=$ac_cv_prog_FONTFORGE
5565 if test -n "$FONTFORGE"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5567 $as_echo "$FONTFORGE" >&6; }
5568 else
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5574 test -n "$FONTFORGE" && break
5575 done
5576 test -n "$FONTFORGE" || FONTFORGE="false"
5578 for ac_prog in rsvg
5580 # Extract the first word of "$ac_prog", so it can be a program name with args.
5581 set dummy $ac_prog; ac_word=$2
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583 $as_echo_n "checking for $ac_word... " >&6; }
5584 if ${ac_cv_prog_RSVG+:} false; then :
5585 $as_echo_n "(cached) " >&6
5586 else
5587 if test -n "$RSVG"; then
5588 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5589 else
5590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5591 for as_dir in $PATH
5593 IFS=$as_save_IFS
5594 test -z "$as_dir" && as_dir=.
5595 for ac_exec_ext in '' $ac_executable_extensions; do
5596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5597 ac_cv_prog_RSVG="$ac_prog"
5598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599 break 2
5601 done
5602 done
5603 IFS=$as_save_IFS
5607 RSVG=$ac_cv_prog_RSVG
5608 if test -n "$RSVG"; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5610 $as_echo "$RSVG" >&6; }
5611 else
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613 $as_echo "no" >&6; }
5617 test -n "$RSVG" && break
5618 done
5619 test -n "$RSVG" || RSVG="false"
5621 for ac_prog in convert
5623 # Extract the first word of "$ac_prog", so it can be a program name with args.
5624 set dummy $ac_prog; ac_word=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if ${ac_cv_prog_CONVERT+:} false; then :
5628 $as_echo_n "(cached) " >&6
5629 else
5630 if test -n "$CONVERT"; then
5631 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5632 else
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 for as_dir in $PATH
5636 IFS=$as_save_IFS
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5640 ac_cv_prog_CONVERT="$ac_prog"
5641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 break 2
5644 done
5645 done
5646 IFS=$as_save_IFS
5650 CONVERT=$ac_cv_prog_CONVERT
5651 if test -n "$CONVERT"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5653 $as_echo "$CONVERT" >&6; }
5654 else
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5656 $as_echo "no" >&6; }
5660 test -n "$CONVERT" && break
5661 done
5662 test -n "$CONVERT" || CONVERT="false"
5664 for ac_prog in icotool
5666 # Extract the first word of "$ac_prog", so it can be a program name with args.
5667 set dummy $ac_prog; ac_word=$2
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5669 $as_echo_n "checking for $ac_word... " >&6; }
5670 if ${ac_cv_prog_ICOTOOL+:} false; then :
5671 $as_echo_n "(cached) " >&6
5672 else
5673 if test -n "$ICOTOOL"; then
5674 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5675 else
5676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5677 for as_dir in $PATH
5679 IFS=$as_save_IFS
5680 test -z "$as_dir" && as_dir=.
5681 for ac_exec_ext in '' $ac_executable_extensions; do
5682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5683 ac_cv_prog_ICOTOOL="$ac_prog"
5684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 break 2
5687 done
5688 done
5689 IFS=$as_save_IFS
5693 ICOTOOL=$ac_cv_prog_ICOTOOL
5694 if test -n "$ICOTOOL"; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5696 $as_echo "$ICOTOOL" >&6; }
5697 else
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699 $as_echo "no" >&6; }
5703 test -n "$ICOTOOL" && break
5704 done
5705 test -n "$ICOTOOL" || ICOTOOL="false"
5707 for ac_prog in msgfmt
5709 # Extract the first word of "$ac_prog", so it can be a program name with args.
5710 set dummy $ac_prog; ac_word=$2
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 $as_echo_n "checking for $ac_word... " >&6; }
5713 if ${ac_cv_prog_MSGFMT+:} false; then :
5714 $as_echo_n "(cached) " >&6
5715 else
5716 if test -n "$MSGFMT"; then
5717 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5718 else
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH
5722 IFS=$as_save_IFS
5723 test -z "$as_dir" && as_dir=.
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5726 ac_cv_prog_MSGFMT="$ac_prog"
5727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728 break 2
5730 done
5731 done
5732 IFS=$as_save_IFS
5736 MSGFMT=$ac_cv_prog_MSGFMT
5737 if test -n "$MSGFMT"; then
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5739 $as_echo "$MSGFMT" >&6; }
5740 else
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742 $as_echo "no" >&6; }
5746 test -n "$MSGFMT" && break
5747 done
5748 test -n "$MSGFMT" || MSGFMT="false"
5750 if test -n "$ac_tool_prefix"; then
5751 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5752 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754 $as_echo_n "checking for $ac_word... " >&6; }
5755 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5756 $as_echo_n "(cached) " >&6
5757 else
5758 if test -n "$PKG_CONFIG"; then
5759 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5760 else
5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 for as_dir in $PATH
5764 IFS=$as_save_IFS
5765 test -z "$as_dir" && as_dir=.
5766 for ac_exec_ext in '' $ac_executable_extensions; do
5767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5768 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5770 break 2
5772 done
5773 done
5774 IFS=$as_save_IFS
5778 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5779 if test -n "$PKG_CONFIG"; then
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5781 $as_echo "$PKG_CONFIG" >&6; }
5782 else
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784 $as_echo "no" >&6; }
5789 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5790 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
5791 elif test "$cross_compiling" != yes; then
5792 unset ac_cv_prog_PKG_CONFIG
5793 # Extract the first word of "pkg-config", so it can be a program name with args.
5794 set dummy pkg-config; ac_word=$2
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5796 $as_echo_n "checking for $ac_word... " >&6; }
5797 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5798 $as_echo_n "(cached) " >&6
5799 else
5800 if test -n "$PKG_CONFIG"; then
5801 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5802 else
5803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5804 for as_dir in $PATH
5806 IFS=$as_save_IFS
5807 test -z "$as_dir" && as_dir=.
5808 for ac_exec_ext in '' $ac_executable_extensions; do
5809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5810 ac_cv_prog_PKG_CONFIG="pkg-config"
5811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5812 break 2
5814 done
5815 done
5816 IFS=$as_save_IFS
5820 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5821 if test -n "$PKG_CONFIG"; then
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5823 $as_echo "$PKG_CONFIG" >&6; }
5824 else
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5826 $as_echo "no" >&6; }
5832 if test "x$enable_maintainer_mode" != "xyes"
5833 then
5834 MAINTAINER_MODE=\#
5836 else
5837 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5838 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5840 if test "$CONVERT" = false
5841 then
5842 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5843 else
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5845 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5846 convert_version=`convert --version | head -n1`
5847 if test "x$convert_version" != "x"
5848 then
5849 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5850 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5851 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5852 then
5853 CONVERT=false
5856 if test "$CONVERT" = false
5857 then
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5859 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5860 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5861 else
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5863 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5867 if test "$ICOTOOL" = false
5868 then
5869 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5870 else
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5872 $as_echo_n "checking for recent enough icotool... " >&6; }
5873 icotool_version=`icotool --version | head -n1`
5874 if test "x$icotool_version" != "x"
5875 then
5876 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5877 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5878 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5879 then
5880 ICOTOOL=false
5881 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5884 if test "$ICOTOOL" = false
5885 then
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5887 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5888 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5889 else
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5891 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5895 with_gettext=yes
5896 with_gettextpo=yes
5897 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5900 test "x$with_gettext" != xno || MSGFMT=false
5901 if test "$MSGFMT" != "false"
5902 then
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5904 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5905 cat >conftest.po <<EOF
5906 # comment
5907 msgctxt "ctxt"
5908 msgid "id"
5909 msgstr "str"
5911 if $MSGFMT -o /dev/null conftest.po 2>&5
5912 then
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5914 $as_echo "yes" >&6; }
5915 else
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917 $as_echo "no" >&6; }
5918 MSGFMT=false
5921 if test "$MSGFMT" = false; then :
5922 case "x$with_gettext" in
5923 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5924 xno) ;;
5925 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5926 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5927 esac
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5932 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5933 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5934 $as_echo_n "(cached) " >&6
5935 else
5936 ac_check_lib_save_LIBS=$LIBS
5937 LIBS="-li386 $LIBS"
5938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5939 /* end confdefs.h. */
5941 /* Override any GCC internal prototype to avoid an error.
5942 Use char because int might match the return type of a GCC
5943 builtin and then its argument prototype would still apply. */
5944 #ifdef __cplusplus
5945 extern "C"
5946 #endif
5947 char i386_set_ldt ();
5949 main ()
5951 return i386_set_ldt ();
5953 return 0;
5955 _ACEOF
5956 if ac_fn_c_try_link "$LINENO"; then :
5957 ac_cv_lib_i386_i386_set_ldt=yes
5958 else
5959 ac_cv_lib_i386_i386_set_ldt=no
5961 rm -f core conftest.err conftest.$ac_objext \
5962 conftest$ac_exeext conftest.$ac_ext
5963 LIBS=$ac_check_lib_save_LIBS
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5966 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5967 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5968 cat >>confdefs.h <<_ACEOF
5969 #define HAVE_LIBI386 1
5970 _ACEOF
5972 LIBS="-li386 $LIBS"
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5977 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5978 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5979 $as_echo_n "(cached) " >&6
5980 else
5981 ac_check_lib_save_LIBS=$LIBS
5982 LIBS="-lossaudio $LIBS"
5983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5984 /* end confdefs.h. */
5986 /* Override any GCC internal prototype to avoid an error.
5987 Use char because int might match the return type of a GCC
5988 builtin and then its argument prototype would still apply. */
5989 #ifdef __cplusplus
5990 extern "C"
5991 #endif
5992 char _oss_ioctl ();
5994 main ()
5996 return _oss_ioctl ();
5998 return 0;
6000 _ACEOF
6001 if ac_fn_c_try_link "$LINENO"; then :
6002 ac_cv_lib_ossaudio__oss_ioctl=yes
6003 else
6004 ac_cv_lib_ossaudio__oss_ioctl=no
6006 rm -f core conftest.err conftest.$ac_objext \
6007 conftest$ac_exeext conftest.$ac_ext
6008 LIBS=$ac_check_lib_save_LIBS
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6011 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6012 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6013 cat >>confdefs.h <<_ACEOF
6014 #define HAVE_LIBOSSAUDIO 1
6015 _ACEOF
6017 LIBS="-lossaudio $LIBS"
6022 XLIB=""
6024 OPENGL_LIBS=""
6028 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
6030 # Check whether --enable-largefile was given.
6031 if test "${enable_largefile+set}" = set; then :
6032 enableval=$enable_largefile;
6035 if test "$enable_largefile" != no; then
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6038 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6039 if ${ac_cv_sys_largefile_CC+:} false; then :
6040 $as_echo_n "(cached) " >&6
6041 else
6042 ac_cv_sys_largefile_CC=no
6043 if test "$GCC" != yes; then
6044 ac_save_CC=$CC
6045 while :; do
6046 # IRIX 6.2 and later do not support large files by default,
6047 # so use the C compiler's -n32 option if that helps.
6048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6049 /* end confdefs.h. */
6050 #include <sys/types.h>
6051 /* Check that off_t can represent 2**63 - 1 correctly.
6052 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6053 since some C++ compilers masquerading as C compilers
6054 incorrectly reject 9223372036854775807. */
6055 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6056 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6057 && LARGE_OFF_T % 2147483647 == 1)
6058 ? 1 : -1];
6060 main ()
6064 return 0;
6066 _ACEOF
6067 if ac_fn_c_try_compile "$LINENO"; then :
6068 break
6070 rm -f core conftest.err conftest.$ac_objext
6071 CC="$CC -n32"
6072 if ac_fn_c_try_compile "$LINENO"; then :
6073 ac_cv_sys_largefile_CC=' -n32'; break
6075 rm -f core conftest.err conftest.$ac_objext
6076 break
6077 done
6078 CC=$ac_save_CC
6079 rm -f conftest.$ac_ext
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6083 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6084 if test "$ac_cv_sys_largefile_CC" != no; then
6085 CC=$CC$ac_cv_sys_largefile_CC
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6089 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6090 if ${ac_cv_sys_file_offset_bits+:} false; then :
6091 $as_echo_n "(cached) " >&6
6092 else
6093 while :; do
6094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6095 /* end confdefs.h. */
6096 #include <sys/types.h>
6097 /* Check that off_t can represent 2**63 - 1 correctly.
6098 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6099 since some C++ compilers masquerading as C compilers
6100 incorrectly reject 9223372036854775807. */
6101 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6102 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6103 && LARGE_OFF_T % 2147483647 == 1)
6104 ? 1 : -1];
6106 main ()
6110 return 0;
6112 _ACEOF
6113 if ac_fn_c_try_compile "$LINENO"; then :
6114 ac_cv_sys_file_offset_bits=no; break
6116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6118 /* end confdefs.h. */
6119 #define _FILE_OFFSET_BITS 64
6120 #include <sys/types.h>
6121 /* Check that off_t can represent 2**63 - 1 correctly.
6122 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6123 since some C++ compilers masquerading as C compilers
6124 incorrectly reject 9223372036854775807. */
6125 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6126 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6127 && LARGE_OFF_T % 2147483647 == 1)
6128 ? 1 : -1];
6130 main ()
6134 return 0;
6136 _ACEOF
6137 if ac_fn_c_try_compile "$LINENO"; then :
6138 ac_cv_sys_file_offset_bits=64; break
6140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6141 ac_cv_sys_file_offset_bits=unknown
6142 break
6143 done
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6146 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6147 case $ac_cv_sys_file_offset_bits in #(
6148 no | unknown) ;;
6150 cat >>confdefs.h <<_ACEOF
6151 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6152 _ACEOF
6154 esac
6155 rm -rf conftest*
6156 if test $ac_cv_sys_file_offset_bits = unknown; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6158 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6159 if ${ac_cv_sys_large_files+:} false; then :
6160 $as_echo_n "(cached) " >&6
6161 else
6162 while :; do
6163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6164 /* end confdefs.h. */
6165 #include <sys/types.h>
6166 /* Check that off_t can represent 2**63 - 1 correctly.
6167 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6168 since some C++ compilers masquerading as C compilers
6169 incorrectly reject 9223372036854775807. */
6170 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6171 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6172 && LARGE_OFF_T % 2147483647 == 1)
6173 ? 1 : -1];
6175 main ()
6179 return 0;
6181 _ACEOF
6182 if ac_fn_c_try_compile "$LINENO"; then :
6183 ac_cv_sys_large_files=no; break
6185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6187 /* end confdefs.h. */
6188 #define _LARGE_FILES 1
6189 #include <sys/types.h>
6190 /* Check that off_t can represent 2**63 - 1 correctly.
6191 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6192 since some C++ compilers masquerading as C compilers
6193 incorrectly reject 9223372036854775807. */
6194 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6195 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6196 && LARGE_OFF_T % 2147483647 == 1)
6197 ? 1 : -1];
6199 main ()
6203 return 0;
6205 _ACEOF
6206 if ac_fn_c_try_compile "$LINENO"; then :
6207 ac_cv_sys_large_files=1; break
6209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6210 ac_cv_sys_large_files=unknown
6211 break
6212 done
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6215 $as_echo "$ac_cv_sys_large_files" >&6; }
6216 case $ac_cv_sys_large_files in #(
6217 no | unknown) ;;
6219 cat >>confdefs.h <<_ACEOF
6220 #define _LARGE_FILES $ac_cv_sys_large_files
6221 _ACEOF
6223 esac
6224 rm -rf conftest*
6231 ac_ext=c
6232 ac_cpp='$CPP $CPPFLAGS'
6233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6237 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6238 # On Suns, sometimes $CPP names a directory.
6239 if test -n "$CPP" && test -d "$CPP"; then
6240 CPP=
6242 if test -z "$CPP"; then
6243 if ${ac_cv_prog_CPP+:} false; then :
6244 $as_echo_n "(cached) " >&6
6245 else
6246 # Double quotes because CPP needs to be expanded
6247 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6249 ac_preproc_ok=false
6250 for ac_c_preproc_warn_flag in '' yes
6252 # Use a header file that comes with gcc, so configuring glibc
6253 # with a fresh cross-compiler works.
6254 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6255 # <limits.h> exists even on freestanding compilers.
6256 # On the NeXT, cc -E runs the code through the compiler's parser,
6257 # not just through cpp. "Syntax error" is here to catch this case.
6258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6259 /* end confdefs.h. */
6260 #ifdef __STDC__
6261 # include <limits.h>
6262 #else
6263 # include <assert.h>
6264 #endif
6265 Syntax error
6266 _ACEOF
6267 if ac_fn_c_try_cpp "$LINENO"; then :
6269 else
6270 # Broken: fails on valid input.
6271 continue
6273 rm -f conftest.err conftest.i conftest.$ac_ext
6275 # OK, works on sane cases. Now check whether nonexistent headers
6276 # can be detected and how.
6277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6278 /* end confdefs.h. */
6279 #include <ac_nonexistent.h>
6280 _ACEOF
6281 if ac_fn_c_try_cpp "$LINENO"; then :
6282 # Broken: success on invalid input.
6283 continue
6284 else
6285 # Passes both tests.
6286 ac_preproc_ok=:
6287 break
6289 rm -f conftest.err conftest.i conftest.$ac_ext
6291 done
6292 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6293 rm -f conftest.i conftest.err conftest.$ac_ext
6294 if $ac_preproc_ok; then :
6295 break
6298 done
6299 ac_cv_prog_CPP=$CPP
6302 CPP=$ac_cv_prog_CPP
6303 else
6304 ac_cv_prog_CPP=$CPP
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6307 $as_echo "$CPP" >&6; }
6308 ac_preproc_ok=false
6309 for ac_c_preproc_warn_flag in '' yes
6311 # Use a header file that comes with gcc, so configuring glibc
6312 # with a fresh cross-compiler works.
6313 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6314 # <limits.h> exists even on freestanding compilers.
6315 # On the NeXT, cc -E runs the code through the compiler's parser,
6316 # not just through cpp. "Syntax error" is here to catch this case.
6317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6319 #ifdef __STDC__
6320 # include <limits.h>
6321 #else
6322 # include <assert.h>
6323 #endif
6324 Syntax error
6325 _ACEOF
6326 if ac_fn_c_try_cpp "$LINENO"; then :
6328 else
6329 # Broken: fails on valid input.
6330 continue
6332 rm -f conftest.err conftest.i conftest.$ac_ext
6334 # OK, works on sane cases. Now check whether nonexistent headers
6335 # can be detected and how.
6336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6337 /* end confdefs.h. */
6338 #include <ac_nonexistent.h>
6339 _ACEOF
6340 if ac_fn_c_try_cpp "$LINENO"; then :
6341 # Broken: success on invalid input.
6342 continue
6343 else
6344 # Passes both tests.
6345 ac_preproc_ok=:
6346 break
6348 rm -f conftest.err conftest.i conftest.$ac_ext
6350 done
6351 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6352 rm -f conftest.i conftest.err conftest.$ac_ext
6353 if $ac_preproc_ok; then :
6355 else
6356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6358 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6359 See \`config.log' for more details" "$LINENO" 5; }
6362 ac_ext=c
6363 ac_cpp='$CPP $CPPFLAGS'
6364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6370 $as_echo_n "checking for ANSI C header files... " >&6; }
6371 if ${ac_cv_header_stdc+:} false; then :
6372 $as_echo_n "(cached) " >&6
6373 else
6374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6376 #include <stdlib.h>
6377 #include <stdarg.h>
6378 #include <string.h>
6379 #include <float.h>
6382 main ()
6386 return 0;
6388 _ACEOF
6389 if ac_fn_c_try_compile "$LINENO"; then :
6390 ac_cv_header_stdc=yes
6391 else
6392 ac_cv_header_stdc=no
6394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6396 if test $ac_cv_header_stdc = yes; then
6397 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6399 /* end confdefs.h. */
6400 #include <string.h>
6402 _ACEOF
6403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6404 $EGREP "memchr" >/dev/null 2>&1; then :
6406 else
6407 ac_cv_header_stdc=no
6409 rm -f conftest*
6413 if test $ac_cv_header_stdc = yes; then
6414 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6416 /* end confdefs.h. */
6417 #include <stdlib.h>
6419 _ACEOF
6420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6421 $EGREP "free" >/dev/null 2>&1; then :
6423 else
6424 ac_cv_header_stdc=no
6426 rm -f conftest*
6430 if test $ac_cv_header_stdc = yes; then
6431 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6432 if test "$cross_compiling" = yes; then :
6434 else
6435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6436 /* end confdefs.h. */
6437 #include <ctype.h>
6438 #include <stdlib.h>
6439 #if ((' ' & 0x0FF) == 0x020)
6440 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6441 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6442 #else
6443 # define ISLOWER(c) \
6444 (('a' <= (c) && (c) <= 'i') \
6445 || ('j' <= (c) && (c) <= 'r') \
6446 || ('s' <= (c) && (c) <= 'z'))
6447 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6448 #endif
6450 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6452 main ()
6454 int i;
6455 for (i = 0; i < 256; i++)
6456 if (XOR (islower (i), ISLOWER (i))
6457 || toupper (i) != TOUPPER (i))
6458 return 2;
6459 return 0;
6461 _ACEOF
6462 if ac_fn_c_try_run "$LINENO"; then :
6464 else
6465 ac_cv_header_stdc=no
6467 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6468 conftest.$ac_objext conftest.beam conftest.$ac_ext
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6474 $as_echo "$ac_cv_header_stdc" >&6; }
6475 if test $ac_cv_header_stdc = yes; then
6477 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6481 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6482 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6483 inttypes.h stdint.h unistd.h
6484 do :
6485 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6486 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6488 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6489 cat >>confdefs.h <<_ACEOF
6490 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6491 _ACEOF
6495 done
6498 for ac_header in \
6499 AL/al.h \
6500 ApplicationServices/ApplicationServices.h \
6501 AudioToolbox/AudioConverter.h \
6502 AudioUnit/AudioUnit.h \
6503 AudioUnit/AudioComponent.h \
6504 CL/cl.h \
6505 Carbon/Carbon.h \
6506 CoreAudio/CoreAudio.h \
6507 CoreServices/CoreServices.h \
6508 DiskArbitration/DiskArbitration.h \
6509 IOKit/IOKitLib.h \
6510 IOKit/hid/IOHIDLib.h \
6511 OpenAL/al.h \
6512 OpenCL/opencl.h \
6513 QuickTime/ImageCompression.h \
6514 Security/Security.h \
6515 alias.h \
6516 alsa/asoundlib.h \
6517 arpa/inet.h \
6518 arpa/nameser.h \
6519 asm/types.h \
6520 asm/user.h \
6521 curses.h \
6522 direct.h \
6523 dirent.h \
6524 dlfcn.h \
6525 elf.h \
6526 float.h \
6527 fnmatch.h \
6528 fontconfig/fontconfig.h \
6529 getopt.h \
6530 gettext-po.h \
6531 grp.h \
6532 gsm.h \
6533 gsm/gsm.h \
6534 ieeefp.h \
6535 inet/mib2.h \
6536 io.h \
6537 kstat.h \
6538 lber.h \
6539 ldap.h \
6540 libproc.h \
6541 link.h \
6542 linux/cdrom.h \
6543 linux/compiler.h \
6544 linux/filter.h \
6545 linux/hdreg.h \
6546 linux/input.h \
6547 linux/ioctl.h \
6548 linux/joystick.h \
6549 linux/major.h \
6550 linux/param.h \
6551 linux/serial.h \
6552 linux/types.h \
6553 linux/ucdrom.h \
6554 lwp.h \
6555 mach-o/nlist.h \
6556 mach-o/loader.h \
6557 mach/mach.h \
6558 mach/machine.h \
6559 machine/cpu.h \
6560 machine/limits.h \
6561 machine/sysarch.h \
6562 mntent.h \
6563 ncurses.h \
6564 netdb.h \
6565 netinet/in.h \
6566 netinet/in_systm.h \
6567 netinet/tcp.h \
6568 netinet/tcp_fsm.h \
6569 poll.h \
6570 port.h \
6571 process.h \
6572 pthread.h \
6573 pwd.h \
6574 sched.h \
6575 scsi/scsi.h \
6576 scsi/scsi_ioctl.h \
6577 scsi/sg.h \
6578 stdbool.h \
6579 stdint.h \
6580 stropts.h \
6581 sys/asoundlib.h \
6582 sys/attr.h \
6583 sys/cdio.h \
6584 sys/elf32.h \
6585 sys/epoll.h \
6586 sys/event.h \
6587 sys/exec_elf.h \
6588 sys/filio.h \
6589 sys/inotify.h \
6590 sys/ioctl.h \
6591 sys/ipc.h \
6592 sys/limits.h \
6593 sys/link.h \
6594 sys/mman.h \
6595 sys/modem.h \
6596 sys/msg.h \
6597 sys/mtio.h \
6598 sys/param.h \
6599 sys/poll.h \
6600 sys/prctl.h \
6601 sys/protosw.h \
6602 sys/ptrace.h \
6603 sys/queue.h \
6604 sys/resource.h \
6605 sys/scsiio.h \
6606 sys/shm.h \
6607 sys/signal.h \
6608 sys/socket.h \
6609 sys/socketvar.h \
6610 sys/sockio.h \
6611 sys/statvfs.h \
6612 sys/strtio.h \
6613 sys/syscall.h \
6614 sys/tihdr.h \
6615 sys/time.h \
6616 sys/timeout.h \
6617 sys/times.h \
6618 sys/uio.h \
6619 sys/user.h \
6620 sys/utsname.h \
6621 sys/vm86.h \
6622 sys/wait.h \
6623 syscall.h \
6624 termios.h \
6625 unistd.h \
6626 utime.h \
6627 valgrind/memcheck.h \
6628 valgrind/valgrind.h \
6629 zlib.h
6631 do :
6632 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6633 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6634 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6635 cat >>confdefs.h <<_ACEOF
6636 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6637 _ACEOF
6641 done
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6644 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6645 if ${ac_cv_header_stat_broken+:} false; then :
6646 $as_echo_n "(cached) " >&6
6647 else
6648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6649 /* end confdefs.h. */
6650 #include <sys/types.h>
6651 #include <sys/stat.h>
6653 #if defined S_ISBLK && defined S_IFDIR
6654 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6655 #endif
6657 #if defined S_ISBLK && defined S_IFCHR
6658 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6659 #endif
6661 #if defined S_ISLNK && defined S_IFREG
6662 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6663 #endif
6665 #if defined S_ISSOCK && defined S_IFREG
6666 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6667 #endif
6669 _ACEOF
6670 if ac_fn_c_try_compile "$LINENO"; then :
6671 ac_cv_header_stat_broken=no
6672 else
6673 ac_cv_header_stat_broken=yes
6675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6678 $as_echo "$ac_cv_header_stat_broken" >&6; }
6679 if test $ac_cv_header_stat_broken = yes; then
6681 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6687 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6688 do :
6689 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6690 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6691 #ifdef HAVE_SYS_PARAM_H
6692 # include <sys/param.h>
6693 #endif
6695 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6696 cat >>confdefs.h <<_ACEOF
6697 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6698 _ACEOF
6702 done
6705 for ac_header in \
6706 netinet/ip.h \
6707 net/if.h \
6708 net/if_arp.h \
6709 net/if_dl.h \
6710 net/if_types.h \
6711 net/route.h \
6712 netinet/if_ether.h \
6713 netinet/if_inarp.h \
6714 netinet/in_pcb.h \
6715 netinet/ip_icmp.h \
6716 netinet/ip_var.h \
6717 netinet/udp.h \
6718 netipx/ipx.h \
6719 sys/un.h \
6721 do :
6722 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6723 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6724 #ifdef HAVE_SYS_SOCKET_H
6725 # include <sys/socket.h>
6726 #endif
6727 #ifdef HAVE_SYS_SOCKETVAR_H
6728 # include <sys/socketvar.h>
6729 #endif
6730 #ifdef HAVE_NET_ROUTE_H
6731 # include <net/route.h>
6732 #endif
6733 #ifdef HAVE_NETINET_IN_H
6734 # include <netinet/in.h>
6735 #endif
6736 #ifdef HAVE_NETINET_IN_SYSTM_H
6737 # include <netinet/in_systm.h>
6738 #endif
6739 #ifdef HAVE_NET_IF_H
6740 # include <net/if.h>
6741 #endif
6742 #ifdef HAVE_NETINET_IP_H
6743 # include <netinet/ip.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 netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6757 do :
6758 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6759 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6760 #ifdef HAVE_ALIAS_H
6761 # include <alias.h>
6762 #endif
6763 #ifdef HAVE_SYS_SOCKET_H
6764 # include <sys/socket.h>
6765 #endif
6766 #ifdef HAVE_SYS_SOCKETVAR_H
6767 # include <sys/socketvar.h>
6768 #endif
6769 #ifdef HAVE_SYS_TIMEOUT_H
6770 # include <sys/timeout.h>
6771 #endif
6772 #ifdef HAVE_NETINET_IN_H
6773 # include <netinet/in.h>
6774 #endif
6775 #ifdef HAVE_NETINET_IN_SYSTM_H
6776 # include <netinet/in_systm.h>
6777 #endif
6778 #ifdef HAVE_NETINET_IP_H
6779 # include <netinet/ip.h>
6780 #endif
6781 #ifdef HAVE_NETINET_IP_VAR_H
6782 # include <netinet/ip_var.h>
6783 #endif
6784 #ifdef HAVE_NETINET_IP_ICMP_H
6785 # include <netinet/ip_icmp.h>
6786 #endif
6787 #ifdef HAVE_NETINET_UDP_H
6788 # include <netinet/udp.h>
6789 #endif
6790 #ifdef HAVE_NETINET_TCP_H
6791 # include <netinet/tcp.h>
6792 #endif
6793 #ifdef HAVE_NETINET_TCP_TIMER_H
6794 #include <netinet/tcp_timer.h>
6795 #endif
6797 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6798 cat >>confdefs.h <<_ACEOF
6799 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6800 _ACEOF
6804 done
6807 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6808 do :
6809 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6810 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6811 #ifdef HAVE_ASM_TYPES_H
6812 # include <asm/types.h>
6813 #endif
6814 #ifdef HAVE_SYS_SOCKET_H
6815 # include <sys/socket.h>
6816 #endif
6817 #ifdef HAVE_LINUX_TYPES_H
6818 # include <linux/types.h>
6819 #endif
6821 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6822 cat >>confdefs.h <<_ACEOF
6823 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6824 _ACEOF
6828 done
6831 for ac_header in mach-o/dyld_images.h
6832 do :
6833 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6834 # include <stdbool.h>
6835 #endif
6836 #ifdef HAVE_STDINT_H
6837 # include <stdint.h>
6838 #endif
6840 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6841 cat >>confdefs.h <<_ACEOF
6842 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6843 _ACEOF
6847 done
6850 for ac_header in resolv.h
6851 do :
6852 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6853 #ifdef HAVE_SYS_SOCKET_H
6854 # include <sys/socket.h>
6855 #endif
6856 #ifdef HAVE_NETINET_IN_H
6857 # include <netinet/in.h>
6858 #endif
6859 #ifdef HAVE_ARPA_NAMESER_H
6860 # include <arpa/nameser.h>
6861 #endif
6863 if test "x$ac_cv_header_resolv_h" = xyes; then :
6864 cat >>confdefs.h <<_ACEOF
6865 #define HAVE_RESOLV_H 1
6866 _ACEOF
6870 done
6873 for ac_header in ifaddrs.h
6874 do :
6875 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6877 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6878 cat >>confdefs.h <<_ACEOF
6879 #define HAVE_IFADDRS_H 1
6880 _ACEOF
6884 done
6887 for ac_header in ucontext.h
6888 do :
6889 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6891 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6892 cat >>confdefs.h <<_ACEOF
6893 #define HAVE_UCONTEXT_H 1
6894 _ACEOF
6898 done
6901 for ac_header in sys/thr.h
6902 do :
6903 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6904 #ifdef HAVE_UCONTEXT_H
6905 #include <ucontext.h>
6906 #endif
6908 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6909 cat >>confdefs.h <<_ACEOF
6910 #define HAVE_SYS_THR_H 1
6911 _ACEOF
6915 done
6918 for ac_header in pthread_np.h
6919 do :
6920 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6921 #include <pthread.h>
6922 #endif
6924 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6925 cat >>confdefs.h <<_ACEOF
6926 #define HAVE_PTHREAD_NP_H 1
6927 _ACEOF
6931 done
6934 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6935 do :
6936 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6937 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6938 #include <sys/time.h>
6939 #endif
6940 #include <sys/types.h>
6941 #ifdef HAVE_ASM_TYPES_H
6942 #include <asm/types.h>
6943 #endif
6945 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6946 cat >>confdefs.h <<_ACEOF
6947 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6948 _ACEOF
6952 done
6955 for ac_header in libprocstat.h
6956 do :
6957 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6958 #include <sys/param.h>
6959 #endif
6960 #ifdef HAVE_SYS_QUEUE_H
6961 #include <sys/queue.h>
6962 #endif
6963 #ifdef HAVE_SYS_SOCKET_H
6964 #include <sys/socket.h>
6965 #endif
6967 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6968 cat >>confdefs.h <<_ACEOF
6969 #define HAVE_LIBPROCSTAT_H 1
6970 _ACEOF
6974 done
6978 dlldir="\${libdir}/wine"
6980 DLLPREFIX=""
6982 DLLFLAGS="-D_REENTRANT"
6984 IMPLIBEXT="def"
6986 LDRPATH_INSTALL=""
6988 LDRPATH_LOCAL=""
6990 LIBEXT="so"
6991 DLLEXT=".so"
6992 STATIC_IMPLIBEXT="def.a"
6993 # Extract the first word of "ldd", so it can be a program name with args.
6994 set dummy ldd; ac_word=$2
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6996 $as_echo_n "checking for $ac_word... " >&6; }
6997 if ${ac_cv_path_LDD+:} false; then :
6998 $as_echo_n "(cached) " >&6
6999 else
7000 case $LDD in
7001 [\\/]* | ?:[\\/]*)
7002 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7006 as_dummy="/sbin:/usr/sbin:$PATH"
7007 for as_dir in $as_dummy
7009 IFS=$as_save_IFS
7010 test -z "$as_dir" && as_dir=.
7011 for ac_exec_ext in '' $ac_executable_extensions; do
7012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7013 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7015 break 2
7017 done
7018 done
7019 IFS=$as_save_IFS
7021 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7023 esac
7025 LDD=$ac_cv_path_LDD
7026 if test -n "$LDD"; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7028 $as_echo "$LDD" >&6; }
7029 else
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7031 $as_echo "no" >&6; }
7035 if test -n "$ac_tool_prefix"; then
7036 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7037 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039 $as_echo_n "checking for $ac_word... " >&6; }
7040 if ${ac_cv_prog_READELF+:} false; then :
7041 $as_echo_n "(cached) " >&6
7042 else
7043 if test -n "$READELF"; then
7044 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7045 else
7046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 for as_dir in $PATH
7049 IFS=$as_save_IFS
7050 test -z "$as_dir" && as_dir=.
7051 for ac_exec_ext in '' $ac_executable_extensions; do
7052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7053 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7055 break 2
7057 done
7058 done
7059 IFS=$as_save_IFS
7063 READELF=$ac_cv_prog_READELF
7064 if test -n "$READELF"; then
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7066 $as_echo "$READELF" >&6; }
7067 else
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7069 $as_echo "no" >&6; }
7074 if test -z "$ac_cv_prog_READELF"; then
7075 ac_ct_READELF=$READELF
7076 # Extract the first word of "readelf", so it can be a program name with args.
7077 set dummy readelf; ac_word=$2
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7079 $as_echo_n "checking for $ac_word... " >&6; }
7080 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7081 $as_echo_n "(cached) " >&6
7082 else
7083 if test -n "$ac_ct_READELF"; then
7084 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7085 else
7086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 for as_dir in $PATH
7089 IFS=$as_save_IFS
7090 test -z "$as_dir" && as_dir=.
7091 for ac_exec_ext in '' $ac_executable_extensions; do
7092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7093 ac_cv_prog_ac_ct_READELF="readelf"
7094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7095 break 2
7097 done
7098 done
7099 IFS=$as_save_IFS
7103 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7104 if test -n "$ac_ct_READELF"; then
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7106 $as_echo "$ac_ct_READELF" >&6; }
7107 else
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7109 $as_echo "no" >&6; }
7112 if test "x$ac_ct_READELF" = x; then
7113 READELF="true"
7114 else
7115 case $cross_compiling:$ac_tool_warned in
7116 yes:)
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7119 ac_tool_warned=yes ;;
7120 esac
7121 READELF=$ac_ct_READELF
7123 else
7124 READELF="$ac_cv_prog_READELF"
7128 wine_binary="wine"
7129 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7131 LOADER_RULES="
7132 all: $wine_binary wine-installed
7134 install install-lib:: wine-installed \$(DESTDIR)\$(bindir)
7135 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7137 uninstall::
7138 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7142 case $host_os in
7143 cygwin*|mingw32*)
7144 if test -n "$ac_tool_prefix"; then
7145 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7146 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7148 $as_echo_n "checking for $ac_word... " >&6; }
7149 if ${ac_cv_prog_DLLTOOL+:} false; then :
7150 $as_echo_n "(cached) " >&6
7151 else
7152 if test -n "$DLLTOOL"; then
7153 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7154 else
7155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7156 for as_dir in $PATH
7158 IFS=$as_save_IFS
7159 test -z "$as_dir" && as_dir=.
7160 for ac_exec_ext in '' $ac_executable_extensions; do
7161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7162 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7164 break 2
7166 done
7167 done
7168 IFS=$as_save_IFS
7172 DLLTOOL=$ac_cv_prog_DLLTOOL
7173 if test -n "$DLLTOOL"; then
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7175 $as_echo "$DLLTOOL" >&6; }
7176 else
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7178 $as_echo "no" >&6; }
7183 if test -z "$ac_cv_prog_DLLTOOL"; then
7184 ac_ct_DLLTOOL=$DLLTOOL
7185 # Extract the first word of "dlltool", so it can be a program name with args.
7186 set dummy dlltool; ac_word=$2
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 $as_echo_n "checking for $ac_word... " >&6; }
7189 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7190 $as_echo_n "(cached) " >&6
7191 else
7192 if test -n "$ac_ct_DLLTOOL"; then
7193 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7194 else
7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7196 for as_dir in $PATH
7198 IFS=$as_save_IFS
7199 test -z "$as_dir" && as_dir=.
7200 for ac_exec_ext in '' $ac_executable_extensions; do
7201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7202 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204 break 2
7206 done
7207 done
7208 IFS=$as_save_IFS
7212 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7213 if test -n "$ac_ct_DLLTOOL"; then
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7215 $as_echo "$ac_ct_DLLTOOL" >&6; }
7216 else
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 $as_echo "no" >&6; }
7221 if test "x$ac_ct_DLLTOOL" = x; then
7222 DLLTOOL="false"
7223 else
7224 case $cross_compiling:$ac_tool_warned in
7225 yes:)
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7228 ac_tool_warned=yes ;;
7229 esac
7230 DLLTOOL=$ac_ct_DLLTOOL
7232 else
7233 DLLTOOL="$ac_cv_prog_DLLTOOL"
7236 LIBEXT="dll"
7237 DLLEXT=""
7238 IMPLIBEXT="a"
7239 STATIC_IMPLIBEXT="a"
7240 enable_iphlpapi=${enable_iphlpapi:-no}
7241 enable_kernel32=${enable_kernel32:-no}
7242 enable_msvcrt=${enable_msvcrt:-no}
7243 enable_ntdll=${enable_ntdll:-no}
7244 enable_ws2_32=${enable_ws2_32:-no}
7245 enable_loader=${enable_loader:-no}
7246 enable_server=${enable_server:-no}
7247 with_x=${with_x:-no}
7248 with_pthread=${with_pthread:-no}
7250 crtlibs=""
7251 case $host_os in
7252 mingw32*)
7253 crtlibs="-lmsvcrt"
7254 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7256 esac
7258 LIBWINE_RULES="
7259 all: libwine.dll libwine.a
7261 libwine.a: wine.def
7262 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7264 libwine.dll: \$(OBJS) wine.def Makefile.in
7265 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7267 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
7268 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7270 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
7271 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7273 uninstall::
7274 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7276 clean::
7277 \$(RM) libwine.dll version.c
7282 darwin*|macosx*)
7283 LIBEXT="dylib"
7284 DLLFLAGS="$DLLFLAGS -fPIC"
7285 LIBWINE_LDFLAGS="-multiply_defined suppress"
7286 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7287 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7288 COREFOUNDATIONLIB="-framework CoreFoundation"
7290 IOKITLIB="-framework IOKit -framework CoreFoundation"
7292 FORCEFEEDBACKLIB="-framework ForceFeedback -framework CoreFoundation"
7294 APPLICATIONSERVICESLIB="-framework ApplicationServices"
7296 CORESERVICESLIB="-framework CoreServices"
7298 APPKITLIB="-framework AppKit"
7300 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7301 case $host_os in
7302 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7303 esac
7304 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7305 then
7306 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
7309 if test "$ac_cv_header_Security_Security_h" = "yes"
7310 then
7311 SECURITYLIB="-framework Security -framework CoreFoundation"
7313 ac_save_LIBS="$LIBS"
7314 LIBS="$LIBS $SECURITYLIB"
7315 for ac_func in SSLCopyPeerCertificates
7316 do :
7317 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7318 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7319 cat >>confdefs.h <<_ACEOF
7320 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7321 _ACEOF
7324 done
7326 LIBS="$ac_save_LIBS"
7327 with_gnutls=${with_gnutls:-no}
7329 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7330 then
7331 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7332 then
7333 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7335 else
7336 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7339 ac_save_LIBS="$LIBS"
7340 LIBS="$LIBS $COREAUDIO"
7341 for ac_func in AUGraphAddNode
7342 do :
7343 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7344 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7345 cat >>confdefs.h <<_ACEOF
7346 #define HAVE_AUGRAPHADDNODE 1
7347 _ACEOF
7350 done
7352 LIBS="$ac_save_LIBS"
7354 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7355 then
7356 FRAMEWORK_OPENAL="-framework OpenAL"
7359 cat >>confdefs.h <<_ACEOF
7360 #define HAVE_OPENAL 1
7361 _ACEOF
7363 ac_cv_lib_openal=yes
7365 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7366 then
7367 LIBOPENCL="-framework OpenCL"
7369 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7371 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7372 then
7373 ac_save_LIBS="$LIBS"
7374 LIBS="$LIBS $IOKITLIB"
7375 for ac_func in IOHIDManagerCreate
7376 do :
7377 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7378 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7379 cat >>confdefs.h <<_ACEOF
7380 #define HAVE_IOHIDMANAGERCREATE 1
7381 _ACEOF
7384 done
7386 LIBS="$ac_save_LIBS"
7388 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7389 then
7390 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7392 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7393 else
7394 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7396 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7397 then
7398 CARBONLIB="-framework Carbon"
7402 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7403 then
7404 ac_save_LIBS="$LIBS"
7405 LIBS="$LIBS $APPLICATIONSERVICESLIB"
7406 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7407 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7408 enable_winemac_drv=${enable_winemac_drv:-yes}
7411 LIBS="$ac_save_LIBS"
7414 if test "x$enable_win16" = "xyes"
7415 then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7417 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7418 if test "$cross_compiling" = yes; then :
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7420 $as_echo "cross-compiling, assuming yes" >&6; }
7421 else
7422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7423 /* end confdefs.h. */
7424 asm(".text\n"
7425 "bad:\tnop;nop\n"
7426 "good:\tnop;nop\n\t"
7427 ".globl _testfunc\n"
7428 "_testfunc:\tcallw good");
7429 extern void testfunc();
7431 main ()
7433 unsigned short *p = (unsigned short *)testfunc;
7434 return p[0] != 0xe866 || p[1] != 0xfffa
7436 return 0;
7438 _ACEOF
7439 if ac_fn_c_try_run "$LINENO"; then :
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7441 $as_echo "yes" >&6; }
7442 else
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7444 $as_echo "no" >&6; }
7445 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
7447 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7448 conftest.$ac_objext conftest.beam conftest.$ac_ext
7453 LIBWINE_RULES="
7454 all: libwine.dylib
7456 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
7457 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7459 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
7460 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
7462 libwine.dylib: libwine.\$(SOVERSION).dylib
7463 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
7465 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
7466 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
7467 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7469 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7470 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
7472 uninstall::
7473 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7475 clean::
7476 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
7480 as_fn_append LOADER_RULES "
7481 $wine_binary: main.o Makefile.in wine_info.plist
7482 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7484 wine-installed: main.o Makefile.in wine_info.plist
7485 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7487 wine_info.plist: wine_info.plist.in \$(top_builddir)/include/config.h
7488 LC_ALL=C sed -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g' \$(srcdir)/wine_info.plist.in >\$@ || (\$(RM) \$@ && false)
7492 linux-android*)
7493 DLLFLAGS="$DLLFLAGS -fPIC"
7494 DLLPREFIX="lib"
7495 LDEXECFLAGS=""
7496 dlldir="\${libdir}"
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7498 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7499 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7500 $as_echo_n "(cached) " >&6
7501 else
7502 ac_wine_try_cflags_saved=$CFLAGS
7503 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7505 /* end confdefs.h. */
7506 int main(int argc, char **argv) { return 0; }
7507 _ACEOF
7508 if ac_fn_c_try_link "$LINENO"; then :
7509 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7510 else
7511 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7513 rm -f core conftest.err conftest.$ac_objext \
7514 conftest$ac_exeext conftest.$ac_ext
7515 CFLAGS=$ac_wine_try_cflags_saved
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7518 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7519 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7520 LDEXECFLAGS="-Wl,--export-dynamic"
7522 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7524 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7525 if eval \${$as_ac_var+:} false; then :
7526 $as_echo_n "(cached) " >&6
7527 else
7528 ac_wine_try_cflags_saved=$CFLAGS
7529 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7531 /* end confdefs.h. */
7532 int main(int argc, char **argv) { return 0; }
7533 _ACEOF
7534 if ac_fn_c_try_link "$LINENO"; then :
7535 eval "$as_ac_var=yes"
7536 else
7537 eval "$as_ac_var=no"
7539 rm -f core conftest.err conftest.$ac_objext \
7540 conftest$ac_exeext conftest.$ac_ext
7541 CFLAGS=$ac_wine_try_cflags_saved
7543 eval ac_res=\$$as_ac_var
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7545 $as_echo "$ac_res" >&6; }
7546 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7547 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7548 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7549 else
7550 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7552 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7553 if eval \${$as_ac_var+:} false; then :
7554 $as_echo_n "(cached) " >&6
7555 else
7556 ac_wine_try_cflags_saved=$CFLAGS
7557 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7559 /* end confdefs.h. */
7560 int main(int argc, char **argv) { return 0; }
7561 _ACEOF
7562 if ac_fn_c_try_link "$LINENO"; then :
7563 eval "$as_ac_var=yes"
7564 else
7565 eval "$as_ac_var=no"
7567 rm -f core conftest.err conftest.$ac_objext \
7568 conftest$ac_exeext conftest.$ac_ext
7569 CFLAGS=$ac_wine_try_cflags_saved
7571 eval ac_res=\$$as_ac_var
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7573 $as_echo "$ac_res" >&6; }
7574 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7575 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7576 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7581 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7582 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7583 $as_echo_n "(cached) " >&6
7584 else
7585 ac_wine_try_cflags_saved=$CFLAGS
7586 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7588 /* end confdefs.h. */
7589 int main(int argc, char **argv) { return 0; }
7590 _ACEOF
7591 if ac_fn_c_try_link "$LINENO"; then :
7592 ac_cv_cflags__Wl___enable_new_dtags=yes
7593 else
7594 ac_cv_cflags__Wl___enable_new_dtags=no
7596 rm -f core conftest.err conftest.$ac_objext \
7597 conftest$ac_exeext conftest.$ac_ext
7598 CFLAGS=$ac_wine_try_cflags_saved
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7601 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7602 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7603 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7606 case $host_cpu in
7607 *i[3456789]86* | x86_64)
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7609 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7610 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7611 $as_echo_n "(cached) " >&6
7612 else
7613 ac_wine_try_cflags_saved=$CFLAGS
7614 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7616 /* end confdefs.h. */
7617 int main(int argc, char **argv) { return 0; }
7618 _ACEOF
7619 if ac_fn_c_try_link "$LINENO"; then :
7620 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7621 else
7622 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7624 rm -f core conftest.err conftest.$ac_objext \
7625 conftest$ac_exeext conftest.$ac_ext
7626 CFLAGS=$ac_wine_try_cflags_saved
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7629 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7630 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7631 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7634 esac
7636 LIBWINE_RULES="
7637 all: libwine.so
7639 libwine.so: \$(OBJS) Makefile.in
7640 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7642 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7643 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7645 uninstall::
7646 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7648 clean::
7649 \$(RM) libwine.so version.c
7653 as_fn_append LOADER_RULES "
7654 $wine_binary: main.o Makefile.in
7655 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7657 wine-installed: main.o Makefile.in
7658 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7663 DLLFLAGS="$DLLFLAGS -fPIC"
7664 LDEXECFLAGS=""
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7666 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7667 if ${ac_cv_c_dll_gnuelf+:} false; then :
7668 $as_echo_n "(cached) " >&6
7669 else
7670 ac_wine_try_cflags_saved=$CFLAGS
7671 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7673 /* end confdefs.h. */
7674 void myfunc() {}
7675 _ACEOF
7676 if ac_fn_c_try_link "$LINENO"; then :
7677 ac_cv_c_dll_gnuelf="yes"
7678 else
7679 ac_cv_c_dll_gnuelf="no"
7681 rm -f core conftest.err conftest.$ac_objext \
7682 conftest$ac_exeext conftest.$ac_ext
7683 CFLAGS=$ac_wine_try_cflags_saved
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7686 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7687 if test "$ac_cv_c_dll_gnuelf" = "yes"
7688 then
7689 LDSHARED="\$(CC) -shared"
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7691 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7692 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
7693 $as_echo_n "(cached) " >&6
7694 else
7695 ac_wine_try_cflags_saved=$CFLAGS
7696 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7698 /* end confdefs.h. */
7699 int main(int argc, char **argv) { return 0; }
7700 _ACEOF
7701 if ac_fn_c_try_link "$LINENO"; then :
7702 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
7703 else
7704 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
7706 rm -f core conftest.err conftest.$ac_objext \
7707 conftest$ac_exeext conftest.$ac_ext
7708 CFLAGS=$ac_wine_try_cflags_saved
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7711 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7712 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7713 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7714 else
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7716 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7717 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
7718 $as_echo_n "(cached) " >&6
7719 else
7720 ac_wine_try_cflags_saved=$CFLAGS
7721 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7723 /* end confdefs.h. */
7724 int main(int argc, char **argv) { return 0; }
7725 _ACEOF
7726 if ac_fn_c_try_link "$LINENO"; then :
7727 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
7728 else
7729 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
7731 rm -f core conftest.err conftest.$ac_objext \
7732 conftest$ac_exeext conftest.$ac_ext
7733 CFLAGS=$ac_wine_try_cflags_saved
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7736 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7737 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7738 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7742 echo '{ global: *; };' >conftest.map
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7744 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7745 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
7746 $as_echo_n "(cached) " >&6
7747 else
7748 ac_wine_try_cflags_saved=$CFLAGS
7749 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7751 /* end confdefs.h. */
7752 int main(int argc, char **argv) { return 0; }
7753 _ACEOF
7754 if ac_fn_c_try_link "$LINENO"; then :
7755 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
7756 else
7757 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
7759 rm -f core conftest.err conftest.$ac_objext \
7760 conftest$ac_exeext conftest.$ac_ext
7761 CFLAGS=$ac_wine_try_cflags_saved
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7764 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7765 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7766 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7768 rm -f conftest.map
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7771 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7772 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7773 $as_echo_n "(cached) " >&6
7774 else
7775 ac_wine_try_cflags_saved=$CFLAGS
7776 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7778 /* end confdefs.h. */
7779 int main(int argc, char **argv) { return 0; }
7780 _ACEOF
7781 if ac_fn_c_try_link "$LINENO"; then :
7782 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7783 else
7784 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7786 rm -f core conftest.err conftest.$ac_objext \
7787 conftest$ac_exeext conftest.$ac_ext
7788 CFLAGS=$ac_wine_try_cflags_saved
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7791 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7792 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7793 LDEXECFLAGS="-Wl,--export-dynamic"
7796 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7798 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7799 if eval \${$as_ac_var+:} false; then :
7800 $as_echo_n "(cached) " >&6
7801 else
7802 ac_wine_try_cflags_saved=$CFLAGS
7803 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7805 /* end confdefs.h. */
7806 int main(int argc, char **argv) { return 0; }
7807 _ACEOF
7808 if ac_fn_c_try_link "$LINENO"; then :
7809 eval "$as_ac_var=yes"
7810 else
7811 eval "$as_ac_var=no"
7813 rm -f core conftest.err conftest.$ac_objext \
7814 conftest$ac_exeext conftest.$ac_ext
7815 CFLAGS=$ac_wine_try_cflags_saved
7817 eval ac_res=\$$as_ac_var
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7819 $as_echo "$ac_res" >&6; }
7820 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7821 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7822 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7823 else
7824 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7826 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7827 if eval \${$as_ac_var+:} false; then :
7828 $as_echo_n "(cached) " >&6
7829 else
7830 ac_wine_try_cflags_saved=$CFLAGS
7831 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7833 /* end confdefs.h. */
7834 int main(int argc, char **argv) { return 0; }
7835 _ACEOF
7836 if ac_fn_c_try_link "$LINENO"; then :
7837 eval "$as_ac_var=yes"
7838 else
7839 eval "$as_ac_var=no"
7841 rm -f core conftest.err conftest.$ac_objext \
7842 conftest$ac_exeext conftest.$ac_ext
7843 CFLAGS=$ac_wine_try_cflags_saved
7845 eval ac_res=\$$as_ac_var
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7847 $as_echo "$ac_res" >&6; }
7848 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7849 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7850 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7855 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7856 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7857 $as_echo_n "(cached) " >&6
7858 else
7859 ac_wine_try_cflags_saved=$CFLAGS
7860 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7862 /* end confdefs.h. */
7863 int main(int argc, char **argv) { return 0; }
7864 _ACEOF
7865 if ac_fn_c_try_link "$LINENO"; then :
7866 ac_cv_cflags__Wl___enable_new_dtags=yes
7867 else
7868 ac_cv_cflags__Wl___enable_new_dtags=no
7870 rm -f core conftest.err conftest.$ac_objext \
7871 conftest$ac_exeext conftest.$ac_ext
7872 CFLAGS=$ac_wine_try_cflags_saved
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7875 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7876 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7877 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7880 case $host_cpu in
7881 *i[3456789]86* | x86_64)
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7883 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7884 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7885 $as_echo_n "(cached) " >&6
7886 else
7887 ac_wine_try_cflags_saved=$CFLAGS
7888 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7890 /* end confdefs.h. */
7891 int main(int argc, char **argv) { return 0; }
7892 _ACEOF
7893 if ac_fn_c_try_link "$LINENO"; then :
7894 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7895 else
7896 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7898 rm -f core conftest.err conftest.$ac_objext \
7899 conftest$ac_exeext conftest.$ac_ext
7900 CFLAGS=$ac_wine_try_cflags_saved
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7903 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7904 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7905 case $host_os in
7906 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7907 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7908 esac
7911 # Extract the first word of "prelink", so it can be a program name with args.
7912 set dummy prelink; ac_word=$2
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7914 $as_echo_n "checking for $ac_word... " >&6; }
7915 if ${ac_cv_path_PRELINK+:} false; then :
7916 $as_echo_n "(cached) " >&6
7917 else
7918 case $PRELINK in
7919 [\\/]* | ?:[\\/]*)
7920 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
7923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924 for as_dir in /sbin /usr/sbin $PATH
7926 IFS=$as_save_IFS
7927 test -z "$as_dir" && as_dir=.
7928 for ac_exec_ext in '' $ac_executable_extensions; do
7929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7930 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
7931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7932 break 2
7934 done
7935 done
7936 IFS=$as_save_IFS
7938 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7940 esac
7942 PRELINK=$ac_cv_path_PRELINK
7943 if test -n "$PRELINK"; then
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7945 $as_echo "$PRELINK" >&6; }
7946 else
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7948 $as_echo "no" >&6; }
7952 if test "x$PRELINK" = xfalse
7953 then
7954 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7957 esac
7959 else
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7961 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7962 if ${ac_cv_c_dll_unixware+:} false; then :
7963 $as_echo_n "(cached) " >&6
7964 else
7965 ac_wine_try_cflags_saved=$CFLAGS
7966 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7968 /* end confdefs.h. */
7969 void myfunc() {}
7970 _ACEOF
7971 if ac_fn_c_try_link "$LINENO"; then :
7972 ac_cv_c_dll_unixware="yes"
7973 else
7974 ac_cv_c_dll_unixware="no"
7976 rm -f core conftest.err conftest.$ac_objext \
7977 conftest$ac_exeext conftest.$ac_ext
7978 CFLAGS=$ac_wine_try_cflags_saved
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7981 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7982 if test "$ac_cv_c_dll_unixware" = "yes"
7983 then
7984 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7987 LIBWINE_RULES="
7988 all: libwine.so
7990 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7991 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7993 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7994 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7996 libwine.so: libwine.so.\$(SOVERSION)
7997 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7999 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
8000 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
8001 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8003 install install-dev:: \$(DESTDIR)\$(libdir) dummy
8004 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
8006 uninstall::
8007 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8009 clean::
8010 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
8014 as_fn_append LOADER_RULES "
8015 $wine_binary: main.o Makefile.in
8016 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8018 wine-installed: main.o Makefile.in
8019 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8022 esac
8024 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8025 enable_winemac_drv=${enable_winemac_drv:-no}
8027 CROSSTARGET=""
8029 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8030 then
8031 case "$host_cpu" in
8032 i[3456789]86*)
8033 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
8034 mingw32-gcc" ;;
8035 x86_64)
8036 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 " ;;
8038 ac_prefix_list="" ;;
8039 esac
8040 for ac_prog in $ac_prefix_list
8042 # Extract the first word of "$ac_prog", so it can be a program name with args.
8043 set dummy $ac_prog; ac_word=$2
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8045 $as_echo_n "checking for $ac_word... " >&6; }
8046 if ${ac_cv_prog_CROSSCC+:} false; then :
8047 $as_echo_n "(cached) " >&6
8048 else
8049 if test -n "$CROSSCC"; then
8050 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8051 else
8052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8053 for as_dir in $PATH
8055 IFS=$as_save_IFS
8056 test -z "$as_dir" && as_dir=.
8057 for ac_exec_ext in '' $ac_executable_extensions; do
8058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8059 ac_cv_prog_CROSSCC="$ac_prog"
8060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8061 break 2
8063 done
8064 done
8065 IFS=$as_save_IFS
8069 CROSSCC=$ac_cv_prog_CROSSCC
8070 if test -n "$CROSSCC"; then
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8072 $as_echo "$CROSSCC" >&6; }
8073 else
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8075 $as_echo "no" >&6; }
8079 test -n "$CROSSCC" && break
8080 done
8081 test -n "$CROSSCC" || CROSSCC="false"
8083 if test "$CROSSCC" != "false"
8084 then
8085 ac_save_CC="$CC"
8086 CC="$CROSSCC"
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8088 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8090 /* end confdefs.h. */
8093 main ()
8097 return 0;
8099 _ACEOF
8100 if ac_fn_c_try_compile "$LINENO"; then :
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8102 $as_echo "yes" >&6; }
8103 set x $CROSSCC
8104 shift
8105 while test $# -ge 1
8107 case "$1" in
8108 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8109 esac
8110 shift
8111 done
8112 else
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8114 $as_echo "no" >&6; }
8116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8117 CC="$ac_save_CC"
8122 if test "$ac_cv_header_pthread_h" = "yes"
8123 then
8124 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8125 if test "x$ac_cv_func_pthread_create" = xyes; then :
8127 else
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8129 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8130 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8131 $as_echo_n "(cached) " >&6
8132 else
8133 ac_check_lib_save_LIBS=$LIBS
8134 LIBS="-lpthread $LIBS"
8135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8136 /* end confdefs.h. */
8138 /* Override any GCC internal prototype to avoid an error.
8139 Use char because int might match the return type of a GCC
8140 builtin and then its argument prototype would still apply. */
8141 #ifdef __cplusplus
8142 extern "C"
8143 #endif
8144 char pthread_create ();
8146 main ()
8148 return pthread_create ();
8150 return 0;
8152 _ACEOF
8153 if ac_fn_c_try_link "$LINENO"; then :
8154 ac_cv_lib_pthread_pthread_create=yes
8155 else
8156 ac_cv_lib_pthread_pthread_create=no
8158 rm -f core conftest.err conftest.$ac_objext \
8159 conftest$ac_exeext conftest.$ac_ext
8160 LIBS=$ac_check_lib_save_LIBS
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8163 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8164 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8165 LIBPTHREAD="-lpthread"
8172 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
8173 case "x$with_pthread" in
8174 xno) ;;
8175 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8176 Wine cannot support threads without libpthread.
8177 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8178 esac
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8183 $as_echo_n "checking for X... " >&6; }
8186 # Check whether --with-x was given.
8187 if test "${with_x+set}" = set; then :
8188 withval=$with_x;
8191 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8192 if test "x$with_x" = xno; then
8193 # The user explicitly disabled X.
8194 have_x=disabled
8195 else
8196 case $x_includes,$x_libraries in #(
8197 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8198 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8199 $as_echo_n "(cached) " >&6
8200 else
8201 # One or both of the vars are not set, and there is no cached value.
8202 ac_x_includes=no ac_x_libraries=no
8203 rm -f -r conftest.dir
8204 if mkdir conftest.dir; then
8205 cd conftest.dir
8206 cat >Imakefile <<'_ACEOF'
8207 incroot:
8208 @echo incroot='${INCROOT}'
8209 usrlibdir:
8210 @echo usrlibdir='${USRLIBDIR}'
8211 libdir:
8212 @echo libdir='${LIBDIR}'
8213 _ACEOF
8214 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8215 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8216 for ac_var in incroot usrlibdir libdir; do
8217 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8218 done
8219 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8220 for ac_extension in a so sl dylib la dll; do
8221 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8222 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8223 ac_im_usrlibdir=$ac_im_libdir; break
8225 done
8226 # Screen out bogus values from the imake configuration. They are
8227 # bogus both because they are the default anyway, and because
8228 # using them would break gcc on systems where it needs fixed includes.
8229 case $ac_im_incroot in
8230 /usr/include) ac_x_includes= ;;
8231 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8232 esac
8233 case $ac_im_usrlibdir in
8234 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8235 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8236 esac
8238 cd ..
8239 rm -f -r conftest.dir
8242 # Standard set of common directories for X headers.
8243 # Check X11 before X11Rn because it is often a symlink to the current release.
8244 ac_x_header_dirs='
8245 /usr/X11/include
8246 /usr/X11R7/include
8247 /usr/X11R6/include
8248 /usr/X11R5/include
8249 /usr/X11R4/include
8251 /usr/include/X11
8252 /usr/include/X11R7
8253 /usr/include/X11R6
8254 /usr/include/X11R5
8255 /usr/include/X11R4
8257 /usr/local/X11/include
8258 /usr/local/X11R7/include
8259 /usr/local/X11R6/include
8260 /usr/local/X11R5/include
8261 /usr/local/X11R4/include
8263 /usr/local/include/X11
8264 /usr/local/include/X11R7
8265 /usr/local/include/X11R6
8266 /usr/local/include/X11R5
8267 /usr/local/include/X11R4
8269 /usr/X386/include
8270 /usr/x386/include
8271 /usr/XFree86/include/X11
8273 /usr/include
8274 /usr/local/include
8275 /usr/unsupported/include
8276 /usr/athena/include
8277 /usr/local/x11r5/include
8278 /usr/lpp/Xamples/include
8280 /usr/openwin/include
8281 /usr/openwin/share/include'
8283 if test "$ac_x_includes" = no; then
8284 # Guess where to find include files, by looking for Xlib.h.
8285 # First, try using that file with no special directory specified.
8286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8287 /* end confdefs.h. */
8288 #include <X11/Xlib.h>
8289 _ACEOF
8290 if ac_fn_c_try_cpp "$LINENO"; then :
8291 # We can compile using X headers with no special include directory.
8292 ac_x_includes=
8293 else
8294 for ac_dir in $ac_x_header_dirs; do
8295 if test -r "$ac_dir/X11/Xlib.h"; then
8296 ac_x_includes=$ac_dir
8297 break
8299 done
8301 rm -f conftest.err conftest.i conftest.$ac_ext
8302 fi # $ac_x_includes = no
8304 if test "$ac_x_libraries" = no; then
8305 # Check for the libraries.
8306 # See if we find them without any special options.
8307 # Don't add to $LIBS permanently.
8308 ac_save_LIBS=$LIBS
8309 LIBS="-lX11 $LIBS"
8310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8311 /* end confdefs.h. */
8312 #include <X11/Xlib.h>
8314 main ()
8316 XrmInitialize ()
8318 return 0;
8320 _ACEOF
8321 if ac_fn_c_try_link "$LINENO"; then :
8322 LIBS=$ac_save_LIBS
8323 # We can link X programs with no special library path.
8324 ac_x_libraries=
8325 else
8326 LIBS=$ac_save_LIBS
8327 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8329 # Don't even attempt the hair of trying to link an X program!
8330 for ac_extension in a so sl dylib la dll; do
8331 if test -r "$ac_dir/libX11.$ac_extension"; then
8332 ac_x_libraries=$ac_dir
8333 break 2
8335 done
8336 done
8338 rm -f core conftest.err conftest.$ac_objext \
8339 conftest$ac_exeext conftest.$ac_ext
8340 fi # $ac_x_libraries = no
8342 case $ac_x_includes,$ac_x_libraries in #(
8343 no,* | *,no | *\'*)
8344 # Didn't find X, or a directory has "'" in its name.
8345 ac_cv_have_x="have_x=no";; #(
8347 # Record where we found X for the cache.
8348 ac_cv_have_x="have_x=yes\
8349 ac_x_includes='$ac_x_includes'\
8350 ac_x_libraries='$ac_x_libraries'"
8351 esac
8353 ;; #(
8354 *) have_x=yes;;
8355 esac
8356 eval "$ac_cv_have_x"
8357 fi # $with_x != no
8359 if test "$have_x" != yes; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8361 $as_echo "$have_x" >&6; }
8362 no_x=yes
8363 else
8364 # If each of the values was on the command line, it overrides each guess.
8365 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8366 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8367 # Update the cache value to reflect the command line values.
8368 ac_cv_have_x="have_x=yes\
8369 ac_x_includes='$x_includes'\
8370 ac_x_libraries='$x_libraries'"
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8372 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8375 if test "$no_x" = yes; then
8376 # Not all programs may use this symbol, but it does not hurt to define it.
8378 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8380 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8381 else
8382 if test -n "$x_includes"; then
8383 X_CFLAGS="$X_CFLAGS -I$x_includes"
8386 # It would also be nice to do this for all -L options, not just this one.
8387 if test -n "$x_libraries"; then
8388 X_LIBS="$X_LIBS -L$x_libraries"
8389 # For Solaris; some versions of Sun CC require a space after -R and
8390 # others require no space. Words are not sufficient . . . .
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8392 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8393 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8394 ac_xsave_c_werror_flag=$ac_c_werror_flag
8395 ac_c_werror_flag=yes
8396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8397 /* end confdefs.h. */
8400 main ()
8404 return 0;
8406 _ACEOF
8407 if ac_fn_c_try_link "$LINENO"; then :
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8409 $as_echo "no" >&6; }
8410 X_LIBS="$X_LIBS -R$x_libraries"
8411 else
8412 LIBS="$ac_xsave_LIBS -R $x_libraries"
8413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8414 /* end confdefs.h. */
8417 main ()
8421 return 0;
8423 _ACEOF
8424 if ac_fn_c_try_link "$LINENO"; then :
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8426 $as_echo "yes" >&6; }
8427 X_LIBS="$X_LIBS -R $x_libraries"
8428 else
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8430 $as_echo "neither works" >&6; }
8432 rm -f core conftest.err conftest.$ac_objext \
8433 conftest$ac_exeext conftest.$ac_ext
8435 rm -f core conftest.err conftest.$ac_objext \
8436 conftest$ac_exeext conftest.$ac_ext
8437 ac_c_werror_flag=$ac_xsave_c_werror_flag
8438 LIBS=$ac_xsave_LIBS
8441 # Check for system-dependent libraries X programs must link with.
8442 # Do this before checking for the system-independent R6 libraries
8443 # (-lICE), since we may need -lsocket or whatever for X linking.
8445 if test "$ISC" = yes; then
8446 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8447 else
8448 # Martyn Johnson says this is needed for Ultrix, if the X
8449 # libraries were built with DECnet support. And Karl Berry says
8450 # the Alpha needs dnet_stub (dnet does not exist).
8451 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8453 /* end confdefs.h. */
8455 /* Override any GCC internal prototype to avoid an error.
8456 Use char because int might match the return type of a GCC
8457 builtin and then its argument prototype would still apply. */
8458 #ifdef __cplusplus
8459 extern "C"
8460 #endif
8461 char XOpenDisplay ();
8463 main ()
8465 return XOpenDisplay ();
8467 return 0;
8469 _ACEOF
8470 if ac_fn_c_try_link "$LINENO"; then :
8472 else
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8474 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8475 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 ac_check_lib_save_LIBS=$LIBS
8479 LIBS="-ldnet $LIBS"
8480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8481 /* end confdefs.h. */
8483 /* Override any GCC internal prototype to avoid an error.
8484 Use char because int might match the return type of a GCC
8485 builtin and then its argument prototype would still apply. */
8486 #ifdef __cplusplus
8487 extern "C"
8488 #endif
8489 char dnet_ntoa ();
8491 main ()
8493 return dnet_ntoa ();
8495 return 0;
8497 _ACEOF
8498 if ac_fn_c_try_link "$LINENO"; then :
8499 ac_cv_lib_dnet_dnet_ntoa=yes
8500 else
8501 ac_cv_lib_dnet_dnet_ntoa=no
8503 rm -f core conftest.err conftest.$ac_objext \
8504 conftest$ac_exeext conftest.$ac_ext
8505 LIBS=$ac_check_lib_save_LIBS
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8508 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8509 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8510 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8513 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8515 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8516 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8517 $as_echo_n "(cached) " >&6
8518 else
8519 ac_check_lib_save_LIBS=$LIBS
8520 LIBS="-ldnet_stub $LIBS"
8521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8522 /* end confdefs.h. */
8524 /* Override any GCC internal prototype to avoid an error.
8525 Use char because int might match the return type of a GCC
8526 builtin and then its argument prototype would still apply. */
8527 #ifdef __cplusplus
8528 extern "C"
8529 #endif
8530 char dnet_ntoa ();
8532 main ()
8534 return dnet_ntoa ();
8536 return 0;
8538 _ACEOF
8539 if ac_fn_c_try_link "$LINENO"; then :
8540 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8541 else
8542 ac_cv_lib_dnet_stub_dnet_ntoa=no
8544 rm -f core conftest.err conftest.$ac_objext \
8545 conftest$ac_exeext conftest.$ac_ext
8546 LIBS=$ac_check_lib_save_LIBS
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8549 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8550 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8551 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8556 rm -f core conftest.err conftest.$ac_objext \
8557 conftest$ac_exeext conftest.$ac_ext
8558 LIBS="$ac_xsave_LIBS"
8560 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8561 # to get the SysV transport functions.
8562 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8563 # needs -lnsl.
8564 # The nsl library prevents programs from opening the X display
8565 # on Irix 5.2, according to T.E. Dickey.
8566 # The functions gethostbyname, getservbyname, and inet_addr are
8567 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8568 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8569 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8573 if test $ac_cv_func_gethostbyname = no; then
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8575 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8576 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8577 $as_echo_n "(cached) " >&6
8578 else
8579 ac_check_lib_save_LIBS=$LIBS
8580 LIBS="-lnsl $LIBS"
8581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8582 /* end confdefs.h. */
8584 /* Override any GCC internal prototype to avoid an error.
8585 Use char because int might match the return type of a GCC
8586 builtin and then its argument prototype would still apply. */
8587 #ifdef __cplusplus
8588 extern "C"
8589 #endif
8590 char gethostbyname ();
8592 main ()
8594 return gethostbyname ();
8596 return 0;
8598 _ACEOF
8599 if ac_fn_c_try_link "$LINENO"; then :
8600 ac_cv_lib_nsl_gethostbyname=yes
8601 else
8602 ac_cv_lib_nsl_gethostbyname=no
8604 rm -f core conftest.err conftest.$ac_objext \
8605 conftest$ac_exeext conftest.$ac_ext
8606 LIBS=$ac_check_lib_save_LIBS
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8609 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8610 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
8611 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8614 if test $ac_cv_lib_nsl_gethostbyname = no; then
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8616 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8617 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
8618 $as_echo_n "(cached) " >&6
8619 else
8620 ac_check_lib_save_LIBS=$LIBS
8621 LIBS="-lbsd $LIBS"
8622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8623 /* end confdefs.h. */
8625 /* Override any GCC internal prototype to avoid an error.
8626 Use char because int might match the return type of a GCC
8627 builtin and then its argument prototype would still apply. */
8628 #ifdef __cplusplus
8629 extern "C"
8630 #endif
8631 char gethostbyname ();
8633 main ()
8635 return gethostbyname ();
8637 return 0;
8639 _ACEOF
8640 if ac_fn_c_try_link "$LINENO"; then :
8641 ac_cv_lib_bsd_gethostbyname=yes
8642 else
8643 ac_cv_lib_bsd_gethostbyname=no
8645 rm -f core conftest.err conftest.$ac_objext \
8646 conftest$ac_exeext conftest.$ac_ext
8647 LIBS=$ac_check_lib_save_LIBS
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8650 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8651 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
8652 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
8658 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8659 # socket/setsockopt and other routines are undefined under SCO ODT
8660 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8661 # on later versions), says Simon Leinen: it contains gethostby*
8662 # variants that don't use the name server (or something). -lsocket
8663 # must be given before -lnsl if both are needed. We assume that
8664 # if connect needs -lnsl, so does gethostbyname.
8665 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
8666 if test "x$ac_cv_func_connect" = xyes; then :
8670 if test $ac_cv_func_connect = no; then
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8672 $as_echo_n "checking for connect in -lsocket... " >&6; }
8673 if ${ac_cv_lib_socket_connect+:} false; then :
8674 $as_echo_n "(cached) " >&6
8675 else
8676 ac_check_lib_save_LIBS=$LIBS
8677 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
8678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8679 /* end confdefs.h. */
8681 /* Override any GCC internal prototype to avoid an error.
8682 Use char because int might match the return type of a GCC
8683 builtin and then its argument prototype would still apply. */
8684 #ifdef __cplusplus
8685 extern "C"
8686 #endif
8687 char connect ();
8689 main ()
8691 return connect ();
8693 return 0;
8695 _ACEOF
8696 if ac_fn_c_try_link "$LINENO"; then :
8697 ac_cv_lib_socket_connect=yes
8698 else
8699 ac_cv_lib_socket_connect=no
8701 rm -f core conftest.err conftest.$ac_objext \
8702 conftest$ac_exeext conftest.$ac_ext
8703 LIBS=$ac_check_lib_save_LIBS
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8706 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8707 if test "x$ac_cv_lib_socket_connect" = xyes; then :
8708 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
8713 # Guillermo Gomez says -lposix is necessary on A/UX.
8714 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
8715 if test "x$ac_cv_func_remove" = xyes; then :
8719 if test $ac_cv_func_remove = no; then
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8721 $as_echo_n "checking for remove in -lposix... " >&6; }
8722 if ${ac_cv_lib_posix_remove+:} false; then :
8723 $as_echo_n "(cached) " >&6
8724 else
8725 ac_check_lib_save_LIBS=$LIBS
8726 LIBS="-lposix $LIBS"
8727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8728 /* end confdefs.h. */
8730 /* Override any GCC internal prototype to avoid an error.
8731 Use char because int might match the return type of a GCC
8732 builtin and then its argument prototype would still apply. */
8733 #ifdef __cplusplus
8734 extern "C"
8735 #endif
8736 char remove ();
8738 main ()
8740 return remove ();
8742 return 0;
8744 _ACEOF
8745 if ac_fn_c_try_link "$LINENO"; then :
8746 ac_cv_lib_posix_remove=yes
8747 else
8748 ac_cv_lib_posix_remove=no
8750 rm -f core conftest.err conftest.$ac_objext \
8751 conftest$ac_exeext conftest.$ac_ext
8752 LIBS=$ac_check_lib_save_LIBS
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8755 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8756 if test "x$ac_cv_lib_posix_remove" = xyes; then :
8757 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
8762 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8763 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
8764 if test "x$ac_cv_func_shmat" = xyes; then :
8768 if test $ac_cv_func_shmat = no; then
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8770 $as_echo_n "checking for shmat in -lipc... " >&6; }
8771 if ${ac_cv_lib_ipc_shmat+:} false; then :
8772 $as_echo_n "(cached) " >&6
8773 else
8774 ac_check_lib_save_LIBS=$LIBS
8775 LIBS="-lipc $LIBS"
8776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8777 /* end confdefs.h. */
8779 /* Override any GCC internal prototype to avoid an error.
8780 Use char because int might match the return type of a GCC
8781 builtin and then its argument prototype would still apply. */
8782 #ifdef __cplusplus
8783 extern "C"
8784 #endif
8785 char shmat ();
8787 main ()
8789 return shmat ();
8791 return 0;
8793 _ACEOF
8794 if ac_fn_c_try_link "$LINENO"; then :
8795 ac_cv_lib_ipc_shmat=yes
8796 else
8797 ac_cv_lib_ipc_shmat=no
8799 rm -f core conftest.err conftest.$ac_objext \
8800 conftest$ac_exeext conftest.$ac_ext
8801 LIBS=$ac_check_lib_save_LIBS
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8804 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8805 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
8806 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8812 # Check for libraries that X11R6 Xt/Xaw programs need.
8813 ac_save_LDFLAGS=$LDFLAGS
8814 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8815 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8816 # check for ICE first), but we must link in the order -lSM -lICE or
8817 # we get undefined symbols. So assume we have SM if we have ICE.
8818 # These have to be linked with before -lX11, unlike the other
8819 # libraries we check for below, so use a different variable.
8820 # John Interrante, Karl Berry
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8822 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8823 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
8824 $as_echo_n "(cached) " >&6
8825 else
8826 ac_check_lib_save_LIBS=$LIBS
8827 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8829 /* end confdefs.h. */
8831 /* Override any GCC internal prototype to avoid an error.
8832 Use char because int might match the return type of a GCC
8833 builtin and then its argument prototype would still apply. */
8834 #ifdef __cplusplus
8835 extern "C"
8836 #endif
8837 char IceConnectionNumber ();
8839 main ()
8841 return IceConnectionNumber ();
8843 return 0;
8845 _ACEOF
8846 if ac_fn_c_try_link "$LINENO"; then :
8847 ac_cv_lib_ICE_IceConnectionNumber=yes
8848 else
8849 ac_cv_lib_ICE_IceConnectionNumber=no
8851 rm -f core conftest.err conftest.$ac_objext \
8852 conftest$ac_exeext conftest.$ac_ext
8853 LIBS=$ac_check_lib_save_LIBS
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8856 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8857 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
8858 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8861 LDFLAGS=$ac_save_LDFLAGS
8866 if test "$have_x" = "yes"
8867 then
8868 XLIB="-lX11"
8869 ac_save_CPPFLAGS="$CPPFLAGS"
8870 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8873 $as_echo_n "checking for -lX11... " >&6; }
8874 if ${ac_cv_lib_soname_X11+:} false; then :
8875 $as_echo_n "(cached) " >&6
8876 else
8877 ac_check_soname_save_LIBS=$LIBS
8878 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8880 /* end confdefs.h. */
8882 /* Override any GCC internal prototype to avoid an error.
8883 Use char because int might match the return type of a GCC
8884 builtin and then its argument prototype would still apply. */
8885 #ifdef __cplusplus
8886 extern "C"
8887 #endif
8888 char XCreateWindow ();
8890 main ()
8892 return XCreateWindow ();
8894 return 0;
8896 _ACEOF
8897 if ac_fn_c_try_link "$LINENO"; then :
8898 case "$LIBEXT" in
8899 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8900 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'` ;;
8901 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8902 if test "x$ac_cv_lib_soname_X11" = x; then :
8903 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8904 fi ;;
8905 esac
8907 rm -f core conftest.err conftest.$ac_objext \
8908 conftest$ac_exeext conftest.$ac_ext
8909 LIBS=$ac_check_soname_save_LIBS
8911 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8913 $as_echo "not found" >&6; }
8915 else
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8917 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8919 cat >>confdefs.h <<_ACEOF
8920 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8921 _ACEOF
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8926 $as_echo_n "checking for -lXext... " >&6; }
8927 if ${ac_cv_lib_soname_Xext+:} false; then :
8928 $as_echo_n "(cached) " >&6
8929 else
8930 ac_check_soname_save_LIBS=$LIBS
8931 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8933 /* end confdefs.h. */
8935 /* Override any GCC internal prototype to avoid an error.
8936 Use char because int might match the return type of a GCC
8937 builtin and then its argument prototype would still apply. */
8938 #ifdef __cplusplus
8939 extern "C"
8940 #endif
8941 char XextCreateExtension ();
8943 main ()
8945 return XextCreateExtension ();
8947 return 0;
8949 _ACEOF
8950 if ac_fn_c_try_link "$LINENO"; then :
8951 case "$LIBEXT" in
8952 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8953 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'` ;;
8954 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8955 if test "x$ac_cv_lib_soname_Xext" = x; then :
8956 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8957 fi ;;
8958 esac
8960 rm -f core conftest.err conftest.$ac_objext \
8961 conftest$ac_exeext conftest.$ac_ext
8962 LIBS=$ac_check_soname_save_LIBS
8964 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8966 $as_echo "not found" >&6; }
8968 else
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8970 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8972 cat >>confdefs.h <<_ACEOF
8973 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8974 _ACEOF
8976 XLIB="-lXext $XLIB"
8979 for ac_header in X11/Xlib.h \
8980 X11/XKBlib.h \
8981 X11/Xutil.h \
8982 X11/Xcursor/Xcursor.h \
8983 X11/extensions/shape.h \
8984 X11/extensions/XInput.h \
8985 X11/extensions/XInput2.h \
8986 X11/extensions/XShm.h \
8987 X11/extensions/Xcomposite.h \
8988 X11/extensions/Xinerama.h \
8989 X11/extensions/Xrandr.h \
8990 X11/extensions/Xrender.h \
8991 X11/extensions/xf86vmode.h \
8992 X11/extensions/xf86vmproto.h
8993 do :
8994 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8995 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8996 # include <X11/Xlib.h>
8997 #endif
8998 #ifdef HAVE_X11_XUTIL_H
8999 # include <X11/Xutil.h>
9000 #endif
9002 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9003 cat >>confdefs.h <<_ACEOF
9004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9005 _ACEOF
9009 done
9012 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9013 then
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9015 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9016 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9017 $as_echo_n "(cached) " >&6
9018 else
9019 ac_check_lib_save_LIBS=$LIBS
9020 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9022 /* end confdefs.h. */
9024 /* Override any GCC internal prototype to avoid an error.
9025 Use char because int might match the return type of a GCC
9026 builtin and then its argument prototype would still apply. */
9027 #ifdef __cplusplus
9028 extern "C"
9029 #endif
9030 char XkbQueryExtension ();
9032 main ()
9034 return XkbQueryExtension ();
9036 return 0;
9038 _ACEOF
9039 if ac_fn_c_try_link "$LINENO"; then :
9040 ac_cv_lib_X11_XkbQueryExtension=yes
9041 else
9042 ac_cv_lib_X11_XkbQueryExtension=no
9044 rm -f core conftest.err conftest.$ac_objext \
9045 conftest$ac_exeext conftest.$ac_ext
9046 LIBS=$ac_check_lib_save_LIBS
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9049 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9050 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9052 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9058 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9059 then
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9061 $as_echo_n "checking for -lXcursor... " >&6; }
9062 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9063 $as_echo_n "(cached) " >&6
9064 else
9065 ac_check_soname_save_LIBS=$LIBS
9066 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9068 /* end confdefs.h. */
9070 /* Override any GCC internal prototype to avoid an error.
9071 Use char because int might match the return type of a GCC
9072 builtin and then its argument prototype would still apply. */
9073 #ifdef __cplusplus
9074 extern "C"
9075 #endif
9076 char XcursorImageLoadCursor ();
9078 main ()
9080 return XcursorImageLoadCursor ();
9082 return 0;
9084 _ACEOF
9085 if ac_fn_c_try_link "$LINENO"; then :
9086 case "$LIBEXT" in
9087 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9088 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'` ;;
9089 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9090 if test "x$ac_cv_lib_soname_Xcursor" = x; then :
9091 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9092 fi ;;
9093 esac
9095 rm -f core conftest.err conftest.$ac_objext \
9096 conftest$ac_exeext conftest.$ac_ext
9097 LIBS=$ac_check_soname_save_LIBS
9099 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9101 $as_echo "not found" >&6; }
9103 else
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9105 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9107 cat >>confdefs.h <<_ACEOF
9108 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9109 _ACEOF
9114 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9115 case "x$with_xcursor" in
9116 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9117 xno) ;;
9118 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9119 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9120 esac
9123 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9124 then
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9126 $as_echo_n "checking for -lXi... " >&6; }
9127 if ${ac_cv_lib_soname_Xi+:} false; then :
9128 $as_echo_n "(cached) " >&6
9129 else
9130 ac_check_soname_save_LIBS=$LIBS
9131 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9135 /* Override any GCC internal prototype to avoid an error.
9136 Use char because int might match the return type of a GCC
9137 builtin and then its argument prototype would still apply. */
9138 #ifdef __cplusplus
9139 extern "C"
9140 #endif
9141 char XOpenDevice ();
9143 main ()
9145 return XOpenDevice ();
9147 return 0;
9149 _ACEOF
9150 if ac_fn_c_try_link "$LINENO"; then :
9151 case "$LIBEXT" in
9152 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9153 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'` ;;
9154 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9155 if test "x$ac_cv_lib_soname_Xi" = x; then :
9156 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9157 fi ;;
9158 esac
9160 rm -f core conftest.err conftest.$ac_objext \
9161 conftest$ac_exeext conftest.$ac_ext
9162 LIBS=$ac_check_soname_save_LIBS
9164 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9166 $as_echo "not found" >&6; }
9168 else
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9170 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9172 cat >>confdefs.h <<_ACEOF
9173 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9174 _ACEOF
9179 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9180 case "x$with_xinput" in
9181 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9182 xno) ;;
9183 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9184 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9185 esac
9188 if test "x$ac_cv_lib_soname_Xi" != x
9189 then
9190 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9191 case "x$with_xinput2" in
9192 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9193 xno) ;;
9194 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9195 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9196 esac
9200 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9201 then
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9203 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9204 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9205 $as_echo_n "(cached) " >&6
9206 else
9207 ac_check_lib_save_LIBS=$LIBS
9208 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9210 /* end confdefs.h. */
9212 /* Override any GCC internal prototype to avoid an error.
9213 Use char because int might match the return type of a GCC
9214 builtin and then its argument prototype would still apply. */
9215 #ifdef __cplusplus
9216 extern "C"
9217 #endif
9218 char XShmQueryExtension ();
9220 main ()
9222 return XShmQueryExtension ();
9224 return 0;
9226 _ACEOF
9227 if ac_fn_c_try_link "$LINENO"; then :
9228 ac_cv_lib_Xext_XShmQueryExtension=yes
9229 else
9230 ac_cv_lib_Xext_XShmQueryExtension=no
9232 rm -f core conftest.err conftest.$ac_objext \
9233 conftest$ac_exeext conftest.$ac_ext
9234 LIBS=$ac_check_lib_save_LIBS
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9237 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9238 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9240 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9245 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9246 case "x$with_xshm" in
9247 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9248 xno) ;;
9249 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9250 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9251 esac
9254 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9255 then
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9257 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9258 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9259 $as_echo_n "(cached) " >&6
9260 else
9261 ac_check_lib_save_LIBS=$LIBS
9262 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9264 /* end confdefs.h. */
9266 /* Override any GCC internal prototype to avoid an error.
9267 Use char because int might match the return type of a GCC
9268 builtin and then its argument prototype would still apply. */
9269 #ifdef __cplusplus
9270 extern "C"
9271 #endif
9272 char XShapeQueryExtension ();
9274 main ()
9276 return XShapeQueryExtension ();
9278 return 0;
9280 _ACEOF
9281 if ac_fn_c_try_link "$LINENO"; then :
9282 ac_cv_lib_Xext_XShapeQueryExtension=yes
9283 else
9284 ac_cv_lib_Xext_XShapeQueryExtension=no
9286 rm -f core conftest.err conftest.$ac_objext \
9287 conftest$ac_exeext conftest.$ac_ext
9288 LIBS=$ac_check_lib_save_LIBS
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9291 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9292 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9294 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9299 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9300 case "x$with_xshape" in
9301 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9302 xno) ;;
9303 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9304 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9305 esac
9308 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9309 then
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9311 $as_echo_n "checking for -lXxf86vm... " >&6; }
9312 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9313 $as_echo_n "(cached) " >&6
9314 else
9315 ac_check_soname_save_LIBS=$LIBS
9316 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9318 /* end confdefs.h. */
9320 /* Override any GCC internal prototype to avoid an error.
9321 Use char because int might match the return type of a GCC
9322 builtin and then its argument prototype would still apply. */
9323 #ifdef __cplusplus
9324 extern "C"
9325 #endif
9326 char XF86VidModeQueryExtension ();
9328 main ()
9330 return XF86VidModeQueryExtension ();
9332 return 0;
9334 _ACEOF
9335 if ac_fn_c_try_link "$LINENO"; then :
9336 case "$LIBEXT" in
9337 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9338 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'` ;;
9339 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9340 if test "x$ac_cv_lib_soname_Xxf86vm" = x; then :
9341 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9342 fi ;;
9343 esac
9345 rm -f core conftest.err conftest.$ac_objext \
9346 conftest$ac_exeext conftest.$ac_ext
9347 LIBS=$ac_check_soname_save_LIBS
9349 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9351 $as_echo "not found" >&6; }
9353 else
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9355 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9357 cat >>confdefs.h <<_ACEOF
9358 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9359 _ACEOF
9364 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9365 case "x$with_xxf86vm" in
9366 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9367 xno) ;;
9368 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9369 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9370 esac
9373 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"
9374 then
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9376 $as_echo_n "checking for -lXrender... " >&6; }
9377 if ${ac_cv_lib_soname_Xrender+:} false; then :
9378 $as_echo_n "(cached) " >&6
9379 else
9380 ac_check_soname_save_LIBS=$LIBS
9381 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9383 /* end confdefs.h. */
9385 /* Override any GCC internal prototype to avoid an error.
9386 Use char because int might match the return type of a GCC
9387 builtin and then its argument prototype would still apply. */
9388 #ifdef __cplusplus
9389 extern "C"
9390 #endif
9391 char XRenderQueryExtension ();
9393 main ()
9395 return XRenderQueryExtension ();
9397 return 0;
9399 _ACEOF
9400 if ac_fn_c_try_link "$LINENO"; then :
9401 case "$LIBEXT" in
9402 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9403 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'` ;;
9404 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9405 if test "x$ac_cv_lib_soname_Xrender" = x; then :
9406 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9407 fi ;;
9408 esac
9410 rm -f core conftest.err conftest.$ac_objext \
9411 conftest$ac_exeext conftest.$ac_ext
9412 LIBS=$ac_check_soname_save_LIBS
9414 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9416 $as_echo "not found" >&6; }
9418 else
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9420 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9422 cat >>confdefs.h <<_ACEOF
9423 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9424 _ACEOF
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9427 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9428 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9429 $as_echo_n "(cached) " >&6
9430 else
9431 ac_check_lib_save_LIBS=$LIBS
9432 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9434 /* end confdefs.h. */
9436 /* Override any GCC internal prototype to avoid an error.
9437 Use char because int might match the return type of a GCC
9438 builtin and then its argument prototype would still apply. */
9439 #ifdef __cplusplus
9440 extern "C"
9441 #endif
9442 char XRenderSetPictureTransform ();
9444 main ()
9446 return XRenderSetPictureTransform ();
9448 return 0;
9450 _ACEOF
9451 if ac_fn_c_try_link "$LINENO"; then :
9452 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9453 else
9454 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9456 rm -f core conftest.err conftest.$ac_objext \
9457 conftest$ac_exeext conftest.$ac_ext
9458 LIBS=$ac_check_lib_save_LIBS
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9461 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9462 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9464 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9469 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9470 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9471 $as_echo_n "(cached) " >&6
9472 else
9473 ac_check_lib_save_LIBS=$LIBS
9474 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9476 /* end confdefs.h. */
9478 /* Override any GCC internal prototype to avoid an error.
9479 Use char because int might match the return type of a GCC
9480 builtin and then its argument prototype would still apply. */
9481 #ifdef __cplusplus
9482 extern "C"
9483 #endif
9484 char XRenderCreateLinearGradient ();
9486 main ()
9488 return XRenderCreateLinearGradient ();
9490 return 0;
9492 _ACEOF
9493 if ac_fn_c_try_link "$LINENO"; then :
9494 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9495 else
9496 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9498 rm -f core conftest.err conftest.$ac_objext \
9499 conftest$ac_exeext conftest.$ac_ext
9500 LIBS=$ac_check_lib_save_LIBS
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9503 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9504 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9506 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9513 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9514 case "x$with_xrender" in
9515 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9516 xno) ;;
9517 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9518 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9519 esac
9522 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9523 then
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9526 #include <X11/Xlib.h>
9527 #include <X11/extensions/Xrandr.h>
9529 main ()
9531 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9533 return 0;
9535 _ACEOF
9536 if ac_fn_c_try_compile "$LINENO"; then :
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9538 $as_echo_n "checking for -lXrandr... " >&6; }
9539 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9540 $as_echo_n "(cached) " >&6
9541 else
9542 ac_check_soname_save_LIBS=$LIBS
9543 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9545 /* end confdefs.h. */
9547 /* Override any GCC internal prototype to avoid an error.
9548 Use char because int might match the return type of a GCC
9549 builtin and then its argument prototype would still apply. */
9550 #ifdef __cplusplus
9551 extern "C"
9552 #endif
9553 char XRRQueryExtension ();
9555 main ()
9557 return XRRQueryExtension ();
9559 return 0;
9561 _ACEOF
9562 if ac_fn_c_try_link "$LINENO"; then :
9563 case "$LIBEXT" in
9564 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9565 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'` ;;
9566 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9567 if test "x$ac_cv_lib_soname_Xrandr" = x; then :
9568 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9569 fi ;;
9570 esac
9572 rm -f core conftest.err conftest.$ac_objext \
9573 conftest$ac_exeext conftest.$ac_ext
9574 LIBS=$ac_check_soname_save_LIBS
9576 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9578 $as_echo "not found" >&6; }
9580 else
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9582 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9584 cat >>confdefs.h <<_ACEOF
9585 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9586 _ACEOF
9588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9589 /* end confdefs.h. */
9590 #include <X11/Xlib.h>
9591 #include <X11/extensions/Xrandr.h>
9593 main ()
9595 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9597 return 0;
9599 _ACEOF
9600 if ac_fn_c_try_compile "$LINENO"; then :
9602 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9610 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9611 case "x$with_xrandr" in
9612 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9613 xno) ;;
9614 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9615 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9616 esac
9619 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9620 then
9621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9622 /* end confdefs.h. */
9623 #include <X11/Xlib.h>
9624 #include <X11/extensions/Xinerama.h>
9626 main ()
9628 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9630 return 0;
9632 _ACEOF
9633 if ac_fn_c_try_compile "$LINENO"; then :
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9635 $as_echo_n "checking for -lXinerama... " >&6; }
9636 if ${ac_cv_lib_soname_Xinerama+:} false; then :
9637 $as_echo_n "(cached) " >&6
9638 else
9639 ac_check_soname_save_LIBS=$LIBS
9640 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9642 /* end confdefs.h. */
9644 /* Override any GCC internal prototype to avoid an error.
9645 Use char because int might match the return type of a GCC
9646 builtin and then its argument prototype would still apply. */
9647 #ifdef __cplusplus
9648 extern "C"
9649 #endif
9650 char XineramaQueryScreens ();
9652 main ()
9654 return XineramaQueryScreens ();
9656 return 0;
9658 _ACEOF
9659 if ac_fn_c_try_link "$LINENO"; then :
9660 case "$LIBEXT" in
9661 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9662 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'` ;;
9663 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9664 if test "x$ac_cv_lib_soname_Xinerama" = x; then :
9665 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9666 fi ;;
9667 esac
9669 rm -f core conftest.err conftest.$ac_objext \
9670 conftest$ac_exeext conftest.$ac_ext
9671 LIBS=$ac_check_soname_save_LIBS
9673 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9675 $as_echo "not found" >&6; }
9677 else
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9679 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9681 cat >>confdefs.h <<_ACEOF
9682 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9683 _ACEOF
9688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9690 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9691 case "x$with_xinerama" in
9692 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9693 xno) ;;
9694 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9695 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9696 esac
9699 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9700 then
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9702 $as_echo_n "checking for -lXcomposite... " >&6; }
9703 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
9704 $as_echo_n "(cached) " >&6
9705 else
9706 ac_check_soname_save_LIBS=$LIBS
9707 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9709 /* end confdefs.h. */
9711 /* Override any GCC internal prototype to avoid an error.
9712 Use char because int might match the return type of a GCC
9713 builtin and then its argument prototype would still apply. */
9714 #ifdef __cplusplus
9715 extern "C"
9716 #endif
9717 char XCompositeRedirectWindow ();
9719 main ()
9721 return XCompositeRedirectWindow ();
9723 return 0;
9725 _ACEOF
9726 if ac_fn_c_try_link "$LINENO"; then :
9727 case "$LIBEXT" in
9728 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9729 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'` ;;
9730 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9731 if test "x$ac_cv_lib_soname_Xcomposite" = x; then :
9732 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9733 fi ;;
9734 esac
9736 rm -f core conftest.err conftest.$ac_objext \
9737 conftest$ac_exeext conftest.$ac_ext
9738 LIBS=$ac_check_soname_save_LIBS
9740 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9742 $as_echo "not found" >&6; }
9744 else
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9746 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9748 cat >>confdefs.h <<_ACEOF
9749 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9750 _ACEOF
9755 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9756 case "x$with_xcomposite" in
9757 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9758 xno) ;;
9759 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9760 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9761 esac
9764 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9765 #include <X11/Xlib.h>
9766 #endif
9768 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
9770 cat >>confdefs.h <<_ACEOF
9771 #define HAVE_XICCALLBACK_CALLBACK 1
9772 _ACEOF
9776 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9777 #include <X11/Xlib.h>
9778 #endif
9780 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
9782 cat >>confdefs.h <<_ACEOF
9783 #define HAVE_XEVENT_XCOOKIE 1
9784 _ACEOF
9791 opengl_msg=""
9792 if test "x$with_opengl" != "xno"
9793 then
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9795 $as_echo_n "checking for -lGL... " >&6; }
9796 if ${ac_cv_lib_soname_GL+:} false; then :
9797 $as_echo_n "(cached) " >&6
9798 else
9799 ac_check_soname_save_LIBS=$LIBS
9800 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9802 /* end confdefs.h. */
9804 /* Override any GCC internal prototype to avoid an error.
9805 Use char because int might match the return type of a GCC
9806 builtin and then its argument prototype would still apply. */
9807 #ifdef __cplusplus
9808 extern "C"
9809 #endif
9810 char glXCreateContext ();
9812 main ()
9814 return glXCreateContext ();
9816 return 0;
9818 _ACEOF
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 case "$LIBEXT" in
9821 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9822 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'` ;;
9823 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9824 if test "x$ac_cv_lib_soname_GL" = x; then :
9825 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9826 fi ;;
9827 esac
9829 rm -f core conftest.err conftest.$ac_objext \
9830 conftest$ac_exeext conftest.$ac_ext
9831 LIBS=$ac_check_soname_save_LIBS
9833 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9835 $as_echo "not found" >&6; }
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9837 $as_echo_n "checking for -lGL... " >&6; }
9838 if ${ac_cv_lib_soname_GL+:} false; then :
9839 $as_echo_n "(cached) " >&6
9840 else
9841 ac_check_soname_save_LIBS=$LIBS
9842 LIBS="-lGL $X_LIBS $XLIB -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"
9843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9844 /* end confdefs.h. */
9846 /* Override any GCC internal prototype to avoid an error.
9847 Use char because int might match the return type of a GCC
9848 builtin and then its argument prototype would still apply. */
9849 #ifdef __cplusplus
9850 extern "C"
9851 #endif
9852 char glXCreateContext ();
9854 main ()
9856 return glXCreateContext ();
9858 return 0;
9860 _ACEOF
9861 if ac_fn_c_try_link "$LINENO"; then :
9862 case "$LIBEXT" in
9863 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9864 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'` ;;
9865 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9866 if test "x$ac_cv_lib_soname_GL" = x; then :
9867 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9868 fi ;;
9869 esac
9871 rm -f core conftest.err conftest.$ac_objext \
9872 conftest$ac_exeext conftest.$ac_ext
9873 LIBS=$ac_check_soname_save_LIBS
9875 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9877 $as_echo "not found" >&6; }
9878 if test -f /usr/X11R6/lib/libGL.a
9879 then
9880 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
9881 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9882 else
9883 opengl_msg="No OpenGL library found on this system."
9885 else
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9887 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9889 cat >>confdefs.h <<_ACEOF
9890 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9891 _ACEOF
9893 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"
9895 else
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9897 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9899 cat >>confdefs.h <<_ACEOF
9900 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9901 _ACEOF
9903 OPENGL_LIBS="-lGL"
9905 if test "x$with_glu" != "xno"
9906 then
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9908 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9909 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
9910 $as_echo_n "(cached) " >&6
9911 else
9912 ac_check_lib_save_LIBS=$LIBS
9913 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9915 /* end confdefs.h. */
9917 /* Override any GCC internal prototype to avoid an error.
9918 Use char because int might match the return type of a GCC
9919 builtin and then its argument prototype would still apply. */
9920 #ifdef __cplusplus
9921 extern "C"
9922 #endif
9923 char gluLookAt ();
9925 main ()
9927 return gluLookAt ();
9929 return 0;
9931 _ACEOF
9932 if ac_fn_c_try_link "$LINENO"; then :
9933 ac_cv_lib_GLU_gluLookAt=yes
9934 else
9935 ac_cv_lib_GLU_gluLookAt=no
9937 rm -f core conftest.err conftest.$ac_objext \
9938 conftest$ac_exeext conftest.$ac_ext
9939 LIBS=$ac_check_lib_save_LIBS
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9942 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9943 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
9947 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
9948 case "x$with_glu" in
9949 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9950 xno) ;;
9951 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
9952 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9953 esac
9957 if test "x$with_osmesa" != "xno"
9958 then
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9960 $as_echo_n "checking for -lOSMesa... " >&6; }
9961 if ${ac_cv_lib_soname_OSMesa+:} false; then :
9962 $as_echo_n "(cached) " >&6
9963 else
9964 ac_check_soname_save_LIBS=$LIBS
9965 LIBS="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h. */
9969 /* Override any GCC internal prototype to avoid an error.
9970 Use char because int might match the return type of a GCC
9971 builtin and then its argument prototype would still apply. */
9972 #ifdef __cplusplus
9973 extern "C"
9974 #endif
9975 char glAccum ();
9977 main ()
9979 return glAccum ();
9981 return 0;
9983 _ACEOF
9984 if ac_fn_c_try_link "$LINENO"; then :
9985 case "$LIBEXT" in
9986 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9987 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'` ;;
9988 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9989 if test "x$ac_cv_lib_soname_OSMesa" = x; then :
9990 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9991 fi ;;
9992 esac
9994 rm -f core conftest.err conftest.$ac_objext \
9995 conftest$ac_exeext conftest.$ac_ext
9996 LIBS=$ac_check_soname_save_LIBS
9998 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10000 $as_echo "not found" >&6; }
10002 else
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10004 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10006 cat >>confdefs.h <<_ACEOF
10007 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10008 _ACEOF
10012 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10013 case "x$with_osmesa" in
10014 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10015 xno) ;;
10016 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10017 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10018 esac
10022 if test -n "$opengl_msg"; then :
10023 case "x$with_opengl" in
10024 x) as_fn_append wine_warnings "|$opengl_msg
10025 OpenGL and Direct3D won't be supported." ;;
10026 xno) ;;
10027 *) as_fn_error $? "$opengl_msg
10028 OpenGL and Direct3D won't be supported.
10029 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10030 esac
10033 CPPFLAGS="$ac_save_CPPFLAGS"
10034 else
10035 XLIB=""
10036 X_CFLAGS=""
10037 X_LIBS=""
10038 enable_winex11_drv=${enable_winex11_drv:-no}
10040 if test "x$XLIB" = "x"; then :
10041 case "x$with_x" in
10042 xno) ;;
10043 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10044 without X support, which probably isn't what you want. You will need
10045 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10046 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10047 esac
10050 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10052 if test "$ac_cv_header_CL_cl_h" = "yes"
10053 then
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10055 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10056 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10057 $as_echo_n "(cached) " >&6
10058 else
10059 ac_check_lib_save_LIBS=$LIBS
10060 LIBS="-lOpenCL $LIBS"
10061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10064 /* Override any GCC internal prototype to avoid an error.
10065 Use char because int might match the return type of a GCC
10066 builtin and then its argument prototype would still apply. */
10067 #ifdef __cplusplus
10068 extern "C"
10069 #endif
10070 char clGetPlatformInfo ();
10072 main ()
10074 return clGetPlatformInfo ();
10076 return 0;
10078 _ACEOF
10079 if ac_fn_c_try_link "$LINENO"; then :
10080 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10081 else
10082 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10084 rm -f core conftest.err conftest.$ac_objext \
10085 conftest$ac_exeext conftest.$ac_ext
10086 LIBS=$ac_check_lib_save_LIBS
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10089 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10090 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10091 LIBOPENCL="-lOpenCL"
10096 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10097 case "x$with_opencl" in
10098 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10099 xno) ;;
10100 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10101 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10102 esac
10104 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10107 if test "x$with_xml" != "xno"
10108 then
10109 if test -n "$XML2_CFLAGS"; then :
10111 elif test -n "$PKG_CONFIG"; then :
10112 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10114 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10115 if test -n "$XML2_LIBS"; then :
10117 elif test -n "$PKG_CONFIG"; then :
10118 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10120 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10121 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10122 ac_save_CPPFLAGS=$CPPFLAGS
10123 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10124 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10125 do :
10126 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10127 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10128 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10129 cat >>confdefs.h <<_ACEOF
10130 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10131 _ACEOF
10135 done
10137 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"
10138 then
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10140 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10141 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10142 $as_echo_n "(cached) " >&6
10143 else
10144 ac_check_lib_save_LIBS=$LIBS
10145 LIBS="-lxml2 $XML2_LIBS $LIBS"
10146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10149 /* Override any GCC internal prototype to avoid an error.
10150 Use char because int might match the return type of a GCC
10151 builtin and then its argument prototype would still apply. */
10152 #ifdef __cplusplus
10153 extern "C"
10154 #endif
10155 char xmlParseMemory ();
10157 main ()
10159 return xmlParseMemory ();
10161 return 0;
10163 _ACEOF
10164 if ac_fn_c_try_link "$LINENO"; then :
10165 ac_cv_lib_xml2_xmlParseMemory=yes
10166 else
10167 ac_cv_lib_xml2_xmlParseMemory=no
10169 rm -f core conftest.err conftest.$ac_objext \
10170 conftest$ac_exeext conftest.$ac_ext
10171 LIBS=$ac_check_lib_save_LIBS
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10174 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10175 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10177 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10179 else
10180 XML2_LIBS=""
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10184 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10185 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10186 $as_echo_n "(cached) " >&6
10187 else
10188 ac_check_lib_save_LIBS=$LIBS
10189 LIBS="-lxml2 $XML2_LIBS $LIBS"
10190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10193 /* Override any GCC internal prototype to avoid an error.
10194 Use char because int might match the return type of a GCC
10195 builtin and then its argument prototype would still apply. */
10196 #ifdef __cplusplus
10197 extern "C"
10198 #endif
10199 char xmlReadMemory ();
10201 main ()
10203 return xmlReadMemory ();
10205 return 0;
10207 _ACEOF
10208 if ac_fn_c_try_link "$LINENO"; then :
10209 ac_cv_lib_xml2_xmlReadMemory=yes
10210 else
10211 ac_cv_lib_xml2_xmlReadMemory=no
10213 rm -f core conftest.err conftest.$ac_objext \
10214 conftest$ac_exeext conftest.$ac_ext
10215 LIBS=$ac_check_lib_save_LIBS
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10218 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10219 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10221 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10226 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10227 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10228 $as_echo_n "(cached) " >&6
10229 else
10230 ac_check_lib_save_LIBS=$LIBS
10231 LIBS="-lxml2 $XML2_LIBS $LIBS"
10232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10235 /* Override any GCC internal prototype to avoid an error.
10236 Use char because int might match the return type of a GCC
10237 builtin and then its argument prototype would still apply. */
10238 #ifdef __cplusplus
10239 extern "C"
10240 #endif
10241 char xmlNewDocPI ();
10243 main ()
10245 return xmlNewDocPI ();
10247 return 0;
10249 _ACEOF
10250 if ac_fn_c_try_link "$LINENO"; then :
10251 ac_cv_lib_xml2_xmlNewDocPI=yes
10252 else
10253 ac_cv_lib_xml2_xmlNewDocPI=no
10255 rm -f core conftest.err conftest.$ac_objext \
10256 conftest$ac_exeext conftest.$ac_ext
10257 LIBS=$ac_check_lib_save_LIBS
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10260 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10261 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10263 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10268 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10269 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10270 $as_echo_n "(cached) " >&6
10271 else
10272 ac_check_lib_save_LIBS=$LIBS
10273 LIBS="-lxml2 $XML2_LIBS $LIBS"
10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10277 /* Override any GCC internal prototype to avoid an error.
10278 Use char because int might match the return type of a GCC
10279 builtin and then its argument prototype would still apply. */
10280 #ifdef __cplusplus
10281 extern "C"
10282 #endif
10283 char xmlSchemaSetParserStructuredErrors ();
10285 main ()
10287 return xmlSchemaSetParserStructuredErrors ();
10289 return 0;
10291 _ACEOF
10292 if ac_fn_c_try_link "$LINENO"; then :
10293 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10294 else
10295 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10297 rm -f core conftest.err conftest.$ac_objext \
10298 conftest$ac_exeext conftest.$ac_ext
10299 LIBS=$ac_check_lib_save_LIBS
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10302 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10303 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10305 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10310 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10311 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10312 $as_echo_n "(cached) " >&6
10313 else
10314 ac_check_lib_save_LIBS=$LIBS
10315 LIBS="-lxml2 $XML2_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 xmlSchemaSetValidStructuredErrors ();
10327 main ()
10329 return xmlSchemaSetValidStructuredErrors ();
10331 return 0;
10333 _ACEOF
10334 if ac_fn_c_try_link "$LINENO"; then :
10335 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10336 else
10337 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=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_xml2_xmlSchemaSetValidStructuredErrors" >&5
10344 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10345 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10347 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10352 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10353 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10354 $as_echo_n "(cached) " >&6
10355 else
10356 ac_check_lib_save_LIBS=$LIBS
10357 LIBS="-lxml2 $XML2_LIBS $LIBS"
10358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10361 /* Override any GCC internal prototype to avoid an error.
10362 Use char because int might match the return type of a GCC
10363 builtin and then its argument prototype would still apply. */
10364 #ifdef __cplusplus
10365 extern "C"
10366 #endif
10367 char xmlFirstElementChild ();
10369 main ()
10371 return xmlFirstElementChild ();
10373 return 0;
10375 _ACEOF
10376 if ac_fn_c_try_link "$LINENO"; then :
10377 ac_cv_lib_xml2_xmlFirstElementChild=yes
10378 else
10379 ac_cv_lib_xml2_xmlFirstElementChild=no
10381 rm -f core conftest.err conftest.$ac_objext \
10382 conftest$ac_exeext conftest.$ac_ext
10383 LIBS=$ac_check_lib_save_LIBS
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10386 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10387 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10389 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10393 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10395 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10397 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10401 else
10402 XML2_CFLAGS=""
10403 XML2_LIBS=""
10405 CPPFLAGS=$ac_save_CPPFLAGS
10406 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10407 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10410 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10411 case "x$with_xml" in
10412 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10413 xno) ;;
10414 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10415 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10416 esac
10419 if test "x$with_xslt" != "xno"
10420 then
10421 if test -n "$XSLT_CFLAGS"; then :
10423 elif test -n "$PKG_CONFIG"; then :
10424 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10426 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10427 if test -n "$XSLT_LIBS"; then :
10429 elif test -n "$PKG_CONFIG"; then :
10430 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10432 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10433 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10434 ac_save_CPPFLAGS=$CPPFLAGS
10435 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10436 for ac_header in libxslt/pattern.h libxslt/transform.h
10437 do :
10438 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10439 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10440 # include <libxslt/pattern.h>
10441 #endif
10443 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10444 cat >>confdefs.h <<_ACEOF
10445 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10446 _ACEOF
10450 done
10452 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10453 then
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10455 $as_echo_n "checking for -lxslt... " >&6; }
10456 if ${ac_cv_lib_soname_xslt+:} false; then :
10457 $as_echo_n "(cached) " >&6
10458 else
10459 ac_check_soname_save_LIBS=$LIBS
10460 LIBS="-lxslt $XSLT_LIBS $LIBS"
10461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10462 /* end confdefs.h. */
10464 /* Override any GCC internal prototype to avoid an error.
10465 Use char because int might match the return type of a GCC
10466 builtin and then its argument prototype would still apply. */
10467 #ifdef __cplusplus
10468 extern "C"
10469 #endif
10470 char xsltCompilePattern ();
10472 main ()
10474 return xsltCompilePattern ();
10476 return 0;
10478 _ACEOF
10479 if ac_fn_c_try_link "$LINENO"; then :
10480 case "$LIBEXT" in
10481 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10482 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'` ;;
10483 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10484 if test "x$ac_cv_lib_soname_xslt" = x; then :
10485 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10486 fi ;;
10487 esac
10489 rm -f core conftest.err conftest.$ac_objext \
10490 conftest$ac_exeext conftest.$ac_ext
10491 LIBS=$ac_check_soname_save_LIBS
10493 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10495 $as_echo "not found" >&6; }
10497 else
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10499 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10501 cat >>confdefs.h <<_ACEOF
10502 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10503 _ACEOF
10507 else
10508 XSLT_CFLAGS=""
10510 CPPFLAGS=$ac_save_CPPFLAGS
10511 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10512 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10515 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10516 case "x$with_xslt" in
10517 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10518 xno) ;;
10519 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10520 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10521 esac
10524 if test "x$with_dbus" != "xno"
10525 then
10526 if test -n "$DBUS_CFLAGS"; then :
10528 elif test -n "$PKG_CONFIG"; then :
10529 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10532 if test -n "$DBUS_LIBS"; then :
10534 elif test -n "$PKG_CONFIG"; then :
10535 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10539 ac_save_CPPFLAGS=$CPPFLAGS
10540 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10541 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10542 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10544 $as_echo_n "checking for -ldbus-1... " >&6; }
10545 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10546 $as_echo_n "(cached) " >&6
10547 else
10548 ac_check_soname_save_LIBS=$LIBS
10549 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10551 /* end confdefs.h. */
10553 /* Override any GCC internal prototype to avoid an error.
10554 Use char because int might match the return type of a GCC
10555 builtin and then its argument prototype would still apply. */
10556 #ifdef __cplusplus
10557 extern "C"
10558 #endif
10559 char dbus_connection_close ();
10561 main ()
10563 return dbus_connection_close ();
10565 return 0;
10567 _ACEOF
10568 if ac_fn_c_try_link "$LINENO"; then :
10569 case "$LIBEXT" in
10570 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10571 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'` ;;
10572 *) 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'`
10573 if test "x$ac_cv_lib_soname_dbus_1" = x; then :
10574 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10575 fi ;;
10576 esac
10578 rm -f core conftest.err conftest.$ac_objext \
10579 conftest$ac_exeext conftest.$ac_ext
10580 LIBS=$ac_check_soname_save_LIBS
10582 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10584 $as_echo "not found" >&6; }
10585 DBUS_CFLAGS=""
10586 else
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10588 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10590 cat >>confdefs.h <<_ACEOF
10591 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10592 _ACEOF
10596 else
10597 DBUS_CFLAGS=""
10601 CPPFLAGS=$ac_save_CPPFLAGS
10602 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10603 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10606 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10607 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10608 case "x$with_dbus" in
10609 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10610 xno) ;;
10611 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
10612 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10613 esac
10616 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10617 then
10618 if test -n "$HAL_CFLAGS"; then :
10620 elif test -n "$PKG_CONFIG"; then :
10621 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
10624 if test -n "$HAL_LIBS"; then :
10626 elif test -n "$PKG_CONFIG"; then :
10627 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
10630 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
10631 ac_save_CPPFLAGS=$CPPFLAGS
10632 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
10633 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10634 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10636 $as_echo_n "checking for -lhal... " >&6; }
10637 if ${ac_cv_lib_soname_hal+:} false; then :
10638 $as_echo_n "(cached) " >&6
10639 else
10640 ac_check_soname_save_LIBS=$LIBS
10641 LIBS="-lhal $HAL_LIBS $LIBS"
10642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10643 /* end confdefs.h. */
10645 /* Override any GCC internal prototype to avoid an error.
10646 Use char because int might match the return type of a GCC
10647 builtin and then its argument prototype would still apply. */
10648 #ifdef __cplusplus
10649 extern "C"
10650 #endif
10651 char libhal_ctx_new ();
10653 main ()
10655 return libhal_ctx_new ();
10657 return 0;
10659 _ACEOF
10660 if ac_fn_c_try_link "$LINENO"; then :
10661 case "$LIBEXT" in
10662 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10663 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'` ;;
10664 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10665 if test "x$ac_cv_lib_soname_hal" = x; then :
10666 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10667 fi ;;
10668 esac
10670 rm -f core conftest.err conftest.$ac_objext \
10671 conftest$ac_exeext conftest.$ac_ext
10672 LIBS=$ac_check_soname_save_LIBS
10674 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10676 $as_echo "not found" >&6; }
10677 HAL_CFLAGS=""
10678 else
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10680 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10682 cat >>confdefs.h <<_ACEOF
10683 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10684 _ACEOF
10688 else
10689 HAL_CFLAGS=""
10693 CPPFLAGS=$ac_save_CPPFLAGS
10694 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10695 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10697 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10698 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10699 case "x$with_hal" in
10700 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10701 xno) ;;
10702 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
10703 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10704 esac
10708 if test "x$with_gnutls" != "xno"
10709 then
10710 if test -n "$GNUTLS_CFLAGS"; then :
10712 elif test -n "$PKG_CONFIG"; then :
10713 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10716 if test -n "$GNUTLS_LIBS"; then :
10718 elif test -n "$PKG_CONFIG"; then :
10719 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10723 ac_save_CPPFLAGS=$CPPFLAGS
10724 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
10725 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10726 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
10727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10728 /* end confdefs.h. */
10729 #include <gnutls/gnutls.h>
10730 #include <gnutls/crypto.h>
10732 main ()
10734 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10736 return 0;
10738 _ACEOF
10739 if ac_fn_c_try_compile "$LINENO"; then :
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10741 $as_echo_n "checking for -lgnutls... " >&6; }
10742 if ${ac_cv_lib_soname_gnutls+:} false; then :
10743 $as_echo_n "(cached) " >&6
10744 else
10745 ac_check_soname_save_LIBS=$LIBS
10746 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
10747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10750 /* Override any GCC internal prototype to avoid an error.
10751 Use char because int might match the return type of a GCC
10752 builtin and then its argument prototype would still apply. */
10753 #ifdef __cplusplus
10754 extern "C"
10755 #endif
10756 char gnutls_global_init ();
10758 main ()
10760 return gnutls_global_init ();
10762 return 0;
10764 _ACEOF
10765 if ac_fn_c_try_link "$LINENO"; then :
10766 case "$LIBEXT" in
10767 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10768 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'` ;;
10769 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10770 if test "x$ac_cv_lib_soname_gnutls" = x; then :
10771 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10772 fi ;;
10773 esac
10775 rm -f core conftest.err conftest.$ac_objext \
10776 conftest$ac_exeext conftest.$ac_ext
10777 LIBS=$ac_check_soname_save_LIBS
10779 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10781 $as_echo "not found" >&6; }
10782 GNUTLS_CFLAGS=""
10783 else
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10785 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10787 cat >>confdefs.h <<_ACEOF
10788 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10789 _ACEOF
10794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10795 else
10796 GNUTLS_CFLAGS=""
10800 CPPFLAGS=$ac_save_CPPFLAGS
10801 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10802 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10805 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10806 case "x$with_gnutls" in
10807 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10808 xno) ;;
10809 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
10810 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10811 esac
10814 CURSESLIBS=""
10815 if test "$ac_cv_header_ncurses_h" = "yes"
10816 then
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10818 $as_echo_n "checking for -lncurses... " >&6; }
10819 if ${ac_cv_lib_soname_ncurses+:} false; then :
10820 $as_echo_n "(cached) " >&6
10821 else
10822 ac_check_soname_save_LIBS=$LIBS
10823 LIBS="-lncurses $LIBS"
10824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10827 /* Override any GCC internal prototype to avoid an error.
10828 Use char because int might match the return type of a GCC
10829 builtin and then its argument prototype would still apply. */
10830 #ifdef __cplusplus
10831 extern "C"
10832 #endif
10833 char waddch ();
10835 main ()
10837 return waddch ();
10839 return 0;
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"; then :
10843 case "$LIBEXT" in
10844 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10845 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'` ;;
10846 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10847 if test "x$ac_cv_lib_soname_ncurses" = x; then :
10848 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10849 fi ;;
10850 esac
10852 rm -f core conftest.err conftest.$ac_objext \
10853 conftest$ac_exeext conftest.$ac_ext
10854 LIBS=$ac_check_soname_save_LIBS
10856 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10858 $as_echo "not found" >&6; }
10860 else
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10862 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10864 cat >>confdefs.h <<_ACEOF
10865 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10866 _ACEOF
10868 CURSESLIBS="-lncurses"
10870 elif test "$ac_cv_header_curses_h" = "yes"
10871 then
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10873 $as_echo_n "checking for -lcurses... " >&6; }
10874 if ${ac_cv_lib_soname_curses+:} false; then :
10875 $as_echo_n "(cached) " >&6
10876 else
10877 ac_check_soname_save_LIBS=$LIBS
10878 LIBS="-lcurses $LIBS"
10879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10880 /* end confdefs.h. */
10882 /* Override any GCC internal prototype to avoid an error.
10883 Use char because int might match the return type of a GCC
10884 builtin and then its argument prototype would still apply. */
10885 #ifdef __cplusplus
10886 extern "C"
10887 #endif
10888 char waddch ();
10890 main ()
10892 return waddch ();
10894 return 0;
10896 _ACEOF
10897 if ac_fn_c_try_link "$LINENO"; then :
10898 case "$LIBEXT" in
10899 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10900 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'` ;;
10901 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10902 if test "x$ac_cv_lib_soname_curses" = x; then :
10903 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10904 fi ;;
10905 esac
10907 rm -f core conftest.err conftest.$ac_objext \
10908 conftest$ac_exeext conftest.$ac_ext
10909 LIBS=$ac_check_soname_save_LIBS
10911 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10913 $as_echo "not found" >&6; }
10915 else
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10917 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10919 cat >>confdefs.h <<_ACEOF
10920 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10921 _ACEOF
10923 CURSESLIBS="-lcurses"
10926 ac_save_LIBS="$LIBS"
10927 LIBS="$LIBS $CURSESLIBS"
10928 for ac_func in mousemask
10929 do :
10930 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
10931 if test "x$ac_cv_func_mousemask" = xyes; then :
10932 cat >>confdefs.h <<_ACEOF
10933 #define HAVE_MOUSEMASK 1
10934 _ACEOF
10937 done
10939 LIBS="$ac_save_LIBS"
10940 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10941 case "x$with_curses" in
10942 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10943 xno) ;;
10944 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10945 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10946 esac
10949 if test "x$with_sane" != "xno"
10950 then
10951 if test -n "$SANE_CFLAGS"; then :
10953 elif test -n "$PKG_CONFIG"; then :
10954 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10956 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10957 if test -n "$SANE_LIBS"; then :
10959 elif test -n "$PKG_CONFIG"; then :
10960 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
10962 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10964 ac_save_CPPFLAGS=$CPPFLAGS
10965 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
10966 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10967 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10969 $as_echo_n "checking for -lsane... " >&6; }
10970 if ${ac_cv_lib_soname_sane+:} false; then :
10971 $as_echo_n "(cached) " >&6
10972 else
10973 ac_check_soname_save_LIBS=$LIBS
10974 LIBS="-lsane $SANE_LIBS $LIBS"
10975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10978 /* Override any GCC internal prototype to avoid an error.
10979 Use char because int might match the return type of a GCC
10980 builtin and then its argument prototype would still apply. */
10981 #ifdef __cplusplus
10982 extern "C"
10983 #endif
10984 char sane_init ();
10986 main ()
10988 return sane_init ();
10990 return 0;
10992 _ACEOF
10993 if ac_fn_c_try_link "$LINENO"; then :
10994 case "$LIBEXT" in
10995 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10996 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'` ;;
10997 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10998 if test "x$ac_cv_lib_soname_sane" = x; then :
10999 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11000 fi ;;
11001 esac
11003 rm -f core conftest.err conftest.$ac_objext \
11004 conftest$ac_exeext conftest.$ac_ext
11005 LIBS=$ac_check_soname_save_LIBS
11007 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11009 $as_echo "not found" >&6; }
11010 SANE_CFLAGS=""
11011 else
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11013 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11015 cat >>confdefs.h <<_ACEOF
11016 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11017 _ACEOF
11021 else
11022 SANE_CFLAGS=""
11026 CPPFLAGS=$ac_save_CPPFLAGS
11027 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11028 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11031 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11032 case "x$with_sane" in
11033 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11034 xno) ;;
11035 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11036 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11037 esac
11040 if test "x$with_v4l" != "xno"
11041 then
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11043 $as_echo_n "checking for -lv4l1... " >&6; }
11044 if ${ac_cv_lib_soname_v4l1+:} false; then :
11045 $as_echo_n "(cached) " >&6
11046 else
11047 ac_check_soname_save_LIBS=$LIBS
11048 LIBS="-lv4l1 $LIBS"
11049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h. */
11052 /* Override any GCC internal prototype to avoid an error.
11053 Use char because int might match the return type of a GCC
11054 builtin and then its argument prototype would still apply. */
11055 #ifdef __cplusplus
11056 extern "C"
11057 #endif
11058 char v4l1_open ();
11060 main ()
11062 return v4l1_open ();
11064 return 0;
11066 _ACEOF
11067 if ac_fn_c_try_link "$LINENO"; then :
11068 case "$LIBEXT" in
11069 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11070 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'` ;;
11071 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11072 if test "x$ac_cv_lib_soname_v4l1" = x; then :
11073 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11074 fi ;;
11075 esac
11077 rm -f core conftest.err conftest.$ac_objext \
11078 conftest$ac_exeext conftest.$ac_ext
11079 LIBS=$ac_check_soname_save_LIBS
11081 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11083 $as_echo "not found" >&6; }
11085 else
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11087 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11089 cat >>confdefs.h <<_ACEOF
11090 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11091 _ACEOF
11096 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11097 case "x$with_v4l" in
11098 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11099 xno) ;;
11100 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11101 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11102 esac
11105 if test "x$with_gphoto" != "xno"
11106 then
11107 if test -n "$GPHOTO2_CFLAGS"; then :
11109 elif test -n "$PKG_CONFIG"; then :
11110 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11112 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11113 if test -n "$GPHOTO2_LIBS"; then :
11115 elif test -n "$PKG_CONFIG"; then :
11116 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11118 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11119 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11120 ac_save_CPPFLAGS=$CPPFLAGS
11121 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11122 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11123 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11125 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11126 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11127 $as_echo_n "(cached) " >&6
11128 else
11129 ac_check_lib_save_LIBS=$LIBS
11130 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11132 /* end confdefs.h. */
11134 /* Override any GCC internal prototype to avoid an error.
11135 Use char because int might match the return type of a GCC
11136 builtin and then its argument prototype would still apply. */
11137 #ifdef __cplusplus
11138 extern "C"
11139 #endif
11140 char gp_camera_new ();
11142 main ()
11144 return gp_camera_new ();
11146 return 0;
11148 _ACEOF
11149 if ac_fn_c_try_link "$LINENO"; then :
11150 ac_cv_lib_gphoto2_gp_camera_new=yes
11151 else
11152 ac_cv_lib_gphoto2_gp_camera_new=no
11154 rm -f core conftest.err conftest.$ac_objext \
11155 conftest$ac_exeext conftest.$ac_ext
11156 LIBS=$ac_check_lib_save_LIBS
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11159 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11160 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11162 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11164 else
11165 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11168 else
11169 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11173 CPPFLAGS=$ac_save_CPPFLAGS
11174 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11175 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11177 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11179 elif test -n "$PKG_CONFIG"; then :
11180 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11182 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11183 if test -n "$GPHOTO2_PORT_LIBS"; then :
11185 elif test -n "$PKG_CONFIG"; then :
11186 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11188 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11189 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11190 ac_save_CPPFLAGS=$CPPFLAGS
11191 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11192 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11193 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11195 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11196 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11197 $as_echo_n "(cached) " >&6
11198 else
11199 ac_check_lib_save_LIBS=$LIBS
11200 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11204 /* Override any GCC internal prototype to avoid an error.
11205 Use char because int might match the return type of a GCC
11206 builtin and then its argument prototype would still apply. */
11207 #ifdef __cplusplus
11208 extern "C"
11209 #endif
11210 char gp_port_info_list_new ();
11212 main ()
11214 return gp_port_info_list_new ();
11216 return 0;
11218 _ACEOF
11219 if ac_fn_c_try_link "$LINENO"; then :
11220 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11221 else
11222 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11224 rm -f core conftest.err conftest.$ac_objext \
11225 conftest$ac_exeext conftest.$ac_ext
11226 LIBS=$ac_check_lib_save_LIBS
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11229 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11230 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11232 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11234 else
11235 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11238 else
11239 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11243 CPPFLAGS=$ac_save_CPPFLAGS
11244 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11245 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11248 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11249 case "x$with_gphoto" in
11250 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11251 xno) ;;
11252 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11253 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11254 esac
11256 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11257 case "x$with_gphoto" in
11258 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11259 xno) ;;
11260 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11261 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11262 esac
11266 if test "$ac_cv_header_resolv_h" = "yes"
11267 then
11268 ac_save_LIBS="$LIBS"
11269 for lib in '' -lresolv
11271 LIBS="$lib $ac_save_LIBS"
11272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11273 /* end confdefs.h. */
11274 #ifdef HAVE_NETINET_IN_H
11275 #include <netinet/in.h>
11276 #endif
11277 #include <resolv.h>
11279 main ()
11281 res_query("foo",ns_c_in,0,0,0);
11283 return 0;
11285 _ACEOF
11286 if ac_fn_c_try_link "$LINENO"; then :
11288 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11290 RESOLVLIBS="$lib"
11293 rm -f core conftest.err conftest.$ac_objext \
11294 conftest$ac_exeext conftest.$ac_ext
11295 if test "${RESOLVLIBS+set}" = set; then
11296 break
11298 done
11299 LIBS="$ac_save_LIBS"
11302 if test "x$with_lcms2" != "xno"
11303 then
11304 if test -n "$LCMS2_CFLAGS"; then :
11306 elif test -n "$PKG_CONFIG"; then :
11307 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11310 if test -n "$LCMS2_LIBS"; then :
11312 elif test -n "$PKG_CONFIG"; then :
11313 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11316 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11317 ac_save_CPPFLAGS=$CPPFLAGS
11318 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11319 for ac_header in lcms2.h
11320 do :
11321 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11322 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11323 cat >>confdefs.h <<_ACEOF
11324 #define HAVE_LCMS2_H 1
11325 _ACEOF
11329 done
11331 if test "$ac_cv_header_lcms2_h" = "yes"
11332 then
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11334 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11335 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11336 $as_echo_n "(cached) " >&6
11337 else
11338 ac_check_lib_save_LIBS=$LIBS
11339 LIBS="-llcms2 $LIBS"
11340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11341 /* end confdefs.h. */
11343 /* Override any GCC internal prototype to avoid an error.
11344 Use char because int might match the return type of a GCC
11345 builtin and then its argument prototype would still apply. */
11346 #ifdef __cplusplus
11347 extern "C"
11348 #endif
11349 char cmsOpenProfileFromFile ();
11351 main ()
11353 return cmsOpenProfileFromFile ();
11355 return 0;
11357 _ACEOF
11358 if ac_fn_c_try_link "$LINENO"; then :
11359 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11360 else
11361 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11363 rm -f core conftest.err conftest.$ac_objext \
11364 conftest$ac_exeext conftest.$ac_ext
11365 LIBS=$ac_check_lib_save_LIBS
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11368 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11369 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11371 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11373 else
11374 LCMS2_LIBS=""
11377 else
11378 LCMS2_CFLAGS=""
11379 LCMS2_LIBS=""
11381 CPPFLAGS=$ac_save_CPPFLAGS
11382 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11383 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11386 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11387 case "x$with_cms" in
11388 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11389 xno) ;;
11390 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11391 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11392 esac
11395 if test "x$with_freetype" != "xno"
11396 then
11397 if test -n "$FREETYPE_CFLAGS"; then :
11399 elif test -n "$PKG_CONFIG"; then :
11400 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11402 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11403 if test -n "$FREETYPE_LIBS"; then :
11405 elif test -n "$PKG_CONFIG"; then :
11406 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11408 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11409 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11410 ac_save_CPPFLAGS=$CPPFLAGS
11411 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11413 $as_echo_n "checking for -lfreetype... " >&6; }
11414 if ${ac_cv_lib_soname_freetype+:} false; then :
11415 $as_echo_n "(cached) " >&6
11416 else
11417 ac_check_soname_save_LIBS=$LIBS
11418 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11420 /* end confdefs.h. */
11422 /* Override any GCC internal prototype to avoid an error.
11423 Use char because int might match the return type of a GCC
11424 builtin and then its argument prototype would still apply. */
11425 #ifdef __cplusplus
11426 extern "C"
11427 #endif
11428 char FT_Init_FreeType ();
11430 main ()
11432 return FT_Init_FreeType ();
11434 return 0;
11436 _ACEOF
11437 if ac_fn_c_try_link "$LINENO"; then :
11438 case "$LIBEXT" in
11439 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11440 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'` ;;
11441 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11442 if test "x$ac_cv_lib_soname_freetype" = x; then :
11443 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11444 fi ;;
11445 esac
11447 rm -f core conftest.err conftest.$ac_objext \
11448 conftest$ac_exeext conftest.$ac_ext
11449 LIBS=$ac_check_soname_save_LIBS
11451 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11453 $as_echo "not found" >&6; }
11454 ft_lib=no
11455 else
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11457 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11459 cat >>confdefs.h <<_ACEOF
11460 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11461 _ACEOF
11463 ft_lib=yes
11465 if test "$ft_lib" = "yes"
11466 then
11467 for ac_header in ft2build.h \
11468 freetype/freetype.h \
11469 freetype/ftglyph.h \
11470 freetype/fttypes.h \
11471 freetype/tttables.h \
11472 freetype/ftsnames.h \
11473 freetype/ttnameid.h \
11474 freetype/ftoutln.h \
11475 freetype/ftwinfnt.h \
11476 freetype/ftmodapi.h \
11477 freetype/ftlcdfil.h
11478 do :
11479 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11480 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
11481 # include <ft2build.h>
11482 #endif
11484 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11485 cat >>confdefs.h <<_ACEOF
11486 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11487 _ACEOF
11491 done
11493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11494 /* end confdefs.h. */
11495 #include <ft2build.h>
11496 #include <freetype/fttrigon.h>
11497 _ACEOF
11498 if ac_fn_c_try_cpp "$LINENO"; then :
11500 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
11502 wine_cv_fttrigon=yes
11503 else
11504 wine_cv_fttrigon=no
11506 rm -f conftest.err conftest.i conftest.$ac_ext
11507 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
11509 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11511 cat >>confdefs.h <<_ACEOF
11512 #define HAVE_FT_TRUETYPEENGINETYPE 1
11513 _ACEOF
11518 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11519 then
11521 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11523 else
11524 FREETYPE_LIBS=""
11526 else
11527 FREETYPE_LIBS=""
11529 CPPFLAGS=$ac_save_CPPFLAGS
11530 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11531 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11534 if test "x$ac_cv_header_freetype_freetype_h" != xyes -o "x$wine_cv_fttrigon" != xyes; then :
11535 case "x$with_freetype" in
11536 xno) ;;
11537 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11538 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11539 esac
11541 test "x$ac_cv_header_freetype_freetype_h" = xyes -a "x$wine_cv_fttrigon" = xyes || enable_fonts=${enable_fonts:-no}
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11544 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11545 if ${ac_cv_c_ppdev+:} false; then :
11546 $as_echo_n "(cached) " >&6
11547 else
11548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h. */
11550 #ifdef HAVE_SYS_IOCTL_H
11551 # include <sys/ioctl.h>
11552 #endif
11553 #include <linux/ppdev.h>
11555 main ()
11557 ioctl (1,PPCLAIM,0)
11559 return 0;
11561 _ACEOF
11562 if ac_fn_c_try_compile "$LINENO"; then :
11563 ac_cv_c_ppdev="yes"
11564 else
11565 ac_cv_c_ppdev="no"
11567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11570 $as_echo "$ac_cv_c_ppdev" >&6; }
11571 if test "$ac_cv_c_ppdev" = "yes"
11572 then
11574 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11578 ac_wine_check_funcs_save_LIBS="$LIBS"
11579 LIBS="$LIBS $LIBPTHREAD"
11580 for ac_func in \
11581 pthread_attr_get_np \
11582 pthread_getattr_np \
11583 pthread_getthreadid_np \
11584 pthread_get_stackaddr_np \
11585 pthread_get_stacksize_np
11586 do :
11587 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11588 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11589 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11590 cat >>confdefs.h <<_ACEOF
11591 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11592 _ACEOF
11595 done
11597 LIBS="$ac_wine_check_funcs_save_LIBS"
11599 if test "$ac_cv_header_zlib_h" = "yes"
11600 then
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11602 $as_echo_n "checking for inflate in -lz... " >&6; }
11603 if ${ac_cv_lib_z_inflate+:} false; then :
11604 $as_echo_n "(cached) " >&6
11605 else
11606 ac_check_lib_save_LIBS=$LIBS
11607 LIBS="-lz $LIBS"
11608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11609 /* end confdefs.h. */
11611 /* Override any GCC internal prototype to avoid an error.
11612 Use char because int might match the return type of a GCC
11613 builtin and then its argument prototype would still apply. */
11614 #ifdef __cplusplus
11615 extern "C"
11616 #endif
11617 char inflate ();
11619 main ()
11621 return inflate ();
11623 return 0;
11625 _ACEOF
11626 if ac_fn_c_try_link "$LINENO"; then :
11627 ac_cv_lib_z_inflate=yes
11628 else
11629 ac_cv_lib_z_inflate=no
11631 rm -f core conftest.err conftest.$ac_objext \
11632 conftest$ac_exeext conftest.$ac_ext
11633 LIBS=$ac_check_lib_save_LIBS
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11636 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11637 if test "x$ac_cv_lib_z_inflate" = xyes; then :
11639 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11641 ZLIB="-lz"
11646 if test "x$ZLIB" = "x"; then :
11647 case "x$with_zlib" in
11648 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11649 xno) ;;
11650 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
11651 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11652 esac
11655 if test "x$enable_tools" != xno
11656 then
11657 if test "$ac_cv_header_gettext_po_h" = "yes"
11658 then
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11660 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11661 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
11662 $as_echo_n "(cached) " >&6
11663 else
11664 ac_check_lib_save_LIBS=$LIBS
11665 LIBS="-lgettextpo $LIBS"
11666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11667 /* end confdefs.h. */
11669 /* Override any GCC internal prototype to avoid an error.
11670 Use char because int might match the return type of a GCC
11671 builtin and then its argument prototype would still apply. */
11672 #ifdef __cplusplus
11673 extern "C"
11674 #endif
11675 char po_message_msgctxt ();
11677 main ()
11679 return po_message_msgctxt ();
11681 return 0;
11683 _ACEOF
11684 if ac_fn_c_try_link "$LINENO"; then :
11685 ac_cv_lib_gettextpo_po_message_msgctxt=yes
11686 else
11687 ac_cv_lib_gettextpo_po_message_msgctxt=no
11689 rm -f core conftest.err conftest.$ac_objext \
11690 conftest$ac_exeext conftest.$ac_ext
11691 LIBS=$ac_check_lib_save_LIBS
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11694 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11695 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
11697 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11699 LIBGETTEXTPO="-lgettextpo"
11704 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
11705 case "x$with_gettextpo" in
11706 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11707 xno) ;;
11708 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11709 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11710 esac
11714 if test "x$with_gstreamer" != "xno"
11715 then
11716 if test -n "$GSTREAMER_CFLAGS"; then :
11718 elif test -n "$PKG_CONFIG"; then :
11719 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11722 if test -n "$GSTREAMER_LIBS"; then :
11724 elif test -n "$PKG_CONFIG"; then :
11725 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11729 ac_save_CPPFLAGS=$CPPFLAGS
11730 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
11731 ac_gst_incl=""
11732 for i in $GSTREAMER_CFLAGS
11734 case "$i" in
11735 -I*) ac_gst_incl="$ac_gst_incl $i";;
11736 esac
11737 done
11738 GSTREAMER_CFLAGS=$ac_gst_incl
11739 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11740 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11741 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
11742 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11743 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11745 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11748 #include <gst/app/gstappsink.h>
11750 main ()
11752 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11754 return 0;
11756 _ACEOF
11757 if ac_fn_c_try_compile "$LINENO"; then :
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11759 $as_echo "yes" >&6; }
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11761 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11762 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
11763 $as_echo_n "(cached) " >&6
11764 else
11765 ac_check_lib_save_LIBS=$LIBS
11766 LIBS="-lgstreamer-0.10 $LIBS"
11767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11768 /* end confdefs.h. */
11770 /* Override any GCC internal prototype to avoid an error.
11771 Use char because int might match the return type of a GCC
11772 builtin and then its argument prototype would still apply. */
11773 #ifdef __cplusplus
11774 extern "C"
11775 #endif
11776 char gst_pad_get_caps_reffed ();
11778 main ()
11780 return gst_pad_get_caps_reffed ();
11782 return 0;
11784 _ACEOF
11785 if ac_fn_c_try_link "$LINENO"; then :
11786 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
11787 else
11788 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
11790 rm -f core conftest.err conftest.$ac_objext \
11791 conftest$ac_exeext conftest.$ac_ext
11792 LIBS=$ac_check_lib_save_LIBS
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11795 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11796 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11798 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11799 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
11800 $as_echo_n "(cached) " >&6
11801 else
11802 ac_check_lib_save_LIBS=$LIBS
11803 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11805 /* end confdefs.h. */
11807 /* Override any GCC internal prototype to avoid an error.
11808 Use char because int might match the return type of a GCC
11809 builtin and then its argument prototype would still apply. */
11810 #ifdef __cplusplus
11811 extern "C"
11812 #endif
11813 char gst_app_buffer_new ();
11815 main ()
11817 return gst_app_buffer_new ();
11819 return 0;
11821 _ACEOF
11822 if ac_fn_c_try_link "$LINENO"; then :
11823 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
11824 else
11825 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
11827 rm -f core conftest.err conftest.$ac_objext \
11828 conftest$ac_exeext conftest.$ac_ext
11829 LIBS=$ac_check_lib_save_LIBS
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11832 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11833 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
11839 else
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11841 $as_echo "no" >&6; }
11843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11847 else
11848 GSTREAMER_CFLAGS=""
11852 CPPFLAGS=$ac_save_CPPFLAGS
11853 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11854 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11857 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
11858 case "x$with_gstreamer" in
11859 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11860 xno) ;;
11861 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11862 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11863 esac
11865 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
11867 ALSALIBS=""
11869 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11870 then
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11872 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11873 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
11874 $as_echo_n "(cached) " >&6
11875 else
11876 ac_check_lib_save_LIBS=$LIBS
11877 LIBS="-lasound $LIBS"
11878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11881 /* Override any GCC internal prototype to avoid an error.
11882 Use char because int might match the return type of a GCC
11883 builtin and then its argument prototype would still apply. */
11884 #ifdef __cplusplus
11885 extern "C"
11886 #endif
11887 char snd_pcm_hw_params_get_access_mask ();
11889 main ()
11891 return snd_pcm_hw_params_get_access_mask ();
11893 return 0;
11895 _ACEOF
11896 if ac_fn_c_try_link "$LINENO"; then :
11897 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
11898 else
11899 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
11901 rm -f core conftest.err conftest.$ac_objext \
11902 conftest$ac_exeext conftest.$ac_ext
11903 LIBS=$ac_check_lib_save_LIBS
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11906 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11907 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
11908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11910 #ifdef HAVE_ALSA_ASOUNDLIB_H
11911 #include <alsa/asoundlib.h>
11912 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11913 #include <sys/asoundlib.h>
11914 #endif
11916 main ()
11918 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11920 return 0;
11922 _ACEOF
11923 if ac_fn_c_try_compile "$LINENO"; then :
11924 ALSALIBS="-lasound"
11926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11931 if test "x$with_oss" != xno
11932 then
11933 ac_save_CPPFLAGS="$CPPFLAGS"
11934 if test -f /etc/oss.conf
11935 then
11936 . /etc/oss.conf
11938 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11939 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
11940 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11941 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
11942 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11944 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
11946 cat >>confdefs.h <<_ACEOF
11947 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11948 _ACEOF
11950 OSS4INCL="$ac_oss_incl"
11957 CPPFLAGS="$ac_save_CPPFLAGS"
11958 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11959 then
11960 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11964 if test "x$with_capi" != "xno"
11965 then
11966 if test -n "$CAPI20_CFLAGS"; then :
11968 elif test -n "$PKG_CONFIG"; then :
11969 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
11972 if test -n "$CAPI20_LIBS"; then :
11974 elif test -n "$PKG_CONFIG"; then :
11975 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
11979 ac_save_CPPFLAGS=$CPPFLAGS
11980 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
11981 for ac_header in capi20.h linux/capi.h
11982 do :
11983 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11984 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
11986 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11987 cat >>confdefs.h <<_ACEOF
11988 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11989 _ACEOF
11993 done
11995 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11996 then
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11998 $as_echo_n "checking for -lcapi20... " >&6; }
11999 if ${ac_cv_lib_soname_capi20+:} false; then :
12000 $as_echo_n "(cached) " >&6
12001 else
12002 ac_check_soname_save_LIBS=$LIBS
12003 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12005 /* end confdefs.h. */
12007 /* Override any GCC internal prototype to avoid an error.
12008 Use char because int might match the return type of a GCC
12009 builtin and then its argument prototype would still apply. */
12010 #ifdef __cplusplus
12011 extern "C"
12012 #endif
12013 char capi20_register ();
12015 main ()
12017 return capi20_register ();
12019 return 0;
12021 _ACEOF
12022 if ac_fn_c_try_link "$LINENO"; then :
12023 case "$LIBEXT" in
12024 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12025 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'` ;;
12026 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12027 if test "x$ac_cv_lib_soname_capi20" = x; then :
12028 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12029 fi ;;
12030 esac
12032 rm -f core conftest.err conftest.$ac_objext \
12033 conftest$ac_exeext conftest.$ac_ext
12034 LIBS=$ac_check_soname_save_LIBS
12036 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12038 $as_echo "not found" >&6; }
12040 else
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12042 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12044 cat >>confdefs.h <<_ACEOF
12045 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12046 _ACEOF
12051 CPPFLAGS=$ac_save_CPPFLAGS
12052 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12053 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12056 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12057 case "x$with_capi" in
12058 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12059 xno) ;;
12060 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12061 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12062 esac
12065 CUPSINCL=""
12067 if test "x$with_cups" != "xno"
12068 then
12069 ac_save_CPPFLAGS="$CPPFLAGS"
12070 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12071 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12072 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12073 for ac_header in cups/cups.h
12074 do :
12075 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12076 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12077 cat >>confdefs.h <<_ACEOF
12078 #define HAVE_CUPS_CUPS_H 1
12079 _ACEOF
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12081 $as_echo_n "checking for -lcups... " >&6; }
12082 if ${ac_cv_lib_soname_cups+:} false; then :
12083 $as_echo_n "(cached) " >&6
12084 else
12085 ac_check_soname_save_LIBS=$LIBS
12086 LIBS="-lcups $ac_cups_libs $LIBS"
12087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12088 /* end confdefs.h. */
12090 /* Override any GCC internal prototype to avoid an error.
12091 Use char because int might match the return type of a GCC
12092 builtin and then its argument prototype would still apply. */
12093 #ifdef __cplusplus
12094 extern "C"
12095 #endif
12096 char cupsGetDefault ();
12098 main ()
12100 return cupsGetDefault ();
12102 return 0;
12104 _ACEOF
12105 if ac_fn_c_try_link "$LINENO"; then :
12106 case "$LIBEXT" in
12107 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12108 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'` ;;
12109 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12110 if test "x$ac_cv_lib_soname_cups" = x; then :
12111 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12112 fi ;;
12113 esac
12115 rm -f core conftest.err conftest.$ac_objext \
12116 conftest$ac_exeext conftest.$ac_ext
12117 LIBS=$ac_check_soname_save_LIBS
12119 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12121 $as_echo "not found" >&6; }
12123 else
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12125 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12127 cat >>confdefs.h <<_ACEOF
12128 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12129 _ACEOF
12131 CUPSINCL="$ac_cups_cflags"
12135 done
12137 CPPFLAGS="$ac_save_CPPFLAGS"
12139 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12140 case "x$with_cups" in
12141 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12142 xno) ;;
12143 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12144 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12145 esac
12148 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12149 then
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12151 $as_echo_n "checking for -lfontconfig... " >&6; }
12152 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12153 $as_echo_n "(cached) " >&6
12154 else
12155 ac_check_soname_save_LIBS=$LIBS
12156 LIBS="-lfontconfig $LIBS"
12157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12160 /* Override any GCC internal prototype to avoid an error.
12161 Use char because int might match the return type of a GCC
12162 builtin and then its argument prototype would still apply. */
12163 #ifdef __cplusplus
12164 extern "C"
12165 #endif
12166 char FcInit ();
12168 main ()
12170 return FcInit ();
12172 return 0;
12174 _ACEOF
12175 if ac_fn_c_try_link "$LINENO"; then :
12176 case "$LIBEXT" in
12177 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12178 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'` ;;
12179 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12180 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12181 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12182 fi ;;
12183 esac
12185 rm -f core conftest.err conftest.$ac_objext \
12186 conftest$ac_exeext conftest.$ac_ext
12187 LIBS=$ac_check_soname_save_LIBS
12189 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12191 $as_echo "not found" >&6; }
12193 else
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12195 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12197 cat >>confdefs.h <<_ACEOF
12198 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12199 _ACEOF
12203 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12204 then
12205 ac_save_CPPFLAGS="$CPPFLAGS"
12206 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
12207 $as_unset ac_cv_header_fontconfig_fontconfig_h
12208 for ac_header in fontconfig/fontconfig.h
12209 do :
12210 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12211 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12212 cat >>confdefs.h <<_ACEOF
12213 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12214 _ACEOF
12218 done
12220 CPPFLAGS="$ac_save_CPPFLAGS"
12221 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12222 then
12223 FONTCONFIGINCL="$X_CFLAGS"
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12226 $as_echo_n "checking for -lfontconfig... " >&6; }
12227 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12228 $as_echo_n "(cached) " >&6
12229 else
12230 ac_check_soname_save_LIBS=$LIBS
12231 LIBS="-lfontconfig $X_LIBS $LIBS"
12232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12233 /* end confdefs.h. */
12235 /* Override any GCC internal prototype to avoid an error.
12236 Use char because int might match the return type of a GCC
12237 builtin and then its argument prototype would still apply. */
12238 #ifdef __cplusplus
12239 extern "C"
12240 #endif
12241 char FcInit ();
12243 main ()
12245 return FcInit ();
12247 return 0;
12249 _ACEOF
12250 if ac_fn_c_try_link "$LINENO"; then :
12251 case "$LIBEXT" in
12252 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12253 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'` ;;
12254 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12255 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12256 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12257 fi ;;
12258 esac
12260 rm -f core conftest.err conftest.$ac_objext \
12261 conftest$ac_exeext conftest.$ac_ext
12262 LIBS=$ac_check_soname_save_LIBS
12264 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12266 $as_echo "not found" >&6; }
12268 else
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12270 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12272 cat >>confdefs.h <<_ACEOF
12273 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12274 _ACEOF
12280 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12281 case "x$with_fontconfig" in
12282 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12283 xno) ;;
12284 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12285 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12286 esac
12289 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12290 then
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12292 $as_echo_n "checking for -lgsm... " >&6; }
12293 if ${ac_cv_lib_soname_gsm+:} false; then :
12294 $as_echo_n "(cached) " >&6
12295 else
12296 ac_check_soname_save_LIBS=$LIBS
12297 LIBS="-lgsm $LIBS"
12298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12299 /* end confdefs.h. */
12301 /* Override any GCC internal prototype to avoid an error.
12302 Use char because int might match the return type of a GCC
12303 builtin and then its argument prototype would still apply. */
12304 #ifdef __cplusplus
12305 extern "C"
12306 #endif
12307 char gsm_create ();
12309 main ()
12311 return gsm_create ();
12313 return 0;
12315 _ACEOF
12316 if ac_fn_c_try_link "$LINENO"; then :
12317 case "$LIBEXT" in
12318 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12319 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'` ;;
12320 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12321 if test "x$ac_cv_lib_soname_gsm" = x; then :
12322 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12323 fi ;;
12324 esac
12326 rm -f core conftest.err conftest.$ac_objext \
12327 conftest$ac_exeext conftest.$ac_ext
12328 LIBS=$ac_check_soname_save_LIBS
12330 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12332 $as_echo "not found" >&6; }
12334 else
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12336 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12338 cat >>confdefs.h <<_ACEOF
12339 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12340 _ACEOF
12345 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12346 case "x$with_gsm" in
12347 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12348 xno) ;;
12349 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12350 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12351 esac
12354 if test "x$with_jpeg" != "xno"
12355 then
12356 if test -n "$JPEG_CFLAGS"; then :
12358 elif test -n "$PKG_CONFIG"; then :
12359 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12362 if test -n "$JPEG_LIBS"; then :
12364 elif test -n "$PKG_CONFIG"; then :
12365 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12369 ac_save_CPPFLAGS=$CPPFLAGS
12370 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12371 for ac_header in jpeglib.h
12372 do :
12373 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12374 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12375 cat >>confdefs.h <<_ACEOF
12376 #define HAVE_JPEGLIB_H 1
12377 _ACEOF
12381 done
12383 if test "$ac_cv_header_jpeglib_h" = "yes"
12384 then
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12386 $as_echo_n "checking for -ljpeg... " >&6; }
12387 if ${ac_cv_lib_soname_jpeg+:} false; then :
12388 $as_echo_n "(cached) " >&6
12389 else
12390 ac_check_soname_save_LIBS=$LIBS
12391 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12393 /* end confdefs.h. */
12395 /* Override any GCC internal prototype to avoid an error.
12396 Use char because int might match the return type of a GCC
12397 builtin and then its argument prototype would still apply. */
12398 #ifdef __cplusplus
12399 extern "C"
12400 #endif
12401 char jpeg_start_decompress ();
12403 main ()
12405 return jpeg_start_decompress ();
12407 return 0;
12409 _ACEOF
12410 if ac_fn_c_try_link "$LINENO"; then :
12411 case "$LIBEXT" in
12412 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12413 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'` ;;
12414 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12415 if test "x$ac_cv_lib_soname_jpeg" = x; then :
12416 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12417 fi ;;
12418 esac
12420 rm -f core conftest.err conftest.$ac_objext \
12421 conftest$ac_exeext conftest.$ac_ext
12422 LIBS=$ac_check_soname_save_LIBS
12424 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12426 $as_echo "not found" >&6; }
12427 JPEG_CFLAGS=""
12428 else
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12430 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12432 cat >>confdefs.h <<_ACEOF
12433 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12434 _ACEOF
12438 else
12439 JPEG_CFLAGS=""
12441 CPPFLAGS=$ac_save_CPPFLAGS
12442 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12443 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12446 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12447 case "x$with_jpeg" in
12448 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12449 xno) ;;
12450 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12451 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12452 esac
12455 if test "x$with_png" != "xno"
12456 then
12457 if test -n "$PNG_CFLAGS"; then :
12459 elif test -n "$PKG_CONFIG"; then :
12460 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12462 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12463 if test -n "$PNG_LIBS"; then :
12465 elif test -n "$PKG_CONFIG"; then :
12466 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12468 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12470 ac_save_CPPFLAGS=$CPPFLAGS
12471 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12472 for ac_header in png.h
12473 do :
12474 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12475 if test "x$ac_cv_header_png_h" = xyes; then :
12476 cat >>confdefs.h <<_ACEOF
12477 #define HAVE_PNG_H 1
12478 _ACEOF
12482 done
12484 if test "$ac_cv_header_png_h" = "yes"
12485 then
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12487 $as_echo_n "checking for -lpng... " >&6; }
12488 if ${ac_cv_lib_soname_png+:} false; then :
12489 $as_echo_n "(cached) " >&6
12490 else
12491 ac_check_soname_save_LIBS=$LIBS
12492 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h. */
12496 /* Override any GCC internal prototype to avoid an error.
12497 Use char because int might match the return type of a GCC
12498 builtin and then its argument prototype would still apply. */
12499 #ifdef __cplusplus
12500 extern "C"
12501 #endif
12502 char png_create_read_struct ();
12504 main ()
12506 return png_create_read_struct ();
12508 return 0;
12510 _ACEOF
12511 if ac_fn_c_try_link "$LINENO"; then :
12512 case "$LIBEXT" in
12513 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12514 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'` ;;
12515 *) 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'`
12516 if test "x$ac_cv_lib_soname_png" = x; then :
12517 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12518 fi ;;
12519 esac
12521 rm -f core conftest.err conftest.$ac_objext \
12522 conftest$ac_exeext conftest.$ac_ext
12523 LIBS=$ac_check_soname_save_LIBS
12525 if test "x$ac_cv_lib_soname_png" = "x"; then :
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12527 $as_echo "not found" >&6; }
12528 PNG_CFLAGS=""
12529 else
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12531 $as_echo "$ac_cv_lib_soname_png" >&6; }
12533 cat >>confdefs.h <<_ACEOF
12534 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12535 _ACEOF
12537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12538 /* end confdefs.h. */
12539 #include <png.h>
12541 main ()
12543 typeof(png_set_expand_gray_1_2_4_to_8) *p
12545 return 0;
12547 _ACEOF
12548 if ac_fn_c_try_compile "$LINENO"; then :
12550 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12555 else
12556 PNG_CFLAGS=""
12558 CPPFLAGS=$ac_save_CPPFLAGS
12559 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12560 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12563 if test "x$ac_cv_lib_soname_png" = "x"; then :
12564 case "x$with_png" in
12565 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12566 xno) ;;
12567 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12568 This is an error since --with-png was requested." "$LINENO" 5 ;;
12569 esac
12572 if test "x$with_tiff" != "xno"
12573 then
12574 if test -n "$TIFF_CFLAGS"; then :
12576 elif test -n "$PKG_CONFIG"; then :
12577 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12580 if test -n "$TIFF_LIBS"; then :
12582 elif test -n "$PKG_CONFIG"; then :
12583 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12587 ac_save_CPPFLAGS=$CPPFLAGS
12588 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12589 for ac_header in tiffio.h
12590 do :
12591 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12592 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12593 cat >>confdefs.h <<_ACEOF
12594 #define HAVE_TIFFIO_H 1
12595 _ACEOF
12599 done
12601 if test "$ac_cv_header_tiffio_h" = "yes"
12602 then
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12604 $as_echo_n "checking for -ltiff... " >&6; }
12605 if ${ac_cv_lib_soname_tiff+:} false; then :
12606 $as_echo_n "(cached) " >&6
12607 else
12608 ac_check_soname_save_LIBS=$LIBS
12609 LIBS="-ltiff $TIFF_LIBS $LIBS"
12610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12613 /* Override any GCC internal prototype to avoid an error.
12614 Use char because int might match the return type of a GCC
12615 builtin and then its argument prototype would still apply. */
12616 #ifdef __cplusplus
12617 extern "C"
12618 #endif
12619 char TIFFClientOpen ();
12621 main ()
12623 return TIFFClientOpen ();
12625 return 0;
12627 _ACEOF
12628 if ac_fn_c_try_link "$LINENO"; then :
12629 case "$LIBEXT" in
12630 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12631 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'` ;;
12632 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12633 if test "x$ac_cv_lib_soname_tiff" = x; then :
12634 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12635 fi ;;
12636 esac
12638 rm -f core conftest.err conftest.$ac_objext \
12639 conftest$ac_exeext conftest.$ac_ext
12640 LIBS=$ac_check_soname_save_LIBS
12642 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12644 $as_echo "not found" >&6; }
12646 else
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12648 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12650 cat >>confdefs.h <<_ACEOF
12651 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12652 _ACEOF
12657 CPPFLAGS=$ac_save_CPPFLAGS
12658 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12659 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12662 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12663 case "x$with_tiff" in
12664 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12665 xno) ;;
12666 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
12667 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12668 esac
12671 if test "x$with_mpg123" != "xno"
12672 then
12673 if test -n "$MPG123_CFLAGS"; then :
12675 elif test -n "$PKG_CONFIG"; then :
12676 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12679 if test -n "$MPG123_LIBS"; then :
12681 elif test -n "$PKG_CONFIG"; then :
12682 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12685 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
12686 ac_save_CPPFLAGS=$CPPFLAGS
12687 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
12688 for ac_header in mpg123.h
12689 do :
12690 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12691 if test "x$ac_cv_header_mpg123_h" = xyes; then :
12692 cat >>confdefs.h <<_ACEOF
12693 #define HAVE_MPG123_H 1
12694 _ACEOF
12698 done
12700 if test "$ac_cv_header_mpg123_h" = "yes"
12701 then
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12703 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12704 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
12705 $as_echo_n "(cached) " >&6
12706 else
12707 ac_check_lib_save_LIBS=$LIBS
12708 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
12709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12710 /* end confdefs.h. */
12712 /* Override any GCC internal prototype to avoid an error.
12713 Use char because int might match the return type of a GCC
12714 builtin and then its argument prototype would still apply. */
12715 #ifdef __cplusplus
12716 extern "C"
12717 #endif
12718 char mpg123_feed ();
12720 main ()
12722 return mpg123_feed ();
12724 return 0;
12726 _ACEOF
12727 if ac_fn_c_try_link "$LINENO"; then :
12728 ac_cv_lib_mpg123_mpg123_feed=yes
12729 else
12730 ac_cv_lib_mpg123_mpg123_feed=no
12732 rm -f core conftest.err conftest.$ac_objext \
12733 conftest$ac_exeext conftest.$ac_ext
12734 LIBS=$ac_check_lib_save_LIBS
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12737 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12738 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
12740 else
12741 MPG123_LIBS=""
12744 else
12745 MPG123_CFLAGS=""
12746 MPG123_LIBS=""
12748 CPPFLAGS=$ac_save_CPPFLAGS
12749 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12750 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12753 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
12754 case "x$with_mpg123" in
12755 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12756 xno) ;;
12757 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12758 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12759 esac
12761 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}
12763 if test "$ac_cv_header_AL_al_h" = "yes"
12764 then
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12766 $as_echo_n "checking for -lopenal... " >&6; }
12767 if ${ac_cv_lib_soname_openal+:} false; then :
12768 $as_echo_n "(cached) " >&6
12769 else
12770 ac_check_soname_save_LIBS=$LIBS
12771 LIBS="-lopenal $LIBS"
12772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12775 /* Override any GCC internal prototype to avoid an error.
12776 Use char because int might match the return type of a GCC
12777 builtin and then its argument prototype would still apply. */
12778 #ifdef __cplusplus
12779 extern "C"
12780 #endif
12781 char alGetSource3i ();
12783 main ()
12785 return alGetSource3i ();
12787 return 0;
12789 _ACEOF
12790 if ac_fn_c_try_link "$LINENO"; then :
12791 case "$LIBEXT" in
12792 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12793 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'` ;;
12794 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12795 if test "x$ac_cv_lib_soname_openal" = x; then :
12796 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12797 fi ;;
12798 esac
12800 rm -f core conftest.err conftest.$ac_objext \
12801 conftest$ac_exeext conftest.$ac_ext
12802 LIBS=$ac_check_soname_save_LIBS
12804 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12806 $as_echo "not found" >&6; }
12808 else
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12810 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12812 cat >>confdefs.h <<_ACEOF
12813 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12814 _ACEOF
12816 LIBOPENAL="-lopenal"
12818 ac_cv_lib_openal=yes
12820 cat >>confdefs.h <<_ACEOF
12821 #define HAVE_OPENAL 1
12822 _ACEOF
12826 if test "x$ac_cv_lib_openal" != xyes; then :
12827 case "x$with_openal" in
12828 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12829 xno) ;;
12830 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12831 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12832 esac
12834 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
12836 if test "$ac_cv_header_kstat_h" = "yes"
12837 then
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12839 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12840 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12841 $as_echo_n "(cached) " >&6
12842 else
12843 ac_check_lib_save_LIBS=$LIBS
12844 LIBS="-lkstat $LIBS"
12845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12848 /* Override any GCC internal prototype to avoid an error.
12849 Use char because int might match the return type of a GCC
12850 builtin and then its argument prototype would still apply. */
12851 #ifdef __cplusplus
12852 extern "C"
12853 #endif
12854 char kstat_open ();
12856 main ()
12858 return kstat_open ();
12860 return 0;
12862 _ACEOF
12863 if ac_fn_c_try_link "$LINENO"; then :
12864 ac_cv_lib_kstat_kstat_open=yes
12865 else
12866 ac_cv_lib_kstat_kstat_open=no
12868 rm -f core conftest.err conftest.$ac_objext \
12869 conftest$ac_exeext conftest.$ac_ext
12870 LIBS=$ac_check_lib_save_LIBS
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12873 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12874 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12876 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12878 LIBKSTAT="-lkstat"
12884 if test "$ac_cv_header_libprocstat_h" = "yes"
12885 then
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12887 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12888 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
12889 $as_echo_n "(cached) " >&6
12890 else
12891 ac_check_lib_save_LIBS=$LIBS
12892 LIBS="-lprocstat $LIBS"
12893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12894 /* end confdefs.h. */
12896 /* Override any GCC internal prototype to avoid an error.
12897 Use char because int might match the return type of a GCC
12898 builtin and then its argument prototype would still apply. */
12899 #ifdef __cplusplus
12900 extern "C"
12901 #endif
12902 char procstat_open_sysctl ();
12904 main ()
12906 return procstat_open_sysctl ();
12908 return 0;
12910 _ACEOF
12911 if ac_fn_c_try_link "$LINENO"; then :
12912 ac_cv_lib_procstat_procstat_open_sysctl=yes
12913 else
12914 ac_cv_lib_procstat_procstat_open_sysctl=no
12916 rm -f core conftest.err conftest.$ac_objext \
12917 conftest$ac_exeext conftest.$ac_ext
12918 LIBS=$ac_check_lib_save_LIBS
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12921 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12922 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
12924 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12926 LIBPROCSTAT="-lprocstat"
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12933 $as_echo_n "checking for -lodbc... " >&6; }
12934 if ${ac_cv_lib_soname_odbc+:} false; then :
12935 $as_echo_n "(cached) " >&6
12936 else
12937 ac_check_soname_save_LIBS=$LIBS
12938 LIBS="-lodbc $LIBS"
12939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12942 /* Override any GCC internal prototype to avoid an error.
12943 Use char because int might match the return type of a GCC
12944 builtin and then its argument prototype would still apply. */
12945 #ifdef __cplusplus
12946 extern "C"
12947 #endif
12948 char SQLConnect ();
12950 main ()
12952 return SQLConnect ();
12954 return 0;
12956 _ACEOF
12957 if ac_fn_c_try_link "$LINENO"; then :
12958 case "$LIBEXT" in
12959 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12960 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'` ;;
12961 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12962 if test "x$ac_cv_lib_soname_odbc" = x; then :
12963 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12964 fi ;;
12965 esac
12967 rm -f core conftest.err conftest.$ac_objext \
12968 conftest$ac_exeext conftest.$ac_ext
12969 LIBS=$ac_check_soname_save_LIBS
12971 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12973 $as_echo "not found" >&6; }
12974 cat >>confdefs.h <<_ACEOF
12975 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12976 _ACEOF
12978 else
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12980 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12982 cat >>confdefs.h <<_ACEOF
12983 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12984 _ACEOF
12989 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12990 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
12991 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12992 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
12994 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12995 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
12996 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12997 then
12998 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13002 EXTRACFLAGS=""
13004 if test "x${GCC}" = "xyes"
13005 then
13006 EXTRACFLAGS="-Wall -pipe"
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13009 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13010 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13011 $as_echo_n "(cached) " >&6
13012 else
13013 if test "$cross_compiling" = yes; then :
13014 ac_cv_c_gcc_strength_bug="yes"
13015 else
13016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13017 /* end confdefs.h. */
13018 int L[4] = {0,1,2,3};
13020 main ()
13022 static int Array[3];
13023 unsigned int B = 3;
13024 int i;
13025 for(i=0; i<B; i++) Array[i] = i - 3;
13026 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13027 L[i] = 4;
13028 return (Array[1] != -2 || L[2] != 3)
13030 return 0;
13032 _ACEOF
13033 if ac_fn_c_try_run "$LINENO"; then :
13034 ac_cv_c_gcc_strength_bug="no"
13035 else
13036 ac_cv_c_gcc_strength_bug="yes"
13038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13039 conftest.$ac_objext conftest.beam conftest.$ac_ext
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13044 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13045 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13046 then
13047 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13051 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13052 if ${ac_cv_cflags__fno_builtin+:} false; then :
13053 $as_echo_n "(cached) " >&6
13054 else
13055 ac_wine_try_cflags_saved=$CFLAGS
13056 CFLAGS="$CFLAGS -fno-builtin"
13057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13058 /* end confdefs.h. */
13059 int main(int argc, char **argv) { return 0; }
13060 _ACEOF
13061 if ac_fn_c_try_link "$LINENO"; then :
13062 ac_cv_cflags__fno_builtin=yes
13063 else
13064 ac_cv_cflags__fno_builtin=no
13066 rm -f core conftest.err conftest.$ac_objext \
13067 conftest$ac_exeext conftest.$ac_ext
13068 CFLAGS=$ac_wine_try_cflags_saved
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13071 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13072 if test $ac_cv_cflags__fno_builtin = yes; then :
13073 BUILTINFLAG="-fno-builtin"
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13077 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13078 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13079 $as_echo_n "(cached) " >&6
13080 else
13081 ac_wine_try_cflags_saved=$CFLAGS
13082 CFLAGS="$CFLAGS -fno-strict-aliasing"
13083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13084 /* end confdefs.h. */
13085 int main(int argc, char **argv) { return 0; }
13086 _ACEOF
13087 if ac_fn_c_try_link "$LINENO"; then :
13088 ac_cv_cflags__fno_strict_aliasing=yes
13089 else
13090 ac_cv_cflags__fno_strict_aliasing=no
13092 rm -f core conftest.err conftest.$ac_objext \
13093 conftest$ac_exeext conftest.$ac_ext
13094 CFLAGS=$ac_wine_try_cflags_saved
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13097 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13098 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13099 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13101 saved_CFLAGS=$CFLAGS
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13103 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13104 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13105 $as_echo_n "(cached) " >&6
13106 else
13107 ac_wine_try_cflags_saved=$CFLAGS
13108 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13111 int main(int argc, char **argv) { return 0; }
13112 _ACEOF
13113 if ac_fn_c_try_link "$LINENO"; then :
13114 ac_cv_cflags__Werror_unknown_warning_option=yes
13115 else
13116 ac_cv_cflags__Werror_unknown_warning_option=no
13118 rm -f core conftest.err conftest.$ac_objext \
13119 conftest$ac_exeext conftest.$ac_ext
13120 CFLAGS=$ac_wine_try_cflags_saved
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13123 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13124 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13125 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13128 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13129 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13130 $as_echo_n "(cached) " >&6
13131 else
13132 ac_wine_try_cflags_saved=$CFLAGS
13133 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13135 /* end confdefs.h. */
13136 int main(int argc, char **argv) { return 0; }
13137 _ACEOF
13138 if ac_fn_c_try_link "$LINENO"; then :
13139 ac_cv_cflags__Wdeclaration_after_statement=yes
13140 else
13141 ac_cv_cflags__Wdeclaration_after_statement=no
13143 rm -f core conftest.err conftest.$ac_objext \
13144 conftest$ac_exeext conftest.$ac_ext
13145 CFLAGS=$ac_wine_try_cflags_saved
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13148 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13149 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13150 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13153 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13154 if ${ac_cv_cflags__Wempty_body+:} false; then :
13155 $as_echo_n "(cached) " >&6
13156 else
13157 ac_wine_try_cflags_saved=$CFLAGS
13158 CFLAGS="$CFLAGS -Wempty-body"
13159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13160 /* end confdefs.h. */
13161 int main(int argc, char **argv) { return 0; }
13162 _ACEOF
13163 if ac_fn_c_try_link "$LINENO"; then :
13164 ac_cv_cflags__Wempty_body=yes
13165 else
13166 ac_cv_cflags__Wempty_body=no
13168 rm -f core conftest.err conftest.$ac_objext \
13169 conftest$ac_exeext conftest.$ac_ext
13170 CFLAGS=$ac_wine_try_cflags_saved
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13173 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13174 if test $ac_cv_cflags__Wempty_body = yes; then :
13175 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13178 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13179 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13180 $as_echo_n "(cached) " >&6
13181 else
13182 ac_wine_try_cflags_saved=$CFLAGS
13183 CFLAGS="$CFLAGS -Wignored-qualifiers"
13184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13185 /* end confdefs.h. */
13186 int main(int argc, char **argv) { return 0; }
13187 _ACEOF
13188 if ac_fn_c_try_link "$LINENO"; then :
13189 ac_cv_cflags__Wignored_qualifiers=yes
13190 else
13191 ac_cv_cflags__Wignored_qualifiers=no
13193 rm -f core conftest.err conftest.$ac_objext \
13194 conftest$ac_exeext conftest.$ac_ext
13195 CFLAGS=$ac_wine_try_cflags_saved
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13198 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13199 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13200 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13203 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13204 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13205 $as_echo_n "(cached) " >&6
13206 else
13207 ac_wine_try_cflags_saved=$CFLAGS
13208 CFLAGS="$CFLAGS -Wstrict-prototypes"
13209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13210 /* end confdefs.h. */
13211 int main(int argc, char **argv) { return 0; }
13212 _ACEOF
13213 if ac_fn_c_try_link "$LINENO"; then :
13214 ac_cv_cflags__Wstrict_prototypes=yes
13215 else
13216 ac_cv_cflags__Wstrict_prototypes=no
13218 rm -f core conftest.err conftest.$ac_objext \
13219 conftest$ac_exeext conftest.$ac_ext
13220 CFLAGS=$ac_wine_try_cflags_saved
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13223 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13224 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13225 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13228 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13229 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13230 $as_echo_n "(cached) " >&6
13231 else
13232 ac_wine_try_cflags_saved=$CFLAGS
13233 CFLAGS="$CFLAGS -Wtype-limits"
13234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13235 /* end confdefs.h. */
13236 int main(int argc, char **argv) { return 0; }
13237 _ACEOF
13238 if ac_fn_c_try_link "$LINENO"; then :
13239 ac_cv_cflags__Wtype_limits=yes
13240 else
13241 ac_cv_cflags__Wtype_limits=no
13243 rm -f core conftest.err conftest.$ac_objext \
13244 conftest$ac_exeext conftest.$ac_ext
13245 CFLAGS=$ac_wine_try_cflags_saved
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13248 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13249 if test $ac_cv_cflags__Wtype_limits = yes; then :
13250 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13253 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13254 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13255 $as_echo_n "(cached) " >&6
13256 else
13257 ac_wine_try_cflags_saved=$CFLAGS
13258 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13260 /* end confdefs.h. */
13261 int main(int argc, char **argv) { return 0; }
13262 _ACEOF
13263 if ac_fn_c_try_link "$LINENO"; then :
13264 ac_cv_cflags__Wunused_but_set_parameter=yes
13265 else
13266 ac_cv_cflags__Wunused_but_set_parameter=no
13268 rm -f core conftest.err conftest.$ac_objext \
13269 conftest$ac_exeext conftest.$ac_ext
13270 CFLAGS=$ac_wine_try_cflags_saved
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13273 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13274 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13275 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13278 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13279 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13280 $as_echo_n "(cached) " >&6
13281 else
13282 ac_wine_try_cflags_saved=$CFLAGS
13283 CFLAGS="$CFLAGS -Wwrite-strings"
13284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13285 /* end confdefs.h. */
13286 int main(int argc, char **argv) { return 0; }
13287 _ACEOF
13288 if ac_fn_c_try_link "$LINENO"; then :
13289 ac_cv_cflags__Wwrite_strings=yes
13290 else
13291 ac_cv_cflags__Wwrite_strings=no
13293 rm -f core conftest.err conftest.$ac_objext \
13294 conftest$ac_exeext conftest.$ac_ext
13295 CFLAGS=$ac_wine_try_cflags_saved
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13298 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13299 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13300 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13304 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13305 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13306 $as_echo_n "(cached) " >&6
13307 else
13308 ac_wine_try_cflags_saved=$CFLAGS
13309 CFLAGS="$CFLAGS -Wpointer-arith"
13310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13311 /* end confdefs.h. */
13312 int main(int argc, char **argv) { return 0; }
13313 _ACEOF
13314 if ac_fn_c_try_link "$LINENO"; then :
13315 ac_cv_cflags__Wpointer_arith=yes
13316 else
13317 ac_cv_cflags__Wpointer_arith=no
13319 rm -f core conftest.err conftest.$ac_objext \
13320 conftest$ac_exeext conftest.$ac_ext
13321 CFLAGS=$ac_wine_try_cflags_saved
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13324 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13325 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13326 saved_string_h_CFLAGS=$CFLAGS
13327 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13329 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13330 if ${ac_cv_c_string_h_warnings+:} false; then :
13331 $as_echo_n "(cached) " >&6
13332 else
13333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13334 /* end confdefs.h. */
13335 #include <string.h>
13337 main ()
13341 return 0;
13343 _ACEOF
13344 if ac_fn_c_try_compile "$LINENO"; then :
13345 ac_cv_c_string_h_warnings=no
13346 else
13347 ac_cv_c_string_h_warnings=yes
13349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13352 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13353 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13354 CFLAGS=$saved_string_h_CFLAGS
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13358 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13359 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13360 $as_echo_n "(cached) " >&6
13361 else
13362 ac_wine_try_cflags_saved=$CFLAGS
13363 CFLAGS="$CFLAGS -Wlogical-op"
13364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13365 /* end confdefs.h. */
13366 int main(int argc, char **argv) { return 0; }
13367 _ACEOF
13368 if ac_fn_c_try_link "$LINENO"; then :
13369 ac_cv_cflags__Wlogical_op=yes
13370 else
13371 ac_cv_cflags__Wlogical_op=no
13373 rm -f core conftest.err conftest.$ac_objext \
13374 conftest$ac_exeext conftest.$ac_ext
13375 CFLAGS=$ac_wine_try_cflags_saved
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13378 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13379 if test $ac_cv_cflags__Wlogical_op = yes; then :
13380 saved_string_h_CFLAGS=$CFLAGS
13381 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13383 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13384 if ${ac_cv_c_logicalop_noisy+:} false; then :
13385 $as_echo_n "(cached) " >&6
13386 else
13387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13388 /* end confdefs.h. */
13389 #include <string.h>
13390 char*f(const char *h,char n) {return strchr(h,n);}
13392 main ()
13396 return 0;
13398 _ACEOF
13399 if ac_fn_c_try_compile "$LINENO"; then :
13400 ac_cv_c_logicalop_noisy=no
13401 else
13402 ac_cv_c_logicalop_noisy=yes
13404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13407 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13408 CFLAGS=$saved_string_h_CFLAGS
13409 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13412 CFLAGS=$saved_CFLAGS
13414 for ac_flag in $CFLAGS; do
13415 case $ac_flag in
13416 -g) case $host_os in
13417 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13418 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13419 if ${ac_cv_cflags__gstabsp+:} false; then :
13420 $as_echo_n "(cached) " >&6
13421 else
13422 ac_wine_try_cflags_saved=$CFLAGS
13423 CFLAGS="$CFLAGS -gstabs+"
13424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13425 /* end confdefs.h. */
13426 int main(int argc, char **argv) { return 0; }
13427 _ACEOF
13428 if ac_fn_c_try_link "$LINENO"; then :
13429 ac_cv_cflags__gstabsp=yes
13430 else
13431 ac_cv_cflags__gstabsp=no
13433 rm -f core conftest.err conftest.$ac_objext \
13434 conftest$ac_exeext conftest.$ac_ext
13435 CFLAGS=$ac_wine_try_cflags_saved
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13438 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13439 if test $ac_cv_cflags__gstabsp = yes; then :
13440 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13441 fi ;;
13442 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13443 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13444 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13445 $as_echo_n "(cached) " >&6
13446 else
13447 ac_wine_try_cflags_saved=$CFLAGS
13448 CFLAGS="$CFLAGS -gdwarf-2"
13449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13450 /* end confdefs.h. */
13451 int main(int argc, char **argv) { return 0; }
13452 _ACEOF
13453 if ac_fn_c_try_link "$LINENO"; then :
13454 ac_cv_cflags__gdwarf_2=yes
13455 else
13456 ac_cv_cflags__gdwarf_2=no
13458 rm -f core conftest.err conftest.$ac_objext \
13459 conftest$ac_exeext conftest.$ac_ext
13460 CFLAGS=$ac_wine_try_cflags_saved
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13463 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13464 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13465 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13468 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13469 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13470 $as_echo_n "(cached) " >&6
13471 else
13472 ac_wine_try_cflags_saved=$CFLAGS
13473 CFLAGS="$CFLAGS -gstrict-dwarf"
13474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13476 int main(int argc, char **argv) { return 0; }
13477 _ACEOF
13478 if ac_fn_c_try_link "$LINENO"; then :
13479 ac_cv_cflags__gstrict_dwarf=yes
13480 else
13481 ac_cv_cflags__gstrict_dwarf=no
13483 rm -f core conftest.err conftest.$ac_objext \
13484 conftest$ac_exeext conftest.$ac_ext
13485 CFLAGS=$ac_wine_try_cflags_saved
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13488 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13489 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13490 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13491 fi ;;
13492 esac ;;
13493 esac
13494 done
13496 case $host_cpu in
13497 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13498 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13499 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13500 $as_echo_n "(cached) " >&6
13501 else
13502 ac_wine_try_cflags_saved=$CFLAGS
13503 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13505 /* end confdefs.h. */
13506 int main(int argc, char **argv) { return 0; }
13507 _ACEOF
13508 if ac_fn_c_try_link "$LINENO"; then :
13509 ac_cv_cflags__fno_omit_frame_pointer=yes
13510 else
13511 ac_cv_cflags__fno_omit_frame_pointer=no
13513 rm -f core conftest.err conftest.$ac_objext \
13514 conftest$ac_exeext conftest.$ac_ext
13515 CFLAGS=$ac_wine_try_cflags_saved
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13518 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13519 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13520 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13521 fi ;;
13522 esac
13524 case $host in
13525 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13526 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13527 if ${ac_cv_cflags__Wno_format+:} false; then :
13528 $as_echo_n "(cached) " >&6
13529 else
13530 ac_wine_try_cflags_saved=$CFLAGS
13531 CFLAGS="$CFLAGS -Wno-format"
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__Wno_format=yes
13538 else
13539 ac_cv_cflags__Wno_format=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__Wno_format" >&5
13546 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13547 if test $ac_cv_cflags__Wno_format = yes; then :
13548 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13549 fi ;;
13550 esac
13552 if test "x$enable_maintainer_mode" = "xyes"
13553 then
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13555 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13556 if ${ac_cv_cflags__Werror+:} false; then :
13557 $as_echo_n "(cached) " >&6
13558 else
13559 ac_wine_try_cflags_saved=$CFLAGS
13560 CFLAGS="$CFLAGS -Werror"
13561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13562 /* end confdefs.h. */
13563 int main(int argc, char **argv) { return 0; }
13564 _ACEOF
13565 if ac_fn_c_try_link "$LINENO"; then :
13566 ac_cv_cflags__Werror=yes
13567 else
13568 ac_cv_cflags__Werror=no
13570 rm -f core conftest.err conftest.$ac_objext \
13571 conftest$ac_exeext conftest.$ac_ext
13572 CFLAGS=$ac_wine_try_cflags_saved
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13575 $as_echo "$ac_cv_cflags__Werror" >&6; }
13576 if test $ac_cv_cflags__Werror = yes; then :
13577 EXTRACFLAGS="$EXTRACFLAGS -Werror"
13581 saved_CFLAGS="$CFLAGS"
13582 CFLAGS="$CFLAGS -Werror"
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13584 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13585 if ${ac_cv_have_ms_hook_prologue+:} false; then :
13586 $as_echo_n "(cached) " >&6
13587 else
13588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13589 /* end confdefs.h. */
13590 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13592 main ()
13596 return 0;
13598 _ACEOF
13599 if ac_fn_c_try_compile "$LINENO"; then :
13600 ac_cv_have_ms_hook_prologue="yes"
13601 else
13602 ac_cv_have_ms_hook_prologue="no"
13604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13607 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13608 CFLAGS="$saved_CFLAGS"
13609 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13610 then
13612 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13614 else
13615 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13622 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13623 if ${ac_cv_c_fortify_enabled+:} false; then :
13624 $as_echo_n "(cached) " >&6
13625 else
13626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13627 /* end confdefs.h. */
13628 #include <string.h>
13630 main ()
13632 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13633 #error Fortify enabled
13634 #endif
13636 return 0;
13638 _ACEOF
13639 if ac_fn_c_try_compile "$LINENO"; then :
13640 ac_cv_c_fortify_enabled=no
13641 else
13642 ac_cv_c_fortify_enabled=yes
13644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13647 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13648 if test "$ac_cv_c_fortify_enabled" = yes
13649 then
13650 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13655 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13656 if ${ac_cv_c_extern_prefix+:} false; then :
13657 $as_echo_n "(cached) " >&6
13658 else
13659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13660 /* end confdefs.h. */
13661 extern int ac_test;
13663 main ()
13665 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13667 return 0;
13669 _ACEOF
13670 if ac_fn_c_try_link "$LINENO"; then :
13671 ac_cv_c_extern_prefix="yes"
13672 else
13673 ac_cv_c_extern_prefix="no"
13675 rm -f core conftest.err conftest.$ac_objext \
13676 conftest$ac_exeext conftest.$ac_ext
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13679 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13681 case $host_cpu in
13682 *i[3456789]86*)
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13684 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13685 if ${ac_cv_c_stdcall_suffix+:} false; then :
13686 $as_echo_n "(cached) " >&6
13687 else
13688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13689 /* end confdefs.h. */
13690 #ifndef _MSC_VER
13691 #define __stdcall __attribute__((__stdcall__))
13692 #endif
13693 int __stdcall ac_test(int i) { return i; }
13695 main ()
13697 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13699 return 0;
13701 _ACEOF
13702 if ac_fn_c_try_link "$LINENO"; then :
13703 ac_cv_c_stdcall_suffix="yes"
13704 else
13705 ac_cv_c_stdcall_suffix="no"
13707 rm -f core conftest.err conftest.$ac_objext \
13708 conftest$ac_exeext conftest.$ac_ext
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13711 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13712 *) ac_cv_c_stdcall_suffix="no" ;;
13713 esac
13716 if test "$ac_cv_c_extern_prefix" = "yes"
13717 then
13718 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13720 asm_name_prefix="_"
13721 else
13722 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13724 asm_name_prefix=""
13728 if test "$ac_cv_c_stdcall_suffix" = "yes"
13729 then
13730 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13732 else
13733 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13739 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13740 if ${ac_cv_asm_func_def+:} false; then :
13741 $as_echo_n "(cached) " >&6
13742 else
13743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13747 main ()
13749 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13751 return 0;
13753 _ACEOF
13754 if ac_fn_c_try_link "$LINENO"; then :
13755 ac_cv_asm_func_def=".def"
13756 else
13757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13758 /* end confdefs.h. */
13761 main ()
13763 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13765 return 0;
13767 _ACEOF
13768 if ac_fn_c_try_link "$LINENO"; then :
13769 ac_cv_asm_func_def=".type @function"
13770 else
13771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13772 /* end confdefs.h. */
13775 main ()
13777 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13779 return 0;
13781 _ACEOF
13782 if ac_fn_c_try_link "$LINENO"; then :
13783 ac_cv_asm_func_def=".type 2"
13784 else
13785 ac_cv_asm_func_def="unknown"
13787 rm -f core conftest.err conftest.$ac_objext \
13788 conftest$ac_exeext conftest.$ac_ext
13790 rm -f core conftest.err conftest.$ac_objext \
13791 conftest$ac_exeext conftest.$ac_ext
13793 rm -f core conftest.err conftest.$ac_objext \
13794 conftest$ac_exeext conftest.$ac_ext
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13797 $as_echo "$ac_cv_asm_func_def" >&6; }
13800 case "$ac_cv_asm_func_def" in
13801 ".def")
13802 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13804 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13805 ".type @function")
13806 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13808 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
13809 ".type 2")
13810 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13812 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
13814 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13816 asm_func_header="" ;;
13817 esac
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13820 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13821 if ${ac_cv_c_asm_outside_funcs+:} false; then :
13822 $as_echo_n "(cached) " >&6
13823 else
13824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13825 /* end confdefs.h. */
13826 asm(".text\n\t.long 0");
13828 main ()
13832 return 0;
13834 _ACEOF
13835 if ac_fn_c_try_compile "$LINENO"; then :
13836 ac_cv_c_asm_outside_funcs="yes"
13837 else
13838 ac_cv_c_asm_outside_funcs="no"
13840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13843 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13846 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13847 if ${ac_cv_c_dot_previous+:} false; then :
13848 $as_echo_n "(cached) " >&6
13849 else
13850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13851 /* end confdefs.h. */
13854 main ()
13856 asm(".text\nac_test:\t.long 0\n\t.previous");
13858 return 0;
13860 _ACEOF
13861 if ac_fn_c_try_link "$LINENO"; then :
13862 ac_cv_c_dot_previous="yes"
13863 else
13864 ac_cv_c_dot_previous="no"
13866 rm -f core conftest.err conftest.$ac_objext \
13867 conftest$ac_exeext conftest.$ac_ext
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13870 $as_echo "$ac_cv_c_dot_previous" >&6; }
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13873 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13874 if ${ac_cv_c_cfi_support+:} false; then :
13875 $as_echo_n "(cached) " >&6
13876 else
13877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13878 /* end confdefs.h. */
13879 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13881 main ()
13885 return 0;
13887 _ACEOF
13888 if ac_fn_c_try_compile "$LINENO"; then :
13889 ac_cv_c_cfi_support="yes"
13890 else
13891 ac_cv_c_cfi_support="no"
13893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13896 $as_echo "$ac_cv_c_cfi_support" >&6; }
13898 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13899 asm_func_trailer=""
13900 if test "$ac_cv_c_dot_previous" = "yes"
13901 then
13902 asm_func_trailer="\\n\\t.previous"
13904 if test "$ac_cv_c_cfi_support" = "yes"
13905 then
13906 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
13907 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
13909 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13911 UNWINDFLAGS=-fasynchronous-unwind-tables
13913 else
13914 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13918 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
13921 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13922 then
13923 cat >>confdefs.h <<_ACEOF
13924 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13925 _ACEOF
13927 else
13928 cat >>confdefs.h <<_ACEOF
13929 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13930 _ACEOF
13934 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13937 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13941 case $build_os in
13942 cygwin*|mingw32*) TOOLSEXT=".exe"
13944 esac
13946 case $host_os in
13947 linux*)
13948 case $host_cpu in
13949 *i[3456789]86*|x86_64*)
13950 as_fn_append LOADER_RULES "
13951 all: $wine_binary-preloader
13953 $wine_binary-preloader: preloader.o Makefile.in
13954 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
13956 install install-lib:: $wine_binary-preloader \$(DESTDIR)\$(bindir)
13957 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
13959 uninstall::
13960 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
13961 " ;;
13962 esac
13964 esac
13967 ac_save_CFLAGS="$CFLAGS"
13968 CFLAGS="$CFLAGS $BUILTINFLAG"
13969 for ac_func in \
13970 __res_get_state \
13971 __res_getservers \
13972 _finite \
13973 _isnan \
13974 _pclose \
13975 _popen \
13976 _snprintf \
13977 _spawnvp \
13978 _strdup \
13979 _stricmp \
13980 _strnicmp \
13981 _strtoi64 \
13982 _strtoui64 \
13983 _vsnprintf \
13984 asctime_r \
13985 chsize \
13986 dlopen \
13987 epoll_create \
13988 ffs \
13989 finite \
13990 fnmatch \
13991 fork \
13992 fpclass \
13993 fstatfs \
13994 fstatvfs \
13995 ftruncate \
13996 futimens \
13997 futimes \
13998 futimesat \
13999 getattrlist \
14000 getdirentries \
14001 getopt_long_only \
14002 getpwuid \
14003 gettimeofday \
14004 getuid \
14005 if_nameindex \
14006 kqueue \
14007 lstat \
14008 memmove \
14009 mmap \
14010 pclose \
14011 pipe2 \
14012 poll \
14013 popen \
14014 port_create \
14015 prctl \
14016 pread \
14017 proc_pidinfo \
14018 pwrite \
14019 readdir \
14020 readlink \
14021 sched_yield \
14022 select \
14023 setproctitle \
14024 setrlimit \
14025 settimeofday \
14026 sigaltstack \
14027 sigprocmask \
14028 snprintf \
14029 statfs \
14030 statvfs \
14031 strcasecmp \
14032 strdup \
14033 strerror \
14034 strncasecmp \
14035 strtold \
14036 strtoll \
14037 strtoull \
14038 symlink \
14039 tcdrain \
14040 thr_kill2 \
14041 timegm \
14042 usleep \
14043 vsnprintf
14045 do :
14046 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14047 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14048 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14049 cat >>confdefs.h <<_ACEOF
14050 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14051 _ACEOF
14054 done
14056 CFLAGS="$ac_save_CFLAGS"
14058 if test "$ac_cv_func_dlopen" = no
14059 then
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14061 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14062 if ${ac_cv_lib_dl_dlopen+:} false; then :
14063 $as_echo_n "(cached) " >&6
14064 else
14065 ac_check_lib_save_LIBS=$LIBS
14066 LIBS="-ldl $LIBS"
14067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14070 /* Override any GCC internal prototype to avoid an error.
14071 Use char because int might match the return type of a GCC
14072 builtin and then its argument prototype would still apply. */
14073 #ifdef __cplusplus
14074 extern "C"
14075 #endif
14076 char dlopen ();
14078 main ()
14080 return dlopen ();
14082 return 0;
14084 _ACEOF
14085 if ac_fn_c_try_link "$LINENO"; then :
14086 ac_cv_lib_dl_dlopen=yes
14087 else
14088 ac_cv_lib_dl_dlopen=no
14090 rm -f core conftest.err conftest.$ac_objext \
14091 conftest$ac_exeext conftest.$ac_ext
14092 LIBS=$ac_check_lib_save_LIBS
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14095 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14096 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14097 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14098 LIBDL="-ldl"
14103 ac_wine_check_funcs_save_LIBS="$LIBS"
14104 LIBS="$LIBS $LIBDL"
14105 for ac_func in dladdr
14106 do :
14107 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14108 if test "x$ac_cv_func_dladdr" = xyes; then :
14109 cat >>confdefs.h <<_ACEOF
14110 #define HAVE_DLADDR 1
14111 _ACEOF
14114 done
14116 LIBS="$ac_wine_check_funcs_save_LIBS"
14118 if test "$ac_cv_func_poll" = no
14119 then
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14121 $as_echo_n "checking for poll in -lpoll... " >&6; }
14122 if ${ac_cv_lib_poll_poll+:} false; then :
14123 $as_echo_n "(cached) " >&6
14124 else
14125 ac_check_lib_save_LIBS=$LIBS
14126 LIBS="-lpoll $LIBS"
14127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14128 /* end confdefs.h. */
14130 /* Override any GCC internal prototype to avoid an error.
14131 Use char because int might match the return type of a GCC
14132 builtin and then its argument prototype would still apply. */
14133 #ifdef __cplusplus
14134 extern "C"
14135 #endif
14136 char poll ();
14138 main ()
14140 return poll ();
14142 return 0;
14144 _ACEOF
14145 if ac_fn_c_try_link "$LINENO"; then :
14146 ac_cv_lib_poll_poll=yes
14147 else
14148 ac_cv_lib_poll_poll=no
14150 rm -f core conftest.err conftest.$ac_objext \
14151 conftest$ac_exeext conftest.$ac_ext
14152 LIBS=$ac_check_lib_save_LIBS
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14155 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14156 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14157 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14158 LIBPOLL="-lpoll"
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14165 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14166 if ${ac_cv_search_gethostbyname+:} false; then :
14167 $as_echo_n "(cached) " >&6
14168 else
14169 ac_func_search_save_LIBS=$LIBS
14170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14171 /* end confdefs.h. */
14173 /* Override any GCC internal prototype to avoid an error.
14174 Use char because int might match the return type of a GCC
14175 builtin and then its argument prototype would still apply. */
14176 #ifdef __cplusplus
14177 extern "C"
14178 #endif
14179 char gethostbyname ();
14181 main ()
14183 return gethostbyname ();
14185 return 0;
14187 _ACEOF
14188 for ac_lib in '' nsl; do
14189 if test -z "$ac_lib"; then
14190 ac_res="none required"
14191 else
14192 ac_res=-l$ac_lib
14193 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14195 if ac_fn_c_try_link "$LINENO"; then :
14196 ac_cv_search_gethostbyname=$ac_res
14198 rm -f core conftest.err conftest.$ac_objext \
14199 conftest$ac_exeext
14200 if ${ac_cv_search_gethostbyname+:} false; then :
14201 break
14203 done
14204 if ${ac_cv_search_gethostbyname+:} false; then :
14206 else
14207 ac_cv_search_gethostbyname=no
14209 rm conftest.$ac_ext
14210 LIBS=$ac_func_search_save_LIBS
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14213 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14214 ac_res=$ac_cv_search_gethostbyname
14215 if test "$ac_res" != no; then :
14216 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14222 $as_echo_n "checking for library containing connect... " >&6; }
14223 if ${ac_cv_search_connect+:} false; then :
14224 $as_echo_n "(cached) " >&6
14225 else
14226 ac_func_search_save_LIBS=$LIBS
14227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14228 /* end confdefs.h. */
14230 /* Override any GCC internal prototype to avoid an error.
14231 Use char because int might match the return type of a GCC
14232 builtin and then its argument prototype would still apply. */
14233 #ifdef __cplusplus
14234 extern "C"
14235 #endif
14236 char connect ();
14238 main ()
14240 return connect ();
14242 return 0;
14244 _ACEOF
14245 for ac_lib in '' socket; do
14246 if test -z "$ac_lib"; then
14247 ac_res="none required"
14248 else
14249 ac_res=-l$ac_lib
14250 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14252 if ac_fn_c_try_link "$LINENO"; then :
14253 ac_cv_search_connect=$ac_res
14255 rm -f core conftest.err conftest.$ac_objext \
14256 conftest$ac_exeext
14257 if ${ac_cv_search_connect+:} false; then :
14258 break
14260 done
14261 if ${ac_cv_search_connect+:} false; then :
14263 else
14264 ac_cv_search_connect=no
14266 rm conftest.$ac_ext
14267 LIBS=$ac_func_search_save_LIBS
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14270 $as_echo "$ac_cv_search_connect" >&6; }
14271 ac_res=$ac_cv_search_connect
14272 if test "$ac_res" != no; then :
14273 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14279 $as_echo_n "checking for library containing inet_aton... " >&6; }
14280 if ${ac_cv_search_inet_aton+:} false; then :
14281 $as_echo_n "(cached) " >&6
14282 else
14283 ac_func_search_save_LIBS=$LIBS
14284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14285 /* end confdefs.h. */
14287 /* Override any GCC internal prototype to avoid an error.
14288 Use char because int might match the return type of a GCC
14289 builtin and then its argument prototype would still apply. */
14290 #ifdef __cplusplus
14291 extern "C"
14292 #endif
14293 char inet_aton ();
14295 main ()
14297 return inet_aton ();
14299 return 0;
14301 _ACEOF
14302 for ac_lib in '' resolv; do
14303 if test -z "$ac_lib"; then
14304 ac_res="none required"
14305 else
14306 ac_res=-l$ac_lib
14307 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14309 if ac_fn_c_try_link "$LINENO"; then :
14310 ac_cv_search_inet_aton=$ac_res
14312 rm -f core conftest.err conftest.$ac_objext \
14313 conftest$ac_exeext
14314 if ${ac_cv_search_inet_aton+:} false; then :
14315 break
14317 done
14318 if ${ac_cv_search_inet_aton+:} false; then :
14320 else
14321 ac_cv_search_inet_aton=no
14323 rm conftest.$ac_ext
14324 LIBS=$ac_func_search_save_LIBS
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14327 $as_echo "$ac_cv_search_inet_aton" >&6; }
14328 ac_res=$ac_cv_search_inet_aton
14329 if test "$ac_res" != no; then :
14330 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14335 for ac_func in \
14336 getaddrinfo \
14337 getnameinfo \
14338 getnetbyname \
14339 getprotobyname \
14340 getprotobynumber \
14341 getservbyport \
14342 inet_addr \
14343 inet_network \
14344 inet_ntop \
14345 inet_pton \
14346 sendmsg \
14347 socketpair \
14349 do :
14350 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14351 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14352 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14353 cat >>confdefs.h <<_ACEOF
14354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14355 _ACEOF
14358 done
14361 ac_save_LIBS=$LIBS
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14363 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14364 if ${ac_cv_search_clock_gettime+:} false; then :
14365 $as_echo_n "(cached) " >&6
14366 else
14367 ac_func_search_save_LIBS=$LIBS
14368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14371 /* Override any GCC internal prototype to avoid an error.
14372 Use char because int might match the return type of a GCC
14373 builtin and then its argument prototype would still apply. */
14374 #ifdef __cplusplus
14375 extern "C"
14376 #endif
14377 char clock_gettime ();
14379 main ()
14381 return clock_gettime ();
14383 return 0;
14385 _ACEOF
14386 for ac_lib in '' rt; do
14387 if test -z "$ac_lib"; then
14388 ac_res="none required"
14389 else
14390 ac_res=-l$ac_lib
14391 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14393 if ac_fn_c_try_link "$LINENO"; then :
14394 ac_cv_search_clock_gettime=$ac_res
14396 rm -f core conftest.err conftest.$ac_objext \
14397 conftest$ac_exeext
14398 if ${ac_cv_search_clock_gettime+:} false; then :
14399 break
14401 done
14402 if ${ac_cv_search_clock_gettime+:} false; then :
14404 else
14405 ac_cv_search_clock_gettime=no
14407 rm conftest.$ac_ext
14408 LIBS=$ac_func_search_save_LIBS
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14411 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14412 ac_res=$ac_cv_search_clock_gettime
14413 if test "$ac_res" != no; then :
14414 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14416 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14418 test "$ac_res" = "none required" || LIBRT="$ac_res"
14422 LIBS=$ac_save_LIBS
14424 LDAPLIBS=""
14426 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14427 then
14428 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14430 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14432 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14433 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14434 $as_echo_n "(cached) " >&6
14435 else
14436 ac_check_lib_save_LIBS=$LIBS
14437 LIBS="-lldap_r $LIBPTHREAD $LIBS"
14438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14441 /* Override any GCC internal prototype to avoid an error.
14442 Use char because int might match the return type of a GCC
14443 builtin and then its argument prototype would still apply. */
14444 #ifdef __cplusplus
14445 extern "C"
14446 #endif
14447 char ldap_initialize ();
14449 main ()
14451 return ldap_initialize ();
14453 return 0;
14455 _ACEOF
14456 if ac_fn_c_try_link "$LINENO"; then :
14457 ac_cv_lib_ldap_r_ldap_initialize=yes
14458 else
14459 ac_cv_lib_ldap_r_ldap_initialize=no
14461 rm -f core conftest.err conftest.$ac_objext \
14462 conftest$ac_exeext conftest.$ac_ext
14463 LIBS=$ac_check_lib_save_LIBS
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14466 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14467 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14469 $as_echo_n "checking for ber_init in -llber... " >&6; }
14470 if ${ac_cv_lib_lber_ber_init+:} false; then :
14471 $as_echo_n "(cached) " >&6
14472 else
14473 ac_check_lib_save_LIBS=$LIBS
14474 LIBS="-llber $LIBPTHREAD $LIBS"
14475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14476 /* end confdefs.h. */
14478 /* Override any GCC internal prototype to avoid an error.
14479 Use char because int might match the return type of a GCC
14480 builtin and then its argument prototype would still apply. */
14481 #ifdef __cplusplus
14482 extern "C"
14483 #endif
14484 char ber_init ();
14486 main ()
14488 return ber_init ();
14490 return 0;
14492 _ACEOF
14493 if ac_fn_c_try_link "$LINENO"; then :
14494 ac_cv_lib_lber_ber_init=yes
14495 else
14496 ac_cv_lib_lber_ber_init=no
14498 rm -f core conftest.err conftest.$ac_objext \
14499 conftest$ac_exeext conftest.$ac_ext
14500 LIBS=$ac_check_lib_save_LIBS
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14503 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14504 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14506 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14508 LDAPLIBS="-lldap_r -llber"
14515 ac_wine_check_funcs_save_LIBS="$LIBS"
14516 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
14517 for ac_func in \
14518 ldap_count_references \
14519 ldap_first_reference \
14520 ldap_next_reference \
14521 ldap_parse_reference \
14522 ldap_parse_sort_control \
14523 ldap_parse_sortresponse_control \
14524 ldap_parse_vlv_control \
14525 ldap_parse_vlvresponse_control
14526 do :
14527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14528 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14529 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14530 cat >>confdefs.h <<_ACEOF
14531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14532 _ACEOF
14535 done
14537 LIBS="$ac_wine_check_funcs_save_LIBS"
14539 if test "x$LDAPLIBS" = "x"; then :
14540 case "x$with_ldap" in
14541 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14542 xno) ;;
14543 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14544 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14545 esac
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14549 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14550 if ${wine_cv_one_arg_mkdir+:} false; then :
14551 $as_echo_n "(cached) " >&6
14552 else
14553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14554 /* end confdefs.h. */
14555 #include <sys/stat.h>
14557 main ()
14559 mkdir("foo");
14561 return 0;
14563 _ACEOF
14564 if ac_fn_c_try_compile "$LINENO"; then :
14565 wine_cv_one_arg_mkdir=yes
14566 else
14567 wine_cv_one_arg_mkdir=no
14569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14572 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14573 if test "$wine_cv_one_arg_mkdir" = "yes"
14574 then
14576 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14581 $as_echo_n "checking for sched_setaffinity... " >&6; }
14582 if ${wine_cv_have_sched_setaffinity+:} false; then :
14583 $as_echo_n "(cached) " >&6
14584 else
14585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14587 #define _GNU_SOURCE
14588 #include <sched.h>
14590 main ()
14592 sched_setaffinity(0, 0, 0);
14594 return 0;
14596 _ACEOF
14597 if ac_fn_c_try_link "$LINENO"; then :
14598 wine_cv_have_sched_setaffinity=yes
14599 else
14600 wine_cv_have_sched_setaffinity=no
14602 rm -f core conftest.err conftest.$ac_objext \
14603 conftest$ac_exeext conftest.$ac_ext
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14606 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14607 if test "$wine_cv_have_sched_setaffinity" = "yes"
14608 then
14610 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14615 $as_echo_n "checking for fallocate... " >&6; }
14616 if ${wine_cv_have_fallocate+:} false; then :
14617 $as_echo_n "(cached) " >&6
14618 else
14619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14620 /* end confdefs.h. */
14621 #define _GNU_SOURCE
14622 #include <fcntl.h>
14624 main ()
14626 fallocate(-1, 0, 0, 0);
14628 return 0;
14630 _ACEOF
14631 if ac_fn_c_try_link "$LINENO"; then :
14632 wine_cv_have_fallocate=yes
14633 else
14634 wine_cv_have_fallocate=no
14636 rm -f core conftest.err conftest.$ac_objext \
14637 conftest$ac_exeext conftest.$ac_ext
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14640 $as_echo "$wine_cv_have_fallocate" >&6; }
14641 if test "$wine_cv_have_fallocate" = "yes"
14642 then
14644 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14650 $as_echo_n "checking for inline... " >&6; }
14651 if ${ac_cv_c_inline+:} false; then :
14652 $as_echo_n "(cached) " >&6
14653 else
14654 ac_cv_c_inline=no
14655 for ac_kw in inline __inline__ __inline; do
14656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14657 /* end confdefs.h. */
14658 #ifndef __cplusplus
14659 typedef int foo_t;
14660 static $ac_kw foo_t static_foo () {return 0; }
14661 $ac_kw foo_t foo () {return 0; }
14662 #endif
14664 _ACEOF
14665 if ac_fn_c_try_compile "$LINENO"; then :
14666 ac_cv_c_inline=$ac_kw
14668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14669 test "$ac_cv_c_inline" != no && break
14670 done
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14674 $as_echo "$ac_cv_c_inline" >&6; }
14676 case $ac_cv_c_inline in
14677 inline | yes) ;;
14679 case $ac_cv_c_inline in
14680 no) ac_val=;;
14681 *) ac_val=$ac_cv_c_inline;;
14682 esac
14683 cat >>confdefs.h <<_ACEOF
14684 #ifndef __cplusplus
14685 #define inline $ac_val
14686 #endif
14687 _ACEOF
14689 esac
14691 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14692 if test "x$ac_cv_type_mode_t" = xyes; then :
14694 cat >>confdefs.h <<_ACEOF
14695 #define HAVE_MODE_T 1
14696 _ACEOF
14700 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14701 if test "x$ac_cv_type_off_t" = xyes; then :
14703 cat >>confdefs.h <<_ACEOF
14704 #define HAVE_OFF_T 1
14705 _ACEOF
14709 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14710 if test "x$ac_cv_type_pid_t" = xyes; then :
14712 cat >>confdefs.h <<_ACEOF
14713 #define HAVE_PID_T 1
14714 _ACEOF
14718 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14719 if test "x$ac_cv_type_size_t" = xyes; then :
14721 cat >>confdefs.h <<_ACEOF
14722 #define HAVE_SIZE_T 1
14723 _ACEOF
14727 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14728 if test "x$ac_cv_type_ssize_t" = xyes; then :
14730 cat >>confdefs.h <<_ACEOF
14731 #define HAVE_SSIZE_T 1
14732 _ACEOF
14736 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14737 if test "x$ac_cv_type_long_long" = xyes; then :
14739 cat >>confdefs.h <<_ACEOF
14740 #define HAVE_LONG_LONG 1
14741 _ACEOF
14745 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14746 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
14748 cat >>confdefs.h <<_ACEOF
14749 #define HAVE_FSBLKCNT_T 1
14750 _ACEOF
14754 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14755 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
14757 cat >>confdefs.h <<_ACEOF
14758 #define HAVE_FSFILCNT_T 1
14759 _ACEOF
14764 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14765 #include <signal.h>
14767 if test "x$ac_cv_type_sigset_t" = xyes; then :
14769 cat >>confdefs.h <<_ACEOF
14770 #define HAVE_SIGSET_T 1
14771 _ACEOF
14776 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14778 if test "x$ac_cv_type_request_sense" = xyes; then :
14780 cat >>confdefs.h <<_ACEOF
14781 #define HAVE_REQUEST_SENSE 1
14782 _ACEOF
14788 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14789 #ifdef HAVE_SYS_SOCKET_H
14790 #include <sys/socket.h>
14791 #endif
14792 #ifdef HAVE_SYS_SOCKETVAR_H
14793 #include <sys/socketvar.h>
14794 #endif
14795 #ifdef HAVE_NET_ROUTE_H
14796 #include <net/route.h>
14797 #endif
14798 #ifdef HAVE_NETINET_IN_H
14799 #include <netinet/in.h>
14800 #endif
14801 #ifdef HAVE_NETINET_IN_SYSTM_H
14802 #include <netinet/in_systm.h>
14803 #endif
14804 #ifdef HAVE_NETINET_IP_H
14805 #include <netinet/ip.h>
14806 #endif
14807 #ifdef HAVE_NETINET_IN_PCB_H
14808 #include <netinet/in_pcb.h>
14809 #endif
14811 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
14813 cat >>confdefs.h <<_ACEOF
14814 #define HAVE_STRUCT_XINPGEN 1
14815 _ACEOF
14821 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
14822 #include <link.h>
14823 #endif
14824 #ifdef HAVE_SYS_LINK_H
14825 #include <sys/link.h>
14826 #endif
14828 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
14830 cat >>confdefs.h <<_ACEOF
14831 #define HAVE_STRUCT_R_DEBUG 1
14832 _ACEOF
14836 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
14837 #include <link.h>
14838 #endif
14839 #ifdef HAVE_SYS_LINK_H
14840 #include <sys/link.h>
14841 #endif
14843 if test "x$ac_cv_type_struct_link_map" = xyes; then :
14845 cat >>confdefs.h <<_ACEOF
14846 #define HAVE_STRUCT_LINK_MAP 1
14847 _ACEOF
14853 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14854 #include <linux/input.h>
14855 #endif
14857 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
14859 cat >>confdefs.h <<_ACEOF
14860 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14861 _ACEOF
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14868 $as_echo_n "checking for sigaddset... " >&6; }
14869 if ${wine_cv_have_sigaddset+:} false; then :
14870 $as_echo_n "(cached) " >&6
14871 else
14872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14873 /* end confdefs.h. */
14874 #include <signal.h>
14876 main ()
14878 sigset_t set; sigaddset(&set,SIGTERM);
14880 return 0;
14882 _ACEOF
14883 if ac_fn_c_try_link "$LINENO"; then :
14884 wine_cv_have_sigaddset=yes
14885 else
14886 wine_cv_have_sigaddset=no
14888 rm -f core conftest.err conftest.$ac_objext \
14889 conftest$ac_exeext conftest.$ac_ext
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14892 $as_echo "$wine_cv_have_sigaddset" >&6; }
14893 if test "$wine_cv_have_sigaddset" = "yes"
14894 then
14896 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14902 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14903 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
14904 $as_echo_n "(cached) " >&6
14905 else
14906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14908 #include <netdb.h>
14910 main ()
14913 char *name=0;
14914 struct hostent he;
14915 struct hostent *result;
14916 char *buf=0;
14917 int bufsize=0;
14918 int errnr;
14919 char *addr=0;
14920 int addrlen=0;
14921 int addrtype=0;
14922 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14923 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14926 return 0;
14928 _ACEOF
14929 if ac_fn_c_try_link "$LINENO"; then :
14930 wine_cv_linux_gethostbyname_r_6=yes
14931 else
14932 wine_cv_linux_gethostbyname_r_6=no
14935 rm -f core conftest.err conftest.$ac_objext \
14936 conftest$ac_exeext conftest.$ac_ext
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14940 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14941 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14942 then
14944 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14948 if test "$ac_cv_header_linux_joystick_h" = "yes"
14949 then
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14951 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14952 if ${wine_cv_linux_joystick_22_api+:} false; then :
14953 $as_echo_n "(cached) " >&6
14954 else
14955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14958 #include <sys/ioctl.h>
14959 #include <sys/types.h>
14960 #include <linux/joystick.h>
14962 struct js_event blub;
14963 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14964 #error "no 2.2 header"
14965 #endif
14968 main ()
14970 /*empty*/
14972 return 0;
14974 _ACEOF
14975 if ac_fn_c_try_compile "$LINENO"; then :
14976 wine_cv_linux_joystick_22_api=yes
14977 else
14978 wine_cv_linux_joystick_22_api=no
14980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14984 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14985 if test "$wine_cv_linux_joystick_22_api" = "yes"
14986 then
14988 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14994 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14995 #ifdef HAVE_SYS_PARAM_H
14996 # include <sys/param.h>
14997 #endif
14998 #ifdef HAVE_SYS_MOUNT_H
14999 # include <sys/mount.h>
15000 #endif
15001 #ifdef HAVE_SYS_VFS_H
15002 # include <sys/vfs.h>
15003 #endif
15004 #ifdef HAVE_SYS_STATFS_H
15005 # include <sys/statfs.h>
15006 #endif
15008 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15010 cat >>confdefs.h <<_ACEOF
15011 #define HAVE_STRUCT_STATFS_F_BFREE 1
15012 _ACEOF
15016 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15017 #ifdef HAVE_SYS_PARAM_H
15018 # include <sys/param.h>
15019 #endif
15020 #ifdef HAVE_SYS_MOUNT_H
15021 # include <sys/mount.h>
15022 #endif
15023 #ifdef HAVE_SYS_VFS_H
15024 # include <sys/vfs.h>
15025 #endif
15026 #ifdef HAVE_SYS_STATFS_H
15027 # include <sys/statfs.h>
15028 #endif
15030 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15032 cat >>confdefs.h <<_ACEOF
15033 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15034 _ACEOF
15038 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15039 #ifdef HAVE_SYS_PARAM_H
15040 # include <sys/param.h>
15041 #endif
15042 #ifdef HAVE_SYS_MOUNT_H
15043 # include <sys/mount.h>
15044 #endif
15045 #ifdef HAVE_SYS_VFS_H
15046 # include <sys/vfs.h>
15047 #endif
15048 #ifdef HAVE_SYS_STATFS_H
15049 # include <sys/statfs.h>
15050 #endif
15052 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15054 cat >>confdefs.h <<_ACEOF
15055 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15056 _ACEOF
15060 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15061 #ifdef HAVE_SYS_PARAM_H
15062 # include <sys/param.h>
15063 #endif
15064 #ifdef HAVE_SYS_MOUNT_H
15065 # include <sys/mount.h>
15066 #endif
15067 #ifdef HAVE_SYS_VFS_H
15068 # include <sys/vfs.h>
15069 #endif
15070 #ifdef HAVE_SYS_STATFS_H
15071 # include <sys/statfs.h>
15072 #endif
15074 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15076 cat >>confdefs.h <<_ACEOF
15077 #define HAVE_STRUCT_STATFS_F_FFREE 1
15078 _ACEOF
15082 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15083 #ifdef HAVE_SYS_PARAM_H
15084 # include <sys/param.h>
15085 #endif
15086 #ifdef HAVE_SYS_MOUNT_H
15087 # include <sys/mount.h>
15088 #endif
15089 #ifdef HAVE_SYS_VFS_H
15090 # include <sys/vfs.h>
15091 #endif
15092 #ifdef HAVE_SYS_STATFS_H
15093 # include <sys/statfs.h>
15094 #endif
15096 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15098 cat >>confdefs.h <<_ACEOF
15099 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15100 _ACEOF
15104 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15105 #ifdef HAVE_SYS_PARAM_H
15106 # include <sys/param.h>
15107 #endif
15108 #ifdef HAVE_SYS_MOUNT_H
15109 # include <sys/mount.h>
15110 #endif
15111 #ifdef HAVE_SYS_VFS_H
15112 # include <sys/vfs.h>
15113 #endif
15114 #ifdef HAVE_SYS_STATFS_H
15115 # include <sys/statfs.h>
15116 #endif
15118 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15120 cat >>confdefs.h <<_ACEOF
15121 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15122 _ACEOF
15128 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15129 #include <sys/statvfs.h>
15130 #endif
15132 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15134 cat >>confdefs.h <<_ACEOF
15135 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15136 _ACEOF
15142 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15143 #include <dirent.h>
15144 #endif
15146 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15148 cat >>confdefs.h <<_ACEOF
15149 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15150 _ACEOF
15156 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15157 #ifdef HAVE_SYS_SOCKET_H
15158 # include <sys/socket.h>
15159 #endif
15160 #ifdef HAVE_SYS_UN_H
15161 # include <sys/un.h>
15162 #endif
15164 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15166 cat >>confdefs.h <<_ACEOF
15167 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15168 _ACEOF
15172 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15173 #ifdef HAVE_SYS_SOCKET_H
15174 # include <sys/socket.h>
15175 #endif
15176 #ifdef HAVE_SYS_UN_H
15177 # include <sys/un.h>
15178 #endif
15180 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15182 cat >>confdefs.h <<_ACEOF
15183 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15184 _ACEOF
15188 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15189 #ifdef HAVE_SYS_SOCKET_H
15190 # include <sys/socket.h>
15191 #endif
15192 #ifdef HAVE_SYS_UN_H
15193 # include <sys/un.h>
15194 #endif
15196 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15198 cat >>confdefs.h <<_ACEOF
15199 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15200 _ACEOF
15206 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15207 #ifdef HAVE_SCSI_SG_H
15208 #include <scsi/sg.h>
15209 #endif
15211 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15213 cat >>confdefs.h <<_ACEOF
15214 #define HAVE_SCSIREQ_T_CMD 1
15215 _ACEOF
15219 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>
15220 #ifdef HAVE_SCSI_SG_H
15221 #include <scsi/sg.h>
15222 #endif
15224 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15226 cat >>confdefs.h <<_ACEOF
15227 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15228 _ACEOF
15234 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15236 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15238 cat >>confdefs.h <<_ACEOF
15239 #define HAVE_SIGINFO_T_SI_FD 1
15240 _ACEOF
15246 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15247 #ifdef HAVE_SYS_MTIO_H
15248 #include <sys/mtio.h>
15249 #endif
15251 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15253 cat >>confdefs.h <<_ACEOF
15254 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15255 _ACEOF
15259 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15260 #ifdef HAVE_SYS_MTIO_H
15261 #include <sys/mtio.h>
15262 #endif
15264 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15266 cat >>confdefs.h <<_ACEOF
15267 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15268 _ACEOF
15272 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15273 #ifdef HAVE_SYS_MTIO_H
15274 #include <sys/mtio.h>
15275 #endif
15277 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15279 cat >>confdefs.h <<_ACEOF
15280 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15281 _ACEOF
15287 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15288 #include <getopt.h>
15289 #endif
15291 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15293 cat >>confdefs.h <<_ACEOF
15294 #define HAVE_STRUCT_OPTION_NAME 1
15295 _ACEOF
15301 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15302 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15304 cat >>confdefs.h <<_ACEOF
15305 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15306 _ACEOF
15310 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15311 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15313 cat >>confdefs.h <<_ACEOF
15314 #define HAVE_STRUCT_STAT_ST_MTIM 1
15315 _ACEOF
15319 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15320 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15322 cat >>confdefs.h <<_ACEOF
15323 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15324 _ACEOF
15328 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15329 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15331 cat >>confdefs.h <<_ACEOF
15332 #define HAVE_STRUCT_STAT_ST_CTIM 1
15333 _ACEOF
15337 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15338 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15340 cat >>confdefs.h <<_ACEOF
15341 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15342 _ACEOF
15346 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15347 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15349 cat >>confdefs.h <<_ACEOF
15350 #define HAVE_STRUCT_STAT_ST_ATIM 1
15351 _ACEOF
15355 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15356 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15358 cat >>confdefs.h <<_ACEOF
15359 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15360 _ACEOF
15364 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15365 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15367 cat >>confdefs.h <<_ACEOF
15368 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15369 _ACEOF
15373 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15374 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15376 cat >>confdefs.h <<_ACEOF
15377 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15378 _ACEOF
15382 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15383 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15385 cat >>confdefs.h <<_ACEOF
15386 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15387 _ACEOF
15391 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15392 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15394 cat >>confdefs.h <<_ACEOF
15395 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15396 _ACEOF
15400 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15401 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15403 cat >>confdefs.h <<_ACEOF
15404 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15405 _ACEOF
15411 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
15412 #include <sys/types.h>
15413 #endif
15414 #ifdef HAVE_NETINET_IN_H
15415 #include <netinet/in.h>
15416 #endif
15418 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15420 cat >>confdefs.h <<_ACEOF
15421 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15422 _ACEOF
15428 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15429 #include <resolv.h>
15430 #endif
15432 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15434 cat >>confdefs.h <<_ACEOF
15435 #define HAVE_STRUCT___RES_STATE 1
15436 _ACEOF
15442 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
15443 #include <resolv.h>
15444 #endif
15446 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15448 cat >>confdefs.h <<_ACEOF
15449 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15450 _ACEOF
15456 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15457 #include <sys/types.h>
15458 #endif
15459 #ifdef HAVE_NETINET_IN_H
15460 # include <netinet/in.h>
15461 #endif
15462 #ifdef HAVE_ARPA_NAMESER_H
15463 # include <arpa/nameser.h>
15464 #endif
15466 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15468 cat >>confdefs.h <<_ACEOF
15469 #define HAVE_NS_MSG__MSG_PTR 1
15470 _ACEOF
15476 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15477 #include <sys/types.h>
15478 #endif
15479 #ifdef HAVE_NETINET_IP_H
15480 #include <netinet/ip.h>
15481 #endif
15482 #ifdef HAVE_NETINET_IP_ICMP_H
15483 #include <netinet/ip_icmp.h>
15484 #endif
15485 #ifdef HAVE_NETINET_ICMP_VAR_H
15486 #include <netinet/icmp_var.h>
15487 #endif
15489 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15491 cat >>confdefs.h <<_ACEOF
15492 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15493 _ACEOF
15499 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15500 #include <sys/types.h>
15501 #endif
15502 #ifdef HAVE_ALIAS_H
15503 #include <alias.h>
15504 #endif
15505 #ifdef HAVE_SYS_SOCKET_H
15506 #include <sys/socket.h>
15507 #endif
15508 #ifdef HAVE_SYS_SOCKETVAR_H
15509 #include <sys/socketvar.h>
15510 #endif
15511 #ifdef HAVE_SYS_TIMEOUT_H
15512 #include <sys/timeout.h>
15513 #endif
15514 #ifdef HAVE_NETINET_IN_H
15515 #include <netinet/in.h>
15516 #endif
15517 #ifdef HAVE_NETINET_IN_SYSTM_H
15518 #include <netinet/in_systm.h>
15519 #endif
15520 #ifdef HAVE_NETINET_IP_H
15521 #include <netinet/ip.h>
15522 #endif
15523 #ifdef HAVE_NETINET_IP_VAR_H
15524 #include <netinet/ip_var.h>
15525 #endif
15526 #ifdef HAVE_NETINET_IP_ICMP_H
15527 #include <netinet/ip_icmp.h>
15528 #endif
15529 #ifdef HAVE_NETINET_ICMP_VAR_H
15530 #include <netinet/icmp_var.h>
15531 #endif
15533 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15535 cat >>confdefs.h <<_ACEOF
15536 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15537 _ACEOF
15543 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15544 #include <sys/types.h>
15545 #endif
15546 #ifdef HAVE_SYS_SOCKETVAR_H
15547 #include <sys/socketvar.h>
15548 #endif
15549 #ifdef HAVE_NETINET_IN_H
15550 #include <netinet/in.h>
15551 #endif
15552 #ifdef HAVE_NETINET_IP_VAR_H
15553 #include <netinet/ip_var.h>
15554 #endif
15556 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
15558 cat >>confdefs.h <<_ACEOF
15559 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15560 _ACEOF
15566 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
15567 #include <netinet/ip_var.h>
15568 #endif
15570 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
15572 cat >>confdefs.h <<_ACEOF
15573 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15574 _ACEOF
15580 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15581 #include <sys/types.h>
15582 #endif
15583 #ifdef HAVE_SYS_SOCKETVAR_H
15584 #include <sys/socketvar.h>
15585 #endif
15586 #ifdef HAVE_NETINET_IN_H
15587 #include <netinet/in.h>
15588 #endif
15589 #ifdef HAVE_NETINET_TCP_H
15590 #include <netinet/tcp.h>
15591 #endif
15592 #ifdef HAVE_NETINET_TCP_VAR_H
15593 #include <netinet/tcp_var.h>
15594 #endif
15596 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
15598 cat >>confdefs.h <<_ACEOF
15599 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15600 _ACEOF
15606 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
15607 #include <netinet/tcp_var.h>
15608 #endif
15610 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
15612 cat >>confdefs.h <<_ACEOF
15613 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15614 _ACEOF
15620 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
15621 #include <sys/types.h>
15622 #endif
15623 #ifdef HAVE_NETINET_IN_H
15624 #include <netinet/in.h>
15625 #endif
15626 #ifdef HAVE_NETINET_IP_VAR_H
15627 #include <netinet/ip_var.h>
15628 #endif
15629 #ifdef HAVE_NETINET_UDP_H
15630 #include <netinet/udp.h>
15631 #endif
15632 #ifdef HAVE_NETINET_UDP_VAR_H
15633 #include <netinet/udp_var.h>
15634 #endif
15636 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
15638 cat >>confdefs.h <<_ACEOF
15639 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15640 _ACEOF
15646 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15647 #include <sys/types.h>
15648 #endif
15649 #ifdef HAVE_NET_IF_H
15650 # include <net/if.h>
15651 #endif
15653 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
15655 cat >>confdefs.h <<_ACEOF
15656 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15657 _ACEOF
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15664 $as_echo_n "checking for timezone variable... " >&6; }
15665 if ${ac_cv_have_timezone+:} false; then :
15666 $as_echo_n "(cached) " >&6
15667 else
15668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15669 /* end confdefs.h. */
15670 #include <time.h>
15672 main ()
15674 timezone = 1
15676 return 0;
15678 _ACEOF
15679 if ac_fn_c_try_link "$LINENO"; then :
15680 ac_cv_have_timezone="yes"
15681 else
15682 ac_cv_have_timezone="no"
15684 rm -f core conftest.err conftest.$ac_objext \
15685 conftest$ac_exeext conftest.$ac_ext
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15688 $as_echo "$ac_cv_have_timezone" >&6; }
15689 if test "$ac_cv_have_timezone" = "yes"
15690 then
15692 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15696 $as_echo_n "checking for daylight variable... " >&6; }
15697 if ${ac_cv_have_daylight+:} false; then :
15698 $as_echo_n "(cached) " >&6
15699 else
15700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15701 /* end confdefs.h. */
15702 #include <time.h>
15704 main ()
15706 daylight = 1
15708 return 0;
15710 _ACEOF
15711 if ac_fn_c_try_link "$LINENO"; then :
15712 ac_cv_have_daylight="yes"
15713 else
15714 ac_cv_have_daylight="no"
15716 rm -f core conftest.err conftest.$ac_objext \
15717 conftest$ac_exeext conftest.$ac_ext
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15720 $as_echo "$ac_cv_have_daylight" >&6; }
15721 if test "$ac_cv_have_daylight" = "yes"
15722 then
15724 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15728 ac_save_LIBS="$LIBS"
15729 LIBS="$LIBS -lm"
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15731 $as_echo_n "checking for isinf... " >&6; }
15732 if ${ac_cv_have_isinf+:} false; then :
15733 $as_echo_n "(cached) " >&6
15734 else
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15737 #include <math.h>
15739 main ()
15741 float f = 0.0; return isinf(f)
15743 return 0;
15745 _ACEOF
15746 if ac_fn_c_try_link "$LINENO"; then :
15747 ac_cv_have_isinf="yes"
15748 else
15749 ac_cv_have_isinf="no"
15751 rm -f core conftest.err conftest.$ac_objext \
15752 conftest$ac_exeext conftest.$ac_ext
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15755 $as_echo "$ac_cv_have_isinf" >&6; }
15756 if test "$ac_cv_have_isinf" = "yes"
15757 then
15759 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15764 $as_echo_n "checking for isnan... " >&6; }
15765 if ${ac_cv_have_isnan+:} false; then :
15766 $as_echo_n "(cached) " >&6
15767 else
15768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15769 /* end confdefs.h. */
15770 #include <math.h>
15772 main ()
15774 float f = 0.0; return isnan(f)
15776 return 0;
15778 _ACEOF
15779 if ac_fn_c_try_link "$LINENO"; then :
15780 ac_cv_have_isnan="yes"
15781 else
15782 ac_cv_have_isnan="no"
15784 rm -f core conftest.err conftest.$ac_objext \
15785 conftest$ac_exeext conftest.$ac_ext
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15788 $as_echo "$ac_cv_have_isnan" >&6; }
15789 if test "$ac_cv_have_isnan" = "yes"
15790 then
15792 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15795 LIBS="$ac_save_LIBS"
15798 case $host_cpu in
15799 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15800 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15801 if ${ac_cv_cpp_def___i386__+:} false; then :
15802 $as_echo_n "(cached) " >&6
15803 else
15804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15805 /* end confdefs.h. */
15806 #ifndef __i386__
15808 #endif
15809 _ACEOF
15810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15811 $EGREP "yes" >/dev/null 2>&1; then :
15812 ac_cv_cpp_def___i386__=yes
15813 else
15814 ac_cv_cpp_def___i386__=no
15816 rm -f conftest*
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15820 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15821 if test $ac_cv_cpp_def___i386__ = yes; then :
15822 CFLAGS="$CFLAGS -D__i386__"
15823 LINTFLAGS="$LINTFLAGS -D__i386__"
15824 fi ;;
15825 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15826 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15827 if ${ac_cv_cpp_def___x86_64__+:} false; then :
15828 $as_echo_n "(cached) " >&6
15829 else
15830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15831 /* end confdefs.h. */
15832 #ifndef __x86_64__
15834 #endif
15835 _ACEOF
15836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15837 $EGREP "yes" >/dev/null 2>&1; then :
15838 ac_cv_cpp_def___x86_64__=yes
15839 else
15840 ac_cv_cpp_def___x86_64__=no
15842 rm -f conftest*
15845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15846 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15847 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15848 CFLAGS="$CFLAGS -D__x86_64__"
15849 LINTFLAGS="$LINTFLAGS -D__x86_64__"
15850 fi ;;
15851 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15852 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15853 if ${ac_cv_cpp_def___sparc64__+:} false; then :
15854 $as_echo_n "(cached) " >&6
15855 else
15856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15857 /* end confdefs.h. */
15858 #ifndef __sparc64__
15860 #endif
15861 _ACEOF
15862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15863 $EGREP "yes" >/dev/null 2>&1; then :
15864 ac_cv_cpp_def___sparc64__=yes
15865 else
15866 ac_cv_cpp_def___sparc64__=no
15868 rm -f conftest*
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15872 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15873 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15874 CFLAGS="$CFLAGS -D__sparc64__"
15875 LINTFLAGS="$LINTFLAGS -D__sparc64__"
15876 fi ;;
15877 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15878 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15879 if ${ac_cv_cpp_def___sparc__+:} false; then :
15880 $as_echo_n "(cached) " >&6
15881 else
15882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15883 /* end confdefs.h. */
15884 #ifndef __sparc__
15886 #endif
15887 _ACEOF
15888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15889 $EGREP "yes" >/dev/null 2>&1; then :
15890 ac_cv_cpp_def___sparc__=yes
15891 else
15892 ac_cv_cpp_def___sparc__=no
15894 rm -f conftest*
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15898 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15899 if test $ac_cv_cpp_def___sparc__ = yes; then :
15900 CFLAGS="$CFLAGS -D__sparc__"
15901 LINTFLAGS="$LINTFLAGS -D__sparc__"
15902 fi ;;
15903 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15904 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15905 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
15906 $as_echo_n "(cached) " >&6
15907 else
15908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15909 /* end confdefs.h. */
15910 #ifndef __powerpc64__
15912 #endif
15913 _ACEOF
15914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15915 $EGREP "yes" >/dev/null 2>&1; then :
15916 ac_cv_cpp_def___powerpc64__=yes
15917 else
15918 ac_cv_cpp_def___powerpc64__=no
15920 rm -f conftest*
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15924 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15925 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15926 CFLAGS="$CFLAGS -D__powerpc64__"
15927 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
15928 fi ;;
15929 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15930 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15931 if ${ac_cv_cpp_def___powerpc__+:} false; then :
15932 $as_echo_n "(cached) " >&6
15933 else
15934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15935 /* end confdefs.h. */
15936 #ifndef __powerpc__
15938 #endif
15939 _ACEOF
15940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15941 $EGREP "yes" >/dev/null 2>&1; then :
15942 ac_cv_cpp_def___powerpc__=yes
15943 else
15944 ac_cv_cpp_def___powerpc__=no
15946 rm -f conftest*
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15950 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15951 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15952 CFLAGS="$CFLAGS -D__powerpc__"
15953 LINTFLAGS="$LINTFLAGS -D__powerpc__"
15954 fi ;;
15955 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15956 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15957 if ${ac_cv_cpp_def___aarch64__+:} false; then :
15958 $as_echo_n "(cached) " >&6
15959 else
15960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15961 /* end confdefs.h. */
15962 #ifndef __aarch64__
15964 #endif
15965 _ACEOF
15966 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15967 $EGREP "yes" >/dev/null 2>&1; then :
15968 ac_cv_cpp_def___aarch64__=yes
15969 else
15970 ac_cv_cpp_def___aarch64__=no
15972 rm -f conftest*
15975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15976 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15977 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15978 CFLAGS="$CFLAGS -D__aarch64__"
15979 LINTFLAGS="$LINTFLAGS -D__aarch64__"
15980 fi ;;
15981 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15982 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15983 if ${ac_cv_cpp_def___arm__+:} false; then :
15984 $as_echo_n "(cached) " >&6
15985 else
15986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15987 /* end confdefs.h. */
15988 #ifndef __arm__
15990 #endif
15991 _ACEOF
15992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15993 $EGREP "yes" >/dev/null 2>&1; then :
15994 ac_cv_cpp_def___arm__=yes
15995 else
15996 ac_cv_cpp_def___arm__=no
15998 rm -f conftest*
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16002 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16003 if test $ac_cv_cpp_def___arm__ = yes; then :
16004 CFLAGS="$CFLAGS -D__arm__"
16005 LINTFLAGS="$LINTFLAGS -D__arm__"
16006 fi ;;
16007 esac
16009 case $host_vendor in
16010 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16011 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16012 if ${ac_cv_cpp_def___sun__+:} false; then :
16013 $as_echo_n "(cached) " >&6
16014 else
16015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16016 /* end confdefs.h. */
16017 #ifndef __sun__
16019 #endif
16020 _ACEOF
16021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16022 $EGREP "yes" >/dev/null 2>&1; then :
16023 ac_cv_cpp_def___sun__=yes
16024 else
16025 ac_cv_cpp_def___sun__=no
16027 rm -f conftest*
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16031 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16032 if test $ac_cv_cpp_def___sun__ = yes; then :
16033 CFLAGS="$CFLAGS -D__sun__"
16034 LINTFLAGS="$LINTFLAGS -D__sun__"
16035 fi ;;
16036 esac
16042 ac_config_commands="$ac_config_commands include/stamp-h"
16044 $as_echo_n "creating Makefile rules..." >&6
16047 MAKE_IMPLIB_RULES="DLLFLAGS = $DLLFLAGS
16050 if test -n "$CROSSTARGET"
16051 then
16052 as_fn_append MAKE_IMPLIB_RULES "MAKEDEPFLAGS = -xo -xcross.o
16053 all: \$(STATICLIB:.a=.cross.a)
16058 if test -n "$DLLEXT"
16059 then
16060 deps="\$(MODULE)$DLLEXT \$(MODULE).fake"
16061 else
16062 deps="\$(MODULE)"
16065 MAKE_DLL_RULES="
16066 DLLFLAGS = $DLLFLAGS
16067 MAINSPEC = \$(MODULE:%.dll=%).spec
16068 IDL_TLB_RES = \$(IDL_TLB_SRCS:.idl=_t.res)
16069 MODULEFLAGS = -shared \$(srcdir)/\$(MAINSPEC) \$(EXTRADLLFLAGS)
16071 all: $deps
16075 MAKE_PROG_RULES="
16076 DLLFLAGS = $DLLFLAGS
16078 all: $deps
16083 MAKE_TEST_RULES="
16084 DLLFLAGS = $DLLFLAGS
16085 TESTMODULE = \$(TESTDLL:%.dll=%)_test.exe
16086 TESTMODULE_STRIPPED = \$(TESTDLL:%.dll=%)_test-stripped.exe$DLLEXT
16087 WINETEST_RES = \$(top_builddir)/programs/winetest/\$(TESTDLL:%.dll=%)_test.res
16088 RUNTESTFLAGS = -q -P wine -T \$(top_builddir) -M \$(TESTDLL) -p \$(TESTMODULE)$DLLEXT
16089 EXTRA_OBJS = testlist.o
16091 all: \$(TESTMODULE)$DLLEXT \$(WINETEST_RES)
16093 \$(C_SRCS:.c=.ok): \$(TESTMODULE)$DLLEXT \$(TESTDLL:%=../%$DLLEXT)
16095 check test: \$(C_SRCS:.c=.ok)
16097 .PHONY: check test crosstest
16100 if test -n "$CROSSTARGET"
16101 then
16102 as_fn_append MAKE_TEST_RULES "
16103 MAKEDEPFLAGS = -xo -xcross.o
16104 CROSSTESTMODULE = \$(TESTDLL:%.dll=%)_crosstest.exe
16106 crosstest: \$(CROSSTESTMODULE)
16111 wine_rules_file=conf$$rules.make
16112 rm -f $wine_rules_file
16113 ALL_POT_FILES=""
16114 ALL_TEST_RESOURCES=""
16117 wine_fn_append_file ()
16119 as_fn_append $1 " \\$as_nl $2"
16122 wine_fn_append_rule ()
16124 $as_echo "$1" >>$wine_rules_file
16127 wine_fn_has_flag ()
16129 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
16132 wine_fn_depend_rules ()
16134 ac_alldeps=$1
16135 ac_makedep="\$(MAKEDEP)"
16136 ac_input=Make.vars.in:$ac_dir/Makefile.in
16137 if test $ac_dir != tools
16138 then
16139 ac_alldeps="$1 $ac_makedep"
16140 else
16141 ac_alldeps="$1 include/config.h"
16143 case $1 in
16144 *.in) ac_input=$ac_input:$1 ;;
16145 *) ac_makedep="$1 $ac_makedep" ;;
16146 esac
16148 wine_fn_append_rule \
16149 "$ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
16150 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
16151 depend: $ac_dir/depend
16152 .PHONY: $ac_dir/depend
16153 $ac_dir/depend: $ac_makedep dummy
16154 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
16157 wine_fn_pot_rules ()
16159 test "x$with_gettextpo" = xyes || return
16161 if wine_fn_has_flag mc
16162 then
16163 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
16164 wine_fn_append_rule \
16165 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
16166 @cd $ac_dir && \$(MAKE) msg.pot
16167 $ac_dir/msg.pot: tools/wmc include"
16169 if wine_fn_has_flag po
16170 then
16171 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
16172 wine_fn_append_rule \
16173 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
16174 @cd $ac_dir && \$(MAKE) rsrc.pot
16175 $ac_dir/rsrc.pot: tools/wrc include"
16179 wine_fn_all_rules ()
16181 ac_rules=$1
16183 wine_fn_depend_rules ${ac_rules:-Make.rules}
16184 wine_fn_append_rule \
16185 "all: $ac_dir
16186 .PHONY: $ac_dir
16187 $ac_dir: $ac_dir/Makefile dummy
16188 @cd $ac_dir && \$(MAKE)"
16191 wine_fn_install_rules ()
16193 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
16195 wine_fn_append_rule \
16196 ".PHONY: $ac_dir/install $ac_dir/uninstall
16197 $ac_dir/install:: $ac_dir
16198 @cd $ac_dir && \$(MAKE) install
16199 $ac_dir/uninstall:: $ac_dir/Makefile
16200 @cd $ac_dir && \$(MAKE) uninstall
16201 install:: $ac_dir/install
16202 __uninstall__: $ac_dir/uninstall"
16204 if wine_fn_has_flag install-lib
16205 then
16206 wine_fn_append_rule \
16207 ".PHONY: $ac_dir/install-lib
16208 $ac_dir/install-lib:: $ac_dir
16209 @cd $ac_dir && \$(MAKE) install-lib
16210 install-lib:: $ac_dir/install-lib"
16213 if wine_fn_has_flag install-dev
16214 then
16215 wine_fn_append_rule \
16216 ".PHONY: $ac_dir/install-dev
16217 $ac_dir/install-dev:: $ac_dir
16218 @cd $ac_dir && \$(MAKE) install-dev
16219 install-dev:: $ac_dir/install-dev"
16223 wine_fn_clean_rules ()
16225 ac_clean=$@
16227 if wine_fn_has_flag clean
16228 then
16229 wine_fn_append_rule \
16230 "__clean__: $ac_dir/clean
16231 .PHONY: $ac_dir/clean
16232 $ac_dir/clean: $ac_dir/Makefile
16233 @cd $ac_dir && \$(MAKE) clean
16234 \$(RM) $ac_dir/Makefile"
16235 else
16236 wine_fn_append_rule \
16237 "clean::
16238 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16242 wine_fn_disabled_rules ()
16244 ac_clean=$@
16246 wine_fn_append_rule \
16247 "clean::
16248 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16251 wine_fn_config_makefile ()
16253 ac_dir=$1
16254 ac_enable=$2
16255 ac_flags=$3
16257 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16258 wine_fn_disabled_rules; return
16260 wine_fn_all_rules
16261 wine_fn_install_rules
16262 wine_fn_clean_rules
16265 wine_fn_config_lib ()
16267 ac_name=$1
16268 ac_flags=$2
16269 ac_dir=dlls/$ac_name
16271 wine_fn_all_rules Make.rules.in
16272 wine_fn_clean_rules
16274 wine_fn_append_rule \
16275 ".PHONY: $ac_dir/install $ac_dir/uninstall
16276 $ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir)
16277 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16278 $ac_dir/uninstall::
16279 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16280 install install-dev:: $ac_dir/install
16281 __uninstall__: $ac_dir/uninstall
16282 __builddeps__: $ac_dir
16283 $ac_dir: tools/widl tools/winebuild tools/winegcc include"
16286 wine_fn_config_dll ()
16288 ac_name=$1
16289 ac_dir=dlls/$ac_name
16290 ac_enable=$2
16291 ac_flags=$3
16292 ac_implib=${4:-$ac_name}
16293 ac_file=$ac_dir/lib$ac_implib
16294 ac_dll=$ac_name
16295 ac_deps="tools/widl tools/winebuild tools/winegcc include"
16296 ac_implibflags=""
16298 case $ac_name in
16299 *16) ac_implibflags=" -m16" ;;
16300 *.*) ;;
16301 *) ac_dll=$ac_dll.dll ;;
16302 esac
16304 ac_clean=
16305 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
16306 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
16307 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
16309 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16310 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
16311 then
16312 wine_fn_depend_rules Make.rules.in
16313 wine_fn_clean_rules $ac_clean
16314 else
16315 wine_fn_disabled_rules $ac_clean
16316 return
16318 else
16319 wine_fn_all_rules Make.rules.in
16320 wine_fn_clean_rules $ac_clean
16321 wine_fn_append_rule \
16322 "$ac_dir: __builddeps__
16323 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
16324 @cd $ac_dir && \$(MAKE) \$@
16325 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
16326 install install-lib:: $ac_dir/install-lib
16327 __uninstall__: $ac_dir/uninstall"
16328 if test -n "$DLLEXT"
16329 then
16330 wine_fn_append_rule \
16331 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16332 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
16333 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
16334 $ac_dir/uninstall::
16335 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
16336 else
16337 wine_fn_append_rule \
16338 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir)
16339 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
16340 $ac_dir/uninstall::
16341 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
16344 wine_fn_pot_rules
16347 if wine_fn_has_flag staticimplib
16348 then
16349 wine_fn_append_rule \
16350 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
16351 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
16352 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16353 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16354 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
16355 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
16356 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16357 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16358 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16359 $ac_dir/uninstall::
16360 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16361 install install-dev:: $ac_dir/install-dev
16362 __uninstall__: $ac_dir/uninstall"
16364 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
16365 then
16366 wine_fn_append_rule \
16367 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
16368 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
16369 $ac_dir/uninstall::
16370 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
16373 if test -n "$CROSSTARGET"
16374 then
16375 wine_fn_append_rule \
16376 "__builddeps__: $ac_file.cross.a
16377 $ac_file.cross.a: $ac_dir/Makefile dummy
16378 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
16381 elif wine_fn_has_flag implib
16382 then
16383 wine_fn_append_rule \
16384 "__builddeps__: $ac_file.$IMPLIBEXT
16385 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16386 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16387 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16388 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16389 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16390 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16391 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16392 $ac_dir/uninstall::
16393 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16394 install install-dev:: $ac_dir/install-dev
16395 __uninstall__: $ac_dir/uninstall"
16396 if test -n "$CROSSTARGET"
16397 then
16398 wine_fn_append_rule \
16399 "__builddeps__: $ac_file.cross.a
16400 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16401 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
16404 if test "$ac_name" != "$ac_implib"
16405 then
16406 wine_fn_append_rule \
16407 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
16408 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
16409 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
16410 clean::
16411 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
16412 if test -n "$CROSSTARGET"
16413 then
16414 wine_fn_append_rule \
16415 "__builddeps__: dlls/lib$ac_implib.cross.a
16416 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
16417 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
16423 wine_fn_config_program ()
16425 ac_name=$1
16426 ac_dir=programs/$ac_name
16427 ac_enable=$2
16428 ac_flags=$3
16429 ac_program=$ac_name
16431 case $ac_name in
16432 *.*) ;;
16433 *) ac_program=$ac_program.exe ;;
16434 esac
16436 ac_clean=
16437 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
16438 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
16439 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
16440 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
16442 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16443 wine_fn_disabled_rules $ac_clean; return
16446 wine_fn_all_rules Make.rules.in
16447 wine_fn_clean_rules $ac_clean
16448 wine_fn_append_rule "$ac_dir: __builddeps__"
16449 wine_fn_pot_rules
16451 wine_fn_has_flag install || return
16452 wine_fn_append_rule \
16453 ".PHONY: $ac_dir/install $ac_dir/uninstall
16454 install install-lib:: $ac_dir/install
16455 __uninstall__: $ac_dir/uninstall"
16457 if test -n "$DLLEXT"
16458 then
16459 wine_fn_append_rule \
16460 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16461 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
16462 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
16463 $ac_dir/uninstall::
16464 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
16466 if test -z "$with_wine64" && wine_fn_has_flag installbin
16467 then
16468 wine_fn_append_rule \
16469 "$ac_dir/install:: __tooldeps__ \$(DESTDIR)\$(bindir)
16470 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
16471 $ac_dir/uninstall::
16472 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
16474 else
16475 wine_fn_append_rule \
16476 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(bindir)
16477 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
16478 $ac_dir/uninstall::
16479 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
16482 if test -z "$with_wine64" && wine_fn_has_flag manpage
16483 then
16484 wine_fn_append_rule \
16485 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
16486 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
16487 $ac_dir/uninstall::
16488 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
16492 wine_fn_config_test ()
16494 ac_dir=$1
16495 ac_name=$2
16496 ac_flags=$3
16498 ac_clean=
16499 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
16500 test -n "$DLLEXT" || ac_clean=$ac_dir/${ac_name}.exe
16501 ac_clean="$ac_clean $ac_dir/testlist.c"
16503 if test "x$enable_tests" = xno; then :
16504 wine_fn_disabled_rules $ac_clean; return
16507 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
16508 wine_fn_all_rules Make.rules.in
16509 wine_fn_clean_rules $ac_clean
16511 wine_fn_append_rule \
16512 "$ac_dir: programs/winetest/Makefile __builddeps__
16513 programs/winetest: $ac_dir
16514 check test: $ac_dir/test
16515 .PHONY: $ac_dir/test
16516 $ac_dir/test: dummy
16517 @cd $ac_dir && \$(MAKE) test
16518 testclean::
16519 \$(RM) $ac_dir/*.ok"
16521 if test -n "$CROSSTARGET"
16522 then
16523 wine_fn_append_rule \
16524 "crosstest: $ac_dir/crosstest
16525 .PHONY: $ac_dir/crosstest
16526 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
16527 @cd $ac_dir && \$(MAKE) crosstest"
16531 wine_fn_config_tool ()
16533 ac_dir=$1
16534 ac_flags=$2
16535 if test "x$enable_tools" = xno; then :
16536 return
16539 wine_fn_all_rules
16540 wine_fn_install_rules
16541 wine_fn_clean_rules
16543 wine_fn_append_rule "__tooldeps__: $ac_dir"
16544 wine_fn_append_rule "$ac_dir: libs/port"
16545 case $ac_dir in
16546 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
16547 esac
16550 wine_fn_config_makerules ()
16552 ac_rules=$1
16553 ac_deps=$2
16554 wine_fn_append_rule \
16555 "$ac_rules: $ac_rules.in $ac_deps config.status
16556 @./config.status $ac_rules
16557 distclean::
16558 \$(RM) $ac_rules"
16561 wine_fn_config_symlink ()
16563 ac_linkdir=
16564 if test "x$1" = "x-d"
16565 then
16566 ac_linkdir=$2
16567 shift; shift
16569 ac_links=$@
16570 wine_fn_append_rule \
16571 "$ac_links:
16572 @./config.status \$@
16573 distclean::
16574 \$(RM) $ac_links"
16575 test -n "$ac_linkdir" || return
16576 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
16579 if test -z "$CROSSTARGET"
16580 then
16581 wine_fn_append_rule \
16582 "crosstest:
16583 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16585 wine_fn_append_rule "
16586 # Rules automatically generated by configure
16588 .INIT: Makefile
16589 .MAKEFILEDEPS:
16590 all: Makefile
16591 Makefile: Makefile.in Make.vars.in Make.rules config.status
16592 @./config.status Make.tmp Makefile"
16594 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
16595 wine_fn_config_symlink -d dlls/shell32 dlls/shell32/AUTHORS
16596 if test "x$enable_fonts" != xno; then
16597 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16598 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16599 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16600 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16601 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16603 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16604 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16605 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16606 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16607 ac_config_links="$ac_config_links wine:tools/winewrapper"
16608 wine_fn_config_symlink wine
16609 if test "x$enable_win64" != xno; then
16610 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16611 wine_fn_config_symlink wine64
16614 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
16615 wine_fn_append_rule \
16616 "clean::
16617 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/dibdrv/%)"
16618 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
16619 wine_fn_append_rule \
16620 "clean::
16621 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/enhmfdrv/%)"
16622 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
16623 wine_fn_append_rule \
16624 "clean::
16625 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/mfdrv/%)"
16626 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
16627 wine_fn_append_rule \
16628 "clean::
16629 \$(RM) \$(CLEAN_FILES:%=dlls/kernel32/nls/%)"
16630 ac_config_commands="$ac_config_commands dlls/user32/resources"
16631 wine_fn_append_rule \
16632 "clean::
16633 \$(RM) \$(CLEAN_FILES:%=dlls/user32/resources/%)"
16634 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
16635 wine_fn_append_rule \
16636 "clean::
16637 \$(RM) \$(CLEAN_FILES:%=dlls/wineps.drv/data/%)"
16638 ac_config_commands="$ac_config_commands include/wine"
16639 wine_fn_append_rule \
16640 "clean::
16641 \$(RM) \$(CLEAN_FILES:%=include/wine/%)"
16643 wine_fn_config_makerules Make.rules
16644 MAKE_RULES=Make.rules
16645 ac_config_files="$ac_config_files Make.rules"
16648 wine_fn_config_dll acledit enable_acledit
16649 wine_fn_config_dll aclui enable_aclui implib
16650 wine_fn_config_dll activeds enable_activeds implib
16651 wine_fn_config_dll actxprxy enable_actxprxy clean
16652 wine_fn_config_lib adsiid
16653 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16654 wine_fn_config_test dlls/advapi32/tests advapi32_test
16655 wine_fn_config_dll advpack enable_advpack implib
16656 wine_fn_config_test dlls/advpack/tests advpack_test
16657 wine_fn_config_dll amstream enable_amstream clean
16658 wine_fn_config_test dlls/amstream/tests amstream_test
16659 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16660 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16661 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16662 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16663 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16664 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16665 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16666 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16667 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16668 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16669 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16670 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16671 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16672 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16673 wine_fn_config_dll apphelp enable_apphelp
16674 wine_fn_config_test dlls/apphelp/tests apphelp_test
16675 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16676 wine_fn_config_dll atl enable_atl clean,implib
16677 wine_fn_config_test dlls/atl/tests atl_test
16678 wine_fn_config_dll atl100 enable_atl100 implib
16679 wine_fn_config_test dlls/atl100/tests atl100_test
16680 wine_fn_config_dll atl110 enable_atl110
16681 wine_fn_config_dll atl80 enable_atl80 implib
16682 wine_fn_config_test dlls/atl80/tests atl80_test
16683 wine_fn_config_dll atl90 enable_atl90
16684 wine_fn_config_dll authz enable_authz
16685 wine_fn_config_dll avicap32 enable_avicap32 implib
16686 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16687 wine_fn_config_test dlls/avifil32/tests avifil32_test
16688 wine_fn_config_dll avifile.dll16 enable_win16
16689 wine_fn_config_dll avrt enable_avrt implib
16690 wine_fn_config_dll bcrypt enable_bcrypt
16691 wine_fn_config_dll browseui enable_browseui clean,po
16692 wine_fn_config_test dlls/browseui/tests browseui_test
16693 wine_fn_config_dll cabinet enable_cabinet implib
16694 wine_fn_config_test dlls/cabinet/tests cabinet_test
16695 wine_fn_config_dll capi2032 enable_capi2032 implib
16696 wine_fn_config_dll cards enable_cards implib
16697 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16698 wine_fn_config_dll clusapi enable_clusapi implib
16699 wine_fn_config_dll comcat enable_comcat
16700 wine_fn_config_test dlls/comcat/tests comcat_test
16701 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16702 wine_fn_config_test dlls/comctl32/tests comctl32_test
16703 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16704 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16705 wine_fn_config_dll comm.drv16 enable_win16
16706 wine_fn_config_dll commdlg.dll16 enable_win16
16707 wine_fn_config_dll compobj.dll16 enable_win16
16708 wine_fn_config_dll compstui enable_compstui implib
16709 wine_fn_config_dll comsvcs enable_comsvcs implib
16710 wine_fn_config_dll credui enable_credui implib,po
16711 wine_fn_config_test dlls/credui/tests credui_test
16712 wine_fn_config_dll crtdll enable_crtdll implib
16713 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16714 wine_fn_config_test dlls/crypt32/tests crypt32_test
16715 wine_fn_config_dll cryptdlg enable_cryptdlg po
16716 wine_fn_config_dll cryptdll enable_cryptdll implib
16717 wine_fn_config_dll cryptnet enable_cryptnet implib
16718 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16719 wine_fn_config_dll cryptui enable_cryptui implib,po
16720 wine_fn_config_test dlls/cryptui/tests cryptui_test
16721 wine_fn_config_dll ctapi32 enable_ctapi32
16722 wine_fn_config_dll ctl3d.dll16 enable_win16
16723 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16724 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16725 wine_fn_config_dll d3d10 enable_d3d10 implib
16726 wine_fn_config_test dlls/d3d10/tests d3d10_test
16727 wine_fn_config_dll d3d10core enable_d3d10core implib
16728 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16729 wine_fn_config_dll d3d11 enable_d3d11
16730 wine_fn_config_dll d3d8 enable_d3d8 implib
16731 wine_fn_config_test dlls/d3d8/tests d3d8_test
16732 wine_fn_config_dll d3d9 enable_d3d9 implib
16733 wine_fn_config_test dlls/d3d9/tests d3d9_test
16734 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16735 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16736 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16737 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16738 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16739 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16740 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16741 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16742 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16743 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16744 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16745 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16746 wine_fn_config_dll d3dim enable_d3dim implib
16747 wine_fn_config_dll d3drm enable_d3drm implib
16748 wine_fn_config_test dlls/d3drm/tests d3drm_test
16749 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16750 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16751 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16752 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16753 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16754 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16755 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16756 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16757 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16758 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16759 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16760 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16761 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16762 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16763 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16764 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16765 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16766 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16767 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16768 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16769 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16770 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16771 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16772 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16773 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16774 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16775 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16776 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16777 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16778 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16779 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16780 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16781 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16782 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16783 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16784 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16785 wine_fn_config_dll dbgeng enable_dbgeng implib
16786 wine_fn_config_dll dbghelp enable_dbghelp implib
16787 wine_fn_config_dll dciman32 enable_dciman32 implib
16788 wine_fn_config_dll ddeml.dll16 enable_win16
16789 wine_fn_config_dll ddraw enable_ddraw clean,implib
16790 wine_fn_config_test dlls/ddraw/tests ddraw_test
16791 wine_fn_config_dll ddrawex enable_ddrawex clean
16792 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16793 wine_fn_config_dll devenum enable_devenum clean,po
16794 wine_fn_config_test dlls/devenum/tests devenum_test
16795 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16796 wine_fn_config_dll difxapi enable_difxapi
16797 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16798 wine_fn_config_test dlls/dinput/tests dinput_test
16799 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16800 wine_fn_config_test dlls/dinput8/tests dinput8_test
16801 wine_fn_config_dll dispdib.dll16 enable_win16
16802 wine_fn_config_dll dispex enable_dispex clean
16803 wine_fn_config_test dlls/dispex/tests dispex_test
16804 wine_fn_config_dll display.drv16 enable_win16
16805 wine_fn_config_dll dmband enable_dmband clean
16806 wine_fn_config_test dlls/dmband/tests dmband_test
16807 wine_fn_config_dll dmcompos enable_dmcompos clean
16808 wine_fn_config_dll dmime enable_dmime clean
16809 wine_fn_config_test dlls/dmime/tests dmime_test
16810 wine_fn_config_dll dmloader enable_dmloader clean
16811 wine_fn_config_test dlls/dmloader/tests dmloader_test
16812 wine_fn_config_dll dmscript enable_dmscript clean
16813 wine_fn_config_dll dmstyle enable_dmstyle clean
16814 wine_fn_config_dll dmsynth enable_dmsynth clean
16815 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16816 wine_fn_config_dll dmusic enable_dmusic clean
16817 wine_fn_config_test dlls/dmusic/tests dmusic_test
16818 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16819 wine_fn_config_dll dnsapi enable_dnsapi implib
16820 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16821 wine_fn_config_dll dplay enable_dplay implib
16822 wine_fn_config_dll dplayx enable_dplayx clean,implib
16823 wine_fn_config_test dlls/dplayx/tests dplayx_test
16824 wine_fn_config_dll dpnaddr enable_dpnaddr
16825 wine_fn_config_dll dpnet enable_dpnet clean,implib
16826 wine_fn_config_test dlls/dpnet/tests dpnet_test
16827 wine_fn_config_dll dpnhpast enable_dpnhpast
16828 wine_fn_config_dll dpnlobby enable_dpnlobby
16829 wine_fn_config_dll dpwsockx enable_dpwsockx
16830 wine_fn_config_dll drmclien enable_drmclien
16831 wine_fn_config_dll dsound enable_dsound clean,implib
16832 wine_fn_config_test dlls/dsound/tests dsound_test
16833 wine_fn_config_dll dssenh enable_dssenh
16834 wine_fn_config_test dlls/dssenh/tests dssenh_test
16835 wine_fn_config_dll dswave enable_dswave clean
16836 wine_fn_config_dll dwmapi enable_dwmapi implib
16837 wine_fn_config_dll dwrite enable_dwrite implib
16838 wine_fn_config_test dlls/dwrite/tests dwrite_test
16839 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16840 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16841 wine_fn_config_lib dxerr8
16842 wine_fn_config_lib dxerr9
16843 wine_fn_config_dll dxgi enable_dxgi implib
16844 wine_fn_config_test dlls/dxgi/tests dxgi_test
16845 wine_fn_config_lib dxguid
16846 wine_fn_config_dll explorerframe enable_explorerframe clean
16847 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16848 wine_fn_config_dll faultrep enable_faultrep implib
16849 wine_fn_config_test dlls/faultrep/tests faultrep_test
16850 wine_fn_config_dll fltlib enable_fltlib
16851 wine_fn_config_dll fusion enable_fusion
16852 wine_fn_config_test dlls/fusion/tests fusion_test
16853 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16854 wine_fn_config_dll gameux enable_gameux clean
16855 wine_fn_config_test dlls/gameux/tests gameux_test
16856 wine_fn_config_dll gdi.exe16 enable_win16
16857 wine_fn_config_dll gdi32 enable_gdi32 implib,po
16858 wine_fn_config_test dlls/gdi32/tests gdi32_test
16859 wine_fn_config_dll gdiplus enable_gdiplus implib
16860 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16861 wine_fn_config_dll glu32 enable_glu32 implib
16862 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16863 wine_fn_config_dll gpkcsp enable_gpkcsp
16864 wine_fn_config_dll hal enable_hal
16865 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16866 wine_fn_config_dll hid enable_hid implib
16867 wine_fn_config_dll hlink enable_hlink clean,implib
16868 wine_fn_config_test dlls/hlink/tests hlink_test
16869 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16870 wine_fn_config_dll httpapi enable_httpapi
16871 wine_fn_config_dll iccvid enable_iccvid po
16872 wine_fn_config_dll icmp enable_icmp
16873 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16874 wine_fn_config_test dlls/ieframe/tests ieframe_test
16875 wine_fn_config_dll ifsmgr.vxd enable_win16
16876 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16877 wine_fn_config_dll imagehlp enable_imagehlp implib
16878 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16879 wine_fn_config_dll imm.dll16 enable_win16
16880 wine_fn_config_dll imm32 enable_imm32 implib
16881 wine_fn_config_test dlls/imm32/tests imm32_test
16882 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16883 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16884 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16885 wine_fn_config_dll inetmib1 enable_inetmib1
16886 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16887 wine_fn_config_dll infosoft enable_infosoft clean
16888 wine_fn_config_test dlls/infosoft/tests infosoft_test
16889 wine_fn_config_dll initpki enable_initpki
16890 wine_fn_config_dll inkobj enable_inkobj
16891 wine_fn_config_dll inseng enable_inseng clean
16892 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16893 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16894 wine_fn_config_dll itircl enable_itircl
16895 wine_fn_config_dll itss enable_itss clean
16896 wine_fn_config_test dlls/itss/tests itss_test
16897 wine_fn_config_dll joy.cpl enable_joy_cpl po
16898 wine_fn_config_dll jscript enable_jscript clean,po
16899 wine_fn_config_test dlls/jscript/tests jscript_test
16900 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
16901 wine_fn_config_test dlls/kernel32/tests kernel32_test
16902 wine_fn_config_dll keyboard.drv16 enable_win16
16903 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16904 wine_fn_config_dll ktmw32 enable_ktmw32
16905 wine_fn_config_dll loadperf enable_loadperf implib
16906 wine_fn_config_dll localspl enable_localspl po
16907 wine_fn_config_test dlls/localspl/tests localspl_test
16908 wine_fn_config_dll localui enable_localui po
16909 wine_fn_config_test dlls/localui/tests localui_test
16910 wine_fn_config_dll lz32 enable_lz32 implib
16911 wine_fn_config_test dlls/lz32/tests lz32_test
16912 wine_fn_config_dll lzexpand.dll16 enable_win16
16913 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16914 wine_fn_config_test dlls/mapi32/tests mapi32_test
16915 wine_fn_config_dll mapistub enable_mapistub
16916 wine_fn_config_dll mciavi32 enable_mciavi32
16917 wine_fn_config_dll mcicda enable_mcicda
16918 wine_fn_config_dll mciqtz32 enable_mciqtz32
16919 wine_fn_config_dll mciseq enable_mciseq
16920 wine_fn_config_dll mciwave enable_mciwave
16921 wine_fn_config_dll mgmtapi enable_mgmtapi
16922 wine_fn_config_dll midimap enable_midimap
16923 wine_fn_config_dll mlang enable_mlang clean,implib
16924 wine_fn_config_test dlls/mlang/tests mlang_test
16925 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16926 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16927 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16928 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16929 wine_fn_config_dll mmdevldr.vxd enable_win16
16930 wine_fn_config_dll mmsystem.dll16 enable_win16
16931 wine_fn_config_dll monodebg.vxd enable_win16
16932 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16933 wine_fn_config_dll mouse.drv16 enable_win16
16934 wine_fn_config_dll mpr enable_mpr implib,po
16935 wine_fn_config_test dlls/mpr/tests mpr_test
16936 wine_fn_config_dll mprapi enable_mprapi implib
16937 wine_fn_config_dll msacm.dll16 enable_win16
16938 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16939 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16940 wine_fn_config_test dlls/msacm32/tests msacm32_test
16941 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16942 wine_fn_config_dll mscat32 enable_mscat32
16943 wine_fn_config_dll mscms enable_mscms implib
16944 wine_fn_config_test dlls/mscms/tests mscms_test
16945 wine_fn_config_dll mscoree enable_mscoree clean
16946 wine_fn_config_test dlls/mscoree/tests mscoree_test
16947 wine_fn_config_dll msctf enable_msctf clean
16948 wine_fn_config_test dlls/msctf/tests msctf_test
16949 wine_fn_config_dll msdaps enable_msdaps clean
16950 wine_fn_config_dll msdmo enable_msdmo implib
16951 wine_fn_config_dll msftedit enable_msftedit
16952 wine_fn_config_dll msg711.acm enable_msg711_acm
16953 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16954 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16955 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16956 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16957 wine_fn_config_dll msi enable_msi clean,implib,po
16958 wine_fn_config_test dlls/msi/tests msi_test
16959 wine_fn_config_dll msident enable_msident clean
16960 wine_fn_config_dll msimg32 enable_msimg32 implib
16961 wine_fn_config_dll msimsg enable_msimsg
16962 wine_fn_config_dll msimtf enable_msimtf clean
16963 wine_fn_config_dll msisip enable_msisip
16964 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16965 wine_fn_config_dll msls31 enable_msls31
16966 wine_fn_config_dll msnet32 enable_msnet32
16967 wine_fn_config_dll mspatcha enable_mspatcha
16968 wine_fn_config_dll msrle32 enable_msrle32 po
16969 wine_fn_config_dll mssign32 enable_mssign32
16970 wine_fn_config_dll mssip32 enable_mssip32
16971 wine_fn_config_dll mstask enable_mstask clean
16972 wine_fn_config_test dlls/mstask/tests mstask_test
16973 wine_fn_config_dll msvcirt enable_msvcirt
16974 wine_fn_config_dll msvcm80 enable_msvcm80
16975 wine_fn_config_dll msvcm90 enable_msvcm90
16976 wine_fn_config_dll msvcp100 enable_msvcp100
16977 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16978 wine_fn_config_dll msvcp110 enable_msvcp110
16979 wine_fn_config_dll msvcp60 enable_msvcp60
16980 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16981 wine_fn_config_dll msvcp70 enable_msvcp70
16982 wine_fn_config_dll msvcp71 enable_msvcp71
16983 wine_fn_config_dll msvcp80 enable_msvcp80
16984 wine_fn_config_dll msvcp90 enable_msvcp90
16985 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16986 wine_fn_config_dll msvcr100 enable_msvcr100
16987 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16988 wine_fn_config_dll msvcr110 enable_msvcr110
16989 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16990 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16991 wine_fn_config_dll msvcr80 enable_msvcr80
16992 wine_fn_config_dll msvcr90 enable_msvcr90
16993 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
16994 wine_fn_config_dll msvcrt enable_msvcrt implib
16995 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
16996 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16997 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16998 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16999 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17000 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17001 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17002 wine_fn_config_dll msvidc32 enable_msvidc32 po
17003 wine_fn_config_dll msvideo.dll16 enable_win16
17004 wine_fn_config_dll mswsock enable_mswsock implib
17005 wine_fn_config_dll msxml enable_msxml clean
17006 wine_fn_config_dll msxml2 enable_msxml2 clean
17007 wine_fn_config_dll msxml3 enable_msxml3 clean
17008 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17009 wine_fn_config_dll msxml4 enable_msxml4 clean
17010 wine_fn_config_dll msxml6 enable_msxml6 clean
17011 wine_fn_config_dll nddeapi enable_nddeapi implib
17012 wine_fn_config_dll netapi32 enable_netapi32 implib
17013 wine_fn_config_test dlls/netapi32/tests netapi32_test
17014 wine_fn_config_dll netcfgx enable_netcfgx
17015 wine_fn_config_dll newdev enable_newdev implib
17016 wine_fn_config_dll normaliz enable_normaliz implib
17017 wine_fn_config_dll npmshtml enable_npmshtml
17018 wine_fn_config_dll ntdll enable_ntdll implib
17019 wine_fn_config_test dlls/ntdll/tests ntdll_test
17020 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17021 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17022 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17023 wine_fn_config_dll ntprint enable_ntprint
17024 wine_fn_config_test dlls/ntprint/tests ntprint_test
17025 wine_fn_config_dll objsel enable_objsel clean
17026 wine_fn_config_dll odbc32 enable_odbc32 implib
17027 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17028 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17029 wine_fn_config_dll odbccu32 enable_odbccu32
17030 wine_fn_config_dll ole2.dll16 enable_win16
17031 wine_fn_config_dll ole2conv.dll16 enable_win16
17032 wine_fn_config_dll ole2disp.dll16 enable_win16
17033 wine_fn_config_dll ole2nls.dll16 enable_win16
17034 wine_fn_config_dll ole2prox.dll16 enable_win16
17035 wine_fn_config_dll ole2thk.dll16 enable_win16
17036 wine_fn_config_dll ole32 enable_ole32 clean,implib
17037 wine_fn_config_test dlls/ole32/tests ole32_test
17038 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17039 wine_fn_config_test dlls/oleacc/tests oleacc_test
17040 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17041 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17042 wine_fn_config_dll olecli.dll16 enable_win16
17043 wine_fn_config_dll olecli32 enable_olecli32 implib
17044 wine_fn_config_dll oledb32 enable_oledb32 clean
17045 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17046 wine_fn_config_dll oledlg enable_oledlg implib,po
17047 wine_fn_config_dll olepro32 enable_olepro32 implib
17048 wine_fn_config_dll olesvr.dll16 enable_win16
17049 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17050 wine_fn_config_dll olethk32 enable_olethk32
17051 wine_fn_config_dll openal32 enable_openal32
17052 wine_fn_config_dll opencl enable_opencl
17053 wine_fn_config_dll opengl32 enable_opengl32 implib
17054 wine_fn_config_test dlls/opengl32/tests opengl32_test
17055 wine_fn_config_dll pdh enable_pdh implib
17056 wine_fn_config_test dlls/pdh/tests pdh_test
17057 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17058 wine_fn_config_dll pidgen enable_pidgen
17059 wine_fn_config_dll powrprof enable_powrprof implib
17060 wine_fn_config_dll printui enable_printui
17061 wine_fn_config_dll propsys enable_propsys clean,implib
17062 wine_fn_config_test dlls/propsys/tests propsys_test
17063 wine_fn_config_dll psapi enable_psapi implib
17064 wine_fn_config_test dlls/psapi/tests psapi_test
17065 wine_fn_config_dll pstorec enable_pstorec clean
17066 wine_fn_config_dll qcap enable_qcap
17067 wine_fn_config_test dlls/qcap/tests qcap_test
17068 wine_fn_config_dll qedit enable_qedit clean
17069 wine_fn_config_test dlls/qedit/tests qedit_test
17070 wine_fn_config_dll qmgr enable_qmgr clean
17071 wine_fn_config_test dlls/qmgr/tests qmgr_test
17072 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17073 wine_fn_config_dll quartz enable_quartz clean,implib
17074 wine_fn_config_test dlls/quartz/tests quartz_test clean
17075 wine_fn_config_dll query enable_query
17076 wine_fn_config_dll rasapi16.dll16 enable_win16
17077 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17078 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17079 wine_fn_config_dll rasdlg enable_rasdlg implib
17080 wine_fn_config_dll regapi enable_regapi
17081 wine_fn_config_dll resutils enable_resutils implib
17082 wine_fn_config_dll riched20 enable_riched20 implib
17083 wine_fn_config_test dlls/riched20/tests riched20_test
17084 wine_fn_config_dll riched32 enable_riched32
17085 wine_fn_config_test dlls/riched32/tests riched32_test
17086 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17087 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17088 wine_fn_config_dll rsabase enable_rsabase
17089 wine_fn_config_dll rsaenh enable_rsaenh implib
17090 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17091 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17092 wine_fn_config_dll rtutils enable_rtutils implib
17093 wine_fn_config_dll samlib enable_samlib
17094 wine_fn_config_dll sane.ds enable_sane_ds po
17095 wine_fn_config_dll scarddlg enable_scarddlg
17096 wine_fn_config_dll sccbase enable_sccbase
17097 wine_fn_config_dll schannel enable_schannel
17098 wine_fn_config_test dlls/schannel/tests schannel_test
17099 wine_fn_config_dll scrrun enable_scrrun clean
17100 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17101 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17102 wine_fn_config_dll secur32 enable_secur32 implib
17103 wine_fn_config_test dlls/secur32/tests secur32_test
17104 wine_fn_config_dll security enable_security
17105 wine_fn_config_dll sensapi enable_sensapi implib
17106 wine_fn_config_dll serialui enable_serialui implib,po
17107 wine_fn_config_test dlls/serialui/tests serialui_test
17108 wine_fn_config_dll setupapi enable_setupapi implib,po
17109 wine_fn_config_test dlls/setupapi/tests setupapi_test
17110 wine_fn_config_dll setupx.dll16 enable_win16
17111 wine_fn_config_dll sfc enable_sfc implib
17112 wine_fn_config_dll sfc_os enable_sfc_os implib
17113 wine_fn_config_dll shdoclc enable_shdoclc po
17114 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17115 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17116 wine_fn_config_dll shell.dll16 enable_win16
17117 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17118 wine_fn_config_test dlls/shell32/tests shell32_test
17119 wine_fn_config_dll shfolder enable_shfolder implib
17120 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17121 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17122 wine_fn_config_dll slbcsp enable_slbcsp
17123 wine_fn_config_dll slc enable_slc implib
17124 wine_fn_config_dll snmpapi enable_snmpapi implib
17125 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17126 wine_fn_config_dll softpub enable_softpub
17127 wine_fn_config_dll sound.drv16 enable_win16
17128 wine_fn_config_dll spoolss enable_spoolss implib
17129 wine_fn_config_test dlls/spoolss/tests spoolss_test
17130 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17131 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17132 wine_fn_config_dll sti enable_sti clean,implib
17133 wine_fn_config_test dlls/sti/tests sti_test
17134 wine_fn_config_dll storage.dll16 enable_win16
17135 wine_fn_config_dll stress.dll16 enable_win16
17136 wine_fn_config_lib strmbase
17137 wine_fn_config_lib strmiids
17138 wine_fn_config_dll svrapi enable_svrapi
17139 wine_fn_config_dll sxs enable_sxs implib
17140 wine_fn_config_test dlls/sxs/tests sxs_test
17141 wine_fn_config_dll system.drv16 enable_win16
17142 wine_fn_config_dll t2embed enable_t2embed
17143 wine_fn_config_dll tapi32 enable_tapi32 implib
17144 wine_fn_config_dll toolhelp.dll16 enable_win16
17145 wine_fn_config_dll traffic enable_traffic
17146 wine_fn_config_dll twain.dll16 enable_win16
17147 wine_fn_config_dll twain_32 enable_twain_32
17148 wine_fn_config_test dlls/twain_32/tests twain_32_test
17149 wine_fn_config_dll typelib.dll16 enable_win16
17150 wine_fn_config_dll unicows enable_unicows implib
17151 wine_fn_config_dll updspapi enable_updspapi
17152 wine_fn_config_dll url enable_url implib
17153 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17154 wine_fn_config_test dlls/urlmon/tests urlmon_test
17155 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17156 wine_fn_config_dll user.exe16 enable_win16
17157 wine_fn_config_dll user32 enable_user32 implib,po
17158 wine_fn_config_test dlls/user32/tests user32_test
17159 wine_fn_config_dll userenv enable_userenv implib
17160 wine_fn_config_test dlls/userenv/tests userenv_test
17161 wine_fn_config_dll usp10 enable_usp10 implib
17162 wine_fn_config_test dlls/usp10/tests usp10_test
17163 wine_fn_config_lib uuid
17164 wine_fn_config_dll uxtheme enable_uxtheme implib
17165 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17166 wine_fn_config_dll vbscript enable_vbscript clean
17167 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17168 wine_fn_config_dll vcomp enable_vcomp
17169 wine_fn_config_dll vcomp100 enable_vcomp100
17170 wine_fn_config_dll vcomp90 enable_vcomp90
17171 wine_fn_config_dll vdhcp.vxd enable_win16
17172 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17173 wine_fn_config_dll ver.dll16 enable_win16
17174 wine_fn_config_dll version enable_version implib
17175 wine_fn_config_test dlls/version/tests version_test
17176 wine_fn_config_dll vmm.vxd enable_win16
17177 wine_fn_config_dll vnbt.vxd enable_win16
17178 wine_fn_config_dll vnetbios.vxd enable_win16
17179 wine_fn_config_dll vtdapi.vxd enable_win16
17180 wine_fn_config_dll vwin32.vxd enable_win16
17181 wine_fn_config_dll w32skrnl enable_win16
17182 wine_fn_config_dll w32sys.dll16 enable_win16
17183 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17184 wine_fn_config_dll wbemprox enable_wbemprox clean
17185 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17186 wine_fn_config_dll webservices enable_webservices implib
17187 wine_fn_config_dll wer enable_wer implib
17188 wine_fn_config_test dlls/wer/tests wer_test
17189 wine_fn_config_dll wevtapi enable_wevtapi
17190 wine_fn_config_dll wiaservc enable_wiaservc clean
17191 wine_fn_config_dll win32s16.dll16 enable_win16
17192 wine_fn_config_dll win87em.dll16 enable_win16
17193 wine_fn_config_dll winaspi.dll16 enable_win16
17194 wine_fn_config_dll windebug.dll16 enable_win16
17195 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17196 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17197 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17198 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17199 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17200 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17201 wine_fn_config_lib winecrt0
17202 wine_fn_config_dll wined3d enable_wined3d implib
17203 wine_fn_config_dll winegstreamer enable_winegstreamer
17204 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17205 wine_fn_config_dll winemac.drv enable_winemac_drv
17206 wine_fn_config_dll winemapi enable_winemapi
17207 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17208 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17209 wine_fn_config_dll wineps.drv enable_wineps_drv po
17210 wine_fn_config_dll wineps16.drv16 enable_win16
17211 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17212 wine_fn_config_dll winex11.drv enable_winex11_drv
17213 wine_fn_config_dll wing.dll16 enable_win16
17214 wine_fn_config_dll wing32 enable_wing32
17215 wine_fn_config_dll winhttp enable_winhttp clean,implib
17216 wine_fn_config_test dlls/winhttp/tests winhttp_test
17217 wine_fn_config_dll wininet enable_wininet implib,po
17218 wine_fn_config_test dlls/wininet/tests wininet_test
17219 wine_fn_config_dll winmm enable_winmm implib,po
17220 wine_fn_config_test dlls/winmm/tests winmm_test
17221 wine_fn_config_dll winnls.dll16 enable_win16
17222 wine_fn_config_dll winnls32 enable_winnls32 implib
17223 wine_fn_config_dll winscard enable_winscard implib
17224 wine_fn_config_dll winsock.dll16 enable_win16
17225 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17226 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17227 wine_fn_config_dll winsta enable_winsta
17228 wine_fn_config_dll wintab.dll16 enable_win16
17229 wine_fn_config_dll wintab32 enable_wintab32 implib
17230 wine_fn_config_test dlls/wintab32/tests wintab32_test
17231 wine_fn_config_dll wintrust enable_wintrust implib
17232 wine_fn_config_test dlls/wintrust/tests wintrust_test
17233 wine_fn_config_dll wlanapi enable_wlanapi
17234 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17235 wine_fn_config_test dlls/wldap32/tests wldap32_test
17236 wine_fn_config_dll wmi enable_wmi
17237 wine_fn_config_dll wmiutils enable_wmiutils clean
17238 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17239 wine_fn_config_dll wmvcore enable_wmvcore
17240 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17241 wine_fn_config_dll wow32 enable_win16 implib
17242 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17243 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17244 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17245 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17246 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17247 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17248 wine_fn_config_dll wsock32 enable_wsock32 implib
17249 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17250 wine_fn_config_dll wuapi enable_wuapi clean
17251 wine_fn_config_dll wuaueng enable_wuaueng
17252 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17253 wine_fn_config_dll xinput1_1 enable_xinput1_1
17254 wine_fn_config_dll xinput1_2 enable_xinput1_2
17255 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17256 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17257 wine_fn_config_dll xinput1_4 enable_xinput1_4
17258 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17259 wine_fn_config_dll xmllite enable_xmllite
17260 wine_fn_config_test dlls/xmllite/tests xmllite_test
17261 wine_fn_config_dll xolehlp enable_xolehlp
17262 wine_fn_config_dll xpsprint enable_xpsprint
17263 wine_fn_config_dll xpssvcs enable_xpssvcs
17264 wine_fn_config_makefile documentation enable_documentation clean
17265 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17266 wine_fn_config_makefile include enable_include clean,install-dev
17267 wine_fn_config_makefile libs/port enable_libs_port
17268 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17269 wine_fn_config_makefile libs/wpp enable_libs_wpp
17270 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17271 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17272 wine_fn_config_program attrib enable_attrib install,po
17273 wine_fn_config_program cabarc enable_cabarc install
17274 wine_fn_config_program cacls enable_cacls install
17275 wine_fn_config_program clock enable_clock install,po
17276 wine_fn_config_program cmd enable_cmd install,po
17277 wine_fn_config_test programs/cmd/tests cmd.exe_test
17278 wine_fn_config_program conhost enable_conhost install
17279 wine_fn_config_program control enable_control install
17280 wine_fn_config_program cscript enable_cscript install
17281 wine_fn_config_program dxdiag enable_dxdiag install,po
17282 wine_fn_config_program eject enable_eject install
17283 wine_fn_config_program expand enable_expand install
17284 wine_fn_config_program explorer enable_explorer install,po
17285 wine_fn_config_program extrac32 enable_extrac32 install
17286 wine_fn_config_program findstr enable_findstr install
17287 wine_fn_config_program hh enable_hh install
17288 wine_fn_config_program hostname enable_hostname install,po
17289 wine_fn_config_program icinfo enable_icinfo install
17290 wine_fn_config_program iexplore enable_iexplore install
17291 wine_fn_config_program ipconfig enable_ipconfig install,po
17292 wine_fn_config_program lodctr enable_lodctr install
17293 wine_fn_config_program mofcomp enable_mofcomp install
17294 wine_fn_config_program mshta enable_mshta install
17295 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17296 wine_fn_config_program net enable_net install,po
17297 wine_fn_config_program netsh enable_netsh install
17298 wine_fn_config_program netstat enable_netstat install,po
17299 wine_fn_config_program ngen enable_ngen install
17300 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17301 wine_fn_config_program oleview enable_oleview install,po
17302 wine_fn_config_program ping enable_ping install
17303 wine_fn_config_program plugplay enable_plugplay install
17304 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17305 wine_fn_config_program progman enable_progman install,po
17306 wine_fn_config_program reg enable_reg install,po
17307 wine_fn_config_program regasm enable_regasm install
17308 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17309 wine_fn_config_test programs/regedit/tests regedit.exe_test
17310 wine_fn_config_program regsvcs enable_regsvcs install
17311 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
17312 wine_fn_config_program rpcss enable_rpcss clean,install
17313 wine_fn_config_program rundll.exe16 enable_win16 install
17314 wine_fn_config_program rundll32 enable_rundll32 install
17315 wine_fn_config_program sc enable_sc install
17316 wine_fn_config_program schtasks enable_schtasks install
17317 wine_fn_config_program secedit enable_secedit install
17318 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17319 wine_fn_config_program services enable_services clean,install
17320 wine_fn_config_test programs/services/tests services.exe_test
17321 wine_fn_config_program spoolsv enable_spoolsv install
17322 wine_fn_config_program start enable_start install,po
17323 wine_fn_config_program svchost enable_svchost install
17324 wine_fn_config_program taskkill enable_taskkill install,po
17325 wine_fn_config_program tasklist enable_tasklist install
17326 wine_fn_config_program taskmgr enable_taskmgr install,po
17327 wine_fn_config_program termsv enable_termsv install
17328 wine_fn_config_program uninstaller enable_uninstaller install,po
17329 wine_fn_config_program unlodctr enable_unlodctr install
17330 wine_fn_config_program view enable_view install,po
17331 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17332 wine_fn_config_program winebrowser enable_winebrowser install
17333 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17334 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17335 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17336 wine_fn_config_program winedevice enable_winedevice install
17337 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17338 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17339 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17340 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17341 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17342 wine_fn_config_program winetest enable_winetest clean
17343 wine_fn_config_program winevdm enable_win16 install
17344 wine_fn_config_program winhelp.exe16 enable_win16 install
17345 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17346 wine_fn_config_program winoldap.mod16 enable_win16 install
17347 wine_fn_config_program winver enable_winver install
17348 wine_fn_config_program wmic enable_wmic install,po
17349 wine_fn_config_program wordpad enable_wordpad install,po
17350 wine_fn_config_program write enable_write install,po
17351 wine_fn_config_program wscript enable_wscript clean,install
17352 wine_fn_config_test programs/wscript/tests wscript.exe_test
17353 wine_fn_config_program wusa enable_wusa install
17354 wine_fn_config_program xcopy enable_xcopy install,po
17355 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17356 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17357 wine_fn_config_tool tools/widl clean,install-dev,manpage
17358 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17359 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17360 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17361 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17362 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17364 LINGUAS="\
17365 ar \
17366 bg \
17367 ca \
17368 cs \
17369 da \
17370 de \
17371 el \
17372 en \
17373 en_US \
17374 eo \
17375 es \
17376 fa \
17377 fi \
17378 fr \
17379 he \
17380 hi \
17381 hr \
17382 hu \
17383 it \
17384 ja \
17385 ko \
17386 lt \
17387 ml \
17388 nb_NO \
17389 nl \
17390 or \
17391 pa \
17392 pl \
17393 pt_BR \
17394 pt_PT \
17395 rm \
17396 ro \
17397 ru \
17398 sk \
17399 sl \
17400 sr_RS@cyrillic \
17401 sr_RS@latin \
17402 sv \
17403 te \
17404 th \
17405 tr \
17406 uk \
17407 wa \
17408 zh_CN \
17409 zh_TW"
17413 ac_config_commands="$ac_config_commands Makefile"
17416 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17420 if test "x$enable_maintainer_mode" = xyes
17421 then
17422 wine_fn_append_rule "\$(srcdir)/configure: configure.ac aclocal.m4
17423 cd \$(srcdir) && autoconf --warnings=all
17424 \$(srcdir)/include/config.h.in: include/stamp-h.in
17425 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
17426 cd \$(srcdir) && autoheader --warnings=all
17427 @echo timestamp > \$@"
17430 if test "x$with_gettextpo" = xyes
17431 then
17432 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17433 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17434 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
17435 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17436 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
17437 msgcat -o \$@ \$(ALL_POT_FILES)"
17440 if test "$MSGFMT" != false
17441 then
17442 PORCFLAGS="--po-dir=\$(top_builddir)/po"
17444 wine_fn_append_rule "__builddeps__: \$(ALL_MO_FILES)"
17445 else
17446 LINGUAS=
17449 if test "x$enable_tools" != xno
17450 then
17451 wine_fn_append_rule "\$(MAKEDEP): tools/Makefile
17452 clean:: __clean__
17453 \$(RM) tools/makedep\$(EXEEXT)"
17456 if test -n "$with_wine64"
17457 then
17458 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17459 fonts server tools:
17460 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17461 $with_wine64/loader/wine:
17462 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17463 $with_wine64/loader/wine-preloader:
17464 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17465 clean::
17466 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17467 else
17468 as_fn_append LOADER_RULES "
17469 all: wine.inf
17471 wine.inf: wine.inf.in \$(top_builddir)/include/config.h
17472 LC_ALL=C sed -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' \$(srcdir)/wine.inf.in >\$@ || (\$(RM) \$@ && false)
17474 install install-lib:: wine.inf \$(DESTDIR)\$(datadir)/wine install-man-pages
17475 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17476 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17478 uninstall::
17479 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17483 $as_echo " done" >&6
17484 cat >confcache <<\_ACEOF
17485 # This file is a shell script that caches the results of configure
17486 # tests run on this system so they can be shared between configure
17487 # scripts and configure runs, see configure's option --config-cache.
17488 # It is not useful on other systems. If it contains results you don't
17489 # want to keep, you may remove or edit it.
17491 # config.status only pays attention to the cache file if you give it
17492 # the --recheck option to rerun configure.
17494 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17495 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17496 # following values.
17498 _ACEOF
17500 # The following way of writing the cache mishandles newlines in values,
17501 # but we know of no workaround that is simple, portable, and efficient.
17502 # So, we kill variables containing newlines.
17503 # Ultrix sh set writes to stderr and can't be redirected directly,
17504 # and sets the high bit in the cache file unless we assign to the vars.
17506 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17507 eval ac_val=\$$ac_var
17508 case $ac_val in #(
17509 *${as_nl}*)
17510 case $ac_var in #(
17511 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17512 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17513 esac
17514 case $ac_var in #(
17515 _ | IFS | as_nl) ;; #(
17516 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17517 *) { eval $ac_var=; unset $ac_var;} ;;
17518 esac ;;
17519 esac
17520 done
17522 (set) 2>&1 |
17523 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17524 *${as_nl}ac_space=\ *)
17525 # `set' does not quote correctly, so add quotes: double-quote
17526 # substitution turns \\\\ into \\, and sed turns \\ into \.
17527 sed -n \
17528 "s/'/'\\\\''/g;
17529 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17530 ;; #(
17532 # `set' quotes correctly as required by POSIX, so do not add quotes.
17533 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17535 esac |
17536 sort
17538 sed '
17539 /^ac_cv_env_/b end
17540 t clear
17541 :clear
17542 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17543 t end
17544 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17545 :end' >>confcache
17546 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17547 if test -w "$cache_file"; then
17548 if test "x$cache_file" != "x/dev/null"; then
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17550 $as_echo "$as_me: updating cache $cache_file" >&6;}
17551 if test ! -f "$cache_file" || test -h "$cache_file"; then
17552 cat confcache >"$cache_file"
17553 else
17554 case $cache_file in #(
17555 */* | ?:*)
17556 mv -f confcache "$cache_file"$$ &&
17557 mv -f "$cache_file"$$ "$cache_file" ;; #(
17559 mv -f confcache "$cache_file" ;;
17560 esac
17563 else
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17565 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17568 rm -f confcache
17570 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17571 # Let make expand exec_prefix.
17572 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17574 DEFS=-DHAVE_CONFIG_H
17576 ac_libobjs=
17577 ac_ltlibobjs=
17579 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17580 # 1. Remove the extension, and $U if already installed.
17581 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17582 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17583 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17584 # will be set to the directory where LIBOBJS objects are built.
17585 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17586 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17587 done
17588 LIBOBJS=$ac_libobjs
17590 LTLIBOBJS=$ac_ltlibobjs
17594 : "${CONFIG_STATUS=./config.status}"
17595 ac_write_fail=0
17596 ac_clean_files_save=$ac_clean_files
17597 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17599 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17600 as_write_fail=0
17601 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17602 #! $SHELL
17603 # Generated by $as_me.
17604 # Run this file to recreate the current configuration.
17605 # Compiler output produced by configure, useful for debugging
17606 # configure, is in config.log if it exists.
17608 debug=false
17609 ac_cs_recheck=false
17610 ac_cs_silent=false
17612 SHELL=\${CONFIG_SHELL-$SHELL}
17613 export SHELL
17614 _ASEOF
17615 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17616 ## -------------------- ##
17617 ## M4sh Initialization. ##
17618 ## -------------------- ##
17620 # Be more Bourne compatible
17621 DUALCASE=1; export DUALCASE # for MKS sh
17622 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17623 emulate sh
17624 NULLCMD=:
17625 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17626 # is contrary to our usage. Disable this feature.
17627 alias -g '${1+"$@"}'='"$@"'
17628 setopt NO_GLOB_SUBST
17629 else
17630 case `(set -o) 2>/dev/null` in #(
17631 *posix*) :
17632 set -o posix ;; #(
17633 *) :
17635 esac
17639 as_nl='
17641 export as_nl
17642 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17643 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17644 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17645 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17646 # Prefer a ksh shell builtin over an external printf program on Solaris,
17647 # but without wasting forks for bash or zsh.
17648 if test -z "$BASH_VERSION$ZSH_VERSION" \
17649 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17650 as_echo='print -r --'
17651 as_echo_n='print -rn --'
17652 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17653 as_echo='printf %s\n'
17654 as_echo_n='printf %s'
17655 else
17656 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17657 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17658 as_echo_n='/usr/ucb/echo -n'
17659 else
17660 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17661 as_echo_n_body='eval
17662 arg=$1;
17663 case $arg in #(
17664 *"$as_nl"*)
17665 expr "X$arg" : "X\\(.*\\)$as_nl";
17666 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17667 esac;
17668 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17670 export as_echo_n_body
17671 as_echo_n='sh -c $as_echo_n_body as_echo'
17673 export as_echo_body
17674 as_echo='sh -c $as_echo_body as_echo'
17677 # The user is always right.
17678 if test "${PATH_SEPARATOR+set}" != set; then
17679 PATH_SEPARATOR=:
17680 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17681 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17682 PATH_SEPARATOR=';'
17687 # IFS
17688 # We need space, tab and new line, in precisely that order. Quoting is
17689 # there to prevent editors from complaining about space-tab.
17690 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17691 # splitting by setting IFS to empty value.)
17692 IFS=" "" $as_nl"
17694 # Find who we are. Look in the path if we contain no directory separator.
17695 as_myself=
17696 case $0 in #((
17697 *[\\/]* ) as_myself=$0 ;;
17698 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17699 for as_dir in $PATH
17701 IFS=$as_save_IFS
17702 test -z "$as_dir" && as_dir=.
17703 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17704 done
17705 IFS=$as_save_IFS
17708 esac
17709 # We did not find ourselves, most probably we were run as `sh COMMAND'
17710 # in which case we are not to be found in the path.
17711 if test "x$as_myself" = x; then
17712 as_myself=$0
17714 if test ! -f "$as_myself"; then
17715 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17716 exit 1
17719 # Unset variables that we do not need and which cause bugs (e.g. in
17720 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17721 # suppresses any "Segmentation fault" message there. '((' could
17722 # trigger a bug in pdksh 5.2.14.
17723 for as_var in BASH_ENV ENV MAIL MAILPATH
17724 do eval test x\${$as_var+set} = xset \
17725 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17726 done
17727 PS1='$ '
17728 PS2='> '
17729 PS4='+ '
17731 # NLS nuisances.
17732 LC_ALL=C
17733 export LC_ALL
17734 LANGUAGE=C
17735 export LANGUAGE
17737 # CDPATH.
17738 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17741 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17742 # ----------------------------------------
17743 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17744 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17745 # script with STATUS, using 1 if that was 0.
17746 as_fn_error ()
17748 as_status=$1; test $as_status -eq 0 && as_status=1
17749 if test "$4"; then
17750 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17751 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17753 $as_echo "$as_me: error: $2" >&2
17754 as_fn_exit $as_status
17755 } # as_fn_error
17758 # as_fn_set_status STATUS
17759 # -----------------------
17760 # Set $? to STATUS, without forking.
17761 as_fn_set_status ()
17763 return $1
17764 } # as_fn_set_status
17766 # as_fn_exit STATUS
17767 # -----------------
17768 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17769 as_fn_exit ()
17771 set +e
17772 as_fn_set_status $1
17773 exit $1
17774 } # as_fn_exit
17776 # as_fn_unset VAR
17777 # ---------------
17778 # Portably unset VAR.
17779 as_fn_unset ()
17781 { eval $1=; unset $1;}
17783 as_unset=as_fn_unset
17784 # as_fn_append VAR VALUE
17785 # ----------------------
17786 # Append the text in VALUE to the end of the definition contained in VAR. Take
17787 # advantage of any shell optimizations that allow amortized linear growth over
17788 # repeated appends, instead of the typical quadratic growth present in naive
17789 # implementations.
17790 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17791 eval 'as_fn_append ()
17793 eval $1+=\$2
17795 else
17796 as_fn_append ()
17798 eval $1=\$$1\$2
17800 fi # as_fn_append
17802 # as_fn_arith ARG...
17803 # ------------------
17804 # Perform arithmetic evaluation on the ARGs, and store the result in the
17805 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17806 # must be portable across $(()) and expr.
17807 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17808 eval 'as_fn_arith ()
17810 as_val=$(( $* ))
17812 else
17813 as_fn_arith ()
17815 as_val=`expr "$@" || test $? -eq 1`
17817 fi # as_fn_arith
17820 if expr a : '\(a\)' >/dev/null 2>&1 &&
17821 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17822 as_expr=expr
17823 else
17824 as_expr=false
17827 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17828 as_basename=basename
17829 else
17830 as_basename=false
17833 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17834 as_dirname=dirname
17835 else
17836 as_dirname=false
17839 as_me=`$as_basename -- "$0" ||
17840 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17841 X"$0" : 'X\(//\)$' \| \
17842 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17843 $as_echo X/"$0" |
17844 sed '/^.*\/\([^/][^/]*\)\/*$/{
17845 s//\1/
17848 /^X\/\(\/\/\)$/{
17849 s//\1/
17852 /^X\/\(\/\).*/{
17853 s//\1/
17856 s/.*/./; q'`
17858 # Avoid depending upon Character Ranges.
17859 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17860 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17861 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17862 as_cr_digits='0123456789'
17863 as_cr_alnum=$as_cr_Letters$as_cr_digits
17865 ECHO_C= ECHO_N= ECHO_T=
17866 case `echo -n x` in #(((((
17867 -n*)
17868 case `echo 'xy\c'` in
17869 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17870 xy) ECHO_C='\c';;
17871 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17872 ECHO_T=' ';;
17873 esac;;
17875 ECHO_N='-n';;
17876 esac
17878 rm -f conf$$ conf$$.exe conf$$.file
17879 if test -d conf$$.dir; then
17880 rm -f conf$$.dir/conf$$.file
17881 else
17882 rm -f conf$$.dir
17883 mkdir conf$$.dir 2>/dev/null
17885 if (echo >conf$$.file) 2>/dev/null; then
17886 if ln -s conf$$.file conf$$ 2>/dev/null; then
17887 as_ln_s='ln -s'
17888 # ... but there are two gotchas:
17889 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17890 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17891 # In both cases, we have to default to `cp -pR'.
17892 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17893 as_ln_s='cp -pR'
17894 elif ln conf$$.file conf$$ 2>/dev/null; then
17895 as_ln_s=ln
17896 else
17897 as_ln_s='cp -pR'
17899 else
17900 as_ln_s='cp -pR'
17902 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17903 rmdir conf$$.dir 2>/dev/null
17906 # as_fn_mkdir_p
17907 # -------------
17908 # Create "$as_dir" as a directory, including parents if necessary.
17909 as_fn_mkdir_p ()
17912 case $as_dir in #(
17913 -*) as_dir=./$as_dir;;
17914 esac
17915 test -d "$as_dir" || eval $as_mkdir_p || {
17916 as_dirs=
17917 while :; do
17918 case $as_dir in #(
17919 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17920 *) as_qdir=$as_dir;;
17921 esac
17922 as_dirs="'$as_qdir' $as_dirs"
17923 as_dir=`$as_dirname -- "$as_dir" ||
17924 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17925 X"$as_dir" : 'X\(//\)[^/]' \| \
17926 X"$as_dir" : 'X\(//\)$' \| \
17927 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17928 $as_echo X"$as_dir" |
17929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17930 s//\1/
17933 /^X\(\/\/\)[^/].*/{
17934 s//\1/
17937 /^X\(\/\/\)$/{
17938 s//\1/
17941 /^X\(\/\).*/{
17942 s//\1/
17945 s/.*/./; q'`
17946 test -d "$as_dir" && break
17947 done
17948 test -z "$as_dirs" || eval "mkdir $as_dirs"
17949 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17952 } # as_fn_mkdir_p
17953 if mkdir -p . 2>/dev/null; then
17954 as_mkdir_p='mkdir -p "$as_dir"'
17955 else
17956 test -d ./-p && rmdir ./-p
17957 as_mkdir_p=false
17961 # as_fn_executable_p FILE
17962 # -----------------------
17963 # Test if FILE is an executable regular file.
17964 as_fn_executable_p ()
17966 test -f "$1" && test -x "$1"
17967 } # as_fn_executable_p
17968 as_test_x='test -x'
17969 as_executable_p=as_fn_executable_p
17971 # Sed expression to map a string onto a valid CPP name.
17972 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17974 # Sed expression to map a string onto a valid variable name.
17975 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17978 exec 6>&1
17979 ## ----------------------------------- ##
17980 ## Main body of $CONFIG_STATUS script. ##
17981 ## ----------------------------------- ##
17982 _ASEOF
17983 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17986 # Save the log message, to keep $0 and so on meaningful, and to
17987 # report actual input values of CONFIG_FILES etc. instead of their
17988 # values after options handling.
17989 ac_log="
17990 This file was extended by Wine $as_me 1.7.4, which was
17991 generated by GNU Autoconf 2.69. Invocation command line was
17993 CONFIG_FILES = $CONFIG_FILES
17994 CONFIG_HEADERS = $CONFIG_HEADERS
17995 CONFIG_LINKS = $CONFIG_LINKS
17996 CONFIG_COMMANDS = $CONFIG_COMMANDS
17997 $ $0 $@
17999 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18002 _ACEOF
18004 case $ac_config_files in *"
18005 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18006 esac
18008 case $ac_config_headers in *"
18009 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18010 esac
18013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18014 # Files that config.status was made for.
18015 config_files="$ac_config_files"
18016 config_headers="$ac_config_headers"
18017 config_links="$ac_config_links"
18018 config_commands="$ac_config_commands"
18020 _ACEOF
18022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18023 ac_cs_usage="\
18024 \`$as_me' instantiates files and other configuration actions
18025 from templates according to the current configuration. Unless the files
18026 and actions are specified as TAGs, all are instantiated by default.
18028 Usage: $0 [OPTION]... [TAG]...
18030 -h, --help print this help, then exit
18031 -V, --version print version number and configuration settings, then exit
18032 --config print configuration, then exit
18033 -q, --quiet, --silent
18034 do not print progress messages
18035 -d, --debug don't remove temporary files
18036 --recheck update $as_me by reconfiguring in the same conditions
18037 --file=FILE[:TEMPLATE]
18038 instantiate the configuration file FILE
18039 --header=FILE[:TEMPLATE]
18040 instantiate the configuration header FILE
18042 Configuration files:
18043 $config_files
18045 Configuration headers:
18046 $config_headers
18048 Configuration links:
18049 $config_links
18051 Configuration commands:
18052 $config_commands
18054 Report bugs to <wine-devel@winehq.org>.
18055 Wine home page: <http://www.winehq.org>."
18057 _ACEOF
18058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18059 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18060 ac_cs_version="\\
18061 Wine config.status 1.7.4
18062 configured by $0, generated by GNU Autoconf 2.69,
18063 with options \\"\$ac_cs_config\\"
18065 Copyright (C) 2012 Free Software Foundation, Inc.
18066 This config.status script is free software; the Free Software Foundation
18067 gives unlimited permission to copy, distribute and modify it."
18069 ac_pwd='$ac_pwd'
18070 srcdir='$srcdir'
18071 INSTALL='$INSTALL'
18072 MKDIR_P='$MKDIR_P'
18073 test -n "\$AWK" || AWK=awk
18074 _ACEOF
18076 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18077 # The default lists apply if the user does not specify any file.
18078 ac_need_defaults=:
18079 while test $# != 0
18081 case $1 in
18082 --*=?*)
18083 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18084 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18085 ac_shift=:
18087 --*=)
18088 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18089 ac_optarg=
18090 ac_shift=:
18093 ac_option=$1
18094 ac_optarg=$2
18095 ac_shift=shift
18097 esac
18099 case $ac_option in
18100 # Handling of the options.
18101 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18102 ac_cs_recheck=: ;;
18103 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18104 $as_echo "$ac_cs_version"; exit ;;
18105 --config | --confi | --conf | --con | --co | --c )
18106 $as_echo "$ac_cs_config"; exit ;;
18107 --debug | --debu | --deb | --de | --d | -d )
18108 debug=: ;;
18109 --file | --fil | --fi | --f )
18110 $ac_shift
18111 case $ac_optarg in
18112 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18113 '') as_fn_error $? "missing file argument" ;;
18114 esac
18115 as_fn_append CONFIG_FILES " '$ac_optarg'"
18116 ac_need_defaults=false;;
18117 --header | --heade | --head | --hea )
18118 $ac_shift
18119 case $ac_optarg in
18120 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18121 esac
18122 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18123 ac_need_defaults=false;;
18124 --he | --h)
18125 # Conflict between --help and --header
18126 as_fn_error $? "ambiguous option: \`$1'
18127 Try \`$0 --help' for more information.";;
18128 --help | --hel | -h )
18129 $as_echo "$ac_cs_usage"; exit ;;
18130 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18131 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18132 ac_cs_silent=: ;;
18134 # This is an error.
18135 -*) as_fn_error $? "unrecognized option: \`$1'
18136 Try \`$0 --help' for more information." ;;
18138 *) as_fn_append ac_config_targets " $1"
18139 ac_need_defaults=false ;;
18141 esac
18142 shift
18143 done
18145 ac_configure_extra_args=
18147 if $ac_cs_silent; then
18148 exec 6>/dev/null
18149 ac_configure_extra_args="$ac_configure_extra_args --silent"
18152 _ACEOF
18153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18154 if \$ac_cs_recheck; then
18155 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18156 shift
18157 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18158 CONFIG_SHELL='$SHELL'
18159 export CONFIG_SHELL
18160 exec "\$@"
18163 _ACEOF
18164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18165 exec 5>>config.log
18167 echo
18168 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18169 ## Running $as_me. ##
18170 _ASBOX
18171 $as_echo "$ac_log"
18172 } >&5
18174 _ACEOF
18175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18177 # INIT-COMMANDS
18179 wine_fn_output_makefile ()
18181 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18182 `cat $wine_rules_file`
18183 _WINE_EOF
18184 as_fn_error $? "could not create Makefile" "$LINENO" 5
18187 _ACEOF
18189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18191 # Handling of arguments.
18192 for ac_config_target in $ac_config_targets
18194 case $ac_config_target in
18195 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18196 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18197 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
18198 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18199 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18200 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18201 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18202 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18203 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18204 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18205 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18206 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
18207 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
18208 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
18209 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
18210 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
18211 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
18212 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
18213 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
18214 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18215 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18217 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18218 esac
18219 done
18222 # If the user did not use the arguments to specify the items to instantiate,
18223 # then the envvar interface is used. Set only those that are not.
18224 # We use the long form for the default assignment because of an extremely
18225 # bizarre bug on SunOS 4.1.3.
18226 if $ac_need_defaults; then
18227 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18228 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18229 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18230 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18233 # Have a temporary directory for convenience. Make it in the build tree
18234 # simply because there is no reason against having it here, and in addition,
18235 # creating and moving files from /tmp can sometimes cause problems.
18236 # Hook for its removal unless debugging.
18237 # Note that there is a small window in which the directory will not be cleaned:
18238 # after its creation but before its name has been assigned to `$tmp'.
18239 $debug ||
18241 tmp= ac_tmp=
18242 trap 'exit_status=$?
18243 : "${ac_tmp:=$tmp}"
18244 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18246 trap 'as_fn_exit 1' 1 2 13 15
18248 # Create a (secure) tmp directory for tmp files.
18251 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18252 test -d "$tmp"
18253 } ||
18255 tmp=./conf$$-$RANDOM
18256 (umask 077 && mkdir "$tmp")
18257 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18258 ac_tmp=$tmp
18260 # Set up the scripts for CONFIG_FILES section.
18261 # No need to generate them if there are no CONFIG_FILES.
18262 # This happens for instance with `./config.status config.h'.
18263 if test -n "$CONFIG_FILES"; then
18265 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
18266 ac_cs_awk_getline=:
18267 ac_cs_awk_pipe_init=
18268 ac_cs_awk_read_file='
18269 while ((getline aline < (F[key])) > 0)
18270 print(aline)
18271 close(F[key])'
18272 ac_cs_awk_pipe_fini=
18273 else
18274 ac_cs_awk_getline=false
18275 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
18276 ac_cs_awk_read_file='
18277 print "|#_!!_#|"
18278 print "cat " F[key] " &&"
18279 '$ac_cs_awk_pipe_init
18280 # The final `:' finishes the AND list.
18281 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
18283 ac_cr=`echo X | tr X '\015'`
18284 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18285 # But we know of no other shell where ac_cr would be empty at this
18286 # point, so we can use a bashism as a fallback.
18287 if test "x$ac_cr" = x; then
18288 eval ac_cr=\$\'\\r\'
18290 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18291 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18292 ac_cs_awk_cr='\\r'
18293 else
18294 ac_cs_awk_cr=$ac_cr
18297 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18298 _ACEOF
18300 # Create commands to substitute file output variables.
18302 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18303 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18304 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
18305 echo "_ACAWK" &&
18306 echo "_ACEOF"
18307 } >conf$$files.sh &&
18308 . ./conf$$files.sh ||
18309 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18310 rm -f conf$$files.sh
18313 echo "cat >conf$$subs.awk <<_ACEOF" &&
18314 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18315 echo "_ACEOF"
18316 } >conf$$subs.sh ||
18317 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18318 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18319 ac_delim='%!_!# '
18320 for ac_last_try in false false false false false :; do
18321 . ./conf$$subs.sh ||
18322 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18324 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18325 if test $ac_delim_n = $ac_delim_num; then
18326 break
18327 elif $ac_last_try; then
18328 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18329 else
18330 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18332 done
18333 rm -f conf$$subs.sh
18335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18336 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18337 _ACEOF
18338 sed -n '
18340 s/^/S["/; s/!.*/"]=/
18343 s/^[^!]*!//
18344 :repl
18345 t repl
18346 s/'"$ac_delim"'$//
18347 t delim
18350 s/\(.\{148\}\)..*/\1/
18351 t more1
18352 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18355 b repl
18356 :more1
18357 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18360 s/.\{148\}//
18361 t nl
18362 :delim
18364 s/\(.\{148\}\)..*/\1/
18365 t more2
18366 s/["\\]/\\&/g; s/^/"/; s/$/"/
18369 :more2
18370 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18373 s/.\{148\}//
18374 t delim
18375 ' <conf$$subs.awk | sed '
18376 /^[^""]/{
18378 s/\n//
18380 ' >>$CONFIG_STATUS || ac_write_fail=1
18381 rm -f conf$$subs.awk
18382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18383 _ACAWK
18384 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18385 for (key in S) S_is_set[key] = 1
18386 FS = "\a"
18387 \$ac_cs_awk_pipe_init
18390 line = $ 0
18391 nfields = split(line, field, "@")
18392 substed = 0
18393 len = length(field[1])
18394 for (i = 2; i < nfields; i++) {
18395 key = field[i]
18396 keylen = length(key)
18397 if (S_is_set[key]) {
18398 value = S[key]
18399 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18400 len += length(value) + length(field[++i])
18401 substed = 1
18402 } else
18403 len += 1 + keylen
18405 if (nfields == 3 && !substed) {
18406 key = field[2]
18407 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18408 \$ac_cs_awk_read_file
18409 next
18412 print line
18414 \$ac_cs_awk_pipe_fini
18415 _ACAWK
18416 _ACEOF
18417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18418 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18419 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18420 else
18422 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18423 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18424 _ACEOF
18426 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18427 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18428 # trailing colons and then remove the whole line if VPATH becomes empty
18429 # (actually we leave an empty line to preserve line numbers).
18430 if test "x$srcdir" = x.; then
18431 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18433 s///
18434 s/^/:/
18435 s/[ ]*$/:/
18436 s/:\$(srcdir):/:/g
18437 s/:\${srcdir}:/:/g
18438 s/:@srcdir@:/:/g
18439 s/^:*//
18440 s/:*$//
18442 s/\(=[ ]*\).*/\1/
18444 s/\n//
18445 s/^[^=]*=[ ]*$//
18449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18450 fi # test -n "$CONFIG_FILES"
18452 # Set up the scripts for CONFIG_HEADERS section.
18453 # No need to generate them if there are no CONFIG_HEADERS.
18454 # This happens for instance with `./config.status Makefile'.
18455 if test -n "$CONFIG_HEADERS"; then
18456 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18457 BEGIN {
18458 _ACEOF
18460 # Transform confdefs.h into an awk script `defines.awk', embedded as
18461 # here-document in config.status, that substitutes the proper values into
18462 # config.h.in to produce config.h.
18464 # Create a delimiter string that does not exist in confdefs.h, to ease
18465 # handling of long lines.
18466 ac_delim='%!_!# '
18467 for ac_last_try in false false :; do
18468 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18469 if test -z "$ac_tt"; then
18470 break
18471 elif $ac_last_try; then
18472 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18473 else
18474 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18476 done
18478 # For the awk script, D is an array of macro values keyed by name,
18479 # likewise P contains macro parameters if any. Preserve backslash
18480 # newline sequences.
18482 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18483 sed -n '
18484 s/.\{148\}/&'"$ac_delim"'/g
18485 t rset
18486 :rset
18487 s/^[ ]*#[ ]*define[ ][ ]*/ /
18488 t def
18490 :def
18491 s/\\$//
18492 t bsnl
18493 s/["\\]/\\&/g
18494 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18495 D["\1"]=" \3"/p
18496 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18498 :bsnl
18499 s/["\\]/\\&/g
18500 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18501 D["\1"]=" \3\\\\\\n"\\/p
18502 t cont
18503 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18504 t cont
18506 :cont
18508 s/.\{148\}/&'"$ac_delim"'/g
18509 t clear
18510 :clear
18511 s/\\$//
18512 t bsnlc
18513 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18515 :bsnlc
18516 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18517 b cont
18518 ' <confdefs.h | sed '
18519 s/'"$ac_delim"'/"\\\
18520 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18523 for (key in D) D_is_set[key] = 1
18524 FS = "\a"
18526 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18527 line = \$ 0
18528 split(line, arg, " ")
18529 if (arg[1] == "#") {
18530 defundef = arg[2]
18531 mac1 = arg[3]
18532 } else {
18533 defundef = substr(arg[1], 2)
18534 mac1 = arg[2]
18536 split(mac1, mac2, "(") #)
18537 macro = mac2[1]
18538 prefix = substr(line, 1, index(line, defundef) - 1)
18539 if (D_is_set[macro]) {
18540 # Preserve the white space surrounding the "#".
18541 print prefix "define", macro P[macro] D[macro]
18542 next
18543 } else {
18544 # Replace #undef with comments. This is necessary, for example,
18545 # in the case of _POSIX_SOURCE, which is predefined and required
18546 # on some systems where configure will not decide to define it.
18547 if (defundef == "undef") {
18548 print "/*", prefix defundef, macro, "*/"
18549 next
18553 { print }
18554 _ACAWK
18555 _ACEOF
18556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18557 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18558 fi # test -n "$CONFIG_HEADERS"
18561 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18562 shift
18563 for ac_tag
18565 case $ac_tag in
18566 :[FHLC]) ac_mode=$ac_tag; continue;;
18567 esac
18568 case $ac_mode$ac_tag in
18569 :[FHL]*:*);;
18570 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18571 :[FH]-) ac_tag=-:-;;
18572 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18573 esac
18574 ac_save_IFS=$IFS
18575 IFS=:
18576 set x $ac_tag
18577 IFS=$ac_save_IFS
18578 shift
18579 ac_file=$1
18580 shift
18582 case $ac_mode in
18583 :L) ac_source=$1;;
18584 :[FH])
18585 ac_file_inputs=
18586 for ac_f
18588 case $ac_f in
18589 -) ac_f="$ac_tmp/stdin";;
18590 *) # Look for the file first in the build tree, then in the source tree
18591 # (if the path is not absolute). The absolute path cannot be DOS-style,
18592 # because $ac_f cannot contain `:'.
18593 test -f "$ac_f" ||
18594 case $ac_f in
18595 [\\/$]*) false;;
18596 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18597 esac ||
18598 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18599 esac
18600 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18601 as_fn_append ac_file_inputs " '$ac_f'"
18602 done
18604 # Let's still pretend it is `configure' which instantiates (i.e., don't
18605 # use $as_me), people would be surprised to read:
18606 # /* config.h. Generated by config.status. */
18607 configure_input='Generated from '`
18608 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18609 `' by configure.'
18610 if test x"$ac_file" != x-; then
18611 configure_input="$ac_file. $configure_input"
18612 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18613 $as_echo "$as_me: creating $ac_file" >&6;}
18615 # Neutralize special characters interpreted by sed in replacement strings.
18616 case $configure_input in #(
18617 *\&* | *\|* | *\\* )
18618 ac_sed_conf_input=`$as_echo "$configure_input" |
18619 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18620 *) ac_sed_conf_input=$configure_input;;
18621 esac
18623 case $ac_tag in
18624 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18625 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18626 esac
18628 esac
18630 ac_dir=`$as_dirname -- "$ac_file" ||
18631 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18632 X"$ac_file" : 'X\(//\)[^/]' \| \
18633 X"$ac_file" : 'X\(//\)$' \| \
18634 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18635 $as_echo X"$ac_file" |
18636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18637 s//\1/
18640 /^X\(\/\/\)[^/].*/{
18641 s//\1/
18644 /^X\(\/\/\)$/{
18645 s//\1/
18648 /^X\(\/\).*/{
18649 s//\1/
18652 s/.*/./; q'`
18653 as_dir="$ac_dir"; as_fn_mkdir_p
18654 ac_builddir=.
18656 case "$ac_dir" in
18657 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18659 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18660 # A ".." for each directory in $ac_dir_suffix.
18661 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18662 case $ac_top_builddir_sub in
18663 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18664 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18665 esac ;;
18666 esac
18667 ac_abs_top_builddir=$ac_pwd
18668 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18669 # for backward compatibility:
18670 ac_top_builddir=$ac_top_build_prefix
18672 case $srcdir in
18673 .) # We are building in place.
18674 ac_srcdir=.
18675 ac_top_srcdir=$ac_top_builddir_sub
18676 ac_abs_top_srcdir=$ac_pwd ;;
18677 [\\/]* | ?:[\\/]* ) # Absolute name.
18678 ac_srcdir=$srcdir$ac_dir_suffix;
18679 ac_top_srcdir=$srcdir
18680 ac_abs_top_srcdir=$srcdir ;;
18681 *) # Relative name.
18682 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18683 ac_top_srcdir=$ac_top_build_prefix$srcdir
18684 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18685 esac
18686 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18689 case $ac_mode in
18692 # CONFIG_FILE
18695 case $INSTALL in
18696 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18697 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18698 esac
18699 ac_MKDIR_P=$MKDIR_P
18700 case $MKDIR_P in
18701 [\\/$]* | ?:[\\/]* ) ;;
18702 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18703 esac
18704 _ACEOF
18706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18707 # If the template does not know about datarootdir, expand it.
18708 # FIXME: This hack should be removed a few years after 2.60.
18709 ac_datarootdir_hack=; ac_datarootdir_seen=
18710 ac_sed_dataroot='
18711 /datarootdir/ {
18715 /@datadir@/p
18716 /@docdir@/p
18717 /@infodir@/p
18718 /@localedir@/p
18719 /@mandir@/p'
18720 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18721 *datarootdir*) ac_datarootdir_seen=yes;;
18722 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18724 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18725 _ACEOF
18726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18727 ac_datarootdir_hack='
18728 s&@datadir@&$datadir&g
18729 s&@docdir@&$docdir&g
18730 s&@infodir@&$infodir&g
18731 s&@localedir@&$localedir&g
18732 s&@mandir@&$mandir&g
18733 s&\\\${datarootdir}&$datarootdir&g' ;;
18734 esac
18735 _ACEOF
18737 # Neutralize VPATH when `$srcdir' = `.'.
18738 # Shell code in configure.ac might set extrasub.
18739 # FIXME: do we really want to maintain this feature?
18740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18741 ac_sed_extra="$ac_vpsub
18742 $extrasub
18743 _ACEOF
18744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18746 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18747 s|@configure_input@|$ac_sed_conf_input|;t t
18748 s&@top_builddir@&$ac_top_builddir_sub&;t t
18749 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18750 s&@srcdir@&$ac_srcdir&;t t
18751 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18752 s&@top_srcdir@&$ac_top_srcdir&;t t
18753 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18754 s&@builddir@&$ac_builddir&;t t
18755 s&@abs_builddir@&$ac_abs_builddir&;t t
18756 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18757 s&@INSTALL@&$ac_INSTALL&;t t
18758 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18759 $ac_datarootdir_hack
18761 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18762 if $ac_cs_awk_getline; then
18763 $AWK -f "$ac_tmp/subs.awk"
18764 else
18765 $AWK -f "$ac_tmp/subs.awk" | $SHELL
18766 fi \
18767 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18769 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18770 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18771 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18772 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18774 which seems to be undefined. Please make sure it is defined" >&5
18775 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18776 which seems to be undefined. Please make sure it is defined" >&2;}
18778 rm -f "$ac_tmp/stdin"
18779 case $ac_file in
18780 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18781 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18782 esac \
18783 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18787 # CONFIG_HEADER
18789 if test x"$ac_file" != x-; then
18791 $as_echo "/* $configure_input */" \
18792 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18793 } >"$ac_tmp/config.h" \
18794 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18795 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18797 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18798 else
18799 rm -f "$ac_file"
18800 mv "$ac_tmp/config.h" "$ac_file" \
18801 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18803 else
18804 $as_echo "/* $configure_input */" \
18805 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18806 || as_fn_error $? "could not create -" "$LINENO" 5
18811 # CONFIG_LINK
18814 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18816 else
18817 # Prefer the file from the source tree if names are identical.
18818 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18819 ac_source=$srcdir/$ac_source
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18823 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18825 if test ! -r "$ac_source"; then
18826 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18828 rm -f "$ac_file"
18830 # Try a relative symlink, then a hard link, then a copy.
18831 case $ac_source in
18832 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18833 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18834 esac
18835 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18836 ln "$ac_source" "$ac_file" 2>/dev/null ||
18837 cp -p "$ac_source" "$ac_file" ||
18838 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18841 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18842 $as_echo "$as_me: executing $ac_file commands" >&6;}
18844 esac
18847 case $ac_file$ac_mode in
18848 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18849 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18850 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18851 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18852 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18853 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18854 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18855 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18856 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18857 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18858 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18859 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18860 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18861 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18862 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18863 "Makefile":C) wine_fn_output_makefile Makefile ;;
18865 esac
18866 done # for ac_tag
18869 as_fn_exit 0
18870 _ACEOF
18871 ac_clean_files=$ac_clean_files_save
18873 test $ac_write_fail = 0 ||
18874 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18877 # configure is writing to config.log, and then calls config.status.
18878 # config.status does its own redirection, appending to config.log.
18879 # Unfortunately, on DOS this fails, as config.log is still kept open
18880 # by configure, so config.status won't be able to write to it; its
18881 # output is simply discarded. So we exec the FD to /dev/null,
18882 # effectively closing config.log, so it can be properly (re)opened and
18883 # appended to by config.status. When coming back to configure, we
18884 # need to make the FD available again.
18885 if test "$no_create" != yes; then
18886 ac_cs_success=:
18887 ac_config_status_args=
18888 test "$silent" = yes &&
18889 ac_config_status_args="$ac_config_status_args --quiet"
18890 exec 5>/dev/null
18891 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18892 exec 5>>config.log
18893 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18894 # would make configure fail if this is the last instruction.
18895 $ac_cs_success || as_fn_exit 1
18897 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18899 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18903 if test "$no_create" = "yes"
18904 then
18905 exit 0
18908 ac_save_IFS="$IFS"
18909 if test "x$wine_notices != "x; then
18910 echo >&6
18911 IFS="|"
18912 for msg in $wine_notices; do
18913 IFS="$ac_save_IFS"
18914 if test -n "$msg"; then
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18916 $as_echo "$as_me: $msg" >&6;}
18918 done
18920 IFS="|"
18921 for msg in $wine_warnings; do
18922 IFS="$ac_save_IFS"
18923 if test -n "$msg"; then
18924 echo >&2
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18926 $as_echo "$as_me: WARNING: $msg" >&2;}
18928 done
18929 IFS="$ac_save_IFS"
18931 $as_echo "
18932 $as_me: Finished. Do '${ac_make}' to compile Wine.
18933 " >&6